[Top][All Lists]

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

[Lynx-dev] Re: enable color style in windows version

From: Thomas Dickey
Subject: [Lynx-dev] Re: enable color style in windows version
Date: Thu, 21 Sep 2006 16:56:21 -0400 (EDT)

On Thu, 21 Sep 2006, address@hidden wrote:

20060921 23:29 +0000, Thomas Dickey >>>>
I see--it seems that pdcurses (testing 2.8) forgets the color pairs
when one calls endwin().  For the non-color style code, lynx happens to
reinitialize the colors since that call is in a chunk which is always
executed for the non-Unix curses (mainly VMS).
There is a problem with Windows- and MS-DOS-versions (courtesy of Doug
Kaufman), sometimes on return from a program called by Lynx the screen
is not drawn anew aside from the link-highlight, and all the rest so
stays as it was left on program-return, until Lynx quits, whichever
page Lynx shows. (After enough are shown the screen is cluttered with

Does this occur after the past month's changes?
The stop_curses() function used to not call endwin() in the DJGPP
configuration.  Looking at the history of LYCurses.c, it seems that

starting in earl 1997 when the DJGPP code was added -
until 2.8.3dev.3 (1999)
        It did not call endwin() in either DOS or Windows configurations

after that,
        It called endwin() for the Windows configuration, but not DOS.

        Calls endwin() for either configuration.

In an earlier version there was another, but quite harmless, problem,
that when as above after another program ran the screen was drawn anew
but the right ends of all the lines after the rightmost text became dark.

Not calling endwin() would explain either problem (though perhaps there
are some additional reasons).

Thomas E. Dickey

reply via email to

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