Added new tic processing setup switches

This commit is contained in:
Michiel Broek 2002-12-01 16:25:32 +00:00
parent 71eb44aab6
commit 002b449b69
6 changed files with 86 additions and 48 deletions

View File

@ -19,6 +19,7 @@ v0.35.06
both short and long filenames. Just ignore the errors but check both short and long filenames. Just ignore the errors but check
for real deleted files. for real deleted files.
Start the bbs again (mbstat open). Start the bbs again (mbstat open).
Check new settings in nodes setup, screen 6, items 9 and 10.
templates: templates:
The html templates are changed by Joachim Kuwan and now they The html templates are changed by Joachim Kuwan and now they
@ -61,6 +62,10 @@ v0.35.06
With TIC file attaches, the filename attached is the 8.3 name. With TIC file attaches, the filename attached is the 8.3 name.
TIC processing completly modified to make better LFN support, TIC processing completly modified to make better LFN support,
internal everything works on the 8.3 filename. internal everything works on the 8.3 filename.
When writing ticfiles for downlinks, the To line now depends
on the new nodes setting.
When writing ticfiles for downlinks, the format of the Seenby
lines now depends on the new nodes setting.
mbcico: mbcico:
With filetransfer errors, the attempts counter was not With filetransfer errors, the attempts counter was not
@ -77,7 +82,8 @@ v0.35.06
mbsetup: mbsetup:
In filedatabase editor, if a file is deleted the name is In filedatabase editor, if a file is deleted the name is
displayed in light blue. displayed in light blue.
Added setup switches in nodes setup, files, to toggle sending
advanced seen-by lines and the To line in ticfiles.
v0.35.05 19-Oct-2002 - 13-Nov-2002. v0.35.05 19-Oct-2002 - 13-Nov-2002.

Binary file not shown.

Before

Width:  |  Height:  |  Size: 14 KiB

After

Width:  |  Height:  |  Size: 11 KiB

View File

