FS#12718 - extra/rxvt-unicode compiled with --enable-colors256
Attached to Project:
Arch Linux
Opened by Noah (print) - Friday, 09 January 2009, 12:17 GMT
Last edited by Aaron Griffin (phrakture) - Monday, 02 February 2009, 21:47 GMT
Opened by Noah (print) - Friday, 09 January 2009, 12:17 GMT
Last edited by Aaron Griffin (phrakture) - Monday, 02 February 2009, 21:47 GMT
|
Details
Dear Sir/Madam:
Package: extra/rxvt-unicode Version: ALL Description: Currently, extra/rxvt-unicode does not support 256 color mode. This is unfortunate, because programming tools like vim (console mode) and GNU/Screen handle 256-color mode. It would be nice to take advantage of those features without having to hand-roll urxvt. Because it's a terminal, and one of the most-used applications, I for one would prefer to have a stabler (read: extra) version installed. Currently there are two AUR packages implementing urxvt-unicode with 256 colors enabled: rxvt-unicode-256color: http://aur.archlinux.org/packages.php?ID=13060; and rxvt-unicode-256color-fontfix: http://aur.archlinux.org/packages.php?ID=20941 This feature has also been discussed at length on the forum: http://bbs.archlinux.org/search.php?search_id=1372043151 In closing, it would be great if 256 colors could be added as a default configuration option as it would benefit many people and probably render at least the first AUR package obsolete. The second one I'm not sure about, because I guess the fontfix would qualify as a "community patch," no? Thanks, |
This task depends upon
Closed by Aaron Griffin (phrakture)
Monday, 02 February 2009, 21:47 GMT
Reason for closing: Won't implement
Additional comments about closing: Upstream ships 88 colors. We will honor upstream here.
Monday, 02 February 2009, 21:47 GMT
Reason for closing: Won't implement
Additional comments about closing: Upstream ships 88 colors. We will honor upstream here.
I'd say it's not broken so don't fix it.
Thanks for your fast reply. I'd agree with you: it's definitely not broken. That's why I filed a FR instead of a BR.
What I meant by 'stabler' was that one advantage of using a package manager is that you do not have to roll things by hand. And if you do end up having to roll by hand, that means keeping two package managers up to date (pacman and yaourt) and contending with the latter's mirror site in France. Just last night that puppy was down for several hours. So I would still maintain that a system based on extra packages is stabler in the long-run because it's more likely to be/easier to be kept up to date.
I'm not sure I follow you when you say that it's "plenty of colors." It's only plenty of colors so long as the thing you are doing in your terminal only requires 88 colors or less. (The added value is: 256-88=168 colors.) The vim colorschemes here all use 256: http://frexx.de/xterm-256-notes/.
On the other hand, if it's going to be a huge nightmare, I certainly don't want you to waste time on it, but if you add the patch and it doesn't break the build, what's the harm?
Best regards,
print
don't get me wrong the request is not outrageous or something, the patch is just not required to make things work. It is sugar on top of functionality, hence it violates packaging standards (KISS and patch only if broken). What I mean by plenty of colours, 88 colours is IMHO enough to get some decent and good looking highlighting done. 256 give you more options but not for general colours, only some shades of green or red or blue you would like better than what's in the 88 colour range of urxvt.
http://evilroot.net/urxvt.jpg that's how mine looks like.
my main concern for such patches, that add some sugar candy is: at some point support for them usually disappears.
If he doesnt apply it himself, thats a reason enough for me not to have it in the package in extra as well.
This also goes against Arch's patching guidlines, which unless you are patching something to fix needed/broken behavior, then leave it vanilla. Heck, a fork of rxvt-unicode that has an active maintainer would be more likely to get into extra than patching the rxvt-unicode package.
I don't close it yet if anyone wants to comment on it more yet it will be close soon as a won't implement.
Noah
I understand what you mean with the politics. Anyway, I do have a 88colours dark background optimized theme, that works nice with a special .vimrc that set t_Co=88 for urxvt and a script that lets you choose colours for your own themes easily. That doesn't give the therm more colours but lets you choose easier. Shout me a not if you are interested.
Yeah yeah yeah I know, I should go ahead and make that publically available, well sometimes I'm lazy ...
That would be swell. A pastie would do it. IMHO seeing more than 8 terminal colors really is one of those seminal Linux moments, like discovering screen for the first time. I know I'll never be the same again :)
Noah
Here is the rundown:
tenum.vim - my absolutely unfinished theme I use with urxvt.
.vimrc - among many other things, there is some magic that by detecting the term type sets the t_Co variable to 16, 88 or 256 colours and then according to that sets the theme
88colourtest.vim - open in vim, run :source% and see which colour is attached to which number. Use this output to adjust the values in tenum.vim colourtheme
Most important ... have fun.
.vimrc (3.8 KiB)
88colortest.vim (2.5 KiB)