x11vnc: more scrolling, -scr_term, -wait_ui, -nowait_bog

pull/1/head
runge 19 years ago
parent 8d116dfac7
commit a5524005d6

@ -1,3 +1,6 @@
2005-05-17 Karl Runge <runge@karlrunge.com>
* x11vnc: more scrolling, -scr_term, -wait_ui, -nowait_bog
2005-05-15 Johannes E. Schindelin <Johannes.Schindelin@gmx.de> 2005-05-15 Johannes E. Schindelin <Johannes.Schindelin@gmx.de>
* almost every file: ANSIfy, fix warnings from Linus' sparse * almost every file: ANSIfy, fix warnings from Linus' sparse

@ -1,3 +1,7 @@
2005-05-17 Karl Runge <runge@karlrunge.com>
* more -scrollcopyrect, -scr_term hacks for terminals.
* -wait_ui, -nowait_bog tunables. push cursor sooner.
2005-05-14 Karl Runge <runge@karlrunge.com> 2005-05-14 Karl Runge <runge@karlrunge.com>
* much more work on "-scrollcopyrect" mode... getting usable. * much more work on "-scrollcopyrect" mode... getting usable.
* remove -pointer_mode 3, shift everyone back down * remove -pointer_mode 3, shift everyone back down

@ -1,5 +1,5 @@
x11vnc README file Date: Sat May 14 00:07:44 EDT 2005 x11vnc README file Date: Tue May 17 14:39:38 EDT 2005
The following information is taken from these URLs: The following information is taken from these URLs:
@ -4238,7 +4238,7 @@ x11vnc: a VNC server for real X displays
Here are all of x11vnc command line options: Here are all of x11vnc command line options:
% x11vnc -opts (see below for -help long descriptions) % x11vnc -opts (see below for -help long descriptions)
x11vnc: allow VNC connections to real X11 displays. 0.7.2 lastmod: 2005-05-14 x11vnc: allow VNC connections to real X11 displays. 0.7.2 lastmod: 2005-05-17
x11vnc options: x11vnc options:
-display disp -auth file -display disp -auth file
@ -4288,26 +4288,28 @@ x11vnc options:
-debug_wireframe -scrollcopyrect mode -debug_wireframe -scrollcopyrect mode
-noscrollcopyrect -scr_area n -noscrollcopyrect -scr_area n
-scr_skip list -scr_inc list -scr_skip list -scr_inc list
-scr_keys list -scr_parms string -scr_keys list -scr_term list
-debug_scroll -pointer_mode n -scr_parms string -debug_scroll
-input_skip n -speeds rd,bw,lat -pointer_mode n -input_skip n
-debug_pointer -debug_keyboard -speeds rd,bw,lat -debug_pointer
-defer time -wait time -debug_keyboard -defer time
-readtimeout n -nap -wait time -wait_ui factor
-nonap -sb time -nowait_bog -readtimeout n
-noxdamage -xd_area A -nap -nonap
-xd_mem f -sigpipe string -sb time -noxdamage
-threads -nothreads -xd_area A -xd_mem f
-fs f -gaps n -sigpipe string -threads
-grow n -fuzz n -nothreads -fs f
-debug_tiles -snapfb -gaps n -grow n
-rawfb string -pipeinput cmd -fuzz n -debug_tiles
-gui [gui-opts] -remote command -snapfb -rawfb string
-query variable -sync -pipeinput cmd -gui [gui-opts]
-noremote -yesremote -remote command -query variable
-unsafe -safer -sync -noremote
-privremote -nocmds -yesremote -unsafe
-deny_all -safer -privremote
-nocmds -deny_all
libvncserver options: libvncserver options:
-rfbport port TCP port for RFB protocol -rfbport port TCP port for RFB protocol
@ -4333,7 +4335,7 @@ libvncserver options:
% x11vnc -help % x11vnc -help
x11vnc: allow VNC connections to real X11 displays. 0.7.2 lastmod: 2005-05-14 x11vnc: allow VNC connections to real X11 displays. 0.7.2 lastmod: 2005-05-17
Typical usage is: Typical usage is:
@ -5243,6 +5245,29 @@ Options:
Shift_L, Control_R, etc, are skipped since they almost Shift_L, Control_R, etc, are skipped since they almost
never induce scrolling by themselves. never induce scrolling by themselves.
-scr_term list Yet another cosmetic kludge. Apply shell/terminal
heuristics to applications matching comma separated list
(same as -scr_skip/-scr_inc). For example an annoying
transient under scroll detection is if you hit Enter in
a terminal shell with full text window, the solid text
cursor block will be scrolled up. So for a short time
there are two (or more) block cursors on the screen.
There are similar scenarios, (e.g. an output line is
duplicated).
These transients are induced by the approximation of
scroll detection (e.g. it detects the scroll, but not
the fact that the block cursor was cleared just before
the scroll). In nearly all cases these transient errors
are repaired when the true X framebuffer is consulted
by the normal polling. But they are distracting, so
what this option provides is extra "padding" near the
bottom of the terminal window: a few extra lines near
the bottom will not be scrolled, but rather updated
from the actual X framebuffer. This usually reduces
the annoying artifacts. Use "none" to disable.
Default: "term"
-scr_parms string Set various parameters for the scrollcopyrect mode. -scr_parms string Set various parameters for the scrollcopyrect mode.
The format is similar to that for -wireframe and packed The format is similar to that for -wireframe and packed
with lots of parameters: with lots of parameters:
@ -5374,6 +5399,18 @@ Options:
(deferUpdateTime) Default: 30 (deferUpdateTime) Default: 30
-wait time Time in ms to pause between screen polls. Used to cut -wait time Time in ms to pause between screen polls. Used to cut
down on load. Default: 30 down on load. Default: 30
-wait_ui factor Factor by which to cut the -wait time if there
has been recent user input (pointer or keyboard).
Improves response, but increases the load whenever you
are moving the mouse or typing. Default: 2.00
-nowait_bog Do not detect if the screen polling is "bogging down"
and sleep more. Some activities with no user input can
slow things down a lot: consider a large terminal window
with a long build running in it continously streaming
text output. By default x11vnc will try to detect this
(3 screen polls in a row each longer than 0.25 sec with
no user input), and sleep up to 1.5 secs to let things
"catch up". Use this option to disable the detection.
-readtimeout n Set libvncserver rfbMaxClientWait to n seconds. On -readtimeout n Set libvncserver rfbMaxClientWait to n seconds. On
slow links that take a long time to paint the first slow links that take a long time to paint the first
screen libvncserver may hit the timeout and drop the screen libvncserver may hit the timeout and drop the
@ -5751,6 +5788,7 @@ Options:
scr_skip:list set -scr_skip to "list" scr_skip:list set -scr_skip to "list"
scr_inc:list set -scr_inc to "list" scr_inc:list set -scr_inc to "list"
scr_keys:list set -scr_keys to "list" scr_keys:list set -scr_keys to "list"
scr_term:list set -scr_term to "list"
scr_parms:str set -scr_parms parameters. scr_parms:str set -scr_parms parameters.
pointer_mode:n set -pointer_mode to n. same as "pm" pointer_mode:n set -pointer_mode to n. same as "pm"
input_skip:n set -input_skip to n. input_skip:n set -input_skip to n.
@ -5761,6 +5799,9 @@ Options:
nodebug_keyboard disable -debug_keyboard, same as "nodk" nodebug_keyboard disable -debug_keyboard, same as "nodk"
defer:n set -defer to n ms,same as deferupdate:n defer:n set -defer to n ms,same as deferupdate:n
wait:n set -wait to n ms. wait:n set -wait to n ms.
wait_ui:f set -wait_ui factor to f.
wait_bog disable -nowait_bog mode.
nowait_bog enable -nowait_bog mode.
readtimeout:n set read timeout to n seconds. readtimeout:n set read timeout to n seconds.
nap enable -nap mode. nap enable -nap mode.
nonap disable -nap mode. nonap disable -nap mode.
@ -5856,35 +5897,35 @@ Options:
forever noforever once timeout deny lock nodeny unlock forever noforever once timeout deny lock nodeny unlock
connect allowonce allow localhost nolocalhost listen connect allowonce allow localhost nolocalhost listen
lookup nolookup accept gone shm noshm flipbyteorder lookup nolookup accept gone shm noshm flipbyteorder
noflipbyteorder onetile noonetile solid_color noflipbyteorder onetile noonetile solid_color solid
solid nosolid blackout xinerama noxinerama xtrap nosolid blackout xinerama noxinerama xtrap noxtrap
noxtrap xrandr noxrandr xrandr_mode padgeom quiet q xrandr noxrandr xrandr_mode padgeom quiet q noquiet
noquiet modtweak nomodtweak xkb noxkb skip_keycodes modtweak nomodtweak xkb noxkb skip_keycodes skip_dups
skip_dups noskip_dups add_keysyms noadd_keysyms noskip_dups add_keysyms noadd_keysyms clear_mods
clear_mods noclear_mods clear_keys noclear_keys noclear_mods clear_keys noclear_keys remap repeat
remap repeat norepeat fb nofb bell nobell sel nosel norepeat fb nofb bell nobell sel nosel primary noprimary
primary noprimary cursorshape nocursorshape cursorpos cursorshape nocursorshape cursorpos nocursorpos cursor
nocursorpos cursor show_cursor noshow_cursor nocursor show_cursor noshow_cursor nocursor arrow xfixes noxfixes
arrow xfixes noxfixes xdamage noxdamage xd_area xd_mem xdamage noxdamage xd_area xd_mem alphacut alphafrac
alphacut alphafrac alpharemove noalpharemove alphablend alpharemove noalpharemove alphablend noalphablend
noalphablend xwarppointer xwarp noxwarppointer noxwarp xwarppointer xwarp noxwarppointer noxwarp buttonmap
buttonmap dragging nodragging wireframe_mode wireframe dragging nodragging wireframe_mode wireframe wf
wf nowireframe nowf wirecopyrect wcr nowirecopyrect nowireframe nowf wirecopyrect wcr nowirecopyrect nowcr
nowcr scr_area scr_skip scr_inc scr_keys scr_parms scr_area scr_skip scr_inc scr_keys scr_term scr_parms
scrollcopyrect scr noscrollcopyrect noscr pointer_mode scrollcopyrect scr noscrollcopyrect noscr pointer_mode
pm input_skip input client_input speeds debug_pointer dp pm input_skip input client_input speeds debug_pointer dp
nodebug_pointer nodp debug_keyboard dk nodebug_keyboard nodebug_pointer nodp debug_keyboard dk nodebug_keyboard
nodk deferupdate defer wait readtimeout nap nonap nodk deferupdate defer wait_ui wait_bog nowait_bog wait
sb screen_blank fs gaps grow fuzz snapfb nosnapfb readtimeout nap nonap sb screen_blank fs gaps grow fuzz
rawfb progressive rfbport http nohttp httpport snapfb nosnapfb rawfb progressive rfbport http nohttp
httpdir enablehttpproxy noenablehttpproxy alwaysshared httpport httpdir enablehttpproxy noenablehttpproxy
noalwaysshared nevershared noalwaysshared dontdisconnect alwaysshared noalwaysshared nevershared noalwaysshared
nodontdisconnect desktop debug_xevents nodebug_xevents dontdisconnect nodontdisconnect desktop debug_xevents
debug_xevents debug_xdamage nodebug_xdamage nodebug_xevents debug_xevents debug_xdamage
debug_xdamage debug_wireframe nodebug_wireframe nodebug_xdamage debug_xdamage debug_wireframe
debug_wireframe debug_scroll nodebug_scroll debug_scroll nodebug_wireframe debug_wireframe debug_scroll
debug_tiles dbt nodebug_tiles nodbt debug_tiles dbg nodebug_scroll debug_scroll debug_tiles dbt
nodbg noremote nodebug_tiles nodbt debug_tiles dbg nodbg noremote
aro= display vncdisplay desktopname http_url auth aro= display vncdisplay desktopname http_url auth
users rootshift clipshift scale_str scaled_x scaled_y users rootshift clipshift scale_str scaled_x scaled_y

