From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 5065 invoked from network); 12 Oct 1999 09:05:21 -0000 Received: from sunsite.auc.dk (130.225.51.30) by ns1.primenet.com.au with SMTP; 12 Oct 1999 09:05:21 -0000 Received: (qmail 24255 invoked by alias); 12 Oct 1999 09:04:56 -0000 Mailing-List: contact zsh-users-help@sunsite.auc.dk; run by ezmlm Precedence: bulk X-No-Archive: yes X-Seq: 2674 Received: (qmail 24248 invoked from network); 12 Oct 1999 09:04:56 -0000 Date: Tue, 12 Oct 1999 11:04:54 +0200 From: Thomas Koehler To: zsh-users@sunsite.auc.dk Subject: Re: Functions/Misc/nslookup (Re: coproc tutorial (Re: questions)) Message-ID: <19991012110454.A25069@siechfried.informatik.uni-wuerzburg.de> References: <199910111045.MAA03145@beta.informatik.hu-berlin.de> <991011175801.ZM7111@candle.brasslantern.com> <3802F733.F766365B@u.genie.co.uk> Mime-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 Content-Transfer-Encoding: quoted-printable X-Mailer: Mutt 0.95.3i In-Reply-To: <3802F733.F766365B@u.genie.co.uk>; from Oliver Kiddle on Tue, Oct 12, 1999 at 09:54:11AM +0100 X-Operating-System: Linux siechfried 2.2.10 On Tue, Oct 12, 1999 at 09:54:11AM +0100, Oliver Kiddle wrote: >=20 > Bart Schaefer wrote: >=20 > > This doesn't work for me because the real nslookup begins block-bufferi= ng > > its output when stdout is not a tty. Furthermore, if I type ^C while t= he > > nslookup function is running, the entire shell exits. >=20 > 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 --=20 Thomas K=F6hler Email: jean-luc@picard.franken.de <>< WWW: http://home.pages.de/~jeanluc/ IRC: jeanluc LCARS --- Linux for Computers on All Real Starships