Path: utzoo!utgpu!jarvis.csri.toronto.edu!rutgers!usc!cs.utexas.edu!uunet!mcvax!kth!draken!bmc1!kuling!irf From: irf@kuling.UUCP (Bo Thide') Newsgroups: comp.unix.questions Subject: Re: how to set number of lines Message-ID: <1040@kuling.UUCP> Date: 2 Jul 89 08:25:57 GMT References: <163@jma.UUCP> <216000017@s.cs.uiuc.edu> Reply-To: irf@kuling.UUCP (Bo Thide') Organization: Dept. of Computer Systems, Uppsala University, Sweden Lines: 14 In article <216000017@s.cs.uiuc.edu> carroll@s.cs.uiuc.edu writes: > >In article <163@jma.UUCP> max@jma.UUCP(Max Heffler @ Landmark Graphics) writes: >>xs set noglob; eval `resize` >What do you do for rlogins to systems without any X-windows support on them? The "eval `resize`" works in any environment, not just for X. For logins on a GraphOn-250 with 25 screen lines I have added "export LINES=25" in my profile (I use ksh). This command can, of course, be executed at any time for any value of LINES. The same goes for COLUMNS. The above works for HP-UX and probably for Sys V. I am not sure whether BSD supports LINES and COLUMNS.