From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 10577 invoked from network); 3 Feb 2003 22:49:48 -0000 Received: from sunsite.dk (130.225.247.90) by ns1.primenet.com.au with SMTP; 3 Feb 2003 22:49:48 -0000 Received: (qmail 26684 invoked by alias); 3 Feb 2003 22:49:36 -0000 Mailing-List: contact zsh-workers-help@sunsite.dk; run by ezmlm Precedence: bulk X-No-Archive: yes X-Seq: 18182 Received: (qmail 26677 invoked from network); 3 Feb 2003 22:49:36 -0000 Received: from localhost (HELO sunsite.dk) (127.0.0.1) by localhost with SMTP; 3 Feb 2003 22:49:36 -0000 X-MessageWall-Score: 0 (sunsite.dk) Received: from [63.107.91.101] by sunsite.dk (MessageWall 1.0.8) with SMTP; 3 Feb 2003 22:49:36 -0000 Received: from itasoftware.com (phl.internal.itasoftware.com [192.168.1.115]) by mta.internal.itasoftware.com (8.12.6/8.12.6) with ESMTP id h13MnaxY018707; Mon, 3 Feb 2003 17:49:37 -0500 Received: (from greg@localhost) by itasoftware.com (8.9.3/8.8.7) id RAA22478; Mon, 3 Feb 2003 17:49:36 -0500 Message-ID: <15934.61952.637768.924216@phl.itasoftware.com> Date: Mon, 3 Feb 2003 17:49:36 -0500 (EST) From: greg@klanderman.net (Greg Klanderman) To: zsh-workers@sunsite.dk (Zsh list) Subject: delete-char-or-list vs IGNOREEOF Reply-To: greg@klanderman.net X-Mailer: VM 6.62 under 21.1 (patch 9) "Canyonlands" XEmacs Lucid Mime-Version: 1.0 (generated by tm-edit 7.108) Content-Type: text/plain; charset=US-ASCII 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