docs: rewrite the customization and FidoNet 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:36:19 +00:00
1 parent aac1429e4a
commit 8418a153cb
2 files changed
+214 -187

No files matched your search

+105 -98
View File
@@ -1,7 +1,7 @@
The sysop can change how the BBS looks: their own screens (ANSI art, text
and 3270 screens in colour), their own menus, and the wording of the
prompts. None of this is required; without it, the BBS uses its built-in
screens and menus.
The sysop can change the appearance of the BBS: their own screens (ANSI
art, text and 3270 screens in colour), their own menus, and the words of
the prompts. All of this is optional. Without it, the BBS uses its
built-in screens and menus.
## Screens
@@ -13,73 +13,76 @@ screens_dir = /etc/bbs/screens
```
A screen has a name (lower-case letters, digits, `_` and `-`) and one or
more files, one for each kind of terminal:
more files, one for each type of terminal:
| File | What it is | Shown to |
|---|---|---|
| `NAME.ans` | ANSI art in CP437, as ANSI editors (PabloDraw, Moebius, TheDraw) save it; a SAUCE record after ^Z is dropped | ANSI terminals |
| `NAME.asc` | text (UTF-8 or ASCII) with [tags](#tags) for colour, a page at a time | any text terminal; 3270s when there is no `.3270` |
| `NAME.ans` | ANSI art in CP437, as ANSI editors (PabloDraw, Moebius, TheDraw) save it. The BBS removes a SAUCE record after ^Z | ANSI terminals |
| `NAME.asc` | text (UTF-8 or ASCII) with [tags](#tags) for colour, one page at a time | all text terminals. 3270s when there is no `.3270` |
| `NAME.txt` | the same as `.asc` | the same |
| `NAME.3270` | text with colour tags (below) | 3270s |
| `NAME.rip` | RIPscrip (graphics and ANSI) in CP437; its buttons send keys to the menu showing it | [RIP terminals](PETSCII-and-RIP) |
| `NAME.rip` | RIPscrip (graphics and ANSI) in CP437. Its buttons send keys to the menu that shows it | [RIP terminals](PETSCII-and-RIP) |
| `NAME.seq` | PETSCII, as C64 editors save it, sent as it is (no @-codes) | [Commodores](PETSCII-and-RIP) |
Each terminal gets the first file it can show:
Each terminal gets the first file that it can show:
- an ANSI terminal: `.ans`, then `.asc`, then `.txt`
- a RIP terminal: `.rip`, then the same as ANSI
- a plain terminal: `.asc` or `.txt`
- a Commodore: `.seq`, then `.asc` or `.txt` (translated)
- a 3270: `.3270`, `.asc` or `.txt`
- An ANSI terminal: `.ans`, then `.asc`, then `.txt`.
- A RIP terminal: `.rip`, then the same as ANSI.
- A plain terminal: `.asc` or `.txt`.
- A Commodore: `.seq`, then `.asc` or `.txt` (translated).
- A 3270: `.3270`, `.asc` or `.txt`.
ANSI art is sent to a UTF-8 terminal as UTF-8, and to any other terminal
as its original CP437 bytes, which is what SyncTERM, NetRunner and DOS
terminal programs expect. Files are read each time they are shown, so you
can change them while the BBS runs. The largest file read is 256 KB.
The BBS sends ANSI art to a UTF-8 terminal as UTF-8. It sends it to all
other terminals as its original CP437 bytes, as SyncTERM, NetRunner and
DOS terminal programs expect. The BBS reads files each time that it
shows them. Thus, you can change them while the BBS runs. The largest
file that the BBS reads is 256 KB.
The BBS shows these screens by itself:
The BBS shows these screens automatically:
| Name | When | Replaces |
|---|---|---|
| `logon` | when a caller connects, before the name prompt (on a 3270, in the logon screen's upper part) | the system's name, banner and how they came |
| `newuser` | before a new user's questions | (added) |
| `welcome` | after the login | the welcome lines (the message of the day still follows) |
| `goodbye` | at a logoff | the `goodbye` line |
| `logon` | when a caller connects, before the name prompt (on a 3270, in the upper part of the logon screen) | the name of the system, the banner and the route of the caller |
| `newuser` | before the questions for a new user | (added) |
| `welcome` | after the login | the welcome lines (the message of the day still comes after it) |
| `goodbye` | at a logout | the `goodbye` line |
Menus show the others, with `screen = NAME` on a menu or a `screen:NAME`
item. [screens.sample](https://github.com/D-Modem/bbs/tree/HEAD/screens.sample)
has a set to start from.
Menus show the other screens, with `screen = NAME` on a menu or a
`screen:NAME` item.
[screens.sample](https://github.com/D-Modem/bbs/tree/HEAD/screens.sample)
has a set that you can use as a start.
### @-codes
Screens, menu titles, labels, prompts and strings can hold codes that are
filled in when they are shown:
Screens, menu titles, labels, prompts and strings can contain codes. The
BBS fills them in when it shows them:
| Code | Filled in with |
|---|---|
| `@BBS@` `@SYSOP@` `@LOCATION@` | the system |
| `@PHONE@` `@ADDRESSES@` `@POSTAL@` | how to reach it: `[general]`'s `phone`, `addresses`, `postal_address` |
| `@USER@` `@USERLOC@` | the caller's name, where they call from |
| `@CALLS@` `@POSTS@` `@LASTON@` `@SINCE@` | their calls, posts, last call, when they joined |
| `@NEWMAIL@` | their unread mail |
| `@NODE@` `@VIA@` `@BAUD@` | this call: node, how (telnet, modem, tn3270), a modem's rate |
| `@ONLINE@` | callers on now |
| `@PHONE@` `@ADDRESSES@` `@POSTAL@` | how to contact it: `phone`, `addresses`, `postal_address` of `[general]` |
| `@USER@` `@USERLOC@` | the name and the location of the caller |
| `@CALLS@` `@POSTS@` `@LASTON@` `@SINCE@` | the calls, posts, last call and join date of the caller |
| `@NEWMAIL@` | the unread mail of the caller |
| `@NODE@` `@VIA@` `@BAUD@` | this call: node, route (telnet, modem, tn3270), the rate of a modem |
| `@ONLINE@` | the callers that are on now |
| `@DATE@` `@TIME@` | now |
| `@CLS@` | clear the screen |
| `@PAUSE@` | wait for a key (on a 3270, a new page) |
| `@CLS@` | clears the screen |
| `@PAUSE@` | waits for a key (on a 3270, a new page) |
`@CODE:20@` pads or cuts the value to 20 characters, and `@CODE:-20@`
aligns it to the right, so art keeps its shape whatever the length of a
name. Anything else between two @ signs (such as an email address) is left
as it is. Values are cleaned like anything a caller writes, so no escape
sequences can get into art through a user's name.
`@CODE:20@` pads or cuts the value to 20 characters. `@CODE:-20@` aligns
it to the right. Thus, art keeps its shape for all lengths of a name.
The BBS does not change other text between two @ signs (for example, an
email address). The BBS cleans values as it cleans all text from
callers. Thus, no escape sequences can get into art through the name of
a user.
### Tags
Text screens (`.asc`, `.txt`), the [strings](#strings), and a
[menu's](#menus) title, labels and prompt can hold tags in braces. Tags
are shortcuts for ANSI escape sequences, like the tags `.3270` files use
for a 3270's colours.
Text screens (`.asc`, `.txt`), the [strings](#strings), and the title,
labels and prompt of a [menu](#menus) can contain tags in braces. Tags
are shortcuts for ANSI escape sequences, similar to the tags that
`.3270` files use for the colours of a 3270.
```
{clear}{cyan}{bright}*** @BBS@ ***{reset}
@@ -89,42 +92,43 @@ for a 3270's colours.
| Tag | What it does |
|---|---|
| `{clear}` `{cls}` | clear the screen (as `@CLS@`) |
| `{pause}` | wait for a key (as `@PAUSE@`; in a string, dropped) |
| `{home}` `{eol}` | the cursor to the top left; clear to the end of the line |
| `{black}` `{red}` `{green}` `{yellow}` `{blue}` `{magenta}` `{cyan}` `{white}` | the colour of the letters (`{pink}` and `{turquoise}`, the 3270's names, are magenta and cyan) |
| `{on black}` ... `{on white}` | the colour behind them |
| `{bright}` `{bold}` / `{normal}` | bright, or not |
| `{clear}` `{cls}` | clears the screen (as `@CLS@`) |
| `{pause}` | waits for a key (as `@PAUSE@`. In a string, the BBS removes it) |
| `{home}` `{eol}` | moves the cursor to the top left. Clears to the end of the line |
| `{black}` `{red}` `{green}` `{yellow}` `{blue}` `{magenta}` `{cyan}` `{white}` | the colour of the letters (`{pink}` and `{turquoise}`, the names of the 3270, are magenta and cyan) |
| `{on black}` ... `{on white}` | the colour behind the letters |
| `{bright}` `{bold}` / `{normal}` | bright, or not bright |
| `{blink}` `{underline}` `{reverse}` | |
| `{default}` `{reset}` | plain again |
Each terminal gets what it can show:
Each terminal gets the items that it can show:
- an ANSI terminal gets the escape sequences;
- a terminal without colour (`Mono`) gets bright, underline and the like,
but no colours;
- a Commodore gets its own colours (but no backgrounds, blink or
underline);
- a VT52 gets the clears and cursor moves;
- a plain terminal gets nothing (a `{clear}` becomes a new line).
- An ANSI terminal gets the escape sequences.
- A terminal without colour (`Mono`) gets bright, underline and similar
items, but no colours.
- A Commodore gets its own colours (but no backgrounds, blink or
underline).
- A VT52 gets the clears and cursor movements.
- A plain terminal gets nothing (a `{clear}` becomes a new line).
A screen always ends plain, whatever its last colour. On a 3270, a text
screen keeps its colours (each change takes a column, as explained below)
and the other tags are dropped. A menu's labels show their colours the
same way, while its title and prompt are plain. Where tags cannot be shown
at all (on a RIP terminal's buttons, or a menu's title in Who's online),
they are dropped too. A menu label stays in its column whatever its tags,
and ends plain. In a text screen, a line holding only `{clear}` or
`{pause}` (or `@CLS@` or `@PAUSE@`) leaves no blank line behind.
A screen always ends plain, for all values of its last colour. On a
3270, a text screen keeps its colours (each change uses a column, as the
text below tells), and the BBS removes the other tags. The labels of a
menu show their colours in the same way, but its title and prompt are
plain. Where the BBS cannot show tags (on the buttons of a RIP terminal,
or the title of a menu in Who's online), it also removes them. A menu
label stays in its column for all tags, and ends plain. In a text
screen, a line that contains only `{clear}` or `{pause}` (or `@CLS@` or
`@PAUSE@`) does not leave a blank line.
Tags work only in the sysop's text: a caller who names themselves
`{red}bob` is shown as `{red}bob`. ANSI art (`.ans`) keeps its braces
Tags operate only in the text of the sysop. If a caller uses the name
`{red}bob`, the BBS shows `{red}bob`. ANSI art (`.ans`) keeps its braces
as they are, because it has its own escape sequences.
### 3270 screens
A `.3270` file is lines of text with tags that change the colour for the
rest of the line:
A `.3270` file is lines of text with tags. A tag changes the colour for
the remainder of the line:
```
{turquoise}{bright}*** @BBS@ ***
@@ -132,16 +136,17 @@ rest of the line:
```
The tags are `{blue}` `{red}` `{pink}` `{green}` `{turquoise}` `{yellow}`
`{white}` `{default}`, `{bright}` and `{normal}`, plus `{clear}` and
`{pause}` for a new page. The text terminals' names (`{magenta}`, `{cyan}`,
`{reset}`) work too. On a 3270, each change of colour takes up a blank
column, because that is where the 3270 keeps the field's attribute byte.
`{white}` `{default}`, `{bright}` and `{normal}`, and also `{clear}` and
`{pause}` for a new page. The names of the text terminals (`{magenta}`,
`{cyan}`, `{reset}`) also operate. On a 3270, each change of colour uses
a blank column, because the 3270 keeps the attribute byte of the field
there.
## Menus
Each `[menu NAME]` section makes a menu. `[menu main]` replaces the
built-in main menu on text terminals and 3270s alike, and the other menus
are reached from it and from each other.
built-in main menu on text terminals and on 3270s. Users get to the
other menus from the main menu and from each other.
```
[menu main]
@@ -164,28 +169,30 @@ z = back Back
```
Each item is `KEY = ACTION Label`. The key is one character (not `;` or
`#`, which begin comments), and the action is what the item does:
`#`, which start comments). The action is what the item does:
| Action | What it does |
|---|---|
| `areas` `mail` `who` `users` `profile` `info` `files` `boards` `doors` `chat` `page` `callers` `feedback` `qwk` `sysop` | the built-in parts (`callers`: the last callers; `feedback`: mail to the sysop; `qwk`: [offline mail](Offline-Mail); `boards`: the [image boards](Image-Boards); `sysop`: the [sysop tools](Sysop-Tools), for sysops) |
| `terminal` | a 3270's terminal details |
| `logoff` | log off (asking first on a text terminal) |
| `back` | back to the menu before |
| `door:NAME` | straight into a door |
| `menu:NAME` | another menu |
| `screen:NAME` | show a screen |
| `area:NAME` | straight into a message area |
| `script:NAME` | run a script of `scripts_dir` ([Scripting](Scripting)) |
| `areas` `mail` `who` `users` `profile` `info` `files` `boards` `doors` `chat` `page` `callers` `feedback` `qwk` `sysop` | the built-in parts (`callers`: the last callers. `feedback`: mail to the sysop. `qwk`: [offline mail](Offline-Mail). `boards`: the [image boards](Image-Boards). `sysop`: the [sysop tools](Sysop-Tools), for sysops) |
| `terminal` | the terminal details of a 3270 |
| `logoff` | logs out (on a text terminal, it asks first) |
| `back` | goes back to the previous menu |
| `door:NAME` | goes directly into a door |
| `menu:NAME` | goes to a different menu |
| `screen:NAME` | shows a screen |
| `area:NAME` | goes directly into a message area |
| `script:NAME` | runs a script of `scripts_dir` ([Scripting](Scripting)) |
With `screen =`, a text terminal sees the screen, which shows the keys
itself. A 3270 sees the screen's `.3270` (or `.asc` or `.txt`) version if
there is one, or otherwise the list of items in a box, so a menu drawn
only as ANSI art still works on a 3270. On a 3270 the caller types the key
in the option field, and PF3 goes back (on the main menu, it logs off if
there is a `logoff` item). Doors are for text terminals only; on a 3270, a
door item says so. `bbs check` refuses a menu that names a menu, door or
screen that does not exist, and lists the menus it read.
With `screen =`, a text terminal shows the screen, which shows the keys
itself. A 3270 shows the `.3270` (or `.asc` or `.txt`) version of the
screen if there is one. If not, it shows the list of items in a box.
Thus, a menu that is drawn only as ANSI art still operates on a 3270.
On a 3270, the caller types the key in the option field. PF3 goes back
(on the main menu, it logs out if there is a `logoff` item). Doors are
only for text terminals. On a 3270, a door item tells this. `bbs check`
refuses a menu that names a menu, door or screen that does not exist. It
lists the menus that it read.
## Strings
@@ -200,9 +207,9 @@ logoff_confirm = "Leaving so soon, @USER@?"
welcome = "Hi @USER@, @NEWMAIL@ new letters."
```
Each string can hold @-codes and [tags](#tags). Put a value in quotes to
keep spaces at its end. `welcome` is also the greeting on the 3270 main
menu (shown there without its tags).
Each string can contain @-codes and [tags](#tags). To keep spaces at the
end of a value, put the value in quotes. `welcome` is also the greeting
on the 3270 main menu (there, without its tags).
```
command_prompt = "{yellow}@USER@{default} @ {cyan}@BBS@{default} > "
+109 -89
View File
@@ -1,9 +1,13 @@
The BBS can be a node (or point) of FidoNet or any other FTN network
(fsxNet, AgoraNet, or a network of your own). A message area becomes an
echo when it is given an echo tag, users send netmail by addressing mail
to `Name@zone:net/node`, and the BBS exchanges packets with its links over
binkp, both calling them and answering their calls. The BBS is its own
tosser, scanner and mailer, so no other FTN software is needed.
The BBS can be a node (or point) of FidoNet or a different FTN network
(fsxNet, AgoraNet, or your own network). It has these functions:
- If you give an echo tag to a message area, the area becomes an echo.
- Users send netmail when they address mail to `Name@zone:net/node`.
- The BBS exchanges packets with its links over binkp. It calls them and
it answers their calls.
The BBS is its own tosser, scanner and mailer. Thus, no other FTN
software is necessary.
```
bbs area echo General FSX_GEN ; General is the echo FSX_GEN
@@ -56,88 +60,99 @@ areafix_password = FIXIT2
## Echomail
Messages users post in an echo are packed for each link that carries it
(with MSGID, REPLY for threads, PID, TZUTC, CHRS, tear and origin lines,
SEEN-BY and PATH). Messages that links send are tossed into the echo,
decoded from their character set according to their CHRS kludge (CP437
and the other DOS code pages, Latin-1, KOI8, Windows code pages, UTF-8),
and cleaned like anything else a caller writes. With more than one link,
the BBS passes echomail on between them by SEEN-BY, as a hub does. Each
message is taken only once (by its MSGID, or by a digest for messages
without one), and never if this system is already in its PATH.
The BBS packs the messages that users post in an echo for each link
that carries the echo. The packed messages have MSGID, REPLY for
threads, PID, TZUTC, CHRS, tear and origin lines, SEEN-BY and PATH. The
BBS tosses the messages from links into the echo. It decodes them from
their character set, according to their CHRS kludge (CP437 and the
other DOS code pages, Latin-1, KOI8, Windows code pages, UTF-8). It
cleans them as it cleans all other text from callers.
With more than one link, the BBS passes echomail between them by
SEEN-BY, as a hub does. The BBS takes each message only one time (by its
MSGID, or by a digest for messages without a MSGID). It never takes a
message if this system is already in its PATH.
## Netmail
On the text BBS and on a 3270, mail to `Name@1:2/3` (or `Name@1:2/3.4`) is
netmail. It is sent through the link with that address, or the link of
that point's node, or otherwise the link with `route = yes`. Netmail for
this system goes to the user of that name (or to the sysop), from
`Name@zone:net/node`, so *Reply* answers it as netmail (with a REPLY
kludge). The BBS does not route anyone else's netmail: it is a leaf.
On the text BBS and on a 3270, mail to `Name@1:2/3` (or `Name@1:2/3.4`)
is netmail. The BBS sends it through the link with that address, or
through the link of the node of that point. If neither exists, it uses
the link with `route = yes`. Netmail for this system goes to the user of
that name (or to the sysop), from `Name@zone:net/node`. Thus, *Reply*
answers it as netmail (with a REPLY kludge). The BBS does not route the
netmail of other systems: it is a leaf.
## binkp
The mailer speaks binkp (FTS-1026) with CRAM-MD5 passwords (FTS-1027).
Links are recognised by their address and password, and other systems are
turned away. A password is never sent in the clear unless
`plain_password = yes`.
The mailer uses binkp (FTS-1026) with CRAM-MD5 passwords (FTS-1027). It
knows links by their address and password, and refuses other systems.
It never sends a password in clear text unless `plain_password = yes`.
Packets are Type 2+, sent as ARCmail bundles (`packer = zip`, the default,
or `arc`, `arj`, `lha`) or as bare packets (`none`). Received bundles of
any of the four kinds (whatever they are called; the BBS reads their
contents to tell) and bare packets are tossed, and broken packets go to
`dir/bad`. Files without a TIC that are a day old (such as file requests,
or a file a sysop sent by hand) are set aside in `dir/in/LINK/files`.
Packets are Type 2+. The BBS sends them as ARCmail bundles
(`packer = zip`, the default, or `arc`, `arj`, `lha`) or as bare packets
(`none`). The BBS tosses received bundles of the four types and bare
packets. It does not use the names of the bundles: it reads their
contents to find the type. Broken packets go to `dir/bad`. Files that
have no TIC and are one day old (for example, file requests, or a file
that a sysop sent manually) go into `dir/in/LINK/files`.
New mail is packed within a minute (netmail at once). A link with a host
is called when mail is waiting for it (and again every five minutes while
calls fail), and every `poll` seconds. The first scan for a new link only
marks where to start, so the link is not sent the whole history.
The BBS packs new mail in one minute (netmail immediately). The BBS
calls a link with a host when mail waits for it (and again every five
minutes while calls fail), and every `poll` seconds. The first scan for
a new link only records the start point. Thus, the BBS does not send the
full history to the link.
## Gateways to newsgroups
An area that is both an echo and a newsgroup is a gateway. Echomail is
served to newsreaders as articles (From `Name <Name@f1.n2.z3.fidonet.org>`,
with the Message-ID made from the MSGID as other gateways do), and
articles from news peers go out as echomail. Most FidoNet echoes do not
want gated traffic, so ask first.
An area that is an echo and also a newsgroup is a gateway. The BBS
serves echomail to newsreaders as articles (From
`Name <Name@f1.n2.z3.fidonet.org>`, with the Message-ID made from the
MSGID, as other gateways do). Articles from news peers go out as
echomail. Most FidoNet echoes do not want gated traffic. Thus, ask
first.
## Bundles
Nearly every hub sends ARCmail as ZIP, but older systems send ARC, ARJ or
LHA. The BBS reads all four itself, so there are no archivers to install:
ZIP's stored and deflated methods; ARC's stored, packed, squeezed,
crunched and squashed; ARJ's methods 1 to 4; and LHA's `-lh0-` and
`-lh4-` to `-lh7-`, with header levels 0 to 2. Bundles it writes with
`packer = arc`, `arj` or `lha` are stored uncompressed, so every unpacker
can read them. The same readers list archives in the file areas and find
their FILE_ID.DIZ.
Almost all hubs send ARCmail as ZIP, but older systems send ARC, ARJ or
LHA. The BBS reads all four types itself. Thus, you do not have to
install archivers. The BBS reads these methods:
- ZIP: stored and deflated.
- ARC: stored, packed, squeezed, crunched and squashed.
- ARJ: methods 1 to 4.
- LHA: `-lh0-` and `-lh4-` to `-lh7-`, with header levels 0 to 2.
The BBS stores the bundles that it writes with `packer = arc`, `arj` or
`lha` without compression. Thus, all unpackers can read them. The same
readers list archives in the file areas and find their FILE_ID.DIZ.
## Nodelists
`nodelist` in `[fido]` names nodelists (FTS-5000) by path or pattern, or
as `area:NAME` for the file area that the NODELIST file echo fills. The
BBS reads the newest file of each, plain or in an archive, and reads it
again when a newer one arrives. With a nodelist:
BBS reads the newest file of each, plain or in an archive. It reads it
again when a newer file arrives. With a nodelist:
- netmail to a node it lacks, or has as down, is refused as it is
written, and the writer is told the system's name and place when it is
sent;
- `host = nodelist` has a link called where its nodelist entry says (its
IBN flag's host, or its INA);
- `bbs fido node` and `bbs fido nodes` look systems up, and callers can
too: **N** (PF5 on a 3270) in their mailbox searches the nodelist.
- The BBS refuses netmail to a node that is not in the nodelist, or that
the nodelist shows as down, when the user writes it. When the user
sends netmail, the BBS tells the user the name and place of the
system.
- `host = nodelist` makes the BBS call a link at the address in its
nodelist entry (the host of its IBN flag, or its INA).
- `bbs fido node` and `bbs fido nodes` look up systems. Callers can also
do this: **N** (PF5 on a 3270) in their mailbox searches the nodelist.
Only zones that the nodelists cover are checked. Netmail for other zones,
and for links, is sent without a check.
The BBS checks only the zones that the nodelists cover. It sends netmail
for other zones, and for links, without a check.
## AreaFix and FileFix
A link with `areafix = yes` manages its own echoes. Out of the echoes
that `echoes` (and `fileechoes`) allow, it gets the ones it asks for, by
sending netmail to AreaFix (or AreaMgr) and FileFix (or FileMgr, AllFix,
Raid, TicFix) with its `areafix_password` as the subject and one command
per line:
A link with `areafix = yes` manages its own echoes. From the echoes that
`echoes` (and `fileechoes`) permit, it gets the echoes that it asks for.
To ask, it sends netmail to AreaFix (or AreaMgr) and FileFix (or
FileMgr, AllFix, Raid, TicFix) with its `areafix_password` as the
subject and one command on each line:
```
+FSX_GEN link it (a pattern too: +FSX_*)
@@ -149,42 +164,47 @@ per line:
```
The answer comes back by netmail. The sysop can do the same from the
command line (`bbs fido link`, `unlink`, `filelink`, `fileunlink`) and see
what a link has (`bbs fido subs`). A link without `areafix` gets every
echo that `echoes` allows.
command line (`bbs fido link`, `unlink`, `filelink`, `fileunlink`), and
see the echoes of a link (`bbs fido subs`). A link without `areafix`
gets all echoes that `echoes` permits.
In the other direction, `bbs fido areafix hub COMMAND...` (or `filefix`)
writes to a link's robot with `areafix_password`. With `create = yes` on
that link, the echoes and file echoes it then sends are created here (as
a message area, or a sysop-upload file area, named by the tag) instead of
being dropped.
writes to the robot of a link with `areafix_password`. With
`create = yes` on that link, the BBS creates the echoes and file echoes
that the link then sends (as a message area, or a sysop-upload file
area, with the tag as the name). It does not discard them.
## File echoes
A file area becomes a file echo with `bbs filearea echo AREA TAG`. Files
arrive with TICs (FTS-5006). Each file is checked (that it came from the
link with its `tic_password`, its size and CRC-32, that it is not a
duplicate, and that it has not already passed this system), put in the
area with its description, and passed on with its own TIC to the other
links that carry the echo and are not in its SEEN-BY. A TIC's `Replaces`
removes the older files it names, among those that came by a file echo.
Files uploaded here (by callers, by FTP or with `bbs file add`) are
hatched, which means sent to every link that carries the echo. A file
that does not match its TIC goes to `dir/bad`, and a TIC waits a day for
its file. As with echomail, the first scan for a link only marks where to
start.
arrive with TICs (FTS-5006). The BBS does these steps for each file:
1. It checks the file: that it came from the link with its
`tic_password`, its size and CRC-32, that it is not a duplicate, and
that it did not already go through this system.
2. It puts the file in the area with its description.
3. It sends the file with its own TIC to the other links that carry the
echo and are not in its SEEN-BY.
The `Replaces` of a TIC removes the older files that it names, from the
files that came by a file echo. The BBS hatches files that are uploaded
here (by callers, by FTP or with `bbs file add`). This means that it
sends them to all links that carry the echo. If a file does not agree
with its TIC, it goes to `dir/bad`. A TIC waits one day for its file. As
with echomail, the first scan for a link only records the start point.
## Testing
The BBS was tested against binkd 1.1a and CrashMail II 1.7, with echomail
and netmail in both directions, both calling binkd and being called by it,
with ZIP bundles and CRAM-MD5. Bundles made by the real `arc`, `arj` and
`jlha` are tossed correctly, and those tools unpack what the BBS writes.
We tested the BBS against binkd 1.1a and CrashMail II 1.7, with
echomail and netmail in the two directions. The BBS called binkd, and
binkd called the BBS, with ZIP bundles and CRAM-MD5. The BBS tosses
bundles from the real `arc`, `arj` and `jlha` correctly, and those tools
unpack the bundles that the BBS writes.
## Not supported
File requests (FREQ), routing other systems' netmail, binkp's NR mode,
CRYPT and multiple batches (the BBS speaks binkp/1.0, which every mailer
accepts), and EMSI for mailers calling by modem.
File requests (FREQ), the routing of netmail from other systems, the NR
mode of binkp, CRYPT and multiple batches (the BBS uses binkp/1.0, which
all mailers accept), and EMSI for mailers that call by modem.
**See also:** [Newsgroups and NNTP](Newsgroups-and-NNTP), [Security](Security)