hbbs

bbs.hlirc.net
Log | Files | Refs | README | LICENSE

commit 03b9527ced44b450ad304ab2c0d7fb1210515e01
parent 694f0f1144d4b2eddb5945d087ed49a60d36be56
Author: hhvn <hayden@haydenvh.com>
Date:   Sun, 31 Jan 2021 23:54:46 +0000

etc/intro[NEW] bin/interface.sh: add an introduction

Diffstat:
Mbin/interface.sh | 3++-
Aetc/intro | 24++++++++++++++++++++++++
2 files changed, 26 insertions(+), 1 deletion(-)

diff --git a/bin/interface.sh b/bin/interface.sh @@ -35,7 +35,7 @@ menu_boards(){ "$(eval "echo \$board_${b2}_desc")" done | pager 5 $(echo "$banner" | wc -l) printf '=======================================================================Page:%- 3d=\n' "$page" - while prompt "Ne${k}x${s}t ${k}p${s}revious ${k}u${s}sers ${k}s${s}elect rel${k}o${s}ad ${k}h${s}elp" input + while prompt "Ne${k}x${s}t ${k}p${s}revious ${k}u${s}sers ${k}s${s}elect rel${k}o${s}ad intro${k}d${s}uction ${k}h${s}elp" input do parse_in "$input" case "$cmd" in @@ -49,6 +49,7 @@ menu_boards(){ break } ;; + d) cat $cwd/etc/intro ;; u) set_mode users; break ;; o) break ;; h) cat <<- EOF diff --git a/etc/intro b/etc/intro @@ -0,0 +1,24 @@ + + INTRODUCTION + by hhvn + +1. Navigating around + Each menu has a set of commands, shown in blue. If you need more detail about + the commands type 'h' and then enter. Any command that has "<arg>" in it's + description is able of taking an argument: to do so first type the command, + then the argument, and hit enter. Most commands that take arguments should + also give you a prompt if you don't give it an argument - however there may + be some that are overlooked, so you are best not to wait for a prompt. + +2. Writing + Attempt to limit each line you write to 80 characters. The row of equals + symbols can be used to judge this by eye. The line-editing is an unfortunate + downside to using raw tcp connexions, a sophisticated editor like vi and it's + derivatives require direct access to the tty - stdin and stdout are seen as + plain files by server. A workaround is to type your post out in an editor as + you usually would, and paste it into the bbs. + +3. Tips/tricks + The *s* command doesn't require you to type out the entire board name, the + first character should suffice (unless there are boards with names that begin + with the same character).