* delete-char-or-list vs IGNOREEOF
@ 2003-02-03 22:49 Greg Klanderman
2003-02-04 9:11 ` Bart Schaefer
0 siblings, 1 reply; 3+ messages in thread
From: Greg Klanderman @ 2003-02-03 22:49 UTC (permalink / raw)
To: Zsh list
Hi again,
In going from zsh 3.1.6 (yes, I know that's ancient) to 4.0.6, I found
another small irritation. In the script below, typing C-d on an
empty input line used to exit. Now, in 4.0.6, it lists completions.
Is there some way I can get back the ability to exit with C-d?
The same problem exists for `delete-char'.
Please copy me on any reply as I am not on the list.
thanks,
greg
#!/phl/build/zsh-4.0.6/Src/zsh -f
unsetopt ignoreeof
bindkey '\C-d' 'delete-char-or-list'
prompt="foo%B%%%b "
while cmd="" && vared -h -p "$prompt" cmd ; do
echo " -- got: $cmd"
print -s - "$cmd"
done
^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: delete-char-or-list vs IGNOREEOF
2003-02-03 22:49 delete-char-or-list vs IGNOREEOF Greg Klanderman
@ 2003-02-04 9:11 ` Bart Schaefer
2003-02-05 1:29 ` Greg Klanderman
0 siblings, 1 reply; 3+ messages in thread
From: Bart Schaefer @ 2003-02-04 9:11 UTC (permalink / raw)
To: greg, Zsh list
On Feb 3, 5:49pm, Greg Klanderman wrote:
}
} In the script below, typing C-d on an empty input line used to exit.
} Now, in 4.0.6, it lists completions. Is there some way I can get back
} the ability to exit with C-d?
You want the -e (for "exit") option of `vared'.
^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: delete-char-or-list vs IGNOREEOF
2003-02-04 9:11 ` Bart Schaefer
@ 2003-02-05 1:29 ` Greg Klanderman
0 siblings, 0 replies; 3+ messages in thread
From: Greg Klanderman @ 2003-02-05 1:29 UTC (permalink / raw)
To: Bart Schaefer; +Cc: Zsh list
Excellent, thanks Bart!
greg
>>>>> Bart Schaefer <schaefer@brasslantern.com> writes:
> On Feb 3, 5:49pm, Greg Klanderman wrote:
> }
> } In the script below, typing C-d on an empty input line used to exit.
> } Now, in 4.0.6, it lists completions. Is there some way I can get back
> } the ability to exit with C-d?
> You want the -e (for "exit") option of `vared'.
^ permalink raw reply [flat|nested] 3+ messages in thread
end of thread, other threads:[~2003-02-05 1:31 UTC | newest]
Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2003-02-03 22:49 delete-char-or-list vs IGNOREEOF Greg Klanderman
2003-02-04 9:11 ` Bart Schaefer
2003-02-05 1:29 ` Greg Klanderman
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).