*BSD News Article 56004


Return to BSD News archive

Path: euryale.cc.adfa.oz.au!newshost.anu.edu.au!harbinger.cc.monash.edu.au!news.mel.connect.com.au!yarrina.connect.com.au!munnari.OZ.AU!spool.mu.edu!howland.reston.ans.net!Germany.EU.net!zib-berlin.de!news.tu-chemnitz.de!irz401!uriah.heep!news
From: j@uriah.heep.sax.de (J Wunsch)
Newsgroups: comp.unix.bsd.freebsd.misc
Subject: Re: stty settings for pico etc.
Date: 4 Dec 1995 22:47:51 GMT
Organization: Private BSD site, Dresden
Lines: 21
Message-ID: <49vtqn$99f@uriah.heep.sax.de>
References: <49kb84$732@dali.cs.uni-magdeburg.de>
Reply-To: joerg_wunsch@uriah.heep.sax.de (Joerg Wunsch)
NNTP-Posting-Host: localhost.heep.sax.de
Mime-Version: 1.0
Content-Type: text/plain; charset=ISO-8859-1
Content-Transfer-Encoding: 8bit
X-Newsreader: knews 0.9.3

jesse@csmd.cs.UNI-Magdeburg.DE (Roland Jesse) writes:

> What arguments do I have to pass to stty to set the terminal for
> handling with alphanumeric editors like pico or vi ?

> The problem is that if a file has more lines than fit on one screen,
> the editor does not scroll.

Make sure the ``window size'' is correct, either by setting

stty rows 25 columns 80  (for example)

or by using the environmental variables LINES and COLUMNS.

For local ttys, everything should be handled automagically.
-- 
cheers, J"org

joerg_wunsch@uriah.heep.sax.de -- http://www.sax.de/~joerg/ -- NIC: JW11-RIPE
Never trust an operating system you don't have sources for. ;-)