lynx-dev
[Top][All Lists]
Advanced

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

lynx-dev DOS patch for pre.3


From: Doug Kaufman
Subject: lynx-dev DOS patch for pre.3
Date: Sun, 27 Sep 1998 18:31:08 -0700 (PDT)

I think that I see what is causing the color change in the slang DOS
port when the forms_based option menu is accepted. This has to do with
the slang port not being able to turn off color because of the different
way SLtt_Use_Ansi_Colors is handled in sldisply.c and slvideo.c (the
latter used for DOS). The following patch should fix the problem.
                               Doug

*** lynx2-8-1/src/LYCurses.c    Sun Sep 20 19:33:18 1998
--- lynx2-8-1/src/LYCurses.c.new        Sun Sep 27 17:24:12 1998
***************
*** 1706,1712 ****
--- 1706,1714 ----
        /* start_bold();  */
        start_reverse();
  #if defined(USE_SLANG)
+ #ifndef __DJGPP__
        if (SLtt_Use_Ansi_Colors)
+ #endif /* !__DJGPP__ */
            start_underline ();
  #endif /* USE_SLANG */
  #if defined(FANCY_CURSES) && defined(COLOR_CURSES)
***************
*** 1734,1740 ****
--- 1736,1744 ----
      if (flag) {
        stop_reverse();
  #if defined(USE_SLANG)
+ #ifndef __DJGPP__
        if (SLtt_Use_Ansi_Colors)
+ #endif /* !__DJGPP__ */
        stop_underline ();
  #endif /* USE_SLANG */
  #if defined(FANCY_CURSES) && defined(COLOR_CURSES)

__
Doug Kaufman
Internet: address@hidden (preferred)
          address@hidden

reply via email to

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