[irclink] and [ircpeer NAME] make the BBS a server on an IRC network,
speaking TS6 (Solanum, charybdis, ircd-ratbox; ircd-hybrid 8 with
protocol = hybrid). It is a hub: it takes any number of links, in and
out, keeps the network's map, routes between them, and tells the others
of a netsplit.
Every BBS user online is a user on the network, whom anyone there can
/msg and /whois; the rooms beginning irc- are its channels. A nick that
is taken when a BBS user comes on, or when a link comes up, is the BBS
user's as Nick|Tag (cut to the network's NICKLEN, numbered if taken);
collisions between other servers' users follow the TS6 rules.
The chat core takes several relays (MRC and the IRC link together),
relays that list members elsewhere and reach people by name; the BBS's
IRC server shows the network's users in NAMES, WHO, WHOIS and ISON and
messages them, and /msg NICK in the chat does too.
Tested against Solanum (main) and ircd-hybrid 8.2.43 (TestLive).
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01B82eRUWrohwtnaPDvybZ5h
IRC forgets what is said; now every private message is kept, however it
was sent (the BBS's chat, IRC, AIM, ICQ), in a new chats table. One sent
to a user who is not on is kept for them and given them on their next
login: on IRC as a PRIVMSG with its time (301 tells the sender), on AIM
as an IM once the client is ready, on ICQ as its offline messages
(15/03 0x41), on a terminal at its next prompt. /history in chat and
BBSServ HISTORY read a conversation back. /msg in chat takes a user's
name as well as a node's number.
Each user has one friends list (friends: user, friend, group, alias),
the same on every front end: /friends, /friend and /unfriend in chat,
BBSServ FRIENDS on IRC, and the AIM/ICQ buddy list. A buddy must be a
BBS user (others are refused, 13/0E 0x0A); OSCAR's item ids are kept
apart in oscar_buddies, so the list itself stays protocol-neutral for
other front ends. A friend added elsewhere comes to a connected AIM
client at once (13/08, in its group or "Friends").
Signed-off-by: Claude <noreply@anthropic.com>
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01B82eRTAJGnEAiwGZm9ygpG
Rewrite the wiki's prose in the plain style of the rest of the D-Modem
docs: an opening sentence on every page saying what it covers, full
sentences, labelled table headers, British spelling (colour), one space
after full stops, and See also at the foot of every page. Page-title
headings are dropped, since the wiki and the site both show the title.
Home becomes a landing page: what bbs is, a Start here table by goal,
the features grouped by who they are for, and the list of every page.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01B82eRSqjp9Pn2KBr9N9LAn
The sysop makes a room permanent (BBSServ ROOM ADD #room [topic], or
bbs room add): kept open when empty and across restarts (chat_rooms),
with a topic. Coming in shows the topic; setting it (BBSServ ROOM
TOPIC, TOPIC in the channel, /topic in the BBS's chat; the sysop only)
tells those in the room. ROOM DEL lets a room go with its last caller.
On IRC, BBSServ sits in each permanent channel as an operator (NAMES,
WHO, WHOIS's channels), LIST shows the rooms with their topics even
when empty, JOIN and TOPIC give 332; ROOMS lists them for anyone. On
the BBS, /rooms marks them with their topics. Numerics' last
parameters are now always trailing, as clients expect of lists.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01AFQhReUqUc7F5srk2hViqr
/msg BBSServ (or /BS) INFO shows the account: level, location, alias,
signature, settings, unread mail, keys, tokens, the new scan. SET
changes the profile's fields (location, about, alias, signature) and
the terminal and menu settings, with the BBS's own checks; PASSWD the
password; SCAN the areas of the new scan; KEYS lists, adds (with the
password) and deletes SSH keys; TOKENS lists and revokes API tokens.
Its framework (command table, parameters, HELP, CTCP) is adapted from
ergo's services, under its MIT license. The bot's nick is [irc]
service (default BBSServ); it answers WHOIS and ISON.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01AFQhReUqUc7F5srk2hViqr
internal/ircd serves IRC ([irc]: plain and TLS listeners, limits at
once and per address, the deny list and bans). Users log in with
their BBS names and passwords, by SASL PLAIN or PASS name:password,
throttled and hack-logged like any login; their nicks are their names.
Each connection is a node (via irc): in who's online, reached by node
messages, thrown off by the sysop.
#ROOM is the chat room ROOM: IRC clients talk with callers on
terminals, the web and the API. PRIVMSG to a nick is a node message;
/me is an emote; pages, mail and notices come as NOTICEs, and a sysop
answers a page by joining #sysop-N. NAMES, WHO, WHOIS, LIST, ISON,
USERHOST, MOTD, LUSERS; IRCv3 sasl, server-time (history replayed on
join with its times), echo-message, multi-prefix, userhost-in-names.
The protocol's parts are ergo's: messages read and written by its
irc-go library (ircmsg, ircreader, ircfmt), the numerics and the
ISUPPORT list taken from its source under the MIT license
(internal/ircd/LICENSE.ergo). A node may now be in several rooms at
once (JoinAlso, SayIn, Part) for IRC's channels.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01AFQhReUqUc7F5srk2hViqr