#! /bin/sh if [ "$1" = "-ls" -o "$1" = "--list" ]; then list=true fi test "$list" = true || tput smcup /usr/bin/screen "$@"; rc=$? test "$list" = true || tput rmcup exit $rc