Zsh Mailing List Archive
Messages sorted by:
Reverse Date,
Date,
Thread,
Author
Re: Using zle outside zsh
- X-seq: zsh-users 7911
- From: DervishD <disposable1@xxxxxxxxxxxxxx>
- To: zsh-users@xxxxxxxxxx
- Subject: Re: Using zle outside zsh
- Date: Mon, 23 Aug 2004 20:25:38 +0200
- In-reply-to: <Pine.LNX.4.61.0408231018430.5997@xxxxxxxxxxxxxxxxxx>
- Mail-followup-to: zsh-users@xxxxxxxxxx
- Mailing-list: contact zsh-users-help@xxxxxxxxxx; run by ezmlm
- Organization: Pleyades
- References: <20040823155951.GA24279@DervishD> <Pine.LNX.4.61.0408231018430.5997@xxxxxxxxxxxxxxxxxx>
Hi Bart :)
* Bart Schaefer <schaefer@xxxxxxxxxxxxxxxx> dixit:
> > The scenario: we have a nice program we use a lot, and it's very
> > well coded, indeed. It is interactive, and takes its input from stdin
> > and outputs to stdout/stderr, but it lacks command line editing.
> > What I'm thinking is: will it be difficult to use zsh as the
> > command line interpreter?
> This is actually relatively easy to do. For a working example, see
> Functions/Misc/nslookup in the zsh distribution.
That's one of the many ideas I had, using pty, but I forgot about
'vared', which does exactly what I want... Thanks a lot for your
answer, Bart :) The number of beers (sorry, soft drinks) I owe you is
far beyond the cost of my mortgage ;)) I'm very grateful with you as
always, Bart, I really mean it.
Raúl Núñez de Arenas Coronado
--
Linux Registered User 88736
http://www.pleyades.net & http://raul.pleyades.net/
Messages sorted by:
Reverse Date,
Date,
Thread,
Author