[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: lynx-dev Re: size_change code
From: |
dickey |
Subject: |
Re: lynx-dev Re: size_change code |
Date: |
Wed, 10 Mar 1999 10:41:49 -0500 (EST) |
> On the other hand, for me on linux setting LINES or COLUMNS environment
> variables doesn't do anything. Nor should it: that's what `stty rows NN'
> or `stty cols NN' are for, in case I really want to fake the screen size.
> I'd dislike to see *this* eroded, only to recognize some (on this system)
> unnecessary environment variables...
>
> I can't see any place where the lynx code checks for LINES or COLUMNS in
> the environment. So it must be either the curses library code that
> checks them, or setting them could have the size effect of changing
> the termios (or equivalent) size info (a shell could do that, but I
> don't know of any that does).
ncurses checks the environment; there's a function (use_env) which would
make $LINES override the value from stty, but it's not the default. iirc,
some other curses implementations let $LINES override anyway, though it's
not specified that way.
> Klaus
--
Thomas E. Dickey
address@hidden
http://www.clark.net/pub/dickey
- Re: lynx-dev Re: size_change code,
dickey <=