Relay-Version: version B 2.10 5/3/83; site utzoo.UUCP Path: utzoo!mnetor!uunet!husc6!mit-eddie!ll-xn!ames!sdcsvax!ucbvax!jade!saturn!ucscc.UCSC.EDU!haynes From: haynes@ucscc.UCSC.EDU.ucsc.edu (99700000) Newsgroups: comp.unix.wizards Subject: Window size in 4.3BSD and tset Message-ID: <813@saturn.ucsc.edu> Date: Wed, 16-Sep-87 00:35:48 EDT Article-I.D.: saturn.813 Posted: Wed Sep 16 00:35:48 1987 Date-Received: Fri, 18-Sep-87 06:28:13 EDT Sender: usenet@saturn.ucsc.edu Reply-To: haynes@ucscc.UCSC.EDU (Jim Haynes) Organization: California State Home for the Weird Lines: 17 Keywords: windows 4.3 tset From looking at the code I see that login sets the window size parameters to zero, and then tset sets them for the terminal if they are zero to start with and are found in the termcap file. The result of this is that if you change a terminal from 80-column mode to 132-column mode and run tset, the window parameters stay at 80 cols and vi continues to wrap around at the 80th column. The user has to log out and log back in with the changed terminal mode to get it to work 'properly'. Does anybody know why it should be this way, and why tset shouldn't set the window parameters regardless of whether they were found to be zero? haynes@ucscc.ucsc.edu haynes@ucscc.bitnet ..ucbvax!ucscc!haynes