From nobody@FreeBSD.org  Wed Jun  9 14:58:42 2010
Return-Path: <nobody@FreeBSD.org>
Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34])
	by hub.freebsd.org (Postfix) with ESMTP id C306A106567A
	for <freebsd-gnats-submit@FreeBSD.org>; Wed,  9 Jun 2010 14:58:42 +0000 (UTC)
	(envelope-from nobody@FreeBSD.org)
Received: from www.freebsd.org (www.freebsd.org [IPv6:2001:4f8:fff6::21])
	by mx1.freebsd.org (Postfix) with ESMTP id B2A578FC14
	for <freebsd-gnats-submit@FreeBSD.org>; Wed,  9 Jun 2010 14:58:42 +0000 (UTC)
Received: from www.freebsd.org (localhost [127.0.0.1])
	by www.freebsd.org (8.14.3/8.14.3) with ESMTP id o59EwgXS067800
	for <freebsd-gnats-submit@FreeBSD.org>; Wed, 9 Jun 2010 14:58:42 GMT
	(envelope-from nobody@www.freebsd.org)
Received: (from nobody@localhost)
	by www.freebsd.org (8.14.3/8.14.3/Submit) id o59Ewg22067798;
	Wed, 9 Jun 2010 14:58:42 GMT
	(envelope-from nobody)
Message-Id: <201006091458.o59Ewg22067798@www.freebsd.org>
Date: Wed, 9 Jun 2010 14:58:42 GMT
From: Sterling (Chip) Camden <sterling@camdensoftware.com>
To: freebsd-gnats-submit@FreeBSD.org
Subject: termcap needs an entry for rxvt-256color
X-Send-Pr-Version: www-3.1
X-GNATS-Notify:

>Number:         147726
>Category:       conf
>Synopsis:       [termcap] [patch] termcap needs an entry for rxvt-256color
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    gavin
>State:          closed
>Quarter:        
>Keywords:       
>Date-Required:  
>Class:          sw-bug
>Submitter-Id:   current-users
>Arrival-Date:   Wed Jun 09 15:00:15 UTC 2010
>Closed-Date:    Sun Aug 22 09:07:34 UTC 2010
>Last-Modified:  Sun Sep 19 22:30:13 UTC 2010
>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-256color, 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-256color,
even though they apparently use terminfo instead of termcap.
>How-To-Repeat:
In zsh,

export TERM=rxvt-256color

