Files
bbs/docs/wiki/Configuration.md
T
Claude b45dfa58d9 Customization: screens of the sysop's, menus, @-codes, strings
screens_dir holds display files by name: NAME.ans (ANSI art in CP437,
SAUCE dropped; UTF-8 to UTF-8 terminals, CP437 bytes to the rest),
NAME.asc/.txt (text, paged) and NAME.3270 (text with {color} tags).
logon, newuser, welcome and goodbye are shown by themselves, on text
terminals and 3270s; others by menus.  @-codes (@USER@, @NEWMAIL@,
@NODE@, @ONLINE@ ... with @CODE:20@ widths, @CLS@, @PAUSE@) are filled
in, their values cleaned.

[menu NAME] sections: KEY = ACTION Label, actions the built-in parts or
door:, menu:, screen:, area:; [menu main] replaces the built-in main menu
on both kinds of terminal, with an optional screen in place of its list.
[strings]: the login and command prompts, the pause, the logoff question
and the welcome.  bbs check refuses menus naming what is not there.

screens.sample: a set of screens to start from.  Tested: the screens
package; menus and strings in the configuration; a text caller through
ANSI art, strings, menus and screens; a 3270 (s3270) through colored
screens and the sysop's main menu.  Wiki page Customization.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01AFQhReUqUc7F5srk2hViqr
2026-10-11 02:32:22 +00:00

2.1 KiB

bbs.conf.sample has every option. [general] is the system (name, database, log, banner, message of the day, timeouts, limits); each [listen NAME] is a port or unix socket:

type what comes in
telnet a telnet client; with tn3270 = yes (the default) 3270s get 3270 screens
raw bytes as they come: app_dmodem's mode = tcp, a modemmenu tcp or unix item
rlogin RFC 1282, as modemmenu's rlogin items speak it

address is host:port, or a path for a unix socket (socket_mode, socket_group). Any listener may read a session header first (header = yes), and with trust_user = yes take the caller as logged in already: see Modem callers.

The sections

section what page
[general] the system: name, sysop, database, log, banner, message of the day, logo, new users, limits, timeouts, file areas' directory and limits here, Security
[listen NAME] a port or socket callers come in on here, Modem callers, TN3270
[ftp] the FTP server for the file areas Files and FTP
[news], [nntp], [peer NAME] newsgroups, the NNTP server, news peers Newsgroups and NNTP
[fido], [binkp], [link NAME] FidoNet: our address, the binkp mailer, links FidoNet
[door NAME] a door program Doors
screens_dir (in [general]), [menu NAME], [strings] the sysop's screens, menus and prompts Customization
[finger], [gopher] the finger and gopher servers Finger and gopher
page_command (in [general]) telling the sysop of a page when they are not on Chat and paging

bbs check reads the file and says what it found, with a warning for anything risky (a password that may cross in the clear, a socket that trusts whoever connects, a link without a password).

See also: Modem callers, TN3270, Security