Small updates

This commit is contained in:
Michiel Broek 2002-02-04 15:20:31 +00:00
parent d1c532d1ca
commit 636447441d
4 changed files with 48 additions and 43 deletions

View File

@ -4274,6 +4274,7 @@ v0.33.19 26-Oct-2001
Changed to recognize the e-smith server based on RedHat. Changed to recognize the e-smith server based on RedHat.
On RedHat, Mandrake and e-smith systems the symlinks to start On RedHat, Mandrake and e-smith systems the symlinks to start
and stop the bbs are now added. and stop the bbs are now added.
Reorganized the init scripts.
libcommon.a: libcommon.a:
When adding seenby entries, the zone number is copied from the When adding seenby entries, the zone number is copied from the
@ -4531,6 +4532,8 @@ v0.33.19 26-Oct-2001
Fixes for Sparc systems. Fixes for Sparc systems.
Fixed index screens to prevent negative totals with large Fixed index screens to prevent negative totals with large
filebases. filebases.
Added standard doctype header and commentline to the html
pages.
mball: mball:
The index function is now obsolete, this is added to mbfile. The index function is now obsolete, this is added to mbfile.

View File

@ -12,7 +12,7 @@
</HEAD> </HEAD>
<BODY> <BODY>
<BLOCKQUOTE> <BLOCKQUOTE>
<h5>Last update 29-Dec-2001</h5> <h5>Last update 04-Feb-2002</h5>
<P>&nbsp;<P> <P>&nbsp;<P>
<h1>MBSE BBS Basic Installation</h1> <h1>MBSE BBS Basic Installation</h1>
@ -28,47 +28,45 @@ environment. If you don't do this, things will fail.
MBSE BBS is default installed in <b>/opt/mbse</b>. The default filesystem MBSE BBS is default installed in <b>/opt/mbse</b>. The default filesystem
layout looks like this:<br> layout looks like this:<br>
<pre> <pre>
/opt/mbse Default MBSE_ROOT /opt/mbse 0775 Default MBSE_ROOT
/opt/mbse/bin Binaries /opt/mbse/bin 0755 Binaries
/opt/mbse/doc Generated sitedocs /opt/mbse/doc 0755 Generated sitedocs
/opt/mbse/dutch/macro N/A /opt/mbse/dutch/macro 0755 N/A
/opt/mbse/dutch/menus Dutch menu files /opt/mbse/dutch/menus 0755 Dutch menu files
/opt/mbse/dutch/txtfiles Dutch ANSI files /opt/mbse/dutch/txtfiles 0755 Dutch ANSI files
/opt/mbse/english/macro Default english macros, not yet. /opt/mbse/english/macro 0755 Default english macros, not yet.
/opt/mbse/english/menus Default english menus /opt/mbse/english/menus 0755 Default english menus
/opt/mbse/english/txtfiles Default english ANSI files /opt/mbse/english/txtfiles 0755 Default english ANSI files
/opt/mbse/etc System configuration files /opt/mbse/etc 0775 System configuration files
/opt/mbse/fdb Files database /opt/mbse/fdb 0775 Files database
/opt/mbse/ftp Default FTP root /opt/mbse/ftp 0755 Default FTP root
/opt/mbse/galego/macro N/A /opt/mbse/galego/macro 0755 N/A
/opt/mbse/galego/menus Galego menu files /opt/mbse/galego/menus 0755 Galego menu files
/opt/mbse/galego/txtfiles Galego ANSI files /opt/mbse/galego/txtfiles 0755 Galego ANSI files
/opt/mbse/home Users homedirectories /opt/mbse/home 0770 Users homedirectories
/opt/mbse/home/bbs Newuser account /opt/mbse/home/bbs 0770 Newuser account
/opt/mbse/html HTML documentation /opt/mbse/html 0755 HTML documentation
/opt/mbse/italian/macro N/A /opt/mbse/italian/macro 0755 N/A
/opt/mbse/italian/menus Italian menu files /opt/mbse/italian/menus 0755 Italian menu files
/opt/mbse/italian/txtfiles Italian ANSI files /opt/mbse/italian/txtfiles 0755 Italian ANSI files
/opt/mbse/log MBSE BBS logfiles /opt/mbse/log 0775 MBSE BBS logfiles
/opt/mbse/magic Magic filerequest names /opt/mbse/magic 0755 Magic filerequest names
/opt/mbse/sema Semafore files /opt/mbse/sema 0777 Semafore files
/opt/mbse/spanish/macro N/A /opt/mbse/spanish/macro 0755 N/A
/opt/mbse/spanish/menus Spanish menu files /opt/mbse/spanish/menus 0755 Spanish menu files
/opt/mbse/spanish/txtfiles Spanish ANSI files /opt/mbse/spanish/txtfiles 0755 Spanish ANSI files
/opt/mbse/tmp Temp directory /opt/mbse/tmp 0775 Temp directory
/opt/mbse/tmp/arc Temp archiver directory /opt/mbse/tmp/arc 0775 Temp archiver directory
/opt/mbse/var Var root /opt/mbse/var 0770 Var root
/opt/mbse/var/badtic Bad TIC files /opt/mbse/var/badtic 0750 Bad TIC files
/opt/mbse/var/bso Binkley Style Outbound directory /opt/mbse/var/bso 0750 Binkley Style Outbound directory
/opt/mbse/var/bso/inbound Protected inbound directory /opt/mbse/var/bso/inbound 0750 Protected inbound directory
/opt/mbse/var/bso/outbound Default outbound directory /opt/mbse/var/bso/outbound 0750 Default outbound directory
/opt/mbse/var/bso/unknown Unprotected inbound directory /opt/mbse/var/bso/unknown 0750 Unprotected inbound directory
/opt/mbse/var/mail JAM messagebase root /opt/mbse/var/mail 0770 JAM messagebase root
/opt/mbse/var/mail/badmail Bad echomail /opt/mbse/var/msgs 0750 *.msgs netmail directory (not yet in use).
/opt/mbse/var/mail/dupmail Duplicate echomail /opt/mbse/var/nodelist 0750 Nodelists
/opt/mbse/var/msgs *.msgs netmail directory (not yet in use). /opt/mbse/var/ticqueue 0750 Queue for TIC files
/opt/mbse/var/nodelist Nodelists
/opt/mbse/var/ticqueue Queue for TIC files
</pre> </pre>
<p> <p>
Don't use UMSDOS or SAMBA filesystems for the bbs, stick by the standard Linux Don't use UMSDOS or SAMBA filesystems for the bbs, stick by the standard Linux

