zsh-users
 help / color / mirror / code / Atom feed
From: Sven Wischnowsky <wischnow@informatik.hu-berlin.de>
To: zsh-users@sunsite.auc.dk
Subject: Re: coproc tutorial (Re: questions)
Date: Tue, 12 Oct 1999 08:53:29 +0200 (MET DST)	[thread overview]
Message-ID: <199910120653.IAA03827@beta.informatik.hu-berlin.de> (raw)
In-Reply-To: =?iso-8859-1?Q?Thomas_K=F6hler?='s message of Mon, 11 Oct 1999 14:55:14 +0200


Thomas Koehler wrote:

> > 3.1.6-pws-something (at least the latest pws-6) has Functions/Misc/nslookup
> > which uses `vared' to read the user input, thus allowing command line
> > editing. Together with the new completion system this function will
> > also give you completion *inside* nslookup (and not only nslookup's
> > arguments).
> 
> Now this is really cool... how do I enable this? :-)

Well, new style completion with the usual call to `compinit' (after
autoloading and things), and then just make `nslookup' autoloaded and
call it. For my version of `nslookup' here, it works, but as Bart
mentioned in 2668, it doesn't work everywhere (and I don't feel like
spending more time trying to improve the beast, it was mainly a hack
to show how the `compcontext' parameter can be used).

> > To workers: seems like noone found this interesting enough to improve
> > the code I hacked up. Maybe sometime we could write a generic function 
> > for this task...
> 
> Allowing completion from within all stdin/stdout-bound programs?
> ncftp -L is a candidate here, amongst others...

;-) there are may of them...

Bye
 Sven


--
Sven Wischnowsky                         wischnow@informatik.hu-berlin.de


             reply	other threads:[~1999-10-12  6:53 UTC|newest]

Thread overview: 11+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
1999-10-12  6:53 Sven Wischnowsky [this message]
1999-10-12  8:42 ` Thomas Köhler
  -- strict thread matches above, loose matches on Subject: below --
1999-10-11 10:45 Sven Wischnowsky
1999-10-11 12:55 ` Thomas Köhler
1999-10-04 16:10 Jay Sekora
1999-10-04 18:42 ` Bart Schaefer
1999-10-03  8:30 questions Chris Hansen
1999-10-03 11:10 ` questions Stefan Berglund
1999-10-03 18:45   ` coproc tutorial (Re: questions) Bart Schaefer
1999-10-03 21:08     ` Chris Hansen
1999-10-04  2:01       ` coproc Chris Hansen
1999-10-04  4:41         ` coproc tutorial (Re: questions) Bart Schaefer
1999-10-04  5:21           ` Chris Hansen
1999-10-04  6:22             ` Bart Schaefer

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=199910120653.IAA03827@beta.informatik.hu-berlin.de \
    --to=wischnow@informatik.hu-berlin.de \
    --cc=zsh-users@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).