home *** CD-ROM | disk | FTP | other *** search
/ NetNews Usenet Archive 1992 #27 / NN_1992_27.iso / spool / comp / unix / question / 13616 < prev    next >
Encoding:
Text File  |  1992-11-18  |  2.2 KB  |  53 lines

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