lynx-dev
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: lynx-dev Re: size_change code


From: Klaus Weide
Subject: Re: lynx-dev Re: size_change code
Date: Thu, 11 Mar 1999 07:40:44 -0600 (CST)

On Wed, 10 Mar 1999, Webmaster Jim wrote:
> > On Tue, 9 Mar 1999 address@hidden wrote:
> > > So, how should SIGWINCH interact with
> > > LINES and COLUMNS?  Should catching SIGWINCH override and reset
> > > the settings of LINES and COLUMNS on entry?  Should SIGWINCH be
> > > honored only if LINES and COLUMNS were unset on entry?  Are there
> > > useful intermediate alternatives?
> 
> If lynx is not using them, how can they be masked without user
> intervention?

How about unsetenv("LINES") and unsetenv("COLUMNS") in LYMain.c before
setup() is called?   Or better, do it in setup() at the beginning,
but only for relevant cases (not for USE_SLANG, not for DOS, not for VMS?).
And only if HAVE_SIZECHANGE is defined.

    Klaus

reply via email to

[Prev in Thread] Current Thread [Next in Thread]