@ -187,6 +187,8 @@ Misc
gaps: gaps:
grow: grow:
fuzz: fuzz:
wait_ui:
nowait_bog
readtimeout: readtimeout:
snapfb snapfb
threads threads
@ -263,6 +265,7 @@ Tuning
scr_skip: scr_skip:
scr_inc: scr_inc:
scr_keys: scr_keys:
scr_term:
scr_parms: scr_parms:
-- D -- D
speeds: speeds:

@ -193,6 +193,8 @@
" gaps:\n" " gaps:\n"
" grow:\n" " grow:\n"
" fuzz:\n" " fuzz:\n"
" wait_ui:\n"
" nowait_bog\n"
" readtimeout:\n" " readtimeout:\n"
" snapfb\n" " snapfb\n"
" threads\n" " threads\n"
@ -269,6 +271,7 @@
" scr_skip:\n" " scr_skip:\n"
" scr_inc:\n" " scr_inc:\n"
" scr_keys:\n" " scr_keys:\n"
" scr_term:\n"
" scr_parms:\n" " scr_parms:\n"
" -- D\n" " -- D\n"
" speeds:\n" " speeds:\n"

@ -2,7 +2,7 @@
.TH X11VNC "1" "May 2005" "x11vnc " "User Commands" .TH X11VNC "1" "May 2005" "x11vnc " "User Commands"
.SH NAME .SH NAME
x11vnc - allow VNC connections to real X11 displays x11vnc - allow VNC connections to real X11 displays
version: 0.7.2, lastmod: 2005-05-14 version: 0.7.2, lastmod: 2005-05-17
.SH SYNOPSIS .SH SYNOPSIS
.B x11vnc .B x11vnc
[OPTION]... [OPTION]...
@ -1187,6 +1187,31 @@ to cause scrolls. BTW, by default modifier keys,
Shift_L, Control_R, etc, are skipped since they almost Shift_L, Control_R, etc, are skipped since they almost
never induce scrolling by themselves. never induce scrolling by themselves.
.PP .PP
\fB-scr_term\fR \fIlist\fR
.IP
Yet another cosmetic kludge. Apply shell/terminal
heuristics to applications matching comma separated
list (same as for \fB-scr_skip/-scr_inc).\fR For example an
annoying transient under scroll detection is if you
hit Enter in a terminal shell with full text window,
the solid text cursor block will be scrolled up.
So for a short time there are two (or more) block
cursors on the screen. There are similar scenarios,
(e.g. an output line is duplicated).
.IP
These transients are induced by the approximation of
scroll detection (e.g. it detects the scroll, but not
the fact that the block cursor was cleared just before
the scroll). In nearly all cases these transient errors
are repaired when the true X framebuffer is consulted
by the normal polling. But they are distracting, so
what this option provides is extra "padding" near the
bottom of the terminal window: a few extra lines near
the bottom will not be scrolled, but rather updated
from the actual X framebuffer. This usually reduces
the annoying artifacts. Use "none" to disable.
Default: "term"
.PP
\fB-scr_parms\fR \fIstring\fR \fB-scr_parms\fR \fIstring\fR
.IP .IP
Set various parameters for the scrollcopyrect mode. Set various parameters for the scrollcopyrect mode.
@ -1341,6 +1366,24 @@ Time in ms to wait for updates before sending to client
Time in ms to pause between screen polls. Used to cut Time in ms to pause between screen polls. Used to cut
down on load. Default: 30 down on load. Default: 30
.PP .PP
\fB-wait_ui\fR \fIfactor\fR
.IP
Factor by which to cut the \fB-wait\fR time if there
has been recent user input (pointer or keyboard).
Improves response, but increases the load whenever you
are moving the mouse or typing. Default: 2.00
.PP
\fB-nowait_bog\fR
.IP
Do not detect if the screen polling is "bogging down"
and sleep more. Some activities with no user input can
slow things down a lot: consider a large terminal window
with a long build running in it continously streaming
text output. By default x11vnc will try to detect this
(3 screen polls in a row each longer than 0.25 sec with
no user input), and sleep up to 1.5 secs to let things
"catch up". Use this option to disable the detection.
.PP
\fB-readtimeout\fR \fIn\fR \fB-readtimeout\fR \fIn\fR
.IP .IP
Set libvncserver rfbMaxClientWait to n seconds. On Set libvncserver rfbMaxClientWait to n seconds. On
@ -1513,8 +1556,8 @@ with /dev/fb0.
.PP .PP
\fB-pipeinput\fR \fIcmd\fR \fB-pipeinput\fR \fIcmd\fR
.IP .IP
Another experimental option: it lets you supply Another experimental option: it lets you supply an
an extern command in \fIcmd\fR that x11vnc will pipe external command in \fIcmd\fR that x11vnc will pipe
all of the user input events to in a simple format. all of the user input events to in a simple format.
In \fB-pipeinput\fR mode by default x11vnc will not process In \fB-pipeinput\fR mode by default x11vnc will not process
any of the user input events. If you prefix \fIcmd\fR any of the user input events. If you prefix \fIcmd\fR
@ -1897,6 +1940,8 @@ scr_inc:list set \fB-scr_inc\fR to "list"
.IP .IP
scr_keys:list set \fB-scr_keys\fR to "list" scr_keys:list set \fB-scr_keys\fR to "list"
.IP .IP
scr_term:list set \fB-scr_term\fR to "list"
.IP
scr_parms:str set \fB-scr_parms\fR parameters. scr_parms:str set \fB-scr_parms\fR parameters.
.IP .IP
pointer_mode:n set \fB-pointer_mode\fR to n. same as "pm" pointer_mode:n set \fB-pointer_mode\fR to n. same as "pm"
@ -1917,6 +1962,12 @@ defer:n set \fB-defer\fR to n ms,same as deferupdate:n
.IP .IP
wait:n set \fB-wait\fR to n ms. wait:n set \fB-wait\fR to n ms.
.IP .IP
wait_ui:f set \fB-wait_ui\fR factor to f.
.IP
wait_bog disable \fB-nowait_bog\fR mode.
.IP
nowait_bog enable \fB-nowait_bog\fR mode.
.IP
readtimeout:n set read timeout to n seconds. readtimeout:n set read timeout to n seconds.
.IP .IP
nap enable \fB-nap\fR mode. nap enable \fB-nap\fR mode.
@ -2069,35 +2120,35 @@ scale_cursor viewonly noviewonly shared noshared
forever noforever once timeout deny lock nodeny unlock forever noforever once timeout deny lock nodeny unlock
connect allowonce allow localhost nolocalhost listen connect allowonce allow localhost nolocalhost listen
lookup nolookup accept gone shm noshm flipbyteorder lookup nolookup accept gone shm noshm flipbyteorder
noflipbyteorder onetile noonetile solid_color noflipbyteorder onetile noonetile solid_color solid
solid nosolid blackout xinerama noxinerama xtrap nosolid blackout xinerama noxinerama xtrap noxtrap
noxtrap xrandr noxrandr xrandr_mode padgeom quiet q xrandr noxrandr xrandr_mode padgeom quiet q noquiet
noquiet modtweak nomodtweak xkb noxkb skip_keycodes modtweak nomodtweak xkb noxkb skip_keycodes skip_dups
skip_dups noskip_dups add_keysyms noadd_keysyms noskip_dups add_keysyms noadd_keysyms clear_mods
clear_mods noclear_mods clear_keys noclear_keys noclear_mods clear_keys noclear_keys remap repeat
remap repeat norepeat fb nofb bell nobell sel nosel norepeat fb nofb bell nobell sel nosel primary noprimary
primary noprimary cursorshape nocursorshape cursorpos cursorshape nocursorshape cursorpos nocursorpos cursor
nocursorpos cursor show_cursor noshow_cursor nocursor show_cursor noshow_cursor nocursor arrow xfixes noxfixes
arrow xfixes noxfixes xdamage noxdamage xd_area xd_mem xdamage noxdamage xd_area xd_mem alphacut alphafrac
alphacut alphafrac alpharemove noalpharemove alphablend alpharemove noalpharemove alphablend noalphablend
noalphablend xwarppointer xwarp noxwarppointer noxwarp xwarppointer xwarp noxwarppointer noxwarp buttonmap
buttonmap dragging nodragging wireframe_mode wireframe dragging nodragging wireframe_mode wireframe wf
wf nowireframe nowf wirecopyrect wcr nowirecopyrect nowireframe nowf wirecopyrect wcr nowirecopyrect nowcr
nowcr scr_area scr_skip scr_inc scr_keys scr_parms scr_area scr_skip scr_inc scr_keys scr_term scr_parms
scrollcopyrect scr noscrollcopyrect noscr pointer_mode scrollcopyrect scr noscrollcopyrect noscr pointer_mode
pm input_skip input client_input speeds debug_pointer dp pm input_skip input client_input speeds debug_pointer dp
nodebug_pointer nodp debug_keyboard dk nodebug_keyboard nodebug_pointer nodp debug_keyboard dk nodebug_keyboard
nodk deferupdate defer wait readtimeout nap nonap nodk deferupdate defer wait_ui wait_bog nowait_bog wait
sb screen_blank fs gaps grow fuzz snapfb nosnapfb readtimeout nap nonap sb screen_blank fs gaps grow fuzz
rawfb progressive rfbport http nohttp httpport snapfb nosnapfb rawfb progressive rfbport http nohttp
httpdir enablehttpproxy noenablehttpproxy alwaysshared httpport httpdir enablehttpproxy noenablehttpproxy
noalwaysshared nevershared noalwaysshared dontdisconnect alwaysshared noalwaysshared nevershared noalwaysshared
nodontdisconnect desktop debug_xevents nodebug_xevents dontdisconnect nodontdisconnect desktop debug_xevents
debug_xevents debug_xdamage nodebug_xdamage nodebug_xevents debug_xevents debug_xdamage
debug_xdamage debug_wireframe nodebug_wireframe nodebug_xdamage debug_xdamage debug_wireframe
debug_wireframe debug_scroll nodebug_scroll debug_scroll nodebug_wireframe debug_wireframe debug_scroll
debug_tiles dbt nodebug_tiles nodbt debug_tiles dbg nodebug_scroll debug_scroll debug_tiles dbt
nodbg noremote nodebug_tiles nodbt debug_tiles dbg nodbg noremote
.IP .IP
aro= display vncdisplay desktopname http_url auth aro= display vncdisplay desktopname http_url auth
users rootshift clipshift scale_str scaled_x scaled_y users rootshift clipshift scale_str scaled_x scaled_y

File diff suppressed because it is too large Load Diff
Loading…
Cancel
Save