Lines Matching refs:tty
8 name="pkill -t <tty>"9 tty=`ps -x -o tty -p $$ | tail -1`10 if [ "$tty" = "??" -o "$tty" = "-" ]; then11 tty="-"14 case $tty in15 pts/*) ttyshort=`echo $tty | cut -c 5-` ;;16 *) ttyshort=`echo $tty | cut -c 4-` ;;23 pkill -f -t $tty $sleep