x11vnc: fix AIX build wrt h_errno.

pull/1/head
runge 19 years ago
parent 94b092cd22
commit 4b8cc33e39

@ -1,3 +1,6 @@
2006-02-06 Karl Runge <runge@karlrunge.com>
* x11vnc: fix AIX build wrt h_errno.
2006-02-06 Karl Runge <runge@karlrunge.com> 2006-02-06 Karl Runge <runge@karlrunge.com>
* x11vnc: -8to24 more speedups; tunables for very slow machines. * x11vnc: -8to24 more speedups; tunables for very slow machines.

File diff suppressed because it is too large Load Diff

@ -173,7 +173,7 @@ void print_help(int mode) {
"\n" "\n"
" Note that even if there are *no* depth 24 visuals or\n" " Note that even if there are *no* depth 24 visuals or\n"
" windows (i.e. pure 8bpp), this mode is potentially\n" " windows (i.e. pure 8bpp), this mode is potentially\n"
" a improvement over -flashcmap because it avoids the\n" " an improvement over -flashcmap because it avoids the\n"
" flashing and shows each window in the correct color.\n" " flashing and shows each window in the correct color.\n"
"\n" "\n"
" This method appear to work, but may still have bugs\n" " This method appear to work, but may still have bugs\n"
@ -183,12 +183,12 @@ void print_help(int mode) {
"\n" "\n"
" There may be painting errors for clipping and switching\n" " There may be painting errors for clipping and switching\n"
" between windows of depths 8 and 24. Heuristics are\n" " between windows of depths 8 and 24. Heuristics are\n"
" applied to try to minimize the painting errors.\n" " applied to try to minimize the painting errors. One can\n"
" One can also press 3 Alt_L's in a row to refresh the\n" " also press 3 Alt_L's in a row to refresh the screen\n"
" screen if the error does not repair itself. Also the\n" " if the error does not repair itself. Also the option\n"
" option -fixscreen 8=3.0 or -fixscreen V=3.0 may be\n" " -fixscreen 8=3.0 or -fixscreen V=3.0 may be used to\n"
" use to periodically refresh the screen at the cost of\n" " periodically refresh the screen at the cost of bandwidth\n"
" bandwidth (every 3 sec for this example).\n" " (every 3 sec for this example).\n"
"\n" "\n"
" The [opts] string can contain the following settings.\n" " The [opts] string can contain the following settings.\n"
" Multiple settings are separated by commas.\n" " Multiple settings are separated by commas.\n"
@ -221,6 +221,11 @@ void print_help(int mode) {
" This may lead to the windows being unnoticed for this\n" " This may lead to the windows being unnoticed for this\n"
" amount of time when deiconifying, painting errors, etc.\n" " amount of time when deiconifying, painting errors, etc.\n"
"\n" "\n"
" While testing on a very old SS20 these options gave\n"
" tolerable response: -8to24 poll=0.2,cachewin=5.0. For\n"
" this machine -overlay is supported and gives better\n"
" response.\n"
"\n"
" Debugging for this mode can be enabled by setting \n" " Debugging for this mode can be enabled by setting \n"
" \"dbg=1\", \"dbg=2\", or \"dbg=3\".\n" " \"dbg=1\", \"dbg=2\", or \"dbg=3\".\n"
"\n" "\n"

@ -205,7 +205,7 @@ framebuffer.
.IP .IP
Note that even if there are *no* depth 24 visuals or Note that even if there are *no* depth 24 visuals or
windows (i.e. pure 8bpp), this mode is potentially windows (i.e. pure 8bpp), this mode is potentially
a improvement over \fB-flashcmap\fR because it avoids the an improvement over \fB-flashcmap\fR because it avoids the
flashing and shows each window in the correct color. flashing and shows each window in the correct color.
.IP .IP
This method appear to work, but may still have bugs This method appear to work, but may still have bugs
@ -215,12 +215,12 @@ iconify all but one for the colors to be correct.
.IP .IP
There may be painting errors for clipping and switching There may be painting errors for clipping and switching
between windows of depths 8 and 24. Heuristics are between windows of depths 8 and 24. Heuristics are
applied to try to minimize the painting errors. applied to try to minimize the painting errors. One can
One can also press 3 Alt_L's in a row to refresh the also press 3 Alt_L's in a row to refresh the screen
screen if the error does not repair itself. Also the if the error does not repair itself. Also the option
option \fB-fixscreen\fR 8=3.0 or \fB-fixscreen\fR V=3.0 may be \fB-fixscreen\fR 8=3.0 or \fB-fixscreen\fR V=3.0 may be used to
use to periodically refresh the screen at the cost of periodically refresh the screen at the cost of bandwidth
bandwidth (every 3 sec for this example). (every 3 sec for this example).
.IP .IP
The [opts] string can contain the following settings. The [opts] string can contain the following settings.
Multiple settings are separated by commas. Multiple settings are separated by commas.
@ -253,6 +253,11 @@ XGetWindowAttributes results. E.g. cachewin=5.0.
This may lead to the windows being unnoticed for this This may lead to the windows being unnoticed for this
amount of time when deiconifying, painting errors, etc. amount of time when deiconifying, painting errors, etc.
.IP .IP
While testing on a very old SS20 these options gave
tolerable response: \fB-8to24\fR poll=0.2,cachewin=5.0. For
this machine \fB-overlay\fR is supported and gives better
response.
.IP
Debugging for this mode can be enabled by setting Debugging for this mode can be enabled by setting
"dbg=1", "dbg=2", or "dbg=3". "dbg=1", "dbg=2", or "dbg=3".
.PP .PP

@ -192,7 +192,9 @@ extern int xtrap_base_event_type;
#endif #endif
#include <netdb.h> #include <netdb.h>
#ifndef _AIX
extern int h_errno; extern int h_errno;
#endif
#if LIBVNCSERVER_HAVE_NETINET_IN_H #if LIBVNCSERVER_HAVE_NETINET_IN_H
#include <netinet/in.h> #include <netinet/in.h>

Loading…
Cancel
Save