rxvt-unicode (256 colours) with GNU Screen.
jae at zhar.net
Tue Jun 24 17:54:25 CEST 2008
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...
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.
[jae at zhar.net - 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
More information about the rxvt-unicode