From 3d9f9df366e042387f191117d6187fb7c33d576b Mon Sep 17 00:00:00 2001 From: Aleteoryx Date: Fri, 19 Sep 2025 18:44:00 -0400 Subject: [PATCH] document client --- README.md | 24 ++++++++++++++++++++++++ 1 file changed, 24 insertions(+) diff --git a/README.md b/README.md index 51890dc988b2673aaa0485353f20119a6746b35b..6477fd070bf81bfaf12fe89012956f22383086cf 100644 --- a/README.md +++ b/README.md @@ -4,6 +4,7 @@ see also [neauoire's client][100r] and probably other things + ## `ntalk.sh`: simple nanotalk server meant to be run under a connection broker like socat. @@ -12,5 +13,28 @@ probably there's a chance of the file being clobbered. will get slower with more scrollback, cause it's just implemented with tail and head and wc. :P +## `ntalk.tcl`: tcl/tk nanotalk client + +requires you have wish(1) installed. + +boots to a config file, in which you can set fonts and stuff +the connection is done entirely over $sok, so set that to whatever. +if you want to include e.g. ssl, go ahead. the config file is saved +to/read from ~/.config/ntalk/cscript.tcl. + +if $cmds is set, it will be used for command parsing. it is inserted +into the body of a switch statement, with globbing enabled. you do +not need to start your commands with /. if $server is set, it'll be +shown in the top bar. if $user is set, it'll be used for the username. + +to see the builtin commands, read the source code. they're torwards +the bottom. + +if tklib is installed, history will be setup on the main input box. + +Ctrl-Shift-R will restart the client, allowing you to test config +changes rapidly. Ctrl-Q exits. + + [src]: https://git.phial.org/d6/nanochat [100r]: https://git.sr.ht/~rabbits/nanotalk