zsh-workers
 help / color / mirror / code / Atom feed
From: greg@klanderman.net (Greg Klanderman)
To: zsh-workers@sunsite.auc.dk (Zsh list)
Subject: vared -h question
Date: Fri, 24 Dec 1999 12:56:49 -0500 (EST)	[thread overview]
Message-ID: <14435.46049.340193.377803@pdx.itasoftware.com> (raw)


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


             reply	other threads:[~1999-12-24 17:57 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
1999-12-24 17:56 Greg Klanderman [this message]
     [not found] <E121cqJ-0002yP-00.1999-12-24-22-05-47@cmailg5.svr.pol.co.uk>
1999-12-29 20:40 ` Peter Stephenson

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=14435.46049.340193.377803@pdx.itasoftware.com \
    --to=greg@klanderman.net \
    --cc=zsh-workers@sunsite.auc.dk \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
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).