[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: LYNX-DEV getbkgd
From: |
T.E.Dickey |
Subject: |
Re: LYNX-DEV getbkgd |
Date: |
Tue, 2 Sep 1997 20:40:38 -0400 (EDT) |
> The below change to LYForms.c between ac-0.57 and ac-0.58, and its
> equivalent in LYOptions.c, once more messes up handling of colors in
> popups, at least on solaris with the system curses, when light-background
> colors are used.
>
> Can we find some solution here that would satisfy both curses and
> DOS/Windows ?
PDCurses (based on SVr3 curses) is going to be different in the
bkgd-related functions. Rather than put an ifdef for getbkgd (which isn't
portable), there should be a feature-test macro (such as HAVE_GETBKGD) to
distinguish.
> ***************
> *** 682,688 ****
> #endif
> LYsubwindow(form_window);
> #endif
> ! #if defined(COLOR_CURSES) /* not defined in ncurses 1.8.7 */
> wbkgd(form_window, getbkgd(stdscr));
> wbkgdset(form_window, getbkgd(stdscr));
> #endif
> --- 682,688 ----
> #endif
> LYsubwindow(form_window);
> #endif
> ! #if defined(COLOR_CURSES) && defined(getbkgd) /* not defined in ncurses
> 1.8.7 */
> wbkgd(form_window, getbkgd(stdscr));
> wbkgdset(form_window, getbkgd(stdscr));
> #endif
>
>
> ;
> ; To UNSUBSCRIBE: Send a mail message to address@hidden
> ; with "unsubscribe lynx-dev" (without the
> ; quotation marks) on a line by itself.
> ;
>
--
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.
;
- LYNX-DEV getbkgd, Klaus Weide, 1997/09/02
- Re: LYNX-DEV getbkgd,
T.E.Dickey <=
- Re: LYNX-DEV getbkgd, Klaus Weide, 1997/09/02
- Re: LYNX-DEV getbkgd, T.E.Dickey, 1997/09/02
- Re: LYNX-DEV getbkgd, Doug Kaufman, 1997/09/03
- Re: LYNX-DEV getbkgd, Doug Kaufman, 1997/09/03
- Re: LYNX-DEV getbkgd, Klaus Weide, 1997/09/03
- Re: LYNX-DEV getbkgd, Doug Kaufman, 1997/09/04
- Re: LYNX-DEV getbkgd, T.E.Dickey, 1997/09/03
- LYNX-DEV Lynx on HP-UX 10.*, Roger Hill, 1997/09/11
- LYNX-DEV Re: Lynx on HP-UX 10.*, Roger Hill, 1997/09/04
- Re: LYNX-DEV Re: Lynx on HP-UX 10.*, T.E.Dickey, 1997/09/04