Updated Offline Reader

This commit is contained in:
Michiel Broek 2003-03-02 13:29:33 +00:00
parent edad301e0a
commit 4cbb31a07b
29 changed files with 689 additions and 878 deletions

View File

@ -1,7 +1,7 @@
$Id$
WARNING, users of Sparc and HP-PA systems should be carefull, some
menus might not work.
menus do not work.
All other users on Intel machines (99,9% I think) can use this version.
@ -17,6 +17,30 @@ v0.37.2 23-Feb-2003.
mbfido:
Finding the inbound tic file now uses the new function.
examples:
Removed the last menu item from the offline menu, added new
Extended Info toggle (English only).
Updated offline textfiles to remove point download and add
new Extended Info toggle (English only).
mbsebbs:
Offline reader, the reply packets are now handled complete
case insensitive.
Dropped BlueWave v2 format completly, obsolete format.
The BlueWave and QWK download packets can have kludges, this
depends on a setting in the userbase.
In downloaded netmail, if message comes from a point, the FMPT
kludge is allways included in the message.
Added some forgotten checks for a valid QWK board name.
Lots of code cleanups in the offline code.
Added menu 320, toggle Offline Reader Extended Info.
Added new control code: control-U + 8, this displays YES or NO
for the new Extended Info setting.
The display file functio now displays the ^U8 code.
lang:
Changed language prompts 15 and 16.
v0.37.1 14-Jan-2003 - 23-Feb-2003

18
TODO
View File

@ -18,10 +18,6 @@ libdiesel.a:
processed, instead the previous macro value will be returned.
mbsebbs:
L: Must include SEEN-BY and other hidden lines into BlueWave and QWK
mail, must be user selectable. see remarks of William McBrine.
The default is oke now.
N: Rewrite chat to use "mbtask". Write chat functions into "mbmon"
N: Implement session and time/day limits.
@ -41,6 +37,20 @@ mbsebbs:
L: ChangeHandle, allow own unix name as handle.
L: OLR: tagged areas must have 3 states, off, on or personal only.
L: OLR: implement limit date function.
L: OLR: include private email area in download packets.
L: OLR: implement some global settings from the offline configuration.
L: OLR: implement keywords and filters.
L: OLR: check qwke extensions.
N: OLR: qwk, check netmail entered from reader, fido address missing?
newuser:
L: Allow handles to be the same as the unixname.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

View File

@ -76,10 +76,10 @@ H_PROGS = programs/mbchat.html \
H_SETUP = setup/archiver.html setup/index.htm setup/bbs.html \
setup/bbslist.html setup/language.html setup/oneliner.html \
setup/emareas.html setup/magic.html setup/mail.html \
setup/protocol.html setup/emgroup.html setup/safe.html \
setup/protocol.html setup/emgroup.html \
setup/fdb.html setup/security.html setup/sitedoc.html \
setup/fegroup.html setup/modems.html setup/softinfo.html \
setup/fidonet.html setup/tic.html setup/timebank.html \
setup/fidonet.html setup/tic.html \
setup/fileecho.html setup/newfiles.html setup/filefind.html \
setup/newgroups.html setup/files.html setup/nodes.html \
setup/ttyinfo.html setup/global.html setup/users.html \

View File

@ -16,7 +16,7 @@
<div align=center><h1>MBSE BBS System Guide v0.37.01</h1></div>
<HR>
<div align=right><h5>Last update 14-Jan-2003</h5></div>
<div align=right><h5>Last update 02-Mar-2003</h5></div>
<P>
@ -61,8 +61,6 @@
<li><A HREF="setup/protocol.html">Edit Transfer protocols</a>
<li><A HREF="setup/bbslist.html">Edit BBS List data</a>
<li><A HREF="setup/oneliner.html">Edit Oneliners</a>
<li><A HREF="setup/timebank.html">Edit TimeBank data</a>
<li><A HREF="setup/safe.html">Edit Safe Cracker data</a>
</ol>
<li><A HREF="setup/mail.html">Edit Mail setup</A>
<ol>

View File

@ -12,10 +12,8 @@
</HEAD>
<BODY>
<BLOCKQUOTE>
<h5>Last update 11-Nov-2001</h5>
<P>&nbsp;<P>
<h1>MBSE BBS Control Codes in ANSI and ASCII files</h1>
<DIV align=right><h5>Last update 02-Mar-2003</h5></div>
<DIV align=center><h1>MBSE BBS Control Codes in ANSI and ASCII files</h1></DIV>
<hr>
@ -115,6 +113,10 @@ For example: ^B32000^BThis is the text^B<br>
2 User's check for new files (On/Off)
3 User's fullscreen editor (On/Off)
4 User's FS editor Emacs shortcuts (On/Off)
5 User's first address line.
6 User's Second address line.
7 User's Third address line.
8 User's OLR Extended Onfo (On/Off).
</PRE>

