2024-12-16 17:42:18 +00:00
Client for the [Sugoma's RAC protocol ](https://bedohswe.eu.org/text/rac/protocol.md.html ).
2024-12-16 17:43:03 +00:00
2025-01-12 01:59:22 +00:00
2025-01-12 02:01:05 +00:00
Usage: ./dobroho_vechora.bash \<MODE\> \<IP\> \<PORT\> [NICK]
2025-01-12 01:59:22 +00:00
Modes:
* send: Reads the message from stdin and send it to the server.
* receive: Writes the message buffer from the server to stdout.
* interactive: Waits on stdin for lines with commands.
Available commands:
* I: Calls the editor (from VISUAL variable, if unset EDITOR is used. If both unset vi is used) and send the message if it is not empty.
2025-01-12 18:36:02 +00:00
* i: Send the next string from stdout.
2025-01-12 01:59:22 +00:00
* L: Ask the server for current chat buffer's length.
* l: Print current chat buffer's length.
* w: Poll the server for new messages, print the chat buffer when they appear and execute the command specified by "DOBROHO_VECHORA_ON_WAIT" environment variable.
* p: Print the chat buffer.
* q: Exit.
2025-01-12 18:36:02 +00:00
* e: Toggle encryption.
2025-01-12 13:31:18 +00:00
* E: Set encryption password. (Can also be set via "DOBROHO_VECHORA_ENCRYPTION_PASSWORD" environment variable.)
2025-01-12 18:36:02 +00:00
* n: Change nickname.
2025-01-12 01:59:22 +00:00
Client prints "?" on unknown commands.