From 6f51fb6f2232fd6d0df8b837c692a0ca16e587f5 Mon Sep 17 00:00:00 2001 From: Solderpunk Date: Wed, 8 May 2019 15:56:38 +0000 Subject: Build help into telem, because it's telem-specific, rather than reading /var/bbs/docs/help, which is general to all BBS clients. --- telem.lua | 28 +++++++++++++++++++++++++++- 1 file changed, 27 insertions(+), 1 deletion(-) (limited to 'telem.lua') diff --git a/telem.lua b/telem.lua index 8f6e5dd..6bac705 100755 --- a/telem.lua +++ b/telem.lua @@ -302,7 +302,33 @@ function do_go() end function do_help() - cat_file(path.join(_BBS_ROOT, "docs", "help")) + print([[ + Telem BBS client usage: + + [Bulletin Board Commands] + ------------------------------------------------------------ + (l)ist ......... List all available boards + (g)oto ......... Goto a board by name or index + (m)essages ..... List all messages in current board + (M)essages ..... More complete listing of current board + (s)can ......... Scan for new messages since last scan/login + (t)ype ......... Display the contents of a message thread + (r)eply ........ Reply to a message thread + (R)ecent ....... List most recently updated messages + (n)ew .......... Start a new thread in current board + (b)oard ........ Create a new board + + [User Commands] + ------------------------------------------------------------ + (h)elp ......... Bring up this basic help menu + (?) ............ Expanded help and information + (!) ............ A few simple rules of use for this board + (=) ............ Various user options + (c)olor ........ Disable/Enable ANSI color codes + (H)ide ......... Disable/Enable hiding of old threads + (S)ort ......... Toggle sort order of message listing + (q)uit ......... Immediately quit the board + ]]) end function do_help2() -- cgit v1.2.3