From 73b2f056c092cb7fbad4022054b9bce103042edf Mon Sep 17 00:00:00 2001 From: Assar Westerlund Date: Wed, 18 Nov 1998 09:32:00 +0000 Subject: [PATCH] new argument -n for not starting any terminal emulator git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@5193 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 a35632e4c..7a1135823 100644 --- a/appl/kx/rxtelnet.in +++ b/appl/kx/rxtelnet.in @@ -11,6 +11,7 @@ do -t) telnet_args="${telnet_args} $2 "; shift 2;; -x) xterm_args="${xterm_args} $2 "; shift 2;; -k) kx_args="${kx_args} -k"; shift;; + -n) term=none; shift;; -w) term=$2; shift 2;; -*) echo "$0: Bad option $1"; echo $usage; exit 1;; *) break;; @@ -49,7 +50,7 @@ if test -z "$term"; then done done fi -if test -n "$term"; then +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 env DISPLAY=$disp XAUTHORITY=$auth telnet -D $telnet_args $host $port