[Subject Prev][Subject Next][Thread Prev][Thread Next][Subject Index][Thread Index]

Re: Another question



trap "" 3 9 15

at the start of your script, will ignore ^C and ^\

On Mon, 6 Nov 2000, Deepak Singhal wrote:

> 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.

--
Sanjeev "ghane" Gupta                    Mob: +65 98551208
dotXtra Pte Ltd                          Fax: +65 2275776
Singapore                                email: ghane@xxxxxxxxxxx
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~