mars/testing/make-xosview.sh

12 lines
240 B
Bash
Raw Normal View History

2012-09-27 12:51:59 +00:00
#!/bin/bash
#
# make xosoview ...
if [ "$1" = "" ]; then
echo "Host unknown ...."
echo "(use short hostname bap2/bs1/lxa2 ...)"
exit
fi
SHST=`echo "$1"|sed -e 's!.*-!!'`
while true; do ssh -X $1 xosview -title $SHST -int; sleep 2; done