problem with stty intr (61 Views)
Reply
Advisor
GSK_2
Posts: 47
Registered: ‎01-09-2006
Message 1 of 1 (61 Views)

problem with stty intr

Hello,

We had a problem with the stty parameters. I am not able to kill or interrupt or suspend when working with some commands for example :
while viewing log file using tail -f

I am unable to quit from that. all i have to do is login again in another ssh session and kill the pid of tail command.
I had these entried in the user profile

$ grep stty .profile
stty erase
stty istrip
$
please find the below parameters and its values
$ stty -a
speed 38400 baud; line = 0;
rows = 60; columns = 157
min = 1; time = 0;
intr = ^C; quit = ^\; erase = ^H; kill = ^U
eof = ^D; eol = ^@; eol2 ; swtch
stop = ^S; start = ^Q; susp ; dsusp
werase ; lnext
-parenb -parodd cs8 -cstopb hupcl cread -clocal -loblk -crts
-ignbrk brkint -ignpar -parmrk -inpck istrip -inlcr -igncr icrnl -iuclc
ixon ixany ixoff -imaxbel -rtsxoff -ctsxon -ienqak
isig icanon -iexten -xcase echo echoe echok -echonl -noflsh
-echoctl -echoprt -echoke -flusho -pendin
opost -olcuc onlcr -ocrnl -onocr -onlret -ofill -ofdel -tostop tab3
$

Please help me to fix this.
The opinions expressed above are the personal opinions of the authors, not of HP. By using this site, you accept the Terms of Use and Rules of Participation.