Tips:Rxvt-Unicode-256-colors
From Wiki
| ||
|---|---|---|
|
FreeBSD vnode Samba • HPing3 (patch) • Fetchmail (POP3s) • NetBSD pkgsrc under OSX • Simple Bash Ad-hoc file sharing • 256 colors in Urxvt |
Contents |
Get the sources
mkdir -p /usr/local/src cd /usr/local/src wget http://dist.schmorp.de/rxvt-unicode/rxvt-unicode-9.07.tar.bz2 tar xf rxvt-unicode-9.07.tar.bz2
Patch
cd /usr/local/src/rxvt-unicode-9.07/ patch -p1 < doc/urxvt-8.2-256color.patch
Build and install
cd /usr/local/src/rxvt-unicode-9.07/ ./configure --enable-xterm-colors=256 --enable-font-styles --enable-transparency \ --enable-fading --enable-perl --enable-xim --enable-selectionscrolling --enable-keepscrolling \ --enable-mousewheel --enable-slipwheeling --enable-text-blink --enable-afterimage make && make install
Configure
File: ~/.Xdefaults
URxvt*termName: xterm-256colorURxvt*background: #000000
URxvt*foreground: #ffffff
URxvt*scrollBar_right: false
URxvt*scrollBar: false
URxvt*inheritPixmap: true
URxvt*geometry: 84x24
URxvt*tint: white
URxvt*font: xft:DejaVu Sans Mono:style=Regular:pixelsize=12:antialias=true
URxvt*color0: #000000
URxvt*color1: #A80000
URxvt*color2: #00A800
URxvt*color3: #A85400
URxvt*color4: #5555AA
URxvt*color5: #A800A8
URxvt*color6: #00A8A8
URxvt*color7: #FFFFFF
URxvt*color8: #545054
URxvt*color9: #F85450
URxvt*color10: #50FC50
URxvt*color11: #F2FC50
URxvt*color12: #5054F8
URxvt*color13: #F854F8
URxvt*color14: #50FCF8
URxvt*color15: #F8FCF8
URxvt*urgentOnBell: true
URxvt*visualBell: true
URxvt*fading: 50
URxvt*fadeColor: black
URxvt*tintColor: white
URxvt*shading: 30
URxvt*blurRadius: 5
URxvt*perl-lib: /home/david/.urxvt
URxvt*perl-ext: default
URxvt*perl-ext-common: default,matcher,digital-clock,monit
URxvt*urlLauncher:chromium
URxvt*jumpScroll: true
URxvt*scrollWithBuffer: true
URxvt*scrollTtyOutput: false
URxvt*scrollTtyKeypress: true
## xterm config
xterm*termName: xterm
xterm*background: #000000
xterm*foreground: #A8A8A8Specific OS requirements
FreeBSD
By default FreeBSD doesn't support xterm-256color in termcap a patch is actualy in HEAD, you can apply this patch to your RELENG/STABLE system.
# You need FreeBSD sources up to date cd /usr/src/share/termcap/ fetch http://svn.freebsd.org/base/head/share/termcap/termcap.src make all install
You system is now xterm-256color ready.

