diff --git a/README.md b/README.md index 541bf20..a04ef40 100644 --- a/README.md +++ b/README.md @@ -248,11 +248,16 @@ sudo dnf install libssh-devel TNT/ ├── src/ # source code │ ├── main.c # entry point +│ ├── cli_text.c # startup CLI help and option text │ ├── ssh_server.c # SSH server implementation +│ ├── bootstrap.c # SSH authentication and session bootstrap │ ├── chat_room.c # chat room logic │ ├── message.c # message persistence │ ├── history_view.c # message viewport and scroll state -│ ├── support.c # quick support guide content +│ ├── help_text.c # full-screen and command help content +│ ├── support_text.c # quick support guide content +│ ├── i18n.c # language selection and shared UI text +│ ├── ratelimit.c # connection limits and rate limiting │ ├── tui.c # terminal UI rendering │ ├── tui_status.c # status/input line rendering │ └── utf8.c # UTF-8 character handling @@ -382,8 +387,8 @@ logged to stderr with the offending IP. ### Idle disconnect After `TNT_IDLE_TIMEOUT` seconds (default 1800 = 30 min) of no -keystrokes, TNT prints `Disconnected: idle timeout (N min)` and closes -the channel. Set the env var to `0` to disable. +keystrokes, TNT prints a localized idle-timeout notice and closes the +channel. Set the env var to `0` to disable. ## Known Limitations diff --git a/docs/CHANGELOG.md b/docs/CHANGELOG.md index 068e52c..77f4c89 100644 --- a/docs/CHANGELOG.md +++ b/docs/CHANGELOG.md @@ -53,6 +53,8 @@ `host_key` / `messages.log` into the test directory. - Added `make security-test` and `make ci-test` so local runs can use the same full verification path as GitHub Actions. +- Refreshed README and quick-reference module maps to match the current + `cli_text`, `help_text`, `support_text`, i18n, exec, and rate-limit modules. - NORMAL mode now opens at the latest visible messages instead of the oldest in-memory message. Use `k`/PageUp to browse older history and `G`/End to return to the latest messages. diff --git a/docs/QUICKREF.md b/docs/QUICKREF.md index 084eab5..20e678d 100644 --- a/docs/QUICKREF.md +++ b/docs/QUICKREF.md @@ -9,8 +9,11 @@ BUILD make clean remove artifacts TEST - ./test_basic.sh basic functionality - ./test_stress.sh 20 60 stress test (20 clients, 60s) + make test strict unit + integration tests + make test-advisory unit tests + advisory integration checks + make connection-limit-test per-IP concurrency/rate-limit checks + make security-test security feature checks + make ci-test same checks as GitHub Actions DEBUG ASAN_OPTIONS=detect_leaks=1 ./tnt @@ -39,12 +42,19 @@ INSERT MODE STRUCTURE src/main.c entry, signals - src/ssh_server.c SSH, threads, commands - src/chat_room.c broadcast + src/cli_text.c startup CLI text + src/ssh_server.c SSH listener and server setup + src/bootstrap.c SSH auth/session bootstrap + src/chat_room.c broadcast and room state + src/commands.c COMMAND-mode command dispatch + src/exec.c SSH exec command dispatch src/message.c persistence, search src/history_view.c message viewport / scroll state - src/support.c quick support guide content - src/tui.c rendering, help + src/help_text.c full-screen and command help text + src/support_text.c quick support guide content + src/i18n.c language selection and shared text + src/ratelimit.c connection limits and rate limiting + src/tui.c rendering src/tui_status.c status/input line rendering src/utf8.c unicode