(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:
Date: Wed, 9 Jun 2010 09:28:32 -0700
From: Chip Camden <sterling@camdensoftware.com>
To: bug-followup@FreeBSD.org, sterling@camdensoftware.com
Subject: rxvt-256color

 In my PR, I referred to the terminal name as 'rxvt-256colors'.  That
 should be 'rxvt-256color' in every case.  Sorry, I couldn't copy/paste to
 the system from which I was submitting.
 -- 
 Sterling (Chip) Camden | camdensoftware.com | chipstips.com | chipsquips.com
 
 [bugmeister note: fixed]

From: Chip Camden <sterling@camdensoftware.com>
To: bug-followup@FreeBSD.org, sterling@camdensoftware.com
Cc:  
Subject: Re: kern/147726: [termcap] [patch] termcap needs an entry for rxvt-256color
Date: Sat, 7 Aug 2010 13:44:48 -0700

 --i9LlY+UWpKt15+FH
 Content-Type: multipart/mixed; boundary="sdtB3X0nJg68CQEu"
 Content-Disposition: inline
 
 
 --sdtB3X0nJg68CQEu
 Content-Type: text/plain; charset=us-ascii
 Content-Disposition: inline
 Content-Transfer-Encoding: quoted-printable
 
 Adding a patch file in hopes of getting commit during Bugathon!
 
 --=20
 Sterling (Chip) Camden    | sterling@camdensoftware.com | 2048D/3A978E4F
 http://camdensoftware.com | http://chipstips.com        | http://chipsquips=
 .com
 
 --sdtB3X0nJg68CQEu
 Content-Type: text/x-diff; charset=us-ascii
 Content-Disposition: attachment; filename="termcap.diff"
 Content-Transfer-Encoding: quoted-printable
 
 --- /etc/termcap	2010-08-07 13:43:10.000000000 -0700
 +++ termcap	2010-08-07 13:42:43.000000000 -0700
 @@ -4584,6 +4584,9 @@
  rxvt|rxvt terminal emulator (X Window System):\
  	:pa#64:Co#8:AF=3D\E[3%dm:AB=3D\E[4%dm:op=3D\E[39;49m:tc=3Drxvt-mono:
 =20
 +rxvt-256color|rxvt terminal emulator with 256 colors:\
 +	:Co#256:AF=3D\E[38;5;%dm:AB=3D\E[48;5;%dm:tc=3Drxvt:
 +
  # Termcap entry for Eterm, taken from the sources of Eterm-0.9.2
  Eterm|Eterm Terminal Emulator (X11 Window System):\
  	:am:bw:eo:km:mi:ms:xn:xo:\
 
 --sdtB3X0nJg68CQEu--
 
 --i9LlY+UWpKt15+FH
 Content-Type: application/pgp-signature
 Content-Disposition: inline
 
 -----BEGIN PGP SIGNATURE-----
 Version: GnuPG v1.4.10 (FreeBSD)
 
 iQEcBAEBAgAGBQJMXcXAAAoJEIpckszW26+RRyYH/3HoM7Hq4Bk5HwKlZDQEIY81
 l/3E+qkWY8Ilit070soHL3LbFqbd0Pba+5yAjZNRUUBTWLjRcJ/M/dv1jXyJ3ume
 +4nOk3GHhwzAvi3u38rxYoFtzOzawJqUs0zbvRSpq5c2FxPvE3Jb4XB9VOvchDH3
 m1I6JLXH1/8XliE8sfvrwohCp7FAo5erj8Ox/cKprcDWwgMqTpSItksjRKy+EPeZ
 2s9i3JZw1058o61YckSQdxAOdeKy36ULB/Epc1cKe0UC5FdtwrNYmvCCKuFXJsOt
 4gDEM4kZZAmAIWqwncLeTM8JgGWGvTsyFZiRvj9XlW1pLvlIg3Q5c6viFMUbtN8=
 =Y2/X
 -----END PGP SIGNATURE-----
 
 --i9LlY+UWpKt15+FH--
State-Changed-From-To: open->patched 
State-Changed-By: gavin 
State-Changed-When: Sun Aug 8 09:48:31 UTC 2010 
State-Changed-Why:  
Fixed in head, mfc in 2 weeks. 


Responsible-Changed-From-To: freebsd-bugs->gavin 
Responsible-Changed-By: gavin 
Responsible-Changed-When: Sun Aug 8 09:48:31 UTC 2010 
Responsible-Changed-Why:  
Mine 

http://www.freebsd.org/cgi/query-pr.cgi?pr=147726 

From: dfilter@FreeBSD.ORG (dfilter service)
To: bug-followup@FreeBSD.org
Cc:  
Subject: Re: conf/147726: commit references a PR
Date: Sun,  8 Aug 2010 09:40:21 +0000 (UTC)

 Author: gavin
 Date: Sun Aug  8 09:40:09 2010
 New Revision: 211066
 URL: http://svn.freebsd.org/changeset/base/211066
 
 Log:
   Add a termcap entry for rxvt-256color.
   
   PR:		conf/147726
   Submitted by:	Sterling (Chip) Camden <sterling camdensoftware.com>
   MFC after:	2 weeks
 
 Modified:
   head/share/termcap/termcap.src
 
 Modified: head/share/termcap/termcap.src
 ==============================================================================
 --- head/share/termcap/termcap.src	Sun Aug  8 09:12:30 2010	(r211065)
 +++ head/share/termcap/termcap.src	Sun Aug  8 09:40:09 2010	(r211066)
 @@ -4631,6 +4631,9 @@ rxvt-unicode|rxvt-unicode terminal (X Wi
  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:
  
 +rxvt-256color|rxvt terminal emulator with 256 colors:\
 +	:Co#256:AF=\E[38;5;%dm:AB=\E[48;5;%dm:tc=rxvt-unicode:
 +
  # Termcap entry for Eterm, taken from the sources of Eterm-0.9.2
  Eterm|Eterm Terminal Emulator (X11 Window System):\
  	:am:bw:eo:km:mi:ms:xn:xo:\
 _______________________________________________
 svn-src-all@freebsd.org mailing list
 http://lists.freebsd.org/mailman/listinfo/svn-src-all
 To unsubscribe, send any mail to "svn-src-all-unsubscribe@freebsd.org"
 
State-Changed-From-To: patched->closed 
State-Changed-By: gavin 
State-Changed-When: Sun Aug 22 09:07:12 UTC 2010 
State-Changed-Why:  
Merged to stable/8 and stable/7, thanks for your submission! 

http://www.freebsd.org/cgi/query-pr.cgi?pr=147726 

From: dfilter@FreeBSD.ORG (dfilter service)
To: bug-followup@FreeBSD.org
Cc:  
Subject: Re: conf/147726: commit references a PR
Date: Sun, 22 Aug 2010 09:05:21 +0000 (UTC)

 Author: gavin
 Date: Sun Aug 22 09:05:08 2010
 New Revision: 211604
 URL: http://svn.freebsd.org/changeset/base/211604
 
 Log:
   Merge r211066 from head:
     Add a termcap entry for rxvt-256color.
   
   PR:		conf/147726
   Submitted by:	Sterling (Chip) Camden <sterling camdensoftware.com>
 
 Modified:
   stable/8/share/termcap/termcap.src
 Directory Properties:
   stable/8/share/termcap/   (props changed)
 
 Modified: stable/8/share/termcap/termcap.src
 ==============================================================================
 --- stable/8/share/termcap/termcap.src	Sun Aug 22 09:02:38 2010	(r211603)
 +++ stable/8/share/termcap/termcap.src	Sun Aug 22 09:05:08 2010	(r211604)
 @@ -4585,6 +4585,9 @@ rxvt-unicode|rxvt-unicode terminal (X Wi
  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:
  
 +rxvt-256color|rxvt terminal emulator with 256 colors:\
 +	:Co#256:AF=\E[38;5;%dm:AB=\E[48;5;%dm:tc=rxvt-unicode:
 +
  # Termcap entry for Eterm, taken from the sources of Eterm-0.9.2
  Eterm|Eterm Terminal Emulator (X11 Window System):\
  	:am:bw:eo:km:mi:ms:xn:xo:\
 _______________________________________________
 svn-src-all@freebsd.org mailing list
 http://lists.freebsd.org/mailman/listinfo/svn-src-all
 To unsubscribe, send any mail to "svn-src-all-unsubscribe@freebsd.org"
 

From: dfilter@FreeBSD.ORG (dfilter service)
To: bug-followup@FreeBSD.org
Cc:  
Subject: Re: conf/147726: commit references a PR
Date: Sun, 22 Aug 2010 09:07:08 +0000 (UTC)

 Author: gavin
 Date: Sun Aug 22 09:06:55 2010
 New Revision: 211605
 URL: http://svn.freebsd.org/changeset/base/211605
 
 Log:
   Merge r211066 from head:
     Add a termcap entry for rxvt-256color.
   
   PR:		conf/147726
   Submitted by:	Sterling (Chip) Camden <sterling camdensoftware.com>
 
 Modified:
   stable/7/share/termcap/termcap.src
 Directory Properties:
   stable/7/share/termcap/   (props changed)
 
 Modified: stable/7/share/termcap/termcap.src
 ==============================================================================
 --- stable/7/share/termcap/termcap.src	Sun Aug 22 09:05:08 2010	(r211604)
 +++ stable/7/share/termcap/termcap.src	Sun Aug 22 09:06:55 2010	(r211605)
 @@ -4585,6 +4585,9 @@ rxvt-unicode|rxvt-unicode terminal (X Wi
  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:
  
 +rxvt-256color|rxvt terminal emulator with 256 colors:\
 +	:Co#256:AF=\E[38;5;%dm:AB=\E[48;5;%dm:tc=rxvt-unicode:
 +
  # Termcap entry for Eterm, taken from the sources of Eterm-0.9.2
  Eterm|Eterm Terminal Emulator (X11 Window System):\
  	:am:bw:eo:km:mi:ms:xn:xo:\
 _______________________________________________
 svn-src-all@freebsd.org mailing list
 http://lists.freebsd.org/mailman/listinfo/svn-src-all
 To unsubscribe, send any mail to "svn-src-all-unsubscribe@freebsd.org"
 

From: Raphael Kubo da Costa <kubito@gmail.com>
To: bug-followup@FreeBSD.org, sterling@camdensoftware.com
Cc:  
Subject: Re: conf/147726: [termcap] [patch] termcap needs an entry for rxvt-256color
Date: Sun, 19 Sep 2010 19:29:41 -0300

 Isn't it missing an entry for 'op' (and maybe 'oc') as well (it is
 present in the terminfo database)? Without that, at least 'ls -G'
 doesn't work, since ls calls tgetstr("op") to check if colors are
 supported.
>Unformatted:
