On 2004-07-31 18:43, Mark Ovens <[EMAIL PROTECTED]> wrote:
>Ion-Mihai Tetcu wrote:
>>On Fri, 30 Jul 2004 14:30:59 +0100 Mark Ovens <[EMAIL PROTECTED]> wrote:
>>> To implement this in a running X session type this in an xterm
>>> xmodmap -e "keysym Delete = 0x04"
>>> Actually, this is probably a better solution for the OP as it is
>>> global whereas my previous suggestion is xterm specific.
>> The only problem is that if you keep the delete key pressed to long
>> it exits the terminal. At least when xmodmap.... typed under kde's
>> konsole; it acts this way both in for konsole and xterm.
> Only if the cursor is in the first character position after the prompt
> of course. Not sure what the solution is since Ctrl-D is delete char to
> the right of the cursor and EOT, which exits the shell.

There's always some sort of option to ignore EOF's in interactive mode,
like IGNOREEOF=10 in GNU bash, `set ignoreeof=10' in tcsh, or `set -I'
in FreeBSD's sh(1).

Setting this might avoid unexpected shell termination by hitting DEL :)

[EMAIL PROTECTED] mailing list
To unsubscribe, send any mail to "[EMAIL PROTECTED]"

Reply via email to