PttCurrent 板


LINE

# 1. 程式码资讯相关 目前测试中相关原始码: https://github.com/clamtestbbs/pttbbs-inndtest/ (fork form https://github.com/ptt/pttbbs ) 如何恢复功能:revert 相关程式修改, 及调整 conflict 的部分 pttbbs 拔转信前最後一次版本纪录 https://github.com/ptt/pttbbs/tree/cc5cf85 拔转信後相关的 commit log: (防止转到有网页版本的站台上, 暂移除 Author 那栏@@ 将 commit 栏位後变得版本号直接加到 https://github.com/ptt/pttbbs/commit/ 後面,即可线上检视 GitHub 网页版本纪录 commit 524cced5b2afc20ef9af7570067887fc93a9cd23 Date: Fri Jun 17 19:12:08 2016 +0800 Delete obsolete innd in dailybackup.pl. https://github.com/ptt/pttbbs/commit/524cce > -------------------------------------------------- commit 93418d2464237b6cfc56ae3f293a1129d18b603f Date: Fri Jun 17 18:30:54 2016 +0800 Remove obsolete innd which causes infinite loop. https://github.com/ptt/pttbbs/commit/93418d > -------------------------------------------------- commit 9e78c68152159e3324679f8fd92a1a5e2a05bc7f Date: Thu Jul 16 18:26:07 2015 +0800 Remove innd description on board list header. https://github.com/ptt/pttbbs/commit/9e78c6 > -------------------------------------------------- commit eb576132e737761848959e40e185dcd25c79c053 Date: Wed Jul 8 18:10:08 2015 +0800 Remove innd support in mbbsd. Removed BRD_NOTRAN and BRD_LOCALSAVE. Also removed related code. https://github.com/ptt/pttbbs/commit/eb5761 > -------------------------------------------------- commit 6ad941c731961c475192adc30795b512e5e14ad3 Date: Tue Nov 4 15:22:29 2014 +0800 Misc update due to source repository changes (moved to github). Also removed innbbsd references. https://github.com/ptt/pttbbs/commit/6ad941 > -------------------------------------------------- commit ed71cbf390ea9b314e9506ba647c0104ef77a465 Date: Mon Nov 3 18:54:49 2014 +0800 Remove innbbsd. Alice: What is innbbsd? Bob: Something when BBS servers were acted as Newsgroup readers. Eve: Then why do we keep it? No one is interested in maintaining innbbsd, especially Group.NCTU.edu.tw is now dead. https://github.com/ptt/pttbbs/commit/ed71cb > -------------------------------------------------- # 2. 转信程式大致包含哪些 source code 的 innbbsd/ 大致包含 antisplam.h clibrary.h daemon.c echobbslib.c innbbsconf.h inntobbs.c nocem.c rfc931.c bbslib.c closeonexec.c daemon.h externs.h innbbsd.c inntobbs.h nocem.h bbslib.h connectsock.c dbz.c file.c innbbsd.h Makefile pmain.c bbslink.c COPYRIGHT.nocem dbz.h his.c inncheck.pl mkhistory.c port.c bbsnnrp.c ctlinnbbsd.c dbztool.c his.h inndchannel.c nntp.h receive_article.c 可以参考 https://github.com/clamtestbbs/pttbbs-inndtest/tree/r2.inndtest/innbbsd 利用 pmake/bmake 来编译/install後会安装到 (BBS家目录)/innd/ 这个地方 =================== 另外在 sample 底下也有 innd/ 这个范例目录,主要包含了: bbsname.bbs Makefile ncmperm.bbs newsfeeds.bbs nodelist.bbs ntu.active 其中此部分跟 Maple-itoc 用的转信程式明显的差异在於 1. 这边设定的档案皆是直接来工作站用vi/vim/nano等编辑器直接设定 但 Maple-itoc 则是去 (0)Admin 之类的地方设定 (工作站下编辑器反而无法直接编辑 or 要在其他特殊模式下编辑? [待确认]) 2. PttBBS 停止维护转信功能前用的转信程式 底下有 [站台名称].active 的相关档案来设定 high-number 等等东西 也就是可以对照连到 news server 後输入 list 指令会看到的东西: $ telnet news.tnfsh.tn.edu.tw Trying 210.70.137.5... Connected to news.tfcis.org. Escape character is '^]'. 200 news.tnfsh.tn.edu.tw InterNetNews NNRP server INN 2.4.6 ready (posting ok). list_ 215 Newsgroups in form "group high low flags". ...(略) TFCIS.alumni.Tainan.NCTU 0000002279 0000000779 y TFCIS.chat 0000000202 0000000153 y TFCIS.club.TFCIS 0000000721 0000000384 y TFCIS.comp.ACM 0000000038 0000000039 y TFCIS.comp.OS 0000000426 0000000427 y TFCIS.comp.Programming 0000000068 0000000069 y TFCIS.comp.lang.CnCPP 0000000123 0000000124 y ...(略) TFCIS.personal.itoc 0000005139 0000004068 y > ------------------------- 因此 ntu.active 范例里面的资料内容就直接显示 tw.bbs.chat 0000000000 0000000000 y 来对应 newsfeeds.bbs 范例里的 # newsgroups board news server #------------------------------------- -------------- ----------- #tw.bbs.test test ntu 再对应 nodelist.bbs 范例里的 # name hostname & domainname full name #------- ---------------------------------- ------------ #ptt2 ptt2.csie.ntu.edu.tw IHAVE(7777) Ptt2 #ntu news.ntu.edu.tw POST(119) NTU News Server 至於 ptt2 那行的意义,经过初步测试是推测要先设定这行 转信程式才知道自己的 server 的资讯是什麽@@ (待确认) 其他设定详细资讯还留到之後介绍@@ 但大致而言的确还是觉得 Maple-itoc 的转信介面比较友善 XD # 3. (接收)转信程式是怎麽来的? 看了一下才发现不论 Maple-itoc 还是 PttBBS 先前用的 都有 patch 其他作者写的相关接收程式後, 放进来用的痕迹@@ (待确认 像是 NoCeM 挡信机制就有相关的版权页..等 但都因为版本纪录显示很早期(2000年左右或更早)这方面的东西就在交流, 传来传去就更有不知原本那些 code 从那个神秘地方来的 fu.... 真要维护起来似乎也愈来愈难.... === 先记到这边,之後ok的话应该会补充@@ --