View File

@ -12,7 +12,7 @@
</HEAD>
<BODY>
<BLOCKQUOTE>
<DIV align=right><h5>Last update 02-Feb-2003</h5></DIV>
<DIV align=right><h5>Last update 02-Mar-2003</h5></DIV>
<DIV align=center><h1>MBSE BBS User Settings Menus</h1></DIV>
<hr>
@ -112,6 +112,11 @@
<strong>Optional data:</strong> None.<Br>
<P>
<LI value="320"><strong>Change OLR Extended Info:</strong> Let the user toggle
the setting of the Offline Reader download of extended info (kludges).<br>
<strong>Optional data:</strong> None.<Br>
<P>
</OL>
<HR>

View File

@ -12,10 +12,8 @@
</HEAD>
<BODY>
<BLOCKQUOTE>
<h5>Last update 29-Jan-2001</h5>
<P>&nbsp;<P>
<H1>MBSE BBS Setup - Edit BBS Setup.</H1>
<DIV align=right><h5>Last update 02-Mar-2003</h5></DIV>
<DIV align=center><H1>MBSE BBS Setup - Edit BBS Setup.</H1></DIV>
<P>
<H3>Edit BBS Setup.</H3>
@ -31,8 +29,6 @@ The BBS setup is split in the following sections:
<li><A HREF="protocol.html">Transfer protocols</a>
<li><A HREF="bbslist.html">BBS List data</a>
<li><A HREF="oneliner.html">Oneliners</a>
<li><A HREF="timebank.html">TimeBank data</a>
<li><A HREF="safe.html">Safe Cracker data</a>
</ol>
<A HREF="./"><IMG SRC="../images/larrow.gif" ALT="Back" Border="0">Back to index</A>&nbsp;

View File

@ -12,10 +12,8 @@
</HEAD>
<BODY>
<BLOCKQUOTE>
<h5>Last update 25-Jul-2001</h5>
<P>&nbsp;<P>
<h1>MBSE BBS Setup Guide</h1>
<DIV align=right><h5>Last update 02-Mar-2003</h5></DIV>
<DIV align=center><h1>MBSE BBS Setup Guide</h1></DIV>
<P>
<H3>Invoking mbsetup</H3>
@ -47,8 +45,6 @@ When you start <strong>mbsetup</strong> you will see the following screen:
<li><A HREF="protocol.html">Edit Transfer protocols</a>
<li><A HREF="bbslist.html">Edit BBS List data</a>
<li><A HREF="oneliner.html">Edit Oneliners</a>
<li><A HREF="timebank.html">Edit TimeBank data</a>
<li><A HREF="safe.html">Edit Safe Cracker data</a>
</ol>
<li><A HREF="mail.html">Edit Mail setup</A>
<ol>

View File

@ -1,30 +0,0 @@
<HTML>
<!-- $Id$ -->
<HEAD>
<META http-equiv="Content-Type" content="text/html; charset=ISO 8859-1">
<META http-equiv="Content-Style-Type" content="text/css">
<META name="author" lang="en" content="Michiel Broek">
<META name="copyright" lang="en" content="Copyright Michiel Broek">
<META name="description" lang="en" content="MBSE BBS Manual">
<META name="keywords" lang="en" content="MBSE BBS, MBSE, BBS, manual, fido, fidonet, gateway, tosser, mail, tic, mailer">
<TITLE>MBSE BBS Setup - BBS Setup - Safe Cracker Data.</TITLE>
<LINK rel=stylesheet HREF="../manual.css">
</HEAD>
<BODY>
<BLOCKQUOTE>
<h5>Last update 29-Jan-2001</h5>
<P>&nbsp;<P>
<H1>MBSE BBS Setup - BBS Setup - Safe Cracker Data</H1>
<P>
This is meant to edit users personal safe cracker records and to reset
the winner. This is not available yet.
<P>
<A HREF="bbs.html"><IMG SRC="../images/larrow.gif" ALT="Back" Border="0">Back to BBS index</A>&nbsp;
<A HREF="./"><IMG SRC="../images/larrow.gif" ALT="Back" Border="0">Back to index</A>&nbsp;
<A HREF="../"><IMG SRC="../images/b_arrow.gif" ALT="Home" Border="0">Back to main index</A>
</BLOCKQUOTE>
</BODY>
</HTML>

View File

