summaryrefslogtreecommitdiffstats
path: root/x11vnc/tkx11vnc
diff options
context:
space:
mode:
authorrunge <runge>2006-01-15 03:58:48 +0000
committerrunge <runge>2006-01-15 03:58:48 +0000
commit5993dd757e5af00af6565b3411ea10fd46eafbdf (patch)
tree7450fdde25310857c88221a719f026a1a09336f7 /x11vnc/tkx11vnc
parent60918e6664cd62ea3d71b48cdfda8b89ab82029c (diff)
downloadlibtdevnc-5993dd757e5af00af6565b3411ea10fd46eafbdf.tar.gz
libtdevnc-5993dd757e5af00af6565b3411ea10fd46eafbdf.zip
x11vnc: add -8to24 option for some multi-depth displays.
Diffstat (limited to 'x11vnc/tkx11vnc')
-rwxr-xr-xx11vnc/tkx11vnc5
1 files changed, 3 insertions, 2 deletions
diff --git a/x11vnc/tkx11vnc b/x11vnc/tkx11vnc
index aabfa0a..5429144 100755
--- a/x11vnc/tkx11vnc
+++ b/x11vnc/tkx11vnc
@@ -121,6 +121,7 @@ Screen
=GAL OverlayVisuals::
overlay
overlay_nocursor
+ 8to24
=GAL LOFF
=GAL 8-Bit-Color::
flashcmap
@@ -1446,7 +1447,7 @@ proc parse_help {} {
if {! $sawopts} {
continue;
}
- if {[regexp {^-([A-z_][A-z_]*)} $line match name]} {
+ if {[regexp {^-([0-9A-z_][0-9A-z_]*)} $line match name]} {
set allnames($name) 1;
if {"$curropt" != "no$name" && "no$curropt" != "$name"} {
set curropt $name;
@@ -1525,7 +1526,7 @@ proc parse_remote_help {} {
if {! $sawopts} {
continue;
}
- if {[regexp {^([A-z_][A-z_:]*)} $line match name]} {
+ if {[regexp {^([0-9A-z_][0-9A-z_:]*)} $line match name]} {
regsub {:.*$} $name "" popt
lappend possopts $popt
if {"$curropt" != "no$name" && "no$curropt" != "$name"} {