summaryrefslogtreecommitdiffstats
path: root/x11vnc/misc/enhanced_tightvnc_viewer/bin/util/ss_vncviewer
diff options
context:
space:
mode:
authorrunge <runge>2007-05-22 01:27:26 +0000
committerrunge <runge>2007-05-22 01:27:26 +0000
commit1a7857ff7469f136f2a512848ccf40127cd49edf (patch)
tree2fb840075a5705642da3824f6041ca0a0644a98e /x11vnc/misc/enhanced_tightvnc_viewer/bin/util/ss_vncviewer
parente3fc6fc68c7cd64c7cbcc2a86082b87411f9396d (diff)
downloadlibtdevnc-1a7857ff7469f136f2a512848ccf40127cd49edf.tar.gz
libtdevnc-1a7857ff7469f136f2a512848ccf40127cd49edf.zip
update ssvnc (SSVNC_EXTRA_SLEEP), and unix viewer (1/n menu and chat windows)
Diffstat (limited to 'x11vnc/misc/enhanced_tightvnc_viewer/bin/util/ss_vncviewer')
-rwxr-xr-xx11vnc/misc/enhanced_tightvnc_viewer/bin/util/ss_vncviewer13
1 files changed, 13 insertions, 0 deletions
diff --git a/x11vnc/misc/enhanced_tightvnc_viewer/bin/util/ss_vncviewer b/x11vnc/misc/enhanced_tightvnc_viewer/bin/util/ss_vncviewer
index f7b4831..1b17b29 100755
--- a/x11vnc/misc/enhanced_tightvnc_viewer/bin/util/ss_vncviewer
+++ b/x11vnc/misc/enhanced_tightvnc_viewer/bin/util/ss_vncviewer
@@ -553,6 +553,10 @@ if [ "X$use_ssh" = "X1" ]; then
$ssh -x -f -p $ssh_port $targ $C $ssh_redir $ssh_args $ssh_host "$ssh_cmd" > $tport
rc=$?
+ if [ "X$SSVNC_EXTRA_SLEEP" != "X" ]; then
+ sleep $SSVNC_EXTRA_SLEEP
+ fi
+
stty sane
i=0
while [ $i -lt 10 ]; do
@@ -618,6 +622,9 @@ if [ "X$use_ssh" = "X1" ]; then
sleep 5
fi
echo ""
+ if [ "X$SSVNC_EXTRA_SLEEP" != "X" ]; then
+ sleep $SSVNC_EXTRA_SLEEP
+ fi
#reset
stty sane
#echo "pssh=\"$pssh\""
@@ -944,6 +951,9 @@ if [ "X$direct_connect" != "X" ]; then
host="localhost"
disp="$N"
fi
+ if [ "X$SSVNC_EXTRA_SLEEP" != "X" ]; then
+ sleep $SSVNC_EXTRA_SLEEP
+ fi
if [ "X$reverse" = "X" ]; then
echo "$VNCVIEWERCMD" "$@" $host:$disp
trap "final" 0 2 15
@@ -1092,6 +1102,9 @@ sleep 2
rm -f "$tmp"
echo ""
+if [ "X$SSVNC_EXTRA_SLEEP" != "X" ]; then
+ sleep $SSVNC_EXTRA_SLEEP
+fi
echo "Running viewer:"
if [ "X$reverse" = "X" ]; then
echo "$VNCVIEWERCMD" "$@" localhost:$N