Update documentation to version 1.1
This commit is contained in:
+8
-2
@@ -23,6 +23,7 @@ new
|
|||||||
[-s]
|
[-s]
|
||||||
[-i IP]
|
[-i IP]
|
||||||
[-p port]
|
[-p port]
|
||||||
|
[-c colors]
|
||||||
[-- command...]
|
[-- command...]
|
||||||
.br
|
.br
|
||||||
.SH DESCRIPTION
|
.SH DESCRIPTION
|
||||||
@@ -33,7 +34,8 @@ remote terminal application.
|
|||||||
\fBmosh-server\fP binds to a high UDP port and chooses an encryption
|
\fBmosh-server\fP binds to a high UDP port and chooses an encryption
|
||||||
key to protect the session. It prints both on standard output,
|
key to protect the session. It prints both on standard output,
|
||||||
detaches from the terminal, and waits for the \fBmosh-client\fP to
|
detaches from the terminal, and waits for the \fBmosh-client\fP to
|
||||||
establish a connection.
|
establish a connection. It will exit if no client has contacted
|
||||||
|
it within 60 seconds.
|
||||||
|
|
||||||
By default, \fBmosh-server\fP binds to a port between 60000 and
|
By default, \fBmosh-server\fP binds to a port between 60000 and
|
||||||
61000 and executes the user's login shell.
|
61000 and executes the user's login shell.
|
||||||
@@ -65,6 +67,10 @@ IP address of the local interface to bind (for multihomed hosts)
|
|||||||
.B \-p \fIPORT\fP
|
.B \-p \fIPORT\fP
|
||||||
UDP port number to bind
|
UDP port number to bind
|
||||||
|
|
||||||
|
.TP
|
||||||
|
.B \-c \fICOLORS\fP
|
||||||
|
Number of colors to advertise to applications through TERM (e.g. 8, 256)
|
||||||
|
|
||||||
.SH EXAMPLE
|
.SH EXAMPLE
|
||||||
|
|
||||||
.nf
|
.nf
|
||||||
@@ -72,7 +78,7 @@ $ mosh-server
|
|||||||
|
|
||||||
MOSH CONNECT 60001 UAkFedSsVJs2LfMeKyQB5g
|
MOSH CONNECT 60001 UAkFedSsVJs2LfMeKyQB5g
|
||||||
|
|
||||||
mosh-server (mosh 1.0)
|
mosh-server (mosh 1.1)
|
||||||
[...] (copyright notice omitted)
|
[...] (copyright notice omitted)
|
||||||
|
|
||||||
[mosh-server detached, pid = 20443]
|
[mosh-server detached, pid = 20443]
|
||||||
|
|||||||
@@ -71,7 +71,7 @@ using namespace std;
|
|||||||
|
|
||||||
void print_usage( const char *argv0 )
|
void print_usage( const char *argv0 )
|
||||||
{
|
{
|
||||||
fprintf( stderr, "Usage: %s new [-s] [-i LOCALADDR] [-p PORT] [-- COMMAND...]\n", argv0 );
|
fprintf( stderr, "Usage: %s new [-s] [-i LOCALADDR] [-p PORT] [-c COLORS] [-- COMMAND...]\n", argv0 );
|
||||||
}
|
}
|
||||||
|
|
||||||
/* Simple spinloop */
|
/* Simple spinloop */
|
||||||
|
|||||||
Reference in New Issue
Block a user