From owner-freebsd-questions@FreeBSD.ORG Fri Nov 25 17:58:23 2011 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 7A970106566C for ; Fri, 25 Nov 2011 17:58:23 +0000 (UTC) (envelope-from moritz@wzff.de) Received: from barfooze.de (unknown [IPv6:2a01:4f8:7d:200:0:4e2e:75d4:1]) by mx1.freebsd.org (Postfix) with ESMTP id 1C5678FC0A for ; Fri, 25 Nov 2011 17:58:23 +0000 (UTC) Received: from localhost.localdomain ([127.0.0.1] helo=barfooze.de) by barfooze.de with smtp (Exim 4.76) (envelope-from ) id 1RU02X-0003Oy-Df for freebsd-questions@freebsd.org; Fri, 25 Nov 2011 18:58:21 +0100 Date: Fri, 25 Nov 2011 18:58:21 +0100 From: Moritz Wilhelmy To: freebsd-questions@freebsd.org Message-ID: <20111125175821.GN16096@barfooze.de> References: <20111125105901.GK16096@barfooze.de> <20111125113718.GA4064@debian50-32.invisible-island.net> <20111125120215.GL16096@barfooze.de> <20111125131915.GA5966@debian50-32.invisible-island.net> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20111125131915.GA5966@debian50-32.invisible-island.net> User-Agent: Mutt/1.5.21 (2010-09-15) Subject: Re: No colours at all with ncurses and urxvt on FreeBSD 9.0-RC2 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: Fri, 25 Nov 2011 17:58:23 -0000 On Fri, Nov 25, 2011 at 08:19:15 -0500, Thomas Dickey wrote: > well... rxvt-unicode-256color was the effect of the checkins for termcap.src > for conf/152713 and conf/153164 > > The earlier one suggests that the naming came from rxvt-unicode's sources. > Checking that, it seems that the rxvt-unicode entry specifies 88 colors, > while the rxvt-unicode-256color entry (close to rxvt-256color) does 256. > > However, the rxvt-unicode entry in FreeBSD was added for conf/117323, > which equated it to rxvt-mono (no color), with some changes for function-keys. > > On the other hand, the rxvt entry uses color, which was overlooked in > conf/117323: > > # Termcap entry for rxvt-unicode, taken from http://cvs.schmorp.de/rxvt-unicode/doc/rxvt.7.html#I_need_a_termcap_file_entry > rxvt-unicode|rxvt-unicode terminal (X Window System):\ > :SF=\E[%dS:SR=\E[%dT:bw:ec=\E[%dX:kb=\177:kd=\EOB:ke=\E[?1l\E>:\ > :kl=\EOD:kr=\EOC:ks=\E[?1h\E=:ku=\EOA:lm#0:te=\E[r\E[?1049l:\ > :ti=\E[?1049h:tc=rxvt-mono: And I already wondered why it was so short.. > 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: > > Following the clue from the comment, the example using no color was present > in rxvt.7 until it was removed in version 9.05 of rxvt-unicode. The current > documentation contains no examples (the termcap/terminfo are only separate > files). This sounds like a bug in FreeBSD's default termcap. Should I file a PR? Moritz