From 2560ba84e8ec82ce0ff6cd415650e0168c8ba583 Mon Sep 17 00:00:00 2001 From: Robert Schmidt Date: Mon, 13 Mar 2023 19:45:55 +0100 Subject: [PATCH] telnet documentation --- common/utils/telnetsrv/DOC/telnetusage.md | 11 ++++++++--- 1 file changed, 8 insertions(+), 3 deletions(-) diff --git a/common/utils/telnetsrv/DOC/telnetusage.md b/common/utils/telnetsrv/DOC/telnetusage.md index 2c6d5c1bab..8b8b72a698 100644 --- a/common/utils/telnetsrv/DOC/telnetusage.md +++ b/common/utils/telnetsrv/DOC/telnetusage.md @@ -32,10 +32,15 @@ The telnet server is using the [oai configuration module](Config/Rtusage). Telne |:---:|:---:|:---:|:----|:----:| | `listenaddr` | `ipV4 address, ascii format` | "0.0.0.0" | local address the server is listening on| N | | `listenport` | `integer` | 9090 | port number the server is listening on | N | +| `listenstdin` | `integer` (bool) | 0 | enable input from stdin via additional thread | N | +| `policy` | `integer` | 0 | scheduling priority for telnet (0-99) | N | | `loopcount` | `integer` | 10 | number of iterations for the loop command | Y | | `loopdelay` | `integer` | 5000 | delay (in ms) between 2 loop command iterations | Y | -| `histfile` | `character string` | "oaitelnet.history" | file used for command history persistency | Y | -| `histfsize` | `integer` | 50 | maximum number of commands saved in the history | Y | -| complete | +| `histfile` | `string` | "oaitelnet.history" | file used for command history persistency | Y | +| `histsize` | `integer` | 50 | maximum number of commands saved in the history | Y | +| `logfile` | `string` | `oaisoftmodem.log` | output file to which to redirect +| `phypbsize` | `integer` | 65000 | string buffer size to dump phy stats | Y | +| `staticmod` | `string` | (empty) | additional internally defined telnet modules (`--telnetsrv.staticmod X`, comma-separated) to load on startup. The modules should define a function `add_X_cmds()` in which the module can register telnet commands | N | +| `shrmod` | `string` | (empty) | additional shared object files `telnetsrv_X.so` (`--telnetsrv.shrmod X`, comma-separated) to load on startup. The shared object(s) should define a function `add_X_cmds()` in which the shared object can register telnet commands | N | [oai telnet server home](telnetsrv.md)