mirror of
https://github.com/D-Modem/login.git
synced 2026-11-28 20:38:06 -08:00
The menu comes up full screen on a terminal that can have it (ANSI, or a VT that said what it is, 40x14 at least): the items in a window on a blue desk, a bar moved with the cursor keys, an item's key starting it at once, the welcome at the top of the window, the motd in a box, the user, rate, clock and minutes left on the bars. Others get the menu of lines; the login stays lines, so AutoPPP and the AOL client sniffing are as they were. [menu] fullscreen = auto|no, item help =. modemmenu -setup changes modemmenu.conf on full screens in the style of the 1990s BBS setup programs (the bbs's setup screens, ported): pull-down menus, cascading windows, the sample's help of each key, values typed in a box or picked from a list. Saving checks the file first and keeps its comments and order. An [item] of mode = setup (users or groups needed) gives it to a sysop who calls in. - internal/tui: the screen buffer and its diff rendering (from bbs textui/desk.go), UTF-8, code page 437, the VT line set and ASCII, keys, windows, pull-downs and dialogs - internal/confedit: changes to the file by line, comments kept - internal/confdoc: the sample's help, from tools/confref (shared) - term: a UTF-8 probe for ANSI terminals; [terminal] charset - below 9600 bit/s the desk is plain blue, cleared in a few bytes - the sample: comments for keys that took a neighbour's help - tests: the line menu's tests ask for fullscreen = no; one handoff test waits for the server's last log line Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01B82eRUujUBmci66AZkngmh
1.2 KiB
1.2 KiB
modemmenu documentation
- Building: Go, PAM,
make install - Running it from app_dmodem: a program per call, one server on a unix socket, FreePBX
- Configuration:
modemmenu.conf, the connect rate, terminals, the message of the day, the menu (full screen or lines) and its items, guests and sign-up, caller ID, time limits, drop files, last callers, handing callers on - Configuration reference: every section and key, from the sample
- The sysop's setup:
modemmenu -setup, the configuration on a full screen, and on the line for sysops - Authentication: users file, LDAP, SQL, system accounts (PAM), changing passwords, the auth socket
- PPP dialers: AutoPPP and PAP, the pppd plugin
- AOL callers: the classic AOL client dialing in, its network played
- Security notes
- Tests
The samples: modemmenu.conf.sample, modemmenu.users.sample, modemmenu.pam.sample, modemmenu.service.sample, modemmenu-authd.service.sample.