Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 9 Jun 2010 14:58:42 GMT
From:      Sterling (Chip) Camden <sterling@camdensoftware.com>
To:        freebsd-gnats-submit@FreeBSD.org
Subject:   misc/147726: termcap needs an entry for rxvt-256color
Message-ID:  <201006091458.o59Ewg22067798@www.freebsd.org>
Resent-Message-ID: <201006091500.o59F0F9U072431@freefall.freebsd.org>

next in thread | raw e-mail | index | archive | help

>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@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:



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201006091458.o59Ewg22067798>