From 74b4b65fcab7bcedf67e08f8a6243e513f5e62d9 Mon Sep 17 00:00:00 2001 From: Nico Schottelius Date: Fri, 5 Dec 2008 15:39:34 +0100 Subject: [PATCH] add the old (u)rxvt hack Signed-off-by: Nico Schottelius --- rxvt_to_urxvt_hack.sh | 10 ++++++++++ 1 file changed, 10 insertions(+) create mode 100755 rxvt_to_urxvt_hack.sh diff --git a/rxvt_to_urxvt_hack.sh b/rxvt_to_urxvt_hack.sh new file mode 100755 index 0000000..a530288 --- /dev/null +++ b/rxvt_to_urxvt_hack.sh @@ -0,0 +1,10 @@ +#!/bin/sh +#=============================================================================== +# Author: Nico Schottelius +# Created: 2007-01-04 +# Description: rxvt is known to most systems, urxvt not. Hack it. +#============================================================================== + +echo '[ "$TERM" = "rxvt-unicode" ] && export TERM=rxvt' >> "$HOME/.profile" +echo '[ "$TERM" = "rxvt-unicode" ] && export TERM=rxvt' >> "$HOME/.bash_profile" +echo 'if ( $TERM == rxvt-unicode ) setenv TERM rxvt' >> "$HOME/.cshrc"