Hi, there is a patch provided by upstream in the rxvt-unicode tarball to bring xterm's 256 colors into rxvt-unicode. I modified the ebuild to add a "colors256" use flag to apply the patch and activate this. Maybe we can find a better name for this use flag, i didn't know what would be the best. I don't know if the ./autogen.sh thing is really necessary, but I think it is because it modifies the configure.ac file. I would be cool to have it included in portage :)
Created attachment 155401 [details, diff] urxvt-256colors.diff The ebuild patch
Thanks, I'll take care of this for the next release.
Do you've a more recent version than for 8.2?
Yes, I have x11-terms/rxvt-unicode-9.02-r1
I think I misunderstood your question, were you asking in fact about the patch version ? The supplied patch in rxvt-unicode is for the 8.2 version, but still works perfectly with the 9.*. In all cases, this is the patch supplied by upstream and included in the tarball, and this patch's version haven't changed. So, there is no problem in using it. :)
Any idea when this will be in portage? Sorry for being impatient, I am on a dialup in a third world country, with a very low download cap.
In fact, it seems that we should fix the terminfo file as well, like described in [1], but I don't know how to do it in the proper way in the ebuild... [1]: http://lists.schmorp.de/pipermail/rxvt-unicode/2008q2/000626.html
Call me impatient, but I didn't want to wait for this no longer, so I committed 9.05-r1 which has the 256color useflag. Enjoy!
I have changed my mind and the logic in the ebuild, and apply the patch unless vanilla useflag is used, in response to bug 238526.
Yes, I call you impatient. This patch is not supported by upstream and may break urxvt. I'll reopen this, and adapt the build. The solution with vanilla is not the right approach. There's a problem open with xorg-server 1.5 which might be caused by this change and it breaks some vim colorschemes like inkpot.
Okay rxvt-unicode-9.05-r2 is in place which is nicer in this regard (you can select xterm-color for 256 color support and wcwidth for wide char support; independant). It also generates the new 256 color terminfo. This should also solve the problems, that rxvt-unicode in the 256 color version looks ugly on systems with a rxvt-unicode 88 color support. Beside of that the patches are now marked as not supported by upstream.
use xterm-color || myconf="$myconf --enable-xterm-colors=256" should be use xterm-color && myconf="$myconf --enable-xterm-colors=256" I think :)