[Top][All Lists]

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

Re: lynx-dev Patch for high-intensity video

From: Doug Kaufman
Subject: Re: lynx-dev Patch for high-intensity video
Date: Wed, 21 Jan 2004 08:21:19 -0800 (PST)

On Wed, 21 Jan 2004, Gisle Vanem wrote:

> This is a simple patch to allow more colors in djgpp version of
> Lynx. Like emx, djgpp have a conio function to make the blinkbit
> (0x80) enable high-intensity video giving bright background colors.
> Enable it by e.g. "COLOR:7:white:brightred" hhich affects the
> whereis text. Only tested with S-Lang.

I don't really understand this. The Slang DJGPP port has always
allowed bright background colors without a patch. Similarly, this is
enabled by default with PDCurses 2.6 (but not 2.4). I last built a
Slang version with 2.8.5dev.7, but I just tested that binary and can
confirm that it does bright background without any patch.

> @@ -1000,9 +999,10 @@
>  #ifdef __DJGPP__
>      if (LY_get_ctrl_break() == 0) {
>   LY_set_ctrl_break(TRUE);
> - init_ctrl_break[0] = 0;
> +        __djgpp_set_ctrl_c(FALSE);  /* !! Added 20-04-2003 */

This seems quite wrong. This will prevent DJGPP from raising SIGINT.
Normally, this should only occur while shelling out, then set back on
return to the program. What problem made you add this line? Was it
when you were working on a PDCurses version without patching PDCurses
to comment out the line starting "(void*)signal(SIGINT" as recommended
in the lynx INSTALLATION file? Without the patch, signals don't work
as expected.

Doug Kaufman
Internet: address@hidden

; To UNSUBSCRIBE: Send "unsubscribe lynx-dev" to address@hidden

reply via email to

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