aboutsummaryrefslogtreecommitdiff
path: root/telem.lua
diff options
context:
space:
mode:
authorSolderpunk <solderpunk@sdf.org>2019-05-08 15:56:38 +0000
committerSolderpunk <solderpunk@sdf.org>2019-05-08 15:56:38 +0000
commit6f51fb6f2232fd6d0df8b837c692a0ca16e587f5 (patch)
treef72d0804ab07977ede547dd404e98140f2cd6075 /telem.lua
parentAdd (H)ide function to hold threads which haven't been updated in 90 days. (diff)
Build help into telem, because it's telem-specific, rather than reading /var/bbs/docs/help, which is general to all BBS clients.
Diffstat (limited to 'telem.lua')
-rwxr-xr-xtelem.lua28
1 files changed, 27 insertions, 1 deletions
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()