la5nta / wl2k-go

A Winlink framework for Go.
https://getpat.io
MIT License
50 stars 20 forks source link

CLI client for manual WL2K commands? #79

Open xssfox opened 2 years ago

xssfox commented 2 years ago

While operating remotely I have concerns that a user might unintentionally send a large file or email that becomes too slow to download over ARDOP HF.

Q8510 How do I access the WL2K system, using Keyboard Access?
A8510 Connect to a RMS Packet Station (you will be asked to supply your radio secure password):
LM List all messages for me.
RM Read all messages for me.
KM Kill (delete) all messages for me.
Rxx Read content of message number xx.
Kxx Kill message number xx. (don’t forget any underscore which may be in the number!) SP Send a message (see A8520)
H Help File (very condensed)
Bye Disconnect

RMS lists commands to run to help in this case - but as ARDOPC has no keyboard mode like pactor I believe it would require an ARDOP client to perform these actions. It would be super nice if there was a super basic REPL that a user could type these commands into manually for the ARDOP case.

I imagine it working something like:

wl2k-cli --url ardopc://blahblahblah
LM
 <RMS lists messages>
K<message id>
ctrl+d to terminate session

I had a quick look at the code, but it's really beyond my Go skill level to attempt to build something like this. Looking around I haven't seen any other tools to kill messages using ARDOPC, so this will would be super super handy!