@ -12,7 +12,7 @@
</HEAD> </HEAD>
<BODY> <BODY>
<BLOCKQUOTE> <BLOCKQUOTE>
<div align=right><h5>Last update 31-Oct-2002</h5></div> <div align=right><h5>Last update 01-Dec-2002</h5></div>
<div align=center><H1>MBSE BBS Setup - Fidonet nodes.</H1></div> <div align=center><H1>MBSE BBS Setup - Fidonet nodes.</H1></div>
<P> <P>
@ -169,22 +169,43 @@ carefull not to allow a node to connect areas from networks he has no aka in.
<H3>6. File setup</H3> <H3>6. File setup</H3>
<P> <P>
<p><table> <p><table>
<tr><th nowrap align=left valign=top>Files password</th><td>The password for .tic files. <tr><th nowrap align=left valign=top>Files password</th><td>The password for
<tr><th nowrap align=left valign=top>Mgr password</th><td>The password for the Areamgr and Filemgr. .tic files.</td></tr>
<tr><th nowrap align=left valign=top>UplMgr program</th><td>The name of the Filemgr progrom of this node. This could be FileMgr, Allfix, Raid etc. <tr><th nowrap align=left valign=top>Mgr password</th><td>The password for the
<tr><th nowrap align=left valign=top>UplMgr passwd</th><td>The password of the Filemgr if this node. Areamgr and Filemgr.</td></tr>
<tr><th nowrap align=left valign=top>UplMgr Add +</th><td>Add a "+" in the command to connect areas. <tr><th nowrap align=left valign=top>UplMgr program</th><td>The name of the
<tr><th nowrap align=left valign=top>Incl. message</th><td>Send a netmail message for each file to send. Filemgr progrom of this node. This could be FileMgr, Allfix, Raid etc.</td></tr>
<tr><th nowrap align=left valign=top>Send TIC file</th><td>Send .tic file to this node. <tr><th nowrap align=left valign=top>UplMgr passwd</th><td>The password of the
<tr><th nowrap align=left valign=top>Advanced TIC</th><td>Send advanced or standard .tic files. Filemgr if this node.</td></tr>
<tr><th nowrap align=left valign=top>File forward</th><td>Forward TIC files for this node (not yet). <tr><th nowrap align=left valign=top>UplMgr Add +</th><td>Add a "+" in the
<tr><th nowrap align=left valign=top>Billing</th><td>Is Costsharing active for this node. command to connect areas.</td></tr>
<tr><th nowrap align=left valign=top>Bill direct</th><td>Send the bill direct or on command. <tr><th nowrap align=left valign=top>Incl. message</th><td>Send a netmail
<tr><th nowrap align=left valign=top>Credit</th><td>The credit this node has in units. message for each file to send.</td></tr>
<tr><th nowrap align=left valign=top>Debet</th><td>The debet we have with this node (informational). <tr><th nowrap align=left valign=top>Send TIC file</th><td>Send .tic file to
<tr><th nowrap align=left valign=top>Add</th><td>Add (or substract) factor to the bill. this node.</td></tr>
<tr><th nowrap align=left valign=top>Warn level</th><td>The debet level when to write a warning mesage. <tr><th nowrap align=left valign=top>Advanced TIC</th><td>Send advanced or
<tr><th nowrap align=left valign=top>Stop level</th><td>The debet level when to stop sending files. standard .tic files.</td></tr>
<tr><th nowrap align=left valign=top>Advanced SB</th><td>Send advanced Seen-By
lines, some systems can't handle this!</td></tr>
<tr><th nowrap align=left valign=top>To line in TIC</th><td>Send the To line in
the ticfile. Some braindead systems will forward this line instead of processing
it and then the next system in the line will fail.</td></tr>
<tr><th nowrap align=left valign=top>File forward</th><td>Forward TIC files for
this node (not yet).</td></tr>
<tr><th nowrap align=left valign=top>Billing</th><td>Is Costsharing active for
this node.</td></tr>
<tr><th nowrap align=left valign=top>Bill direct</th><td>Send the bill direct or
on command (billing is not yet available).</td></tr>
<tr><th nowrap align=left valign=top>Credit</th><td>The credit this node has in
units.</td></tr>
<tr><th nowrap align=left valign=top>Debet</th><td>The debet we have with this
node (informational).</td></tr>
<tr><th nowrap align=left valign=top>Add</th><td>Add (or substract) factor to
the bill.</td></tr>
<tr><th nowrap align=left valign=top>Warn level</th><td>The debet level when to
write a warning mesage.</td></tr>
<tr><th nowrap align=left valign=top>Stop level</th><td>The debet level when to
stop sending files.</td></tr>
</table> </table>
<P> <P>
<IMG SRC="../images/nodes6.gif"> <IMG SRC="../images/nodes6.gif">

View File

