CompuServe forum libraries on the file areas, with B Plus

A forum's libraries are the file areas of its group (file areas get a
group, set by bbs filearea group), numbered from 0.  LIB n opens one at
LIB !: DIR, BRO and SCA list the files the period's way ([ppn],
NAME/binary, date, size, Accesses:, Title, Keywords, description); DOW
sends one by CompuServe B / Quick B / B Plus, XMODEM, Kermit or DC2/DC4
capture, from /PROTO: or the protocol menu, within the BBS's download
limits; UPL takes one, then its title, keywords and description.

The B engine: a TU garbled on the way is sent again on a NAK or silence
(both sides NAKed each other before), a lost ACK of the final TC is not
a failure, and Rest gives what was read past the protocol.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01B82eRRPWCkk1Ro91AuzXFM
This commit is contained in:
Claude committed 2026-11-08 12:16:30 +00:00
1 parent cc3712381f
commit 019b186518
12 files changed
+946 -19

No files matched your search

+22
View File
@@ -32,6 +32,7 @@
// bbs [-config FILE] filearea add NAME [DESCRIPTION] [-sysop-upload]
// bbs [-config FILE] filearea del|list [NAME]
// bbs [-config FILE] filearea echo AREA TAG|-
// bbs [-config FILE] filearea group AREA GROUP|-
// bbs [-config FILE] file add AREA PATH [DESCRIPTION] [-as NAME]
// bbs [-config FILE] file list AREA
// bbs [-config FILE] file del AREA NAME
@@ -136,6 +137,8 @@ func usage() {
bbs [-config FILE] filearea del NAME
bbs [-config FILE] filearea list
bbs [-config FILE] filearea echo AREA TAG|- make it a FidoNet file echo (- : not)
bbs [-config FILE] filearea group AREA GROUP|- list it under a group: the libraries of that
group's CompuServe forum (- : none)
bbs [-config FILE] filearea require AREA DOWNLOAD UPLOAD
bbs [-config FILE] file add AREA PATH [DESCRIPTION] (as the first sysop)
bbs [-config FILE] file list AREA
@@ -985,8 +988,27 @@ func fileAreaCmd(cfg *server.Config, args []string) {
if a.FileEcho != "" {
only += " (file echo " + a.FileEcho + ")"
}
if a.Group != "" {
only += " (group " + a.Group + ")"
}
fmt.Printf("%-20s %5d files %10s %s%s\n", a.Name, a.Files, files.Size(a.Bytes), a.Description, only)
}
case "group":
if len(words) != 3 {
usage()
}
a, err := st.FileAreaByName(words[1])
if err != nil {
fatal(fmt.Errorf("%s: %w", words[1], err))
}
g := bbs.Clean(words[2], 30)
if g == "-" {
g = ""
}
if err := st.SetFileAreaGroup(a.ID, g); err != nil {
fatal(err)
}
fmt.Printf("%s: group %q\n", a.Name, g)
case "echo":
if len(words) != 3 {
usage()