Commit Graph
4 Commits
Author SHA1 Message Date
Claude d51cf052ab docs: rewrite tests, PPP and setup pages in Simplified Technical English
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01B82eRRRR4BV2CBsQMqfrT6
Signed-off-by: Claude <noreply@anthropic.com>
2026-11-14 10:26:44 +00:00
Claude 58ffd61645 Setup: describe every setting, pick values from lists, add items from the sample's
As bbs config got in D-Modem/bbs#57:

- Every section and key has a description of what it does for the
  sysop (setupdesc.go); TestEverySettingDescribed keeps one for each
  key the sample has.  F1 adds the sample's notes and the choices.
- Keys are picked from lists with a note per value: closed lists (mode,
  tty, after, charset, driver, hash...), suggestions with "Type another
  value…", and checkboxes for lists of several (auth, [menu] items,
  dropfile, users, groups, aol networks, ppp_pool dns).  The values come
  from the file and the machine: the items, the users file, [groups],
  /etc/passwd and /etc/group, resolv.conf, the sockets in /run.
- An item's key list says which letters are free and which are taken by
  another item or the hangup; listen addresses say when the other
  section uses them.
- "Add a menu item" starts from one of the sample's items (or an empty
  one), with a free key if the sample's is taken.
- tui.ChooseMulti: a list of checkboxes.
- The sample gains [number] deny and [sql] timeout, which the code read.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01B82eRVGabTrMWBpbnD6HKF
2026-11-12 12:12:53 +00:00
Claude ba5688fd9c Setup: no idle timeout in the sysop's full-screen setup
The setup on a caller's line ended after idle_timeout, and modemmenu
-setup on the console quit after a minute in an open dialog or
pull-down. The tui Desk now takes Idle < 0 as no limit, and a Deadline
that still ends a wait; the setup uses both, so only a hangup or the
session's time_limit ends it.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01B82eRTXXCusbxh6h6Btenm
2026-11-10 13:10:11 +00:00
Claude e54bb9c1c6 Full-screen menu for ANSI callers, and modemmenu -setup for sysops
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
2026-11-09 07:53:45 +00:00