From f51194fb15e2d701991cc7cabfff12e521067b48 Mon Sep 17 00:00:00 2001 From: Ulrich Sibiller Date: Mon, 27 Nov 2017 23:35:04 +0100 Subject: nxcomp/nxproxy: add missing hint for keyconv option --- nxcomp/src/Misc.cpp | 1 + 1 file changed, 1 insertion(+) (limited to 'nxcomp/src/Misc.cpp') diff --git a/nxcomp/src/Misc.cpp b/nxcomp/src/Misc.cpp index 6d9ce08b7..238e01787 100644 --- a/nxcomp/src/Misc.cpp +++ b/nxcomp/src/Misc.cpp @@ -331,6 +331,7 @@ tile=s\n\ menu=n\n\ sleep=n\n\ tolerancechecks=s\n\ +keyconv=s\n\ These options are interpreted by the NX agent. They\n\ are ignored by the proxy.\n\ \n\ -- cgit v1.2.3 From 3fcb8e4eef391fe7effe3809eec092a36091fc08 Mon Sep 17 00:00:00 2001 From: Ulrich Sibiller Date: Mon, 27 Nov 2017 23:37:58 +0100 Subject: nxcomp/nxproxy: slightly improve the usage message of nxproxy --- nxcomp/src/Misc.cpp | 14 ++++++++------ 1 file changed, 8 insertions(+), 6 deletions(-) (limited to 'nxcomp/src/Misc.cpp') diff --git a/nxcomp/src/Misc.cpp b/nxcomp/src/Misc.cpp index 238e01787..947026c82 100644 --- a/nxcomp/src/Misc.cpp +++ b/nxcomp/src/Misc.cpp @@ -165,7 +165,7 @@ static const char UsageInfo[] = \n\ port=n Remote port used for the connection.\n\ \n\ - retry=n Number of connection atempts.\n\ + retry=n Number of connection attempts.\n\ \n\ root=s The root directory for the session. Usually is the\n\ C-* or S-* in the .nx directory in the user's home,\n\ @@ -177,8 +177,8 @@ static const char UsageInfo[] = errors=s Name of the log file used by the proxy. The default\n\ is the name 'errors' in the session directory.\n\ \n\ - stats=s Name of the file where are written the proxy stat-\n\ - istics. The default is a file 'stats' in the session\n\ + stats=s Name of the file where the proxy statistics are writ-\n\ + ten to. The default is a file 'stats' in the session\n\ directory. The proxy replaces the data in the file\n\ whenever it receives a SIGUSR1 or SIGUSR2 signal:\n\ \n\ @@ -226,8 +226,8 @@ static const char UsageInfo[] = \n\ limit=n Specify a bitrate limit allowed for this session.\n\ \n\ - memory=n Trigger memory optimizations used to keep small the\n\ - size of X buffers. This is useful on embedded plat-\n\ + memory=n Trigger memory optimizations used to keep the size\n\ + of X buffers small. This is useful on embedded plat-\n\ forms, or where memory is scarce.\n\ \n\ cache=n Size of the in-memory X message cache. Setting the\n\ @@ -361,6 +361,8 @@ keyconv=s\n\ Mac where nxclient is located in a different direct-\n\ ory compared to the other programs, to make easier\n\ for the user to execute the program from the shell.\n\ + The nxclient executable will be used for displaying\n\ + the menu and request windows to the user.\n\ \n\ NX_SLAVE_CMD The full path to the slave channel handler. When the\n\ slave channel is enabled, the agent will listen on a\n\ @@ -378,7 +380,7 @@ keyconv=s\n\ ory is not set, null or invalid.\n\ \n\ PATH The path where all executables are searched, except\n\ - nxclient. If NX_CLIENT is not set, also the client\n\ + nxclient. If NX_CLIENT is not set, also the nxclient\n\ executable is searched in the system path.\n\ \n\ LD_LIBRARY_PATH\n\ -- cgit v1.2.3 From 9e3381cc858e249b13777e31cfc40a87f8d10bb7 Mon Sep 17 00:00:00 2001 From: Ulrich Sibiller Date: Wed, 29 Nov 2017 00:02:01 +0100 Subject: nxproxy/nxcomp: document logging options --- nxcomp/src/Misc.cpp | 14 ++++++++++++++ 1 file changed, 14 insertions(+) (limited to 'nxcomp/src/Misc.cpp') diff --git a/nxcomp/src/Misc.cpp b/nxcomp/src/Misc.cpp index 947026c82..7e468f1e2 100644 --- a/nxcomp/src/Misc.cpp +++ b/nxcomp/src/Misc.cpp @@ -131,6 +131,20 @@ static const char UsageInfo[] = -h Print this message.\n\ \n\ -v Print version information.\n\ +\n\ + -d Set log level (0=FATAL, 1=ERROR, 2=WARNING, 3=INFO,\n\ + 4=DEBUG). Default is 0.\n\ +\n\ + -o Name of the logfile. Default is stderr.\n\ +\n\ + -f Specify log format. The characters in define\n\ + how the loglines are formatted. The following characters\n\ + are supported, default is 0:\n\ + 0 only the plain text without any additions\n\ + u include time\n\ + l include loglevel\n\ + T include thread ids\n\ + L include the source code location of the log\n\ \n\ host:port Put at the end, specifies the host and port of the\n\ listening proxy.\n\ -- cgit v1.2.3