diff options
-rwxr-xr-x | shell | 7 |
1 files changed, 5 insertions, 2 deletions
@@ -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 |