At a glance
TBBS, The Bread Board System, ran some of the biggest multi-line boards of its day. One program served every line. Its callers met in conference and played games together without ever leaving the board, and ATA runs it that way again: every caller's browser runs that caller's own line of one shared TBBS.
This page covers everything that's particular to TBBS on ATA: what ATA set up, the console, making the board your own, what callers see, file transfers, paging, TDBS programs such as Legends, and DOS doors such as Legend of the Red Dragon (LORD) through eSoft's InterChange. The ATA manual covers what every board shares, and the door guide covers LORD everywhere else.
- Package
- TBBS 2.3 (The Bread Board System), Philip L. Becker, Ltd., published by eSoft, Incorporated; the 32-line edition, with eSoft's own field mods and Y2K mods
- Lines
- Sixteen callers at once, six on a fresh install. Each caller's browser runs that caller's own line of one shared TBBS, with a door line of its own beside it.
- Starting account
- SYSOP
- Callers page you with
- S on the Utilities menu (U at the main menu)
- Console keys
- Answer and Break in: TBBS's console picks the caller's line (F2, the arrows, Enter), then F1, its chat toggle. Leave: F1, then F2 back to the console's main screen.
- Add-ons
- TDBS programs (eSoft's database language; Legends is one) and DOS doors through eSoft's InterChange (LORD is one)
What ATA set up
- The package's own install with its sample menus. eSoft's installer was run once and kept, and eSoft's field mods and Y2K mods went on through eSoft's own UPDATE program.
- COM1 for the board's line. The sample's one line was a "ghost" line; ATA made it COM1, the change CEDIT makes.
- Expanded memory. TBBS won't start without it, so Jemm, a free expanded-memory manager, loads before it.
- eSoft's InterChange, switched on. It loads with the board, CEDIT's line 2 on COM2 is its door line, eSoft's door kit sits in
D:\TDOOR, and InterChange's two door scripts, RUNDOOR.SCR and DOORMENU.SCR, sit inD:\TBBS. - eSoft's TDBS, switched off. Its two files sit in
D:\TBBS, and the TDBS card on the console's Settings page turns it on. D:\DOORS, the door folder. Each TDBS program and each DOS door goes in a folder of its own inside it.- A new operator password. The one the package ships with is in every copy of TBBS.
- A password for every member. TBBS's sample let a new caller choose no password at all, and ATA can't let a member without one back in. ATA raised CEDIT's Minimum Length for Password to 1.
Lines
TBBS is one program that serves every line. On ATA each caller's browser runs that caller's own line of that one TBBS while the host keeps the rest of its memory, which is how callers meet in CHITCHAT and play the same games. A fresh install opens six lines, and Settings, The line, raises the cap to sixteen. No line needs setting up. Each caller also gets a door line of their own for LORD and the other DOS doors, made from line 2 in CEDIT's Port Definitions.
When the last caller hangs up, the shared TBBS ends, and the next caller starts it afresh from the board's files, so whatever you change on the DOS page while nobody's on counts from the next call.
The console's DOS page
The DOS page runs a TBBS of its own. It won't boot while a caller is on, and callers hear BUSY ("the SysOp is working on the board") while it's open: two copies side by side would share the user log and the message base with nothing between them. End session frees the board for callers.
- TBBS, local logon starts the board and logs you on as SYSOP; ATA types the L and the Y for you. Goodbye returns you to TBBS's waiting screen. Alt and F3 there shuts TBBS down and leaves the machine at a DOS prompt.
- CEDIT, the configuration edits
TBBS\CONFIG.CTL. - ULEDIT, the user log edits members. When you leave it, TBBS starts on the page by itself: ULEDIT marks TBBS's name index stale when it backs up the user log and when its user list changes, and TBBS rebuilds the index at its next start. Until it has, callers hear the closed-board notice and every console page tells you why. Once TBBS's waiting screen is up, Alt and F3 shut it down.
- SDL, compile the menus compiles
TBBS\MENU\MENU.SDLafter you edit it. - DOS prompt gives you the machine's own prompt on the board drive.
The page also shows the board drive's full path on your host. The console's Files page puts files there for you, in capital letters; with FTP, use binary mode.
Making it your own
Configuration. CEDIT edits TBBS\CONFIG.CTL, which holds the system name, the lines, the new-user defaults, the message sections, the file areas and the protocols.
Menus. They're the source file TBBS\MENU\MENU.SDL, which SDL compiles into the MENU*.CTL files TBBS reads. Edit it on the console's Files page, then press the DOS page's SDL, compile the menus. Keep its DOS line ends. SDL calls a line without them Invalid and leaves that menu as it was. The Files page keeps them. With FTP, send MENU.SDL in binary mode. In a menu entry, write Key= with no spaces around the equals sign. SDL reads a line with spaces as menu text, and the key then does nothing.
The new-user questionnaire. The sample's REGISTER questionnaire asks a new caller for a phone number, an address, a city, a state, a zip code and a birth date, and with ANSI it's a full-screen form. It runs from the entrance menu (Menu: 0000 in MENU.SDL), and to switch it off you find the entry that says Opt Data=REGISTER and put a semicolon at the start of each of its lines, from Entry: down to A1=.-------:
;Entry:
;Key=^@ Type=32 Opt Data=REGISTER
;A1=.-------
Compile the menus. New callers skip the form from the next call on and land at the main menu.
Screens. The screens callers see are text files in TBBS\TEXT, and the questionnaires are TBBS\QA\*.QAL, compiled by QAL. D:\TBBS holds three logon screens. SIGNON1.TXT greets a caller before the name prompt, and SIGNON2 follows the logon. SIGNOFF comes at goodbye. Each one shows only while CEDIT's Logon Options mark it In Use. All three ship off. For SIGNON2 and SIGNOFF, TBBS shows an .ANS version to callers with ANSI when there's one.
What ATA keeps as you set it. Grant access flags, time and download limits, billing classes, Sysop Access and expiration dates in ULEDIT. ATA keeps those fields as you set them, so a questionnaire that tries to grant one doesn't stick, and a new caller gets CEDIT's New User Defaults. Two things stay the member's own: A1 flag 1, which the sample REGISTER questionnaire sets as its done mark (gate nothing on it), and the counts the limits are checked against (the day's usage and the billing time used), which a tampered caller could reset. In ULEDIT, give a member a new password rather than clearing one.
Settings to leave alone. Keep CEDIT's Expire New Users at 0, since callers are turned away while it isn't: ATA can't hold an applicant to the date TBBS would write. Its Day File Route stays off the disk and its TBBS Temp File Directory stays empty. Keep a new caller's password required too: callers are turned away if Minimum Length for Password goes back to 0 or Request New Caller's Password is turned off. Custom Logon Options on line 1 in CEDIT's Port Definitions override both, so set them on the system-wide Logon Options screen instead.
The poll. The sample poll counts its votes inside QA\VOTING.QAF, and ATA lets callers change only those counters. Recompiling VOTING.QAL unchanged clears the results. Edit it and the counters move, after which every vote would be refused.
What callers see
The name prompt wants both a first and a last name. A caller TBBS knows is shown the city they gave and asked "Is this correct?" (one key) before the password. ATA compares the password exactly as it's typed, capitals included, though TBBS itself would take a member's password in any case. A wrong password is simply asked again.
A new caller answers the terminal questions and chooses a password of 1 to 8 characters, then fills in the REGISTER questionnaire unless you've switched it off.
Menus are hotkey menus. G and then G again logs off. Posting a message starts at M: pick the section by its number, then press S. C on the main menu is CHITCHAT, TBBS's conference between lines, where callers on different lines meet.
Files
TBBS runs XMODEM, XMODEM-1k, YMODEM, YMODEM-g, SEAlink, Kermit, SuperKermit and ZMODEM itself, and its protocol picker takes the letter alone.
- Upload: U on the file menu (F at the main menu), then a file name, a one-line description and the protocol. The file lands in
TBBS\FILE\UPLOADSand in that area's list at once. - Download: TBBS's full-screen file lister. Pick an area by its number and press Enter, move the bar to a file, press Enter for its card, then Ctrl-D to download it. Space tags files for a batch, and D downloads the batch.
Members may upload any kind of file there, programs included. Nothing in TBBS runs a program from its upload area. On the shared board an upload moves at about 3 KB a second, the pace of a fast modem of the day: 400 KB took about two minutes when measured. Downloads run faster.
Paging and chat
A caller pages you with S on the Utilities menu, and TBBS tells them the System Operator has been paged and lets them carry on. The console's PG lamp lights.
TBBS's console chats with the line it monitors, so Answer and Break in on the Watch page both have the console pick that caller's line first. F2 opens its line grid and the arrows reach the line. Enter monitors it. Then comes F1, TBBS's chat toggle, which answers a page or opens a chat nobody asked for. Leave presses F1 to end the chat and F2 to take the console back to its main screen. Esc doesn't end a chat.
The console runs in the browser of the caller you watch, so your chat never passes through anyone else's. While it's in a chat with one caller it stays with them, and the Watch page tells you to leave that chat before you answer another.
How ATA keeps the shared TBBS safe
Every caller's browser holds a copy of the one TBBS program's memory. The host serves each browser the other callers' lines as blanks and refuses any change to them that TBBS itself wouldn't make, so a caller's screen, what they type, their user record and their private details stay theirs.
Some memory TBBS shares between lines can't be kept apart that way. A tampered browser could read or change what a caller types into a TDBS program while TDBS is on, or point a file TBBS keeps open at another file. It could also see when other callers type, though never what they type. And it could make TBBS misbehave for everyone until the board starts afresh, which it does when its last caller hangs up.
When the board itself won't answer
- The AA lamp is red and callers are refused. Either one of the "Settings to leave alone" above has changed, or TBBS's name index is stale after ULEDIT. For the last, start TBBS once on the DOS page. If the name index is damaged in a way TBBS doesn't notice itself, the banner says to make a Backup in ULEDIT first, which marks the index stale so the next start rebuilds it. The dashboard's status line and the banner on every console page say which, and the board answers again once it's fixed.
- Callers hear BUSY with nobody on. An open DOS page holds the board: press End session there.
TDBS programs
TDBS is eSoft's database language for TBBS, and its programs run inside the board itself, from games such as Legends to applications of every sort. A TDBS program is a .TPG file and its data files. A TYPE=200 menu entry runs it. No drop file, no batch file. When the program ends, the caller is back at TBBS's menu.
In a door folder the players may change a program's data while they play, but the .TPG itself is yours alone, so no caller can swap the program a menu entry runs.
Turning TDBS on
The TDBS card on the console's Settings page shows whether TDBS is on. Turn TDBS on adds TDBS (TDBSOM) to the option list on the line in TBBS\TBBSCALL.BAT that starts MLTBBS (/O:ICHG,TDBSOM, InterChange first), and Turn TDBS off takes it out again, while an option you added to that line yourself stays put.
It needs a quiet board. The TBBS callers share and the DOS page's TBBS both start from that line, so the button works only while nobody's on and the DOS page has no machine running, and the change counts from TBBS's next start, which is the next call. On a board installed before TDBS came with ATA, turning it on also copies TDBS's two files (TDBSOM.EXE and TDBSEMSG.TXT) in from ATA's own copy of the board and makes D:\DOORS if it isn't there yet.
Installing a TDBS program
Turn TDBS on (above).
Upload the program into a folder of its own under
D:\DOORS, for exampleD:\DOORS\LEGENDS: on the console's Files page, make the folder inDOORSand upload the archive's files into it. In a door folder the game's data (its database and index files) is the players' to change as they play. Its programs, the two.TPGfiles and two DOS utilities, change only from your console.Add a menu entry to
TBBS\MENU\MENU.SDL(edit it on the console's Files page), on the menu you want, using a row and a key that menu doesn't use yet:Entry: @OPTION8(L,Legends (TDBS game)) Key=L Type=200 Opt Data=D:\DOORS\LEGENDS\LEGENDS /QThe Opt Data is the program's path without
.TPG, followed by whatever switches the program's own notes give.@OPTION8is the Utilities menu's eighth row, the first one it leaves free.Compile the menus. On the DOS page, press SDL, compile the menus. Only the menu you changed comes out different.
Call in and press the key.
Legends
Legends is a multi-player adventure game written in TDBS by Jeffrey D. Hoffman and published by Advanced Systems Research. ATA never ships it, so get it from wherever it's distributed today and follow the steps above. The entry there is the one in Legends' own SYSOP.TXT, with the path changed to the door folder.
- A first-time player rolls their abilities and makes a character, then lands at the game's
Command:prompt. - A returning player goes straight to that prompt with the same character.
WHOlists the players in the game, andQUITgoes back to TBBS. - Callers on different lines play in one world at the same time:
WHOlists all of them and aYELLreaches every player. - Legends has a race of its own here, as it had on a multi-line TBBS of the era. Two new players making characters at the same moment can take the same new record, and one of them is then told their character was slain. Players who come in a moment apart never meet it.
- The archive is an unregistered demonstration, so each player gets one game a day. A registration from Advanced Systems Research replaces
LEGENDS.TPGand leaves the game's world as it was. - Legends also comes with a daily task,
GTASK.TPG, which its notes run as a TBBS ghost task. ATA doesn't run ghost tasks yet, though the game plays without one. - Legends keeps its world in dBASE files beside the program. If its indexes are ever damaged, Legends' own
NDXLGNDS.EXErebuilds them; run it on the DOS page fromD:\DOORS\LEGENDSwhile nobody is playing.
Any other TDBS program installs the same way, in a folder of its own under D:\DOORS with its own TYPE=200 entry.
When a TDBS program stops
TDBS names its errors. It reports a run-time error as a procedure and line, then an error number, for example [MAKEPLYR-379] [1151]. TBBS\TDBSEMSG.TXT lists the numbers in hexadecimal (1151 is 047F, "Record is not in index"), and the program's own notes say how to repair its files.
If a TDBS program doesn't start at all, TDBS is off, or the entry's Key= has spaces around the equals sign.
DOS doors through InterChange
On a TBBS of the era, a DOS door ran on a second computer, the door slave, which a null-modem cable wired to the TBBS machine. A TYPE=210 menu entry starts InterChange with a script that grabs the door line and asks eSoft's TDOOR program on the slave to run the door. TDOOR then writes the drop file and runs the door's batch. When the door ends, the caller is back where they left off.
ATA keeps all of it. The door slave is a second small DOS machine in the caller's own browser, cabled to that caller's door line. It starts when the call connects, but only when the folder D:\TDOOR holds a batch for at least one door. No door, no second machine. At each call ATA copies D:\TDOOR into the caller's line's own folder, D:\TDOOR\N1 for line 1, D:\TDOOR\N2 for line 2 and so on. TDOOR writes the drop file there, with ATA's stand-in for the caller's password in it, and the drop file never leaves the caller's browser, so no door ever sees the real password.
Two waits are built in. A caller who reaches a door before the door slave has finished starting waits while it starts. And TBBS takes about six seconds to reset a door line after a door ends, so a caller who leaves a door and goes straight back in waits that long for their line.
LORD, step by step
Put LORD in
D:\DOORS\LORD. Use the 4.07 release with the community patch laid over it, the same files as on every other board (the door guide's chapter 2).Point LORD's START.BAT at its folder. Its first two lines are yours to set:
D: CD \DOORS\LORDSet up a LORD node for every line. LORD numbers its nodes as the board numbers its lines, and the door's batch hands it the caller's line. On the DOS page, change to
D:\DOORS\LORDand run LORDCFG (CD \DOORS\LORD & LORDCFG). Under Configure Nodes, set each node from 1 up to the Node cap on the Settings page the same way: BBS software DOORSYS, the drop file path of that line's folder (d:\tdoor\n1\for node 1,d:\tdoor\n2\for node 2), and comm setting Regular Fossil. If you'd rather edit the files, eachNODE<n>.DATis text: it wantsBBSTYPE DOORSYSandBBSDROP D:\TDOOR\N<n>\, with theFOSSILline uncommented.Write the door's batch,
D:\TDOOR\LORD.BAT. Its name is the door's name: InterChange asks TDOOR for "LORD", and TDOOR runs LORD.BAT. The InterChange manual gives its form: change to the door, run it, change back, and restart TDOOR.@ECHO OFF D: CD \DOORS\LORD CALL START.BAT %NODE% CD \TDOOR\N%NODE% RUNDOOR %1 %2Add the menu entry to
TBBS\MENU\MENU.SDL, on the menu you want:Entry: @OPTION9(D,Doors: Legend of the Red Dragon) Key=D Type=210 Opt Data=RUNDOOR.SCR /P2:"LORD" /P1:"%TIMELEFT%" /Q /S /C/P2:"LORD"names the door's batch, and/P1:"%TIMELEFT%"gives the door the caller's time left./Qkeeps InterChange's start-up message off the screen./Sruns the script once, and/Cbrings the caller back to TBBS when the door ends. Row 9 and key D are free on the main menu, while on the Utilities menu D is already Display Time Parameters, so pick another key there, such as X.Compile the menus with the DOS page's SDL, compile the menus.
Call in and press the key. TBBS says "Accessing door...", then LORD's title screen comes up. Leaving LORD brings the caller back to the TBBS menu they came from. Callers on different lines play at once, each on a door line of their own, in one LORD world.
The first call after you add a door's batch starts the door slave. A caller who was already on when you added it gets it on their next call. No restart needed.
LORD writes its player file without locking it, and each caller's door machine sees another line's changes up to a few seconds late. Two players on different lines who make new warriors within those few seconds can lose one of the two; that player makes a new one next time.
More than one door
Each door gets a folder of its own under D:\DOORS and a batch in D:\TDOOR named for the door, which its TYPE=210 entry names in /P2:"...".
For one menu entry that lists every door, use InterChange's other script instead, D:\TBBS\DOORMENU.SCR. Its menu is the Message lines after :MENU, and each door is a pair of lines: SET S1="NAME" with the door's batch name, then IF S9 = "1" GOTO RUNDOOR with the key that picks it. Swap in your doors. For LORD alone:
Message "1. Legend of the Red Dragon"
...
SET S1="LORD"
IF S9 = "1" GOTO RUNDOOR
Then add one menu entry for the whole list, on the menu you want, with a key that menu doesn't use:
Entry:
@OPTION9(D,Doors)
Key=D Type=210 Opt Data=DOORMENU.SCR /P1:"%TIMELEFT%" /Q /S /C
When a door doesn't start
- "Door not responding." Nothing answered InterChange's request within 30 seconds. Most often
D:\TDOORholds no batch for that door yet, and without one no door slave starts: add the batch, and callers already on get the door slave on their next call. If the batch is there, the door slave has stopped. Hang up and call again, since it starts fresh with every call. - "Doors not available now, try later." InterChange couldn't take the caller's door line, even after trying for about fifteen seconds. Each caller's door line is made from line 2 in CEDIT's Port Definitions, the door line ATA set up on COM2, and InterChange has to load with the board (
/O:ICHGon the line inTBBSCALL.BATthat starts it). Check that both are still there. - "Error starting Door." TDOOR has no batch by the name the entry asked for. Check that
D:\TDOOR\LORD.BATexists and that the entry says/P2:"LORD". - LORD says its configuration file is missing. The node file for that caller's line (
NODE2.DATfor line 2) isn't inD:\DOORS\LORD. Set that node up in LORDCFG. - LORD stops at "Opening DOOR.SYS". The
FOSSILline in that line'sNODE<n>.DATis commented out, or its drop file path names another line's folder. LORDCFG's comm setting must be Regular Fossil.
TDBS and InterChange together
Both are option modules, loaded from one list on the line that starts the board: with TDBS on, it reads MLTBBS /O:ICHG,TDBSOM, and the TDBS card keeps InterChange in it. Editing TBBSCALL.BAT yourself? Keep both names in the one /O: switch.
