home *** CD-ROM | disk | FTP | other *** search
- Newsgroups: comp.unix.questions
- Path: sparky!uunet!mcsun!sunic!ericom!eos.ericsson.se!etxmesa
- From: etxmesa@eos.ericsson.se (Michael Salmon)
- Subject: Re: It ain't a 24x80 world anymore. Or is it?
- Message-ID: <1992Nov19.090938.4906@ericsson.se>
- Sender: news@ericsson.se
- Nntp-Posting-Host: eos6c02.ericsson.se
- Reply-To: etxmesa@eos.ericsson.se (Michael Salmon)
- Organization: Ericsson Telecom AB
- References: <lux.722129357@sol.UVic.CA>
- Date: Thu, 19 Nov 1992 09:09:38 GMT
- Lines: 39
-
- In article <lux.722129357@sol.UVic.CA>,
- lux@sol.UVic.CA (Michael O'Henly) writes:
- |> A few days ago I posted a query about how to increase the number
- |> of rows displayed in a terminal window so that 'full-screen' commands
- |> like emacs could make use 35 lines instead of the usual 24.
- |>
- |> I got some responses that suggested "stty rows 35" or "setenv
- |> LINES 35". I've tried both and, while they do alter the terminal's
- |> behaviour, they don't give me a 35-line screen. What I'm getting looks
- |> like this: lines 1-24 after a screen-clear display correctly, but
- |> lines 25-35 pile up on top of each other on the 24th line.
- |>
- |> So maybe I didn't ask the right question. What I'm trying to do is
- |> make the best use of my laptop screen when I dial into my machine
- |> using a modem and terminal emulator. Does the fact that I'm dialing in
- |> make a difference? I'm sure there _must_ be a way of working with more
- |> than a 24x80 display under these circumstances.
-
- I use SunOS 4.1.1 and I mention that only because it reflects the
- curses that I use. When I use an xterm window it sets the TERMCAP
- environment variable to the value stored in the terminfo database but
- with the #li and #co values set to the correct size. tcsh updates this
- whenever it receives the window has changed size signal (SIGWINCH). I
- think that the problem with setting LINES is that you are telling the
- program how long the screen is but curses still believes that it is 24.
- I suggest therefore that you set your TERMCAP variable to suit, the
- resize program in the X11 release may be of some use, at least as a
- starting point.
-
- --
-
- Michael Salmon
-
- #include <standard.disclaimer>
- #include <witty.saying>
- #include <fancy.pseudo.graphics>
-
- Ericsson Telecom AB
- Stockholm
-