From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from gatech.edu (gatech.edu [130.207.244.244]) by werple.mira.net.au (8.6.12/8.6.9) with SMTP id EAA26323 for ; Wed, 9 Aug 1995 04:25:36 +1000 Received: from math (math.skiles.gatech.edu) by gatech.edu with SMTP id AA14639 (5.65c/Gatech-10.0-IDA for ); Tue, 8 Aug 1995 14:27:10 -0400 Received: by math (5.x/SMI-SVR4) id AA04824; Tue, 8 Aug 1995 10:39:06 -0400 Old-Return-Path: Resent-Date: Tue, 8 Aug 1995 09:37:08 -0500 (CDT) Old-Return-Path: From: Alex Ramos Message-Id: <199508081437.AA14810@intruder.wiltel.com> Subject: vared does not see last history event To: zsh-users@math.gatech.edu Date: Tue, 8 Aug 1995 09:37:08 -0500 (CDT) Reply-To: alex_ramos@wiltel.com X-Mailer: ELM [version 2.4 PL21] Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Resent-Message-Id: <"t31m01.0.mA1.MPt9m"@math> Resent-From: zsh-users@math.gatech.edu X-Mailing-List: archive/latest/52 X-Loop: zsh-users@math.gatech.edu X-Loop: zsh-workers@math.gatech.edu Precedence: list Resent-Sender: zsh-workers-request@math.gatech.edu The following code does not behave as one would normally expect: while vared -c -p 'zsql> ' sql do print -s $sql echo "your input was = $sql" unset sql done It seems that 'vared' never sees the most recent event in the history list, i.e. you have to enter a dummy line before you can edit the one you just entered. (to see what I'm talking about, run the above, input anything, then up-arrow/enter, then up-arrow/enter again). Is this a bug, or a configuration option? thanks, -- Alex Ramos