From: Silvio Rhatto Date: Mon, 17 Feb 2014 01:49:49 +0000 (-0300) Subject: Setting TERM=rxvt for older systems X-Git-Url: https://gitweb.fluxo.info/?a=commitdiff_plain;h=7ce299e0a86c415c2a0ca83ab4b4e18e34c74a22;p=scripts.git Setting TERM=rxvt for older systems --- diff --git a/shell b/shell index f6319a8..843a39f 100755 --- a/shell +++ b/shell @@ -13,10 +13,13 @@ fi if [ "$BASENAME" == "shells" ]; then # Remote screen shell using autossh + # + # We're setting TERM for compatibility with older systems without rxvt-unicode-256 + # support, see https://bbs.archlinux.org/viewtopic.php?id=50647 if [ "$COMMAND" == "root" ]; then - autossh $DEST -t -- sudo screen -x + autossh $DEST -t -- TERM=rxvt sudo screen -x else - autossh $DEST -t -- screen -x $COMMAND + autossh $DEST -t -- TERM=rxvt screen -x $COMMAND fi else if [ -z "$COMMAND" ] && screen -ls $DEST | grep -q "There is a screen on"; then