Ctrl-C to kill a ksh script does not wor

From: Tran, Duc-Chi <tranduc_at_statcan.ca>
Date: Thu, 01 Oct 1998 11:48:00 -0400

Hi,

My O/S is DU 4.0d. Somehow I cannot kill any of my ksh scripts with Ctrl-C.
 Ctrl-C is supposed to sent an INT signal. I have the following command in
my .profile to ensure that it is the case:

     stty kill '^X' intr '^C'

To debug the problem, I wrote a ksh script which traps the INT signal (trap
signal_handler_INT INT) and the script did not receive the interrupt signal
when Ctrl-C was pressed.

I do NOT think that the problem is with the keyboard driver since Ctrl_C
works find in emacs.

Please help.

Thanks,

Duc-Chi Tran
Statistics Canada
Received on Thu Oct 01 1998 - 15:18:47 NZST

This archive was generated by hypermail 2.4.0 : Wed Nov 08 2023 - 11:53:38 NZDT