#!/bin/sh #host=`xprompt -re -p "SSH to"` # #exec Eterm -l -n "xssh $host" -e ssh -e none "$host" defaultfile="$HOME/.`basename $0`.default" if [ -f $defaultfile ]; then reply="`cat $defaultfile`" else reply="" fi set -- `xprompt -re -p "SSH to" -r "$reply"` if [ $# -gt 0 ]; then echo "$*" > $defaultfile exec xssh "$@" fi