@ -1,30 +0,0 @@
<HTML>
<!-- $Id$ -->
<HEAD>
<META http-equiv="Content-Type" content="text/html; charset=ISO 8859-1">
<META http-equiv="Content-Style-Type" content="text/css">
<META name="author" lang="en" content="Michiel Broek">
<META name="copyright" lang="en" content="Copyright Michiel Broek">
<META name="description" lang="en" content="MBSE BBS Manual">
<META name="keywords" lang="en" content="MBSE BBS, MBSE, BBS, manual, fido, fidonet, gateway, tosser, mail, tic, mailer">
<TITLE>MBSE BBS Setup - BBS Setup - TimeBank.</TITLE>
<LINK rel=stylesheet HREF="../manual.css">
</HEAD>
<BODY>
<BLOCKQUOTE>
<h5>Last update 29-Jan-2001</h5>
<P>&nbsp;<P>
<H1>MBSE BBS Setup - BBS Setup - TimeBank.</H1>
<P>
This is meant to edit the users personal timebank records. This is not
available yet.
<P>
<A HREF="bbs.html"><IMG SRC="../images/larrow.gif" ALT="Back" Border="0">Back to BBS index</A>&nbsp;
<A HREF="./"><IMG SRC="../images/larrow.gif" ALT="Back" Border="0">Back to index</A>&nbsp;
<A HREF="../"><IMG SRC="../images/b_arrow.gif" ALT="Home" Border="0">Back to main index</A>
</BLOCKQUOTE>
</BODY>
</HTML>

View File

@ -13,8 +13,8 @@
12 mail.c email.c |Message exported to rules directory as
13 dispfile.c |No rules found for this area
14 mail.c |You are not allowed to delete that message
15 .c |
16 .c |
15 change.c |Offline Reader: Extended Info turned ON
16 change.c |Offline Reader: Extended Info turned OFF
17 .c |
18 .c |
19 .c |

View File

@ -13,8 +13,8 @@ HR|Exporteer naar (H)ome of (R)egels directory:
|Bericht geexporteerd naar rules directory als
|Geen regels gevonden voor dit gebied
|Je mag dit bericht niet verwijderen
|Tijd gestort vandaag
|Bytes gestort vandaag
|Offline Reader: Uitgebreide Informatie is nu AAN
|Offline Reader: Uitgebreide Informatie is nu UIT
|Tijd opgenomen vandaag
|Bytes opgenomen vandaag
SOE|(S)torten, (O)pnemen, (E)inde:

View File

@ -13,8 +13,8 @@ HR|Export to (H)ome or (R)ules directory:
|Message exported to rules directory as
|No rules found for this area
|You are not allowed to delete that message
|Time deposited today
|Bytes deposited today
|Offline Reader: Extended Info turned ON
|Offline Reader: Extended Info turned OFF
|Time withdrawn today
|Bytes withdrawn today
DWQ|(D)eposit, (W)ithdraw, (Q)uit:

View File

@ -13,8 +13,8 @@ HR|Export to (H)ome or (R)ules directory:
|Message exported to rules directory as
|No rules found for this area
|You are not allowed to delete that message
|Tempo depositado hoxe :
|Bytes depositados hoxe :
|Offline Reader: Extended Info turned ON
|Offline Reader: Extended Info turned OFF
|Tempo retirado hoxe :
|Bytes retirados hoxe :
DRS|(D)epositar, (R)etirar, (S)air :

View File

@ -13,8 +13,8 @@ HR|Export in (H)ome oder (R)ules Direktorie:
|Message exportiert in das Rules Direktorie als
|Keine Rules gefunden fuer diese Area
|Keine Berechtigung zum loeschen der Message
|Heute gesparte Zeit . . . . . . . :
|Heute gesparte KBytes . . . . . . :
|Offline Reader: Extended Info turned ON
|Offline Reader: Extended Info turned OFF
|Heute abgehobene Zeit . . . . . . :
|Heute abgehobene KBytes . . . . . :
SAE|(S)paren, (A)bheben, (E)nde:

View File

@ -13,8 +13,8 @@ HR|Export to (H)ome or (R)ules directory:
|Message exported to rules directory as
|No rules found for this area
|You are not allowed to delete that message
|Tempo depositato oggi:
|Byte depositati oggi :
|Offline Reader: Extended Info turned ON
|Offline Reader: Extended Info turned OFF
|Tempo prelevato oggi :
|Byte prelevati oggi :
DPE|(D)eposita, (P)releva, (E)sci:

View File

