Patch for sending -l to kx. From <map@stacken.kth.se>

git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@1211 ec53bebd-3082-4978-b11e-865c3cabbd6b
This commit is contained in:
Assar Westerlund
1997-02-06 18:00:00 +00:00
parent 8656d479ac
commit 3b0bc5f12e
2 changed files with 4 additions and 4 deletions

View File

@@ -5,7 +5,7 @@ usage="Usage: $0 [-l username] [-t args_to_telnet] [-x args_to_xterm] host"
while true
do
case $1 in
-l) telnet_args="${telnet_args} -l $2 "; title="${2}@"; shift 2;;
-l) telnet_args="${telnet_args} -l $2 "; kx_args="${kx_args} -l $2"; title="${2}@"; shift 2;;
-t) telnet_args="${telnet_args} $2 "; shift 2;;
-x) xterm_args="${xterm_args} $2 "; shift 2;;
-*) echo "$0: Bad option $1"; echo $usage; exit 1;;
@@ -23,7 +23,7 @@ bindir=%bindir%
pdc_trams=`dirname $0`
PATH=$pdc_trams:$bindir:$PATH
export PATH
set -- `kx $host`
set -- `kx $kx_args $host`
if test $# -ne 3; then
exit 1
fi

View File

@@ -5,7 +5,7 @@ usage="Usage: $0 [-l username] [-r rsh_args] [-x xterm_args] host"
while true
do
case $1 in
-l) rsh_args="${rsh_args} -l $2 "; title="${2}@"; shift 2;;
-l) rsh_args="${rsh_args} -l $2 "; kx_args="${kx_args} -l $2"; title="${2}@"; shift 2;;
-r) rsh_args="${rsh_args} $2 "; shift 2;;
-x) xterm_args="${xterm_args} $2 "; shift 2;;
-*) echo "$0: Bad option $1"; echo $usage; exit 1;;
@@ -23,7 +23,7 @@ bindir=%bindir%
pdc_trams=`dirname $0`
PATH=$pdc_trams:$bindir:$PATH
export PATH
set -- `kx $host`
set -- `kx $kx_args $host`
if test $# -ne 3; then
exit 1
fi