Date: Tue, 14 Dec 2010 15:14:43 -0800 From: Chip Camden <sterling@camdensoftware.com> To: FreeBSD Questions <freebsd-questions@freebsd.org> Subject: Re: new termcap entry for rxvt-unicode-256color Message-ID: <20101214231443.GA41103@libertas.local.camdensoftware.com> In-Reply-To: <871v5km3of.fsf@resel.fr> References: <87vd2xogi1.fsf@resel.fr> <20101213161147.GB23305@libertas.local.camdensoftware.com> <8762uwm4ln.fsf@resel.fr> <871v5km3of.fsf@resel.fr>
next in thread | previous in thread | raw e-mail | index | archive | help
[-- Attachment #1 --] Quoth Frédéric Perrin on Tuesday, 14 December 2010: > Le mardi 14 à 22:23, Frédéric Perrin a écrit : > > Le lundi 13 à 17:11, Chip Camden a écrit : > >> Quoth Frédéric Perrin on Monday, 13 December 2010: > >>> 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 : > >> > >> Take a look at the termcap entry for rxvt-256color. It's actually based on > >> rxvt-unicode. So I think that all you need to add is: > >> > >> rxvt-unicode-256color|rxvt-unicode with 256 colors:\ > >> :tc=rxvt-256color: > > > > I don't have an entry for rxvt-256color. > > > > This is happening on 8.1-RELEASE. > > 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 : > > rxvt-256color|rxvt terminal emulator with 256 colors:\ > :Co#256:AF=\E[38;5;%dm:AB=\E[48;5;%dm:tc=rxvt-unicode: > > rxvt-unicode-256color|rxvt-unicode terminal with 256 colors (X Window System):\ > :tc=rxvt-256color: > > (I even got 256 colors in a screen on a Linux machine accessed inside a > tmux running on a FreeBSD machine.) > > Should I send a PR in order to get this new definition installed? > > -- > 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.org" 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. -- Sterling (Chip) Camden | sterling@camdensoftware.com | 2048D/3A978E4F http://camdensoftware.com | http://chipstips.com | http://chipsquips.com [-- Attachment #2 --] -----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-----
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20101214231443.GA41103>
