lynx-dev
[Top][All Lists]
Advanced

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

Re: LYNX-DEV -color/-nocolor development confusion (was: fotemods.zip up


From: T.E.Dickey
Subject: Re: LYNX-DEV -color/-nocolor development confusion (was: fotemods.zip update)
Date: Tue, 22 Jul 1997 14:19:51 -0400 (EDT)

> Neither your code nor devel ac-0.38 always show the current status
> (whether color or not) correctly on the Options Screen.
Actually the slang version does (afaik) show the state correctly - at least
when I'm testing it (perhaps the slang library is exploiting the particular
color model of the XFree86 xterm - I didn't check that aspect yet, since
slang doesn't work well with non-bce color models).  For SVr4 curses (and
ncurses), an additional refresh is still needed (I was looking into this to
see if there's a cleaner way than clearing the screen first - there are
some minor differences between SVr4 curses vs ncurses in this area, but
both have this problem).
 
> You have changed the function of that new Options Screen setting
> (and of the LYShowColor variable) significantly: in Tom's code it only
> applies for his color-curses, not for slang color.  In Tom's code it
> can only be used to force color OFF (against what terminfo says).  In
uh, no - it's a two-way toggle (crude, but a ^L helps it along).
I could "fix" it by using a goto as does the ^L code....

> - A -nocolor flag that works for both slang and curses.
>   [currently: FM-no, TD-for curses only]
I did try that a little for slang, but it doesn't work yet.
 
> - Options screen toggle should work the same for slang and curses color
>   support, as far as possible.  The reservation means that for curses
>   color, one cannot turn color on if the terminal description says that
>   the terminal doesn't support color.
>   [currently: FM-no, TD-no]
right (I'm not done with this change - but I thought it would be useful).

-- 
Thomas E. Dickey
address@hidden
http://www.clark.net/pub/dickey
;
; To UNSUBSCRIBE:  Send a mail message to address@hidden
;                  with "unsubscribe lynx-dev" (without the
;                  quotation marks) on a line by itself.
;

reply via email to

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