Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Contribute to GitLab
Sign in
Toggle navigation
L
libvncserver
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
rasky
libvncserver
Commits
31d3a9fa
Commit
31d3a9fa
authored
Sep 15, 2006
by
runge
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
small tweaks, -sig alias.
parent
be2b77f2
Changes
4
Show whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
14 additions
and
5 deletions
+14
-5
README
x11vnc/README
+5
-2
help.c
x11vnc/help.c
+4
-1
x11vnc.1
x11vnc/x11vnc.1
+4
-1
x11vnc.c
x11vnc/x11vnc.c
+1
-1
No files found.
x11vnc/README
View file @
31d3a9fa
x11vnc
README
file
Date
:
Fri
Sep
15
1
1
:
12
:
28
EDT
2006
x11vnc
README
file
Date
:
Fri
Sep
15
1
2
:
06
:
02
EDT
2006
The
following
information
is
taken
from
these
URLs
:
...
...
@@ -10518,7 +10518,10 @@ Options:
However, for convenience you can use it to ignore other
signals, e.g. "
-
sigpipe
ignore
:
HUP
,
INT
,
TERM
" in case
that would be useful for some sort of application.
You can also put "
exit
:..
" in there.
You can also put "
exit
:..
" in the list to have x11vnc
cleanup on the listed signals. "
-
sig
" is an alias
for this option if you don't like the 'pipe'. Example:
-sig ignore:INT,TERM,exit:USR1
-threads Whether or not to use the threaded libvncserver
-nothreads algorithm [rfbRunEventLoop] if libpthread is available
...
...
x11vnc/help.c
View file @
31d3a9fa
...
...
@@ -2392,7 +2392,10 @@ void print_help(int mode) {
" However, for convenience you can use it to ignore other
\n
"
" signals, e.g.
\"
-sigpipe ignore:HUP,INT,TERM
\"
in case
\n
"
" that would be useful for some sort of application.
\n
"
" You can also put
\"
exit:..
\"
in there.
\n
"
" You can also put
\"
exit:..
\"
in the list to have x11vnc
\n
"
" cleanup on the listed signals.
\"
-sig
\"
is an alias
\n
"
" for this option if you don't like the 'pipe'. Example:
\n
"
" -sig ignore:INT,TERM,exit:USR1
\n
"
"
\n
"
"-threads Whether or not to use the threaded libvncserver
\n
"
"-nothreads algorithm [rfbRunEventLoop] if libpthread is available
\n
"
...
...
x11vnc/x11vnc.1
View file @
31d3a9fa
...
...
@@ -2819,7 +2819,10 @@ is doing the correct thing now for quite some time.
However, for convenience you can use it to ignore other
signals, e.g. "\fB-sigpipe\fR \fIignore:HUP,INT,TERM\fR" in case
that would be useful for some sort of application.
You can also put "exit:.." in there.
You can also put "exit:.." in the list to have x11vnc
cleanup on the listed signals. "\fB-sig\fR" is an alias
for this option if you don't like the 'pipe'. Example:
\fB-sig\fR ignore:INT,TERM,exit:USR1
.PP
\fB-threads,\fR \fB-nothreads\fR
.IP
...
...
x11vnc/x11vnc.c
View file @
31d3a9fa
...
...
@@ -2160,7 +2160,7 @@ int main(int argc, char* argv[]) {
if
(
f
>=
0
.
0
)
{
xdamage_memory
=
f
;
}
}
else
if
(
!
strcmp
(
arg
,
"-sigpipe"
))
{
}
else
if
(
!
strcmp
(
arg
,
"-sigpipe"
)
||
!
strcmp
(
arg
,
"-sig"
)
)
{
CHECK_ARGC
if
(
known_sigpipe_mode
(
argv
[
++
i
]))
{
sigpipe
=
strdup
(
argv
[
i
]);
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment