It's done! Holy Tramiel it's done!!
The whole thing is now running on SEQ files, it works like a (lightspeed) charm with sd2iec devices and there is no longer a 6-lines-per-message limit (there is, of coures, a message buffer limit of 4KB).
I got it working here and I just spent two hours posting messages, listing them (*tadaa* new feature!) and doing all sorts of optimization. The server binary is now an impressive 157 blocks. But I hope I can free a few byte in the upcoming cleanup of the code.
If you know how to build this thing and write it to a d64 image or real diskette, feel free to pull the
latest sources - they're on sourceforge.net now, due to recent changes in GitHub ownership (heh).
The setup program needs some more tweaking and I need to test the new "board drive" option which allows you to store you message bases on another disk drive / sd2iec device.
But to show you what the new thing looks like on the connecting end, I have this log for you:
Code:
Escape character is '^]'.
W e l c o m e t o :
-=-=-=-=-=-=-=-=-=-
>> Contiki BBS <<
Contiki BBS V0.2.8.0 (C) 2009-2018
by
N. Haedecke
Contiki BBS 0.2.8.0alpha
login: guest
password: guest
** M A I N M E N U **
====================================
'boards'....... list & select boards
'read'......... list & read messages
'post'......... write new message
'page'......... page sysop
'help'......... display help
'quit'......... exit bbs (logout)
====================================
BBS>read
board has 20 msgs.
read (msg#/list/quit): list
msg# subj.
1 One
2 Two
3 Test!
4 OneTwoThree
5 Test once more
6 Eliza
7 123
8 Testing Agaiiiin!
9 Hello!
10 Number ten
11 Another one
12 A long one ...
13 Lines ...
14 Doobie Dooby
15 Postman
16 Coding is fun!
17 Commodore 64 ...
18 Posting
19 Bulletin Board System
20 Twenty
BBS>read
board has 20 msgs.
read (msg#/list/quit): 12
msg# 12 subj.: A long one ...
---------+---------+---------+---------+
This is a very long message. It's a
test message for testing messaging and
message handling. Got the message?!
So here we are, running the new ver-
sion of Contiki BBS and testing
all the neat features and hoping
that the whole thing doesn't blow
up in our face.
Anyway, if you feel like dancing,
I recommend to play a few sids or
maybe even mods (got an Amiga?)
Right, this seems to be long enough
a message for me.
Peace!
BBS>help
Available commands:
? : shows this help
boards : list and select boards
exit : exit bbs
help : shows this help
page : page sysop
post : post a new message
quit : exit bbs
read : list or read msgs.
version: show version and copyright
BBS>page
*paging sysop (/q on empty line to quit)
---------+---------+---------+---------+
Oi! All workin' a work.
/q
BBS>boards
-id- -------board------- -acl- -msgs-
1 lounge 10
2 sysop 255
Choose board # (1-2, 0=quit)? 2
insufficient access rights.
BBS>boards
-id- -------board------- -acl- -msgs-
1 lounge 10
2 sysop 255
Choose board # (1-2, 0=quit)? 1
board: lounge has 20 msg(s).
BBS>read
board has 20 msgs.
read (msg#/list/quit): quit
BBS>quit
>> . . . G O O D B Y E ! ! <<