# MapleBBS 3.0 簡報文件 * 原作:潘仁義 `Thor.bbs<at>bbs.cs.nthu.edu.tw` * 文件其一出處:http://ftp.isu.edu.tw/pub/Unix/BBS/Maple/Maple3/MapleBBS.ppt * [原文件備份](https://github.com/bbsmirror/BBSmirror/blob/master/Maple/Maple3/MapleBBS.ppt?raw=true) --- ## Directories & File Manifest * `brd/` 各看版, `gem/`, `gem/brd/` 各版精華區 * 以 **radix32** 方式分置 * `etc/` 各通告, 系統設定檔 * `innd/` 所有 `innbbsd` 相關程式及設定, log * `log/` 過去log記錄備份處 * `run/` 目前log記錄, pid * `usr/` 使用者目錄, 分英文字母(26)存放 * `.BRD` 看版屬性 * `.USR` 使用者 unique no --- ## Services providing (daemons) * `bbsd`: (BBS daemon) * `bgopherd`: (gemd, gopher daemon for BBS) * `bmtad`: (Mail Transport Agent for BBS) * `bpop3d`: (POP3 daemon for BBS) * `innbbsd`: (InterNetNews daemon for BBS) * `xchatd`: (XChat daemon for BBS) * `bguard`: (finger daemon, ushm reaper) --- ## `bbsd` architecture * `bbsd` * virtual terminal * `xover`: message mapping * `board(C)` , `gem(A)` , `mail(M)` , `post(B)` , `talk(U)`, `vote` * `visio` (Virtual Screen Input Output routines) * `cache` * ushm(user), bshm(board), fshm(film) * `acct`, `chat`, `edit`, `menu`, `more` --- ## `dao` library (Data Abstract Operation) * `acl_*` (access control list operation) * `archiv32` / `chrono32` (radix32 operation) * `dns*` (DNS operation) * `f_*` (file operation) * `hdr_*` (HDR operation) * `rec_*` (record operation) * `str_*` (string operation) --- ## Utilities * `account` / `poststat` (各項統計, 及常態備分) * `bquota` / `reaper` (個人信件管理及帳號砍除) * `camera` (更新動態看版) * `expire` (看版文章砍除) * `gem-check` / `gem-index` (精華區整理&索引) * `hdr-dump` (show `.DIR`) * `webx` (WWW fetch) --- ## 外掛界面與動態屬性介紹 * `dl_lib.c` * `DL_get` (`name`) * `DL_func`(`va_alist`) * `attr_lib.c` * `attr_get` * `attr_put` * `attr_step` --- ## 示範安裝過程與程式修改 * ftp://rouge.dorm10.nctu.edu.tw/ * 傻瓜猜數字?!? --- ## unimplemented * `bbtpd` (Bulletin Board Transport Protocol) * `webd` (web bbs) * personal digest