Tags: patch

On Wed, Jul 06, 2005 at 07:58:09PM +0200, Ola Lundqvist wrote:
> Patches are always welcome. :)

I've not written in *roff before, nor am I familiar with man page
standards, but here it comes.  I used a format similar to --help
rather than document -listen as a normal option, as it changes
the host:port parameter to a display number.
-- 
Rob


*** x2vnc.1.old 2005-07-06 12:22:15.000000000 -0600
--- x2vnc.1     2005-07-06 12:41:06.000000000 -0600
***************
*** 5,11 ****
  .SH SYNOPSIS
  .B x2vnc
  .I <options>
! .I host:0
  .br
  [
  .B \-display
--- 5,16 ----
  .SH SYNOPSIS
  .B x2vnc
  .I <options>
! .I <host>:<display#>
! .br
! .B x2vnc
! .I <options>
! .I -listen
! .I [<display#>]
  .br
  [
  .B \-display
***************
*** 108,113 ****
--- 113,127 ----
  running which will update the contents on the actual screen. This means
  \fIXvnc\fR is not suitable, but \fIWinVNC\fR is.
  
+ In listen mode (
+ .B -listen
+ option specified )
+ .I x2vnc
+ will wait for a connection from a VNC server on ports 5400 and 5500 (plus
+ the optional
+ .I display#
+ value) instead of connecting to a specified VNC server.
+ 
  For up-to-date information on x2vnc, see the x2vnc home page:
  .B http://fredrik.hubbe.net/x2vnc.html
  
***************
*** 125,131 ****
  With this option you can start x2vnc without entering a password. The file is
  created by \fBvncpasswd\fR which comes with the X-windows VNC software. 
  If the file does not exist, \fIx2vnc\fR will ask for a password and
! create the file.
  .TP
  \fB\-resurface\fR
  This option will cause the trigger window to re-surface automatically if it is
--- 139,145 ----
  With this option you can start x2vnc without entering a password. The file is
  created by \fBvncpasswd\fR which comes with the X-windows VNC software. 
  If the file does not exist, \fIx2vnc\fR will ask for a password and
! create the file.  A password is not used in listen mode.
  .TP
  \fB\-resurface\fR
  This option will cause the trigger window to re-surface automatically if it is


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]

Reply via email to