[ale] Shell Script Question

Wandered Inn esoteric at denali.atlnet.com
Wed Apr 14 10:51:33 EDT 1999


Russell Enderby wrote:
> 
> At the beginning of the script I currently have:
> 
> :
> trap "" 2 3
> 
> This currently disables control-c, although I have been unable to find a
> way to disable control-d.  If anyone has this information that would be
> great.

in signal.h

#define SIGHUP 1
#define SIGINT 2
#define SIGQUIT 3

So, it depends on what control-d is doing for you.

> 
> Thanks,
> Russell

--
Until later: Geoffrey		esoteric at denali.atlnet.com

It should be illegal to yell "Y2K" in a crowded economy.
	-- Larry Wall, creator of the programming language Perl






More information about the Ale mailing list