@ -1214,8 +1214,8 @@ struct _nodes {
unsigned NoFreqs : 1; /* Don't allow requests */ unsigned NoFreqs : 1; /* Don't allow requests */
unsigned NoCall : 1; /* Don't call this node */ unsigned NoCall : 1; /* Don't call this node */
unsigned xNoHold : 1; unsigned TIC_AdvSB : 1; /* Advanced tic SB lines */
unsigned xNoPUA : 1; unsigned TIC_To : 1; /* Add To line to ticfile */
unsigned NoZmodem : 1; /* Don't use Zmodem */ unsigned NoZmodem : 1; /* Don't use Zmodem */
unsigned NoZedzap : 1; /* Don't use Zedzap */ unsigned NoZedzap : 1; /* Don't use Zedzap */
unsigned xNoJanus : 1; /* Don't use Janus */ unsigned xNoJanus : 1; /* Don't use Janus */

View File

@ -207,8 +207,10 @@ void ForwardFile(fidoaddr Node, fa_list *sbl)
fprintf(fp, "Size %ld\r\n", (long)(TIC.FileSize)); fprintf(fp, "Size %ld\r\n", (long)(TIC.FileSize));
fprintf(fp, "Desc %s\r\n", TIC.TicIn.Desc); fprintf(fp, "Desc %s\r\n", TIC.TicIn.Desc);
fprintf(fp, "Crc %s\r\n", TIC.TicIn.Crc); fprintf(fp, "Crc %s\r\n", TIC.TicIn.Crc);
if (nodes.AdvTic) { if (nodes.TIC_To) {
fprintf(fp, "To %s, %s\r\n", nodes.Sysop, ascfnode(dest, 0x1f)); fprintf(fp, "To %s, %s\r\n", nodes.Sysop, ascfnode(dest, 0x1f));
}
if (nodes.AdvTic) {
fprintf(fp, "Areadesc %s\r\n", tic.Comment); fprintf(fp, "Areadesc %s\r\n", tic.Comment);
fprintf(fp, "Fdn %s\r\n", fgroup.Comment); fprintf(fp, "Fdn %s\r\n", fgroup.Comment);
/* /*
@ -235,7 +237,7 @@ void ForwardFile(fidoaddr Node, fa_list *sbl)
fprintf(fp, "Path %s %lu %s %s\r\n", ascfnode(ba, 0x1f), mktime(localtime(&now)), subject, tzname[0]); fprintf(fp, "Path %s %lu %s %s\r\n", ascfnode(ba, 0x1f), mktime(localtime(&now)), subject, tzname[0]);
tidy_faddr(ba); tidy_faddr(ba);
if (nodes.AdvTic) { if (nodes.TIC_AdvSB) {
/* /*
* In advanced TIC mode we send multiple seenby * In advanced TIC mode we send multiple seenby
* addresses on one line in stead of one line * addresses on one line in stead of one line

View File

@ -444,14 +444,17 @@ void E_Files(void)
mvprintw(12, 6, "6. Incl. message"); mvprintw(12, 6, "6. Incl. message");
mvprintw(13, 6, "7. Send TIC file"); mvprintw(13, 6, "7. Send TIC file");
mvprintw(14, 6, "8. Advanced TIC"); mvprintw(14, 6, "8. Advanced TIC");
mvprintw(15, 6, "9. File forward"); mvprintw(15, 6, "9. Advanced SB");
mvprintw(16, 6, "10. Billing (CSO)"); mvprintw(16, 6, "10. To line in TIC");
mvprintw( 7,46, "11. Bill direct");
mvprintw( 8,46, "12. Credit"); mvprintw( 7,46, "11. File forward");
mvprintw( 9,46, "13. Debet"); mvprintw( 8,46, "12. Billing (CSO)");
mvprintw(10,46, "14. Add %"); mvprintw( 9,46, "13. Bill direct");
mvprintw(11,46, "15. Warn level"); mvprintw(10,46, "14. Credit");
mvprintw(12,46, "16. Stop level"); mvprintw(11,46, "15. Debet");
mvprintw(12,46, "16. Add %");
mvprintw(13,46, "17. Warn level");
mvprintw(14,46, "18. Stop level");
for (;;) { for (;;) {
set_color(WHITE, BLACK); set_color(WHITE, BLACK);
@ -463,16 +466,18 @@ void E_Files(void)
show_bool(12,26, nodes.Message); show_bool(12,26, nodes.Message);
show_bool(13,26, nodes.Tic); show_bool(13,26, nodes.Tic);
show_bool(14,26, nodes.AdvTic); show_bool(14,26, nodes.AdvTic);
show_bool(15,26, nodes.FileFwd); show_bool(15,26, nodes.TIC_AdvSB);
show_bool(16,26, nodes.Billing); show_bool(16,26, nodes.TIC_To);
show_bool( 7,65, nodes.BillDirect); show_bool( 7,66, nodes.FileFwd);
show_int( 8,65, nodes.Credit); show_bool( 8,66, nodes.Billing);
show_int( 9,65, nodes.Debet); show_bool( 9,66, nodes.BillDirect);
show_int( 10,65, nodes.AddPerc); show_int( 10,66, nodes.Credit);
show_int( 11,65, nodes.WarnLevel); show_int( 11,66, nodes.Debet);
show_int( 12,65, nodes.StopLevel); show_int( 12,66, nodes.AddPerc);
show_int( 13,66, nodes.WarnLevel);
show_int( 14,66, nodes.StopLevel);
switch(select_menu(16)) { switch(select_menu(18)) {
case 0: return; case 0: return;
case 1: E_STR( 7,26,15,nodes.Fpasswd, "The ^TIC^ files ^password^ for this node") case 1: E_STR( 7,26,15,nodes.Fpasswd, "The ^TIC^ files ^password^ for this node")
case 2: E_STR( 8,26,15,nodes.Apasswd, "The filemanager ^password^ for this node") case 2: E_STR( 8,26,15,nodes.Apasswd, "The filemanager ^password^ for this node")
@ -482,14 +487,16 @@ void E_Files(void)
case 6: E_BOOL(12,26, nodes.Message, "Send ^messages^ with files send to this node") case 6: E_BOOL(12,26, nodes.Message, "Send ^messages^ with files send to this node")
case 7: E_BOOL(13,26, nodes.Tic, "Send ^TIC^ files to this node") case 7: E_BOOL(13,26, nodes.Tic, "Send ^TIC^ files to this node")
case 8: E_BOOL(14,26, nodes.AdvTic, "Send ^advanced^ TIC files to this node") case 8: E_BOOL(14,26, nodes.AdvTic, "Send ^advanced^ TIC files to this node")
case 9: E_BOOL(15,26, nodes.FileFwd, "^Forward TIC^ files for this node") case 9: E_BOOL(15,26, nodes.TIC_AdvSB, "Send ^advanced Seen-By^ lines in ticfiles to this node")
case 10:E_BOOL(16,26, nodes.Billing, "Send ^bills^ to this node, Costsharing is active") case 10:E_BOOL(16,26, nodes.TIC_To, "Send ^To^ line in ticfiles to this node")
case 11:E_BOOL( 7,65, nodes.BillDirect, "Send bills ^direct^ after file processing") case 11:E_BOOL( 7,66, nodes.FileFwd, "^Forward TIC^ files for this node")
case 12:E_INT( 8,65, nodes.Credit, "The ^credit^ this node has for costsharing") case 12:E_BOOL( 8,66, nodes.Billing, "Send ^bills^ to this node, Costsharing is active")
case 13:E_INT( 9,65, nodes.Debet, "The ^debet^ in cents we have credit from this node") case 13:E_BOOL( 9,66, nodes.BillDirect, "Send bills ^direct^ after file processing")
case 14:E_INT( 10,65, nodes.AddPerc, "The + or - ^promille^ factor for this node") case 14:E_INT( 10,66, nodes.Credit, "The ^credit^ this node has for costsharing")
case 15:E_INT( 11,65, nodes.WarnLevel, "Credit level in cents to ^Warn^ node for low credit") case 15:E_INT( 11,66, nodes.Debet, "The ^debet^ in cents we have credit from this node")
case 16:E_INT( 12,65, nodes.StopLevel, "Credit level in cents to ^Stop^ sending files") case 16:E_INT( 12,66, nodes.AddPerc, "The + or - ^promille^ factor for this node")
case 17:E_INT( 13,66, nodes.WarnLevel, "Credit level in cents to ^Warn^ node for low credit")
case 18:E_INT( 14,66, nodes.StopLevel, "Credit level in cents to ^Stop^ sending files")
} }
} }
} }
@ -1487,8 +1494,10 @@ int node_doc(FILE *fp, FILE *toc, int page)
fprintf(fp, " Send .TIC %s", getboolean(nodes.Tic)); fprintf(fp, " Send .TIC %s", getboolean(nodes.Tic));
fprintf(fp, " File forward %s\n", getboolean(nodes.FileFwd)); fprintf(fp, " File forward %s\n", getboolean(nodes.FileFwd));
fprintf(fp, " Advanced TIC %s", getboolean(nodes.AdvTic)); fprintf(fp, " Advanced TIC %s", getboolean(nodes.AdvTic));
fprintf(fp, " Advanded SB %s", getboolean(nodes.TIC_AdvSB));
fprintf(fp, " Sen To lines %s\n", getboolean(nodes.TIC_To));
fprintf(fp, " Billing %s", getboolean(nodes.Billing)); fprintf(fp, " Billing %s", getboolean(nodes.Billing));
fprintf(fp, " Bill direct %s\n", getboolean(nodes.BillDirect)); fprintf(fp, " Bill direct %s", getboolean(nodes.BillDirect));
fprintf(fp, " Uplink add + %s\n", getboolean(nodes.AddPlus)); fprintf(fp, " Uplink add + %s\n", getboolean(nodes.AddPlus));
fprintf(fp, " Security flags %s\n\n", getflag(nodes.Security.flags, nodes.Security.notflags)); fprintf(fp, " Security flags %s\n\n", getflag(nodes.Security.flags, nodes.Security.notflags));