lkml.org 
[lkml]   [1996]   [Mar]   [29]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectLONG: stty rows/columns still broken (1.3.80).
Hello,

I brought this situation up earlier with 1.3.75 but it never generated
enough response or a solution to my problems with the latest kernels.

Somewhere between kernel 1.3.73 and 1.3.75+, something is broken with
respect to setting the correct 'rows' and 'columns' from 'stty'. I have
created a short log file which demonstrates what happens. It occurs
whether I am using an 'xterm' in X windows or from a VT/console.

Keep an eye on the rows and columns values specifically. Once in a blue
moon, the rows/columns will be set correctly. It seems to be almost
random luck.

When the rows/columns don't get set properly, many text applications (eg.
ircII or pine) do not scroll properly or simply freeze up and chew up CPU
time. Doing a 'resize' corrects the stty settings but it does not
prevent 'pine' from freezing up. If I kill -9 the PID and restart
'pine', it will work perfectly fine anytime afterwards until I re-rlogin.

The only thing I can say is that if I drop back to 1.3.72 without
changing anything else, this problem goes away immediately. I really
have no clue where to look for this problem.

This problem still exists in 1.3.80. I'm using:

libc.so.5.0.9
libcurses.so.1.0.0
ld.so.1.7.14
gcc 2.7.0

Original installation was from InfoMagic Slackware 3.0.0 Nov 1995 CD-ROM
distribution (clean ELF).

========================================================================

gomer:~# whoami
root
gomer:~# stty -a
speed 9600 baud; rows 48; columns 80; line = 0;
intr = ^C; quit = ^\; erase = ^?; kill = ^U; eof = ^D; eol = <undef>;
eol2 = <undef>; start = ^Q; stop = ^S; susp = ^Z; rprnt = ^R; werase = ^W;
lnext = ^V; flush = ^O; min = 1; time = 0;
-parenb -parodd cs8 -hupcl -cstopb cread -clocal -crtscts
-ignbrk -brkint -ignpar -parmrk -inpck -istrip -inlcr -igncr icrnl ixon
-ixoff
-iuclc -ixany -imaxbel
opost -olcuc -ocrnl onlcr -onocr -onlret -ofill -ofdel nl0 cr0 tab0 bs0
vt0 ff0
isig icanon iexten echo echoe echok -echonl -noflsh -xcase -tostop -echoprt
echoctl echoke
gomer:~# rlogin -l gomer gomer
Last login: Fri Mar 29 00:52:21 from gomer.mlink.net


gomer:~$ stty -a
speed 9600 baud; rows 0; columns 0; line = 0;
intr = ^C; quit = ^\; erase = ^?; kill = ^U; eof = ^D; eol = <undef>;
eol2 = <undef>; start = ^Q; stop = ^S; susp = ^Z; rprnt = ^R; werase = ^W;
lnext = ^V; flush = ^O; min = 1; time = 0;
-parenb -parodd cs8 -hupcl -cstopb cread -clocal -crtscts
-ignbrk -brkint -ignpar -parmrk -inpck -istrip -inlcr -igncr icrnl ixon
-ixoff
-iuclc -ixany -imaxbel
opost -olcuc -ocrnl onlcr -onocr -onlret -ofill -ofdel nl0 cr0 tab0 bs0
vt0 ff0
isig icanon iexten echo echoe echok -echonl -noflsh -xcase -tostop -echoprt
echoctl echoke
gomer:~$ exit
logout
rlogin: connection closed.
gomer:~# rlogin -l gomer gomer
Last login: Fri Mar 29 02:19:45 from gomer.mlink.net


gomer:~$ stty -a
speed 9600 baud; rows 0; columns 0; line = 0;
intr = ^C; quit = ^\; erase = ^?; kill = ^U; eof = ^D; eol = <undef>;
eol2 = <undef>; start = ^Q; stop = ^S; susp = ^Z; rprnt = ^R; werase = ^W;
lnext = ^V; flush = ^O; min = 1; time = 0;
-parenb -parodd cs8 -hupcl -cstopb cread -clocal -crtscts
-ignbrk -brkint -ignpar -parmrk -inpck -istrip -inlcr -igncr icrnl ixon
-ixoff
-iuclc -ixany -imaxbel
opost -olcuc -ocrnl onlcr -onocr -onlret -ofill -ofdel nl0 cr0 tab0 bs0
vt0 ff0
isig icanon iexten echo echoe echok -echonl -noflsh -xcase -tostop -echoprt
echoctl echoke
gomer:~$ exit
logout
rlogin: connection closed.
gomer:~# rlogin -l gomer gomer
Last login: Fri Mar 29 02:20:04 from gomer.mlink.net


gomer:~$ stty -a
speed 9600 baud; rows 0; columns 0; line = 0;
intr = ^C; quit = ^\; erase = ^?; kill = ^U; eof = ^D; eol = <undef>;
eol2 = <undef>; start = ^Q; stop = ^S; susp = ^Z; rprnt = ^R; werase = ^W;
lnext = ^V; flush = ^O; min = 1; time = 0;
-parenb -parodd cs8 -hupcl -cstopb cread -clocal -crtscts
-ignbrk -brkint -ignpar -parmrk -inpck -istrip -inlcr -igncr icrnl ixon
-ixoff
-iuclc -ixany -imaxbel
opost -olcuc -ocrnl onlcr -onocr -onlret -ofill -ofdel nl0 cr0 tab0 bs0
vt0 ff0
isig icanon iexten echo echoe echok -echonl -noflsh -xcase -tostop -echoprt
echoctl echoke
gomer:~$ exit
logout
rlogin: connection closed.
gomer:~# rlogin -l gomer gomer
Last login: Fri Mar 29 02:20:08 from gomer.mlink.net


gomer:~$ stty -a
speed 9600 baud; rows 48; columns 80; line = 0;
intr = ^C; quit = ^\; erase = ^?; kill = ^U; eof = ^D; eol = <undef>;
eol2 = <undef>; start = ^Q; stop = ^S; susp = ^Z; rprnt = ^R; werase = ^W;
lnext = ^V; flush = ^O; min = 1; time = 0;
-parenb -parodd cs8 -hupcl -cstopb cread -clocal -crtscts
-ignbrk -brkint -ignpar -parmrk -inpck -istrip -inlcr -igncr icrnl ixon
-ixoff
-iuclc -ixany -imaxbel
opost -olcuc -ocrnl onlcr -onocr -onlret -ofill -ofdel nl0 cr0 tab0 bs0
vt0 ff0
isig icanon iexten echo echoe echok -echonl -noflsh -xcase -tostop -echoprt
echoctl echoke
gomer:~$

========================================================================

Greg.

P.S. If someone wishes to browse around my system, please contact me by
email and I'll setup a guest account.


\
 
 \ /
  Last update: 2005-03-22 13:36    [W:0.146 / U:0.136 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site