Skip to content

Instantly share code, notes, and snippets.

@trapd00r
Created November 29, 2011 16:52
Show Gist options
  • Save trapd00r/1405506 to your computer and use it in GitHub Desktop.
Save trapd00r/1405506 to your computer and use it in GitHub Desktop.
urxvt build script
#!/bin/sh
# rxvt-unicode build script
# disable everything I don't need (pixmaps, transparency, xft...) while keeping
# it as xterm compatible as possible.
# Do note that you'd want to set the insecure resource to get at useful stuff
# like EWMH hints, urgency hint, underline color and most importantly, it makes
# OSC 50 querying work:
# printf "\e[50;?\a"; xxd
# This is enabled by default in xterm.
make clean
# a --disable-everything would be nice here, but for some reason, that makes displaying unicode impossible. Even with combining and unicode3.
sh configure --prefix=/usr \
--enable-256-color \
--enable-assert \
--enable-backspace-key \
--enable-combining \
--enable-delete-key \
--enable-fallback=shiva \
--enable-font-styles \
--enable-frills \
--enable-iso14755 \
--enable-perl \
--enable-resources \
--enable-selectionscrolling \
--enable-smart-resize \
--enable-swapscreen \
--enable-text-blink \
--enable-utmp \
--enable-warnings \
--enable-wtmp \
--with-name=rxvt \
--with-res-class=URxvt \
--with-res-name=shiva \
--with-term=rxvt-unicode-256color \
--with-terminfo=/usr/share/terminfo \
&& make && su -c make\ install
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment