From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 6430 invoked from network); 21 Jan 1998 18:59:14 -0000 Received: from ns2.primenet.com.au (7795@203.24.36.3) by ns1.primenet.com.au with SMTP; 21 Jan 1998 18:59:14 -0000 Received: (qmail 907 invoked from network); 21 Jan 1998 18:59:12 -0000 Received: from math.gatech.edu (list@130.207.146.50) by ns2.primenet.com.au with SMTP; 21 Jan 1998 18:59:11 -0000 Received: (from list@localhost) by math.gatech.edu (8.8.5/8.8.5) id NAA24044; Wed, 21 Jan 1998 13:36:29 -0500 (EST) Resent-Date: Wed, 21 Jan 1998 13:36:29 -0500 (EST) From: Anthony Heading Message-Id: <199801211837.SAA07825@gmp-etpres1.uk.jpmorgan.com> Subject: Re: zsh-3.1.2-zefram3 To: schaefer@brasslantern.com (Bart Schaefer) Date: Wed, 21 Jan 1998 18:37:12 +0000 (GMT) Cc: zsh-workers@math.gatech.edu In-Reply-To: <980118093836.ZM5175@candle.brasslantern.com> from Bart Schaefer at "Jan 18, 98 09:38:36 am" MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Resent-Message-ID: <"a58ZI2.0.at5.i0anq"@math> Resent-From: zsh-workers@math.gatech.edu X-Mailing-List: archive/latest/3734 X-Loop: zsh-workers@math.gatech.edu Precedence: list Resent-Sender: zsh-workers-request@math.gatech.edu Bart wrote: > This is true, but seems clumsy especially because the EOF char is normally > overloaded as delete-char-or-list. You'd be forced to write a user-defined > widget that implemented `delete-char-or-list-or-eof' to make it work right. Indeed. > On the other hand, I don't believe that vared *should* behave the way that > typing text into `cat` would. Vared is not a streaming editor; I expect > it to behave like an editor that controls my terminal, not like a process > blindly reading from standard input. OK. I suppose I was thinking that vared could easily be a streaming editor, and read standard input slightly less blindly. > How exactly does this change the behavior, again? EOF on any empty line > is EOF, even in a multiline edit? Yes, I object to that. I want EOF to > be EOF when typed on an empty line at a PS1 prompt, and nowhere else. Fair. But I want EOF to be EOF also in my vared-based `cat' emulator. So at most, then, this should be an option for vared, and not a default. I shall revamp my patch to be less intrusive, and not change any of the current behaviour. Cheers A