[2ch] Is this legacy 2001 2channel code usable ? (8)

1 Name: Nameless : 2026/08/28 14:02

There's an archive of 2ch's read.cgi from the 2001 UNIX crisis, does anyone know how I could compile this ?

https://github.com/nekoruri/readcgi

2 Name: Nameless : 2026/08/28 17:46

maybe yeah but it would be a bit useless if you don't have the proper posting system

3 Name: Nameless : 2026/08/28 21:25

>>2
I'm already working on my own 2ch clone software, it uses my own read.cgi currently but having 2ch's would make definitively be better.

4 Name: Nameless : 2026/08/29 16:19

>acquire tech/dat/998845501.dat
>make
>make install

5 Name: Nameless : 2026/08/29 16:30

>>4
I tried that (except for acquiring the dat), but it spits out some error relating to some "USE_INDEX" function.

6 Name: Nameless : 2026/08/31 00:52

>>5
There are 2 problems.

  1. All the source is encoded in JIS and contemporary compilers expect UTF-8.
  2. The syntax for multi-line strings in C requires trailing backslashes to do line continuation.

Fix:

  1. The easiest thing to do is to re-encode *.c and *.h as UTF-8.
  2. Add trailing backslashes where appropriate for R2CH_HTML_DIGEST_FOOTER and R2CH_HTML_INDEX_FOOTER in r2chhtml.h.

7 Name: Nameless : 2026/09/01 14:04

hey angeleno

8 Name: Nameless : 2026/09/01 16:14

>>6
I'll try that, thanks.

>>7
Hello.

Name: E-Mail:
Leave these fields empty (spam trap):
More options...
Verification: