TSET can speed up BSD UNIX

Bruce Barnett barnett at mozart.stars.flab.Fujitsu.JUNET
Sun Sep 18 21:34:09 AEST 1988



Chris Torek writes:
>Also note that if you log in from a window on (e.g.) a Sun, rows and
>columns may be nonzero, and, if so, should be left as they are, because
>they reflect the actual size of the window.  

Actually, there is a known problem with SunOS 3.x. You can log in with
a vt100, and find out emacs, more, vi, etc. doesn't work properly.
The reason is that the pseudo-terminal is confused and thinks the
number of rows is 34, instead of 24. (do a 'stty everything' to see if
this is the case).

To fix this problem, you should put a 'stty rows 0 columns 0' in your .login
file. 

Also,  I frequently re-size my windows after login. So the size at
login time is just the initial window size.

I believe this bug occurs when you run a job in the background, and
log out before it terminates. The characteristics of the pty aren't
reset.

[Reality check time. Did I just correct Chris Torek? :-]
--
--
Bruce G. Barnett  <barnett at ge-crd.ARPA> <barnett at steinmetz.UUCP>
		uunet!steinmetz!barnett



More information about the Comp.unix.wizards mailing list