FS#14564 - 256 colour support in rxvt-unicode

Attached to Project: Arch Linux
Opened by Borromini (Borromini) - Sunday, 03 May 2009, 16:32 GMT
Last edited by Andrea Scarpino (BaSh) - Sunday, 03 May 2009, 19:03 GMT
Task Type Feature Request
Category Packages: Extra
Status Closed
Assigned To No-one
Architecture All
Severity Low
Priority Normal
Reported Version
Due in Version Undecided
Due Date Undecided
Percent Complete 100%
Votes 1
Private No

Details

Description:

Rxvt-unicode (latest version, 9.06), by default, only supports 88 colours, not 256 (like xterm can do):

[stijn@hermes ~]$ infocmp -L rxvt-unicode|grep max_colors
lines_of_memory#0, max_colors#88, max_pairs#256,

This can also be tested with the http://www.frexx.de/xterm-256-notes/data/256colors2.pl script (for the skeptics among us).

The strange thing is, rxvt-unicode already has a 256 colour patch in its own doc subdir in the sources, so I suggest we apply that one and fix terminfo like suggested in http://lists.schmorp.de/pipermail/rxvt-unicode/2008q2/000626.html.

Suggested changes:

# Patch in 256 colour support
patch -Np1 -i doc/urxvt-8.2-256color.patch || return 1
# Make it available in terminfo
sed -i -e 's|colors#88|colors#256|' -e 's|pairs#256|pairs#32767|' doc/etc/rxvt-unicode.terminfo

Effect:

[stijn@hermes ~]$ infocmp -L rxvt-unicode|grep max_pairs
lines_of_memory#0, max_colors#256, max_pairs#32767,
This task depends upon

Closed by  Andrea Scarpino (BaSh)
Sunday, 03 May 2009, 19:03 GMT
Reason for closing:  Duplicate
Additional comments about closing:   FS#12718 

Loading...