From owner-freebsd-questions@FreeBSD.ORG Mon Dec 13 15:25:22 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 61B92106566C for ; Mon, 13 Dec 2010 15:25:22 +0000 (UTC) (envelope-from frederic.perrin@resel.fr) Received: from maisel-gw.enst-bretagne.fr (maisel-gw.enst-bretagne.fr [192.44.76.8]) by mx1.freebsd.org (Postfix) with ESMTP id 19B5B8FC16 for ; Mon, 13 Dec 2010 15:25:21 +0000 (UTC) Received: from localhost (localhost [127.0.0.1]) by maisel-gw.enst-bretagne.fr (Postfix) with ESMTP id DC1D019868 for ; Mon, 13 Dec 2010 16:08:53 +0100 (CET) X-Virus-Scanned: Debian amavisd-new at resel.fr Received: from maisel-gw.enst-bretagne.fr ([127.0.0.1]) by localhost (mercure.adm.maisel.enst-bretagne.fr [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id c1OwIxOdDnbn for ; Mon, 13 Dec 2010 16:08:48 +0100 (CET) Received: from girafe.maisel.enst-bretagne.fr (girafe.maisel.rennes.enst-bretagne.fr [172.23.206.119]) (Authenticated sender: fperrin) by maisel-gw.enst-bretagne.fr (Postfix) with ESMTPSA id F23961984A for ; Mon, 13 Dec 2010 16:08:47 +0100 (CET) Received: by girafe.maisel.enst-bretagne.fr (Postfix, from userid 1000) id 9CA0E1C0CE; Mon, 13 Dec 2010 16:10:46 +0100 (CET) From: =?utf-8?Q?Fr=C3=A9d=C3=A9ric_Perrin?= To: freebsd-questions@freebsd.org Organization: =?utf-8?Q?R=C3=A9seau?= des =?utf-8?B?w4lsw6h2ZXM=?= Date: Mon, 13 Dec 2010 16:10:46 +0100 Message-ID: <87vd2xogi1.fsf@resel.fr> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/23.2 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Subject: 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: Mon, 13 Dec 2010 15:25:22 -0000 Hello, rxvt-unicode version 9.09 was released last month. It added support for 256 colors in the default configuration, and the default value of $TERM changed to rxvt-unicode-256color (from rxvt-unicode). 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 : girafe:~% infocmp -d rxvt-unicode rxvt-unicode-256color comparing rxvt-unicode to rxvt-unicode-256color. comparing booleans. comparing numbers. colors: 88, 256. pairs: 7744, 32767. comparing strings. However, I don't how how to update the termcap file. From my understanding of the manpage, the following command should give me the necessary information : girafe:~% infocmp -C -u rxvt-unicode-256color rxvt-unicode rxvt-unicode-256color|rxvt-unicode terminal with 256 colors (X Window System):\ :tc=rxvt-unicode: As you see, their is no mention of the 256-color capabilities, this doesn't seem correct. How do I update the termcap file ? -- Fred