🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: news.software.readers
Article #19934

Re: slrn and colors.

#19934
From: John E. Davis
Date: Mon, 18 Mar 1996 00:00
38 lines
2500 bytes
On 18 Mar 1996 10:38:09 GMT, Pascal A. Dupuis <dupuis@lei.ucl.ac.be>
wrote:
 : I tried to play a bit with colors in slrn. But I've come to what I find an 
 : annoyance : foreground and background apply to text and don't extend to the 
 : end of the line, which is set to the normal color. To avoid this kind of
 : mosaic effect, should it be possible to define windows, in order for exemple
 : to have poster name, subject, number of lines, ... with the same background 
 : color, from the beginning to the end of the line ? 

slrn only supports the so-called new color model terminals.  The old color
model is brain-dead because it does not permit efficient screen updating.
The basic difference between these models is that the old model uses the
DEFAULT background color for erasing whereas the new model uses the CURRENT
color.  For example, to turn a 24x80 display blue using the new model, one
has to simply to send the 9 characters:

     ESC [ 4 4 m ESC [ 2 J

where as the old model requires that 24x80=1920 space characters be sent.  I
suggest that you use a color terminal that supports the new color-model.

The only terminal for X that I know of that supports this is `rxvt'.  I have
heard that the color xterm included in the next release of X will also
support this.  In addition to rxvt, new color-model terminals include NSCA
telnet, the Linux console and new DEC terminals.

Terminals which do NOT support it include ansi-xterm, MS-Kermit, screen, as
well as old DEC terminals.  Someone told me that ansi-xterm is being
modified to support this model.  I have tried to pursuade the MS-Kermit
authors to modify MS-Kermit but they insist upon emulating the flawed
old-model.
-- 
John E. Davis                   Center for Space Research/AXAF Science Center
617-258-8119                    MIT 37-662c, Cambridge, MA 02139
http://space.mit.edu/~davis


Technical Details
Message-ID: <slrn4kr02o.qql.davis@wiwaxia.mit.edu>
Path: mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!illumos!news.pugleaf.net!.TX!archive.pugleaf.net!archive.newsdeef.eu!mbox2nntp-news.software.readers.mbox.zip!not-for-mail
References: <slrn4kqf7a.7t.dupuis@pc-dupuis.lei.ucl.ac.be>

Show Full Headers
Complete Article Headers
Message-ID: <slrn4kr02o.qql.davis@wiwaxia.mit.edu>
Subject: Re: slrn and colors.
Date: Mon, 18 Mar 1996 00:00:00 +0000
From: davis@space.mit.edu (John E. Davis)
References: <slrn4kqf7a.7t.dupuis@pc-dupuis.lei.ucl.ac.be>
Path: mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!illumos!news.pugleaf.net!.TX!archive.pugleaf.net!archive.newsdeef.eu!mbox2nntp-news.software.readers.mbox.zip!not-for-mail
X-Deja-AN: 143025955
Organization: Center for Space Research
Reply-to: davis@space.mit.edu
Newsgroups: news.software.readers