zsh-workers
 help / color / mirror / code / Atom feed
* vared -h question
@ 1999-12-24 17:56 Greg Klanderman
  0 siblings, 0 replies; 2+ messages in thread
From: Greg Klanderman @ 1999-12-24 17:56 UTC (permalink / raw)
  To: Zsh list


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


^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~1999-12-30 18:37 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
     [not found] <E121cqJ-0002yP-00.1999-12-24-22-05-47@cmailg5.svr.pol.co.uk>
1999-12-29 20:40 ` vared -h question Peter Stephenson
1999-12-24 17:56 Greg Klanderman

Code repositories for project(s) associated with this public inbox

	https://git.vuxu.org/mirror/zsh/

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).