Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
N
nx-libs
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
1
Issues
1
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
dimbor
nx-libs
Commits
c571aa9e
Unverified
Commit
c571aa9e
authored
Dec 07, 2017
by
Mihai Moldovan
Browse files
Options
Browse Files
Download
Plain Diff
Merge branch 'uli42-pr/improve_nxproxy_help' into 3.6.x
Attributes GH PR #578:
https://github.com/ArcticaProject/nx-libs/pull/578
parents
80e590ea
9e3381cc
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
51 additions
and
6 deletions
+51
-6
Misc.cpp
nxcomp/src/Misc.cpp
+23
-6
nxproxy.1
nxproxy/man/nxproxy.1
+28
-0
No files found.
nxcomp/src/Misc.cpp
View file @
c571aa9e
...
@@ -132,6 +132,20 @@ static const char UsageInfo[] =
...
@@ -132,6 +132,20 @@ static const char UsageInfo[] =
\n
\
\n
\
-v Print version information.
\n
\
-v Print version information.
\n
\
\n
\
\n
\
-d <n> Set log level (0=FATAL, 1=ERROR, 2=WARNING, 3=INFO,
\n
\
4=DEBUG). Default is 0.
\n
\
\n
\
-o <file> Name of the logfile. Default is stderr.
\n
\
\n
\
-f <string> Specify log format. The characters in <string> 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
\
host:port Put at the end, specifies the host and port of the
\n
\
listening proxy.
\n
\
listening proxy.
\n
\
\n
\
\n
\
...
@@ -165,7 +179,7 @@ static const char UsageInfo[] =
...
@@ -165,7 +179,7 @@ static const char UsageInfo[] =
\n
\
\n
\
port=n Remote port used for the connection.
\n
\
port=n Remote port used for the connection.
\n
\
\n
\
\n
\
retry=n Number of connection atempts.
\n
\
retry=n Number of connection at
t
empts.
\n
\
\n
\
\n
\
root=s The root directory for the session. Usually is the
\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
\
C-* or S-* in the .nx directory in the user's home,
\n
\
...
@@ -177,8 +191,8 @@ static const char UsageInfo[] =
...
@@ -177,8 +191,8 @@ static const char UsageInfo[] =
errors=s Name of the log file used by the proxy. The default
\n
\
errors=s Name of the log file used by the proxy. The default
\n
\
is the name 'errors' in the session directory.
\n
\
is the name 'errors' in the session directory.
\n
\
\n
\
\n
\
stats=s Name of the file where
are written the proxy sta
t-
\n
\
stats=s Name of the file where
the proxy statistics are wri
t-
\n
\
istics
. The default is a file 'stats' in the session
\n
\
ten to
. The default is a file 'stats' in the session
\n
\
directory. The proxy replaces the data in the file
\n
\
directory. The proxy replaces the data in the file
\n
\
whenever it receives a SIGUSR1 or SIGUSR2 signal:
\n
\
whenever it receives a SIGUSR1 or SIGUSR2 signal:
\n
\
\n
\
\n
\
...
@@ -226,8 +240,8 @@ static const char UsageInfo[] =
...
@@ -226,8 +240,8 @@ static const char UsageInfo[] =
\n
\
\n
\
limit=n Specify a bitrate limit allowed for this session.
\n
\
limit=n Specify a bitrate limit allowed for this session.
\n
\
\n
\
\n
\
memory=n Trigger memory optimizations used to keep
small th
e
\n
\
memory=n Trigger memory optimizations used to keep
the siz
e
\n
\
size of X buffers
. This is useful on embedded plat-
\n
\
of X buffers small
. This is useful on embedded plat-
\n
\
forms, or where memory is scarce.
\n
\
forms, or where memory is scarce.
\n
\
\n
\
\n
\
cache=n Size of the in-memory X message cache. Setting the
\n
\
cache=n Size of the in-memory X message cache. Setting the
\n
\
...
@@ -331,6 +345,7 @@ tile=s\n\
...
@@ -331,6 +345,7 @@ tile=s\n\
menu=n
\n
\
menu=n
\n
\
sleep=n
\n
\
sleep=n
\n
\
tolerancechecks=s
\n
\
tolerancechecks=s
\n
\
keyconv=s
\n
\
These options are interpreted by the NX agent. They
\n
\
These options are interpreted by the NX agent. They
\n
\
are ignored by the proxy.
\n
\
are ignored by the proxy.
\n
\
\n
\
\n
\
...
@@ -360,6 +375,8 @@ tolerancechecks=s\n\
...
@@ -360,6 +375,8 @@ tolerancechecks=s\n\
Mac where nxclient is located in a different direct-
\n
\
Mac where nxclient is located in a different direct-
\n
\
ory compared to the other programs, to make easier
\n
\
ory compared to the other programs, to make easier
\n
\
for the user to execute the program from the shell.
\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
\
\n
\
NX_SLAVE_CMD The full path to the slave channel handler. When the
\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
\
slave channel is enabled, the agent will listen on a
\n
\
...
@@ -377,7 +394,7 @@ tolerancechecks=s\n\
...
@@ -377,7 +394,7 @@ tolerancechecks=s\n\
ory is not set, null or invalid.
\n
\
ory is not set, null or invalid.
\n
\
\n
\
\n
\
PATH The path where all executables are searched, except
\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
nx
client
\n
\
executable is searched in the system path.
\n
\
executable is searched in the system path.
\n
\
\n
\
\n
\
LD_LIBRARY_PATH
\n
\
LD_LIBRARY_PATH
\n
\
...
...
nxproxy/man/nxproxy.1
View file @
c571aa9e
...
@@ -36,6 +36,34 @@ Print this message.
...
@@ -36,6 +36,34 @@ Print this message.
.B -v
.B -v
Print version information.
Print version information.
.TP 8
.TP 8
.B -d <int>
Set log level (0 for FATAL, 1 for ERROR, 2 for WARNING, 3 for INFO, 4 for
DEBUG). The default is 0.
.TP 8
.B -o <string>
Name of the log file. Default is stderr.
.TP 8
.B -f <string>
Specify log format. The characters in <string> define how the loglines
are formatted. The following characters are supported, default is '0':
.RS 8
.TP 8
.I 0
only the plain text without any additions. This is the default.
.TP 8
.I u
include time
.TP 8
.I l
include loglevel
.TP 8
.I T
include thread ids
.TP 8
.I L
include the location of the log call in the source code
.RE
.TP 8
.B <host>:<port>
.B <host>:<port>
Put at the end, specifies the host and port of the listening proxy.
Put at the end, specifies the host and port of the listening proxy.
...
...
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