Bug 162884 - [termcap] [patch] FreeBSD's termcap ships monochrome rxvt-unicode entry
Summary: [termcap] [patch] FreeBSD's termcap ships monochrome rxvt-unicode entry
Status: Closed Unable to Reproduce
Alias: None
Product: Base System
Classification: Unclassified
Component: conf (show other bugs)
Version: Unspecified
Hardware: Any Any
: Normal Affects Only Me
Assignee: freebsd-bugs (Nobody)
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2011-11-25 19:10 UTC by Moritz Wilhelmy
Modified: 2017-12-31 06:55 UTC (History)
0 users

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Moritz Wilhelmy 2011-11-25 19:10:12 UTC
The urxvt termcap entry that was added while fixing conf/117323 is monochrome, but the program supports 88 colours.

Thomas Dickey has suggested in [1] to use the following termcap snippet:

rxvt|rxvt terminal emulator (X Window System):\
	:pa#64:Co#8:AF=\E[3%dm:AB=\E[4%dm:op=\E[39;49m:tc=rxvt-mono:

which adds colours to the defaults provided by the rxvt-mono entry.

[1] http://lists.freebsd.org/pipermail/freebsd-questions/2011-November/235745.html

Fix: 

Add the termcap snippet from above to ~/.termcap, rinse, repeat.
How-To-Repeat: Log into a FreeBSD machine by running ssh(1) in urxvt(1). Start any ncurses program (well, any that uses colours) and notice that it is monochrome.
Comment 1 Eitan Adler freebsd_committer freebsd_triage 2017-12-31 06:55:19 UTC
It looks like 

rxvt|rxvt terminal emulator (X Window System):\
	:pa#64:Co#8:AF=\E[3%dm:AB=\E[4%dm:op=\E[39;49m:tc=rxvt-mono:

already exists in the database