From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 4741 invoked from network); 20 Oct 2000 07:12:26 -0000 Received: from sunsite.auc.dk (130.225.51.30) by ns1.primenet.com.au with SMTP; 20 Oct 2000 07:12:26 -0000 Received: (qmail 14768 invoked by alias); 20 Oct 2000 07:12:22 -0000 Mailing-List: contact zsh-workers-help@sunsite.auc.dk; run by ezmlm Precedence: bulk X-No-Archive: yes X-Seq: 13046 Received: (qmail 14761 invoked from network); 20 Oct 2000 07:12:21 -0000 Date: Fri, 20 Oct 2000 09:12:19 +0200 (MET DST) Message-Id: <200010200712.JAA17008@beta.informatik.hu-berlin.de> From: Sven Wischnowsky To: zsh-workers@sunsite.auc.dk In-reply-to: greg@itasoftware.com's message of Fri, 20 Oct 2000 00:13:41 -0400 (EDT) Subject: Re: script using vared to read commands - history bug Greg Klanderman wrote: > If I run the following script: > > #!/bin/zsh > > prompt="%B%%%b " > while cmd="" && vared -h -p "$prompt" cmd ; do > echo " -- got: $cmd" > print -s - "$cmd" > done > > it works as intended, except that the most recent > command never appears in the history. What's up? Another one of the things that have been fixed in the meantime. Bye Sven -- Sven Wischnowsky wischnow@informatik.hu-berlin.de