summaryrefslogtreecommitdiffstats
path: root/x11vnc/misc/enhanced_tightvnc_viewer/bin/ssvnc
diff options
context:
space:
mode:
authorrunge <runge>2008-10-19 16:33:22 +0000
committerrunge <runge>2008-10-19 16:33:22 +0000
commit8938cda1e7e09d946475fddaba46194baf7e6388 (patch)
tree6aacd449c9b71749d4b05d6278011b2615377e36 /x11vnc/misc/enhanced_tightvnc_viewer/bin/ssvnc
parent73f19d71e0dbdf4f5237e89bd431b971dacbca99 (diff)
downloadlibtdevnc-8938cda1.tar.gz
libtdevnc-8938cda1.zip
Sync SSVNC changes: fullscreen fixes, local scaling, -chatonly, iso-8859-1/utf8 etc., etc.
Diffstat (limited to 'x11vnc/misc/enhanced_tightvnc_viewer/bin/ssvnc')
-rwxr-xr-xx11vnc/misc/enhanced_tightvnc_viewer/bin/ssvnc5
1 files changed, 4 insertions, 1 deletions
diff --git a/x11vnc/misc/enhanced_tightvnc_viewer/bin/ssvnc b/x11vnc/misc/enhanced_tightvnc_viewer/bin/ssvnc
index 69dbf6b..2880a8e 100755
--- a/x11vnc/misc/enhanced_tightvnc_viewer/bin/ssvnc
+++ b/x11vnc/misc/enhanced_tightvnc_viewer/bin/ssvnc
@@ -140,7 +140,10 @@ if [ -f "$dir/util/ultraftp.jar" ]; then
export SSVNC_ULTRA_FTP_JAR
fi
-if [ "X$WISH" = "Xwish" ]; then
+if [ "X$1" = "X-cmd" ]; then
+ shift
+ exec ssvnc_cmd "$@"
+elif [ "X$WISH" = "Xwish" ]; then
exec ssvnc.tcl "$@"
else
exec $WISH $dir/util/ssvnc.tcl "$@"