lynx-dev
[Top][All Lists]
Advanced

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

Re: options (was "Re: LYNX-DEV lynx2.7.1ac-0.20 available")


From: Laura Eaves
Subject: Re: options (was "Re: LYNX-DEV lynx2.7.1ac-0.20 available")
Date: Wed, 7 May 1997 06:54:32 -0400 (EDT)

> Date: Wed, 7 May 1997 09:36:06 +0900 (JST)
> From: Nelson Henry Eric <address@hidden>
>...
> Your post (Date: Sat, 1 Feb 1997 20:19:07 -0500 (EST); Subject: Re:  blind
> users & difficult-lynx) on slang colors was the most user friendly I've
> seen.  Why don't you make a diff -c against the development distribution
> lynx.cfg with just the changes in the slang color scheme and one-line
> description of each color.  It would stand a good chance of getting in.
> I'd recommend commenting that color #3 is not used, and that color #7
> is for the search hits.  (If you've lost your post, I've got it tacked
> on to the bottom of one of my pages; yes, it's that good!
>       http://163.51.110.11/lynxdev/lycfg_slang.html )

Ok -- by popular demand, I've changed both the compilation defaults and
lynx.cfg.  The diffs are below.  Note that lynx.cfg not only contains
the new comp defaults, but a description of the integer values.
(Since no one else seems to have a strong preference of default colors, I'm
simply using the ones that I find easy to see.  And if someone doesn't like
these settings, at least they're better than the old defaults...:)

Now if these could just get into the options menu...:)
--le

PS: Oh, and one other thing: The comment in lynx.cfg claims
    that -color is supported only when compiled with SVR4 curses or slang.
    But in LYMain.c, -color and -blink are ifdef'd USE_SLANG only.
    Is this right?

*** old/lynx.cfg        Wed May  7 06:38:47 1997
--- lynx.cfg    Wed May  7 06:32:00 1997
***************
*** 1457,1472 ****
  #       gray        brightred      brightgreen           yellow
  # brightblue    brightmagenta       brightcyan            white
  #
  # Uncomment and change any of the compilation defaults.
  #
! #COLOR:0:black:white
! #COLOR:1:blue:white
! #COLOR:2:yellow:blue
! #COLOR:3:green:white
! #COLOR:4:magenta:white
! #COLOR:5:blue:white
! #COLOR:6:red:white
! #COLOR:7:magenta:cyan
  
  # External application support. This feature allows lynx to pass a given
  # URL to an external program.  It was written for three reasons.
--- 1457,1483 ----
  #       gray        brightred      brightgreen           yellow
  # brightblue    brightmagenta       brightcyan            white
  #
+ # The integer value is interpreted as follows:
+ #     0 - normal
+ #     1 - bold
+ #     2 - reverse -- status line and selected option in popup menu
+ #     3 - bold reverse -- currently not used
+ #     4 - underline
+ #     5 - bold underline
+ #     6 - reverse underline -- current link
+ #     7 - reverse underline bold -- highlighted strings matched by a
+ #         search command
+ #
  # Uncomment and change any of the compilation defaults.
  #
! #COLOR:0:white:black
! #COLOR:1:yellow:black
! #COLOR:2:brightcyan:black
! #COLOR:3:brightblue:black
! #COLOR:4:green:black
! #COLOR:5:magenta:black
! #COLOR:6:white:blue
! #COLOR:7:white:red
  
  # External application support. This feature allows lynx to pass a given
  # URL to an external program.  It was written for three reasons.
=======
*** old/LYCurses.c      Tue May  6 21:49:30 1997
--- src/LYCurses.c      Wed May  7 06:25:25 1997
***************
*** 87,103 ****
  
  PUBLIC void lynx_setup_colors NOARGS
  {
!     SLtt_set_color(0, NULL, "black", "white");
!     SLtt_set_color(1, NULL, "blue", "white");  /* bold */
!     SLtt_set_color(2, NULL, "yellow", "blue");         /* reverse */
!     SLtt_set_color(4, NULL, "magenta", "white"); /* underline */
      /*
       *  The other objects are '|'ed together to get rest.
       */
!     SLtt_set_color(3, NULL, "green", "white");         /* bold-reverse */
!     SLtt_set_color(5, NULL, "blue", "white");    /* bold-underline */
!     SLtt_set_color(6, NULL, "red", "white");   /* reverse-underline */
!     SLtt_set_color(7, NULL, "magenta", "cyan");        /* 
reverse-underline-bold */
  
      /*
       *  Now set monchrome attributes.
--- 87,103 ----
  
  PUBLIC void lynx_setup_colors NOARGS
  {
!     SLtt_set_color(0, NULL, "white", "black");
!     SLtt_set_color(1, NULL, "yellow", "black");        /* bold */
!     SLtt_set_color(2, NULL, "brightcyan", "black");    /* reverse */
!     SLtt_set_color(4, NULL, "green", "black"); /* underline */
      /*
       *  The other objects are '|'ed together to get rest.
       */
!     SLtt_set_color(3, NULL, "brightblue", "black");    /* bold-reverse */
!     SLtt_set_color(5, NULL, "magenta", "black");    /* bold-underline */
!     SLtt_set_color(6, NULL, "white", "blue");  /* reverse-underline */
!     SLtt_set_color(7, NULL, "white", "red");   /* reverse-underline-bold */
  
      /*
       *  Now set monchrome attributes.

;
; 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]