Subject: Re: Color support under FreeBSD

From: Kim Scarborough <[email-masked]>
Date: Wed, 2 Jan 2002 13:42:22 -0600 (CST)

A little late piping up in this thread, sorry...

> With color support turned on (no matter which one of the three options
> that are available is selected), the screen gets pretty much messed up. All
> lines seem to get redrawn exactly one line below their original position.
> As a result of that, the entries in pine's menues get displayed twice, and
> that just looks kind of strange.

I've been complaining about this bug since 4.20. Somebody sent me a patch
for it and said he submitted it, but it was never committed. I don't
want to be a pest, but I have to apply that patch with each new version.
Is there a way to find out what's going on with this?

By the way, the fix is to change line 210 in pine/screen.c from
"if(i == 1 && !label_color)" to
"if(i == 1)".

I've lost the name of the fellow who sent it to me, unfortunately...
hopefully he's still on this list.

-------------------------------------------------------------------------------
Kim Scarborough                                      http://www.unknown.nu/kim/
-------------------------------------------------------------------------------
"Being in politics is like being a football coach. You have to be smart
enough to understand the game and dumb enough to think it's important."
                                                          -Eugene McCarthy
-------------------------------------------------------------------------------

---

From: Steve Hubert <[email-masked]>
Date: Tue, 8 Jan 2002 14:48:37 -0800 (Pacific Standard Time)

The messed up display happens because your terminal emulator scrolls when
a character is written to the bottom right hand character cell. Pine
writes in that cell if you have the KeyLabel color set in order to color
the background. We used to not write that last cell and several people
complained that the color in the lower right hand corner was incorrect,
which it was.

You can fix it by turning of KeyLabel Color. You might be able to fix it
by adjusting a setting in your terminal emulator so that it doesn't scroll
when the last character on the screen is written. Or you can fix it by
editing screen.c the way you have, which should cause the wrong color
character in the lower-right corner of the screen.

-- 
Steve Hubert <[email-masked]>
Networks and Distributed Computing, Univ. of Washington, Seattle