From: Heinz Deinhart <emperor@ei.ml.org>
To: Bart Schaefer <schaefer@brasslantern.com>
Cc: zsh-users@math.gatech.edu
Subject: Re: completion & read, vared
Date: Mon, 13 Jul 1998 20:19:38 +0200 (CEST) [thread overview]
Message-ID: <Pine.LNX.3.96.980713200430.4708A-100000@ei.ml.org> (raw)
In-Reply-To: <980713103758.ZM2098@candle.brasslantern.com>
On Mon, 13 Jul 1998, Bart Schaefer wrote:
> On Jul 13, 1:10pm, Heinz Deinhart wrote:
> } Subject: completion & read, vared
> }
> } is there a way to use completion with any realine-like function ?
>
> Not directly; "read" inputs characters one at a time, for some reason,
> even when not in raw mode.
>
> } vared uses completion, but i cant figure out how to change its behaviour.
>
> Change its behavior how?
>
hmm, maybe i'm missing something, but i want to do something like that:
simple example:
"compctl -u huhu"
"huhu emp<TAB>" expands to "huhu emperor"
well and now it would be cool if vared had a completion option (maybe -C)
"vared -p 'enter a username> ' -C '-u' returnvar"
"emp<TAB>" expands to "emperor"
^^^^ the compctl options that vared
should use in input-line
anyway, thanks for the script, i will try to understand it :)
ciao,
Heinz
next prev parent reply other threads:[~1998-07-13 18:30 UTC|newest]
Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top
1998-07-13 11:10 Heinz Deinhart
1998-07-13 17:37 ` Bart Schaefer
1998-07-13 18:19 ` Heinz Deinhart [this message]
1998-07-14 1:45 ` 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=Pine.LNX.3.96.980713200430.4708A-100000@ei.ml.org \
--to=emperor@ei.ml.org \
--cc=schaefer@brasslantern.com \
--cc=zsh-users@math.gatech.edu \
/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).