lynx-dev
[Top][All Lists]
Advanced

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

Re: lynx-dev Lynx, colors and VT100


From: Ismael Cordeiro
Subject: Re: lynx-dev Lynx, colors and VT100
Date: Mon, 19 Apr 1999 19:01:53 -0400 (EDT)

On Sun, 18 Apr 1999 address@hidden wrote:

> > I've seen many messages here saying that VT100 doesn'support color.
> > That's true for real VT100 terminals, not for VT100/VT102 emulators, and
> > I don't believe that many people are using real VT100 terminals
> > nowadays. Most VT100 emulators I know support color. Last year I
> > discussed that subject with Thomas and others in
> > comp.infosystems.www.browsers.misc.
> 
> -- I still disagree though

You may disagree but the fact is that most VT100 terminal emulators support
color.

> > compiling Lynx with Slang. Slang doesn't assume that VT100 doesn't
> > support colors and displays colors when you use the "-color" option in
> > the command
> 
> slang uses one particular combination of assumptions about color terminals,
> which works with about half of the "ANSI" color terminals that I'm aware of.

Then Slang is smart enough to know that most VT100 terminal emulators
support color.

> > termcap 
> > ------- 
> > :Co#8:pa#64:op=\E[37;40m:AF=\E[3%dm:AB=\E[4%dm: 
> 
> this won't work for the configuration that I use at work, since I use
> a white background there.

I believe that that black-on-white thing appeared with Windows... SVR4
curses and ncurses use COLOR_BLACK as background default for all terminals.
Anyway, If you need black-on-white as default, you can use "op=\E[30;47m".

> (my home machine's screen is higher resolution, and I use black background
> except when running lynx - color contrasts aren't good enough).

Try putting these colors in your lynx.cfg:

COLOR:0:lightgray:black
COLOR:1:cyan:black
COLOR:2:brightcyan:black
COLOR:3:magenta:black
COLOR:4:green:black
COLOR:5:brightblue:black
COLOR:6:yellow:black
COLOR:7:brightmagenta:black

> > terminfo 
> > -------- 
> > colors#8, pairs#64, op=\E[37;40m, setaf=\E[3%p1%dm, setab=\E[4%p1%dm, 
> 
> same problem - works for you, perhaps not everyone

I don't pretend that it'll work for everyone but it works with most VT100
terminal emulators I know. People often send me messages thanking me for
allowing them to use colors in Lynx.

Ismael
-- 

       +--------------------------------------------------------------+
       | ISMAEL CORDEIRO            | mailto:address@hidden      |
       | Production sound mixer     | http://www.ismael.cordeiro.com/ |
       | Montréal - Québec - Canada | ftp://ftp.cam.org/users/ismael/ |
       +--------------------------------------------------------------+


reply via email to

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