From 7a87ac5479252e79de6493327cf0da8ab78dba4c Mon Sep 17 00:00:00 2001 From: Assar Westerlund Date: Thu, 4 Feb 1999 21:19:50 +0000 Subject: [PATCH] print out what telnet program we are running. From git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@5329 ec53bebd-3082-4978-b11e-865c3cabbd6b --- appl/kx/rxtelnet.in | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/appl/kx/rxtelnet.in b/appl/kx/rxtelnet.in index 04892f0fa..8b15dfd77 100644 --- a/appl/kx/rxtelnet.in +++ b/appl/kx/rxtelnet.in @@ -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