lynx-dev
[Top][All Lists]
Advanced

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

Re: lynx-dev revised patch: default colors


From: Thomas Dickey
Subject: Re: lynx-dev revised patch: default colors
Date: Tue, 3 Apr 2001 05:12:24 -0400
User-agent: Mutt/1.2.5i

On Tue, Apr 03, 2001 at 01:27:57AM -0400, Philip Webb wrote:
> [ yet again, this didn't reach lynx-dev: something is wrong somewhere.
> is it possible that the list manager has misapplied his filter
> & messages are being intercepted which contain some innocent word?

I'm not sure (I got one copy, so I'm assuming it's the cc).

> anyway TD, if this doesn't reach lynx-dev either,
> could you please forward it there yourself, perhaps with your comments? ]
> 
> TD didn't really answer my question (smile):
>  lynx.cfg  contains a default offering which has little authority,
> so leaving it there is merely to retain an old arbitrary choice a/a a new one.
> anyway, HN has a good point & i hope the patch below will meet his approval
> and get into dev.21 , depending on other comment (incl TD's).
> BTW there is a small discrepancy between "SVr4 curses" & "ncurses":
> perhaps TD can sort that bit out.
> 
> --- old/lynx.cfg      Tue Feb 27 17:50:52 2001
> +++ new/lynx.cfg      Mon Apr  2 11:33:38 2001
> @@ -2755,44 +2755,40 @@
>  .h1 Appearance
>  
>  .h2 COLOR
> -# COLORS (only available if compiled with SVr4 curses or slang)
> -#
> -# The line must be of the form:
> +# Colors are available only if you compiled with SVr4 curses or slang.
> +# Users can define their own choice of colors here with a line of the form:
>  #
>  # COLOR:Integer:Foreground:Background
> -.nf
>  #
> -# The Integer value is interpreted as follows:
> +# where `Integer' is interpreted as follows:
>  #   0 - normal                      - normal text
>  #   1 - bold                        - hyperlinks, see also BOLD_* options 
> above
>  #   2 - reverse                     - statusline
> -#   3 - bold + reverse              (not used)
> +#   3 - bold + reverse              - not used
>  #   4 - underline                   - text emphasis (EM, I, B tags etc.)
>  #   5 - bold + underline            - hyperlinks within text emphasis
>  #   6 - reverse + underline         - currently selected hyperlink
>  #   7 - reverse + underline + bold  - WHEREIS search hits
>  #
> -# Each Foreground and Background value must be one of:
> -#   black         red            green         brown
> +# `Foreground' and `Background' must be one of:
> +#   black         red            green         brown       default[*]
>  #   blue          magenta        cyan          lightgray
>  #   gray          brightred      brightgreen   yellow
>  #   brightblue    brightmagenta  brightcyan    white
> -#
> -.fi
> -# or (if you have configured using --enable-default-colors with ncurses or
> -# slang), "default" may be used for foreground and background.
> -#
> -# 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
> -
> +# [*] `default' may be used only if you use ncurses or slang
> +# and configured with  --enable-default-colors ;
> +# NB you may have to experiment to identify `default' for your terminal 
> type.  
> +#
> +# The default offering below was suggested by Laura Eaves
> +# as being especially helpful for users with poor vision:
> +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
>  
>  .h2 ASSUMED_COLOR
>  # If built with a library that recognizes default colors, initializes it
> 
> -- 
> ========================,,============================================
> SUPPORT     ___________//___,  Philip Webb : address@hidden
> ELECTRIC   /] [] [] [] [] []|  Centre for Urban & Community Studies
> TRANSIT    `-O----------O---'  University of Toronto
> 
> ; To UNSUBSCRIBE: Send "unsubscribe lynx-dev" to address@hidden

-- 
Thomas E. Dickey <address@hidden>
http://dickey.his.com
ftp://dickey.his.com

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

reply via email to

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