Newsgroups: comp.sys.amiga.misc
Path: utzoo!utgpu!news-server.csri.toronto.edu!rpi!zaphod.mps.ohio-state.edu!sdd.hp.com!news.cs.indiana.edu!widener!ukma!kherron
From: kherron@ms.uky.edu (Kenneth Herron)
Subject: Re: lines per screen in Handshake
Message-ID: <1991May15.231612.9984@ms.uky.edu>
Organization: University Of Kentucky, Dept. of Math Sciences
References: <1991May14.223503.24260@cadence.com> <1991May15.210626.17108@cs.cornell.edu>
Distribution: na
Date: Wed, 15 May 1991 23:16:12 GMT
Lines: 24

johnhlee@CS.Cornell.EDU (John H. Lee) writes:

>In article <1991May14.223503.24260@cadence.com> atul@cadence.com (Atul Srinivasan) writes:
>>I am logging in to a unix machine, and when I use utilities
>>like more/vi they recognize the page size correctly as 24 lines.
>>If I switch to 48 lines per screen, more still halts pages every
>>24 lines. Same for vi.

>	Well, I decided to post this since this is probably close to #1 on
>the List of Commonly Asked Questions that I get.  My answer will be relevant
>only for BSD-derived systems (i.e., BSD or SUN OS) since I have little to no
>experience with System-V or POSIX tty drivers.

For System V flavors of unix, try setting an environment variable LINES
to the number of lines, eg "LINES=48;export LINES".  There's a similar
variable COLUMNS for wide screens.

If this doesn't work, you have to create a custom terminfo description,
which is no big deal if your system has the untic utility.
-- 
Kenneth Herron                                            kherron@ms.uky.edu
University of Kentucky                                       +1 606 257 2975
Department of Mathematics       "So this won't be a total loss, can you make
         it so guys get to throw their mothers-in-law in?"  "Sure, why not?"
