diff options
author | Daniel Baumann <daniel.baumann@progress-linux.org> | 2024-04-08 08:14:42 +0000 |
---|---|---|
committer | Daniel Baumann <daniel.baumann@progress-linux.org> | 2024-04-08 08:14:42 +0000 |
commit | 6963f5f48ed68cb42b92e40c84014bd12cd377fc (patch) | |
tree | c2abdd80665f8494280a65417a9c21156ff41125 /man | |
parent | Adding upstream version 1.7.3. (diff) | |
download | ttyd-6963f5f48ed68cb42b92e40c84014bd12cd377fc.tar.xz ttyd-6963f5f48ed68cb42b92e40c84014bd12cd377fc.zip |
Adding upstream version 1.7.7.upstream/1.7.7upstream
Signed-off-by: Daniel Baumann <daniel.baumann@progress-linux.org>
Diffstat (limited to '')
-rw-r--r-- | man/ttyd.1 | 14 | ||||
-rw-r--r-- | man/ttyd.man.md | 13 |
2 files changed, 17 insertions, 10 deletions
@@ -78,12 +78,12 @@ Cross platform: macOS, Linux, FreeBSD/OpenBSD, OpenWrt/LEDE, Windows Allow client to send command line arguments in URL (eg: http://localhost:7681?arg=foo&arg=bar) .PP --R, --readonly - Do not allow clients to write to the TTY +-W, --writable + Allow clients to write to the TTY (readonly by default) .PP -t, --client-option - Send option to client (format: key=value), repeat to add more options, see \fBCLIENT OPTOINS\fP for details + Send option to client (format: key=value), repeat to add more options, see \fBCLIENT OPTIONS\fP for details .PP -T, --terminal-type @@ -102,6 +102,10 @@ Cross platform: macOS, Linux, FreeBSD/OpenBSD, OpenWrt/LEDE, Windows Accept only one client and exit on disconnection .PP +-q, --exit-no-conn + Exit on all clients disconnection + +.PP -B, --browser Open terminal with the default system browser @@ -115,7 +119,7 @@ Cross platform: macOS, Linux, FreeBSD/OpenBSD, OpenWrt/LEDE, Windows .PP -P, --ping-interval - Websocket ping interval(sec) (default: 300) + Websocket ping interval(sec) (default: 5) .PP -6, --ipv6 @@ -150,7 +154,7 @@ Cross platform: macOS, Linux, FreeBSD/OpenBSD, OpenWrt/LEDE, Windows Print this text and exit -.SH CLIENT OPTOINS +.SH CLIENT OPTIONS .PP ttyd has a mechanism to pass server side command-line arguments to the browser page which is called \fBclient options\fP: diff --git a/man/ttyd.man.md b/man/ttyd.man.md index ed04680..98497cb 100644 --- a/man/ttyd.man.md +++ b/man/ttyd.man.md @@ -50,11 +50,11 @@ ttyd 1 "September 2016" ttyd "User Manual" -a, --url-arg Allow client to send command line arguments in URL (eg: http://localhost:7681?arg=foo&arg=bar) - -R, --readonly - Do not allow clients to write to the TTY + -W, --writable + Allow clients to write to the TTY (readonly by default) -t, --client-option <key=value> - Send option to client (format: key=value), repeat to add more options, see **CLIENT OPTOINS** for details + Send option to client (format: key=value), repeat to add more options, see **CLIENT OPTIONS** for details -T, --terminal-type Terminal type to report, default: xterm-256color @@ -68,6 +68,9 @@ ttyd 1 "September 2016" ttyd "User Manual" -o, --once Accept only one client and exit on disconnection + -q, --exit-no-conn + Exit on all clients disconnection + -B, --browser Open terminal with the default system browser @@ -78,7 +81,7 @@ ttyd 1 "September 2016" ttyd "User Manual" Expected base path for requests coming from a reverse proxy (eg: /mounted/here, max length: 128) -P, --ping-interval - Websocket ping interval(sec) (default: 300) + Websocket ping interval(sec) (default: 5) -6, --ipv6 Enable IPv6 support @@ -104,7 +107,7 @@ ttyd 1 "September 2016" ttyd "User Manual" -h, --help Print this text and exit -# CLIENT OPTOINS +# CLIENT OPTIONS ttyd has a mechanism to pass server side command-line arguments to the browser page which is called **client options**: ```bash |