Thomas Adam wrote:

> I've an odd problem with rxvt-unicode patched to use 256 colours
> (which works fine, incidentally) running with GNU Screen (also
> compiled to use 256 colours).  Since running GNU Screen under XTerm
> works just fine using 256 colours, and fails using rxvt-unicode, I am
> asking here since this is the logical place.
 
Could I get a copy of that patch. I used to use xterm with 256 colors and
liked the colors better, but moved to urxvt for the improved unicode
support. Having the better color support back would be nice. Thanks.
 
> The top urxvt instance shows a normal urxvt (i.e., not running screen)
> which has the full 256 colour palette.  The lower one shows the
> problem -- that's GNU Screen with the TERM type set to
> screen-256color.   I believe that's showing a colour palette for 88
> colours.  Not what I want.

Are you using the default terminfo for rxvt-unicode. The terminfo database
contains info on the number of colors a terminal supports. Screen might be
reading this and trying to run use only the 88 colors.

It might help to create your own terminfo database entry that should
override the default one and set the number of colors correctly in it.

Here's the basic steps.

$ infocmp -L rxvt-unicode > rxvt-unicode.terminfo
$ [editor] rxvt-unicode.terminfo

Find max_colors and max_pairs and change them from...
    max_colors#88, max_pairs#256,
to...
    max_colors#256, max_pairs#32767,
Those are the values from xterm-256color. Those fields should be near the
top of the file. Save it.

$ mkdir .terminfo/
$ tic -o .terminfo/ rxvt-unicode.terminfo

Hope this helps.

-- 

John Eikenberry
[EMAIL PROTECTED] - http://zhar.net]
______________________________________________________________
"It is difficult to produce a television documentary that is both incisive
and probing when every twelve minutes one is interrupted by twelve dancing
rabbits singing about toilet paper." - Rod Serling


_______________________________________________
rxvt-unicode mailing list
[email protected]
http://lists.schmorp.de/cgi-bin/mailman/listinfo/rxvt-unicode

Reply via email to