home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
ftp.wwiv.com
/
ftp.wwiv.com.zip
/
ftp.wwiv.com
/
pub
/
HATCH
/
WT134.ZIP
/
WWIVTOSS.MOD
< prev
Wrap
Text File
|
1996-10-18
|
5KB
|
91 lines
Simple mod to bypass BY: line problems with WWIV/Fido.
** Note: This mod has been proposed to Wayne Bell for inclusion in
WWIV 4.25. WWIVToss will function normally with or without
this mod in place. Addition of this mod will allow you to
modify your standard BY: line without worrying about messing
up Outgoing Fidonet messages.
** Note: As of 9/4/96, this mod has been made a standard feature in WWIV
starting with 4.25!!!!!
Most WWIV/Fido programs require the BY: line to correctly set the TO:
field in Fidonet messages. However, a lot of people like to modify
their BY: line, which forces outgoing messages for Fidonet to have
the TO: field set to ALL...which ticks Fidonetters off to no end.
This mod fixes that problem. It inserts a hidden code (diamond-0)
in the beginning of a message which contains the name of the author
of the post which is being responded to. This code is only inserted
if one of the export-to networks is a FIDONET type in INIT. (See warning
at end of document!)
WWIVToss will look for either BY: or the FidoAddr: line when
trying to determine the Fidonet TO: field. Since the FidoAddr:
field is placed BEFORE the RE: and BY: lines, WWIVToss will give
preference to that, falling back on the BY: line if it cannot find the
FidoAddr: line.
This code is invisible to the user, as it is hidden with a diamond-0
code, much like the Network Routing Information. It is stripped out
when exporting to Fidonet, and will not be seen by anybody except
the WWIVToss Program. The amount of bytes it adds to a message will
be negligible, as we are talking about a maximum of 80 characters
per message. Since this code will generally only appear in
messages posted from a system that is running WWIVToss, the effect
on networks will be non-existent.
In MSGBASE.C:
in function 'void inmsg(etc)'
At approximately line #938 (stock code)
if (irt[0]) { /* Exists */
if (irt_name[0] && strcmp(aux, "EMAIL")) /* Add */
{ /* Add */
if (xsubs[curlsub].num_nets) /* Add */
{ /* Add */
for (i=0; i<xsubs[curlsub].num_nets; i++) /* Add */
{ /* Add */
xnp=&xsubs[curlsub].nets[i]; /* Add */
if (net_networks[xnp->net_num].type) /* Add */
{ /* Add */
sprintf(s,"0FidoAddr: %s",irt_name); /* Add */
addline(b,s,&l1); /* Add */
break; /* Add */
} /* Add */
} /* Add */
} /* Add */
} /* Add */
sprintf(s,"%s%s",get_string(940),irt); /* Exists */
addline(b,s,&l1); /* Exists */
if (irt_sub[0]) { /* Exists */
sprintf(s,"%s%s", get_string(1509), irt_sub); /* Exists */
addline(b,s,&l1); /* Exists */
} /* Exists */
if (irt_name[0] && strcmp(aux, "EMAIL")) { /* Exists */
sprintf(s,"%s%s",get_string(941),irt_name); /* Exists */
addline(b,s,&l1); /* Exists */
} /* Exists */
addline(b,"",&l1); /* Exists */
} /* Exists */
/* Exists */
if (fsed) { /* Exists */
And that's all there is to it.
*** Important Note: As of this writing (WWIV Ver. 4.24a and Net
Ver 36), there are some bugs in the way the WWIV Software works.
If you want to gate a sub on Fidonet, you MUST either turn OFF
Network Validation, or set the network type in INIT to WWIVNET.
For some reason, the network2 software does NOT set the "Net Val"
flag on incoming Fidonet messages. And if the sub is set for
Network Validation and the network type is Fidonet, messages will
NOT be gated across to non-Fidonet networks. Therefore, if you
want to gate a Fidonet echo to WWIV or vice-versa, you MUST either
set Network Validation to NO or set the network type to WWIVNet.
I am in the process of talking to Wayne and getting this changed.
***