diff options
author | Kaleb Keithley <kaleb@freedesktop.org> | 2003-11-26 22:49:10 +0000 |
---|---|---|
committer | Kaleb Keithley <kaleb@freedesktop.org> | 2003-11-26 22:49:10 +0000 |
commit | f97cce57e0c788702cd6615e4adbc0ef47363e72 (patch) | |
tree | 5a93fc1e407576f6d981ab39b4befd5f7c734ebe | |
parent | e02cc5d2bceee2f2baab87008f2881a68153ac3d (diff) |
merge latest (4.3.99.16) from XFree86 (vendor) branchXEVIE-BASE
-rw-r--r-- | xon | 10 |
1 files changed, 9 insertions, 1 deletions
@@ -1,6 +1,6 @@ #!/bin/sh # $Xorg: xon.sh,v 1.4 2000/12/20 16:50:07 pookie Exp $ -# $XFree86: xc/programs/scripts/xon.sh,v 1.7 2002/11/20 05:00:00 dawes Exp $ +# $XFree86: xc/programs/scripts/xon.sh,v 1.8 2003/04/03 22:28:01 dawes Exp $ # start up xterm (or any other X command) on the specified host # Usage: xon host [arguments] [command] @@ -17,6 +17,7 @@ usage() { echo " -debug enable error messages from remote execution" echo " -name name set alternate application name and window title" echo " -nols do not pass -ls option to remote xterm" + echo " -remote cmd use cmd to contact remote host" echo " -screen screen change remote screen number to specified screen" echo " -user user run remote command as the specified user" exit 1 @@ -84,6 +85,13 @@ ls=-ls continue=: while $continue; do case $1 in + -remote) + shift + if [ $rsh != "sh" ]; then + rsh="$1" + rcmd="$rsh $target -n" + fi + shift;; -user) shift |