summaryrefslogtreecommitdiffstats
path: root/x11vnc/ChangeLog
blob: 24df1d7d87022c6adaab376282a1c989b7d3a4a7 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
413
414
415
416
417
418
419
420
421
422
423
424
425
426
427
428
429
430
431
432
433
434
435
436
437
438
439
440
441
442
443
444
445
446
447
448
449
450
451
452
453
454
455
456
457
458
459
460
461
462
463
464
465
466
467
468
469
470
471
472
473
474
475
476
477
478
479
480
481
482
483
484
485
486
487
488
489
490
491
492
493
494
495
496
497
498
499
500
501
502
503
504
505
506
507
508
509
510
511
512
513
514
515
516
517
518
519
520
521
522
523
524
525
526
527
528
529
530
531
532
533
534
535
536
537
538
539
540
541
542
543
544
545
546
547
548
549
550
551
552
553
554
555
556
557
558
559
560
561
562
563
564
565
566
567
568
569
570
571
572
573
574
575
576
577
578
579
580
581
582
583
584
585
586
587
588
589
590
591
592
593
594
595
596
597
598
599
600
601
602
603
604
605
606
607
608
609
610
611
612
613
614
615
616
617
618
619
620
621
622
623
624
625
626
627
628
629
630
631
632
633
634
635
636
637
638
639
640
641
642
643
644
645
646
647
648
649
650
651
652
653
654
655
656
657
658
659
660
661
662
663
664
665
666
667
668
669
670
671
672
673
674
675
676
677
678
679
680
681
682
683
684
685
686
687
688
689
690
691
692
693
694
695
696
697
698
699
700
701
702
703
704
705
706
707
708
709
710
711
712
713
714
715
716
717
718
719
720
721
722
723
724
725
726
727
728
729
730
731
732
733
734
735
736
737
738
739
740
741
742
743
744
745
746
747
748
749
750
751
752
753
754
755
756
757
758
759
760
761
762
763
764
765
766
767
768
769
770
771
772
773
774
775
776
777
778
779
780
781
782
783
784
785
786
787
788
789
790
791
792
793
794
795
796
797
798
799
800
801
802
803
804
805
806
807
808
809
810
811
812
813
814
815
816
817
818
819
820
821
822
823
824
825
826
827
828
829
830
831
832
833
834
835
836
837
838
839
840
841
842
843
844
845
846
847
848
849
850
851
852
853
854
855
856
857
858
859
860
861
862
863
864
865
866
867
868
869
870
871
872
873
874
875
876
877
878
879
880
881
882
883
884
885
886
887
888
889
890
891
892
893
894
895
896
897
898
899
900
901
902
903
904
905
906
907
908
909
910
911
912
913
914
915
916
917
918
919
920
921
922
923
924
925
926
927
928
929
930
931
932
933
934
935
936
937
938
939
940
941
942
2008-09-21  Karl Runge <runge@karlrunge.com>
	* x11vnc: Add symmetric key encryption -enc cipher:keyfile,
	  works with SSVNC.  Make -remap work on MacOSX console.
	  update to 0.9.5 strings.  Add a couple menu items to tkx11vnc.

2008-09-17  Karl Runge <runge@karlrunge.com>
	* x11vnc: make -allow work in -ssl mode.

2008-09-14  Karl Runge <runge@karlrunge.com>
	* x11vnc: -sleepin m-n for random sleep. More mktemp and mkstemp
	  protections. SSL_INIT_TIMEOUT=n env. var.  Fix macosx console
	  X call bug.  Synchronize other projects sources.

2008-09-06  Karl Runge <runge@karlrunge.com>
	* x11vnc: kill gui_pid on exit in -connect/-connect_or_exit mode.
	  -grablocal n experiment (not compiled by default).  -macuskbd
	  option for macosx for orig uskdb code. keycode=N remote contol
	  cmd.  Find dpy look at non-NFS cookies in /tmp.  Fix gui tray
	  insertion on recent gnome dt. Fix connect_file bug. Sync SSVNC

2008-06-07  Karl Runge <runge@karlrunge.com>
	* x11vnc: -clip xineramaN option, -DIGNORE_GETSPNAM for HP-UX.
	  Print info on SSH_CONNECTION override.

2008-05-31  Karl Runge <runge@karlrunge.com>
	* x11vnc: Improvements to nonstandard indexed color support, e.g.
	  depths 1, 4, 12, etc. instead of only 8.  Only enable xinerama
	  xwarppointer if there is more than 1 subscreen.

2008-05-07  Karl Runge <runge@karlrunge.com>
	* x11vnc: add UltraVNC repeater proxy support.  fix to setp gui
	  mode. -threads is now strongly discouraged.  Read PORT= in url.
	  User can set nolisten for Xvfb in -create mode.  clean up 
	  wait_for_client() to some degree.

2008-01-31  Karl Runge <runge@karlrunge.com>
	* x11vnc: during speeds estimate, guard against client
	  disconnecting.  ssvnc sync.

2008-01-14  Karl Runge <runge@karlrunge.com>
	* x11vnc: -ping option, fix memory corruption in copy_tiles
	  after xrandr resize.

2007-12-16  Karl Runge <runge@karlrunge.com>
	* x11vnc: setup remote-ctrl file by default on macosx. improve
	  tkx11vnc wrt attaching to existing server in icon/tray mode. 

2007-12-15  Karl Runge <runge@karlrunge.com>
	* x11vnc: fix find_display and usleep() prototype on macosx.
	  -display console and check DISPLAY /tmp/...:0 on macosx.
	  implement -noxinerama.

2007-11-12  Karl Runge <runge@karlrunge.com>
	* x11vnc: add clear_locks (Caps_Lock, etc) action.  Fix
	  ssh tunnel on Darwin.

2007-10-27  Karl Runge <runge@karlrunge.com>
	* x11vnc: fix ncache bug and others under -8to24, -ssh
	  option, socks and other proxies in -proxy option.
	  compiler warnings.  fix TARGETS selection request bug
	  (java, konsole).

2007-10-03  Karl Runge <runge@karlrunge.com>
	* x11vnc: add xfce to createdisplay

