print out what telnet program we are running. From

<nissej@pdc.kth.se>


git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@5329 ec53bebd-3082-4978-b11e-865c3cabbd6b
This commit is contained in:
Assar Westerlund
1999-02-04 21:19:50 +00:00
parent 25f02b87bd
commit 7a87ac5479

View File

@@ -16,7 +16,7 @@ do
--version) echo "$0: %PACKAGE% %VERSION%"; exit 0;;
-h) echo $usage; exit 0;;
--help) echo $usage; exit 0;;
-v) set -x; shift;;
-v) set -x; verb=1; shift;;
-*) echo "$0: Bad option $1"; echo $usage; exit 1;;
*) break;;
esac
@@ -54,6 +54,7 @@ if test -z "$term"; then
done
done
fi
test "$verb" && echo "Telnet command used is `type telnet`."
if test -n "$term" -a "$term" != "none"; then
($term -title $title -n $title $xterm_args -e env DISPLAY=$disp XAUTHORITY=$auth telnet -D $telnet_args $host $port; kill -USR2 $pid) &
else