🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Thread View: news.software.readers
6 messages
6 total messages Started by Ari Koivisto Tue, 02 Jul 1996 00:00
slrn or xterm bug/misconfiguration?
#23628
Author: Ari Koivisto
Date: Tue, 02 Jul 1996 00:00
18 lines
1124 bytes
I recompiled my xterm and after that slrn is behaving strangely.

My background color in xterm is white and now, in slrn, all the texts
have a lightgray background, otherwise the background stays white. 
And when I move the cursor it "paints" the background into lightgray. 
It doesn't look very nice.

If I use the old xterm, everything works correctly. This is totally weird. 
I tried setting the background color to white in .slrnrc, but it didn't 
help.

Does anybody have any suggestions?

-AK


Re: slrn or xterm bug/misconfiguration?
#23682
Author: John E. Davis
Date: Wed, 03 Jul 1996 00:00
20 lines
1408 bytes
On 2 Jul 1996 15:57:25 GMT, Ari Koivisto <ari@raistlin.ton.tut.fi>
wrote:
 : I recompiled my xterm and after that slrn is behaving strangely.
 :
 : My background color in xterm is white and now, in slrn, all the texts
 : have a lightgray background, otherwise the background stays white. 
 : And when I move the cursor it "paints" the background into lightgray. 
 : It doesn't look very nice.

If you are using color_xterm, get rid of it because it is very buggy and
totally unusable with programs involving cursor movement.  I suggest that
you use rxvt as your xterm.
-- 
John E. Davis                   Center for Space Research/AXAF Science Center
617-258-8119                    MIT 37-662c, Cambridge, MA 02139
http://space.mit.edu/~davis


Re: slrn or xterm bug/misconfiguration?
#23687
Author: mj olesen
Date: Wed, 03 Jul 1996 00:00
68 lines
2461 bytes
In article <slrn4tihmk.2uq.ari@raistlin.ton.tut.fi>, you wrote:
>I recompiled my xterm and after that slrn is behaving strangely.
>
>My background color in xterm is white and now, in slrn, all the texts
>have a lightgray background, otherwise the background stays white. 
>And when I move the cursor it "paints" the background into lightgray. 
>It doesn't look very nice.
>
>If I use the old xterm, everything works correctly. This is totally weird. 
>I tried setting the background color to white in .slrnrc, but it didn't 
>help.
>
>Does anybody have any suggestions?

This is actually one of the nice features about rxvt and SLang!

They both can use bold/blink to set high-intensity foreground/background
colours (16 versus 8 colours).  For slrn this means setting the variable
`use_blink', for the JED editor, this means setting the variable
`TERM_BLINK_MODE'.  Otherwise only the low-intensity colours are used, which
is what you've noticed.

Fortunately, slrn and JED provide an easy pre-processor syntax that also
permits access to environment variables.  In this case to the variable
COLORTERM.

Attached is a sample.

/mark


% /usr/local/lib/news/slrn.rc

#if$TERM xterm
set mouse 1
#endif

#if$COLORTERM rxvt
set use_blink 1

% pc video adapter

color normal	white		black
color error	red		black
color status	yellow		brightblue
color group	yellow		black
color article	white		black
color cursor	brightgreen	black
color author	brightmagenta	black
color subject	white		black
color headers	brightcyan	black
color menu	yellow		brightblue
color quotes	brightmagenta	black
color tree	white		black
color signature	red		black
color thread_number	yellow	black
color header_number	green	black
color high_score	red	black
color description	brightcyan	black

#endif





Re: slrn or xterm bug/misconfiguration?
#23791
Author: Felix von Leitner
Date: Sat, 06 Jul 1996 00:00
26 lines
1515 bytes
On 3 Jul 1996 19:21:04 GMT, John E. Davis <davis@space.mit.edu> wrote:
> If you are using color_xterm, get rid of it because it is very buggy and
> totally unusable with programs involving cursor movement.  I suggest that
> you use rxvt as your xterm.

I really wonder how you can even think about recommending rxvt!  I have
never seen a program that has more bugs per line of code.  Maybe the
earlier version worked better, but since it has migrated to Mexico, it
really sucks.

The kewl Motif-lookalike scrollbar has redraw problems.

Scrolling fills the new line with the current color, not the background
color.

Autoconf support *sucks* big time.  I had to patch the sources heavily.

IMHO we should apply the layer technique to rxvt:

  One layer rxvt, one layer earth.

Felix


Re: slrn or xterm bug/misconfiguration?
#23835
Author: John E. Davis
Date: Sun, 07 Jul 1996 00:00
41 lines
2459 bytes
On 6 Jul 1996 23:52:46 GMT, Felix von Leitner <leitner@xorn.prz.tu-berlin.de>
wrote about rxvt:
 : Scrolling fills the new line with the current color, not the background
 : color.

This is how every color terminal should behave.  Here is an excerpt of
something I posted several months ago:

The problem with ANSI xterm is that it appears to use the so-called old
color model in which the screen is erased using the DEFAULT background
color.  However, recent versions of rxvt and the Linux console use the new
model where the CURRENT background color is used to erase.  This makes a
huge difference in performance.  For example, in the new model to turn the
entire screen blue, one merely has to set the background to blue via:

    ESC [ 4 4 m

and then clear the screen via:

    ESC [ 2 J
    
Thus, 9 chracters are required.  In the old model, on a 25x80 screen one has
to write out 25x80=2000 space characters!  This is the reason I cannot
recommend programs that use the old color model.  Some programs are slightly
better by allowing one to send an escape sequence to change the default
background color to something else, e.g., the new color version of `screen'.
However, I do not see why one would not go all the way and implement the new
color model.
    
Incidently, I have found out that a bug fixed version of color_xterm is in
beta testing.  Like rxvt, it uses the new color model.  Also I seem to recall
someone telling me that they are in the process of modifying ansi-xterm to
use the new 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


Re: slrn or xterm bug/misconfiguration?
#23887
Author: T.E.Dickey
Date: Mon, 08 Jul 1996 00:00
14 lines
1309 bytes
In news.software.readers John E. Davis <davis@space.mit.edu> wrote:
: Incidently, I have found out that a bug fixed version of color_xterm is in
: beta testing.  Like rxvt, it uses the new color model.  Also I seem to recall
: someone telling me that they are in the process of modifying ansi-xterm to
: use the new model.
It's not a bug-fixed version of color_xterm; it's the XFree86 xterm with
color support integrated (I hope) correctly.

-- 
Thomas E. Dickey
dickey@clark.net

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