X-Git-Url: https://git.phdru.name/?a=blobdiff_plain;f=bin%2Fl;h=193d6b4ffef00627667e8964599ae7f847e22d7c;hb=bacc7eb8ae12b70650671f6ec3fd9e668c367cae;hp=73a04584a95cbb51493e8ba1048c4eb29c2a99a1;hpb=10cf29fedbe60ef31c8917a08c6634f9a5bf45c8;p=dotfiles.git diff --git a/bin/l b/bin/l index 73a0458..193d6b4 100755 --- a/bin/l +++ b/bin/l @@ -1,14 +1,14 @@ #! /bin/sh case "$TERM" in - *rxvt*|screen*|*term*|vt100) - TERM=xterm - export TERM + *rxvt*|screen*|*term*|vt100) - xtitle "links@${HOSTNAME}" - exec links2 "$@" - ;; + xtitle "links@${HOSTNAME}" + tput smcup + TERM=xterm links2 "$@" + exec tput rmcup + ;; - *)echo "Wrong TERM" >&2 - ;; + *)echo "Wrong TERM" >&2 + ;; esac