rxvt-unicode 9.06 with 256 colors (and clickable links)

Up until right now I’ve been using xterm. While it’s not the best of terms it does support 256 colors out of the box (and I don’t use fancy stuff like transparency/translucency). What it has been lacking however, and which Flo pointed out, was the support to make URLs clickable. This is an important feature, especially since I use mutt and slrn regularly, and my IRC-client is irssi, so the majority of links I’m interested in arrives in my terminal.
So I went looking for a term with clickable urls but also with 256-color-support and found rxvt-unicode (or short: urxvt), which is a fork of the original rxvt with unicode-support (duh!). To get 256 colors working you have to apply the urxvt-8.2-256color.patch in the doc subdirectory of the source.
patch -p1 < doc/urxvt-8.2-256color.patch
autoconf
./configure --enable-xterm-colors

To configure urxvt you can conveniently use your ~/.Xdefaults. Mine looks like this:
URxvt.perl-ext-common: default,matcher
URxvt.urlLauncher: firefox
URxvt.matcher.button: 1
URxvt.reverseVideo: 1
URxvt.scrollBar: 0
URxvt.imLocale: de_DE.UTF-8
URxvt*foreground: grey6

The nice side-effect is that urxvt is about 10 times faster than xterm (try it by cat-ing a large file and using ‘time’ to measure it).

4 Responses to “rxvt-unicode 9.06 with 256 colors (and clickable links)”

  1. might interest you: http://www.void.gr/kargig/blog/2008/06/27/rxvt-unicode-256-color-support-with-vim/

  2. URXVT is my term of choice as well (alongside Konsole). :]

    But what I think weird is that in the URXVT FAQ Gentoo (as the only distro!) is mentioned as unsupported:
    http://pod.tst.eu/http://cvs.schmorp.de/rxvt-unicode/doc/rxvt.7.pod#I_use_Gentoo_and_I_have_a_problem

  3. [...] struggle, here are a couple of things that changed my life: 256-color support and clickable URLs: http://heipei.net/2009/01/04/rxvt-un…ickable-links/ Disable horizontal scroll mode, i.e. make long commands word-wrap in rxvt-unicode: [...]

  4. [...] 256-color support and clickable URLs: http://heipei.net/2009/01/04/rxvt-unicode-906-with-256-colors-and-clickable-links/ [...]