Relay-Version: version B 2.10 5/3/83; site utzoo.UUCP Path: utzoo!mnetor!uunet!husc6!cmcl2!rutgers!ucla-cs!zen!ucbvax!hplabs!pyramid!prls!philabs!rob From: rob@philabs.Philips.Com (Rob Robertson) Newsgroups: comp.unix.wizards Subject: Re: Window size in 4.3BSD and tset Message-ID: <1724@briar.Philips.Com> Date: Thu, 17-Sep-87 16:11:32 EDT Article-I.D.: briar.1724 Posted: Thu Sep 17 16:11:32 1987 Date-Received: Sun, 20-Sep-87 03:26:14 EDT References: <813@saturn.ucsc.edu> <4280@spool.wisc.edu> Reply-To: rob@briar.philips.com (Rob Robertson) Organization: Philips Laboratories, Briarcliff Manor, NY Lines: 32 Keywords: windows 4.3 tset In article <4280@spool.wisc.edu> dave@spool.wisc.edu (Dave Cohrs) writes: >Making "tset" set the window size parameters is a kludge at best. The >reason you don't want it to do so in general is because lots of people >use these parameters for *real* windows, and windows, in general, can >change size to almost any shape you want. I doubt that you'd want a >separate termcap entry for each possible window size. Anyway, once you >set your window to some size, the window manager, or the program >maintaining the individual window, usually sets the window size >parameters automatically and send a SIGWINCH signal, so you don't have >to run "tset" or "stty" for your programs to know the new window size. >If "tset" were to reset these dimensions to your termcap dimensions, >all this would have gone for naught (comments about whether the BSD >window method is right or not will happily be ignored). This is great if your in an environment with just bitmapped windowing terminals. At our site most of the people are hooked up with plain vt100 compatibles, and don't use windowing. We had a problem with people getting lines that rows and columns set wrong in the terminal driver. To get everything right, we added a -w switch to tset that set the rows and columns in the driver to be in agreement with the termcap. Those people that don't use windowing and have a tset -wQ in their .login after the TERM variable is set. rob -- william robertson rob@philabs.philips.com "better living through shell scripts"