Article View: news.software.readers
Article #29616Re: SLRN 0.9.2.1 beta - recognizing terminal size?
From: John E. Davis
Date: Fri, 17 Jan 1997 00:00
Date: Fri, 17 Jan 1997 00:00
24 lines
1626 bytes
1626 bytes
On 17 Jan 1997 00:53:05 GMT, hillary gorman <hillary@hillary.net> wrote: >Argh. Ok, I feel like a luser now. We just installed this version of slrn, >and now my users are complaining that they can't make slrn recognize a >screen size with more than 24 lines. I'm very sick of hearing "why doesn't >it take up the whole screen??" from them, but I'm beside myself trying to >fix it on these SunOS 4.1.4 boxen. It's working normally on the linux box >I also use sometimes, I can't figure out what's different. Thoughts? >Anecdotes? References? LARTS? If you use gcc on a Sun, you have to use the -traditional-cpp compiler flag. It is well known that there is a conflict between the sun include files and gcc. Also, the window size is determined in slang/src/sldisply.c. One of your include files (see sldisply.c) must define TIOCGWINSZ for it to work properly. This is usually defined when /usr/include/termios.h is included. That file will be included if slang/src/config.h defines HAVE_TERMIOS_H. --John
Technical Details
Message-ID:
<slrn5dukjm.9rk.davis@mygir.davis.net>Path:
mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!illumos!news.pugleaf.net!.TX!archive.pugleaf.net!archive.newsdeef.eu!mbox2nntp-news.software.readers.mbox.zip!not-for-mailReferences:
<slrn5dtjbh.8ia.hillary@unix3.netaxs.com>Show Full Headers
Complete Article Headers
Message-ID: <slrn5dukjm.9rk.davis@mygir.davis.net> Subject: Re: SLRN 0.9.2.1 beta - recognizing terminal size? Date: Fri, 17 Jan 1997 00:00:00 +0000 From: davis@space.mit.edu (John E. Davis) References: <slrn5dtjbh.8ia.hillary@unix3.netaxs.com> Path: mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!illumos!news.pugleaf.net!.TX!archive.pugleaf.net!archive.newsdeef.eu!mbox2nntp-news.software.readers.mbox.zip!not-for-mail X-Deja-AN: 210494513 Organization: Center for Space Research Newsgroups: news.software.readers