From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 10083 invoked from network); 3 Feb 2003 22:06:06 -0000 Received: from sunsite.dk (130.225.247.90) by ns1.primenet.com.au with SMTP; 3 Feb 2003 22:06:06 -0000 Received: (qmail 12989 invoked by alias); 3 Feb 2003 22:05:56 -0000 Mailing-List: contact zsh-workers-help@sunsite.dk; run by ezmlm Precedence: bulk X-No-Archive: yes X-Seq: 18181 Received: (qmail 12980 invoked from network); 3 Feb 2003 22:05:56 -0000 Received: from localhost (HELO sunsite.dk) (127.0.0.1) by localhost with SMTP; 3 Feb 2003 22:05:56 -0000 X-MessageWall-Score: 0 (sunsite.dk) Received: from [63.107.91.101] by sunsite.dk (MessageWall 1.0.8) with SMTP; 3 Feb 2003 22:5:55 -0000 Received: from itasoftware.com (phl.internal.itasoftware.com [192.168.1.115]) by mta.internal.itasoftware.com (8.12.6/8.12.6) with ESMTP id h13M5qxY012092; Mon, 3 Feb 2003 17:05:53 -0500 Received: (from greg@localhost) by itasoftware.com (8.9.3/8.8.7) id RAA15969; Mon, 3 Feb 2003 17:05:52 -0500 Message-ID: <15934.59328.619062.393204@phl.itasoftware.com> Date: Mon, 3 Feb 2003 17:05:52 -0500 (EST) From: greg@klanderman.net (Greg Klanderman) To: zsh-workers@sunsite.dk (Zsh list) Subject: alwayslastprompt problem Reply-To: greg@klanderman.net X-Mailer: VM 6.62 under 21.1 (patch 9) "Canyonlands" XEmacs Lucid Mime-Version: 1.0 (generated by tm-edit 7.108) Content-Type: text/plain; charset=US-ASCII Hi, In upgrading to zsh 4.0.6 I noticed the following problem: When run, the script below does not obey alwayslastprompt. --- #!/phl/build/zsh-4.0.6/Src/zsh -f setopt alwayslastprompt prompt="foo%B%%%b " while cmd="" && vared -h -p "$prompt" cmd ; do echo " -- got: $cmd" print -s - "$cmd" done --- However, if I run "zsh -f" and paste the contents, then alwayslastprompt does work correctly (same zsh binary). What's going on? Please include me in any reply as I am not on the list. many thanks, Greg