Article View: news.software.readers
Article #49139Re: slrn color question
From: John E. Davis
Date: Tue, 08 Jun 1999 00:00
Date: Tue, 08 Jun 1999 00:00
25 lines
1669 bytes
1669 bytes
On 8 Jun 1999 14:25:00 GMT, Bernd Eggink <eggink@uni-hamburg.de>
wrote:
>Hm, it works partially... Now the output from slrn is on bright white
>background, but the surrounding empty space on the screen is still grey,
In another followup, I indicated that I think this is a console bug.
If you are brave, in linux/drivers/char/console.c, you will find (2.2
kernel):
static void update_attr(int currcons)
{
attr = build_attr(currcons, color, intensity, blink, underline, reverse ^ decscnm);
video_erase_char = (build_attr(currcons, color, 1, 0, 0, decscnm) << 8) | ' ';
}
Replace the `video_erase_char' line with:
video_erase_char = (build_attr(currcons, color, 1, blink, 0, decscnm) << 8) | ' ';
Does this solve the problem?
--John
Technical Details
Message-ID:
<slrn7lqese.fc2.davis@aluche.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-mailReferences:
<slrn7lq66g.2up.eggink@eggink1.rrz.uni-hamburg.de> <slrn7lq6vn.emq.davis@aluche.mit.edu> <slrn7lq9t2.33a.eggink@eggink1.rrz.uni-hamburg.de>Show Full Headers
Complete Article Headers
Message-ID: <slrn7lqese.fc2.davis@aluche.mit.edu> Subject: Re: slrn color question Date: Tue, 08 Jun 1999 00:00:00 +0000 From: davis@space.mit.edu (John E. Davis) References: <slrn7lq66g.2up.eggink@eggink1.rrz.uni-hamburg.de> <slrn7lq6vn.emq.davis@aluche.mit.edu> <slrn7lq9t2.33a.eggink@eggink1.rrz.uni-hamburg.de> 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: 487113261 X-Complaints-To: usenet@eecs-usenet-02.mit.edu X-Trace: eecs-usenet-02.mit.edu 928856976 9704 18.75.2.45 (8 Jun 1999 15:49:36 GMT) Organization: Center for Space Research User-Agent: slrn/0.9.5.6 (UNIX) Reply-To: davis@space.mit.edu NNTP-Posting-Date: 8 Jun 1999 15:49:36 GMT Newsgroups: news.software.readers