Change menu 1 order

This commit is contained in:
Michiel Broek 2001-11-08 20:56:30 +00:00
parent 3bd0a45143
commit 251bda2a1c
4 changed files with 112 additions and 116 deletions

View File

@ -4232,6 +4232,8 @@ v0.33.19 26-Oct-2001
changed password reset function. The system password is changed password reset function. The system password is
now also updated. now also updated.
Added setup item for menus 317 and 318. Added setup item for menus 317 and 318.
Changed the order of menu 1, global settings. The screens are
now in a more logical order for a first system setup.
mbsebbs: mbsebbs:
Added menu 317, change FS editor shortcut keys to (Emacs/ Added menu 317, change FS editor shortcut keys to (Emacs/
@ -4245,7 +4247,7 @@ v0.33.19 26-Oct-2001
and 3. and 3.
If a user doesn't have a .signature file in his homedir, a If a user doesn't have a .signature file in his homedir, a
simple one will be created. simple one will be created.
If a user saves a message at the bbs, the message will be If a user saves a new message at the bbs, the message will be
signed using the .signature file. signed using the .signature file.
mbtask: mbtask:

View File

@ -11,7 +11,7 @@
</HEAD> </HEAD>
<BODY> <BODY>
<BLOCKQUOTE> <BLOCKQUOTE>
<h5>Last update 22-Jun-2001</h5> <h5>Last update 08-Nov-2001</h5>
<P>&nbsp;<P> <P>&nbsp;<P>
<H1>MBSE BBS Setup - Global Setup</H1> <H1>MBSE BBS Setup - Global Setup</H1>
@ -21,7 +21,12 @@ In this setup you can edit all global settings for MBSE BBS. All sections will
be discussed below. be discussed below.
<P> <P>
<h3>1.1. Edit Registration Info.</H3> <h3>1.1. Fidonet Aka's.</h3>
<p>
Here you can enter 40 fidonet addresses. These are 5d addresses.
<p>
<h3>1.2. Edit Registration Info.</H3>
<P> <P>
<pre> <pre>
<strong>System name </strong>The name of your BBS <strong>System name </strong>The name of your BBS
@ -38,7 +43,7 @@ be discussed below.
</pre> </pre>
<P> <P>
<h3>1.2. Edit Global Filenames.</H3> <h3>1.3. Edit Global Filenames.</H3>
<P> <P>
<pre> <pre>
<strong>System logfile </strong>The name of the main logfile <strong>System logfile </strong>The name of the main logfile
@ -50,7 +55,7 @@ be discussed below.
</pre> </pre>
<P> <P>
<h3>1.3. Edit Global Paths</H3> <h3>1.4. Edit Global Paths</H3>
<P> <P>
<pre> <pre>
<strong>BBS Menus </strong>The path to the default menus <strong>BBS Menus </strong>The path to the default menus
@ -82,7 +87,7 @@ and the Unix paths will be stored in the .flo files. This is the best setting
if mbsebbs is the only mailer running on your system. if mbsebbs is the only mailer running on your system.
<P> <P>
<h3>1.4. Edit BBS Configuration</H3> <h3>1.5. Edit BBS Configuration</H3>
<p> <p>
<pre> <pre>
<strong>Private system </strong>Set to true when only pre-registered users are allowed <strong>Private system </strong>Set to true when only pre-registered users are allowed
@ -114,7 +119,12 @@ one is on a separate filesystem. Ext2, reiserfs, msdos and vfat partitions
are checked. The lowest free diskspace found counts. Default is 10 MB. are checked. The lowest free diskspace found counts. Default is 10 MB.
<p> <p>
<h3>1.5. New users defaults.</h3> <h3>1.6. Flag Descriptions.</h3>
<p>
In this menu you can give the 32 users flags a meaningfull description.
<p>
<h3>1.7. New users defaults.</h3>
<p> <p>
<pre> <pre>
<strong>Access level </strong>The access level and flags after registration <strong>Access level </strong>The access level and flags after registration
@ -134,7 +144,7 @@ are checked. The lowest free diskspace found counts. Default is 10 MB.
</pre> </pre>
<p> <p>
<h3>1.6. Text Colors.</h3> <h3>1.8. Text Colors.</h3>
<p> <p>
Several prompts use different colors. They can be changed with the following Several prompts use different colors. They can be changed with the following
menu. menu.
@ -143,7 +153,7 @@ menu.
<IMG SRC="../images/mbsetup1.6.S.gif" width="589" height="343"> <IMG SRC="../images/mbsetup1.6.S.gif" width="589" height="343">
<P> <P>
<h3>1.7. Next User Door.</h3> <h3>1.9. Next User Door.</h3>
<p> <p>
This is a "message to nextuser" door I found in RapidBBS. It allows a user This is a "message to nextuser" door I found in RapidBBS. It allows a user
to write a message to the next BBS user. to write a message to the next BBS user.
@ -153,7 +163,7 @@ to write a message to the next BBS user.
</pre> </pre>
<p> <p>
<h3>1.8. Safe cracker door.</h3> <h3>1.10. Safe cracker door.</h3>
<p> <p>
This is a door I found in RapidBBS, it is a simple number guessing game. This is a door I found in RapidBBS, it is a simple number guessing game.
<pre> <pre>
@ -169,7 +179,7 @@ This is a door I found in RapidBBS, it is a simple number guessing game.
</pre> </pre>
<p> <p>
<h3>1.9. Time Bank Door.</h3> <h3>1.11. Time Bank Door.</h3>
<p> <p>
This is the timebank door I found in RapidBBS. It allows a user to deposit This is the timebank door I found in RapidBBS. It allows a user to deposit
time or download kilobytes on his bank account so when he needs it for time or download kilobytes on his bank account so when he needs it for
@ -188,7 +198,7 @@ these settings are not well explained right now.
</pre> </pre>
<p> <p>
<h3>1.10. Sysop paging</h3> <h3>1.12. Sysop paging</h3>
<p> <p>
For sysop chat we use a program that will connect to the users tty. This is For sysop chat we use a program that will connect to the users tty. This is
not a nice solution because it will not work over a network, but at least not a nice solution because it will not work over a network, but at least
@ -208,12 +218,7 @@ it works.
<strong>Sunday..Saturday </strong>The times the Sysop is normal available <strong>Sunday..Saturday </strong>The times the Sysop is normal available
</pre><p> </pre><p>
<h3>1.11. Flag Descriptions.</h3> <h3>1.13. Fileecho Processing.</h3>
<p>
In this menu you can give the 32 users flags a meaningfull description.
<p>
<h3>1.12. Fileecho Processing.</h3>
<p> <p>
A note, when you change the number of Systems or Groups, the databases affected A note, when you change the number of Systems or Groups, the databases affected
will be updated automatic. will be updated automatic.
@ -237,7 +242,7 @@ will be updated automatic.
<strong>Pause </strong>Allow filemgr pause/resume commands <strong>Pause </strong>Allow filemgr pause/resume commands
</pre><p> </pre><p>
<h3>1.13. Edit Fidonet mail and echomail processing.</h3> <h3>1.14. Edit Fidonet mail and echomail processing.</h3>
<p> <p>
Note that the first 2 mailboards must also exist in the normal mail areas if Note that the first 2 mailboards must also exist in the normal mail areas if
you want to see what is in them. Here they are defined for quick access of the you want to see what is in them. Here they are defined for quick access of the
@ -286,7 +291,7 @@ if they are larger then 32 KBytes. Splitting is used for newsfiles reports
and gated news articles to Fidonet. and gated news articles to Fidonet.
<P> <P>
<h3>1.14. Edit Internet mail and news processing.</h3> <h3>1.15. Edit Internet mail and news processing.</h3>
<p> <p>
Email and news is setup here. There are three possible configurations which you Email and news is setup here. There are three possible configurations which you
can set with 1.14.11: can set with 1.14.11:
@ -351,7 +356,7 @@ In UUCP mode the NNTP entries are replaced by:
<P> <P>
<h3>1.15. Allfiles and Newfiles lists.</h3> <h3>1.16. Allfiles and Newfiles lists.</h3>
<p> <p>
These are the settings that affect the generation of newfiles and allfiles reports. These are the settings that affect the generation of newfiles and allfiles reports.
<pre> <pre>
@ -361,11 +366,6 @@ These are the settings that affect the generation of newfiles and allfiles repor
<strong>Groups </strong>The number of newfile groups the newfiles database can hold <strong>Groups </strong>The number of newfile groups the newfiles database can hold
</pre><p> </pre><p>
<h3>1.16. Fidonet Aka's.</h3>
<p>
Here you can enter 40 fidonet addresses. These are 5d addresses.
<p>
<h3>1.17. Mailer Setup.</h3> <h3>1.17. Mailer Setup.</h3>
<p> <p>
Note that you can't disable FTS-0001 sessions as that is a mandatory session Note that you can't disable FTS-0001 sessions as that is a mandatory session

View File

@ -1,8 +1,7 @@
/***************************************************************************** /*****************************************************************************
* *
* File ..................: ledit.c * $Id$
* Purpose ...............: Line Editor * Purpose ...............: Line Editor
* Last modification date : 27-Oct-2001
* *
***************************************************************************** *****************************************************************************
* Copyright (C) 1997-2001 * Copyright (C) 1997-2001
@ -1113,6 +1112,7 @@ char *getmsgtype(int val)
case NETMAIL: return (char *)"Netmail "; case NETMAIL: return (char *)"Netmail ";
case ECHOMAIL: return (char *)"Echomail"; case ECHOMAIL: return (char *)"Echomail";
case NEWS: return (char *)"News "; case NEWS: return (char *)"News ";
case LIST: return (char *)"Listserv";
default: return NULL; default: return NULL;
} }
} }
@ -1138,7 +1138,7 @@ int edit_msgtype(int y, int x, int val)
ch = readkey(y, x, YELLOW, BLUE); ch = readkey(y, x, YELLOW, BLUE);
if (ch == ' ') { if (ch == ' ') {
if (val < NEWS) if (val < LIST)
val++; val++;
else else
val = LOCALMAIL; val = LOCALMAIL;
@ -1151,6 +1151,7 @@ int edit_msgtype(int y, int x, int val)
} }
char *getemailmode(int val) char *getemailmode(int val)
{ {
switch (val) { switch (val) {

View File

@ -1,8 +1,7 @@
/**************************************************************************** /****************************************************************************
* *
* File ..................: m_global.c * $Id$
* Purpose ...............: Global Setup Program * Purpose ...............: Global Setup Program
* Last modification date : 25-Oct-2001
* *
***************************************************************************** *****************************************************************************
* Copyright (C) 1997-2001 * Copyright (C) 1997-2001
@ -1493,23 +1492,23 @@ void global_menu(void)
set_color(WHITE, BLACK); set_color(WHITE, BLACK);
mvprintw( 5, 6, "1. GLOBAL SETUP"); mvprintw( 5, 6, "1. GLOBAL SETUP");
set_color(CYAN, BLACK); set_color(CYAN, BLACK);
mvprintw( 7, 6, "1. Edit Registration Info"); mvprintw( 7, 6, "1. Edit Fidonet Aka's");
mvprintw( 8, 6, "2. Edit Global Filenames"); mvprintw( 8, 6, "2. Edit Registration Info");
mvprintw( 9, 6, "3. Edit Global Paths"); mvprintw( 9, 6, "3. Edit Global Filenames");
mvprintw(10, 6, "4. Edit Global Settings"); mvprintw(10, 6, "4. Edit Global Paths");
mvprintw(11, 6, "5. Edit New Users defaults"); mvprintw(11, 6, "5. Edit Global Settings");
mvprintw(12, 6, "6. Edit Text Colors"); mvprintw(12, 6, "6. Edit Flag Descriptions");
mvprintw(13, 6, "7. Edit Next User Door"); mvprintw(13, 6, "7. Edit New Users defaults");
mvprintw(14, 6, "8. Edit Safe Door"); mvprintw(14, 6, "8. Edit Text Colors");
mvprintw(15, 6, "9. Edit Time Bank Door"); mvprintw(15, 6, "9. Edit Next User Door");
mvprintw(16, 6, "10. Edit Sysop Paging"); mvprintw(16, 6, "10. Edit Safe Door");
mvprintw( 7,46, "11. Edit Flag Descriptions"); mvprintw( 7,46, "11. Edit Time Bank Door");
mvprintw( 8,46, "12. Edit Files Processing"); mvprintw( 8,46, "12. Edit Sysop Paging");
mvprintw( 9,46, "13. Edit Fidonet Mail/Echomail"); mvprintw( 9,46, "13. Edit Files Processing");
mvprintw(10,46, "14. Edit Internet Mail/News"); mvprintw(10,46, "14. Edit Fidonet Mail/Echomail");
mvprintw(11,46, "15. Edit All-/Newfiles lists"); mvprintw(11,46, "15. Edit Internet Mail/News");
mvprintw(12,46, "16. Edit Fidonet Aka's"); mvprintw(12,46, "16. Edit All-/Newfiles lists");
mvprintw(13,46, "17. Edit Mailer setup"); mvprintw(13,46, "17. Edit Mailer setup");
mvprintw(14,46, "18. Edit Ftp daemon setup"); mvprintw(14,46, "18. Edit Ftp daemon setup");
mvprintw(15,46, "19. Edit HTML pages setup"); mvprintw(15,46, "19. Edit HTML pages setup");
@ -1526,52 +1525,52 @@ void global_menu(void)
} }
return; return;
case 1: case 1:
e_reginfo(); e_fidoakas();
break; break;
case 2: case 2:
e_filenames(); e_reginfo();
break; break;
case 3: case 3:
e_global(); e_filenames();
break; break;
case 4: case 4:
e_bbsglob(); e_global();
break; break;
case 5: case 5:
e_newuser(); e_bbsglob();
break; break;
case 6: case 6:
e_colors();
break;
case 7:
e_nu_door();
break;
case 8:
e_safe_door();
break;
case 9:
e_timebank();
break;
case 10:
e_paging();
break;
case 11:
e_flags(); e_flags();
break; break;
case 7:
e_newuser();
break;
case 8:
e_colors();
break;
case 9:
e_nu_door();
break;
case 10:
e_safe_door();
break;
case 11:
e_timebank();
break;
case 12: case 12:
e_ticconf(); e_paging();
break; break;
case 13: case 13:
e_fidomailcfg(); e_ticconf();
break; break;
case 14: case 14:
e_intmailcfg(); e_fidomailcfg();
break; break;
case 15: case 15:
e_newfiles(); e_intmailcfg();
break; break;
case 16: case 16:
e_fidoakas(); e_newfiles();
break; break;
case 17: case 17:
e_mailer(); e_mailer();
@ -1678,8 +1677,14 @@ int global_doc(FILE *fp, FILE *toc, int page)
time(&now); time(&now);
fprintf(fp, " Date created %s", ctime(&now)); fprintf(fp, " Date created %s", ctime(&now));
addtoc(fp, toc, 1, 2, page, (char *)"Registration information"); addtoc(fp, toc, 1, 2, page, (char *)"System fidonet addresses");
for (i = 0; i < 40; i++)
if (CFG.akavalid[i])
fprintf(fp, " Aka %2d %s\n", i+1, aka2str(CFG.aka[i]));
page = newpage(fp, page);
addtoc(fp, toc, 1, 3, page, (char *)"Registration information");
fprintf(fp, " System name %s\n", CFG.bbs_name); fprintf(fp, " System name %s\n", CFG.bbs_name);
fprintf(fp, " Domain name %s\n", CFG.sysdomain); fprintf(fp, " Domain name %s\n", CFG.sysdomain);
fprintf(fp, " Sysop unix name %s\n", CFG.sysop); fprintf(fp, " Sysop unix name %s\n", CFG.sysop);
@ -1691,8 +1696,7 @@ int global_doc(FILE *fp, FILE *toc, int page)
fprintf(fp, " Origin line %s\n", CFG.origin); fprintf(fp, " Origin line %s\n", CFG.origin);
fprintf(fp, " Start unix name %s\n", CFG.startname); fprintf(fp, " Start unix name %s\n", CFG.startname);
addtoc(fp, toc, 1, 3, page, (char *)"Global filenames"); addtoc(fp, toc, 1, 4, page, (char *)"Global filenames");
fprintf(fp, " System logfile %s\n", CFG.logfile); fprintf(fp, " System logfile %s\n", CFG.logfile);
fprintf(fp, " Error logfile %s\n", CFG.error_log); fprintf(fp, " Error logfile %s\n", CFG.error_log);
fprintf(fp, " Default menu %s\n", CFG.default_menu); fprintf(fp, " Default menu %s\n", CFG.default_menu);
@ -1700,8 +1704,7 @@ int global_doc(FILE *fp, FILE *toc, int page)
fprintf(fp, " Chat logfile %s\n", CFG.chat_log); fprintf(fp, " Chat logfile %s\n", CFG.chat_log);
fprintf(fp, " Welcome logo %s\n", CFG.welcome_logo); fprintf(fp, " Welcome logo %s\n", CFG.welcome_logo);
addtoc(fp, toc, 1, 4, page, (char *)"Pathnames"); addtoc(fp, toc, 1, 5, page, (char *)"Pathnames");
fprintf(fp, " Menufiles %s\n", CFG.bbs_menus); fprintf(fp, " Menufiles %s\n", CFG.bbs_menus);
fprintf(fp, " Textfiles %s\n", CFG.bbs_txtfiles); fprintf(fp, " Textfiles %s\n", CFG.bbs_txtfiles);
fprintf(fp, " Users homedirs %s\n", CFG.bbs_usersdir); fprintf(fp, " Users homedirs %s\n", CFG.bbs_usersdir);
@ -1717,7 +1720,7 @@ int global_doc(FILE *fp, FILE *toc, int page)
fprintf(fp, " Leave case as is %s\n", getboolean(CFG.leavecase)); fprintf(fp, " Leave case as is %s\n", getboolean(CFG.leavecase));
page = newpage(fp, page); page = newpage(fp, page);
addtoc(fp, toc, 1, 5, page, (char *)"Global settings"); addtoc(fp, toc, 1, 6, page, (char *)"Global settings");
fprintf(fp, " Private system %s\n", getboolean(CFG.elite_mode)); fprintf(fp, " Private system %s\n", getboolean(CFG.elite_mode));
fprintf(fp, " Show new msgarea %s\n", getboolean(CFG.NewAreas)); fprintf(fp, " Show new msgarea %s\n", getboolean(CFG.NewAreas));
@ -1746,7 +1749,23 @@ int global_doc(FILE *fp, FILE *toc, int page)
fprintf(fp, " FileAttach level %d\n", CFG.iAttachLevel); fprintf(fp, " FileAttach level %d\n", CFG.iAttachLevel);
fprintf(fp, " Free diskspace %d MB.\n", CFG.freespace); fprintf(fp, " Free diskspace %d MB.\n", CFG.freespace);
addtoc(fp, toc, 1, 6, page, (char *)"New users defaults"); addtoc(fp, toc, 1, 7, page, (char *)"Flag descriptions");
fprintf(fp, " 1 1 2 2 3 3\n");
fprintf(fp, " 1 5 0 5 0 5 0 2\n");
fprintf(fp, " --------------------------------\n");
fprintf(fp, " ||||||||||||||||||||||||||||||||\n");
for (i = 0; i < 32; i++) {
fprintf(fp, " ");
for (j = 0; j < (31 - i); j++)
fprintf(fp, "|");
fprintf(fp, "+");
for (j = (32 - i); j < 32; j++)
fprintf(fp, "-");
fprintf(fp, " %s\n", CFG.fname[31 - i]);
}
page = newpage(fp, page);
addtoc(fp, toc, 1, 8, page, (char *)"New users defaults");
fprintf(fp, " Access level %s\n", get_secstr(CFG.newuser_access)); fprintf(fp, " Access level %s\n", get_secstr(CFG.newuser_access));
fprintf(fp, " Cap. username %s\n", getboolean(CFG.iCapUserName)); fprintf(fp, " Cap. username %s\n", getboolean(CFG.iCapUserName));
@ -1763,7 +1782,7 @@ int global_doc(FILE *fp, FILE *toc, int page)
fprintf(fp, " Ask address %s\n", getboolean(CFG.AskAddress)); fprintf(fp, " Ask address %s\n", getboolean(CFG.AskAddress));
fprintf(fp, " Give email box %s\n", getboolean(CFG.GiveEmail)); fprintf(fp, " Give email box %s\n", getboolean(CFG.GiveEmail));
addtoc(fp, toc, 1, 7, page, (char *)"Text colors"); addtoc(fp, toc, 1, 9, page, (char *)"Text colors");
fprintf(fp, " Normal text %s on %s\n", get_color(CFG.TextColourF), get_color(CFG.TextColourB)); fprintf(fp, " Normal text %s on %s\n", get_color(CFG.TextColourF), get_color(CFG.TextColourB));
fprintf(fp, " Underline text %s on %s\n", get_color(CFG.UnderlineColourF), get_color(CFG.UnderlineColourB)); fprintf(fp, " Underline text %s on %s\n", get_color(CFG.UnderlineColourF), get_color(CFG.UnderlineColourB));
@ -1778,12 +1797,12 @@ int global_doc(FILE *fp, FILE *toc, int page)
fprintf(fp, " Message input %s on %s\n", get_color(CFG.MsgInputColourF), get_color(CFG.MsgInputColourB)); fprintf(fp, " Message input %s on %s\n", get_color(CFG.MsgInputColourF), get_color(CFG.MsgInputColourB));
page = newpage(fp, page); page = newpage(fp, page);
addtoc(fp, toc, 1, 8, page, (char *)"Next user door"); addtoc(fp, toc, 1, 10, page, (char *)"Next user door");
fprintf(fp, " Text file %s\n", CFG.sNuScreen); fprintf(fp, " Text file %s\n", CFG.sNuScreen);
fprintf(fp, " Quote %s\n", CFG.sNuQuote); fprintf(fp, " Quote %s\n", CFG.sNuQuote);
addtoc(fp, toc, 1, 9, page, (char *)"Safecracker door"); addtoc(fp, toc, 1, 11, page, (char *)"Safecracker door");
fprintf(fp, " Digit nr 1 %d\n", CFG.iSafeFirstDigit); fprintf(fp, " Digit nr 1 %d\n", CFG.iSafeFirstDigit);
fprintf(fp, " Digit nr 2 %d\n", CFG.iSafeSecondDigit); fprintf(fp, " Digit nr 2 %d\n", CFG.iSafeSecondDigit);
@ -1795,7 +1814,7 @@ int global_doc(FILE *fp, FILE *toc, int page)
fprintf(fp, " Safe welcome %s\n", CFG.sSafeWelcome); fprintf(fp, " Safe welcome %s\n", CFG.sSafeWelcome);
fprintf(fp, " Safe opened file %s\n", CFG.sSafeOpened); fprintf(fp, " Safe opened file %s\n", CFG.sSafeOpened);
addtoc(fp, toc, 1, 10, page, (char *)"Timebank door"); addtoc(fp, toc, 1, 12, page, (char *)"Timebank door");
fprintf(fp, " Users time balance %d\n", CFG.iMaxTimeBalance); fprintf(fp, " Users time balance %d\n", CFG.iMaxTimeBalance);
fprintf(fp, " Max. time withdraw %d\n", CFG.iMaxTimeWithdraw); fprintf(fp, " Max. time withdraw %d\n", CFG.iMaxTimeWithdraw);
@ -1806,7 +1825,7 @@ int global_doc(FILE *fp, FILE *toc, int page)
fprintf(fp, " Users time ratio %s\n", CFG.sTimeRatio); fprintf(fp, " Users time ratio %s\n", CFG.sTimeRatio);
fprintf(fp, " Users Kb. ratio %s\n", CFG.sByteRatio); fprintf(fp, " Users Kb. ratio %s\n", CFG.sByteRatio);
addtoc(fp, toc, 1, 11, page, (char *)"Sysop paging"); addtoc(fp, toc, 1, 13, page, (char *)"Sysop paging");
fprintf(fp, " Ext. Chat program %s\n", CFG.sExternalChat); fprintf(fp, " Ext. Chat program %s\n", CFG.sExternalChat);
fprintf(fp, " Chat device %s\n", CFG.sChatDevice); fprintf(fp, " Chat device %s\n", CFG.sChatDevice);
@ -1831,27 +1850,7 @@ int global_doc(FILE *fp, FILE *toc, int page)
fprintf(fp, " Saterday %s %s\n", CFG.cStartTime[6], CFG.cStopTime[6]); fprintf(fp, " Saterday %s %s\n", CFG.cStartTime[6], CFG.cStopTime[6]);
page = newpage(fp, page); page = newpage(fp, page);
addtoc(fp, toc, 1, 12, page, (char *)"Flag descriptions"); addtoc(fp, toc, 1, 14, page, (char *)"Fileecho processing");
fprintf(fp, " 1 1 2 2 3 3\n");
fprintf(fp, " 1 5 0 5 0 5 0 2\n");
fprintf(fp, " --------------------------------\n");
fprintf(fp, " ||||||||||||||||||||||||||||||||\n");
for (i = 0; i < 32; i++) {
fprintf(fp, " ");
for (j = 0; j < (31 - i); j++)
fprintf(fp, "|");
fprintf(fp, "+");
for (j = (32 - i); j < 32; j++)
fprintf(fp, "-");
fprintf(fp, " %s\n", CFG.fname[31 - i]);
}
page = newpage(fp, page);
addtoc(fp, toc, 1, 13, page, (char *)"Fileecho processing");
fprintf(fp, " Keep days on hold %d\n", CFG.tic_days); fprintf(fp, " Keep days on hold %d\n", CFG.tic_days);
fprintf(fp, " Hatch password %s\n", CFG.hatchpasswd); fprintf(fp, " Hatch password %s\n", CFG.hatchpasswd);
@ -1871,7 +1870,7 @@ int global_doc(FILE *fp, FILE *toc, int page)
fprintf(fp, " Areamgr: TIC %s\n", getboolean(CFG.ct_TIC)); fprintf(fp, " Areamgr: TIC %s\n", getboolean(CFG.ct_TIC));
fprintf(fp, " Areamgr: pause %s\n", getboolean(CFG.ct_Pause)); fprintf(fp, " Areamgr: pause %s\n", getboolean(CFG.ct_Pause));
addtoc(fp, toc, 1, 14, page, (char *)"Fidonet Mail and Echomail processing"); addtoc(fp, toc, 1, 15, page, (char *)"Fidonet Mail and Echomail processing");
fprintf(fp, " Max .pkt size %d Kb.\n", CFG.maxpktsize); fprintf(fp, " Max .pkt size %d Kb.\n", CFG.maxpktsize);
fprintf(fp, " Max archive size %d Kb.\n", CFG.maxarcsize); fprintf(fp, " Max archive size %d Kb.\n", CFG.maxarcsize);
@ -1887,7 +1886,7 @@ int global_doc(FILE *fp, FILE *toc, int page)
fprintf(fp, " Maximum groups %ld\n", CFG.toss_groups); fprintf(fp, " Maximum groups %ld\n", CFG.toss_groups);
fprintf(fp, " Use 4d addressing %s\n", getboolean(CFG.addr4d)); fprintf(fp, " Use 4d addressing %s\n", getboolean(CFG.addr4d));
addtoc(fp, toc, 1, 15, page, (char *)"Internet Mail and News processing"); addtoc(fp, toc, 1, 16, page, (char *)"Internet Mail and News processing");
fprintf(fp, " Split messages at %d KBytes\n", CFG.new_split); fprintf(fp, " Split messages at %d KBytes\n", CFG.new_split);
fprintf(fp, " Force split at %d KBytes\n", CFG.new_force); fprintf(fp, " Force split at %d KBytes\n", CFG.new_force);
@ -1912,19 +1911,13 @@ int global_doc(FILE *fp, FILE *toc, int page)
fprintf(fp, " Allow control msgs %s\n", getboolean(CFG.allowcontrol)); fprintf(fp, " Allow control msgs %s\n", getboolean(CFG.allowcontrol));
fprintf(fp, " Don't regate msgs %s\n", getboolean(CFG.dontregate)); fprintf(fp, " Don't regate msgs %s\n", getboolean(CFG.dontregate));
page = newpage(fp, page); addtoc(fp, toc, 1, 17, page, (char *)"Newfile reports");
addtoc(fp, toc, 1, 16, page, (char *)"Newfile reports");
fprintf(fp, " FTP base path %s\n", CFG.ftp_base); fprintf(fp, " FTP base path %s\n", CFG.ftp_base);
fprintf(fp, " New files days %d\n", CFG.newdays); fprintf(fp, " New files days %d\n", CFG.newdays);
fprintf(fp, " Highest sec. level %s\n", get_secstr(CFG.security)); fprintf(fp, " Highest sec. level %s\n", get_secstr(CFG.security));
fprintf(fp, " Max. newfile grps %ld\n", CFG.new_groups); fprintf(fp, " Max. newfile grps %ld\n", CFG.new_groups);
addtoc(fp, toc, 1, 17, page, (char *)"System fidonet addresses");
for (i = 0; i < 40; i++)
if (CFG.akavalid[i])
fprintf(fp, " Aka %2d %s\n", i+1, aka2str(CFG.aka[i]));
page = newpage(fp, page); page = newpage(fp, page);
addtoc(fp, toc, 1, 18, page, (char *)"Mailer setup"); addtoc(fp, toc, 1, 18, page, (char *)"Mailer setup");