docs: rewrite more wiki 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>
This commit is contained in:
Claude committed 2026-11-14 10:26:08 +00:00
1 parent e254e05457
commit 045d4616a7
4 files changed
+160 -127

No files matched your search

+36 -26
View File
@@ -1,43 +1,53 @@
As well as using FTP, callers can move files over their own connection to
the BBS. This page covers the transfer protocols for text callers and
Callers can use FTP. They can also move files over their own connection
to the BBS. This page gives the transfer protocols for text callers, and
IND$FILE for 3270 callers.
## Text callers
Text callers (telnet, modem, rlogin) open a file's details and press *D*
to download it, or press *U* in an area to upload, and then choose a
protocol:
Text callers (telnet, modem, rlogin) use this procedure:
1. To download a file, open the details of the file and push *D*.
2. To upload a file, push *U* in an area.
3. Select a protocol:
| Key | Protocol | Notes |
|---|---|---|
| X | XMODEM | CRC, or checksum if the terminal program asks; 128-byte blocks |
| X | XMODEM | CRC, or checksum if the terminal program asks for it. 128-byte blocks |
| 1 | XMODEM-1K | 1K blocks |
| Y | YMODEM | batch: names and exact sizes |
| Z | ZMODEM | batch, CRC-32, error recovery; most terminal programs start it by themselves |
| K | Kermit | for 7-bit lines and anything else that fails |
| Z | ZMODEM | batch, CRC-32, error recovery. Most terminal programs start it automatically |
| K | Kermit | for 7-bit lines, and for all other cases where the other protocols fail |
XMODEM does not send a file name, so the BBS asks for one. Names that a
terminal program sends lose any path (`C:\DOS\GAME.ZIP` becomes
`GAME.ZIP`) and any characters the file areas do not accept. An upload
goes through the same checks, size limit and daily allowance as an FTP
upload, and is kept only if it arrived complete. XMODEM, YMODEM and ZMODEM
need an 8-bit clean line: a modem, rlogin, or telnet in binary mode (the
BBS asks for binary mode, and warns a client that refuses).
XMODEM does not send a file name. Thus, the BBS asks for a name. The BBS
removes the path from names that a terminal program sends
(`C:\DOS\GAME.ZIP` becomes `GAME.ZIP`). It also removes the characters
that the file areas do not accept. An upload goes through the same
checks, size limit and daily allowance as an FTP upload. The BBS keeps the
upload only if it is complete.
XMODEM, YMODEM and ZMODEM must have an 8-bit clean line: a modem, rlogin,
or telnet in binary mode. The BBS asks for binary mode. If a client does
not accept binary mode, the BBS shows a warning to the client.
## 3270 callers
3270 callers use their emulator's file transfer, IND$FILE. In a file area
(8 on the main menu, then S beside an area), with the cursor on the
command line, start a transfer: *send* to upload into the area, or
*receive* to download one of its files, with the file's name as the host
file name. The emulator types `IND$FILE PUT name` or `IND$FILE GET name`,
and the BBS plays the host's part in DFT mode (structured fields), as
TSO's IND$FILE does.
3270 callers use the file transfer of their emulator, IND$FILE. Use this
procedure:
1. Go to a file area (8 on the main menu, then S adjacent to an area).
2. Put the cursor on the command line.
3. Start a transfer. Use *send* to upload into the area, or *receive* to
download one of its files. Use the name of the file as the host file
name.
The emulator types `IND$FILE PUT name` or `IND$FILE GET name`. The BBS
does the work of the host in DFT mode (structured fields), as the
IND$FILE of TSO does.
Binary mode keeps a file exactly as it is. ASCII with CR/LF stores text
with CR LF line ends and gives it back the way the PC expects. Both the
TSO and VM/CMS host types work. The emulator must support DFT (x3270,
c3270, wc3270 and PCOMM do; *Your terminal* shows reply 95, Distributed
Data Management).
with CR LF line ends, and gives it back in the format that the PC
expects. Both the TSO and VM/CMS host types operate. The emulator must
support DFT. x3270, c3270, wc3270 and PCOMM support it. *Your terminal*
shows reply 95, Distributed Data Management.
**See also:** [Files and FTP](Files-and-FTP), [TN3270](TN3270)
+41 -37
View File
@@ -1,12 +1,13 @@
[Multi Relay Chat](https://wiki.mysticbbs.com/doku.php?id=mrc) is a chat
network of BBSes: Mystic, Synchronet, ENiGMA½ and others share its rooms.
The BBS joins it as its own MRC connector, with one connection to the MRC
server carrying all its users. No connector program is needed.
network of BBSes. Mystic, Synchronet, ENiGMA½ and other BBSes share its
rooms. The BBS connects to it as its own MRC connector. One connection to
the MRC server carries all the users of the BBS. You do not have to
install a connector program.
MRC's rooms are the BBS's chat rooms that begin with the prefix (`mrc-`):
`mrc-lobby` is MRC's lobby. Whoever is in that room on the BBS, from a
terminal, a 3270, the web or IRC (`#mrc-lobby`), is in MRC's lobby, under
their name.
The MRC rooms are the chat rooms of the BBS that start with the prefix
(`mrc-`). `mrc-lobby` is the MRC lobby. All users in that room on the
BBS are in the MRC lobby, with their names. This applies to users from a
terminal, a 3270, the web or IRC (`#mrc-lobby`).
```ini
[mrc]
@@ -19,45 +20,48 @@ telnet = bbs.example.org:23
| Setting | Default | What it sets |
|---|---|---|
| `address` | `mrc.bottomlessabyss.net:5000` | the MRC server (5001 with TLS) |
| `tls` | `no` | TLS to it |
| `prefix` | `mrc-` | what begins MRC's rooms here |
| `system_name` | the BBS's name | the BBS as MRC shows it (Mystic's `\|NN` colour codes allowed) |
| `web`, `telnet`, `ssh`, `sysop`, `description` | (the sysop's name, the BBS's) | what MRC's `INFO` tells of the BBS |
| `require` | (anyone who may chat) | who may go into MRC's rooms ([access levels](Access-Levels)) |
| `tls` | `no` | TLS to the MRC server |
| `prefix` | `mrc-` | the start of the names of MRC rooms on this BBS |
| `system_name` | the name of the BBS | the name of the BBS that MRC shows (the `\|NN` colour codes of Mystic are permitted) |
| `web`, `telnet`, `ssh`, `sysop`, `description` | (the name of the sysop, the BBS) | the data about the BBS that the MRC `INFO` gives |
| `require` | (all users who can chat) | the users who can go into the MRC rooms ([access levels](Access-Levels)) |
## Chatting
- `/join mrc-lobby` in the BBS's chat (`JOIN #mrc-lobby` on IRC) goes into
MRC's lobby. Others on the network see the user arrive, and see them
leave when they go.
- Lines said there go to MRC as `<name> text`, and `/me` as an action.
Lines from other systems show as `carol@Far_BBS: text` (on IRC, from
`carol_Far_BBS!mrc@far_bbs`). MRC's colour codes are removed.
- `!COMMAND` is a command for the MRC server, not a line for the room:
`!motd`, `!list` (its rooms), `!chatters`, `!bbses`, `!info N`
and the rest (the server says which it does not know). Its answers come to whoever asked. `!!text`
says a line that begins with `!`.
- Private messages to a user here come to them alone.
- `/join mrc-lobby` in the chat of the BBS (`JOIN #mrc-lobby` on IRC)
puts the user in the MRC lobby. Other users on the network see the
user arrive. They also see the user leave.
- Lines that the user writes there go to MRC as `<name> text`. `/me`
goes as an action. Lines from other systems show as
`carol@Far_BBS: text` (on IRC, from `carol_Far_BBS!mrc@far_bbs`). The
BBS removes the MRC colour codes.
- `!COMMAND` is a command for the MRC server, not a line for the room.
Examples are `!motd`, `!list` (its rooms), `!chatters`, `!bbses`,
`!info N` and other commands. The server tells you which commands it
does not know. Its answers go only to the user who asked. `!!text` sends
a line that starts with `!`.
- Private messages to a user on this BBS go only to that user.
A user in two of MRC's rooms here (an IRC client in two channels) is in
one on MRC, the last they spoke in. MRC has a user in one room at a time.
On MRC, a user is in one room at a time. Thus, if a user is in two MRC
rooms on this BBS (an IRC client in two channels), the user is in one
room on MRC. This is the last room in which the user wrote.
Each user is kept present (`IAMHERE`) every minute. If the connection
drops, the BBS connects again after 30 seconds and puts back everyone
who was there.
Each minute, the BBS tells MRC that each user is present (`IAMHERE`). If
the connection stops, the BBS connects again after 30 seconds. Then it
puts back all the users who were there.
A sysop can make `mrc-lobby` a [permanent room](IRC#permanent-rooms), so
that it is listed even when no one here is in it.
A sysop can make `mrc-lobby` a [permanent room](IRC#permanent-rooms).
Then the BBS lists the room when it has no users on this BBS.
## The protocol
The BBS speaks MRC's protocol as Synchronet's `mrc-connector.js` and `mrc-session.js` do:
The BBS uses the MRC protocol in the same way as the `mrc-connector.js` and `mrc-session.js` of Synchronet:
- the handshake `SYSTEM~BBSSEC/os_arch/1.3.5`, then the server's hello;
- lines of `FromUser~FromSite~FromRoom~ToUser~MsgExt~ToRoom~Body~`;
- `INFO*`, `IMALIVE` and `CAPABILITIES` for the BBS;
- `IMALIVE` in answer to the server's `PING`;
- `IAMHERE` for each user, `NEWROOM:old:new` to move, `LOGOFF` to go;
- names without spaces (underscores), at most 30 characters.
- The handshake `SYSTEM~BBSSEC/os_arch/1.3.5`, then the hello of the server.
- Lines of `FromUser~FromSite~FromRoom~ToUser~MsgExt~ToRoom~Body~`.
- `INFO*`, `IMALIVE` and `CAPABILITIES` for the BBS.
- `IMALIVE` as the answer to the `PING` of the server.
- `IAMHERE` for each user, `NEWROOM:old:new` to move, `LOGOFF` to leave.
- Names without spaces (underscores), with a maximum of 30 characters.
**See also:** [Chat and paging](Chat-and-Paging), [IRC](IRC)
+46 -33
View File
@@ -1,6 +1,6 @@
This page covers starting the BBS for the first time, running it under
systemd, and running it as a user of its own. For day-to-day work once it
is running, see [Administration](Administration).
This page tells you how to start the BBS for the first time, how to run
it under systemd, and how to run it as its own user. For daily work after
the BBS starts, refer to [Administration](Administration).
## First start
@@ -12,28 +12,32 @@ bbs -config /etc/bbs/bbs.conf user add sysop -sysop
bbs -config /etc/bbs/bbs.conf serve
```
Without `-config`, bbs runs with its defaults: telnet and TN3270 on port
2300, modem callers (raw) on 127.0.0.1:2323, and the database in `bbs.db`
in the current directory. The database can also be PostgreSQL, MySQL or
MariaDB: see [Databases](Databases).
Without `-config`, bbs uses its defaults:
- Telnet and TN3270 on port 2300.
- Modem callers (raw) on 127.0.0.1:2323.
- The database in `bbs.db` in the current directory.
The database can also be PostgreSQL, MySQL or MariaDB. Refer to
[Databases](Databases).
## Under systemd
[bbs.service.sample](https://github.com/D-Modem/bbs/blob/HEAD/bbs.service.sample)
runs the BBS under systemd as its own user, with the database in
`/var/lib/bbs` and its sockets in `/run/bbs`. `systemctl reload bbs` applies
the settings that can change while callers are on (see
runs the BBS under systemd as its own user. The database is in
`/var/lib/bbs` and the sockets are in `/run/bbs`. `systemctl reload bbs`
applies the settings that you can change while callers are on (refer to
[Configuration](Configuration#changing-it-while-callers-are-on)).
## Running as a user of its own
Ports below 1024 (telnet's 23, finger's 79, gopher's 70) need root or the
`CAP_NET_BIND_SERVICE` capability. There are two ways to give the BBS
those ports without running it as root:
Ports below 1024 (23 for telnet, 79 for finger, 70 for gopher) must have
root or the `CAP_NET_BIND_SERVICE` capability. There are two methods to
give these ports to the BBS without root:
- systemd starts the BBS as its own user with that capability
(bbs.service.sample's `User=bbs` and `AmbientCapabilities=`), or
- the BBS is started as root and gives up root itself:
(`User=bbs` and `AmbientCapabilities=` in bbs.service.sample).
- You start the BBS as root, and the BBS then stops its root access:
```
[general]
@@ -41,25 +45,34 @@ user = bbs
; group = bbs (the user's own group by default)
```
When it is started as root, `bbs serve` reads the configuration and binds
every port and unix socket it listens on (the listeners, the HTTP API and
metrics, FTP, NNTP, IRC, finger, gopher, Gemini and binkp). Then it gives up root,
takes the user's supplementary groups (such as `socket_group`'s and
docker's), and runs itself again as the user. It stays the same process,
with the same PID for systemd and `systemctl reload`, and keeps the
sockets. Nothing is written as root: the database, logs, host keys and
backups all belong to the user. A unix socket without `socket_group`
belongs to the user too.
If you start `bbs serve` as root, it reads the configuration. It then
binds all the ports and unix sockets on which it listens (the listeners,
the HTTP API and metrics, FTP, NNTP, IRC, finger, gopher, Gemini and
binkp). Then it stops its root access and takes the supplementary groups
of the user (for example, the group of `socket_group` and the docker
group). Then it runs itself again as the user. It stays the same process,
with the same PID for systemd and `systemctl reload`, and it keeps the
sockets.
Other commands started as root (`bbs user add`, `bbs init`, `bbs backup`)
also give up root first, so that the database stays the user's. `bbs
check` and `bbs config` stay root, because the configuration file is
root's to write. `bbs backup restore` restores files as root and then
hands them to the user, except the configuration.
The BBS writes nothing as root. The database, logs, host keys and backups
all belong to the user. A unix socket without `socket_group` also belongs
to the user.
The user must be able to read the configuration (`chown root:bbs
/etc/bbs/bbs.conf; chmod 0640`), write where the database and files are
kept, and run the program. Under systemd, leave `User=` out when you use
this method; bbs.service.sample explains how.
If you start other commands as root (`bbs user add`, `bbs init`, `bbs
backup`), they also stop their root access first. Thus, the database
stays with the user. `bbs check` and `bbs config` keep root access,
because only root can write the configuration file. `bbs backup restore`
restores files as root. Then it gives them to the user, but not the
configuration.
The user must have these permissions:
- Read the configuration (`chown root:bbs
/etc/bbs/bbs.conf; chmod 0640`).
- Write in the locations of the database and the files.
- Run the program.
Under systemd, do not use `User=` with this method. bbs.service.sample
tells you how.
**See also:** [Configuration](Configuration), [Administration](Administration)
+37 -31
View File
@@ -1,12 +1,17 @@
Posts and mail are written in one of three editors, depending on the
terminal: the full-screen editor on ANSI terminals, the line editor on
other text terminals, and the editor screen on a 3270. Each one first asks
for `To` (Enter keeps what is offered) and `Subject`.
Callers write posts and mail in one of three editors. The editor
changes with the terminal:
- The full-screen editor on ANSI terminals.
- The line editor on other text terminals.
- The editor screen on a 3270.
Each editor first asks for `To` and `Subject`. For `To`, Enter keeps the
value that the editor shows.
## The full-screen editor
On an ANSI terminal (not a VT52 or a Commodore) of 40 columns and 12
rows or more:
The full-screen editor is for an ANSI terminal (not a VT52 or a
Commodore) of 40 columns and 12 rows or more:
```
To: alice Subject: Re: The meeting
@@ -23,44 +28,45 @@ _
| Key | What it does |
|---|---|
| typing | goes in at the cursor; a word that passes the edge wraps to the next line |
| cursor keys, Home, End, PgUp, PgDn | move about |
| Enter | a new line (the line breaks at the cursor) |
| Backspace, Delete (or ^D) | take away a character, or join two lines |
| ^Y | delete the line |
| ^Q | the quote window (a reply): Up and Down choose a line of the message replied to, Enter takes it into yours, ^Q or ESC closes the window |
| ^Z | save (`/S` alone on a line and Enter does too) |
| ^X (or ^A) | give up, after a Y |
| ^L | draw the screen again |
| typed text | goes in at the cursor. If a word goes past the edge, it wraps to the next line |
| cursor keys, Home, End, PgUp, PgDn | move the cursor |
| Enter | starts a new line (the line breaks at the cursor) |
| Backspace, Delete (or ^D) | removes a character, or joins two lines |
| ^Y | deletes the line |
| ^Q | opens the quote window (for a reply). Up and Down select a line of the initial message. Enter copies it into your message. ^Q or ESC closes the window |
| ^Z | saves the message (`/S` alone on a line, then Enter, also saves it) |
| ^X (or ^A) | stops the message without a save, after a Y |
| ^L | draws the screen again |
Lines can be up to 79 characters (fewer on a narrower screen), and a
message can have as many lines as the line editor allows. Messages from
other nodes are held until the message is saved.
A line can have up to 79 characters (fewer on a narrower screen). A
message can have the same number of lines as the line editor permits.
The BBS holds messages from other nodes until you save the message.
## The line editor
The line editor is used on other terminals, or by choice. Each line is
typed and sent with Enter, and words wrap at the edge. These commands work
on a line of their own:
The BBS uses the line editor on other terminals, or if the caller selects
it. Type each line and send it with Enter. Words wrap at the edge. These
commands operate when they are alone on a line:
| Command | What it does |
|---|---|
| `/S` | save |
| `/A` | give up |
| `/L` | list what is written |
| `/D` | delete the last line |
| `/C` | clear all |
| `/S` | saves the message |
| `/A` | stops the message without a save |
| `/L` | lists the text that you wrote |
| `/D` | deletes the last line |
| `/C` | clears all the text |
A reply starts with the message being answered, quoted.
A reply starts with a quote of the message that you answer.
## Choosing
On an ANSI terminal, `[E]ditor full/line` in *Your profile* switches
between the two editors, and the choice is kept ([`editor`](Terminal-Identification#what-a-caller-sets)).
On an ANSI terminal, `[E]ditor full/line` in *Your profile* changes
between the two editors. The BBS keeps the selection ([`editor`](Terminal-Identification#what-a-caller-sets)).
## On a 3270
A 3270 has an editor screen with `To`, `Subject` and a screen of lines to
type in. PF5 sends and PF3 gives up. A reply starts with its quote.
A 3270 has an editor screen with `To`, `Subject` and a screen of lines
for the text. PF5 sends the message. PF3 stops the message without a
save. A reply starts with its quote.
**See also:** [TN3270](TN3270), [Terminal identification](Terminal-Identification)