2007-09-26  Karl Runge <runge@karlrunge.com>
	* x11vnc: COLUMNS=256 to find/create scripts. More ratecheck.

2007-09-14  Karl Runge <runge@karlrunge.com>
	* x11vnc: Add -sshxdmsvc. Fix find_display for inetd.  Improve
	  -allinput method; env CHECK_RATE to watch for FBUR build up
	  (i.e. JFVNC).

2007-09-11  Karl Runge <runge@karlrunge.com>
	* x11vnc: fix wireframe crash under -clip.  Add -redirect for
	  VNC redir.  -rawfb nullbig, randbig, solid, swirl, etc.
	  FD_XDM mode to find_display.	-listdpy.  Add enlightenment.
	  Xvnc.redirect FINDDISPLAY-vnc_redirect. -xvnc, -xvnc_redirect,
	  -svc_xvnc. AUTO_PORT.
	* ssvnc: sshvnc ssh-only, tsvnc Terminal Services modes.
	  Improvements to ss_vncviewer.  Automatically find X dpy and
	  X login.  Reorganize menus a bit.  ~/.ssvncrc file.

2007-09-04  Karl Runge <runge@karlrunge.com>
	* x11vnc: Add -autoport and -finddpy utils. -xdummy creation.
	  tweak xkb tiebreaking again.  Shut off -ncache in dev mode.
	  watch for xrandr events even if no -xrandr.  Tips for types
	  of URLs for java viewers.  Add check_redir_services() to
	  create_display and tsdo() redir helper utility (-tsd).
	  Improvements to Xdummy.  Prevent dcop XAUTHORITY=''

2007-08-19  Karl Runge <runge@karlrunge.com>
	* x11vnc: better -xkb tie-breaking for up keystrokes.  Add 
	  Xsrv/FD_XSRV custom server to FINDCREATEDISPLAY list.

2007-08-18  Karl Runge <runge@karlrunge.com>
	* x11vnc: improve FINDCREATEDISPLAY (-create) script.  Document
	  FD_GEOM, FD_SESS, FD_OPTS, FD_PROG env vars, add Xvnc support. 

2007-08-15  Karl Runge <runge@karlrunge.com>
	* x11vnc: add reverse -connect support to -display WAIT:
	  i.e. -find, -create, -svc, ... mode.  Document need for
	  -shared under -connect host1,host2,...  Fix bug in -display
	  WAIT: mode if vnc client tries to only retrieve SSL cert.

2007-08-03  Karl Runge <runge@karlrunge.com>
	* x11vnc: add -xrefresh option, fix KDE .DCOPserver parse bug,
	  make sure UNIXPW_DISABLE_LOCALHOST/-unixpw_unsafe ignore
	  any SSH tunnel that would imply -localhost.

2007-07-04  Karl Runge <runge@karlrunge.com>
	* x11vnc: -debug_ncache, fix big fonts in tkx11vnc.

2007-06-14  Karl Runge <runge@karlrunge.com>
	* x11vnc: add detectors if ultravnc chat or file xfer took place,
	  if so ping clients more frequently.  Fix compile bug if libssl
	  not available.
	* ssvnc: add ultravnc ftp jar feature. Add certificate management
	  "Verify All Certs".

2007-05-26  Karl Runge <runge@karlrunge.com>
	* x11vnc: set to version 0.9.2, back to NCACHE -12 for testing.
	  in -unixpw, initial Escape means no echo username (see ssvnc).

2007-05-21  Karl Runge <runge@karlrunge.com>
	* x11vnc: set things up (NCACHE = -1) to not have -ncache
	  on by default; just give a blurb about it.

2007-05-16  Karl Runge <runge@karlrunge.com>
	* x11vnc: print out peer host and port for debugging SSL. 
	* ssvnc: rand check, SOCKS support, PORT=, Verify all Certs
	  and accepted certs logging.

2007-05-06  Karl Runge <runge@karlrunge.com>
	* x11vnc: lower -wait and -defer to 20ms.  Change some SSL
	  debug output.  Drop client doing ultravnc stuff in -unixpw
	  during login phase.

2007-05-05  Karl Runge <runge@karlrunge.com>
	* x11vnc: add groups handling for -users mode.

2007-05-01  Karl Runge <runge@karlrunge.com>
	* ssl: update to java viewer and utility scripts (add onetimekey).
	* x11vnc: setsid() for -gone mode. setpgrp for -create script and
	  add -cc 4 to avoid DirectColor.

2007-04-28  Karl Runge <runge@karlrunge.com>
	* x11vnc: -users sslpeer= option. RFB_SSL_CLIENT_CERT var.
	  X11VNC_FINDDISPLAY_ALWAYS_FAILS var. -ncache default 10.
	  gid switch fix.
	* ssvnc: Linux.i*86 fix and code sync.

2007-04-07  Karl Runge <runge@karlrunge.com>
	* x11vnc: add gnome, kde, etc. FINDCREATEDISPLAY tags.
	  In check_ncache periodically check for changed desktop. 

2007-03-24  Karl Runge <runge@karlrunge.com>
	* x11vnc: reverse SSL connections.  -sleepin option.

2007-03-20  Karl Runge <runge@karlrunge.com>
	* x11vnc: Add -httpsredir option for router port redirs.
	  set Xcursor bg/fg color values to zero.  Env var to
	  force timeout: X11VNC_HTTPS_VS_VNC_TIMEOUT.  Let user
	  supply nc=N at login prompt.  Disable -ncache beta
	  test under -http/-httpdir.

2007-03-13  Karl Runge <runge@karlrunge.com>
	* x11vnc: fix crash for kde dcop. limit ncache beta
	  tester to 96MB viewers. 

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.
	  noncache/nc unixpw user opt.

2007-02-15  Karl Runge <runge@karlrunge.com>
	* x11vnc: tightvnc filetransfer off by default. avahi
	  fixes.  FINDCREATEDISPLAY geometry.  -noultraext.

2007-02-12  Karl Runge <runge@karlrunge.com>
	* x11vnc: add avahi (aka mDNS/Zeroconf/Bonjour...)
	  support thanks to Diego Pettenò.  -avahi/-mdns.
	  Add -find and -create FINDISPLAY aliases.

