|
From: | Dustin Sallings |
Subject: | Re: [Gnu-arch-users] Re: give us a hand with arch |
Date: | Sat, 27 Sep 2003 13:29:01 -0700 |
On Saturday, Sep 27, 2003, at 08:13 US/Pacific, Tom Lord wrote:
Regarding the interat loop (the "Commit? ..." prompt): walters' script also illustrates that (a) one of the outputs of an editting session should be a value that means "forget it -- abort the commit" and (b) in general, editors themselves provide no good mechanism for returning such a value. Looking around at the patterns of other programs that invoke editors -- the interact loop was the only one I saw that addressed this very issue in a reasonable way.
Just a quick thought, what about having a header that indicates whether the commit should finish?
LogComplete: yesFor the most common cases, this should avoid the need for an interactive loop.
-- SPY My girlfriend asked me which one I like better. pub 1024/3CAE01D5 1994/11/03 Dustin Sallings <address@hidden> | Key fingerprint = 87 02 57 08 02 D0 DA D6 C8 0F 3E 65 51 98 D8 BE L_______________________ I hope the answer won't upset her. ____________
[Prev in Thread] | Current Thread | [Next in Thread] |