add forward (-f) option
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@10887 ec53bebd-3082-4978-b11e-865c3cabbd6b
This commit is contained in:
@@ -1,3 +1,7 @@
|
||||
2002-03-18 Johan Danielsson <joda@pdc.kth.se>
|
||||
|
||||
* rxtelnet.in, rxterm.in: add forward (-f) option
|
||||
|
||||
2001-09-17 Assar Westerlund <assar@sics.se>
|
||||
|
||||
* kx.h: add a kludge to make it build on aix (that defines NOERROR
|
||||
|
@@ -1,7 +1,7 @@
|
||||
#!/bin/sh
|
||||
# $Id$
|
||||
#
|
||||
usage="Usage: $0 [-l username] [-k] [-t args_to_telnet] [-x args_to_xterm] [-K args_to_kx] [-w term_emulator] [-b telnet_binary] [-n] [-v] [-h | --help] [--version] host [port]"
|
||||
usage="Usage: $0 [-l username] [-k] [-f] [-t args_to_telnet] [-x args_to_xterm] [-K args_to_kx] [-w term_emulator] [-b telnet_binary] [-n] [-v] [-h | --help] [--version] host [port]"
|
||||
binary=telnet
|
||||
term=
|
||||
kx_args=-P
|
||||
@@ -11,6 +11,7 @@ do
|
||||
-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;;
|
||||
-f) telnet_args="${telnet_args} -f"; shift;;
|
||||
-k) kx_args="${kx_args} -k"; shift;;
|
||||
-K) kx_args="${kx_args} $2 "; shift 2;;
|
||||
-n) term=none; shift;;
|
||||
|
@@ -1,7 +1,7 @@
|
||||
#!/bin/sh
|
||||
# $Id$
|
||||
#
|
||||
usage="Usage: $0 [-l username] [-k] [-r rsh_args] [-x xterm_args] [-K kx_args] [-w term_emulator] [-b rsh_binary][-v] [-h | --help] [--version] host"
|
||||
usage="Usage: $0 [-l username] [-k] [-f] [-r rsh_args] [-x xterm_args] [-K kx_args] [-w term_emulator] [-b rsh_binary][-v] [-h | --help] [--version] host"
|
||||
binary=rsh
|
||||
term=xterm
|
||||
while true
|
||||
@@ -10,6 +10,7 @@ do
|
||||
-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;;
|
||||
-f) rsh_args="${rsh_args} -f"; shift;;
|
||||
-k) kx_args="${kx_args} -k"; shift;;
|
||||
-K) kx_args="${kx_args} $2 "; shift 2;;
|
||||
-w) term=$2; shift 2;;
|
||||
|
Reference in New Issue
Block a user