2007-02-11  Karl Runge <runge@karlrunge.com>
	* x11vnc: add -grabalways, -forcedpms, -clientdpms, and 
	  -noserverdpms (ultravnc viewer) for improvements in
	  the still approximate server locking.  Add -loopbg
	  and -svc, -xdmsvc aliases. Bug fix create_display.

2007-02-10  Karl Runge <runge@karlrunge.com>
	* x11vnc: watch things like textchat, etc. more carefully 
	  in unixpw state.  Monitor broken XDAMAGE reports when
	  OpenGL apps like beryl are running.  Implement simple
	  kbdReleaseAllKeys, setSingleWindow, setServerInput actions
	  (ultravnc extentions).  Try to send XDM the username in
	  FINDCREATEDISPLAY, also try .dmrc before .xsession.

2007-01-31  Karl Runge <runge@karlrunge.com>
	* x11vnc: -reflect reflector/repeater mode with libvncclient.
	  -ncache tweaks: no kde animations and wm improvements,
	  fixes to FINDDISPLAY and FINDCREATEDISPLAY login modes,
	  MODTWEAK_LOWEST envvar for HP-UX keyboard workaround.
	  -N option for display and rfbport matching.

2007-01-12  Karl Runge <runge@karlrunge.com>
	* x11vnc: -N option, more -ncache improvements, kde/gnome.

2007-01-03  Karl Runge <runge@karlrunge.com>
	* x11vnc: more -ncache improvements.

2007-01-01  Karl Runge <runge@karlrunge.com>
	* x11vnc: more -ncache improvements.

2006-12-28  Karl Runge <runge@karlrunge.com>
	* x11vnc: more work on -ncache, add macosx support, fix X errors
	  and improve cache expiration algorithm.

2006-12-17  Karl Runge <runge@karlrunge.com>
	* x11vnc: first pass at client-side caching, -ncache option.
	  have -http guess ../classes/.. to run out of build area.

2006-12-17  Karl Runge <runge@karlrunge.com>
	* x11vnc: make -xwarppointer the default if xinerama is active.

2006-12-09  Karl Runge <runge@karlrunge.com>
	* java SSL viewer: guard against empty urlPrefix
	* x11vnc: FINDCREATEDISPLAY support to create X session if
	  one cannot be found.  close fds utility.  Print VNC Viewer
	  is.. for find display mode.  chvt(1) utility.

2006-11-23  Karl Runge <runge@karlrunge.com>
	* prepare_x11vnc_dist.sh: make ss_vncviewer installed 755.
	* x11vnc: for HTTPONCE open new http port in -inetd mode.
	  -prog option to indicate full path to program (not know
	  when in -inetd and tcpd)

2006-11-21  Karl Runge <runge@karlrunge.com>
	* x11vnc: macosx: problem with padded framebuffer rows, wait for
	  user to switch back, CutText xfer support, ignore a few more
	  types of toplevels.  Add local user wireframing.  -dpms/-nodpms
	  option to work around kdesktop_lock problem.

2006-11-13  Karl Runge <runge@karlrunge.com>
	* x11vnc: Native Mac OS X support.

2006-11-07  Karl Runge <runge@karlrunge.com>
	* ssl_vncviewer: vnc:// direct connect, add -x to ssh,
	  SSL_VNC_LISTEN variable for direct proxy.

2006-10-29  Karl Runge <runge@karlrunge.com>
	* x11vnc: Add tip about how to reenable RECORD extension.

2006-10-11  Karl Runge <runge@karlrunge.com>
	* x11vnc: -cursor_drag for DnD, etc.

2006-09-23  Karl Runge <runge@karlrunge.com>
	* Java viewer: improvements to connection response, faster
	  connections.
	* x11vnc: some cleanup for -unixpw login process.

2006-09-20  Karl Runge <runge@karlrunge.com>
	* x11vnc: -unixpw_cmd, -passwfile cmd:/custom:, -sslnofail,
	  -ultrafilexfer

2006-09-17  Karl Runge <runge@karlrunge.com>
	* x11vnc: move some info printout to -v, -verbose mode.  Add 
	  -connect_or_exit option.  Have -rfbport 0 lead to no TCP
	  listening.  Eliminate double certificates in .pem files.
	  Always print SSL certificate to the screen to aid pasting.

2006-09-15  Karl Runge <runge@karlrunge.com>
	* x11vnc: allow user set signals to ignore, clear DISPLAY in 
	  -unixpw su_verify. -rawfb none same as null. 
	* rfbserver.c: shorten rfbEncodingNewFBSize message.

2006-09-13  Karl Runge <runge@karlrunge.com>
	* x11vnc: document 'ssh -t' improved keyboard response.  add
	  extra rfbPE() around keystrokes. 
	  misc/enhanced_tightvnc_viewer: incorporate scripts, documentation,
	  etc. for the enhanced tightvnc viewer package.

2006-09-10  Karl Runge <runge@karlrunge.com>
	* x11vnc: minor changes: REQ_ARGS for -sslGenCert, EV_SYN
	  SYN_REPORT check restore cursor most under -display WAIT.

2006-08-10  Karl Runge <runge@karlrunge.com>
	* x11vnc: first pass at touchscreens via uinput.

2006-08-02  Karl Runge <runge@karlrunge.com>
	* x11vnc: add -ssltimeout option; tweak ssl timeouts.

2006-07-28  Karl Runge <runge@karlrunge.com>
	* ssl_vncviewer: remove some bashisms, add features.
	* x11vnc: -rotate option (e.g. handheld), fix FPE on tru64.

2006-07-17  Karl Runge <runge@karlrunge.com>
	* x11vnc: enable --without-x builds for -rawfb only (NO_X11)

2006-07-11  Karl Runge <runge@karlrunge.com>
	* x11vnc: more tweaks to UINPUT, mostly mouse motion.

2006-07-08  Karl Runge <runge@karlrunge.com>
	* x11vnc: add uinput support (-pipeinput UINPUT:...) for full
	  mouse and key input to linux console (e.g. for qt-embedded apps)
	  add -allinput for handleEventsEagerly.