View File

@ -322,7 +322,9 @@ FILE *newpage(char *Path, char *Name, time_t later, int inArea, int Current)
} else { } else {
sprintf(linebuf, "%s", Name); sprintf(linebuf, "%s", Name);
html_massage(linebuf, outbuf); html_massage(linebuf, outbuf);
fprintf(fa, "<!DOCTYPE HTML PUBLIC \"-//W3C//DTD HTML 4.0//EN\">\n");
fprintf(fa, "<HTML>\n"); fprintf(fa, "<HTML>\n");
fprintf(fa, "<!-- Page created by MBSE BBS v%s -->\n", VERSION);
fprintf(fa, "<META http-equiv=\"Expires\" content=\"%s\">\n", rfcdate(later)); fprintf(fa, "<META http-equiv=\"Expires\" content=\"%s\">\n", rfcdate(later));
fprintf(fa, "<META http-equiv=\"Cache-Control\" content=\"no-cache, must-revalidate\">\n"); fprintf(fa, "<META http-equiv=\"Cache-Control\" content=\"no-cache, must-revalidate\">\n");
fprintf(fa, "<META http-equiv=\"Content-Type\" content=\"text/html; charset=%s\">\n", CFG.www_charset); fprintf(fa, "<META http-equiv=\"Content-Type\" content=\"text/html; charset=%s\">\n", CFG.www_charset);
@ -445,7 +447,9 @@ void Index(void)
*/ */
sprintf(linebuf, "File areas at %s", CFG.bbs_name); sprintf(linebuf, "File areas at %s", CFG.bbs_name);
html_massage(linebuf, outbuf); html_massage(linebuf, outbuf);
fprintf(fm, "<!DOCTYPE HTML PUBLIC \"-//W3C//DTD HTML 4.0//EN\">\n");
fprintf(fm, "<HTML>\n"); fprintf(fm, "<HTML>\n");
fprintf(fm, "<!-- Page created by MBSE BBS v%s -->\n", VERSION);
fprintf(fm, "<META http-equiv=\"Expires\" content=\"%s\">\n", rfcdate(later)); fprintf(fm, "<META http-equiv=\"Expires\" content=\"%s\">\n", rfcdate(later));
fprintf(fm, "<META http-equiv=\"Cache-Control\" content=\"no-cache, must-revalidate\">\n"); fprintf(fm, "<META http-equiv=\"Cache-Control\" content=\"no-cache, must-revalidate\">\n");
fprintf(fm, "<META http-equiv=\"Content-Type\" content=\"text/html; charset=%s\">\n", CFG.www_charset); fprintf(fm, "<META http-equiv=\"Content-Type\" content=\"text/html; charset=%s\">\n", CFG.www_charset);

View File

@ -326,7 +326,7 @@ void load_maincfg(void)
CFG.maxpktsize = 150; CFG.maxpktsize = 150;
CFG.maxarcsize = 300; CFG.maxarcsize = 300;
sprintf(CFG.badboard, "%s/var/mail/badmail", getenv("MBSE_ROOT")); sprintf(CFG.badboard, "%s/var/mail/badmail", getenv("MBSE_ROOT"));
sprintf(CFG.dupboard, "%s/var/mail/dupmail", getenv("MBSE_ROOT")); sprintf(CFG.dupboard, "%s/var/mail/dupemail", getenv("MBSE_ROOT"));
sprintf(CFG.popnode, "localhost"); sprintf(CFG.popnode, "localhost");
sprintf(CFG.smtpnode, "localhost"); sprintf(CFG.smtpnode, "localhost");
sprintf(CFG.nntpnode, "localhost"); sprintf(CFG.nntpnode, "localhost");