Subject: bug#2501: 22.2.1: terminal mrxvt white - fonts are unreadable

From: Jari Aalto <[email-masked]>
Date: Fri, 27 Feb 2009 22:01:26 +0200

Dan Nicolaescu <[email-masked]> writes:
>   > On a white mrxt black on white terminal[1], the font-lock colors are
>   > unreadable. See attached picture.
>   > 
>   >     $ tput colors
>   >     8
>   > 
>   > [1] Debian; mrxvt 0.5.3-2 terminal
>   > http://packages.debian.org/mrxvt
>
> It appears that emacs thinks that you have dark background.   What did
> you set TERM to?

I started mrxvt from xterm:

    $ xterm
    $ echo $TERM
    xterm
    $ mrxvt &

    mrxvt$ echo $TERM
    rxvt
    <terminal is open in black on white>

> This looks like it is an rxvt derivative, so the value of the COLORFGBG
> environment variable should help emacs realize what is the default
> background.

mrxvt$ COLORFGBG=1 emacs -Q -nw
=> Same color results as in previously attached picture

Jari