On Tue, Aug 07, 2001 at 03:51:45PM +0700, loeung vidol wrote:
> Hi:
> 
> How can I trap the 'Ctrl+C' combination in my script: shell, PERL, or even
> C, so that my script cannot be terminated by that?
Depending on the shell, trap the interrupt.
Bash: trap "" INT

Ralf
> 
> Thanks,
> Vidol
> 
> 
> 
> _______________________________________________
> Seawolf-list mailing list
> [EMAIL PROTECTED]
> https://listman.redhat.com/mailman/listinfo/seawolf-list

-- 
Ralf Spenneberg
MCSE+I, MCT, RHCE, RHCX, LCP, Linux-Consultant
Waldring 34                             48565 Steinfurt
Fon: +49(0)2552 638 755                 Fax: +49(0)2552 638 757
Mobil: +49(0)177 567 27 40              http://www.spenneberg.com/.net/.org/.de



_______________________________________________
Seawolf-list mailing list
[EMAIL PROTECTED]
https://listman.redhat.com/mailman/listinfo/seawolf-list

Reply via email to