diff options
author | dscho <dscho> | 2003-02-10 20:40:36 +0000 |
---|---|---|
committer | dscho <dscho> | 2003-02-10 20:40:36 +0000 |
commit | 3c5d1b0ff208eadfdb9543e0da2d6149644bab03 (patch) | |
tree | 21cfda5fae6eb7928c95bb7d4d5dbc9e129a7039 | |
parent | 1e4c2e7369860be409964ad1f6f771780b5e2621 (diff) | |
download | libtdevnc-3c5d1b0ff208eadfdb9543e0da2d6149644bab03.tar.gz libtdevnc-3c5d1b0ff208eadfdb9543e0da2d6149644bab03.zip |
cvs more flexible now; ZRLE encoding only when HAVE_ZRLE defined
-rw-r--r-- | cvs_update_anonymously | 16 | ||||
-rw-r--r-- | include/rfbproto.h | 2 |
2 files changed, 12 insertions, 6 deletions
diff --git a/cvs_update_anonymously b/cvs_update_anonymously index 9bdd325..bbe3c77 100644 --- a/cvs_update_anonymously +++ b/cvs_update_anonymously @@ -1,9 +1,13 @@ -if [ a"$1" = adiff -o a"$1" = aexport ]; then - cmd="$1" - shift -else - cmd=update -fi +#!/bin/bash + +case "$1" in +#cvs --help-commands 2>&1 | sed "s/[ ][ ]*/ /g" | cut -d " " -f 2 +add|admin|annotate|checkout|commit|diff|edit|editors|export|history|import|\ +init|log|login|logout|pserver|rdiff|release|remove|rtag|server|status|\ +tag|unedit|update|watch|watchers) + cmd="$1"; shift;; +*) cmd=update;; +esac cvs -z3 -d :pserver:[email protected]:/cvsroot/libvncserver $cmd "$@" diff --git a/include/rfbproto.h b/include/rfbproto.h index d3e2916..9a64484 100644 --- a/include/rfbproto.h +++ b/include/rfbproto.h @@ -304,7 +304,9 @@ typedef struct { #ifdef BACKCHANNEL #define rfbEncodingBackChannel 15 #endif +#ifdef HAVE_ZRLE #define rfbEncodingZRLE 16 +#endif /* * Special encoding numbers: |