mirror of
https://github.com/D-Modem/bbs.git
synced 2026-11-28 17:38:04 -08:00
The screens after the login (menus, message areas, reading and writing, mail, file areas, who's online, the user list, system info, the profile and SSH keys, validation, paging the sysop) were written twice, once for text terminals and once for 3270s. They are now written once in internal/app, as descriptions in internal/view's terms (menus, tables, messages, forms, panels, drafts), and each front end draws them its own way: prompts and keys a page at a time (RIP buttons for menus) on a text terminal, fields and PF keys on a 3270. What only a front end can do stays with it, behind app.Frontend: the logins, display files, chat, doors, transfers (protocols, or IND$FILE), the terminal's line on the profile and the goodbye. The 3270 gains what it lacked: the main menu by letter like the text BBS's, a new scan, messages to other nodes from who's online, validation, SSH keys, editing and removing files, paging with a message left when the sysop is away. The text prompts are as before. Tests: internal/app driven by a scripted front end; the column layout and text key labels; a 3270 (s3270) through areas, posting, reading and the profile, with a text caller reading its post. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01AFQhReUqUc7F5srk2hViqr