zsh-workers
 help / color / mirror / code / Atom feed
From: Sven Wischnowsky <wischnow@informatik.hu-berlin.de>
To: zsh-workers@sunsite.auc.dk
Cc: Christoph Lange <langec@gmx.de>
Subject: Re: [Suggestion] IGNORE_EOF like in bash
Date: Mon, 26 Jun 2000 11:54:09 +0200 (MET DST)	[thread overview]
Message-ID: <200006260954.LAA19595@beta.informatik.hu-berlin.de> (raw)
In-Reply-To: Christoph Lange's message of Fri, 23 Jun 2000 16:41:32 +0200 (CEST)


Christoph Lange wrote:

> Hi there,
> 
>   I suggest that the IGNORE_EOF shell option should be implemented in the
> same way as in bash. There, it is a shell variable rather than an option.
> The best explanation is given in the bash manual page:
> 
> ...
> 
> The advantage is that a user can set that variable to 3, for example, to log
> out after three presses of ^D.

I doubt that we'll change options to parameters any time soon (or
ever). One more reason for putting more of zle in shell code and using 
styles there...


> If you should not like to hard-code it into the shell, you should consider
> the following workaround: the shell must not catch ^D on an empty command
> line before any invocation of a zle widget. If ^D on an empty command is
> passed to zle, too, users can write their own zle widget which ignores it,
> let's say 3 times, and then logs out.

That's rather irritating, indeed. Can anyone see a reason to not
change it?

Bye
 Sven


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


             reply	other threads:[~2000-06-26  9:54 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2000-06-26  9:54 Sven Wischnowsky [this message]
  -- strict thread matches above, loose matches on Subject: below --
2000-06-23 14:41 Christoph Lange

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=200006260954.LAA19595@beta.informatik.hu-berlin.de \
    --to=wischnow@informatik.hu-berlin.de \
    --cc=langec@gmx.de \
    --cc=zsh-workers@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).