Thread View: news.software.readers
2 messages
2 total messages
Started by Pascal A. Dupuis
Mon, 18 Mar 1996 00:00
slrn and colors.
Author: Pascal A. Dupuis
Date: Mon, 18 Mar 1996 00:00
Date: Mon, 18 Mar 1996 00:00
16 lines
1195 bytes
1195 bytes
Hello, 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 ? Many thanks in advance Pascal A. Dupuis -- "We consider there is enough evidence of global problems, but not enough examples of practical solutions." - Bill Mollison
Re: slrn and colors.
Author: John E. Davis
Date: Mon, 18 Mar 1996 00:00
Date: Mon, 18 Mar 1996 00:00
38 lines
2500 bytes
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
Thread Navigation
This is a paginated view of messages in the thread with full content displayed inline.
Messages are displayed in chronological order, with the original post highlighted in green.
Use pagination controls to navigate through all messages in large threads.
Back to All Threads