Files
Claude d75fc15b24 menus: menu files, a command set and a menu stack
The first phase of customizable menus, as in Mystic BBS and Synchronet.

- menus_dir: NAME.menu files, with a [menu] section and an [item KEY]
  section for each item. An item does one or more commands (with ";"
  between them), can be hidden, and can have a requirement. A key is a
  character, a word (the caller types a line) or a special key: @first,
  @every, @enter. A menu can have a fail menu for callers without access.
- A catalog of commands (bbs.Commands) with data and checks, and the
  menu commands menu.gosub, menu.goto, menu.return and menu.main on a
  stack of menus. The [menu] lines of bbs.conf keep their syntax.
- The built-in main menu is now a menu file of the Classic theme
  (internal/app/menus/main.menu), run by the same engine. An item whose
  command is not available to the caller is not shown, and @NOTE@ gives
  the counts of new mail, pages and users that wait.
- Text and 3270 front ends: hidden keys and typed words.
- docs/wiki/Customization.md: the menus section, in STE.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01B82eRQvYyBEEXAiGy2xSd1
Signed-off-by: Claude <noreply@anthropic.com>
2026-11-18 18:11:02 +00:00

89 lines
1.1 KiB
Plaintext

; The main menu of the Classic theme: the built-in main menu. A
; [menu main] in bbs.conf, or a main.menu in menus_dir, replaces it.
; An item whose command is not available to the caller is not shown
; (no file areas, no doors, chat not allowed for the caller's level).
[menu]
title = Main menu
[item M]
label = Message areas
do = areas
[item E]
label = E-mail@NOTE@
do = mail
[item W]
label = Who's online
do = who
[item U]
label = User list
do = users
[item P]
label = Your profile
do = profile
[item I]
label = System info
do = info
[item F]
label = File areas
do = files
[item D]
label = Doors
do = doors
[item B]
label = Image boards
do = boards
[item N]
label = @NOTE@
do = news
[item C]
label = Chat@NOTE@
do = chat
[item S]
label = Page the sysop
do = page
[item V]
label = Validate users@NOTE@
do = validate
[item O]
label = Offline mail (QWK)
do = qwk
[item L]
label = Last callers
do = callers
[item K]
label = Feedback to the sysop
do = feedback
[item *]
label = Sysop tools
do = sysop
[item T]
label = Your terminal
do = terminal
[item G]
label = Goodbye
do = logoff
; Q also logs off, as G does
[item Q]
hidden = yes
do = logoff