2006-07-04  Karl Runge <runge@karlrunge.com>
	* x11vnc: 2nd -accept popup with WAIT, and UNIX: info for unixpw
	  login.  Use RFB_CLIENT_ON_HOLD for -unixpw. -unixpw white arrow
	  -license option.  Use getspnam if getpwnam is short.
	  abbrevs sc=, cm, ck for user:opts.

2006-06-23  Karl Runge <runge@karlrunge.com>
	* x11vnc: misc cleanup.

2006-06-18  Karl Runge <runge@karlrunge.com>
	* x11vnc: -grabkbd, -grabptr, -env options.  under -unixpw +
	  WAIT let user add some options after his username (e.g. runge:3/4)
	  -allowedcmds to fine tune vs. -nocmds.  general cleanup.

2006-06-12  Karl Runge <runge@karlrunge.com>
	* x11vnc: word tune SSL Java viewer; fix multi-certs bug. Add 
	  -display WAIT:cmd=FINDDISPLAY builtin script and cmd=HTTPONCE
	  action.  -http_ssl option for ssl subdir only.  Add -rawfb RAND
	  test case.  improve raw_xfer() for use in inetd https transfer.
	  fix bug SSH + -unixpw -> -localhost.  fix bug setup cursors
	  in WAIT mode.  Mac OS X pty tweak.

2006-06-09  Karl Runge <runge@karlrunge.com>
	* x11vnc: make -display WAIT + -unixpw work on Solaris.

2006-06-08  Karl Runge <runge@karlrunge.com>
	* x11vnc: XOpenDisplay wrapper for raw xauth data, -unixpw 
	  su_verify() to run any cmd, -users unixpw= mode. -display WAIT:...
	  modes for delayed X display opening and dynamic choosing.

2006-06-03  Karl Runge <runge@karlrunge.com>
	* x11vnc: -capslock and -skip_lockkeys options.  map some Alt keys
	  to Latin under linuxfb.  switch to new stats API.  Handle more
	  cases carefully when switching fb.
	
2006-05-06  Karl Runge <runge@karlrunge.com>
	* x11vnc: improved support for webcams and tv tuners with
	  video4linux /dev/video: -rawfb video, -freqtab etc.
	  Convenience option for linux VT's: -rawfb cons (LinuxVNC
	  method).  -pipeinput builtins for video and console.
	  -24to32 option to avoid 24bpp problems. "snap:" method for
	  -rawfb.

2006-04-26  Karl Runge <runge@karlrunge.com>
	* x11vnc: skip exit in check_openssl() if not compiled with
	  libssl.  set SKIP_HELP (again) in small footprint builds.

2006-04-16  Karl Runge <runge@karlrunge.com>
	* x11vnc: More web proxy work for Java SSL applet and wrapper
	  script ssl_vncviewer.  Apache SSL gateway support for
	  incoming x11vnc connections.  Handle "double proxy" case.

2006-04-05  Karl Runge <runge@karlrunge.com>
	* x11vnc: add FBPM support (-fbpm) for Suns. -rawfb ZERO for
	  testing.  Basic key+cert management utilities: -sslGenCA,
	  -sslGenCert, -sslEncKey, -sslDelCert, -sslCertInfo, and
	  addln features.  SSL proxy connection.  -storepasswd with
	  no args or pw echo.

2006-03-26  Karl Runge <runge@karlrunge.com>
	* x11vnc: -xinerama now on by default.  In -ssl mode accept https
	  applet downloads thru VNC port.  -https option for 2nd https
	  port.  Look for classes/ssl under -http.  add Java URL messages
	  to final output lines.  make -inetd work with -ssl (even for
	  https).  fix -unixpw login prompt under -scale.  guard against
	  clientData = NULL. 

2006-03-11  Karl Runge <runge@karlrunge.com>
	* x11vnc: add -ssl mode using libssl.  Include Xdummy in misc.
	  a few more macros for smallerfoot, etc.

2006-03-08  Karl Runge <runge@karlrunge.com>
	* x11vnc: manage CLIPBOARD in addition to PRIMARY.  -debug_sel
	  Make reverse connections require passwords.  -usepw option.
	  -storepasswd w/o args prompts and writes ~/.vnc/passwd.

2006-03-06  Karl Runge <runge@karlrunge.com>
	* x11vnc: switch remote control to X11VNC_REMOTE property.  Put
	  in -unixpw constraints for reverse connections under -inetd.
	  -inetd won't quit when reverse conn client leaves. Allow keyboard
	  input for viewonly -unixpw logins.  "%*" utils for testing
	  -unixpw.  improve start time fix bugs, small screen in gui.

2006-03-04  Karl Runge <runge@karlrunge.com>
	* x11vnc: -unixpw on *bsd, hpux and tru64.  Add -unixpw_nis for
	  non-shadow systems. check stunnel dying.  check SSH_CONNECTION
	  in -unixpw.  gui icon tweaks, unix username.

2006-03-02  Karl Runge <runge@karlrunge.com>
	* x11vnc: more tweaks to -unixpw mode.  Add -gone popup mode.
	  Change filexfer via -R.  Tune SMALL_FOOTPRINT.  gui fixes.

2006-02-24  Karl Runge <runge@karlrunge.com>
	* x11vnc: -unixpw for Unix password auth, -stunnel to setup
	  stunnel(1) for an SSL tunnel on the server end.  Add clipboard
	  input to per-client input controls.

2006-02-20  Karl Runge <runge@karlrunge.com>
	* x11vnc: add SIGINT SIGQUIT handling for run_user_command(),
	  set some signal handlers to SIG_DLF for forked children, 
	  put a timeout on port 113 connection to viewer machine.

2006-02-06  Karl Runge <runge@karlrunge.com>
	* x11vnc: fix AIX build wrt h_errno.

2006-02-06  Karl Runge <runge@karlrunge.com>
	* x11vnc: -8to24 more speedups; tunables for very slow machines.

2006-02-04  Karl Runge <runge@karlrunge.com>
	* x11vnc: -8to24 speedups and improvements.

2006-01-21  Karl Runge <runge@karlrunge.com>
	* x11vnc: -8to24 opts, use XGetSubImage. fix -threads deadlocks and
	  -rawfb crash.

