Path: utzoo!utgpu!watmath!mks!andy From: andy@mks.UUCP (Andy Toy) Newsgroups: comp.sys.ibm.pc Subject: Re: More than 24 lines in *nix? Message-ID: <818@mks.UUCP> Date: 25 Apr 89 19:44:05 GMT References: <11563@s.ms.uky.edu> <5190009@hplsla.HP.COM> Reply-To: andy@mks.UUCP (Andy Toy) Organization: Mortice Kern Systems, Waterloo, Ontario, Canada Lines: 17 In article <5190009@hplsla.HP.COM> davidr@hplsla.HP.COM (David M. Reed) writes: The vi we use on our HP-UX systems looks for two environment variables, LINES and COLUMNS. These may not always be set properly on login (for many different reasons), but manually changing them to appropriate values before running vi (if yours recognizes such variables) may be what you should do. (For example, using X-windows, it is possible to change your window size to be some odd size not defined by termcap. Thus, by setting these variables I can adjust vi's operation to fit my adapted windows.) I haven't been successful using lines (or rows) and columns. I believe that it is only used by xwindows for the window size and the resize command resets these variables and the TERMCAP environment variable to the correct window size which vi will use. -- Andy Toy, Mortice Kern Systems Inc., Internet: andy%mks@watmath.UWaterloo.ca 35 King Street North, Waterloo, UUCP: uunet!watmath!mks!andy Ontario, CANADA N2J 2W9 Phone: 519/884-2251 FAX: 519/884-8861