zsh-workers
 help / color / mirror / code / Atom feed
From: greg@klanderman.net (Greg Klanderman)
To: zsh-workers@sunsite.dk (Zsh list)
Subject: delete-char-or-list vs IGNOREEOF
Date: Mon, 3 Feb 2003 17:49:36 -0500 (EST)	[thread overview]
Message-ID: <15934.61952.637768.924216@phl.itasoftware.com> (raw)


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


             reply	other threads:[~2003-02-03 22:49 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2003-02-03 22:49 Greg Klanderman [this message]
2003-02-04  9:11 ` Bart Schaefer
2003-02-05  1:29   ` Greg Klanderman

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=15934.61952.637768.924216@phl.itasoftware.com \
    --to=greg@klanderman.net \
    --cc=zsh-workers@sunsite.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).