Zsh Mailing List Archive
Messages sorted by:
Reverse Date,
Date,
Thread,
Author
Re: Functions/Misc/nslookup (Re: coproc tutorial (Re: questions))
- X-seq: zsh-users 2674
- From: Thomas Koehler <thomas@xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx>
- To: zsh-users@xxxxxxxxxxxxxx
- Subject: Re: Functions/Misc/nslookup (Re: coproc tutorial (Re: questions))
- Date: Tue, 12 Oct 1999 11:04:54 +0200
- In-reply-to: <3802F733.F766365B@xxxxxxxxxxxxx>; from Oliver Kiddle on Tue, Oct 12, 1999 at 09:54:11AM +0100
- Mailing-list: contact zsh-users-help@xxxxxxxxxxxxxx; run by ezmlm
- References: <199910111045.MAA03145@xxxxxxxxxxxxxxxxxxxxxxxxxxxx> <991011175801.ZM7111@xxxxxxxxxxxxxxxxxxxxxxx> <3802F733.F766365B@xxxxxxxxxxxxx>
On Tue, Oct 12, 1999 at 09:54:11AM +0100, Oliver Kiddle wrote:
>
> Bart Schaefer wrote:
>
> > This doesn't work for me because the real nslookup begins block-buffering
> > its output when stdout is not a tty. Furthermore, if I type ^C while the
> > nslookup function is running, the entire shell exits.
>
> I've had trouble getting it to work as well which I assumed was to do
> with it not having a tty. I tried the same trick with timedc and mailx
> aswell with varying problems. Are there any tricks we can do so that the
> programs think they have a terminal because it is potentially a very
> useful idea? If we can get it to work reliably a generic function for
> the purpose as Sven suggested would be a good idea. Can anyone think of
> any other programs which it might be useful for?
ncftp -L (or other FTP clients)
Anyways, letting zsh control the input for curses-based programs would
be *really* cool - you run an editor in zsh and get inline completion as
a bonus :-) (Well, only an example, vim already has completion). But I
think that may be too much to code :-}
> Oliver Kiddle
CU,
Thomas
--
Thomas Köhler Email: jean-luc@xxxxxxxxxxxxxxxxx
<>< WWW: http://home.pages.de/~jeanluc/
IRC: jeanluc
LCARS --- Linux for Computers on All Real Starships
Messages sorted by:
Reverse Date,
Date,
Thread,
Author