From owner-freebsd-questions@FreeBSD.ORG Tue Dec 14 23:14:49 2010 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 825B41065672 for ; Tue, 14 Dec 2010 23:14:49 +0000 (UTC) (envelope-from sterling@camdensoftware.com) Received: from wh2.interactivevillages.com (wh2.interactivevillages.com [75.125.250.34]) by mx1.freebsd.org (Postfix) with ESMTP id 461268FC14 for ; Tue, 14 Dec 2010 23:14:49 +0000 (UTC) Received: from 174-21-111-250.tukw.qwest.net ([174.21.111.250] helo=_HOSTNAME_) by wh2.interactivevillages.com with esmtpsa (TLSv1:AES256-SHA:256) (Exim 4.69) (envelope-from ) id 1PSesS-0000Xn-GJ for freebsd-questions@freebsd.org; Tue, 14 Dec 2010 16:05:53 -0800 Received: by _HOSTNAME_ (sSMTP sendmail emulation); Tue, 14 Dec 2010 15:14:43 -0800 Date: Tue, 14 Dec 2010 15:14:43 -0800 From: Chip Camden To: FreeBSD Questions Message-ID: <20101214231443.GA41103@libertas.local.camdensoftware.com> Mail-Followup-To: FreeBSD Questions References: <87vd2xogi1.fsf@resel.fr> <20101213161147.GB23305@libertas.local.camdensoftware.com> <8762uwm4ln.fsf@resel.fr> <871v5km3of.fsf@resel.fr> Mime-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="17pEHd4RhPHOinZp" Content-Disposition: inline In-Reply-To: <871v5km3of.fsf@resel.fr> User-Agent: Mutt/1.4.2.3i Company: Camden Software Consulting URL: http://camdensoftware.com X-PGP-Key: http://pgp.mit.edu:11371/pks/lookup?search=0xD6DBAF91 X-AntiAbuse: This header was added to track abuse, please include it with any abuse report X-AntiAbuse: Primary Hostname - wh2.interactivevillages.com X-AntiAbuse: Original Domain - freebsd.org X-AntiAbuse: Originator/Caller UID/GID - [47 12] / [47 12] X-AntiAbuse: Sender Address Domain - camdensoftware.com Subject: Re: new termcap entry for rxvt-unicode-256color X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 14 Dec 2010 23:14:49 -0000 --17pEHd4RhPHOinZp Content-Type: text/plain; charset=iso-8859-1 Content-Disposition: inline Content-Transfer-Encoding: quoted-printable Quoth Fr=E9d=E9ric Perrin on Tuesday, 14 December 2010: > Le mardi 14 =E0 22:23, Fr=E9d=E9ric Perrin a =E9crit : > > Le lundi 13 =E0 17:11, Chip Camden a =E9crit : > >> Quoth Fr=E9d=E9ric Perrin on Monday, 13 December 2010: > >>> rxvt-unicode version 9.09 was released last month. It added support f= or > >>> 256 colors in the default configuration, and the default value of $TE= RM > >>> changed to rxvt-unicode-256color (from rxvt-unicode). > >>>=20 > >>> This results in slightly incorrect colors, and some programs like vi(= 1) > >>> refuse to work. It is my understanding that I should update > >>> /usr/share/misc/termcap. The diff between rxvt-unicode and > >>> rxvt-unicode-256color seems rather short; on a Linux machine, I have : > >> > >> Take a look at the termcap entry for rxvt-256color. It's actually bas= ed on > >> rxvt-unicode. So I think that all you need to add is: > >> > >> rxvt-unicode-256color|rxvt-unicode with 256 colors:\ > >> :tc=3Drxvt-256color: > > > > I don't have an entry for rxvt-256color. > > > > This is happening on 8.1-RELEASE. >=20 > Hum, of course I had the idea of looking at the SVN tree only after > sending this post. This rxvt-256color definition was added a couple of > weeks ago, by a certain Sterling Camden :-). So, I am now able to say > that when adding the following entries to 8.1's termcap file, my > terminal works as expected : >=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-unicode: >=20 > rxvt-unicode-256color|rxvt-unicode terminal with 256 colors (X Window Sys= tem):\ > :tc=3Drxvt-256color: >=20 > (I even got 256 colors in a screen on a Linux machine accessed inside a > tmux running on a FreeBSD machine.) >=20 > Should I send a PR in order to get this new definition installed? >=20 > --=20 > Fred > _______________________________________________ > freebsd-questions@freebsd.org mailing list > http://lists.freebsd.org/mailman/listinfo/freebsd-questions > To unsubscribe, send any mail to "freebsd-questions-unsubscribe@freebsd.o= rg" Yes, preferably with a patch file that only contains your new entry. Just do a diff between the stable version and your final version. I can submit it, if you don't feel like it. --=20 Sterling (Chip) Camden | sterling@camdensoftware.com | 2048D/3A978E4F http://camdensoftware.com | http://chipstips.com | http://chipsquips= .com --17pEHd4RhPHOinZp Content-Type: application/pgp-signature Content-Disposition: inline -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.11 (FreeBSD) iQEcBAEBAgAGBQJNB/pjAAoJEIpckszW26+RVWwH/RM9pJFIXFFu7F3eZgZdaQJ8 MAQuWhvWhGYuD9W/eO9ph/V2RdxCWIxFXhmPCXXRKhTS0M83/C/qQQB6F9zW0Yoc XwYdyFYXWRx6A1WZXY1ilIHIGDScyHMlskcZCX2TRjBjZ4y98xOP2w11HyAgyaVH OST4FrpJax4LYq+S3TsJmaHmD6OwOG02u0N1x/HVkUEpHZCFM9VYsKzi9YY3Do3+ bXIdtUHArSqgNKn+1m/Zd0wB6PzdBowGMtM29LtQSPS0v8uLOGFyjjsZxm0gE1Y9 WFk39OpKSD9K46E+8mtZgI6gnDEweLN6UuATbqzDk2cabDGkwtXJtRUtq3SRnu0= =+/rl -----END PGP SIGNATURE----- --17pEHd4RhPHOinZp--