Changed Direct flag to 'd' instead of 'i'

This commit is contained in:
Michiel Broek 2004-07-11 15:43:49 +00:00
parent eb357ca168
commit 7a147613e3
3 changed files with 13 additions and 20 deletions

View File

@ -14,7 +14,7 @@
</HEAD>
<BODY>
<BLOCKQUOTE>
<div align='right'><h5>Last update 27-Jan-2002</h5></div>
<div align='right'><h5>Last update 11-Jul-2004</h5></div>
<div align='center'><h1>Binkly style outbound documentation for MBSE BBS.</H1></div>
The MBSE BBS outbound directory structure is BinkleyTerm compatible, with
@ -23,11 +23,8 @@ domains and point subdirectories (full 5d). There are separate "protected" and
outbound sessions are always placed in the "protected" inbound directory. Only
the "protected" inbound directory is processed automatic.
<P>
<P>
Note that this is a very simple document and that it is not even finished.
<P>
<PRE>
.pol Poll flag, is handled as crash immediate, the length is always 0 bytes.
Flow files are files with the full pathnames to the files to send
@ -39,12 +36,13 @@ Note that this is a very simple document and that it is not even finished.
The filenames may be prepended with a special character:
# = Truncate file after sent.
- or ^ = Kill file after sent.
@ = Leave file after sent, this is the default.
@ = Leave file after sent, this is the default. Upto version
0.61.1 this was empty.
.flo Normal flow file (contains complete filenames to send).
.clo Crash flow file.
.hlo Hold flow file.
.ilo Immediate flow file, overrides CM flag.
.dlo Direct flow file, overrides CM flag.
The following are .pkt files, during the mail session they will be
renamed to nnnnnnnn.pkt with an unique name and added to the spool
@ -54,16 +52,7 @@ Note that this is a very simple document and that it is not even finished.
.out Normal .pkt file.
.cut Crash .pkt file.
.hut Hold .pkt file.
.iut Immediate .pkt file.
It seems that these are subdirectories used by ifpack during packing
of mail. These are used for the news/e-mail gate.
.opk
.cpk
.hpk
.ipk
.dut Immediate .pkt file.
.req Request file. Contains filenames in ascii with &lt;cr&gt;&lt;lf&gt;.
@ -105,7 +94,6 @@ Note that this is a very simple document and that it is not even finished.
node is inserted into this file. All programs of the MBSE BBS package
(and ifcico package) check if the pid exists if a .bsy file is found.
If there is no pid found, the lock is a stale lock and is removed.
</PRE>
<A HREF="index.htm"><IMG SRC="../images/b_arrow.png" ALT="Back" Border="0">Go Back</A>

View File

@ -130,6 +130,8 @@ char *pktname(faddr *addr, char flavor)
p = prepbuf(addr);
if (flavor == 'f')
flavor = 'o';
if (flavor == 'i')
flavor = 'd';
q = p + strlen(p);
sprintf(q, "%c%s", flavor, ptyp);
@ -145,6 +147,9 @@ char *floname(faddr *addr, char flavor)
p = prepbuf(addr);
if (flavor == 'o')
flavor = 'f';
if (flavor == 'i')
flavor = 'd';
q = p + strlen(p);
sprintf(q, "%c%s", flavor, ftyp);
return p;

View File

@ -291,7 +291,7 @@ int outstat()
for (tmp = alist; tmp; tmp = tmp->next) {
if ((tmp->flavors & F_FREQ) || (tmp->size) || 1) {
strcpy(flstr,"......");
if ((tmp->flavors) & F_IMM ) flstr[0]='I';
if ((tmp->flavors) & F_IMM ) flstr[0]='D';
if ((tmp->flavors) & F_CRASH ) flstr[1]='C';
if ((tmp->flavors) & F_NORMAL) flstr[2]='N';
if ((tmp->flavors) & F_HOLD ) flstr[3]='H';
@ -389,7 +389,7 @@ int each(faddr *addr, char flavor, int isflo, char *fname)
for (p = buf; *p && isspace(*p); p++);
if (*p == '~')
continue;
if ((*p == '#') || (*p == '-') || (*p == '^') || (*p == '@'))
if ((*p == '#') || (*p == '-') || (*p == '^') || (*p == '@') || (*p == '~'))
p++;
if (stat(p, &st) != 0) {
if (strlen(CFG.dospath)) {