Disable Control-D Exit in BASH?

Top Page
Attachments:
Message as email
+ (text/plain)
Delete this message
Reply to this message
Author: Robert Bushman
Date:  
Subject: Disable Control-D Exit in BASH?
Cool, that works too, and lets you typematic out
if you don't feel like thinking of how to spell
ecksit.


On Thu, 6 Feb 2003, David A. Sinck wrote:

>
>
> \_ SMTP quoth Robert Bushman on 2/6/2003 10:19 as having spake thusly:
> \_
> \_ Hopefully this is an easy one - how dow I disable
> \_ Control-d quick-exit in Bash (I tend to fatfinger
> \_ the keyboard).
>
> >From tfm:
>
> Shell Variables
> [...]
>     IGNOREEOF
>               Controls the action  of  an  interactive  shell  on
>               receipt  of an EOF character as the sole input.  If
>               set, the value is the  number  of  consecutive  EOF
>               characters which must be typed as the first charac-
>               ters on an input line before bash  exits.   If  the
>               variable  exists but does not have a numeric value,
>               or has no value, the default value is  10.   If  it
>               does  not  exist, EOF signifies the end of input to
>               the shell.

>
> Yes, there's an art for the man pages, and yes, they're written by
> people who know what's what but have forgotten momentarily, but they
> still can be useful. :-)
>
> David
> ---------------------------------------------------
> PLUG-discuss mailing list -
> To subscribe, unsubscribe, or to change you mail settings:
> http://lists.PLUG.phoenix.az.us/mailman/listinfo/plug-discuss
>


----------------------------------------------------------------------
  It is not whether you fall down.
  It is whether you get back up.
    - Vince Lombardi
----------------------------------------------------------------------