Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations sizbut on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

^c - doesn't interrupt

Status
Not open for further replies.

ogniemi

Technical User
Nov 7, 2003
1,041
PL
Hello,
Maybe anyone knows what may be a reason (having the same "stty -g" output on both AIX systems) that on one system CTRL-c doesn't work? The same shell on both systems (ksh).


node1:$ stty -g
3:1c:8:15:4:ff:ff:11:13:1a:19:12:f:17:16:0:302:c05:d00bd:b:

node2:$ stty -g
3:1c:8:15:4:ff:ff:11:13:1a:19:12:f:17:16:0:302:c05:d00bd:b:

In readable form it is:

speed 9600 baud; 49 rows; 137 columns;
eucw 1:1:0:0, scrw 1:1:0:0:
intr = ^C; quit = ^\; erase = ^H; kill = ^U; eof = ^D; eol = <undef>
eol2 = <undef>; start = ^Q; stop = ^S; susp = ^Z; dsusp = ^Y; reprint = ^R
discard = ^O; werase = ^W; lnext = ^V
-parenb -parodd cs8 -cstopb -hupcl cread -clocal -parext
-ignbrk brkint -ignpar -parmrk -inpck -istrip -inlcr -igncr icrnl -iuclc
ixon -ixany -ixoff -imaxbel
isig icanon -xcase echo -echoe -echok -echonl -noflsh
-tostop -echoctl -echoprt -echoke -flusho -pending -iexten
opost -olcuc onlcr -ocrnl -onocr -onlret -ofill -ofdel tab3

regards,m
 
Hi,

did you checked the .profiles ??? If there is an trap command which disables control sequences ?

hth
 
hi,

just type the following to see if ^c is really generated by your keybord :

trap &quot;echo control-c&quot; INT

if when you do ^c it echoes, it means that it is trapped in your environment earlier.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top