home *** CD-ROM | disk | FTP | other *** search
- Newsgroups: comp.unix.questions
- Path: sparky!uunet!ferkel.ucsb.edu!taco!rock!stanford.edu!ames!haven.umd.edu!darwin.sura.net!paladin.american.edu!news.univie.ac.at!hp4at!mcsun!sunic!kth.se!news.kth.se!krej
- From: krej@electrum.kth.se (Kristian Ejvind)
- Subject: Re: How do I increase number of screen rows?
- In-Reply-To: lux@sol.UVic.CA's message of 14 Nov 92 19:21:48 GMT
- Message-ID: <KREJ.92Nov15182108@gaia.electrum.kth.se>
- Sender: usenet@kth.se (Usenet)
- Nntp-Posting-Host: gaia.electrum.kth.se
- Organization: The Royal Institute of Technology, Stockholm, Sweden
- References: <lux.721768908@sol.UVic.CA>
- Date: Sun, 15 Nov 1992 17:21:08 GMT
- Lines: 23
-
- In article <lux.721768908@sol.UVic.CA> lux@sol.UVic.CA (Michael O'Henly) writes:
- > I want to increase the number of rows displayed by things like
- > emacs and nn from 24 to 35.
- >
- > When I dial into my machine, the terminal window is defined as
- > 24x80 and I can't quite figure out how to change it. I suspect it
- > involves the stty command, but 'stty rows 35' doesn't seem to tell
- > "full screen" emacs whatever it needs to know in order to address the
- > extra rows.
-
- IF you are using tcsh (I don't know how any other shells do this) the
- problem surely is in tcsh, as it uses the scroll regions of a vt100-terminal.
- I had the same problem and have solved it with a little script that sends the
- 'set scroll-region' command to the terminal like this:
- ------8<----cut,cut-----
- stty rows 29 cols 80
- echo -n "<ESC>[1;29r"
- clear
- ------8<----cut,cut-----
- where <ESC> is the escape character, which sets the display to 29 lines,
- just substitute 29 for 35 on the first two lines and it will work for you.
-
- /Kristian
-