Files
Claude 3b86b397ad Rename modemmenu to dmodem-login, the repository to D-Modem/login
The program is dmodem-login (like dmodemd and dmodem-ari), the Go module
github.com/D-Modem/login, the site d-modem.github.io/login.  Its files,
units, sockets, PAM service, pppd plugin, environment (DMODEM_LOGIN_*)
and nftables tables follow.

An old installation keeps working:
- make install puts a modemmenu link to dmodem-login, and a modemmenu.so
  link to the plugin, which also takes its old modemmenu-socket option
- the default configuration, users file, state_dir and PAM service fall
  back to modemmenu's when only those are there (config.Legacy)

docs/rename.md (Simplified Technical English) lists the new names and
what an old installation must change (the -serve socket, the units, the
/etc/modemmenu files, the old nftables tables).  CI's bbs job moves a
bbs that still imports github.com/D-Modem/menu to the new path.  The
pppd plugin builds clean with -Wall -Wextra on GCC and Clang.

COMMERCIAL-LICENSE.md and CONTRIBUTING.md (legal text) are not changed.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01B82eRTD8BSptdpaUWGcs65
2026-11-23 05:04:16 +00:00

49 lines
2.3 KiB
Markdown

# AOL callers
## The classic AOL client, dialing in
The AOL client (versions 2.5 to 4.0) never types at a login prompt. It
dials a network (AOLnet, SprintNet or Tymnet), and its CCL script answers
the prompts of that network. Then it uses P3, the protocol of AOL, to
communicate with the AOL host. With `[aol] enabled = yes`, dmodem-login
emulates the network. Then it connects the line to `host`. That host is
the AOL front end of [D-Modem/bbs](https://github.com/D-Modem/bbs)
(`[aol]` in its configuration). There, the caller signs on with the BBS
name and password.
```
[aol]
enabled = yes
host = localhost:5190
```
dmodem-login finds the network that the client expects from the actions
of its script at the login prompt. The strings are the strings that
`AOLNET.CCL`, `SPRINT.CCL` and `TYMNET.CCL` of AOL 3.0 wait for.
| Network | The script | dmodem-login |
|---|---|---|
| AOLnet | waits for `UQKT1`, answers `aol` | sends `UQKT1` before the first login prompt, then `CONNECTED` |
| SprintNet | sends `@D` | asks `TERMINAL=`, gives the `@` prompt, answers `par? 11` with the speed of the line, and answers `C <address>` with `<address> CONNECTED` |
| Tymnet | sends `A`, with no line end | asks `PLEASE LOG IN:`, answers the login with `+`, and answers the name of the host with `CALL CONNECTED` |
| P3 | a custom script that starts P3 immediately | connects the line to the host at the first packet |
In the Setup of the client, do these steps:
1. Add the phone number of the D-Modem line as an access number of the
network that dmodem-login must emulate.
2. Select that access number.
`networks` limits the networks that dmodem-login emulates. If you remove
`aolnet`, the `UQKT1` line does not show on the screen of each caller. If
dmodem-login emulates AOLnet or SprintNet, the names `aol` and `@D` at the
login prompt come from the client, not from a user. A name that starts
with `A` is still a user name. The Tymnet script waits some seconds for
an answer, but a person continues to type.
dmodem-login records the call in the log. It records
`AOL client (sprintnet) at the login prompt`, then
`aol: to localhost:5190`, then the duration of the call. The logins, time
limits and menus of dmodem-login do not apply to this call. The BBS signs
the caller on and applies its own limits.