🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: news.software.readers
Article #23687

Re: slrn or xterm bug/misconfiguration?

#23687
From: 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





Technical Details
Message-ID: <slrn4tnov4.ggn.olesen@weber.me.queensu.ca>
Path: mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!illumos!news.pugleaf.net!.TX!i2pn2.pugleaf.net!archive.newsdeef.eu!mbox2nntp-news.software.readers.mbox.zip!not-for-mail
References: <slrn4tihmk.2uq.ari@raistlin.ton.tut.fi>

Show Full Headers
Complete Article Headers
Message-ID: <slrn4tnov4.ggn.olesen@weber.me.queensu.ca>
Subject: Re: slrn or xterm bug/misconfiguration?
Date: Wed, 03 Jul 1996 00:00:00 +0000
From: olesen@weber.me.QueensU.CA (mj olesen)
References: <slrn4tihmk.2uq.ari@raistlin.ton.tut.fi>
Path: mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!illumos!news.pugleaf.net!.TX!i2pn2.pugleaf.net!archive.newsdeef.eu!mbox2nntp-news.software.readers.mbox.zip!not-for-mail
X-Deja-AN: 163503120
Organization: Queen's University at Kingston
Newsgroups: news.software.readers,comp.os.linux.x