Article View: comp.sys.sun
Article #9534Re: Dumb terminal screenlength problem
From: John DelSignore
Date: Sun, 11 Dec 1988 23:53
Date: Sun, 11 Dec 1988 23:53
30 lines
1553 bytes
1553 bytes
The problem is that tty's have two "built-in" parameters: rows and
columns, that take precedence over the number of rows and columns in the
termcap entry. Typically, a user running a window system causes these
parameters to get set to something large. When the user exits and the tty
gets closed, the rows and columns are not cleared (bug in the tty driver).
So, when the next user opens that same tty, regardless of the termcap
entry for terminal he's using, the rows and columns are set for the
previous user.
Here is a work around:
After the VT100 user logs in, type "stty everything". This will
display the rows and columns:
oak>stty everything
new tty, speed 9600 baud, 64 rows, 85 columns
...
At this point, you can set the rows and columns to 0, and the termcap
entry will be honored.
oak>stty rows 0 columns 0
oak>stty everything
new tty, speed 9600 baud, 0 rows, 0 columns
...
--OR--
oak>stty rows 24 columns 80
...
Cheers, John D.
Technical Details
Message-ID:
<8811291545.AA29865@rice.edu>Path:
arc1-ca.pugleaf.net!utzoo!attcan!uunet!seismo!sundc!pitstop!sun!decwrl!labrea!rutgers!apple!bloom-beacon!husc6!rice!sun-spots-requestShow Full Headers
Complete Article Headers
Path: arc1-ca.pugleaf.net!utzoo!attcan!uunet!seismo!sundc!pitstop!sun!decwrl!labrea!rutgers!apple!bloom-beacon!husc6!rice!sun-spots-request From: jdelsign@bfly-vax.bbn.com (John DelSignore) Newsgroups: comp.sys.sun Subject: Re: Dumb terminal screenlength problem Message-ID: <8811291545.AA29865@rice.edu> Date: 11 Dec 88 23:53:07 GMT Sender: usenet@rice.edu Organization: Rice University, Houston, Texas Lines: 30 Approved: Sun-Spots@rice.edu Original-Date: Tue, 29 Nov 88 10:26:54 EST X-Sun-Spots-Digest: Volume 7, Issue 43, message 11 of 15