※ 发信站: 批踢踢实业坊(ptt.cc)
※ 转录者: holishing (140.116.101.37), 12/16/2017 03:32:12
1F:推 hijkxyzuw: r2 安安,原来可以从信箱转发文喔 12/24 00:47
hi ※ 编辑: holishing (140.116.101.37), 04/20/2018 01:52:00







like.gif 您可能会有兴趣的文章
icon.png[问题/行为] 猫晚上进房间会不会有憋尿问题
icon.pngRe: [闲聊] 选了错误的女孩成为魔法少女 XDDDDDDDDDD
icon.png[正妹] 瑞典 一张
icon.png[心得] EMS高领长版毛衣.墨小楼MC1002
icon.png[分享] 丹龙隔热纸GE55+33+22
icon.png[问题] 清洗洗衣机
icon.png[寻物] 窗台下的空间
icon.png[闲聊] 双极の女神1 木魔爵
icon.png[售车] 新竹 1997 march 1297cc 白色 四门
icon.png[讨论] 能从照片感受到摄影者心情吗
icon.png[狂贺] 贺贺贺贺 贺!岛村卯月!总选举NO.1
icon.png[难过] 羡慕白皮肤的女生
icon.png阅读文章
icon.png[黑特]
icon.png[问题] SBK S1安装於安全帽位置
icon.png[分享] 旧woo100绝版开箱!!
icon.pngRe: [无言] 关於小包卫生纸
icon.png[开箱] E5-2683V3 RX480Strix 快睿C1 简单测试
icon.png[心得] 苍の海贼龙 地狱 执行者16PT
icon.png[售车] 1999年Virage iO 1.8EXi
icon.png[心得] 挑战33 LV10 狮子座pt solo
icon.png[闲聊] 手把手教你不被桶之新手主购教学
icon.png[分享] Civic Type R 量产版官方照无预警流出
icon.png[售车] Golf 4 2.0 银色 自排
icon.png[出售] Graco提篮汽座(有底座)2000元诚可议
icon.png[问题] 请问补牙材质掉了还能再补吗?(台中半年内
icon.png[问题] 44th 单曲 生写竟然都给重复的啊啊!
icon.png[心得] 华南红卡/icash 核卡
icon.png[问题] 拔牙矫正这样正常吗
icon.png[赠送] 老莫高业 初业 102年版
icon.png[情报] 三大行动支付 本季掀战火
icon.png[宝宝] 博客来Amos水蜡笔5/1特价五折
icon.pngRe: [心得] 新鲜人一些面试分享
icon.png[心得] 苍の海贼龙 地狱 麒麟25PT
icon.pngRe: [闲聊] (君の名は。雷慎入) 君名二创漫画翻译
icon.pngRe: [闲聊] OGN中场影片:失踪人口局 (英文字幕)
icon.png[问题] 台湾大哥大4G讯号差
icon.png[出售] [全国]全新千寻侘草LED灯, 水草

请输入看板名称,例如:Tech_Job站内搜寻

TOP