From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 4514 invoked from network); 24 Dec 1999 17:57:01 -0000 Received: from sunsite.auc.dk (130.225.51.30) by ns1.primenet.com.au with SMTP; 24 Dec 1999 17:57:01 -0000 Received: (qmail 27300 invoked by alias); 24 Dec 1999 17:56:55 -0000 Mailing-List: contact zsh-workers-help@sunsite.auc.dk; run by ezmlm Precedence: bulk X-No-Archive: yes X-Seq: 9153 Received: (qmail 27292 invoked from network); 24 Dec 1999 17:56:54 -0000 Message-ID: <14435.46049.340193.377803@pdx.itasoftware.com> Date: Fri, 24 Dec 1999 12:56:49 -0500 (EST) From: greg@klanderman.net (Greg Klanderman) To: zsh-workers@sunsite.auc.dk (Zsh list) Subject: vared -h question Reply-To: greg@klanderman.net X-Mailer: VM 6.62 under 21.0 "Pyrenean" XEmacs Lucid (beta62) Mime-Version: 1.0 (generated by tm-edit 7.108) Content-Type: text/plain; charset=US-ASCII Hi, I'm trying to use vared to implement a simple read/eval/print loop: while cmd="" && vared -p "cmd: " cmd ; do ## send cmd to server on host:port and print result done I'd like to have history work, and if I use the -h flag I can access the shell's history, but vared does not store the history of my entered commands into the shell history it seems. So it's a bit useless. Is there any way to do what I want, ie add a line into the history? thanks and happy holidays, Greg