TSM = 6.3
OS = Linux
doing some trouble shooting and I'm running dsmadmc -console.
I don't seem to be able to exist the console gracefully.
Control C doesn't work.
Control D doesn't work.
typing exit or quit doesn't work either.
what I've been doing is running a cancel the sess number from a different login.
not a huge deal but there must be a better way.
Any suggestions?
thanks
-pete
^C is intercepted by the shell and issues signal 2 to the foreground child process. That key combination is assigned as the "intr" stty option. I've found that sometimes due to type of terminal used, that's not the keystroke.
bash-4.3# stty -a
speed 38400 baud; 26 rows; 94 columns
eucw 1:1:0:0, scrw 1:1:0:0:
intr = ^C; quit = ^\; erase = ^?; 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
bash-4.3# stty intr a
bash-4.3# when I type the letter a
bash-4.3# Wha
bash-4.3# t I'm doing gets interrupted. I ca
bash-4.3# n type ^C though a
bash-4.3# nd it just prints tha
bash-4.3# t string. now I will ma
bash-4.3# ke it go ba
bash-4.3# ck to the correct beha
bash-4.3# vior when I type a
bash-4.3# stty intr ^C
bash-4.3# and now a works and so does ^C
bash-4.3# stty -a|grep intr
intr = ^C; quit = ^\; erase = ^?; kill = ^U; eof = ^D; eol = <undef>
bash-4.3# stty intr a
bash-4.3# stty -a
bash-4.3# stty -a |grep intr
intr = a; quit = ^\; erase = ^?; kill = ^U; eof = ^D; eol = <undef>
bash-4.3# stty intr ^C
bash-4.3# stty -a |grep intr
intr = ^C; quit = ^\; erase = ^?; kill = ^U; eof = ^D; eol = <undef>
bash-4.3#
that second time I typed "stty -a |grep intr", I had to type ^V (designated by the stty "lnext" parameter) before the letter a, to escape it.