misc/147726: termcap needs an entry for rxvt-256color

Sterling Camden (Chip) sterling at camdensoftware.com
Wed Jun 9 15:00:16 UTC 2010


>Number:         147726
>Category:       misc
>Synopsis:       termcap needs an entry for rxvt-256color
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    freebsd-bugs
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          sw-bug
>Submitter-Id:   current-users
>Arrival-Date:   Wed Jun 09 15:00:15 UTC 2010
>Closed-Date:
>Last-Modified:
>Originator:     Sterling (Chip) Camden
>Release:        8.1-PRERELEASE
>Organization:
Camden Software Consulting
>Environment:
FreeBSD libertas.local.camdensoftware.com 8.1-PRERELEASE FreeBSD 8.1-PRERELEASE #0: Tue Jun  8 13:58:12 PDT 2010    sterling at libertas.local.camdensoftware.com:/usr/obj/usr/src/sys/GENERIC  amd64
>Description:
Terminfo include a definition for rxvt-256colors, but termcap does not.  This prevents zsh and mutt (and probably others) from using that terminal definition.  These utilities complain when TERM is set to rxvt-256colors, even though they apparently use terminfo instead of termcap.
>How-To-Repeat:
In zsh,

export TERM=rxvt-256colors

(reproduced if zsh complains that it can't find the terminal definition.

Now start mutt -- reproduced if it will not start, complaining about the missing terminal definition.
>Fix:
I added the following to /etc/termcap to fix the symptoms:

rxvt-256color|rxvt terminal emulator with 256 colors:\
        :Co#256:AF=\E[38;5;%dm:AB=\E[48;5;%dm:tc=rxvt:

>Release-Note:
>Audit-Trail:
>Unformatted:


More information about the freebsd-bugs mailing list