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
d60e8ccf
Commit
d60e8ccf
authored
Feb 19, 2007
by
runge
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
x11vnc: Get ultravnc textchat working with ssvnc.
parent
a874ddee
Changes
6
Hide whitespace changes
Inline
Side-by-side
Showing
6 changed files
with
31 additions
and
12 deletions
+31
-12
ChangeLog
x11vnc/ChangeLog
+3
-0
README
x11vnc/README
+3
-3
x11vnc.1
x11vnc/x11vnc.1
+1
-1
x11vnc.c
x11vnc/x11vnc.c
+1
-1
x11vnc_defs.c
x11vnc/x11vnc_defs.c
+1
-1
xevents.c
x11vnc/xevents.c
+22
-6
No files found.
x11vnc/ChangeLog
View file @
d60e8ccf
2007-02-18 Karl Runge <runge@karlrunge.com>
* x11vnc: Get ultravnc textchat working with ssvnc.
2007-02-16 Karl Runge <runge@karlrunge.com>
* x11vnc: add Files mode to user controlled input. more
ultra/tight filexfer tweaks. rfbversion remote control.
...
...
x11vnc/README
View file @
d60e8ccf
x11vnc
README
file
Date
:
Fri
Feb
16
20
:
41
:
26
EST
2007
x11vnc
README
file
Date
:
Sun
Feb
18
18
:
24
:
55
EST
2007
The
following
information
is
taken
from
these
URLs
:
...
...
@@ -10027,7 +10027,7 @@ x11vnc: a VNC server for real X displays
Here
are
all
of
x11vnc
command
line
options
:
%
x11vnc
-
opts
(
see
below
for
-
help
long
descriptions
)
x11vnc
:
allow
VNC
connections
to
real
X11
displays
.
0.8.5
lastmod
:
2007
-
02
-
1
6
x11vnc
:
allow
VNC
connections
to
real
X11
displays
.
0.8.5
lastmod
:
2007
-
02
-
1
8
x11vnc
options
:
-
display
disp
-
auth
file
-
N
...
...
@@ -10140,7 +10140,7 @@ libvncserver-tight-extension options:
% x11vnc -help
x11vnc: allow VNC connections to real X11 displays. 0.8.5 lastmod: 2007-02-1
6
x11vnc: allow VNC connections to real X11 displays. 0.8.5 lastmod: 2007-02-1
8
(type "x11vnc -opts" to just list the options.)
...
...
x11vnc/x11vnc.1
View file @
d60e8ccf
...
...
@@ -2,7 +2,7 @@
.TH X11VNC "1" "February 2007" "x11vnc " "User Commands"
.SH NAME
x11vnc - allow VNC connections to real X11 displays
version: 0.8.5, lastmod: 2007-02-1
6
version: 0.8.5, lastmod: 2007-02-1
8
.SH SYNOPSIS
.B x11vnc
[OPTION]...
...
...
x11vnc/x11vnc.c
View file @
d60e8ccf
...
...
@@ -3814,6 +3814,7 @@ int main(int argc, char* argv[]) {
#if LIBVNCSERVER_HAVE_FORK && LIBVNCSERVER_HAVE_SETSID
if
(
bg
)
{
int
p
,
n
;
if
(
getenv
(
"X11VNC_LOOP_MODE_BG"
))
{
if
(
screen
&&
screen
->
listenSock
>=
0
)
{
close
(
screen
->
listenSock
);
...
...
@@ -3835,7 +3836,6 @@ int main(int argc, char* argv[]) {
}
}
/* fork into the background now */
int
p
,
n
;
if
((
p
=
fork
())
>
0
)
{
exit
(
0
);
}
else
if
(
p
==
-
1
)
{
...
...
x11vnc/x11vnc_defs.c
View file @
d60e8ccf
...
...
@@ -15,7 +15,7 @@ int xtrap_base_event_type = 0;
int
xdamage_base_event_type
=
0
;
/* date +'lastmod: %Y-%m-%d' */
char
lastmod
[]
=
"0.8.5 lastmod: 2007-02-1
6
"
;
char
lastmod
[]
=
"0.8.5 lastmod: 2007-02-1
8
"
;
/* X display info */
...
...
x11vnc/xevents.c
View file @
d60e8ccf
...
...
@@ -1374,25 +1374,41 @@ void set_server_input(rfbClientPtr cl, int grab) {
}
void
set_text_chat
(
rfbClientPtr
cl
,
int
len
,
char
*
txt
)
{
char
buf
[
100
];
int
dochat
=
1
;
rfbClientIteratorPtr
iter
;
rfbClientPtr
cl2
;
if
(
no_ultra_ext
)
{
if
(
no_ultra_ext
||
!
dochat
)
{
return
;
}
#if 0
rfbLog("set_text_chat: len=%d\n", len);
rfbLog("set_text_chat: len=0x%x txt='", len);
if (0 < len && len < 10000) write(2, txt, len);
fprintf(stderr, "'\n");
#endif
if
(
unixpw_in_progress
)
{
rfbLog
(
"set_text_chat: unixpw_in_progress, skipping.
\n
"
);
return
;
}
if
(
0
&&
len
==
rfbTextChatOpen
)
{
if
(
rfbSendTextChatMessage
(
cl
,
rfbTextChatOpen
,
""
))
{
rfbLog
(
"rfbSendTextChatMessage: true
\n
"
);
}
else
{
rfbLog
(
"rfbSendTextChatMessage: false
\n
"
);
iter
=
rfbGetClientIterator
(
screen
);
while
(
(
cl2
=
rfbClientIteratorNext
(
iter
))
)
{
if
(
cl2
==
cl
)
{
continue
;
}
if
(
len
==
rfbTextChatOpen
)
{
rfbSendTextChatMessage
(
cl2
,
rfbTextChatOpen
,
""
);
}
else
if
(
len
==
rfbTextChatClose
)
{
rfbSendTextChatMessage
(
cl2
,
rfbTextChatClose
,
""
);
}
else
if
(
len
==
rfbTextChatFinished
)
{
rfbSendTextChatMessage
(
cl2
,
rfbTextChatFinished
,
""
);
}
else
if
(
len
<=
rfbTextMaxSize
)
{
rfbSendTextChatMessage
(
cl2
,
len
,
txt
);
}
}
rfbReleaseClientIterator
(
iter
);
}
int
get_keyboard_led_state_hook
(
rfbScreenInfoPtr
s
)
{
if
(
unixpw_in_progress
)
{
rfbLog
(
"get_keyboard_led_state_hook: unixpw_in_progress, skipping.
\n
"
);
...
...
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