2006-01-18  Karl Runge <runge@karlrunge.com>
	* x11vnc: -8to24 now works on default depth 8 screens.

2006-01-16  Karl Runge <runge@karlrunge.com>
	* x11vnc: more tweaks to -8to24, add XGETIMAGE_8TO24 mode to call
	  XGetImage() on the 8bpp regions.

2006-01-14  Karl Runge <runge@karlrunge.com>
	* x11vnc: add -8to24 option for some multi-depth displays (but use
	  of -overlay is preferred if supported).

2006-01-12  Karl Runge <runge@karlrunge.com>
	* fix -DSMALL_FOOTPRINT=N builds.

2006-01-11  Karl Runge <runge@karlrunge.com>
	* x11vnc: close fd > 2 in run_user_command(), -nocmds in crash_debug,
	  fix 64bit bug for -solid.

2006-01-08  Karl Runge <runge@karlrunge.com>
	* x11vnc: the big split. opts: -afteraccept and -passwdfile read:

2005-12-24  Karl Runge <runge@karlrunge.com>
	* x11vnc: enhance -passwdfile features, filetransfer on by default,
	  call rfbRegisterTightVNCFileTransferExtension() earlier.

2005-11-28  Karl Runge <runge@karlrunge.com>
	* x11vnc: add -loop option.

2005-11-25  Karl Runge <runge@karlrunge.com>
	* x11vnc: throttle load if fb update requests not taking place.
	* misc/x11vnc_pw: add utility script

2005-10-22  Karl Runge <runge@karlrunge.com>
	* add tightVNC FileTransfer (-filexfer) and -DFILEXFER=1
	* -slow_fb for special purpose infrequent polling.
	* make -blackout work with copyrect clipping.
	* -blackout noptr,WxH+X+Y,... to prevent pointer from going
	  into a blacked out region.

2005-07-17  Karl Runge <runge@karlrunge.com>
	* more improvements to gui UE.  gui requests via client_sock
	  PASSWD_REQUIRED and PASSWD_UNLESS_NOPW build options.

2005-07-12  Karl Runge <runge@karlrunge.com>
	* gui: remove nevershared etc., parse cmd line, bug fixes.
	* x11vnc: fix pointer queue buildup under -viewonly.

2005-07-10  Karl Runge <runge@karlrunge.com>
	* more improvements to gui, default values, save-settings..
	* x11vnc scary password warnings. Release settings. -QD option.
	  add \# to rc files and fix rcfile read bug.

2005-07-09  Karl Runge <runge@karlrunge.com>
	* add -grab_buster helper thread to break up grabs (might not be
	  need any longer due to gett XFlush-ing).  Fix scrolls and
	  copyrect for -clip and -id cases.

2005-07-06  Karl Runge <runge@karlrunge.com>
	* many improvements to the gui. now embeds into system tray ok.
	  x11vnc -debug_grabs, -printgui, -nosync

2005-07-01  Karl Runge <runge@karlrunge.com>
	* support for simple "-gui tray" mode (small icon like the original
	  x0rfbserver had).  Can't figure how to get a tray to swallow it..
	* passwd, viewpasswd changing in tray mode.
	* allow typos like: x11vnc -R -scale 3/4

2005-06-26  Karl Runge <runge@karlrunge.com>
	* track keycode state for heuristics, -sloppy_keys, -wmdt
	* add -nodbg as option

2005-06-21  Karl Runge <runge@karlrunge.com>
	* reinstate "bad desktop" for wireframe.
	* extra long info and tips of XOpenDisplay fails.

