[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: How to make Ctrl-d not log off the shell?
From: |
Dieter Wilhelm |
Subject: |
Re: How to make Ctrl-d not log off the shell? |
Date: |
Fri, 18 May 2007 09:17:04 +0200 |
User-agent: |
Gnus/5.11 (Gnus v5.11) Emacs/22.0.95 (gnu/linux) |
mowgli <knowledgeless@gmail.com> writes:
> This is what I wanted. But instead of twice, it would be nice to have
> 5 times instead. Because whenever there's an accidental logoff it's
> mostly due to many Ctrl-d presses and not just two.
>
export IGNOREEOF=5 # only ^D (C-d) five times is exiting now.
> Where can I find documentaion for C-d for bash?
in a terminal type
$ info bash
and then
C-s IGNOREEOF
Normally it should also work under the Emacs info system (with C-h i)
but on my new debian system it's not yet working.
--
Best wishes
H. Dieter Wilhelm
Darmstadt, Germany