[Subject Prev][Subject Next][Thread Prev][Thread Next][Subject Index][Thread Index]
Re: Another question
> Can I diable ctrl-c function when I am running some shell script.
> Basically I dont want the user to be able to terminate the shell script
> using ctrl-c. If this is possible pls send me the details.
stty -a shows all the terminal setting for a particular user. This includes
the interrupt key namely ctrl-c( it shows ^c) You can change it by giving
the command stty intr ^a. And now Ctrl-a will be the interrupt key. But I
don't know how to disable it (namely <undef> form). Maybe somebody else can
help.
Goldwyn