2005-06-18  Karl Runge <runge@karlrunge.com>
	* clean up some malloc/free problems (don't free the current cursor)
	* set DISPLAY before calling gconf, dcop under -solid
	* -inetd -q and no -o logfile implies closing stderr.

2005-06-14  Karl Runge <runge@karlrunge.com>
	* -DNOGUI and -DVIEWONLY build options
	* -noskip_dups the default (windows viewer sends no ups when
	  repeating)
	* HAVE_SOLARIS_XREADSCREEN and HAVE_IRIX_XREADDISPLAY
	* Alt+Button+Motion to wireframe.  tunable in WIREFRAME_PARMS
	* copyrect now the default under -scale (works OK, but must
	  send a cleanup update)
	* fix -pedantic and Sun cc warnings and errors (unsigned, etc..)
	* print out fatal error messages under -quiet
	* -seldir to control and debug selection transfers.
	* fix crashes on 64bit wrt unsigned long in rich cursors.
	* fix kde guessing errors
	* more scrolling and wireframe tweaks.

2005-06-03  Karl Runge <runge@karlrunge.com>
	* make scrollcopyrect more or less usable under -scale
	* add -fixscreen for periodic cleanup of painting errors.
	* adjust keyrepeat scroll behavior.

2005-05-30  Karl Runge <runge@karlrunge.com>
	* alter "magic cleanup key sequences" (N*Alt_L and N*Super_L)
	* dial down check_xrecord_reset() reset times.

2005-05-24  Karl Runge <runge@karlrunge.com>
	* more -scrollcopyrect: GrabServer detection, autorepeat throttling,
	  hack to clean screen 3,4,5 Alt_L in a row, mouse wheel detect.
	* fix bug wrt switching to single_copytile, add Darwin to shm limit.

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>
	* much more work on  "-scrollcopyrect" mode... getting usable.
	* remove -pointer_mode 3, shift everyone back down
	* -dbg "crash shell" for debugging
	* -add_keysyms now the default, periodically clears if needed.
	* try to autodetect if -xkb would be a good idea.
	* improve keycode guessing for -xkb mode (force ISO_Level3_Shift)
	* -remap DEAD, etc. for dead/mute keys remappings.

2005-05-02  Karl Runge <runge@karlrunge.com>
	* initial support for using RECORD to detect some types of window
	  scrolls.  This is "-scrollcopyrect" mode, use -noscrollcopyrect
	  to disable.  Much tuning and painting error repair still required.  
	* more build time customizations: REMOTE_DEFAULT, REMOTE_CONTROL,
	  EXTERNAL_COMMANDS, NOREPEAT, WIREFRAME*, SCROLL*, ...
	* added bandwidth and latency measurements.
	* added XListHosts to -privremote check.
	* debug_* remote-control variables.
	* removed OLD_TREE stuff.

2005-04-19  Karl Runge <runge@karlrunge.com>
	* somewhat safer remote-control defaults, and addnl options for
	  more safe operation: -privremote, -safer, -nocmds, -unsafe
	* -wireframe, -wirecopyrect: instead of having user look at a
	  slowly moving, lurching window, guess when a window is being
	  moved/resized and just show a wireframe. -wirecopyrect means to
	  apply rfbDoCopyRegion to the detected move as well.
	* debugging switches for X events and X damage: debug_xevents
	  debug_xdamage.
	* -rawfb bugfixes. -noviewonly hack to still send UI to X.

2005-04-11  Karl Runge <runge@karlrunge.com>
	* fix -clip under -rawfb, fix offset bug under file lseeking.
	* add -rawfb setup:cmd mode to initialize fb. example: misc/ranfb.pl

2005-04-10  Karl Runge <runge@karlrunge.com>
	* -rawfb non X-polling (i.e. shm, mmap, lseek).
	* -pipeinput enable external user input processing command.
	* -xtrap use XESimulateXEventRequest to inject user input.
	* scaling blend for StaticGray, add :fb scaling option.
	* default password macros.
	* improve -norepeat use under -viewonly.
	* -flag flagfile to aid wrapper scripts.
	* add utility scripts, etc. dir ./misc

2005-04-03  Karl Runge <runge@karlrunge.com>
	* try DEC-XTRAP on X11R5 if XTestGrabControl is missing.
	* -shiftcmap n, for 8bpp displays using < 256 color cells
	  and with pixel values shifted from zero.
	* fix DAMAGE event leak after viewers disconnect.
	* -http option to try to guess where the java viewer is.

2005-03-29  Karl Runge <runge@karlrunge.com>
	* build-time customizations X11VNC_SHARED, X11VNC_FOREVER,
	  REMOTE_CONTROL, SMALL_FOOTPRINT for CPPFLAGS
	* fix event leaks for xkb BellNotify and ClientMessage and others,
	  esp. under -nofb.  make nofb work with remote control.
	* -nolookup for bad DNS setups.
	* more playing with pointer_mode: check_user_input3()

2005-03-19  Karl Runge <runge@karlrunge.com>
	* scale cursors along with display. Use -scale_cursor to change
	  or disable cursor scaling.
	* speed up scaling in some cases, :nb and integer magnification.
	* provide alternative arrow cursors (1-6) via -arrow n.
	* reset no autorepeat a couple times if something turns it off,
	  set with -norepeat N.
	* do not take a nap if DAMAGE seems to be doing its job.

2005-03-12  Karl Runge <runge@karlrunge.com>
	* support for the X DAMAGE extension to receive damage
	  rectangle reports from the X server.  On by default, disable
	  with -noxdamage.  Currently only trusts small rects
	  (but see -xd_area n) and uses the rest as "hints" for the
	  scanline polling.
	* -clip WxH+X+Y to show a clipped sub-region of the screen.
	* use RFC 1413 (identd) to attach a name to a client in 
	  friendly environments.
	* fix XAUTHORITY wrt '-auth ... -gui other:0'.

2005-03-04  Karl Runge <runge@karlrunge.com>
	* add changes to couple with -listen option, in particular
	  the behavior of -localhost and remote control cmds.
	* workarounds for old trees.

2005-02-23  Karl Runge <runge@karlrunge.com>
	* final changes for 0.7.1 release.

2005-02-21  Karl Runge <runge@karlrunge.com>
	* -nap is now the default, disable with -nonap
	* set version to 0.7.1, word tune -help, etc.

2005-02-14  Karl Runge <runge@karlrunge.com>
	* cleanup -users stuff, add "lurk=" mode
	* support cde in -solid
	* simple gui mode for beginners, -gui ez,...

2005-02-10  Karl Runge <runge@karlrunge.com>
	* Add -input to fine tune client input (keystroke, mouse motion,
	  and button presses).  Allow per-client setting via remote cntl.
	* fix bug in get_remote_port, add ip2host for client info.

2005-02-09  Karl Runge <runge@karlrunge.com>
	* Add -users switch user mechanism and related utilities.
	* fix -solid for gnome and kde.
	* exit earlier on trapped XIO errors.

2005-02-05  Karl Runge <runge@karlrunge.com>
	* -solid solid color background when clients are connected. 
	* -opts/-? to show option names only.

2005-01-23  Karl Runge <runge@karlrunge.com>
	* sync with new draw cursor mechanism, keep old way in OLD_TREE.
	* add -timeout option, change -alphablend to be default
	* -R norepeat now forces the issue (Xsession may turn it back on).
	* try :0 if no other info.

2005-01-15  Karl Runge <runge@karlrunge.com>
	* adjust alpha blending parameters, -alphablend, handle 24bpp.
	* add -snapfb snapshot fb, not clear how useful it is..
	* more functions etc for -pointer_mode 4, still not finished.
	* scan_for_updates() "count only" mode.
	* increase max shm size on Linux.
	* -oa -logappend, -pm, -speeds 
	* fix bugs in -allow, -R connect, screen == NULL

2004-12-27  Karl Runge <runge@karlrunge.com>
	* allow -DLIBVNCSERVER_HAVE_FOO=0 override everything
	* get_xfixes_cursor() try to more carefully convert alpha channel
	  to opaque pixel.  Options -alphacut, -alphafrac, -alpharemove
	* more commands under remote control: rfbwait, rfbport, http,
	  httpport, httpdir, enablehttpproxy, desktop, alwaysshared,
	  dontdisconnect.  Add to tkx11vnc.

2004-12-22  Karl Runge <runge@karlrunge.com>
	* final polishing for 0.7 release, tkx11vnc tweaks
	* more careful rfbPE in pick_window, start check_user_input4()

2004-12-19  Karl Runge <runge@karlrunge.com>
	* cleanup putenv, snprint, other string manip.
	* add -sync mode to remote control for better control
	* allow -remote and -query at same time.

2004-12-16  Karl Runge <runge@karlrunge.com>
	* support for XFIXES extension to show the exact cursor shape,
	  working on Linux/Xorg and Solaris 10.  disable with -noxfixes
	* remote control mania - nearly everything can be changed dynamically!
	  see the -remote/-query (aka -R/-Q) options. e.g. -R scale:5/6
	* simple gui tkx11vnc based on the remote control mechanism, see -gui
	* support for XRANDR extension, if the X screen changes size (see
	  xrandr(1)), x11vnc will resize the fb. Pays to have NewFBSize viewer 
	* -overlay support on IRIX with XReadDisplay (not tested).
	* RFB_MODE is set to "accept" or "gone" in environment
	* "-id pick" will let you pick the window (calls xwininfo(1)...)
	* "-pointer_mode n" replaces -old_pointer (n=1) and -old_pointer2 (n=2)
	  a new mode n=3 is added (similary to nodragging, but dynamic).
	* "-sb n" screen blank timeout option is now documented.
	* renamed NON_CVS to OLD_TREE

2004-08-31  Karl Runge <runge@karlrunge.com>
	* new check_user_input() pointer input algorithm, it tries to avoid
	  extra-draws. still needs tuning, get previous one with -old_pointer2
	* add NON_CVS macro for building in older CVS trees.

2004-08-29  Karl Runge <runge@karlrunge.com>
	* remove old mouse patch code, now use rfbSetCursor (+ workarounds)
	* changed cursor shape options (no more -mouse, ...) to '-cursor mode'
	  where 'mode' can be empty "X", "some", or "most".  "some" adds
	  heuristics for two more cursors.
	* -nocursorshape added.
	* ifdef checks for XSHM and XTEST.  Add *_wr wrappers as well.
	* -vncconnect is now the default.

2004-08-15  Karl Runge <runge@karlrunge.com>
	* -overlay option to fix color problems on Sun machines with 8+24
	  and 24+8 overlay visuals, uses Solaris XReadScreen().
	* expose -sid option (shifted -id windowid) to allow explicit
	  wrapping of XGetImage, etc for -overlay
	* fix misc bugs: missing var types, hardwired blackouts sizes,
	  subwin desktop name crash.
	  
2004-08-03  Karl Runge <runge@karlrunge.com>
	* add man page x11vnc.1 autogenerated from x11vnc -help; tweak
	  help output a little bit.  Adjust autoconf to pick up manpage.
	* add README from website docs.
	* zero watch_bell and use_xkb_modtweak if no XKEYBOARD

2004-07-31  Karl Runge <runge@karlrunge.com>
	* -cursorpos now the default; make cursorpos work when scaling
	* fix bug with multiple adds of the same keysym for -add_keysyms
	* rewhack -help output again
	* adjust version number and output.

2004-07-28  Karl Runge <runge@karlrunge.com>
	* -add_keysyms dynamically add missing keysyms to X server

2004-07-26  Karl Runge <runge@karlrunge.com>
	* first pass at doing modtweak via XKEYBOARD extension (-xkb)
	* -skip_keycodes option for use with -xkb
	* reset modtweak and xkb_modtweak on event MappingNotify.
	* trap Xerror during XSendEvent/XChangeProperty.
	* fix bug requesting PRIMARY way too often.
	* more careful to check if XKeysymToString returns NULL.
	* continuation lines "\" in x11vncrc.
	* undoc'd expts: -isolevel3, -xkbcompat

2004-07-19  Karl Runge <runge@karlrunge.com>
	* ignore keysyms 5-8 for keycode keymapping.
	* help to stdout for easy paging, add lastmod to help and -version.

2004-07-15  Karl Runge <runge@karlrunge.com>
	* make "modtweak" the default, disable with -nomodtweak.  this
	  corrects ghost "< >" key on pc104 us in XFree86.
	* fix bug wrt no got_keyboard_input under modtweak

2004-07-10  Karl Runge <runge@karlrunge.com>
	* -norepeat to turn off X server autorepeat when clients exist,
	  (this is workaround for the repeating keystroke bug.  Note that
	  client side does autorepeating so not a big loss).

2004-07-04  Karl Runge <runge@karlrunge.com>
	* extend -allow to re-read a file with allowed IP addresses. 
	* improvements to -help text.

2004-07-01  Karl Runge <runge@karlrunge.com>
	* improve scaled grid calculation to prevent drift (which causes
	  drift in pixel weights and poorer tightvnc compression)
	* add ":pad" scale option, detect small fraction scale = m/n.

2004-06-28  Karl Runge <runge@karlrunge.com>
	* round scaled width to multiple of 4 to make vncviewer happy.
	* allow override of above ":n4" and allow 4 point interpolation
	  to be used even with shrinking ":in". 

2004-06-27  Karl Runge <runge@karlrunge.com>
	* speed up scaling a bit for slow machines (still all floating point)
	* add no blending option (-scale fraction:nb)

2004-06-26  Karl Runge <runge@karlrunge.com>
	* add -scale fract for global (not per-client) server-side scaling
	  working more or less OK, needs to be optimized at some point.
	* remove -hints/-nohints options.

2004-06-17  Karl Runge <runge@karlrunge.com>
	* simple ~/.x11vncrc config file support, -rc, -norc

2004-06-12  Karl Runge <runge@karlrunge.com>
	* add -clear_mods -clear_keys for (rare) case where keys are
	  not being released (e.g. Ctrl-C x11vnc thru x11vnc).
	* export RFB_SERVER_IP and RFB_SERVER_PORT to -accept program
	  so that the tcp 4-tuple is completely specified.  
	* add -storepasswd <pass> <file> so storepasswd program not needed

2004-06-05  Karl Runge <runge@karlrunge.com>
	* rearrange file for easier maintenance, indicating file breakup.
	* add RFB_CLIENT_COUNT, number of other connected clients to
	  -accept and -gone commands.

2004-05-27  Karl Runge <runge@karlrunge.com>
	* add view-only passwd via -viewpasswd and 2nd line of -passwdfile

2004-05-21  Karl Runge <runge@karlrunge.com>
	* -accept: add view-only decision and other improvements.
	* add -gone command option for when a client leaves.
	  Thanks to Jesus Alvarez for these ideas.
	* -passwdfile to keep passwd off of cmd line.
	* -o logfile send stderr to a logfile.

2004-05-14  Karl Runge <runge@karlrunge.com>
	* improvements to -accept popup: yes/no buttons and timeout. 
	* less fprintf under -q so '-q -inetd' has no stderr output. 

2004-05-08  Karl Runge <runge@karlrunge.com>
	* add -accept some-command/xmessage/popup to prompt local X11 user
	  or otherwise decide to accept an incoming client. 
	* clean up -Wall warnings.

2004-05-05  Karl Runge <runge@karlrunge.com>
	* enable mouse button -> keystrokes mapping in -buttonmap (mousewheel)
	* enable keystroke -> mouse button mapping in -remap (touchpad paste)
	  (-remap incompat ':' -> '-', sorry...)
	* shm OS blacklist (i.e. <= SunOS 5.8) -> -onetile
	* revert to check_user_input() under -nofb
	* cleanup: lastmod, remove tile_shm and update_client_pointer,
	  debug output, rfbPort failure. 
	* user friendly last line: 'The VNC desktop is hostname:0'

2004-04-28  Karl Runge <runge@karlrunge.com>
	* -auth cmdline option for xauthority.
	* decrease default deferupdate under -nofb.
	* update_client_pointer() from Edoardo Tirtarahardja.
	* remove some assumptions about libvncserver defaults.

2004-04-19  Karl Runge <runge@karlrunge.com>
	* support for cursor positions updates -cursorpos
	* option for SIGPIPE handling -sigpipe

2004-04-13  Karl Runge <runge@karlrunge.com>
	* solve problem with sending selection when client initializing
	  (not yet in RFB_NORMAL state).  Increase delay to 15s as well. 
	* when threaded: limit rfbMaxClientWait to >= 20 secs and
	  increase it to a huge value unless -rfbwait is supplied.

2004-04-08  Karl Runge <runge@karlrunge.com>
	* added support for blacking out regions of the screen, primarily
	  for Xinerama usage, options: -blackout -xinerama
	* Xinerama workaround mouse problem on 'embedded' system, 
	  option -xwarppointer (XWarpPointer instead of XTEST)
	* let -remap option take key remappings on cmdline as well as file.
	* use cargs fix to test for invalid cmdline options. Add --option.
	* remove copy_tile, use copy_tiles(..., 1) instead.

2004-03-10  Karl Runge <runge@karlrunge.com>
	* added reverse connection for vncconnect(1) and other means
	  -vncconnect, -connect host:port, and -connect watchfile 
	* added first pass at user keysym remapping feature via
	  -remap file.  Ignores modifier state, need to generalize.
	* debugging options for users -debug_pointer and -debug_keyboard
	* clear -passwd from argv for privacy (if OS allows).

2004-02-19  Karl Runge <runge@karlrunge.com>
	* added handling of clipboard/selection exchange to/from clients,
	  even holds PRIMARY which Xvnc does not do.  disable with -nosel.
	  use -noprimary to disable polling of PRIMARY selection.
	* added -visual option to force framebuffer visual.  not really
	  of general use, more for testing and workarounds (e.g. win2vnc
	  fails under 8bpp index color)
	* improve cleanup and error handling WRT shm and other failures.

2004-01-19  Karl Runge <runge@karlrunge.com>
	* improvements to pointer event handling primarily during window
	  dragging.  check_user_input() for non-threaded and pointer()
	  for threaded.  Revert to old way via -old_pointer option.
	* some memory I/O improvement by using copy_tiles() instead
	  of copy_tile().  New one does rows of tiles at same time.
	  Revert to old way via -old_copytile.
	* handle case of more mouse buttons on client than on X server.
	* added -buttonmap option for finer control over button differences.

2004-01-09  Karl Runge <runge@karlrunge.com>
	* options -allow / -localhost for simple IP based access screening
	* option -nodragging to skip all screen updates during mouse drags
	  (thanks to Michal Sabala)
	* option -input_skip to allow users to tune watch_loop dropthru rate
	* try to avoid wasting RAM for framebuffer under -nofb
	* cleanup wrt bpp vs. depth

2003-12-08  Karl Runge <runge@karlrunge.com>
	* add Xbell support using XKEYBOARD extension (disable: -nobell)
	* add "-nofb" to disable framebuffer, i.e. mouse + keyboard only (!)
	* add "-notruecolor" to force indexed 8bpp color (when 8bpp) 
	* make alias "-forever" for "-many"

From Karl (x11vnc's father) on Apr 2, 2003:
	
New option -nocursor to not display the vncviewer local cursor if user
does not want it (also caused some problems with older vncviewers)

New option -mouse to show the position of the X server mouse (i.e. lagged
from the user's vnc cursor position).  Also: -mouseX will try to show
the a different cursor (X) when on the root background.

New option -many to wait for more connections rather than exiting when
the first client(s) disconnect.

New option -flashcmap to try to follow installed colormaps under 8bpp
indexed color as pointer is moved.

New option -nap to watch for low activity and throttle down the polling
rate.  Useful on shared machines to keep the load down.

Experimental option -id <windowid> to show just that window and not
the whole display.  Some remaining bugs and inconvenient behavior...
(e.g. new toplevels can be unseen)

Fixed bug on multi-headed machines where the screen number was being
ignored in a number of places.

Fixed bug wrt connect_once mode.  Now just refuses new clients unless
shared rather than terminating all clients.

Try to follow changing default colormap under 8bpp indexed color
as color cells are added.

Needed to pick up HAVE_LIBPTHREAD from autoconf.

defined a select() macro for usleep() since usleep is not always thread
safe.

Catch and exit on errors in the shm setup work (XShmCreateImage, shmget,...)
and moved the creation and removal work to separate utility functions.

Added signal and X error handlers to try to clean out the shm objects
before exiting on interrupt, etc.

Improved performance a bit on the memcmp() in scan_display() by checking
the whole line first.

Added a workaround when threaded where libvncserver may disconnect too
early if it does not hear from a client (a small heartbeat is sent).
This may not be needed any longer.

If -desktop has not been prescribed, try to choose a title based on DISPLAY
and the hostname (and window name under -id).
OpenPOWER on IntegriCloud