#!/bin/sh if [ -x "`which emacsterm`" ]; then emacsterm $@ elif [ -x "`which urxvt`" ]; then urxvt $@ elif [ -x "`which gnome-terminal`" ]; then gnome-terminal $@ elif [ -x "`which xterm`"]; then xterm $@ fi