@ -13,8 +13,8 @@ HR|Export to (H)ome or (R)ules directory:
|Message exported to rules directory as
|No rules found for this area
|You are not allowed to delete that message
|Tiempo depositado hoy :
|Bytes depositados hoy :
|Offline Reader: Extended Info turned ON
|Offline Reader: Extended Info turned OFF
|Tiempo retirado hoy :
|Bytes retirados hoy :
DRS|(D)epositar, (R)etirar, (S)alir :

View File

@ -81,14 +81,6 @@
** data types in a different fashion. (Note that the tCHAR and tINT types
** are currently not used; they are included simply for completeness.)
**
** If you are programming for a system that employs a CPU which stores multi-
** byte integers in a manner other than in Intel format (LSB-MSB, or "little
** endian"), simply #define BIG_ENDIAN before #including this header. As
** shown below, this will define the data types as arrays of bytes; the
** drawback is that *YOU* will have to write functions to convert the data,
** since the Blue Wave packet specification requires the data to be in Intel-
** style little-endian format.
**
** IMPORTANT NOTE ABOUT COMPILERS AND STRUCTURES:
** All structures *must* be "packed" (i.e., the compiler MUST NOT insert
** padding bytes between structure elements in order to force elements onto
@ -96,16 +88,6 @@
** they aren't, you're bound to get some *very* interesting results.
*/
//#ifdef BIG_ENDIAN
//typedef signed char tCHAR; /* 8 bit signed values */
//typedef unsigned char tBYTE; /* 8 bit unsigned values */
//typedef unsigned char tINT[2]; /* little-endian 16 bit signed */
//typedef unsigned char tWORD[2]; /* little-endian 16 bit unsigned */
//typedef unsigned char tLONG[4]; /* little-endian 32 bit signed */
//typedef unsigned char tDWORD[4]; /* little-endian 32 bit unsigned */
//#else
typedef signed char tCHAR; /* 8 bit signed values */
typedef unsigned char tBYTE; /* 8 bit unsigned values */
@ -114,7 +96,6 @@ typedef unsigned short tWORD; /* 16 bit unsigned values */
typedef signed long tLONG; /* 32 bit signed values */
typedef unsigned long tDWORD; /* 32 bit unsigned values */
//#endif
/*****************************************************************************/

View File

@ -961,3 +961,22 @@ void Set_Protocol(char *Protocol)
void Chg_OLR_ExtInfo()
{
ReadExitinfo();
if (exitinfo.OL_ExtInfo) {
exitinfo.OL_ExtInfo = FALSE;
/* Offline Reader: Extended Info turned OFF */
printf("\n\n%s\n\n", (char *) Language(16));
} else {
exitinfo.OL_ExtInfo = TRUE;
/* Offline Reader: Extended Info turned ON */
printf("\n\n%s\n\n", (char *) Language(15));
}
Syslog('+', "OLR Extended Info now %s", exitinfo.OL_ExtInfo?"True":"False");
sleep(2);
WriteExitinfo();
}

View File

@ -22,7 +22,7 @@ int Test_DOB(char *); /* Test of Date of Birth is valid */
void Chg_DOB(void); /* Change Date of Birth */
void Chg_Protocol(void); /* Change default transfer protocol. */
void Set_Protocol(char *); /* Set default protocol */
void Chg_OLR_ExtInfo(void); /* Set OLR Extended Info */
#endif

View File

@ -544,6 +544,10 @@ void ControlCodeU(int ch)
printf(exitinfo.address[2]);
break;
case '8':
printf("%s", exitinfo.OL_ExtInfo ? (char *) Language(147) : (char *) Language(148));
break;
default:
printf(" ");
}

View File

@ -640,6 +640,10 @@ void DoMenu(int Type)
signature();
break;
case 320:
Chg_OLR_ExtInfo();
break;
case 401:
Oneliner_Add();
break;

File diff suppressed because it is too large Load Diff

View File

@ -2148,6 +2148,7 @@ char *getmenutype(int val)
case 317: return (char *)"Change FS edit shortcut keys";
case 318: return (char *)"Change address";
case 319: return (char *)"Change .signature file";
case 320: return (char *)"Change OLR Extended Info";
case 401: return (char *)"Add oneliner";
case 402: return (char *)"List oneliners";

View File

@ -198,7 +198,7 @@ int GetMenuType(void)
case 1: return GetSubmenu(1, 21);
case 2: return GetSubmenu(101, 19);
case 3: return GetSubmenu(201, 21);
case 4: return GetSubmenu(301, 19);
case 4: return GetSubmenu(301, 20);
case 5: return GetSubmenu(401, 5);
case 6: return GetSubmenu(501, 6);
default: return 0;