UNIT UpgrCfg;

{$I platform.inc}

{$IFNDEF Upgrade} ### Missing define!... ## {$ENDIF}

INTERFACE

USES UpgrGlob;

PROCEDURE UpgradeCfg (VAR Rec; VAR Version : BYTE);

TYPE AreafixForwardRecord = RECORD
                                  UplinkAddress : FidoAddrType;
                                  Unconditional : BOOLEAN;
                                  AreaListPath  : STRING[50];
                                  AreaList      : BYTE;
                                  AreaManager   : STRING[10];
                                  Password      : STRING[10];
                                  Group         : BYTE;
                                  AddPlus       : BOOLEAN;
                            END;

TYPE UUCPForwardRecord  = RECORD
                                UUCPName     : STRING[10];
                                AreaListPath : STRING[49];
                                Group        : BYTE;
                          END;

(* can no longer be tested..
TYPE Config04Record = RECORD
                            SystemDir            : STRING[79];
                            Sysop                : STRING[50];
                            DupeChecks           : WORD;
                            DoDupeChk            : BOOLEAN;
                            MaxHandles           : BYTE;
                            TimeZone             : STRING[10];
                            CacheTdb             : BOOLEAN;
                            TooLargePath         : STRING[79];
                            NodeNrs              : ARRAY[1..20] OF FidoAddrType;
                            PointNets            : ARRAY[1..20] OF WORD;
                            Security_F           : ARRAY[1..2] OF BYTE;
                            Inbound_F            : ARRAY[1..2] OF STRING[79];
                            Outbound_F           : STRING[79];
                            ComprPrgs_F          : ARRAY[0..1,ARC..GUS] OF STRING[MaxLenComprPrgDescr];
                            MaxFidoMsgLen        : LONGINT;
                            MaxFidoArcLen        : LONGINT;
                            DefGroups_F          : LONGINT;
                            FidoSystem           : BYTE;
                            FidoAcceptTO         : BOOLEAN;
                            FidoNetmailType      : BYTE;
                            FidoNetmailPath      : STRING[79];
                            FidoBadAreaType      : BYTE;
                            FidoBadPath          : STRING[79];
                            FidoDupeAreaType     : BYTE;
                            FidoDupePath         : STRING[79];
                            FidoAutoCreateType   : BYTE;
                            DefaultFidoMsgPath   : STRING[79];
                            StripSeenBy          : BOOLEAN;
                            AutoLink             : BOOLEAN;
                            ReplaceTear          : BOOLEAN;
                            ReplyKludges         : BYTE;
                            DefNumbToKeep_F      : INTEGER;
                            DefDaystoKeep_F      : INTEGER;
                            FidoArcmailExtension : BYTE;
                            UUCPGATEWAY          : BYTE;
                            UseGateFields        : LONGINT;
                            GateWayUser          : STRING[MaxLenDomain];
                            Origins              : ARRAY[1..2] OF STRING[MaxLenOrigin];
                            WorldWide            : BOOLEAN;
                            DefGroups_U          : LONGINT;
                            SpoolBaseDir         : STRING[79];
                            MaxDatLength         : LONGINT;
                            SmartHost            : STRING[MaxLenUUCPName];
                            UUCPName             : STRING[MaxLenUUCPName];
                            BackBone             : STRING[MaxLenDomain];
                            Organization         : STRING[MaxLenOrganization];
                            Domains              : ARRAY[ 1..MaxDomains] OF STRING[MaxLenDomain];
                            ComprPrg_U           : ARRAY[CompUsenetType,CompDecompType] OF STRING[MaxLenComprPrgDescr];
                            PrivmailType         : FidoMsgStyleType;
                            PrivmailPath         : STRING[79];
                            PrivmailOption       : ARRAY[1 .. MaxPrivMail] OF String[MaxLenSubj_F];
                            PrivmailSelect       : ARRAY[1 .. MaxPrivMail] OF PrivateMailType;
                            AreafixForward       : ARRAY[1 .. MaxAreaFixFwd] OF AreaFixForwardRecord;
                            ConversionTable      : CharArrayType;
                      END;


TYPE Config05Record = RECORD
                            SystemDir            : STRING[79];
                            Sysop                : STRING[MaxLenSysopName];
                            DupeChecks           : WORD;
                            DoDupeChk            : BOOLEAN;
                            MaxHandles           : BYTE;
                            TimeZone             : STRING[10];
                            CacheTdb             : BOOLEAN;
                            TooLargePath         : STRING[79];
                            LogFilePath          : STRING[79];
                            NodeNrs              : ARRAY[AkaIndexType] OF FidoAddrType;
                            PointNets            : ARRAY[AkaIndexType] OF WORD;
                            Security_F           : ARRAY[1..MaxInboundDirs] OF SecurityType
                            Inbound_F            : ARRAY[1..MaxInboundDirs] OF STRING[79];
                            Outbound_F           : STRING[79];
                            ComprPrgs_F          : ARRAY[CompDecompType,ARC..GUS] OF STRING[New_MaxLenComprPrgDescr];
                            MaxFidoMsgLen        : LONGINT;
                            MaxFidoArcLen        : LONGINT;
                            DefGroups_F          : LONGINT;
                            FidoSystem           : BYTE;
                            FidoAcceptTO         : BOOLEAN;
                            FidoNetmailType      : BYTE;
                            FidoNetmailPath      : STRING[79];
                            FidoBadAreaType      : BYTE;
                            FidoBadPath          : STRING[79];
                            FidoDupeAreaType     : BYTE;
                            FidoDupePath         : STRING[79];
                            FidoAutoCreateType   : BYTE;
                            DefaultFidoMsgPath   : STRING[79];
                            StripSeenBy          : BOOLEAN;
                            AutoLink,            : BOOLEAN;
                            ReplaceTear          : BOOLEAN;
                            ReplyKludges         : ReplyKludgeType;
                            DefNumbToKeep_F      : INTEGER;
                            DefDaystoKeep_F      : INTEGER;
                            FidoArcmailExtension : BYTE;
                            UUCPGATEWAY          : BYTE;
                            NameSeparator        : CHAR;
                            UseGateFields        : LONGINT;
                            GateWayUser          : STRING[MaxLenDomain];
                            Origins              : ARRAY[1..MaxOrigins] OF STRING[MaxLenOrigin];
                            WorldWide            : BOOLEAN;
                            DefGroups_U          : GroupFlagType;
                            SpoolBaseDir         : STRING[79];
                            MaxDatLength         : LONGINT;
                            SmartHost            : STRING[MaxLenUUCPName];
                            UUCPName             : STRING[MaxLenUUCPName];
                            BackBone             : STRING[MaxLenDomain];
                            Organization         : STRING[MaxLenOrganization];
                            Domains              : ARRAY[ 1..MaxDomains] OF STRING[MaxLenDomain];
                            ComprPrg_U           : ARRAY[CompUsenetType,CompDecompType] OF STRING[New_MaxLenComprPrgDescr];
                            PrivmailType         : FidoMsgStyleType;
                            PrivmailPath         : STRING[79];
                            PrivmailOption       : ARRAY [1 .. MaxPrivMail] OF String[MaxLenSubj_F];
                            PrivmailSelect       : ARRAY [1 .. MaxPrivMail] OF PrivateMailType;
                            AreafixForward       : ARRAY [1 .. MaxAreaFixFwd] OF AreaFixForwardRecord;
                            ConversionTable      : CharArrayType;
                            MaxSquishMsgLen      : LONGINT;
                            MaxJAMMsgLen         : LONGINT;
                            DefaultCompressor    : CompressionType;
                            PackedAddresses      : BOOLEAN;
                      END;

TYPE Config06Record = RECORD
                            SystemDir            : STRING[79];
                            Sysop                : STRING[MaxLenSysopName];
                            DupeChecks           : WORD;
                            DoDupeChk            : BOOLEAN;
                            MaxHandles           : BYTE;
                            TimeZone             : STRING[10];
                            CacheTdbs            : BOOLEAN;
                            TooLargePath         : STRING[79];
                            LogFilePath          : STRING[79];
                            NodeNrs              : ARRAY[AkaIndexType] OF FidoAddrType;
                            PointNets            : ARRAY[AkaIndexType] OF WORD;
                            Security_F           : ARRAY[1..MaxInboundDirs] OF SecurityType;
                            Inbound_F            : ARRAY[1..MaxInboundDirs] OF STRING[79];
                            Outbound_F           : STRING[79];
                            ComprPrgs_F          : ARRAY[CompDecompType,ARC..GUS] OF STRING[New_MaxLenComprPrgDescr];
                            MaxFidoMsgLen        : LONGINT;
                            MaxFidoArcLen        : LONGINT;
                            DefGroups_F          : LONGINT;
                            FidoSystem           : BYTE;
                            FidoAcceptTO         : BOOLEAN;
                            FidoNetmailType      : BYTE;
                            FidoNetmailPath      : STRING[79];
                            FidoBadAreaType      : BYTE;
                            FidoBadPath          : STRING[79];
                            FidoDupeAreaType     : BYTE;
                            FidoDupePath         : STRING[79];
                            FidoAutoCreateType   : BYTE;
                            DefaultFidoMsgPath   : STRING[79];
                            StripSeenBy          : BOOLEAN;
                            AutoLink             : BOOLEAN;
                            ReplaceTear          : BOOLEAN;
                            ReplyKludges         : ReplyKludgeType;
                            DefNumbToKeep_F      : INTEGER;
                            DefDaystoKeep_F      : INTEGER;
                            FidoArcmailExtension : ArcType;
                            UUCPGATEWAY          : BYTE;
                            NameSeparator        : CHAR;
                            UseGateFields        : LONGINT;
                            GateWayUser          : STRING[MaxLenDomain];
                            Origins              : ARRAY[1..MaxOrigins] OF STRING[MaxLenOrigin];
                            WorldWide            : BOOLEAN;
                            DefGroups_U          : LONGINT;
                            SpoolBaseDir         : STRING[79];
                            MaxDatLength         : LONGINT;
                            SmartHost            : STRING[MaxLenUUCPName];
                            UUCPName             : STRING[MaxLenUUCPName];
                            BackBone             : STRING[MaxLenDomain];
                            Organization         : STRING[MaxLenOrganization];
                            Domains              : ARRAY[ 1..MaxDomains] OF STRING[MaxLenDomain];
                            ComprPrg_U           : ARRAY[CompUsenetType,CompDecompType] OF STRING[New_MaxLenComprPrgDescr];
                            PrivmailType         : FidoMsgStyleType;
                            PrivmailPath         : STRING[79];
                            PrivmailOption       : ARRAY [1 .. MaxPrivMail] OF STRING[MaxLenSubj_F];
                            PrivmailSelect       : ARRAY [1 .. MaxPrivMail] OF PrivateMailType;
                            AreafixForward       : ARRAY [1 .. MaxAreaFixFwd] OF AreaFixForwardRecord;
                            UsenetForward        : ARRAY [1 .. MaxAreaFixFwd] OF UsenetForwardRecord;
                            ConversionTable      : CharArrayType;
                            MaxSquishMsgLen      : LONGINT;
                            MaxJAMMsgLen         : LONGINT;
                            DefaultCompressor    : BYTE;
                            PackedAddresses      : BOOLEAN;
                      END;
*)

(*
      {
      PreviousConfigHeader = 'WtrGate Config 06';
      PreviousConfigSizeOf = 6641;
      }
      PreviousConfigHeader = 'WtrGate Config 07';
      PreviousConfigSizeOf = 6786;

      { 08 was voor Rene Vreeman met KillGatedNetmail optie  }
      { maar de rest van de wereld heeft gewoon als previous }  { << PREVIOUS }
      { optie de 07 versie.                                  }
*)

(* not enough space to keep this one..
{ RWI 961005: Config09 uit backup gehaald }
TYPE Config09Record = RECORD
                            SystemDir            : STRING[79];
                            Sysop                : STRING[50];
                            DupeChecks           : WORD;
                            DoDupeChk            : BOOLEAN;
                            MaxHandles           : BYTE;
                            TimeZone             : STRING[10];
                            CacheTdbs            : BOOLEAN;
                            TooLargePath         : STRING[79];
                            LogFilePath          : STRING[79];
                            NodeNrs              : ARRAY[1..20] OF FidoAddrType;
                            PointNets            : ARRAY[1..20] OF WORD;
                            Security_F           : ARRAY[1..2] OF BYTE;
                            Inbound_F            : ARRAY[1..2] OF STRING[79];
                            Outbound_F           : STRING[79];
                            ComprPrgs_F          : ARRAY[0..1,0..7] OF STRING[79];
                            MaxFidoMsgLen        : LONGINT;
                            MaxFidoArcLen        : LONGINT;
                            DefGroups_F          : LONGINT;
                            FidoSystem           : BYTE;
                            FidoAcceptTO         : BOOLEAN;
                            FidoNetmailType      : BYTE;
                            FidoNetmailPath      : STRING[79];
                            FidoBadAreaType      : BYTE;
                            FidoBadPath          : STRING[79];
                            FidoDupeAreaType     : BYTE;
                            FidoDupePath         : STRING[79];
                            FidoAutoCreateType   : BYTE;
                            DefaultFidoMsgPath   : STRING[79];
                            StripSeenBy          : BOOLEAN;
                            AutoLink             : BOOLEAN;
                            ReplaceTear          : BOOLEAN;
                            ReplyKludges         : BYTE;
                            DefNumbToKeep_F      : INTEGER;
                            DefDaystoKeep_F      : INTEGER;
                            FidoArcmailExtension : BYTE;
                            UUCPGateWay          : BYTE;
                            NameSeparator        : CHAR;
                            UseGateFields        : LONGINT;
                            GateWayUser          : STRING[50];
                            Origins              : ARRAY[1..2] OF STRING[60];
                            WorldWide            : BOOLEAN;
                            DefGroups_U          : LONGINT;
                            SpoolBaseDir         : STRING[79];
                            MaxDatLength         : LONGINT;
                            SmartHost            : STRING[10];
                            UUCPName             : STRING[10];
                            BackBone             : STRING[50];
                            Organization         : STRING[60];
                            Domains              : ARRAY[1..6] OF STRING[50];
                            ComprPrg_U           : ARRAY[0..1,0..1] OF STRING[79];
                            PrivmailType         : BYTE;
                            PrivmailPath         : STRING[79];
                            PrivmailOption       : ARRAY[1..10] OF STRING[72];
                            PrivmailSelect       : ARRAY[1..10] OF BYTE;
                            AreafixForward       : ARRAY[1..10] OF AreaFixForwardRecord;
                            UsenetForward        : ARRAY[1..10] OF UUCPForwardRecord;
                            ConversionTabel      : ARRAY[128..255] OF CHAR;
                            MaxSquishMsgLen      : LONGINT;
                            MaxJAMMsgLen         : LONGINT;
                            DefaultCompressor    : BYTE;
                            PackedAddresses      : BOOLEAN;

                            { nieuwe velden 14/08/1994 }
                            RescanFlagFile       : STRING[79];
                            DBridgeQueuePath     : STRING[79];
                            AreafixName          : STRING[10];

                            { nieuwe velden 11/02/95 }
                            KillGatedNetmail     : BOOLEAN;
                            NewsfixName          : STRING[10];
                      END;
*)

(* not enough space to keep this one..
{ RWI 970509: recovered from old WTRCFG.TDB I found }
TYPE Config10Record = RECORD
                            SystemDir            : STRING[79];
                            Sysop                : STRING[50];
                            DupeChecks           : WORD;
                            DoDupeChk            : BOOLEAN;
                            MaxHandles           : BYTE;
                            OLD0                 : STRING[10];
                            CacheTdbs            : BOOLEAN;
                            TooLargePath         : STRING[79];
                            LogFilePath          : STRING[79];
                            NodeNrs              : ARRAY[1..20] OF FidoAddrType;
                            PointNets            : ARRAY[1..20] OF WORD;
                            Security_F           : ARRAY[1..2] OF BYTE;
                            Inbound_F            : ARRAY[1..2] OF STRING[79];
                            Outbound_F           : STRING[79];
                            ComprPrgs_F          : ARRAY[0..1,0..7] OF STRING[79];
                            MaxFidoMsgLen        : LONGINT;
                            MaxFidoArcLen        : LONGINT;
                            DefGroups_F          : LONGINT;
                            FidoSystem           : BYTE;
                            FidoAcceptTO         : BOOLEAN;
                            FidoNetmailType      : BYTE;
                            FidoNetmailPath      : STRING[79];
                            FidoBadAreaType      : BYTE;
                            FidoBadPath          : STRING[79];
                            FidoDupeAreaType     : BYTE;
                            FidoDupePath         : STRING[79];
                            FidoAutoCreateType   : BYTE;
                            DefaultFidoMsgPath   : STRING[79];
                            StripSeenBy          : BOOLEAN;
                            AutoLink             : BOOLEAN;
                            ReplaceTear          : BOOLEAN;
                            OLD1                 : BYTE;
                            DefNumbToKeep_F      : INTEGER;
                            DefDaystoKeep_F      : INTEGER;
                            FidoArcmailExtension : BYTE;
                            UUCPGateway          : BYTE;
                            NameSeparator        : CHAR;
                            OLD2                 : LONGINT;
                            OLD3                 : STRING[50];
                            Origins              : ARRAY[1..2] OF STRING[61];
                            WorldWide            : BOOLEAN;
                            DefGroups_U          : LONGINT;
                            SpoolBaseDir         : STRING[79];
                            MaxDatLength         : LONGINT;
                            SmartHost            : STRING[10];
                            UUCPName             : STRING[10];
                            BackBone             : STRING[50];
                            Organization         : STRING[60];
                            Domains              : ARRAY[1..6] OF STRING[50];
                            ComprPrg_U           : ARRAY[0..1,0..1] OF STRING[79];
                            PrivmailType         : BYTE;
                            PrivmailPath         : STRING[79];
                            PrivmailOption       : ARRAY[1..10] OF STRING[72];
                            PrivmailSelect       : ARRAY[1..10] OF BYTE;
                            AreafixForward       : ARRAY[1..10] OF AreaFixForwardRecord;
                            UUCPForward          : ARRAY[1..10] OF UUCPForwardRecord;
                            ConversionTabel      : ARRAY[128..255] OF CHAR;
                            MaxSquishMsgLen      : LONGINT;
                            MaxJAMMsgLen         : LONGINT;
                            DefaultCompressor    : BYTE;
                            PackedAddresses      : BOOLEAN;

                            { nieuwe velden 14/08/1994 }
                            RescanFlagFile       : STRING[79];
                            DBridgeQueuePath     : STRING[79];
                            AreafixName          : STRING[10];

                            { nieuwe velden 11/02/95 }
                            KillGatedNetmail     : BOOLEAN;
                            NewsfixName          : STRING[10];

                            { nieuwe velden 15/04/95 }
         { new in 10 }      UseSwapfile          : BOOLEAN;
                            SwapfilePath         : STRING[79];
                            SwapfileSize         : BYTE;

                            { nieuwe velden 23/05/95 }
                            ReplyFSC35           : BOOLEAN;
                            HeaderFullname       : BOOLEAN;
                            LogDebug             : BOOLEAN;
                            LogSpoolTossed       : BOOLEAN;
                            LogFidoExtract       : BOOLEAN;
                            LogFidoTossed        : BOOLEAN;
                            LogTranslationFU     : BOOLEAN;
                            LogCheckFilter       : BOOLEAN;
                            LogXFix              : BOOLEAN;
                            LogCopyHeaders       : BOOLEAN;
                            LogIllegalHeaders    : BOOLEAN;
                            LogAreaFix           : BOOLEAN;
                            Log10                : BOOLEAN;
                            Log11                : BOOLEAN;
                            Log12                : BOOLEAN;
                            Log13                : BOOLEAN;
                            Log14                : BOOLEAN;
                            Log15                : BOOLEAN;
                            Log16                : BOOLEAN;
                            Log17                : BOOLEAN;
                            Log18                : BOOLEAN;
                            Log19                : BOOLEAN;
                            Log20                : BOOLEAN;
                            Log21                : BOOLEAN;
                            CopyHeaderNames      : ARRAY[1..15] OF STRING[15];
                            CopyHeaderHow        : ARRAY[1..15] OF BYTE;
                            GatewayUser          : STRING[36];
                    END;
*)

(* not enough space to keep this one..
{ < 0.20, reconstructed RWI960921 from a WTRCFG.TDB file }
TYPE Config11Record = RECORD
                            SystemDir            : STRING[79];
                            Sysop                : STRING[50];
                            DupeChecks           : WORD;
                            DoDupeChk            : BOOLEAN;
                            MaxHandles           : BYTE;
                            OLD0                 : STRING[10];
                            CacheTdbs            : BOOLEAN;
                            TooLargePath         : STRING[79];
                            LogFilePath          : STRING[79];
                            NodeNrs              : ARRAY[1..20] OF FidoAddrType;
                            PointNets            : ARRAY[1..20] OF WORD;
                            Security_F           : ARRAY[1..2] OF BYTE;
                            Inbound_F            : ARRAY[1..2] OF STRING[79];
                            Outbound_F           : STRING[79];
                            ComprPrgs_F          : ARRAY[0..1,0..7] OF STRING[79];
                            MaxFidoMsgLen        : LONGINT;
                            MaxFidoArcLen        : LONGINT;
                            DefGroups_F          : LONGINT;
                            FidoSystem           : BYTE;
                            FidoAcceptTO         : BOOLEAN;
                            FidoNetmailType      : BYTE;
                            FidoNetmailPath      : STRING[79];
                            FidoBadAreaType      : BYTE;
                            FidoBadPath          : STRING[79];
                            FidoDupeAreaType     : BYTE;
                            FidoDupePath         : STRING[79];
                            FidoAutoCreateType   : BYTE;
                            DefaultFidoMsgPath   : STRING[79];
                            StripSeenBy          : BOOLEAN;
                            AutoLink             : BOOLEAN;
                            ReplaceTear          : BOOLEAN;
                            OLD1                 : BYTE;
                            DefNumbToKeep_F      : INTEGER;
                            DefDaystoKeep_F      : INTEGER;
                            FidoArcmailExtension : BYTE;
                            UUCPGateway          : BYTE;
                            NameSeparator        : CHAR;
                            OLD2                 : LONGINT;
                            OLD3                 : STRING[50];
                            Origins              : ARRAY[1..2] OF STRING[61];
                            WorldWide            : BOOLEAN;
                            DefGroups_U          : LONGINT;
                            SpoolBaseDir         : STRING[79];
                            MaxDatLength         : LONGINT;
                            SmartHost            : STRING[10];
                            UUCPName             : STRING[10];
                            BackBone             : STRING[50];
                            Organization         : STRING[60];
                            Domains              : ARRAY[1..6] OF STRING[50];
                            ComprPrg_U           : ARRAY[0..1,0..1] OF STRING[79];
                            PrivmailType         : BYTE;
                            PrivmailPath         : STRING[79];
                            PrivmailOption       : ARRAY[1..10] OF STRING[72];
                            PrivmailSelect       : ARRAY[1..10] OF BYTE;
                            AreafixForward       : ARRAY[1..10] OF AreaFixForwardRecord;
                            UUCPForward          : ARRAY[1..10] OF UUCPForwardRecord;
                            ConversionTabel      : ARRAY[128..255] OF CHAR;
                            MaxSquishMsgLen      : LONGINT;
                            MaxJAMMsgLen         : LONGINT;
                            DefaultCompressor    : BYTE;
                            PackedAddresses      : BOOLEAN;

                            { nieuwe velden 14/08/1994 }
                            RescanFlagFile       : STRING[79];
                            DBridgeQueuePath     : STRING[79];
                            AreafixName          : STRING[10];

                            { nieuwe velden 11/02/95 }
                            KillGatedNetmail     : BOOLEAN;
                            NewsfixName          : STRING[10];

                            { nieuwe velden 15/04/95 }
                            UseSwapfile          : BOOLEAN;
                            SwapfilePath         : STRING[79];
                            SwapfileSize         : BYTE;

                            { nieuwe velden 23/05/95 }
                            ReplyFSC35           : BOOLEAN;
                            HeaderFullname       : BOOLEAN;
                            LogDebug             : BOOLEAN;
                            LogSpoolTossed       : BOOLEAN;
                            LogFidoExtract       : BOOLEAN;
                            LogFidoTossed        : BOOLEAN;
                            LogTranslationFU     : BOOLEAN;
                            LogCheckFilter       : BOOLEAN;
                            LogXFix              : BOOLEAN;
                            LogCopyHeaders       : BOOLEAN;
                            LogIllegalHeaders    : BOOLEAN;
                            LogAreaFix           : BOOLEAN;
                            Log10                : BOOLEAN;
                            Log11                : BOOLEAN;
                            Log12                : BOOLEAN;
                            Log13                : BOOLEAN;
                            Log14                : BOOLEAN;
                            Log15                : BOOLEAN;
                            Log16                : BOOLEAN;
                            Log17                : BOOLEAN;
                            Log18                : BOOLEAN;
                            Log19                : BOOLEAN;
                            Log20                : BOOLEAN;
                            Log21                : BOOLEAN;
                            CopyHeaderNames      : ARRAY[1..15] OF STRING[15];
                            CopyHeaderHow        : ARRAY[1..15] OF BYTE;
                            GatewayUser          : STRING[36];

                            { new fields in 0.20 }
                            BounceUnknown        : BOOLEAN;
                            BounceSmall          : BOOLEAN;
                            AdminAddrType        : BYTE;
                            AdminFidoName        : STRING[36];
                            AdminFidoAddr        : FidoAddrType;
                            AdminUUCPAddr        : STRING[255];
                            AdminSendLog         : BOOLEAN;
                            AdminSend2           : BOOLEAN;
                            AdminSend3           : BOOLEAN;
                            AdminSend4           : BOOLEAN;
                            AdminSend5           : BOOLEAN;
                            AdminSend6           : BOOLEAN;
                            AdminSend7           : BOOLEAN;
                            AdminSend8           : BOOLEAN;
                            AdminSend9           : BOOLEAN;
                            AdminSend10          : BOOLEAN;
                            AdminSend11          : BOOLEAN;
                            AdminSend12          : BOOLEAN;
                            AdminSend13          : BOOLEAN;
                            AdminSend14          : BOOLEAN;
                            AdminSend15          : BOOLEAN;
                            AdminSend16          : BOOLEAN;
                    END;
*)

(* not enough space to keep this one..
{ 0.20 & 0.21.P5 }
TYPE Config12Record = RECORD
                            SystemDir            : STRING[79];
                            Sysop                : STRING[50];
                            DupeChecks           : WORD;
                            DoDupeChk            : BOOLEAN;
                            MaxHandles           : BYTE;
                            OLD0                 : STRING[10];
                            CacheTdbs            : BOOLEAN;
                            TooLargePath         : STRING[79];
                            LogFilePath          : STRING[79];
                            NodeNrs              : ARRAY[1..20] OF FidoAddrType;
                            PointNets            : ARRAY[1..20] OF WORD;
                            Security_F           : ARRAY[1..2] OF BYTE;
                            Inbound_F            : ARRAY[1..2] OF STRING[79];
                            Outbound_F           : STRING[79];
                            ComprPrgs_F          : ARRAY[0..1,0..7] OF STRING[79];
                            MaxFidoMsgLen        : LONGINT;
                            MaxFidoArcLen        : LONGINT;
                            DefGroups_F          : LONGINT;
                            FidoSystem           : BYTE;
                            FidoAcceptTO         : BOOLEAN;
                            FidoNetmailType      : BYTE;
                            FidoNetmailPath      : STRING[79];
                            FidoBadAreaType      : BYTE;
                            FidoBadPath          : STRING[79];
                            FidoDupeAreaType     : BYTE;
                            FidoDupePath         : STRING[79];
                            FidoAutoCreateType   : BYTE;
                            DefaultFidoMsgPath   : STRING[79];
                            StripSeenBy          : BOOLEAN;
                            AutoLink             : BOOLEAN;
                            ReplaceTear          : BOOLEAN;
                            OLD1                 : BYTE;
                            DefNumbToKeep_F      : INTEGER;
                            DefDaystoKeep_F      : INTEGER;
                            FidoArcmailExtension : BYTE;
                            UUCPGateway          : BYTE;
                            NameSeparator        : CHAR;
                            OLD2                 : LONGINT;
                            OLD3                 : STRING[50];
                            Origins              : ARRAY[1..2] OF STRING[61];
                            WorldWide            : BOOLEAN;
                            DefGroups_U          : LONGINT;
                            SpoolBaseDir         : STRING[79];
                            MaxDatLength         : LONGINT;
                            SmartHost            : STRING[10];
                            UUCPName             : STRING[10];
                            BackBone             : STRING[50];
                            Organization         : STRING[60];
                            Domains              : ARRAY[1..6] OF STRING[50];
                            ComprPrg_U           : ARRAY[0..1,0..1] OF STRING[79];
                            PrivmailType         : BYTE;
                            PrivmailPath         : STRING[79];
                            PrivmailOption       : ARRAY[1..10] OF STRING[72];
                            PrivmailSelect       : ARRAY[1..10] OF BYTE;
                            AreafixForward       : ARRAY[1..10] OF AreaFixForwardRecord;
                            UUCPForward          : ARRAY[1..10] OF UUCPForwardRecord;
                            ConversionTabel      : ARRAY[128..255] OF CHAR;
                            MaxSquishMsgLen      : LONGINT;
                            MaxJAMMsgLen         : LONGINT;
                            DefaultCompressor    : BYTE;
                            PackedAddresses      : BOOLEAN;
                            RescanFlagFile       : STRING[79];
                            DBridgeQueuePath     : STRING[79];
                            AreafixName          : STRING[10];
                            KillGatedNetmail     : BOOLEAN;
                            NewsfixName          : STRING[10];

                            UseSwapfile          : BOOLEAN;
                            SwapfilePath         : STRING[79];
                            SwapfileSize         : BYTE;
                            ReplyFSC35           : BOOLEAN;
                            HeaderFullname       : BOOLEAN;
                            LogDebug             : BOOLEAN;
                            LogSpoolTossed       : BOOLEAN;
                            LogFidoExtract       : BOOLEAN;
                            LogFidoTossed        : BOOLEAN;
                            LogTranslationFU     : BOOLEAN;
                            LogCheckFilter       : BOOLEAN;
                            LogXFix              : BOOLEAN;
                            LogCopyHeaders       : BOOLEAN;
                            LogIllegalHeaders    : BOOLEAN;
                            LogAreaFix           : BOOLEAN;
                            Log10                : BOOLEAN;
                            Log11                : BOOLEAN;
                            Log12                : BOOLEAN;
                            Log13                : BOOLEAN;
                            Log14                : BOOLEAN;
                            Log15                : BOOLEAN;
                            Log16                : BOOLEAN;
                            Log17                : BOOLEAN;
                            Log18                : BOOLEAN;
                            Log19                : BOOLEAN;
                            Log20                : BOOLEAN;
                            Log21                : BOOLEAN;
                            CopyHeaderNames      : ARRAY[1..15] OF STRING[15];
                            CopyHeaderHow        : ARRAY[1..15] OF BYTE;
                            GatewayUser          : STRING[36];

                            { new fields in 0.20 }
                            BounceUnknown        : BOOLEAN;
                            BounceSmall          : BOOLEAN;
                            AdminAddrType        : BYTE;
                            AdminFidoName        : STRING[36];
                            AdminFidoAddr        : FidoAddrType;
                            AdminUUCPAddr        : STRING[255];
                            AdminSendLog         : BOOLEAN;
                            AdminSend2           : BOOLEAN;
                            AdminSend3           : BOOLEAN;
                            AdminSend4           : BOOLEAN;
                            AdminSend5           : BOOLEAN;
                            AdminSend6           : BOOLEAN;
                            AdminSend7           : BOOLEAN;
                            AdminSend8           : BOOLEAN;
                            AdminSend9           : BOOLEAN;
                            AdminSend10          : BOOLEAN;
                            AdminSend11          : BOOLEAN;
                            AdminSend12          : BOOLEAN;
                            AdminSend13          : BOOLEAN;
                            AdminSend14          : BOOLEAN;
                            AdminSend15          : BOOLEAN;
                            AdminSend16          : BOOLEAN;
            {++ v12 }       TimeZone             : STRING[25];
                    END;
*)

(* not enough space to keep this one..
TYPE Config13Record = RECORD
{ start at byte    0 }      SystemDir            : STRING[79];
              {   80 }      Sysop                : STRING[50];
              {  131 }      DupeChecks           : WORD;
              {  133 }      DoDupeChk            : BOOLEAN;
              {  134 }      MaxHandles           : BYTE;
              {  135 }      OLD0                 : STRING[10];
              {  146 }      CacheTdbs            : BOOLEAN;
              {  147 }      TooLargePath         : STRING[79];
              {  227 }      LogFilePath          : STRING[79];
              {  307 }      NodeNrs              : ARRAY[1..20] OF FidoAddrType;
              {  987 }      PointNets            : ARRAY[1..20] OF WORD;
              { 1027 }      Security_F           : ARRAY[1..2] OF BYTE;
              { 1029 }      Inbound_F            : ARRAY[1..2] OF STRING[79];
              { 1189 }      Outbound_F           : STRING[79];
              { 1269 }      ComprPrgs_F          : ARRAY[0..1,0..7] OF STRING[79];
              { 2549 }      MaxFidoMsgLen        : LONGINT;
              { 2553 }      MaxFidoArcLen        : LONGINT;
              { 2557 }      DefGroups_F          : LONGINT;
              { 2561 }      FidoSystem           : BYTE;
              { 2562 }      FidoAcceptTO         : BOOLEAN;
              { 2563 }      FidoNetmailType      : BYTE;
              { 2564 }      FidoNetmailPath      : STRING[79];
              { 2644 }      FidoBadAreaType      : BYTE;
              { 2645 }      FidoBadPath          : STRING[79];
              { 2725 }      FidoDupeAreaType     : BYTE;
              { 2726 }      FidoDupePath         : STRING[79];
              { 2806 }      FidoAutoCreateType   : BYTE;
              { 2807 }      DefaultFidoMsgPath   : STRING[79];
              { 2887 }      StripSeenBy          : BOOLEAN;
              { 2888 }      AutoLink             : BOOLEAN;
              { 2889 }      ReplaceTear          : BOOLEAN;
              { 2890 }      OLD1                 : BYTE;
              { 2891 }      DefNumbToKeep_F      : INTEGER;
              { 2893 }      DefDaystoKeep_F      : INTEGER;
              { 2895 }      FidoArcmailExtension : BYTE;
              { 2896 }      GatewayAKA           : BYTE;
              { 2897 }      NameSeparator        : CHAR;
              { 2898 }      OLD2                 : LONGINT;
              { 2902 }      OLD3                 : STRING[50];
              { 2953 }      Origins              : ARRAY[1..2] OF STRING[61];
              { 3077 }      WorldWide            : BOOLEAN;
              { 3078 }      DefGroups_U          : LONGINT;
              { 3082 }      SpoolBaseDir         : STRING[79];
              { 3162 }      MaxDatLength         : LONGINT;
              { 3166 }      SmartHost            : STRING[10];
              { 3177 }      UUCPName             : STRING[10];
              { 3188 }      BackBone             : STRING[50];
              { 3239 }      Organization         : STRING[60];
              { 3300 }      Domains              : ARRAY[1..6] OF STRING[50];
              { 3606 }      ComprPrg_U           : ARRAY[0..1,0..1] OF STRING[79];
              { 3926 }      PrivmailType         : BYTE;
              { 3927 }      PrivmailPath         : STRING[79];
              { 4007 }      PrivmailOption       : ARRAY[1..10] OF STRING[72];
              { 4737 }      PrivmailSelect       : ARRAY[1..10] OF BYTE;
              { 4747 }      AreafixForward       : ARRAY[1..10] OF AreaFixForwardRecord;
              { 5857 }      UUCPForward          : ARRAY[1..10] OF UUCPForwardRecord;
              { 6477 }      ConversionTabel      : ARRAY[128..255] OF CHAR;
              { 6605 }      MaxSquishMsgLen      : LONGINT;
              { 6609 }      MaxJAMMsgLen         : LONGINT;
              { 6613 }      DefaultCompressor    : BYTE;
              { 6614 }      PackedAddresses      : BOOLEAN;
              { 6615 }      RescanFlagFile       : STRING[79];
              { 6695 }      DBridgeQueuePath     : STRING[79];
              { 6775 }      AreafixName          : STRING[10];
              { 6786 }      KillGatedNetmail     : BOOLEAN;
              { 6787 }      NewsfixName          : STRING[10];
              { 6798 }      UseSwapfile          : BOOLEAN;
              { 6799 }      SwapfilePath         : STRING[79];
              { 6879 }      SwapfileSize         : BYTE;
              { 6880 }      ReplyFSC35           : BOOLEAN;
              { 6881 }      HeaderFullname       : BOOLEAN;
              { 6882 }      LogDebug             : BOOLEAN;
              { 6883 }      LogSpoolTossed       : BOOLEAN;
              { 6884 }      LogFidoExtract       : BOOLEAN;
              { 6885 }      LogFidoTossed        : BOOLEAN;
              { 6886 }      LogTranslationFU     : BOOLEAN;
              { 6887 }      LogCheckFilter       : BOOLEAN;
              { 6888 }      LogXFix              : BOOLEAN;
              { 6889 }      LogCopyHeaders       : BOOLEAN;
              { 6890 }      LogIllegalHeaders    : BOOLEAN;
              { 6891 }      LogAreaFix           : BOOLEAN;
              { 6892 }      LogMapApply          : BOOLEAN;
              { 6893 }      LogNetmailImport     : BOOLEAN;
              { 6894 }      LogRODeny            : BOOLEAN;
              { 6895 }      LogPktEachEcho       : BOOLEAN;
              { 6896 }      LogUUCPOutbound      : BOOLEAN;
              { 6897 }      Log15                : BOOLEAN;
              { 6898 }      Log16                : BOOLEAN;
              { 6899 }      Log17                : BOOLEAN;
              { 6900 }      Log18                : BOOLEAN;
              { 6901 }      Log19                : BOOLEAN;
              { 6902 }      Log20                : BOOLEAN;
              { 6903 }      Log21                : BOOLEAN;
              { 6904 }      CopyHeaderNames      : ARRAY[1..15] OF STRING[15];
              { 7144 }      CopyHeaderHow        : ARRAY[1..15] OF BYTE;
              { 7159 }      GatewayUser          : STRING[36];
              { 7196 }      BounceUnknown        : BOOLEAN;
              { 7197 }      BounceSmall          : BOOLEAN;
              { 7198 }      AdminAddrType        : BYTE;
              { 7199 }      AdminFidoName        : STRING[36];
              { 7236 }      AdminFidoAddr        : FidoAddrType;
              { 7270 }      AdminUUCPAddr        : STRING[255];
              { 7526 }      AdminSendLog         : BOOLEAN;
              { 7527 }      AdminSend2           : BOOLEAN;
              { 7528 }      AdminSend3           : BOOLEAN;
              { 7529 }      AdminSend4           : BOOLEAN;
              { 7530 }      AdminSend5           : BOOLEAN;
              { 7531 }      AdminSend6           : BOOLEAN;
              { 7532 }      AdminSend7           : BOOLEAN;
              { 7533 }      AdminSend8           : BOOLEAN;
              { 7534 }      AdminSend9           : BOOLEAN;
              { 7535 }      AdminSend10          : BOOLEAN;
              { 7536 }      AdminSend11          : BOOLEAN;
              { 7537 }      AdminSend12          : BOOLEAN;
              { 7538 }      AdminSend13          : BOOLEAN;
              { 7539 }      AdminSend14          : BOOLEAN;
              { 7540 }      AdminSend15          : BOOLEAN;
              { 7541 }      AdminSend16          : BOOLEAN;
              { 7542 }      TimeZone             : STRING[25];
     {++ v13} { 7568 }      CopyHeaders_FU       : BOOLEAN;
     {++ v13} { 7569 }      MailGrade            : CHAR;
     {++ v13} { 7570 }      NewsGrade            : CHAR;
     {++ v13} { 7571 }      TimeSlicing          : BOOLEAN;
{ next would be 7572 }END;
*)

{ 0.91 }
TYPE Config14Record = RECORD
{ start at byte    0 }      SystemDir            : STRING[79];
              {   80 }      Sysop                : STRING[50];
              {  131 }      DupeChecks           : WORD;
              {  133 }      DoDupeChk            : BOOLEAN;
              {  134 }      MaxHandles           : BYTE;
              {  135 }      OLD0                 : STRING[10];
              {  146 }      CacheTdbs            : BOOLEAN;
              {  147 }      TooLargePath         : STRING[79];
              {  227 }      LogFilePath          : STRING[79];
              {  307 }      NodeNrs              : ARRAY[1..20] OF FidoAddrType;
              {  987 }      PointNets            : ARRAY[1..20] OF WORD;
              { 1027 }      Security_F           : ARRAY[1..2] OF BYTE;
              { 1029 }      Inbound_F            : ARRAY[1..2] OF STRING[79];
              { 1189 }      Outbound_F           : STRING[79];
              { 1269 }      ComprPrgs_F          : ARRAY[0..1,0..7] OF STRING[79];
              { 2549 }      MaxFidoMsgLen        : LONGINT;
              { 2553 }      MaxFidoArcLen        : LONGINT;
              { 2557 }      DefGroups_F          : LONGINT;
              { 2561 }      FidoSystem           : BYTE;
              { 2562 }      FidoAcceptTO         : BOOLEAN;
              { 2563 }      FidoNetmailType      : BYTE;
              { 2564 }      FidoNetmailPath      : STRING[79];
              { 2644 }      FidoBadAreaType      : BYTE;
              { 2645 }      FidoBadPath          : STRING[79];
              { 2725 }      FidoDupeAreaType     : BYTE;
              { 2726 }      FidoDupePath         : STRING[79];
              { 2806 }      FidoAutoCreateType   : BYTE;
              { 2807 }      DefaultFidoMsgPath   : STRING[79];
              { 2887 }      StripSeenBy          : BOOLEAN;
              { 2888 }      AutoLink             : BOOLEAN;
              { 2889 }      ReplaceTear          : BOOLEAN;
              { 2890 }      OLD1                 : BYTE;
              { 2891 }      DefNumbToKeep_F      : INTEGER;
              { 2893 }      DefDaystoKeep_F      : INTEGER;
              { 2895 }      FidoArcmailExtension : BYTE;
              { 2896 }      GatewayAKA           : BYTE;
              { 2897 }      NameSeparator        : CHAR;
              { 2898 }      OLD2                 : LONGINT;
              { 2902 }      OLD3                 : STRING[50];
              { 2953 }      Origins              : ARRAY[1..2] OF STRING[61];
              { 3077 }      WorldWide            : BOOLEAN;
              { 3078 }      DefGroups_U          : LONGINT;
              { 3082 }      SpoolBaseDir         : STRING[79];
              { 3162 }      MaxDatLength         : LONGINT;
              { 3166 }      SmartHost            : STRING[10];
              { 3177 }      UUCPName             : STRING[10];
              { 3188 }      BackBone             : STRING[50];
              { 3239 }      Organization         : STRING[60];
              { 3300 }      Domains              : ARRAY[1..6] OF STRING[50];
              { 3606 }      ComprPrg_U           : ARRAY[0..1,0..1] OF STRING[79];
              { 3926 }      PrivmailType         : BYTE;
              { 3927 }      PrivmailPath         : STRING[79];
              { 4007 }      PrivmailOption       : ARRAY[1..10] OF STRING[72];
              { 4737 }      PrivmailSelect       : ARRAY[1..10] OF BYTE;
              { 4747 }      AreafixForward       : ARRAY[1..10] OF AreaFixForwardRecord;
              { 5857 }      UUCPForward          : ARRAY[1..10] OF UUCPForwardRecord;
              { 6477 }      ConversionTabel      : ARRAY[128..255] OF CHAR;
              { 6605 }      MaxSquishMsgLen      : LONGINT;
              { 6609 }      MaxJAMMsgLen         : LONGINT;
              { 6613 }      DefaultCompressor    : BYTE;
              { 6614 }      PackedAddresses      : BOOLEAN;
              { 6615 }      RescanFlagFile       : STRING[79];
              { 6695 }      DBridgeQueuePath     : STRING[79];
              { 6775 }      AreafixName          : STRING[10];
              { 6786 }      KillGatedNetmail     : BOOLEAN;
              { 6787 }      NewsfixName          : STRING[10];
              { 6798 }      UseSwapfile          : BOOLEAN;
              { 6799 }      SwapfilePath         : STRING[79];
              { 6879 }      SwapfileSize         : BYTE;
              { 6880 }      ReplyFSC35           : BOOLEAN;
              { 6881 }      HeaderFullname       : BOOLEAN;
              { 6882 }      LogDebug             : BOOLEAN;
              { 6883 }      LogSpoolTossed       : BOOLEAN;
              { 6884 }      LogFidoExtract       : BOOLEAN;
              { 6885 }      LogFidoTossed        : BOOLEAN;
              { 6886 }      LogTranslationFU     : BOOLEAN;
              { 6887 }      LogCheckFilter       : BOOLEAN;
              { 6888 }      LogXFix              : BOOLEAN;
              { 6889 }      LogCopyHeaders       : BOOLEAN;
              { 6890 }      LogIllegalHeaders    : BOOLEAN;
              { 6891 }      LogAreaFix           : BOOLEAN;
              { 6892 }      LogMapApply          : BOOLEAN;
              { 6893 }      LogNetmailImport     : BOOLEAN;
              { 6894 }      LogRODeny            : BOOLEAN;
              { 6895 }      LogPktEachEcho       : BOOLEAN;
              { 6896 }      LogUUCPOutbound      : BOOLEAN;
              { 6897 }      Log15                : BOOLEAN;
              { 6898 }      Log16                : BOOLEAN;
              { 6899 }      Log17                : BOOLEAN;
              { 6900 }      Log18                : BOOLEAN;
              { 6901 }      Log19                : BOOLEAN;
              { 6902 }      Log20                : BOOLEAN;
              { 6903 }      Log21                : BOOLEAN;
              { 6904 }      CopyHeaderNames      : ARRAY[1..15] OF STRING[15];
              { 7144 }      CopyHeaderHow        : ARRAY[1..15] OF BYTE;
              { 7159 }      GatewayUser          : STRING[36];
              { 7196 }      BounceUnknown        : BOOLEAN;
              { 7197 }      BounceSmall          : BOOLEAN;
              { 7198 }      AdminAddrType        : BYTE;
              { 7199 }      AdminFidoName        : STRING[36];
              { 7236 }      AdminFidoAddr        : FidoAddrType;
              { 7270 }      AdminUUCPAddr        : STRING[255];
              { 7526 }      AdminSendLog         : BOOLEAN;
              { 7527 }      AdminSend2           : BOOLEAN;
              { 7528 }      AdminSend3           : BOOLEAN;
              { 7529 }      AdminSend4           : BOOLEAN;
              { 7530 }      AdminSend5           : BOOLEAN;
              { 7531 }      AdminSend6           : BOOLEAN;
              { 7532 }      AdminSend7           : BOOLEAN;
              { 7533 }      AdminSend8           : BOOLEAN;
              { 7534 }      AdminSend9           : BOOLEAN;
              { 7535 }      AdminSend10          : BOOLEAN;
              { 7536 }      AdminSend11          : BOOLEAN;
              { 7537 }      AdminSend12          : BOOLEAN;
              { 7538 }      AdminSend13          : BOOLEAN;
              { 7539 }      AdminSend14          : BOOLEAN;
              { 7540 }      AdminSend15          : BOOLEAN;
              { 7541 }      AdminSend16          : BOOLEAN;
              { 7542 }      TimeZone             : STRING[25];
              { 7568 }      CopyHeaders_FU       : BOOLEAN;
              { 7569 }      MailGrade            : CHAR;
              { 7570 }      NewsGrade            : CHAR;
              { 7571 }      TimeSlicing          : BOOLEAN;
    {++ 0.91 }{ 7572 }      NetmailDecode        : BOOLEAN;
    {++ 0.91 }{ 7573 }      NetmailDecodePath    : STRING[79];
    {++ 0.91 }{ 7653 }      PrivateDecode        : BOOLEAN;
    {++ 0.91 }{ 7654 }      PrivateDecodePath    : STRING[79];
{ next would be 7734 }END;


{ 0.92.PRE1 }
TYPE Config15Record = RECORD
                            {+0(L135)}
{ start at byte    0 }      SystemDir            : STRING[79];
              {   80 }      Sysop                : STRING[50];
              {  131 }      DupeChecks           : WORD;
              {  133 }      DoDupeChk            : BOOLEAN;
              {  134 }      MaxHandles           : BYTE;
   { -- 0.92                OLD0                 : STRING[10]; }
                            {-11(L841)}
              {  135 }      CacheTdbs            : BOOLEAN;
              {  136 }      TooLargePath         : STRING[79];
              {  216 }      LogFilePath          : STRING[79];
   { ++ 0.92 }{  296 }      NodeNrs              : ARRAY[1..100] OF FidoAddrType;
                            {+2709(L40)}
   { ++ 0.92 }{ 3696 }      PointNets            : ARRAY[1..100] OF WORD;
                            {+2869(L1522)}
              { 3896 }      Security_F           : ARRAY[1..2] OF BYTE;
              { 3898 }      Inbound_F            : ARRAY[1..2] OF STRING[79];
              { 4058 }      Outbound_F           : STRING[79];
   { ++ 0.92 }{ 4138 }      ComprPrgs_F          : ARRAY[0..1,0..8] OF STRING[79];
                            {+3029(L341)}
              { 5578 }      MaxFidoMsgLen        : LONGINT;
              { 5582 }      MaxFidoArcLen        : LONGINT;
              { 5586 }      DefGroups_F          : LONGINT;
              { 5590 }      FidoSystem           : BYTE;
              { 5591 }      FidoAcceptTO         : BOOLEAN;
              { 5592 }      FidoNetmailType      : BYTE;
              { 5593 }      FidoNetmailPath      : STRING[79];
              { 5673 }      FidoBadAreaType      : BYTE;
              { 5674 }      FidoBadPath          : STRING[79];
              { 5754 }      FidoDupeAreaType     : BYTE;
              { 5755 }      FidoDupePath         : STRING[79];
              { 5835 }      FidoAutoCreateType   : BYTE;
              { 5836 }      DefaultFidoMsgPath   : STRING[79];
              { 5916 }      StripSeenBy          : BOOLEAN;
              { 5917 }      AutoLink             : BOOLEAN;
              { 5918 }      ReplaceTear          : BOOLEAN;
    { -- 0.92               OLD1                 : BYTE; }
                            {+3028(L7)}
              { 5919 }      DefNumbToKeep_F      : INTEGER;
              { 5921 }      DefDaystoKeep_F      : INTEGER;
              { 5923 }      FidoArcmailExtension : BYTE;
              { 5924 }      GatewayAKA           : BYTE;
              { 5925 }      NameSeparator        : CHAR;
    { -- 0.92               OLD2                 : LONGINT; }
    { -- 0.92               OLD3                 : STRING[50]; }
                            {+2973(L2904)}
              { 5926 }      Origins              : ARRAY[1..2] OF STRING[61];
              { 6050 }      WorldWide            : BOOLEAN;
              { 6051 }      DefGroups_U          : LONGINT;
              { 6055 }      SpoolBaseDir         : STRING[79];
              { 6135 }      MaxDatLength         : LONGINT;
              { 6139 }      SmartHost            : STRING[10];
              { 6150 }      UUCPName             : STRING[10];
              { 6161 }      BackBone             : STRING[50];
              { 6212 }      Organization         : STRING[60];
              { 6273 }      Domains              : ARRAY[1..6] OF STRING[50];
              { 6579 }      ComprPrg_U           : ARRAY[0..1,0..1] OF STRING[79];
              { 6899 }      PrivmailType         : BYTE;
              { 6900 }      PrivmailPath         : STRING[79];
              { 6980 }      PrivmailOption       : ARRAY[1..10] OF STRING[72];
              { 7710 }      PrivmailSelect       : ARRAY[1..10] OF BYTE;
   { ++ 0.92 }{ 7720 }      AreafixForward       : ARRAY[1..50] OF AreafixForwardRecord;
                            {+7413(L620)}
  { ++ 0.92 }{ 13270 }      UUCPForward          : ARRAY[1..50] OF UUCPForwardRecord;
                            {+9893(L1257)}
             { 16370 }      ConversionTabel      : ARRAY[128..255] OF CHAR;
             { 16498 }      MaxSquishMsgLen      : LONGINT;
             { 16502 }      MaxJAMMsgLen         : LONGINT;
             { 16506 }      DefaultCompressor    : BYTE;
             { 16507 }      PackedAddresses      : BOOLEAN;
             { 16508 }      RescanFlagFile       : STRING[79];
             { 16588 }      DBridgeQueuePath     : STRING[79];
             { 16668 }      AreafixName          : STRING[10];
             { 16679 }      KillGatedNetmail     : BOOLEAN;
             { 16680 }      NewsfixName          : STRING[10];
             { 16691 }      UseSwapfile          : BOOLEAN;
             { 16692 }      SwapfilePath         : STRING[79];
             { 16772 }      SwapfileSize         : BYTE;
             { 16773 }      ReplyFSC35           : BOOLEAN;
             { 16774 }      HeaderFullname       : BOOLEAN;
             { 16775 }      LogDebug             : BOOLEAN;
             { 16776 }      LogSpoolTossed       : BOOLEAN;
             { 16777 }      LogFidoExtract       : BOOLEAN;
             { 16778 }      LogFidoTossed        : BOOLEAN;
             { 16779 }      LogTranslationFU     : BOOLEAN;
             { 16780 }      LogCheckFilter       : BOOLEAN;
             { 16781 }      LogXFix              : BOOLEAN;
             { 16782 }      LogCopyHeaders       : BOOLEAN;
             { 16783 }      LogIllegalHeaders    : BOOLEAN;
             { 16784 }      LogAreaFix           : BOOLEAN;
             { 16785 }      LogMapApply          : BOOLEAN;
             { 16786 }      LogNetmailImport     : BOOLEAN;
             { 16787 }      LogRODeny            : BOOLEAN;
             { 16788 }      LogPktEachEcho       : BOOLEAN;
             { 16789 }      LogUUCPOutbound      : BOOLEAN;
             { 16790 }      Log15                : BOOLEAN;
             { 16791 }      Log16                : BOOLEAN;
             { 16792 }      Log17                : BOOLEAN;
             { 16793 }      Log18                : BOOLEAN;
             { 16794 }      Log19                : BOOLEAN;
             { 16795 }      Log20                : BOOLEAN;
             { 16796 }      Log21                : BOOLEAN;
             { 16797 }      CopyHeaderNames      : ARRAY[1..15] OF STRING[15];
             { 17037 }      CopyHeaderHow        : ARRAY[1..15] OF BYTE;
             { 17052 }      GatewayUser          : STRING[36];
             { 17089 }      BounceUnknown        : BOOLEAN;
             { 17090 }      BounceSmall          : BOOLEAN;
             { 17091 }      AdminAddrType        : BYTE;
             { 17092 }      AdminFidoName        : STRING[36];
             { 17129 }      AdminFidoAddr        : FidoAddrType;
             { 17163 }      AdminUUCPAddr        : STRING[255];
             { 17419 }      AdminSendLog         : BOOLEAN;
             { 17420 }      AdminSend2           : BOOLEAN;
             { 17421 }      AdminSend3           : BOOLEAN;
             { 17422 }      AdminSend4           : BOOLEAN;
             { 17423 }      AdminSend5           : BOOLEAN;
             { 17424 }      AdminSend6           : BOOLEAN;
             { 17425 }      AdminSend7           : BOOLEAN;
             { 17426 }      AdminSend8           : BOOLEAN;
             { 17427 }      AdminSend9           : BOOLEAN;
             { 17428 }      AdminSend10          : BOOLEAN;
             { 17429 }      AdminSend11          : BOOLEAN;
             { 17430 }      AdminSend12          : BOOLEAN;
             { 17431 }      AdminSend13          : BOOLEAN;
             { 17432 }      AdminSend14          : BOOLEAN;
             { 17433 }      AdminSend15          : BOOLEAN;
             { 17434 }      AdminSend16          : BOOLEAN;
             { 17435 }      TimeZone             : STRING[25];
             { 17461 }      CopyHeaders_FU       : BOOLEAN;
             { 17462 }      MailGrade            : CHAR;
             { 17463 }      NewsGrade            : CHAR;
             { 17464 }      TimeSlicing          : BOOLEAN;
             { 17465 }      NetmailDecode        : BOOLEAN;
             { 17466 }      NetmailDecodePath    : STRING[79];
             { 17546 }      PrivateDecode        : BOOLEAN;
             { 17547 }      PrivateDecodePath    : STRING[79];

                            { nieuwe velden 0.92 }
             { 17627 }      MaxRMailLineLen      : WORD;
             { 17629 }      MinimumDiskFree      : BYTE;
             { 17630 }      DiskFreeDrives       : STRING[26];
             { 17657 }      WrapLineLen          : BYTE;
             { 17658 }      RMailCorrect         : BYTE;
{ next byte at 17659 }END;

(* not enough space to keep this one..
{ 0.92.PRE2 }
TYPE Config16Record = RECORD
{ start at byte    0 }      SystemDir            : STRING[79];
              {   80 }      Sysop                : STRING[50];
              {  131 }      DupeChecks           : WORD;
              {  133 }      DoDupeChk            : BOOLEAN;
              {  134 }      MaxHandles           : BYTE;
              {  135 }      CacheTdbs            : BOOLEAN;
              {  136 }      TooLargePath         : STRING[79];
              {  216 }      LogFilePath          : STRING[79];
              {  296 }      NodeNrs              : ARRAY[1..100] OF FidoAddrType;
              { 3696 }      PointNets            : ARRAY[1..100] OF WORD;
              { 3896 }      Security_F           : ARRAY[1..2] OF BYTE;
              { 3898 }      Inbound_F            : ARRAY[1..2] OF STRING[79];
              { 4058 }      Outbound_F           : STRING[79];
              { 4138 }      ComprPrgs_F          : ARRAY[0..1,0..8] OF STRING[79];
              { 5578 }      MaxFidoMsgLen        : LONGINT;
              { 5582 }      MaxFidoArcLen        : LONGINT;
              { 5586 }      DefGroups_F          : LONGINT;
              { 5590 }      FidoSystem           : BYTE;
              { 5591 }      FidoAcceptTO         : BOOLEAN;
              { 5592 }      FidoNetmailType      : BYTE;
              { 5593 }      FidoNetmailPath      : STRING[79];
              { 5673 }      FidoBadAreaType      : BYTE;
              { 5674 }      FidoBadPath          : STRING[79];
              { 5754 }      FidoDupeAreaType     : BYTE;
              { 5755 }      FidoDupePath         : STRING[79];
              { 5835 }      FidoAutoCreateType   : BYTE;
              { 5836 }      DefaultFidoMsgPath   : STRING[79];
              { 5916 }      StripSeenBy          : BOOLEAN;
              { 5917 }      AutoLink             : BOOLEAN;
              { 5918 }      ReplaceTear          : BOOLEAN;
              { 5919 }      DefNumbToKeep_F      : INTEGER;
              { 5921 }      DefDaystoKeep_F      : INTEGER;
              { 5923 }      FidoArcmailExtension : BYTE;
              { 5924 }      GatewayAKA           : BYTE;
              { 5925 }      NameSeparator        : CHAR;
              { 5926 }      Origins              : ARRAY[1..2] OF STRING[61];
              { 6050 }      WorldWide            : BOOLEAN;
              { 6051 }      DefGroups_U          : LONGINT;
              { 6055 }      SpoolBaseDir         : STRING[79];
              { 6135 }      MaxDatLength         : LONGINT;
              { 6139 }      SmartHost            : STRING[10];
              { 6150 }      UUCPName             : STRING[10];
              { 6161 }      BackBone             : STRING[50];
              { 6212 }      Organization         : STRING[60];
              { 6273 }      Domains              : ARRAY[1..6] OF STRING[50];
              { 6579 }      ComprPrg_U           : ARRAY[0..1,0..1] OF STRING[79];
              { 6899 }      PrivmailType         : BYTE;
              { 6900 }      PrivmailPath         : STRING[79];
              { 6980 }      PrivmailOption       : ARRAY[1..10] OF STRING[72];
              { 7710 }      PrivmailSelect       : ARRAY[1..10] OF BYTE;
              { 7720 }      AreafixForward       : ARRAY[1..50] OF AreafixForwardRecord;
             { 13270 }      UUCPForward          : ARRAY[1..50] OF UUCPForwardRecord;
             { 16370 }      ConversionTabel      : ARRAY[128..255] OF CHAR;
             { 16498 }      MaxSquishMsgLen      : LONGINT;
             { 16502 }      MaxJAMMsgLen         : LONGINT;
             { 16506 }      DefaultCompressor    : BYTE;
             { 16507 }      PackedAddresses      : BOOLEAN;
             { 16508 }      RescanFlagFile       : STRING[79];
             { 16588 }      DBridgeQueuePath     : STRING[79];
             { 16668 }      AreafixName          : STRING[10];
             { 16679 }      KillGatedNetmail     : BOOLEAN;
             { 16680 }      NewsfixName          : STRING[10];
             { 16691 }      UseSwapfile          : BOOLEAN;
             { 16692 }      SwapfilePath         : STRING[79];
             { 16772 }      SwapfileSize         : BYTE;
             { 16773 }      ReplyFSC35           : BOOLEAN;
             { 16774 }      HeaderFullname       : BOOLEAN;
             { 16775 }      LogDebug             : BOOLEAN;
             { 16776 }      LogSpoolTossed       : BOOLEAN;
             { 16777 }      LogFidoExtract       : BOOLEAN;
             { 16778 }      LogFidoTossed        : BOOLEAN;
             { 16779 }      LogTranslationFU     : BOOLEAN;
             { 16780 }      LogCheckFilter       : BOOLEAN;
             { 16781 }      LogXFix              : BOOLEAN;
             { 16782 }      LogCopyHeaders       : BOOLEAN;
             { 16783 }      LogIllegalHeaders    : BOOLEAN;
             { 16784 }      LogAreaFix           : BOOLEAN;
             { 16785 }      LogMapApply          : BOOLEAN;
             { 16786 }      LogNetmailImport     : BOOLEAN;
             { 16787 }      LogRODeny            : BOOLEAN;
             { 16788 }      LogPktEachEcho       : BOOLEAN;
             { 16789 }      LogUUCPOutbound      : BOOLEAN;
             { 16790 }      Log15                : BOOLEAN;
             { 16791 }      Log16                : BOOLEAN;
             { 16792 }      Log17                : BOOLEAN;
             { 16793 }      Log18                : BOOLEAN;
             { 16794 }      Log19                : BOOLEAN;
             { 16795 }      Log20                : BOOLEAN;
             { 16796 }      Log21                : BOOLEAN;
             { 16797 }      CopyHeaderNames      : ARRAY[1..15] OF STRING[15];
             { 17037 }      CopyHeaderHow        : ARRAY[1..15] OF BYTE;
             { 17052 }      GatewayUser          : STRING[36];
             { 17089 }      BounceUnknown        : BOOLEAN;
             { 17090 }      BounceSmall          : BOOLEAN;
             { 17091 }      AdminAddrType        : BYTE;
             { 17092 }      AdminFidoName        : STRING[36];
             { 17129 }      AdminFidoAddr        : FidoAddrType;
             { 17163 }      AdminUUCPAddr        : STRING[255];
             { 17419 }      AdminSendLog         : BOOLEAN;
             { 17420 }      AdminSend2           : BOOLEAN;
             { 17421 }      AdminSend3           : BOOLEAN;
             { 17422 }      AdminSend4           : BOOLEAN;
             { 17423 }      AdminSend5           : BOOLEAN;
             { 17424 }      AdminSend6           : BOOLEAN;
             { 17425 }      AdminSend7           : BOOLEAN;
             { 17426 }      AdminSend8           : BOOLEAN;
             { 17427 }      AdminSend9           : BOOLEAN;
             { 17428 }      AdminSend10          : BOOLEAN;
             { 17429 }      AdminSend11          : BOOLEAN;
             { 17430 }      AdminSend12          : BOOLEAN;
             { 17431 }      AdminSend13          : BOOLEAN;
             { 17432 }      AdminSend14          : BOOLEAN;
             { 17433 }      AdminSend15          : BOOLEAN;
             { 17434 }      AdminSend16          : BOOLEAN;
             { 17435 }      TimeZone             : STRING[25];
             { 17461 }      CopyHeaders_FU       : BOOLEAN;
             { 17462 }      MailGrade            : CHAR;
             { 17463 }      NewsGrade            : CHAR;
             { 17464 }      TimeSlicing          : BOOLEAN;
             { 17465 }      NetmailDecode        : BOOLEAN;
             { 17466 }      NetmailDecodePath    : STRING[79];
             { 17546 }      PrivateDecode        : BOOLEAN;
             { 17547 }      PrivateDecodePath    : STRING[79];
             { 17627 }      MaxRMailLineLen      : WORD;
             { 17629 }      MinimumDiskFree      : BYTE;
             { 17630 }      DiskFreeDrives       : STRING[26];
             { 17657 }      WrapLineLen          : BYTE;
             { 17658 }      RMailCorrect         : BYTE;
                            { nieuwe velden 0.92.PRE2 }
             { 17659 }      GateMsgId            : BYTE;
             { 17660 }      ForceNoBitmask       : BOOLEAN;
{ next byte at 17661 }END;
*)

(* not enough space to keep this one..
{ 0.92.PRE6 }
TYPE Config17Record = RECORD
{ start at byte    0 }      SystemDir            : STRING[79];
              {   80 }      Sysop                : STRING[50];
              {  131 }      DupeChecks           : WORD;
              {  133 }      DoDupeChk            : BOOLEAN;
              {  134 }      MaxHandles           : BYTE;
              {  135 }      CacheTdbs            : BOOLEAN;
              {  136 }      TooLargePath         : STRING[79];
              {  216 }      LogFilePath          : STRING[79];
              {  296 }      NodeNrs              : ARRAY[1..100] OF FidoAddrType;
              { 3696 }      PointNets            : ARRAY[1..100] OF WORD;
              { 3896 }      Security_F           : ARRAY[1..2] OF BYTE;
              { 3898 }      Inbound_F            : ARRAY[1..2] OF STRING[79];
              { 4058 }      Outbound_F           : STRING[79];
              { 4138 }      ComprPrgs_F          : ARRAY[0..1,0..8] OF STRING[79];
              { 5578 }      MaxFidoMsgLen        : LONGINT;
              { 5582 }      MaxFidoArcLen        : LONGINT;
              { 5586 }      DefGroups_F          : LONGINT;
              { 5590 }      FidoSystem           : BYTE;
              { 5591 }      FidoAcceptTO         : BOOLEAN;
              { 5592 }      FidoNetmailType      : BYTE;
              { 5593 }      FidoNetmailPath      : STRING[79];
              { 5673 }      FidoBadAreaType      : BYTE;
              { 5674 }      FidoBadPath          : STRING[79];
              { 5754 }      FidoDupeAreaType     : BYTE;
              { 5755 }      FidoDupePath         : STRING[79];
              { 5835 }      FidoAutoCreateType   : BYTE;
              { 5836 }      DefaultFidoMsgPath   : STRING[79];
              { 5916 }      StripSeenBy          : BOOLEAN;
              { 5917 }      AutoLink             : BOOLEAN;
              { 5918 }      ReplaceTear          : BOOLEAN;
              { 5919 }      DefNumbToKeep_F      : INTEGER;
              { 5921 }      DefDaystoKeep_F      : INTEGER;
              { 5923 }      FidoArcmailExtension : BYTE;
              { 5924 }      GatewayAKA           : BYTE;
              { 5925 }      NameSeparator        : CHAR;
              { 5926 }      Origins              : ARRAY[1..2] OF STRING[61];
              { 6050 }      WorldWide            : BOOLEAN;
              { 6051 }      DefGroups_U          : LONGINT;
              { 6055 }      SpoolBaseDir         : STRING[79];
              { 6135 }      MaxDatLength         : LONGINT;
              { 6139 }      SmartHost            : STRING[10];
              { 6150 }      UUCPName             : STRING[10];
              { 6161 }      BackBone             : STRING[50];
              { 6212 }      Organization         : STRING[60];
              { 6273 }      Domains              : ARRAY[1..6] OF STRING[50];
              { 6579 }      ComprPrg_U           : ARRAY[0..1,0..1] OF STRING[79];
              { 6899 }      PrivmailType         : BYTE;
              { 6900 }      PrivmailPath         : STRING[79];
              { 6980 }      PrivmailOption       : ARRAY[1..10] OF STRING[72];
              { 7710 }      PrivmailSelect       : ARRAY[1..10] OF BYTE;
              { 7720 }      AreafixForward       : ARRAY[1..50] OF AreafixForwardRecord;
             { 13270 }      UUCPForward          : ARRAY[1..50] OF UUCPForwardRecord;
             { 16370 }      ConversionTabel      : ARRAY[128..255] OF CHAR;
             { 16498 }      MaxSquishMsgLen      : LONGINT;
             { 16502 }      MaxJAMMsgLen         : LONGINT;
             { 16506 }      DefaultCompressor    : BYTE;
             { 16507 }      PackedAddresses      : BOOLEAN;
             { 16508 }      RescanFlagFile       : STRING[79];
             { 16588 }      DBridgeQueuePath     : STRING[79];
             { 16668 }      AreafixName          : STRING[10];
             { 16679 }      KillGatedNetmail     : BOOLEAN;
             { 16680 }      NewsfixName          : STRING[10];
             { 16691 }      UseSwapfile          : BOOLEAN;
             { 16692 }      SwapfilePath         : STRING[79];
             { 16772 }      SwapfileSize         : BYTE;
             { 16773 }      ReplyFSC35           : BOOLEAN;
             { 16774 }      HeaderFullname       : BOOLEAN;
             { 16775 }      LogDebug             : BOOLEAN;
             { 16776 }      LogSpoolTossed       : BOOLEAN;
             { 16777 }      LogFidoExtract       : BOOLEAN;
             { 16778 }      LogFidoTossed        : BOOLEAN;
             { 16779 }      LogTranslationFU     : BOOLEAN;
             { 16780 }      LogCheckFilter       : BOOLEAN;
             { 16781 }      LogXFix              : BOOLEAN;
             { 16782 }      LogCopyHeaders       : BOOLEAN;
             { 16783 }      LogIllegalHeaders    : BOOLEAN;
             { 16784 }      LogAreaFix           : BOOLEAN;
             { 16785 }      LogMapApply          : BOOLEAN;
             { 16786 }      LogNetmailImport     : BOOLEAN;
             { 16787 }      LogRODeny            : BOOLEAN;
             { 16788 }      LogPktEachEcho       : BOOLEAN;
             { 16789 }      LogUUCPOutbound      : BOOLEAN;
             { 16790 }      Log15                : BOOLEAN;
             { 16791 }      Log16                : BOOLEAN;
             { 16792 }      Log17                : BOOLEAN;
             { 16793 }      Log18                : BOOLEAN;
             { 16794 }      Log19                : BOOLEAN;
             { 16795 }      Log20                : BOOLEAN;
             { 16796 }      Log21                : BOOLEAN;
             { 16797 }      CopyHeaderNames      : ARRAY[1..30] OF STRING[15];
                            { added [16..30]: 17037..17276, 240 (15*16) bytes }
                            {+240(L15)}
             { 17277 }      CopyHeaderHow        : ARRAY[1..30] OF BYTE;
                            { added [16..30]: 17292..17306, 15 bytes }
                            {+255(L609)}
             { 17307 }      GatewayUser          : STRING[36];
             { 17344 }      BounceUnknown        : BOOLEAN;
             { 17345 }      BounceSmall          : BOOLEAN;
             { 17346 }      AdminAddrType        : BYTE;
             { 17347 }      AdminFidoName        : STRING[36];
             { 17384 }      AdminFidoAddr        : FidoAddrType;
             { 17418 }      AdminUUCPAddr        : STRING[255];
             { 17674 }      AdminSendLog         : BOOLEAN;
             { 17675 }      AdminSend2           : BOOLEAN;
             { 17676 }      AdminSend3           : BOOLEAN;
             { 17677 }      AdminSend4           : BOOLEAN;
             { 17678 }      AdminSend5           : BOOLEAN;
             { 17679 }      AdminSend6           : BOOLEAN;
             { 17680 }      AdminSend7           : BOOLEAN;
             { 17681 }      AdminSend8           : BOOLEAN;
             { 17682 }      AdminSend9           : BOOLEAN;
             { 17682 }      AdminSend10          : BOOLEAN;
             { 17684 }      AdminSend11          : BOOLEAN;
             { 17685 }      AdminSend12          : BOOLEAN;
             { 17686 }      AdminSend13          : BOOLEAN;
             { 17687 }      AdminSend14          : BOOLEAN;
             { 17688 }      AdminSend15          : BOOLEAN;
             { 17689 }      AdminSend16          : BOOLEAN;
             { 17690 }      TimeZone             : STRING[25];
             { 17716 }      CopyHeaders_FU       : BOOLEAN;
             { 17717 }      MailGrade            : CHAR;
             { 17718 }      NewsGrade            : CHAR;
             { 17719 }      TimeSlicing          : BOOLEAN;
             { 17720 }      NetmailDecode        : BOOLEAN;
             { 17721 }      NetmailDecodePath    : STRING[79];
             { 17801 }      PrivateDecode        : BOOLEAN;
             { 17802 }      PrivateDecodePath    : STRING[79];
             { 17882 }      MaxRMailLineLen      : WORD;
             { 17884 }      MinimumDiskFree      : BYTE;
             { 17885 }      DiskFreeDrives       : STRING[26];
             { 17912 }      WrapLineLen          : BYTE;
             { 17913 }      RMailCorrect         : BYTE;
             { 17914 }      GateMsgId            : BYTE;
             { 17915 }      ForceNoBitmask       : BOOLEAN;
                            { nieuwe velden 0.92.PRE6 }
             { 17916 }      RescanFlagFile2      : STRING[79];
             { 17996 }      OrganizationInOrigin : BYTE;
{ next byte at 17997 }END;
*)

{ 0.93.PRE2 }
TYPE Config18Record = RECORD
{ start at byte    0 }      SystemDir            : STRING[79];
              {   80 }      Sysop                : STRING[50];
              {  131 }      DupeChecks           : WORD;
              {  133 }      DoDupeChk            : BOOLEAN;
              {  134 }      MaxHandles           : BYTE;
              {  135 }      CacheTdbs            : BOOLEAN;
              {  136 }      TooLargePath         : STRING[79];
              {  216 }      LogFilePath          : STRING[79];
              {  296 }      NodeNrs              : ARRAY[1..100] OF FidoAddrType;
              { 3696 }      PointNets            : ARRAY[1..100] OF WORD;
              { 3896 }      Security_F           : ARRAY[1..2] OF BYTE;
              { 3898 }      Inbound_F            : ARRAY[1..2] OF STRING[79];
              { 4058 }      Outbound_F           : STRING[79];
              { 4138 }      ComprPrgs_F          : ARRAY[0..1,0..8] OF STRING[79];
              { 5578 }      MaxFidoMsgLen        : LONGINT;
              { 5582 }      MaxFidoArcLen        : LONGINT;
 { Changed }  { 5586 }      DefGroups_F          : ARRAY[1..16] OF BYTE;
                            { @5590 +12 L12407 }
              { 5602 }      FidoSystem           : BYTE;
              { 5603 }      FidoAcceptTO         : BOOLEAN;
              { 5604 }      FidoNetmailType      : BYTE;
              { 5605 }      FidoNetmailPath      : STRING[79];
              { 5685 }      FidoBadAreaType      : BYTE;
              { 5686 }      FidoBadPath          : STRING[79];
              { 5698 }      FidoDupeAreaType     : BYTE;
              { 5699 }      FidoDupePath         : STRING[79];
              { 5847 }      FidoAutoCreateType   : BYTE;
              { 5848 }      DefaultFidoMsgPath   : STRING[79];
              { 5928 }      StripSeenBy          : BOOLEAN;
              { 5929 }      AutoLink             : BOOLEAN;
              { 5930 }      ReplaceTear          : BOOLEAN;
              { 5931 }      DefNumbToKeep_F      : INTEGER;
              { 5933 }      DefDaystoKeep_F      : INTEGER;
              { 5935 }      FidoArcmailExtension : BYTE;
              { 5936 }      GatewayAKA           : BYTE;
              { 5937 }      NameSeparator        : CHAR;
              { 5938 }      Origins              : ARRAY[1..2] OF STRING[61];
              { 6062 }      WorldWide            : BOOLEAN;
 { Changed }  { 6063 }      DefGroups_U          : ARRAY[1..16] OF BYTE;
                            { @6055 +24 L11942 }
              { 6079 }      SpoolBaseDir         : STRING[79];
              { 6159 }      MaxDatLength         : LONGINT;
              { 6163 }      SmartHost            : STRING[10];
              { 6174 }      UUCPName             : STRING[10];
              { 6185 }      BackBone             : STRING[50];
              { 6236 }      Organization         : STRING[60];
              { 6297 }      Domains              : ARRAY[1..6] OF STRING[50];
              { 6603 }      ComprPrg_U           : ARRAY[0..1,0..1] OF STRING[79];
              { 6923 }      PrivmailType         : BYTE;
              { 6924 }      PrivmailPath         : STRING[79];
              { 7004 }      PrivmailOption       : ARRAY[1..10] OF STRING[72];
              { 7734 }      PrivmailSelect       : ARRAY[1..10] OF BYTE;
              { 7744 }      AreafixForward       : ARRAY[1..50] OF AreafixForwardRecord;
             { 13294 }      UUCPForward          : ARRAY[1..50] OF UUCPForwardRecord;
             { 16394 }      ConversionTabel      : ARRAY[128..255] OF CHAR;
             { 16522 }      MaxSquishMsgLen      : LONGINT;
             { 16526 }      MaxJAMMsgLen         : LONGINT;
             { 16530 }      DefaultCompressor    : BYTE;
             { 16531 }      PackedAddresses      : BOOLEAN;
             { 16532 }      RescanFlagFile       : STRING[79];
             { 16612 }      DBridgeQueuePath     : STRING[79];
             { 16692 }      AreafixName          : STRING[10];
             { 16703 }      KillGatedNetmail     : BOOLEAN;
             { 16704 }      NewsfixName          : STRING[10];
             { 16715 }      UseSwapfile          : BOOLEAN;
             { 16716 }      SwapfilePath         : STRING[79];
             { 16796 }      SwapfileSize         : BYTE;
             { 16797 }      ReplyFSC35           : BOOLEAN;
             { 16798 }      HeaderFullname       : BOOLEAN;
             { 16799 }      LogDebug             : BOOLEAN;
             { 16800 }      LogSpoolTossed       : BOOLEAN;
             { 16801 }      LogFidoExtract       : BOOLEAN;
             { 16802 }      LogFidoTossed        : BOOLEAN;
             { 16803 }      LogTranslationFU     : BOOLEAN;
             { 16804 }      LogCheckFilter       : BOOLEAN;
             { 16805 }      LogXFix              : BOOLEAN;
             { 16806 }      LogCopyHeaders       : BOOLEAN;
             { 16807 }      LogIllegalHeaders    : BOOLEAN;
             { 16808 }      LogAreaFix           : BOOLEAN;
             { 16809 }      LogMapApply          : BOOLEAN;
             { 16810 }      LogNetmailImport     : BOOLEAN;
             { 16811 }      LogRODeny            : BOOLEAN;
             { 16812 }      LogPktEachEcho       : BOOLEAN;
             { 16813 }      LogUUCPOutbound      : BOOLEAN;
             { 16814 }      Log15                : BOOLEAN;
             { 16815 }      Log16                : BOOLEAN;
             { 16816 }      Log17                : BOOLEAN;
             { 16817 }      Log18                : BOOLEAN;
             { 16818 }      Log19                : BOOLEAN;
             { 16819 }      Log20                : BOOLEAN;
             { 16820 }      Log21                : BOOLEAN;
             { 16821 }      CopyHeaderNames      : ARRAY[1..30] OF STRING[15];
             { 17301 }      CopyHeaderHow        : ARRAY[1..30] OF BYTE;
             { 17331 }      GatewayUser          : STRING[36];
             { 17368 }      BounceUnknown        : BOOLEAN;
             { 17369 }      BounceSmall          : BOOLEAN;
             { 17370 }      AdminAddrType        : BYTE;
             { 17371 }      AdminFidoName        : STRING[36];
             { 17408 }      AdminFidoAddr        : FidoAddrType;
             { 17442 }      AdminUUCPAddr        : STRING[255];
             { 17698 }      AdminSendLog         : BOOLEAN;
             { 17699 }      AdminSend2           : BOOLEAN;
             { 17700 }      AdminSend3           : BOOLEAN;
             { 17701 }      AdminSend4           : BOOLEAN;
             { 17702 }      AdminSend5           : BOOLEAN;
             { 17703 }      AdminSend6           : BOOLEAN;
             { 17704 }      AdminSend7           : BOOLEAN;
             { 17705 }      AdminSend8           : BOOLEAN;
             { 17706 }      AdminSend9           : BOOLEAN;
             { 17707 }      AdminSend10          : BOOLEAN;
             { 17708 }      AdminSend11          : BOOLEAN;
             { 17709 }      AdminSend12          : BOOLEAN;
             { 17710 }      AdminSend13          : BOOLEAN;
             { 17711 }      AdminSend14          : BOOLEAN;
             { 17712 }      AdminSend15          : BOOLEAN;
             { 17713 }      AdminSend16          : BOOLEAN;
             { 17714 }      TimeZone             : STRING[25];
             { 17740 }      CopyHeaders_FU       : BOOLEAN;
             { 17741 }      MailGrade            : CHAR;
             { 17742 }      NewsGrade            : CHAR;
             { 17743 }      TimeSlicing          : BOOLEAN;
             { 17744 }      NetmailDecode        : BOOLEAN;
             { 17745 }      NetmailDecodePath    : STRING[79];
             { 17825 }      PrivateDecode        : BOOLEAN;
             { 17826 }      PrivateDecodePath    : STRING[79];
             { 17906 }      MaxRMailLineLen      : WORD;
             { 17908 }      MinimumDiskFree      : BYTE;
             { 17909 }      DiskFreeDrives       : STRING[26];
             { 17936 }      WrapLineLen          : BYTE;
             { 17937 }      RMailCorrect         : BYTE;
             { 17938 }      GateMsgId            : BYTE;
             { 17939 }      ForceNoBitmask       : BOOLEAN;
             { 17940 }      RescanFlagFile2      : STRING[79];
             { 18020 }      OrganizationInOrigin : BYTE;
{ next byte at 18021 }END;

(* not enough space to keep this one..
{ 0.93.PRE2 }
TYPE Config19Record = RECORD
{ start at byte    0 }      SystemDir            : STRING[79];
              {   80 }      Sysop                : STRING[50];
              {  131 }      DupeChecks           : WORD;
              {  133 }      DoDupeChk            : BOOLEAN;
              {  134 }      MaxHandles           : BYTE;
              {  135 }      CacheTdbs            : BOOLEAN;
              {  136 }      TooLargePath         : STRING[79];
              {  216 }      LogFilePath          : STRING[79];
              {  296 }      NodeNrs              : ARRAY[1..100] OF FidoAddrType;
              { 3696 }      PointNets            : ARRAY[1..100] OF WORD;
              { 3896 }      Security_F           : ARRAY[1..2] OF BYTE;
              { 3898 }      Inbound_F            : ARRAY[1..2] OF STRING[79];
              { 4058 }      Outbound_F           : STRING[79];
              { 4138 }      ComprPrgs_F          : ARRAY[0..1,0..8] OF STRING[79];
              { 5578 }      MaxFidoMsgLen        : LONGINT;
              { 5582 }      MaxFidoArcLen        : LONGINT;
              { 5586 }      DefGroups_F          : ARRAY[1..16] OF BYTE;
              { 5602 }      FidoSystem           : BYTE;
              { 5603 }      FidoAcceptTO         : BOOLEAN;
              { 5604 }      FidoNetmailType      : BYTE;
              { 5605 }      FidoNetmailPath      : STRING[79];
              { 5685 }      FidoBadAreaType      : BYTE;
              { 5686 }      FidoBadPath          : STRING[79];
              { 5698 }      FidoDupeAreaType     : BYTE;
              { 5699 }      FidoDupePath         : STRING[79];
              { 5847 }      FidoAutoCreateType   : BYTE;
              { 5848 }      DefaultFidoMsgPath   : STRING[79];
              { 5928 }      StripSeenBy          : BOOLEAN;
              { 5929 }      AutoLink             : BOOLEAN;
              { 5930 }      ReplaceTear          : BOOLEAN;
              { 5931 }      DefNumbToKeep_F      : INTEGER;
              { 5933 }      DefDaystoKeep_F      : INTEGER;
              { 5935 }      FidoArcmailExtension : BYTE;
              { 5936 }      GatewayAKA           : BYTE;
              { 5937 }      NameSeparator        : CHAR;
              { 5938 }      Origins              : ARRAY[1..2] OF STRING[61];
              { 6062 }      WorldWide            : BOOLEAN;
              { 6063 }      DefGroups_U          : ARRAY[1..16] OF BYTE;
              { 6079 }      SpoolBaseDir         : STRING[79];
              { 6159 }      MaxDatLength         : LONGINT;
              { 6163 }      SmartHost            : STRING[10];
              { 6174 }      UUCPName             : STRING[10];
              { 6185 }      BackBone             : STRING[50];
              { 6236 }      Organization         : STRING[60];
              { 6297 }      Domains              : ARRAY[1..6] OF STRING[50];
              { 6603 }      ComprPrg_U           : ARRAY[0..1,0..1] OF STRING[79];
              { 6923 }      PrivmailType         : BYTE;
              { 6924 }      PrivmailPath         : STRING[79];
              { 7004 }      PrivmailOption       : ARRAY[1..10] OF STRING[72];
              { 7734 }      PrivmailSelect       : ARRAY[1..10] OF BYTE;
              { 7744 }      AreafixForward       : ARRAY[1..50] OF AreafixForwardRecord;
             { 13294 }      UUCPForward          : ARRAY[1..50] OF UUCPForwardRecord;
     { --19 }{ 16394        ConversionTabel      : ARRAY[128..255] OF CHAR; }
                            { @16522 -128 L1499 }
             { 16394 }      MaxSquishMsgLen      : LONGINT;
             { 16398 }      MaxJAMMsgLen         : LONGINT;
             { 16402 }      DefaultCompressor    : BYTE;
             { 16403 }      PackedAddresses      : BOOLEAN;
             { 16404 }      RescanFlagFile       : STRING[79];
             { 16484 }      DBridgeQueuePath     : STRING[79];
             { 16564 }      AreafixName          : STRING[10];
             { 16575 }      KillGatedNetmail     : BOOLEAN;
             { 16576 }      NewsfixName          : STRING[10];
             { 16587 }      UseSwapfile          : BOOLEAN;
             { 16588 }      SwapfilePath         : STRING[79];
             { 16668 }      SwapfileSize         : BYTE;
             { 16669 }      ReplyFSC35           : BOOLEAN;
             { 16670 }      HeaderFullname       : BOOLEAN;
             { 16671 }      LogDebug             : BOOLEAN;
             { 16672 }      LogSpoolTossed       : BOOLEAN;
             { 16673 }      LogFidoExtract       : BOOLEAN;
             { 16674 }      LogFidoTossed        : BOOLEAN;
             { 16675 }      LogTranslationFU     : BOOLEAN;
             { 16676 }      LogCheckFilter       : BOOLEAN;
             { 16677 }      LogXFix              : BOOLEAN;
             { 16678 }      LogCopyHeaders       : BOOLEAN;
             { 16679 }      LogIllegalHeaders    : BOOLEAN;
             { 16680 }      LogAreaFix           : BOOLEAN;
             { 16681 }      LogMapApply          : BOOLEAN;
             { 16682 }      LogNetmailImport     : BOOLEAN;
             { 16683 }      LogRODeny            : BOOLEAN;
             { 16684 }      LogPktEachEcho       : BOOLEAN;
             { 16685 }      LogUUCPOutbound      : BOOLEAN;
             { 16686 }      Log15                : BOOLEAN;
             { 16687 }      Log16                : BOOLEAN;
             { 16688 }      Log17                : BOOLEAN;
             { 16689 }      Log18                : BOOLEAN;
             { 16690 }      Log19                : BOOLEAN;
             { 16691 }      Log20                : BOOLEAN;
             { 16692 }      Log21                : BOOLEAN;
             { 16693 }      CopyHeaderNames      : ARRAY[1..30] OF STRING[15];
             { 17173 }      CopyHeaderHow        : ARRAY[1..30] OF BYTE;
             { 17203 }      GatewayUser          : STRING[36];
             { 17240 }      BounceUnknown        : BOOLEAN;
             { 17241 }      BounceSmall          : BOOLEAN;
             { 17242 }      AdminAddrType        : BYTE;
             { 17243 }      AdminFidoName        : STRING[36];
             { 17280 }      AdminFidoAddr        : FidoAddrType;
             { 17314 }      AdminUUCPAddr        : STRING[255];
             { 17570 }      AdminSendLog         : BOOLEAN;
             { 17571 }      AdminSend2           : BOOLEAN;
             { 17572 }      AdminSend3           : BOOLEAN;
             { 17573 }      AdminSend4           : BOOLEAN;
             { 17574 }      AdminSend5           : BOOLEAN;
             { 17575 }      AdminSend6           : BOOLEAN;
             { 17576 }      AdminSend7           : BOOLEAN;
             { 17577 }      AdminSend8           : BOOLEAN;
             { 17578 }      AdminSend9           : BOOLEAN;
             { 17579 }      AdminSend10          : BOOLEAN;
             { 17580 }      AdminSend11          : BOOLEAN;
             { 17581 }      AdminSend12          : BOOLEAN;
             { 17582 }      AdminSend13          : BOOLEAN;
             { 17583 }      AdminSend14          : BOOLEAN;
             { 17584 }      AdminSend15          : BOOLEAN;
             { 17585 }      AdminSend16          : BOOLEAN;
             { 17586 }      TimeZone             : STRING[25];
             { 17612 }      CopyHeaders_FU       : BOOLEAN;
             { 17613 }      MailGrade            : CHAR;
             { 17614 }      NewsGrade            : CHAR;
             { 17615 }      TimeSlicing          : BOOLEAN;
             { 17616 }      NetmailDecode        : BOOLEAN;
             { 17617 }      NetmailDecodePath    : STRING[79];
             { 17697 }      PrivateDecode        : BOOLEAN;
             { 17698 }      PrivateDecodePath    : STRING[79];
             { 17778 }      MaxRMailLineLen      : WORD;
             { 17780 }      MinimumDiskFree      : BYTE;
             { 17781 }      DiskFreeDrives       : STRING[26];
             { 17808 }      WrapLineLen          : BYTE;
             { 17809 }      RMailCorrect         : BYTE;
             { 17810 }      GateMsgId            : BYTE;
             { 17811 }      ForceNoBitmask       : BOOLEAN;
             { 17812 }      RescanFlagFile2      : STRING[79];
             { 18892 }      OrganizationInOrigin : BYTE;
{ next byte at 18893 }END;
*)

(* not enough space to keep this one..
{ 0.93.PRE4 }
TYPE Config20Record = RECORD
{ start at byte    0 }      SystemDir            : STRING[79];
              {   80 }      Sysop                : STRING[50];
              {  131 }      DupeChecks           : WORD;
              {  133 }      DoDupeChk            : BOOLEAN;
              {  134 }      MaxHandles           : BYTE;
              {  135 }      CacheTdbs            : BOOLEAN;
              {  136 }      TooLargePath         : STRING[79];
              {  216 }      LogFilePath          : STRING[79];
              {  296 }      NodeNrs              : ARRAY[1..100] OF FidoAddrType;
              { 3696 }      PointNets            : ARRAY[1..100] OF WORD;
              { 3896 }      Security_F           : ARRAY[1..2] OF BYTE;
              { 3898 }      Inbound_F            : ARRAY[1..2] OF STRING[79];
              { 4058 }      Outbound_F           : STRING[79];
              { 4138 }      ComprPrgs_F          : ARRAY[0..1,0..8] OF STRING[79];
              { 5578 }      MaxFidoMsgLen        : LONGINT;
              { 5582 }      MaxFidoArcLen        : LONGINT;
              { 5586 }      DefGroups_F          : ARRAY[1..16] OF BYTE;
              { 5602 }      FidoSystem           : BYTE;
              { 5603 }      FidoAcceptTO         : BOOLEAN;
              { 5604 }      FidoNetmailType      : BYTE;
              { 5605 }      FidoNetmailPath      : STRING[79];
              { 5685 }      FidoBadAreaType      : BYTE;
              { 5686 }      FidoBadPath          : STRING[79];
              { 5698 }      FidoDupeAreaType     : BYTE;
              { 5699 }      FidoDupePath         : STRING[79];
              { 5847 }      FidoAutoCreateType   : BYTE;
              { 5848 }      DefaultFidoMsgPath   : STRING[79];
              { 5928 }      StripSeenBy          : BOOLEAN;
              { 5929 }      AutoLink             : BOOLEAN;
              { 5930 }      ReplaceTear          : BOOLEAN;
              { 5931 }      DefNumbToKeep_F      : INTEGER;
              { 5933 }      DefDaystoKeep_F      : INTEGER;
              { 5935 }      FidoArcmailExtension : BYTE;
              { 5936 }      GatewayAKA           : BYTE;
              { 5937 }      NameSeparator        : CHAR;
              { 5938 }      Origins              : ARRAY[1..2] OF STRING[61];
              { 6062 }      WorldWide            : BOOLEAN;
              { 6063 }      DefGroups_U          : ARRAY[1..16] OF BYTE;
              { 6079 }      SpoolBaseDir         : STRING[79];
              { 6159 }      MaxDatLength         : LONGINT;
              { 6163 }      SmartHost            : STRING[10];
              { 6174 }      UUCPName             : STRING[10];
              { 6185 }      BackBone             : STRING[50];
              { 6236 }      Organization         : STRING[60];
              { 6297 }      Domains              : ARRAY[1..6] OF STRING[50];
              { 6603 }      ComprPrg_U           : ARRAY[0..1,0..1] OF STRING[79];
              { 6923 }      PrivmailType         : BYTE;
              { 6924 }      PrivmailPath         : STRING[79];
              { 7004 }      PrivmailOption       : ARRAY[1..10] OF STRING[72];
              { 7734 }      PrivmailSelect       : ARRAY[1..10] OF BYTE;
              { 7744 }      AreafixForward       : ARRAY[1..50] OF AreafixForwardRecord;
             { 13294 }      UUCPForward          : ARRAY[1..50] OF UUCPForwardRecord;
             { 16394 }      MaxSquishMsgLen      : LONGINT;
             { 16398 }      MaxJAMMsgLen         : LONGINT;
             { 16402 }      DefaultCompressor    : BYTE;
             { 16403 }      PackedAddresses      : BOOLEAN;
             { 16404 }      RescanFlagFile       : STRING[79];
             { 16484 }      DBridgeQueuePath     : STRING[79];
             { 16564 }      AreafixName          : STRING[10];
             { 16575 }      KillGatedNetmail     : BOOLEAN;
             { 16576 }      NewsfixName          : STRING[10];
             { 16587 }      UseSwapfile          : BOOLEAN;
             { 16588 }      SwapfilePath         : STRING[79];
             { 16668 }      SwapfileSize         : BYTE;
             { 16669 }      ReplyFSC35           : BOOLEAN;
             { 16670 }      HeaderFullname       : BOOLEAN;
             { 16671 }      LogDebug             : BOOLEAN;
             { 16672 }      LogSpoolTossed       : BOOLEAN;
             { 16673 }      LogFidoExtract       : BOOLEAN;
             { 16674 }      LogFidoTossed        : BOOLEAN;
             { 16675 }      LogTranslationFU     : BOOLEAN;
             { 16676 }      LogCheckFilter       : BOOLEAN;
             { 16677 }      LogXFix              : BOOLEAN;
             { 16678 }      LogCopyHeaders       : BOOLEAN;
             { 16679 }      LogIllegalHeaders    : BOOLEAN;
             { 16680 }      LogAreaFix           : BOOLEAN;
             { 16681 }      LogMapApply          : BOOLEAN;
             { 16682 }      LogNetmailImport     : BOOLEAN;
             { 16683 }      LogRODeny            : BOOLEAN;
             { 16684 }      LogPktEachEcho       : BOOLEAN;
             { 16685 }      LogUUCPOutbound      : BOOLEAN;
             { 16686 }      Log15                : BOOLEAN;
             { 16687 }      Log16                : BOOLEAN;
             { 16688 }      Log17                : BOOLEAN;
             { 16689 }      Log18                : BOOLEAN;
             { 16690 }      Log19                : BOOLEAN;
             { 16691 }      Log20                : BOOLEAN;
             { 16692 }      Log21                : BOOLEAN;
             { 16693 }      CopyHeaderNames      : ARRAY[1..30] OF STRING[15];
             { 17173 }      CopyHeaderHow        : ARRAY[1..30] OF BYTE;
             { 17203 }      GatewayUser          : STRING[36];
             { 17240 }      BounceUnknown        : BOOLEAN;
             { 17241 }      BounceSmall          : BOOLEAN;
             { 17242 }      AdminAddrType        : BYTE;
             { 17243 }      AdminFidoName        : STRING[36];
             { 17280 }      AdminFidoAddr        : FidoAddrType;
             { 17314 }      AdminUUCPAddr        : STRING[255];
             { 17570 }      AdminSendLog         : BOOLEAN;
             { 17571 }      AdminSend2           : BOOLEAN;
             { 17572 }      AdminSend3           : BOOLEAN;
             { 17573 }      AdminSend4           : BOOLEAN;
             { 17574 }      AdminSend5           : BOOLEAN;
             { 17575 }      AdminSend6           : BOOLEAN;
             { 17576 }      AdminSend7           : BOOLEAN;
             { 17577 }      AdminSend8           : BOOLEAN;
             { 17578 }      AdminSend9           : BOOLEAN;
             { 17579 }      AdminSend10          : BOOLEAN;
             { 17580 }      AdminSend11          : BOOLEAN;
             { 17581 }      AdminSend12          : BOOLEAN;
             { 17582 }      AdminSend13          : BOOLEAN;
             { 17583 }      AdminSend14          : BOOLEAN;
             { 17584 }      AdminSend15          : BOOLEAN;
             { 17585 }      AdminSend16          : BOOLEAN;
             { 17586 }      TimeZone             : STRING[25];
             { 17612 }      CopyHeaders_FU       : BOOLEAN;
             { 17613 }      MailGrade            : CHAR;
             { 17614 }      NewsGrade            : CHAR;
             { 17615 }      TimeSlicing          : BOOLEAN;
             { 17616 }      NetmailDecode        : BOOLEAN;
             { 17617 }      NetmailDecodePath    : STRING[79];
             { 17697 }      PrivateDecode        : BOOLEAN;
             { 17698 }      PrivateDecodePath    : STRING[79];
             { 17778 }      MaxRMailLineLen      : WORD;
             { 17780 }      MinimumDiskFree      : BYTE;
             { 17781 }      DiskFreeDrives       : STRING[26];
             { 17808 }      WrapLineLen          : BYTE;
             { 17809 }      RMailCorrect         : BYTE;
             { 17810 }      GateMsgId            : BYTE;
             { 17811 }      ForceNoBitmask       : BOOLEAN;
             { 17812 }      RescanFlagFile2      : STRING[79];
             { 17892 }      OrganizationInOrigin : BYTE;
             { 17893 }      AlwaysMimeQuotePrint : BOOLEAN;
{ next byte at 17894 }END;
*)

(* not enough space to keep this one..
{ 0.93.PRE10 }
TYPE Config21Record = RECORD
{ start at byte    0 }      SystemDir            : STRING[79];
              {   80 }      Sysop                : STRING[50];
              {  131 }      DupeChecks           : WORD;
              {  133 }      DoDupeChk            : BOOLEAN;
              {  134 }      MaxHandles           : BYTE;
              {  135 }      CacheTdbs            : BOOLEAN;
              {  136 }      TooLargePath         : STRING[79];
              {  216 }      LogFilePath          : STRING[79];
              {  296 }      NodeNrs              : ARRAY[1..100] OF FidoAddrType;
              { 3696 }      PointNets            : ARRAY[1..100] OF WORD;
              { 3896 }      Security_F           : ARRAY[1..2] OF BYTE;
              { 3898 }      Inbound_F            : ARRAY[1..2] OF STRING[79];
              { 4058 }      Outbound_F           : STRING[79];
              { 4138 }      ComprPrgs_F          : ARRAY[0..1,0..8] OF STRING[79];
              { 5578 }      MaxFidoMsgLen        : LONGINT;
              { 5582 }      MaxFidoArcLen        : LONGINT;
              { 5586 }      DefGroups_F          : ARRAY[1..16] OF BYTE;
              { 5602 }      FidoSystem           : BYTE;
              { 5603 }      FidoAcceptTO         : BOOLEAN;
              { 5604 }      FidoNetmailType      : BYTE;
              { 5605 }      FidoNetmailPath      : STRING[79];
              { 5685 }      FidoBadAreaType      : BYTE;
              { 5686 }      FidoBadPath          : STRING[79];
              { 5698 }      FidoDupeAreaType     : BYTE;
              { 5699 }      FidoDupePath         : STRING[79];
              { 5847 }      FidoAutoCreateType   : BYTE;
              { 5848 }      DefaultFidoMsgPath   : STRING[79];
              { 5928 }      StripSeenBy          : BOOLEAN;
              { 5929 }      AutoLink             : BOOLEAN;
              { 5930 }      ReplaceTear          : BOOLEAN;
              { 5931 }      DefNumbToKeep_F      : INTEGER;
              { 5933 }      DefDaystoKeep_F      : INTEGER;
              { 5935 }      FidoArcmailExtension : BYTE;
              { 5936 }      GatewayAKA           : BYTE;
              { 5937 }      NameSeparator        : CHAR;
              { 5938 }      Origins              : ARRAY[1..2] OF STRING[61];
              { 6062 }      WorldWide            : BOOLEAN;
              { 6063 }      DefGroups_U          : ARRAY[1..16] OF BYTE;
              { 6079 }      SpoolBaseDir         : STRING[79];
              { 6159 }      MaxDatLength         : LONGINT;
              { 6163 }      SmartHost            : STRING[10];
              { 6174 }      UUCPName             : STRING[10];
              { 6185 }      BackBone             : STRING[50];
              { 6236 }      Organization         : STRING[60];
              { 6297 }      Domains              : ARRAY[1..6] OF STRING[50];
              { 6603 }      ComprPrg_U           : ARRAY[0..1,0..1] OF STRING[79];
              { 6923 }      PrivmailType         : BYTE;
              { 6924 }      PrivmailPath         : STRING[79];
              { 7004 }      PrivmailOption       : ARRAY[1..10] OF STRING[72];
              { 7734 }      PrivmailSelect       : ARRAY[1..10] OF BYTE;
              { 7744 }      AreafixForward       : ARRAY[1..50] OF AreafixForwardRecord;
             { 13294 }      UUCPForward          : ARRAY[1..50] OF UUCPForwardRecord;
             { 16394 }      MaxSquishMsgLen      : LONGINT;
             { 16398 }      MaxJAMMsgLen         : LONGINT;
             { 16402 }      DefaultCompressor    : BYTE;
             { 16403 }      PackedAddresses      : BOOLEAN;
             { 16404 }      RescanFlagFile       : STRING[79];
             { 16484 }      DBridgeQueuePath     : STRING[79];
             { 16564 }      AreafixName          : STRING[10];
             { 16575 }      KillGatedNetmail     : BOOLEAN;
             { 16576 }      NewsfixName          : STRING[10];
             { 16587 }      UseSwapfile          : BOOLEAN;
             { 16588 }      SwapfilePath         : STRING[79];
             { 16668 }      SwapfileSize         : BYTE;
             { 16669 }      ReplyFSC35           : BOOLEAN;
             { 16670 }      HeaderFullname       : BOOLEAN;
             { 16671 }      LogDebug             : BOOLEAN;
             { 16672 }      LogSpoolTossed       : BOOLEAN;
             { 16673 }      LogFidoExtract       : BOOLEAN;
             { 16674 }      LogFidoTossed        : BOOLEAN;
             { 16675 }      LogTranslationFU     : BOOLEAN;
             { 16676 }      LogCheckFilter       : BOOLEAN;
             { 16677 }      LogXFix              : BOOLEAN;
             { 16678 }      LogCopyHeaders       : BOOLEAN;
             { 16679 }      LogIllegalHeaders    : BOOLEAN;
             { 16680 }      LogAreaFix           : BOOLEAN;
             { 16681 }      LogMapApply          : BOOLEAN;
             { 16682 }      LogNetmailImport     : BOOLEAN;
             { 16683 }      LogRODeny            : BOOLEAN;
             { 16684 }      LogPktEachEcho       : BOOLEAN;
             { 16685 }      LogUUCPOutbound      : BOOLEAN;
             { 16686 }      Log15                : BOOLEAN;
             { 16687 }      Log16                : BOOLEAN;
             { 16688 }      Log17                : BOOLEAN;
             { 16689 }      Log18                : BOOLEAN;
             { 16690 }      Log19                : BOOLEAN;
             { 16691 }      Log20                : BOOLEAN;
             { 16692 }      Log21                : BOOLEAN;
             { 16693 }      CopyHeaderNames      : ARRAY[1..30] OF STRING[15];
             { 17173 }      CopyHeaderHow        : ARRAY[1..30] OF BYTE;
             { 17203 }      GatewayUser          : STRING[36];
             { 17240 }      BounceUnknown        : BOOLEAN;
             { 17241 }      BounceSmall          : BOOLEAN;
             { 17242 }      AdminAddrType        : BYTE;
             { 17243 }      AdminFidoName        : STRING[36];
             { 17280 }      AdminFidoAddr        : FidoAddrType;
             { 17314 }      AdminUUCPAddr        : STRING[255];
             { 17570 }      AdminSendLog         : BOOLEAN;
             { 17571 }      AdminSend2           : BOOLEAN;
             { 17572 }      AdminSend3           : BOOLEAN;
             { 17573 }      AdminSend4           : BOOLEAN;
             { 17574 }      AdminSend5           : BOOLEAN;
             { 17575 }      AdminSend6           : BOOLEAN;
             { 17576 }      AdminSend7           : BOOLEAN;
             { 17577 }      AdminSend8           : BOOLEAN;
             { 17578 }      AdminSend9           : BOOLEAN;
             { 17579 }      AdminSend10          : BOOLEAN;
             { 17580 }      AdminSend11          : BOOLEAN;
             { 17581 }      AdminSend12          : BOOLEAN;
             { 17582 }      AdminSend13          : BOOLEAN;
             { 17583 }      AdminSend14          : BOOLEAN;
             { 17584 }      AdminSend15          : BOOLEAN;
             { 17585 }      AdminSend16          : BOOLEAN;
             { 17586 }      TimeZone             : STRING[25];
             { 17612 }      CopyHeaders_FU       : BOOLEAN;
             { 17613 }      MailGrade            : CHAR;
             { 17614 }      NewsGrade            : CHAR;
             { 17615 }      TimeSlicing          : BOOLEAN;
             { 17616 }      NetmailDecode        : BOOLEAN;
             { 17617 }      NetmailDecodePath    : STRING[79];
             { 17697 }      PrivateDecode        : BOOLEAN;
             { 17698 }      PrivateDecodePath    : STRING[79];
             { 17778 }      MaxRMailLineLen      : WORD;
             { 17780 }      MinimumDiskFree      : BYTE;
             { 17781 }      DiskFreeDrives       : STRING[26];
             { 17808 }      WrapLineLen          : BYTE;
             { 17809 }      RMailCorrect         : BYTE;
             { 17810 }      GateMsgId            : BYTE;
             { 17811 }      ForceNoBitmask       : BOOLEAN;
             { 17812 }      RescanFlagFile2      : STRING[79];
             { 17892 }      OrganizationInOrigin : BYTE;
             { 17893 }      AlwaysMimeQuotePrint : BOOLEAN;
             { 17894 }      SmtpForward          : STRING[50];
             { 17945 }      MaxXPostNewsgroups   : BYTE;
             { 17946 }      WildCatMsgLockDir    : STRING[79];
             { 18026 }      OpusDateFormat       : BOOLEAN;
             { 18027 }      MaxWildCatMsgLen     : LONGINT;
{ next byte at 18031 }END;
*)

{ 0.93.PRE13 }
TYPE Config22Record = RECORD
{ start at byte    0 }      SystemDir            : STRING[79];
              {   80 }      Sysop                : STRING[50];
              {  131 }      DupeChecks           : WORD;
              {  133 }      DoDupeChk            : BOOLEAN;
              {  134 }      MaxHandles           : BYTE;
              {  135 }      CacheTdbs            : BOOLEAN;
              {  136 }      TooLargePath         : STRING[79];
              {  216 }      LogFilePath          : STRING[79];
              {  296 }      NodeNrs              : ARRAY[1..100] OF FidoAddrType;
              { 3696 }      PointNets            : ARRAY[1..100] OF WORD;
              { 3896 }      Security_F           : ARRAY[1..2] OF BYTE;
              { 3898 }      Inbound_F            : ARRAY[1..2] OF STRING[79];
              { 4058 }      Outbound_F           : STRING[79];
              { 4138 }      ComprPrgs_F          : ARRAY[0..1,0..8] OF STRING[79];
              { 5578 }      MaxFidoMsgLen        : LONGINT;
              { 5582 }      MaxFidoArcLen        : LONGINT;
              { 5586 }      DefGroups_F          : ARRAY[1..16] OF BYTE;
              { 5602 }      FidoSystem           : BYTE;
              { 5603 }      FidoAcceptTO         : BOOLEAN;
              { 5604 }      FidoNetmailType      : BYTE;
              { 5605 }      FidoNetmailPath      : STRING[79];
              { 5685 }      FidoBadAreaType      : BYTE;
              { 5686 }      FidoBadPath          : STRING[79];
              { 5698 }      FidoDupeAreaType     : BYTE;
              { 5699 }      FidoDupePath         : STRING[79];
              { 5847 }      FidoAutoCreateType   : BYTE;
              { 5848 }      DefaultFidoMsgPath   : STRING[79];
              { 5928 }      StripSeenBy          : BOOLEAN;
              { 5929 }      AutoLink             : BOOLEAN;
              { 5930 }      ReplaceTear          : BOOLEAN;
              { 5931 }      DefNumbToKeep_F      : INTEGER;
              { 5933 }      DefDaystoKeep_F      : INTEGER;
              { 5935 }      FidoArcmailExtension : BYTE;
              { 5936 }      GatewayAKA           : BYTE;
              { 5937 }      NameSeparator        : CHAR;
              { 5938 }      Origins              : ARRAY[1..2] OF STRING[61];
              { 6062 }      WorldWide            : BOOLEAN;
              { 6063 }      DefGroups_U          : ARRAY[1..16] OF BYTE;
              { 6079 }      SpoolBaseDir         : STRING[79];
              { 6159 }      MaxDatLength         : LONGINT;
              { 6163 }      SmartHost            : STRING[10];
              { 6174 }      UUCPName             : STRING[10];
              { 6185 }      BackBone             : STRING[50];
              { 6236 }      Organization         : STRING[60];
              { 6297 }      Domains              : ARRAY[1..6] OF STRING[50];
              { 6603 }      ComprPrg_U           : ARRAY[0..1,0..1] OF STRING[79];
              { 6923 }      PrivmailType         : BYTE;
              { 6924 }      PrivmailPath         : STRING[79];
              { 7004 }      PrivmailOption       : ARRAY[1..10] OF STRING[72];
              { 7734 }      PrivmailSelect       : ARRAY[1..10] OF BYTE;
              { 7744 }      AreafixForward       : ARRAY[1..50] OF AreafixForwardRecord;
             { 13294 }      UUCPForward          : ARRAY[1..50] OF UUCPForwardRecord;
             { 16394 }      MaxSquishMsgLen      : LONGINT;
             { 16398 }      MaxJAMMsgLen         : LONGINT;
             { 16402 }      DefaultCompressor    : BYTE;
             { 16403 }      PackedAddresses      : BOOLEAN;
             { 16404 }      RescanFlagFile       : STRING[79];
             { 16484 }      DBridgeQueuePath     : STRING[79];
             { 16564 }      AreafixName          : STRING[10];
             { 16575 }      KillGatedNetmail     : BOOLEAN;
             { 16576 }      NewsfixName          : STRING[10];
             { 16587 }      UseSwapfile          : BOOLEAN;
             { 16588 }      SwapfilePath         : STRING[79];
             { 16668 }      SwapfileSize         : BYTE;
             { 16669 }      ReplyFSC35           : BOOLEAN;
             { 16670 }      HeaderFullname       : BOOLEAN;
             { 16671 }      LogDebug             : BOOLEAN;
             { 16672 }      LogSpoolTossed       : BOOLEAN;
             { 16673 }      LogFidoExtract       : BOOLEAN;
             { 16674 }      LogFidoTossed        : BOOLEAN;
             { 16675 }      LogTranslationFU     : BOOLEAN;
             { 16676 }      LogCheckFilter       : BOOLEAN;
             { 16677 }      LogXFix              : BOOLEAN;
             { 16678 }      LogCopyHeaders       : BOOLEAN;
             { 16679 }      LogIllegalHeaders    : BOOLEAN;
             { 16680 }      LogAreaFix           : BOOLEAN;
             { 16681 }      LogMapApply          : BOOLEAN;
             { 16682 }      LogNetmailImport     : BOOLEAN;
             { 16683 }      LogRODeny            : BOOLEAN;
             { 16684 }      LogPktEachEcho       : BOOLEAN;
             { 16685 }      LogUUCPOutbound      : BOOLEAN;
             { 16686 }      Log15                : BOOLEAN;
             { 16687 }      Log16                : BOOLEAN;
             { 16688 }      Log17                : BOOLEAN;
             { 16689 }      Log18                : BOOLEAN;
             { 16690 }      Log19                : BOOLEAN;
             { 16691 }      Log20                : BOOLEAN;
             { 16692 }      Log21                : BOOLEAN;
             { 16693 }      CopyHeaderNames      : ARRAY[1..30] OF STRING[15];
             { 17173 }      CopyHeaderHow        : ARRAY[1..30] OF BYTE;
             { 17203 }      GatewayUser          : STRING[36];
             { 17240 }      BounceUnknown        : BOOLEAN;
             { 17241 }      BounceSmall          : BOOLEAN;
             { 17242 }      AdminAddrType        : BYTE;
             { 17243 }      AdminFidoName        : STRING[36];
             { 17280 }      AdminFidoAddr        : FidoAddrType;
             { 17314 }      AdminUUCPAddr        : STRING[255];
             { 17570 }      AdminSendLog         : BOOLEAN;
             { 17571 }      AdminSend2           : BOOLEAN;
             { 17572 }      AdminSend3           : BOOLEAN;
             { 17573 }      AdminSend4           : BOOLEAN;
             { 17574 }      AdminSend5           : BOOLEAN;
             { 17575 }      AdminSend6           : BOOLEAN;
             { 17576 }      AdminSend7           : BOOLEAN;
             { 17577 }      AdminSend8           : BOOLEAN;
             { 17578 }      AdminSend9           : BOOLEAN;
             { 17579 }      AdminSend10          : BOOLEAN;
             { 17580 }      AdminSend11          : BOOLEAN;
             { 17581 }      AdminSend12          : BOOLEAN;
             { 17582 }      AdminSend13          : BOOLEAN;
             { 17583 }      AdminSend14          : BOOLEAN;
             { 17584 }      AdminSend15          : BOOLEAN;
             { 17585 }      AdminSend16          : BOOLEAN;
             { 17586 }      TimeZone             : STRING[25];
             { 17612 }      CopyHeaders_FU       : BOOLEAN;
             { 17613 }      MailGrade            : CHAR;
             { 17614 }      NewsGrade            : CHAR;
             { 17615 }      TimeSlicing          : BOOLEAN;
             { 17616 }      NetmailDecode        : BOOLEAN;
             { 17617 }      NetmailDecodePath    : STRING[79];
             { 17697 }      PrivateDecode        : BOOLEAN;
             { 17698 }      PrivateDecodePath    : STRING[79];
             { 17778 }      MaxRMailLineLen      : WORD;
             { 17780 }      MinimumDiskFree      : BYTE;
             { 17781 }      DiskFreeDrives       : STRING[26];
             { 17808 }      WrapLineLen          : BYTE;
             { 17809 }      RMailCorrect         : BYTE;
             { 17810 }      GateMsgId            : BYTE;
             { 17811 }      ForceNoBitmask       : BOOLEAN;
             { 17812 }      RescanFlagFile2      : STRING[79];
             { 17892 }      OrganizationInOrigin : BYTE;
             { 17893 }      AlwaysMimeQuotePrint : BOOLEAN;
             { 17894 }      SmtpForward          : STRING[50];
             { 17945 }      MaxXPostNewsgroups   : BYTE;
             { 17946 }      WildCatMsgLockDir    : STRING[79];
             { 18026 }      OpusDateFormat       : BOOLEAN;
             { 18027 }      MaxWildCatMsgLen     : LONGINT;
             { 18031 }      KillAreaFixMsgs      : BOOLEAN;
             { 18032 }      Colors               : ARRAY[1..21] OF BYTE;
{ next byte at 18053 }END;

(* not enough space to keep this one..
{ 0.94.PRE2 }
TYPE Config23Record = RECORD
{ start at byte    0 }      SystemDir            : STRING[79];
              {   80 }      Sysop                : STRING[50];
              {  131 }      DupeChecks           : WORD;
              {  133 }      DoDupeChk            : BOOLEAN;
              {  134 }      MaxHandles           : BYTE;
              {  135 }      CacheTdbs            : BOOLEAN;
              {  136 }      TooLargePath         : STRING[79];
              {  216 }      LogFilePath          : STRING[79];
              {  296 }      NodeNrs              : ARRAY[1..100] OF FidoAddrType;
              { 3696 }      PointNets            : ARRAY[1..100] OF WORD;
              { 3896 }      Security_F           : ARRAY[1..2] OF BYTE;
              { 3898 }      Inbound_F            : ARRAY[1..2] OF STRING[79];
              { 4058 }      Outbound_F           : STRING[79];

                            { @4138 -1440 }
        { --                ComprPrgs_F          : ARRAY[0..1,0..8] OF STRING[79]; }

              { 4138 }      MaxFidoMsgLen        : LONGINT;
              { 4142 }      MaxFidoArcLen        : LONGINT;
              { 4146 }      DefGroups_F          : ARRAY[1..16] OF BYTE;
              { 4162 }      FidoSystem           : BYTE;
              { 4163 }      FidoAcceptTO         : BOOLEAN;
              { 4164 }      FidoNetmailType      : BYTE;
              { 4165 }      FidoNetmailPath      : STRING[79];
              { 4245 }      FidoBadAreaType      : BYTE;
              { 4246 }      FidoBadPath          : STRING[79];
              { 4326 }      FidoDupeAreaType     : BYTE;
              { 4327 }      FidoDupePath         : STRING[79];
              { 4407 }      FidoAutoCreateType   : BYTE;
              { 4408 }      DefaultFidoMsgPath   : STRING[79];
              { 4488 }      StripSeenBy          : BOOLEAN;
              { 4489 }      AutoLink             : BOOLEAN;
              { 4490 }      ReplaceTear          : BOOLEAN;
              { 4491 }      DefNumbToKeep_F      : INTEGER;
              { 4493 }      DefDaystoKeep_F      : INTEGER;
              { 4495 }      FidoArcmailExtension : BYTE;
              { 4496 }      GatewayAKA           : BYTE;
              { 4497 }      NameSeparator        : CHAR;
              { 4498 }      Origins              : ARRAY[1..2] OF STRING[61];
              { 4622 }      WorldWide            : BOOLEAN;
              { 4623 }      DefGroups_U          : ARRAY[1..16] OF BYTE;
              { 4639 }      SpoolBaseDir         : STRING[79];
              { 4719 }      MaxDatLength         : LONGINT;
              { 4723 }      SmartHost            : STRING[10];
              { 4734 }      UUCPName             : STRING[10];
              { 4745 }      BackBone             : STRING[50];
              { 4796 }      Organization         : STRING[60];
              { 4857 }      Domains              : ARRAY[1..6] OF STRING[50];
              { 5163 }      ComprPrg_U           : ARRAY[0..1,0..1] OF STRING[79];

                            { -811 }
        { --                PrivmailType         : BYTE; }
        { --                PrivmailPath         : STRING[79]; }
        { --                PrivmailOption       : ARRAY[1..10] OF STRING[72]; }
        { --                PrivmailSelect       : ARRAY[1..10] OF BYTE; }

                            { -8650 }
        { --                AreafixForward       : ARRAY[1..50] OF AreafixForwardRecord; }
        { --                UUCPForward          : ARRAY[1..50] OF UUCPForwardRecord; }

                            { move 16394 -> 5483 }
              { 5483 }      MaxSquishMsgLen      : LONGINT;
              { 5487 }      MaxJAMMsgLen         : LONGINT;
              { 5491 }      DefaultCompressor    : BYTE;
              { 5492 }      PackedAddresses      : BOOLEAN;
              { 5493 }      RescanFlagFile       : STRING[79];
              { 5573 }      DBridgeQueuePath     : STRING[79];
              { 5653 }      AreafixName          : STRING[10];
              { 5664 }      KillGatedNetmail     : BOOLEAN;
              { 5665 }      NewsfixName          : STRING[10];
              { 5676 }      UseSwapfile          : BOOLEAN;
              { 5677 }      SwapfilePath         : STRING[79];
              { 5757 }      SwapfileSize         : BYTE;
              { 5758 }      ReplyFSC35           : BOOLEAN;
              { 5759 }      HeaderFullname       : BOOLEAN;
              { 5760 }      LogDebug             : BOOLEAN;
              { 5761 }      LogSpoolTossed       : BOOLEAN;
              { 5762 }      LogFidoExtract       : BOOLEAN;
              { 5763 }      LogFidoTossed        : BOOLEAN;
              { 5764 }      LogTranslationFU     : BOOLEAN;
              { 5765 }      LogCheckFilter       : BOOLEAN;
              { 5766 }      LogXFix              : BOOLEAN;
              { 5767 }      LogCopyHeaders       : BOOLEAN;
              { 5768 }      LogIllegalHeaders    : BOOLEAN;
              { 5769 }      LogAreaFix           : BOOLEAN;
              { 5770 }      LogMapApply          : BOOLEAN;
              { 5771 }      LogNetmailImport     : BOOLEAN;
              { 5772 }      LogRODeny            : BOOLEAN;
              { 5773 }      LogPktEachEcho       : BOOLEAN;
              { 5774 }      LogUUCPOutbound      : BOOLEAN;
              { 5775 }      Log15                : BOOLEAN;
              { 5776 }      Log16                : BOOLEAN;
              { 5777 }      Log17                : BOOLEAN;
              { 5778 }      Log18                : BOOLEAN;
              { 5779 }      Log19                : BOOLEAN;
              { 5780 }      Log20                : BOOLEAN;
              { 5781 }      Log21                : BOOLEAN;
              { 5782 }      CopyHeaderNames      : ARRAY[1..30] OF STRING[15];
              { 6262 }      CopyHeaderHow        : ARRAY[1..30] OF BYTE;
              { 6292 }      GatewayUser          : STRING[36];
              { 6329 }      BounceUnknown        : BOOLEAN;
              { 6330 }      BounceSmall          : BOOLEAN;
              { 6331 }      AdminAddrType        : BYTE;
              { 6332 }      AdminFidoName        : STRING[36];
              { 6369 }      AdminFidoAddr        : FidoAddrType;
              { 6403 }      AdminUUCPAddr        : STRING[255];
              { 6659 }      AdminSendLog         : BOOLEAN;
              { 6660 }      AdminSend2           : BOOLEAN;
              { 6661 }      AdminSend3           : BOOLEAN;
              { 6662 }      AdminSend4           : BOOLEAN;
              { 6663 }      AdminSend5           : BOOLEAN;
              { 6664 }      AdminSend6           : BOOLEAN;
              { 6665 }      AdminSend7           : BOOLEAN;
              { 6666 }      AdminSend8           : BOOLEAN;
              { 6667 }      AdminSend9           : BOOLEAN;
              { 6668 }      AdminSend10          : BOOLEAN;
              { 6669 }      AdminSend11          : BOOLEAN;
              { 6670 }      AdminSend12          : BOOLEAN;
              { 6671 }      AdminSend13          : BOOLEAN;
              { 6672 }      AdminSend14          : BOOLEAN;
              { 6673 }      AdminSend15          : BOOLEAN;
              { 6674 }      AdminSend16          : BOOLEAN;
              { 6675 }      TimeZone             : STRING[25];
              { 6701 }      CopyHeaders_FU       : BOOLEAN;

                            { -2 }
         { --               MailGrade            : CHAR; }
         { --               NewsGrade            : CHAR; }
              { 6702 }      TimeSlicing          : BOOLEAN;
              { 6703 }      NetmailDecode        : BOOLEAN;
              { 6704 }      NetmailDecodePath    : STRING[79];

                            { @ -81 }
         { --               PrivateDecode        : BOOLEAN; }
         { --               PrivateDecodePath    : STRING[79]; }
              { 6784 }      MaxRMailLineLen      : WORD;
              { 6786 }      MinimumDiskFree      : BYTE;
              { 6787 }      DiskFreeDrives       : STRING[26];
              { 6814 }      WrapLineLen          : BYTE;
              { 6815 }      RMailCorrect         : BYTE;
              { 6816 }      GateMsgId            : BYTE;
              { 6817 }      ForceNoBitmask       : BOOLEAN;
              { 6818 }      RescanFlagFile2      : STRING[79];
              { 6898 }      OrganizationInOrigin : BYTE;
              { 6899 }      AlwaysMimeQuotePrint : BOOLEAN;
              { 6900 }      SmtpForward          : STRING[50];
              { 6951 }      MaxXPostNewsgroups   : BYTE;
              { 6952 }      WildCatMsgLockDir    : STRING[79];
              { 7032 }      OpusDateFormat       : BOOLEAN;
              { 7033 }      MaxWildCatMsgLen     : LONGINT;
              { 7037 }      KillAreaFixMsgs      : BOOLEAN;
              { 7038 }      Colors               : ARRAY[1..21] OF BYTE;

                            { new fields 0.94.pre2 }
              { 7059 }      FileDir              : STRING[79];
              { 7139 }      OutboundPktExtension : STRING[3];
              { 7143 }      EmptyTear            : BOOLEAN;
              { 7144 }      PackNetmail          : BOOLEAN;
              { 7145 }      TransChar2           : CHAR;
              { 7146 }      Allow8Bit            : BOOLEAN;
{ next byte at  7147 }END;
*)

(* not enough space to keep this one..
{ 0.94.PRE9 }
TYPE Config24Record = RECORD
{ start at byte    0 }      SystemDir            : STRING[79];
              {   80 }      Sysop                : STRING[50];
              {  131 }      OLD_DupeChecks       : WORD;
              {  133 }      DoDupeChk            : BOOLEAN;
              {  134 }      MaxHandles           : BYTE;
              {  135 }      CacheTdbs            : BOOLEAN;
              {  136 }      TooLargePath         : STRING[79];
              {  216 }      LogFilePath          : STRING[79];
              {  296 }      NodeNrs              : ARRAY[1..100] OF FidoAddrType;
              { 3696 }      PointNets            : ARRAY[1..100] OF WORD;
              { 3896 }      Security_F           : ARRAY[1..2] OF BYTE;
              { 3898 }      Inbound_F            : ARRAY[1..2] OF STRING[79];
              { 4058 }      Outbound_F           : STRING[79];
              { 4138 }      MaxFidoMsgLen        : LONGINT;
              { 4142 }      MaxFidoArcLen        : LONGINT;
              { 4146 }      DefGroups_F          : ARRAY[1..16] OF BYTE;
              { 4162 }      FidoSystem           : BYTE;
              { 4163 }      FidoAcceptTO         : BOOLEAN;
              { 4164 }      FidoNetmailType      : BYTE;
              { 4165 }      FidoNetmailPath      : STRING[79];
              { 4245 }      FidoBadAreaType      : BYTE;
              { 4246 }      FidoBadPath          : STRING[79];
              { 4326 }      FidoDupeAreaType     : BYTE;
              { 4327 }      FidoDupePath         : STRING[79];
              { 4407 }      FidoAutoCreateType   : BYTE;
              { 4408 }      DefaultFidoMsgPath   : STRING[79];
              { 4488 }      StripSeenBy          : BOOLEAN;
              { 4489 }      AutoLink             : BOOLEAN;
              { 4490 }      ReplaceTear          : BOOLEAN;
              { 4491 }      DefNumbToKeep_F      : INTEGER;
              { 4493 }      DefDaystoKeep_F      : INTEGER;
              { 4495 }      FidoArcmailExtension : BYTE;
              { 4496 }      GatewayAKA           : BYTE;
              { 4497 }      NameSeparator        : CHAR;
              { 4498 }      Origins              : ARRAY[1..2] OF STRING[61];
              { 4622 }      WorldWide            : BOOLEAN;
              { 4623 }      DefGroups_U          : ARRAY[1..16] OF BYTE;
              { 4639 }      SpoolBaseDir         : STRING[79];
              { 4719 }      MaxDatLength         : LONGINT;
              { 4723 }      SmartHost            : STRING[10];
              { 4734 }      UUCPName             : STRING[10];
              { 4745 }      BackBone             : STRING[50];
              { 4796 }      Organization         : STRING[60];
              { 4857 }      Domains              : ARRAY[1..6] OF STRING[50];
              { 5163 }      ComprPrg_U           : ARRAY[0..1,0..1] OF STRING[79];
              { 5483 }      MaxSquishMsgLen      : LONGINT;
              { 5487 }      MaxJAMMsgLen         : LONGINT;
              { 5491 }      DefaultCompressor    : BYTE;
              { 5492 }      PackedAddresses      : BOOLEAN;
              { 5493 }      RescanFlagFile       : STRING[79];
              { 5573 }      DBridgeQueuePath     : STRING[79];
              { 5653 }      AreafixName          : STRING[10];
              { 5664 }      KillGatedNetmail     : BOOLEAN;
              { 5665 }      NewsfixName          : STRING[10];
              { 5676 }      UseSwapfile          : BOOLEAN;
              { 5677 }      SwapfilePath         : STRING[79];
              { 5757 }      SwapfileSize         : BYTE;
              { 5758 }      ReplyFSC35           : BOOLEAN;
              { 5759 }      HeaderFullname       : BOOLEAN;
              { 5760 }      LogDebug             : BOOLEAN;
              { 5761 }      LogSpoolTossed       : BOOLEAN;
              { 5762 }      LogFidoExtract       : BOOLEAN;
              { 5763 }      LogFidoTossed        : BOOLEAN;
              { 5764 }      LogTranslationFU     : BOOLEAN;
              { 5765 }      LogCheckFilter       : BOOLEAN;
              { 5766 }      LogXFix              : BOOLEAN;
              { 5767 }      LogCopyHeaders       : BOOLEAN;
              { 5768 }      LogIllegalHeaders    : BOOLEAN;
              { 5769 }      LogAreaFix           : BOOLEAN;
              { 5770 }      LogMapApply          : BOOLEAN;
              { 5771 }      LogNetmailImport     : BOOLEAN;
              { 5772 }      LogRODeny            : BOOLEAN;
              { 5773 }      LogPktEachEcho       : BOOLEAN;
              { 5774 }      LogUUCPOutbound      : BOOLEAN;
              { 5775 }      Log15                : BOOLEAN;
              { 5776 }      Log16                : BOOLEAN;
              { 5777 }      Log17                : BOOLEAN;
              { 5778 }      Log18                : BOOLEAN;
              { 5779 }      Log19                : BOOLEAN;
              { 5780 }      Log20                : BOOLEAN;
              { 5781 }      Log21                : BOOLEAN;
              { 5782 }      CopyHeaderNames      : ARRAY[1..30] OF STRING[15];
              { 6262 }      CopyHeaderHow        : ARRAY[1..30] OF BYTE;
              { 6292 }      GatewayUser          : STRING[36];
              { 6329 }      BounceUnknown        : BOOLEAN;
              { 6330 }      BounceSmall          : BOOLEAN;
              { 6331 }      AdminAddrType        : BYTE;
              { 6332 }      AdminFidoName        : STRING[36];
              { 6369 }      AdminFidoAddr        : FidoAddrType;
              { 6403 }      AdminUUCPAddr        : STRING[255];
              { 6659 }      AdminSendLog         : BOOLEAN;
              { 6660 }      AdminSend2           : BOOLEAN;
              { 6661 }      AdminSend3           : BOOLEAN;
              { 6662 }      AdminSend4           : BOOLEAN;
              { 6663 }      AdminSend5           : BOOLEAN;
              { 6664 }      AdminSend6           : BOOLEAN;
              { 6665 }      AdminSend7           : BOOLEAN;
              { 6666 }      AdminSend8           : BOOLEAN;
              { 6667 }      AdminSend9           : BOOLEAN;
              { 6668 }      AdminSend10          : BOOLEAN;
              { 6669 }      AdminSend11          : BOOLEAN;
              { 6670 }      AdminSend12          : BOOLEAN;
              { 6671 }      AdminSend13          : BOOLEAN;
              { 6672 }      AdminSend14          : BOOLEAN;
              { 6673 }      AdminSend15          : BOOLEAN;
              { 6674 }      AdminSend16          : BOOLEAN;
              { 6675 }      TimeZone             : STRING[25];
              { 6701 }      CopyHeaders_FU       : BOOLEAN;
              { 6702 }      TimeSlicing          : BOOLEAN;
              { 6703 }      NetmailDecode        : BOOLEAN;
              { 6704 }      NetmailDecodePath    : STRING[79];
              { 6784 }      MaxRMailLineLen      : WORD;
              { 6786 }      MinimumDiskFree      : BYTE;
              { 6787 }      DiskFreeDrives       : STRING[26];
              { 6814 }      WrapLineLen          : BYTE;
              { 6815 }      RMailCorrect         : BYTE;
              { 6816 }      GateMsgId            : BYTE;
              { 6817 }      ForceNoBitmask       : BOOLEAN;
              { 6818 }      RescanFlagFile2      : STRING[79];
              { 6898 }      OrganizationInOrigin : BYTE;
              { 6899 }      AlwaysMimeQuotePrint : BOOLEAN;
              { 6900 }      SmtpForward          : STRING[50];
              { 6951 }      MaxXPostNewsgroups   : BYTE;
              { 6952 }      WildCatMsgLockDir    : STRING[79];
              { 7032 }      OpusDateFormat       : BOOLEAN;
              { 7033 }      MaxWildCatMsgLen     : LONGINT;
              { 7037 }      KillAreaFixMsgs      : BOOLEAN;
              { 7038 }      Colors               : ARRAY[1..21] OF BYTE;
              { 7059 }      FileDir              : STRING[79];
              { 7139 }      OutboundPktExtension : STRING[3];
              { 7143 }      EmptyTear            : BOOLEAN;
              { 7144 }      PackNetmail          : BOOLEAN;
              { 7145 }      TransChar2           : CHAR;
              { 7146 }      Allow8Bit            : BOOLEAN;

                            { new fields 0.94.pre9 }
              { 7147 }      Mailer_TFS           : BOOLEAN;
{ next byte at  7148 }END;
*)

{ 0.94.PRE10 }
TYPE Config25Record = RECORD
{ start at byte    0 }      SystemDir            : STRING[79];
              {   80 }      Sysop                : STRING[50];
              {  131 }      OLD_DupeChecks       : WORD;
              {  133 }      DoDupeChk            : BOOLEAN;
              {  134 }      MaxHandles           : BYTE;
              {  135 }      CacheTdbs            : BOOLEAN;
              {  136 }      TooLargePath         : STRING[79];
              {  216 }      LogFilePath          : STRING[79];
              {  296 }      NodeNrs              : ARRAY[1..100] OF FidoAddrType;
              { 3696 }      PointNets            : ARRAY[1..100] OF WORD;
              { 3896 }      Security_F           : ARRAY[1..2] OF BYTE;
              { 3898 }      Inbound_F            : ARRAY[1..2] OF STRING[79];
              { 4058 }      Outbound_F           : STRING[79];
              { 4138 }      MaxFidoMsgLen        : LONGINT;
              { 4142 }      MaxFidoArcLen        : LONGINT;
              { 4146 }      DefGroups_F          : ARRAY[1..16] OF BYTE;
              { 4162 }      FidoSystem           : BYTE;
              { 4163 }      FidoAcceptTO         : BOOLEAN;
              { 4164 }      FidoNetmailType      : BYTE;
              { 4165 }      FidoNetmailPath      : STRING[79];
              { 4245 }      FidoBadAreaType      : BYTE;
              { 4246 }      FidoBadPath          : STRING[79];
              { 4326 }      FidoDupeAreaType     : BYTE;
              { 4327 }      FidoDupePath         : STRING[79];
              { 4407 }      FidoAutoCreateType   : BYTE;
              { 4408 }      DefaultFidoMsgPath   : STRING[79];
              { 4488 }      StripSeenBy          : BOOLEAN;
              { 4489 }      AutoLink             : BOOLEAN;
              { 4490 }      ReplaceTear          : BOOLEAN;
              { 4491 }      DefNumbToKeep_F      : INTEGER;
              { 4493 }      DefDaystoKeep_F      : INTEGER;
              { 4495 }      FidoArcmailExtension : BYTE;
              { 4496 }      GatewayAKA           : BYTE;
              { 4497 }      NameSeparator        : CHAR;
              { 4498 }      Origins              : ARRAY[1..2] OF STRING[61];
              { 4622 }      WorldWide            : BOOLEAN;
              { 4623 }      DefGroups_U          : ARRAY[1..16] OF BYTE;
              { 4639 }      SpoolBaseDir         : STRING[79];
              { 4719 }      MaxDatLength         : LONGINT;
              { 4723 }      SmartHost            : STRING[10];
              { 4734 }      UUCPName             : STRING[10];
              { 4745 }      BackBone             : STRING[50];
              { 4796 }      Organization         : STRING[60];
              { 4857 }      Domains              : ARRAY[1..6] OF STRING[50];
              { 5163 }      ComprPrg_U           : ARRAY[0..1,0..1] OF STRING[79];
              { 5483 }      MaxSquishMsgLen      : LONGINT;
              { 5487 }      MaxJAMMsgLen         : LONGINT;
              { 5491 }      DefaultCompressor    : BYTE;
              { 5492 }      PackedAddresses      : BOOLEAN;
              { 5493 }      RescanFlagFile       : STRING[79];
              { 5573 }      DBridgeQueuePath     : STRING[79];
              { 5653 }      AreafixName          : STRING[10];
              { 5664 }      KillGatedNetmail     : BOOLEAN;
              { 5665 }      NewsfixName          : STRING[10];
              { 5676 }      UseSwapfile          : BOOLEAN;
              { 5677 }      SwapfilePath         : STRING[79];
              { 5757 }      SwapfileSize         : BYTE;
              { 5758 }      ReplyFSC35           : BOOLEAN;
              { 5759 }      HeaderFullname       : BOOLEAN;
              { 5760 }      LogDebug             : BOOLEAN;
              { 5761 }      LogSpoolTossed       : BOOLEAN;
              { 5762 }      LogFidoExtract       : BOOLEAN;
              { 5763 }      LogFidoTossed        : BOOLEAN;
              { 5764 }      LogTranslationFU     : BOOLEAN;
              { 5765 }      LogCheckFilter       : BOOLEAN;
              { 5766 }      LogXFix              : BOOLEAN;
              { 5767 }      LogCopyHeaders       : BOOLEAN;
              { 5768 }      LogIllegalHeaders    : BOOLEAN;
              { 5769 }      LogAreaFix           : BOOLEAN;
              { 5770 }      LogMapApply          : BOOLEAN;
              { 5771 }      LogNetmailImport     : BOOLEAN;
              { 5772 }      LogRODeny            : BOOLEAN;
              { 5773 }      LogPktEachEcho       : BOOLEAN;
              { 5774 }      LogUUCPOutbound      : BOOLEAN;
              { 5775 }      Log15                : BOOLEAN;
              { 5776 }      Log16                : BOOLEAN;
              { 5777 }      Log17                : BOOLEAN;
              { 5778 }      Log18                : BOOLEAN;
              { 5779 }      Log19                : BOOLEAN;
              { 5780 }      Log20                : BOOLEAN;
              { 5781 }      Log21                : BOOLEAN;
              { 5782 }      CopyHeaderNames      : ARRAY[1..30] OF STRING[15];
              { 6262 }      CopyHeaderHow        : ARRAY[1..30] OF BYTE;
              { 6292 }      GatewayUser          : STRING[36];
              { 6329 }      BounceUnknown        : BOOLEAN;
              { 6330 }      BounceSmall          : BOOLEAN;
              { 6331 }      AdminAddrType        : BYTE;
              { 6332 }      AdminFidoName        : STRING[36];
              { 6369 }      AdminFidoAddr        : FidoAddrType;
              { 6403 }      AdminUUCPAddr        : STRING[255];
              { 6659 }      AdminSendLog         : BOOLEAN;
              { 6660 }      AdminSend2           : BOOLEAN;
              { 6661 }      AdminSend3           : BOOLEAN;
              { 6662 }      AdminSend4           : BOOLEAN;
              { 6663 }      AdminSend5           : BOOLEAN;
              { 6664 }      AdminSend6           : BOOLEAN;
              { 6665 }      AdminSend7           : BOOLEAN;
              { 6666 }      AdminSend8           : BOOLEAN;
              { 6667 }      AdminSend9           : BOOLEAN;
              { 6668 }      AdminSend10          : BOOLEAN;
              { 6669 }      AdminSend11          : BOOLEAN;
              { 6670 }      AdminSend12          : BOOLEAN;
              { 6671 }      AdminSend13          : BOOLEAN;
              { 6672 }      AdminSend14          : BOOLEAN;
              { 6673 }      AdminSend15          : BOOLEAN;
              { 6674 }      AdminSend16          : BOOLEAN;
              { 6675 }      TimeZone             : STRING[25];
              { 6701 }      CopyHeaders_FU       : BOOLEAN;
              { 6702 }      TimeSlicing          : BOOLEAN;
              { 6703 }      NetmailDecode        : BOOLEAN;
              { 6704 }      NetmailDecodePath    : STRING[79];
              { 6784 }      MaxRMailLineLen      : WORD;
              { 6786 }      MinimumDiskFree      : BYTE;
              { 6787 }      DiskFreeDrives       : STRING[26];
              { 6814 }      WrapLineLen          : BYTE;
              { 6815 }      RMailCorrect         : BYTE;
              { 6816 }      GateMsgId            : BYTE;
              { 6817 }      ForceNoBitmask       : BOOLEAN;
              { 6818 }      RescanFlagFile2      : STRING[79];
              { 6898 }      OrganizationInOrigin : BYTE;
              { 6899 }      AlwaysMimeQuotePrint : BOOLEAN;
              { 6900 }      SmtpForward          : STRING[50];
              { 6951 }      MaxXPostNewsgroups   : BYTE;
              { 6952 }      WildCatMsgLockDir    : STRING[79];
              { 7032 }      OpusDateFormat       : BOOLEAN;
              { 7033 }      MaxWildCatMsgLen     : LONGINT;
              { 7037 }      KillAreaFixMsgs      : BOOLEAN;
              { 7038 }      Colors               : ARRAY[1..21] OF BYTE;
              { 7059 }      FileDir              : STRING[79];
              { 7139 }      OutboundPktExtension : STRING[3];
              { 7143 }      EmptyTear            : BOOLEAN;
              { 7144 }      PackNetmail          : BOOLEAN;
              { 7145 }      TransChar2           : CHAR;
              { 7146 }      Allow8Bit            : BOOLEAN;
              { 7147 }      Mailer_TFS           : BOOLEAN;

                            { new fields 0.94.pre10 }
              { 7148 }      NewUserFTNCompressor : BYTE;
              { 7149 }      NewUserMaxPktSize    : LONGINT;
              { 7153 }      NewUserMaxArcSize    : LONGINT;
              { 7157 }      NewUserSendFormat    : BYTE;
              { 7158 }      NewUserNotify        : BOOLEAN;
              { 7159 }      NewUserUUCPCompress  : BYTE;
              { 7160 }      NewUserAddBatchHdr   : BOOLEAN;
              { 7161 }      NewUserMailGrade     : CHAR;
              { 7162 }      NewUserNewsGrade     : CHAR;
              { 7163 }      RescanDaysLimit      : BYTE;
              { 7164 }      RescanMsgsLimit      : WORD;
{ next byte at  7166 }END;


{ 0.94.PRE30 }
TYPE Config26Record = RECORD
{ start at byte    0 }      SystemDir            : STRING[79];
              {   80 }      Sysop                : STRING[50];
              {  131 }      OLD_DupeChecks       : WORD;
              {  133 }      DoDupeChk            : BOOLEAN;
              {  134 }      MaxHandles           : BYTE;
              {  135 }      CacheTdbs            : BOOLEAN;
              {  136 }      TooLargePath         : STRING[79];
              {  216 }      LogFilePath          : STRING[79];
              {  296 }      NodeNrs              : ARRAY[1..100] OF FidoAddrType;
              { 3696 }      PointNets            : ARRAY[1..100] OF WORD;
              { 3896 }      Security_F           : ARRAY[1..2] OF BYTE;
              { 3898 }      Inbound_F            : ARRAY[1..2] OF STRING[79];
              { 4058 }      Outbound_F           : STRING[79];
              { 4138 }      MaxFidoMsgLen        : LONGINT;
              { 4142 }      MaxFidoArcLen        : LONGINT;
              { 4146 }      DefGroups_F          : ARRAY[1..16] OF BYTE;
              { 4162 }      FidoSystem           : BYTE;
              { 4163 }      FidoAcceptTO         : BOOLEAN;
              { 4164 }      FidoNetmailType      : BYTE;
              { 4165 }      FidoNetmailPath      : STRING[79];
              { 4245 }      FidoBadAreaType      : BYTE;
              { 4246 }      FidoBadPath          : STRING[79];
              { 4326 }      FidoDupeAreaType     : BYTE;
              { 4327 }      FidoDupePath         : STRING[79];
              { 4407 }      FidoAutoCreateType   : BYTE;
              { 4408 }      DefaultFidoMsgPath   : STRING[79];
              { 4488 }      StripSeenBy          : BOOLEAN;
              { 4489 }      AutoLink             : BOOLEAN;
              { 4490 }      ReplaceTear          : BOOLEAN;
              { 4491 }      DefNumbToKeep_F      : INTEGER;
              { 4493 }      DefDaystoKeep_F      : INTEGER;
              { 4495 }      FidoArcmailExtension : BYTE;
              { 4496 }      GatewayAKA           : BYTE;
              { 4497 }      NameSeparator        : CHAR;
              { 4498 }      Origins              : ARRAY[1..2] OF STRING[61];
              { 4622 }      WorldWide            : BOOLEAN;
              { 4623 }      DefGroups_U          : ARRAY[1..16] OF BYTE;
              { 4639 }      SpoolBaseDir         : STRING[79];
              { 4719 }      MaxDatLength         : LONGINT;
              { 4723 }      SmartHost            : STRING[10];
              { 4734 }      UUCPName             : STRING[10];
              { 4745 }      BackBone             : STRING[50];
              { 4796 }      Organization         : STRING[60];
              { 4857 }      Domains              : ARRAY[1..6] OF STRING[50];
              { 5163 }      ComprPrg_U           : ARRAY[0..1,0..1] OF STRING[79];
              { 5483 }      MaxSquishMsgLen      : LONGINT;
              { 5487 }      MaxJAMMsgLen         : LONGINT;
              { 5491 }      DefaultCompressor    : BYTE;
              { 5492 }      PackedAddresses      : BOOLEAN;
              { 5493 }      RescanFlagFile       : STRING[79];
              { 5573 }      DBridgeQueuePath     : STRING[79];
              { 5653 }      AreafixName          : STRING[10];
              { 5664 }      KillGatedNetmail     : BOOLEAN;
              { 5665 }      NewsfixName          : STRING[10];
              { 5676 }      UseSwapfile          : BOOLEAN;
              { 5677 }      SwapfilePath         : STRING[79];
              { 5757 }      SwapfileSize         : BYTE;
              { 5758 }      ReplyFSC35           : BOOLEAN;
              { 5759 }      HeaderFullname       : BOOLEAN;
              { 5760 }      LogDebug             : BOOLEAN;
              { 5761 }      LogSpoolTossed       : BOOLEAN;
              { 5762 }      LogFidoExtract       : BOOLEAN;
              { 5763 }      LogFidoTossed        : BOOLEAN;
              { 5764 }      LogTranslationFU     : BOOLEAN;
              { 5765 }      LogCheckFilter       : BOOLEAN;
              { 5766 }      LogXFix              : BOOLEAN;
              { 5767 }      LogCopyHeaders       : BOOLEAN;
              { 5768 }      LogIllegalHeaders    : BOOLEAN;
              { 5769 }      LogAreaFix           : BOOLEAN;
              { 5770 }      LogMapApply          : BOOLEAN;
              { 5771 }      LogNetmailImport     : BOOLEAN;
              { 5772 }      LogRODeny            : BOOLEAN;
              { 5773 }      LogPktEachEcho       : BOOLEAN;
              { 5774 }      LogUUCPOutbound      : BOOLEAN;
              { 5775 }      Log15                : BOOLEAN;
              { 5776 }      Log16                : BOOLEAN;
              { 5777 }      Log17                : BOOLEAN;
              { 5778 }      Log18                : BOOLEAN;
              { 5779 }      Log19                : BOOLEAN;
              { 5780 }      Log20                : BOOLEAN;
              { 5781 }      Log21                : BOOLEAN;
              { 5782 }      CopyHeaderNames      : ARRAY[1..30] OF STRING[15];
              { 6262 }      CopyHeaderHow        : ARRAY[1..30] OF BYTE;
              { 6292 }      GatewayUser          : STRING[36];
              { 6329 }      BounceUnknown        : BOOLEAN;
              { 6330 }      BounceSmall          : BOOLEAN;
              { 6331 }      AdminAddrType        : BYTE;
              { 6332 }      AdminFidoName        : STRING[36];
              { 6369 }      AdminFidoAddr        : FidoAddrType;
              { 6403 }      AdminUUCPAddr        : STRING[255];
              { 6659 }      AdminSendLog         : BOOLEAN;
              { 6660 }      AdminSend2           : BOOLEAN;
              { 6661 }      AdminSend3           : BOOLEAN;
              { 6662 }      AdminSend4           : BOOLEAN;
              { 6663 }      AdminSend5           : BOOLEAN;
              { 6664 }      AdminSend6           : BOOLEAN;
              { 6665 }      AdminSend7           : BOOLEAN;
              { 6666 }      AdminSend8           : BOOLEAN;
              { 6667 }      AdminSend9           : BOOLEAN;
              { 6668 }      AdminSend10          : BOOLEAN;
              { 6669 }      AdminSend11          : BOOLEAN;
              { 6670 }      AdminSend12          : BOOLEAN;
              { 6671 }      AdminSend13          : BOOLEAN;
              { 6672 }      AdminSend14          : BOOLEAN;
              { 6673 }      AdminSend15          : BOOLEAN;
              { 6674 }      AdminSend16          : BOOLEAN;
              { 6675 }      TimeZone             : STRING[25];
              { 6701 }      CopyHeaders_FU       : BOOLEAN;
              { 6702 }      TimeSlicing          : BOOLEAN;
              { 6703 }      NetmailDecode        : BOOLEAN;
              { 6704 }      NetmailDecodePath    : STRING[79];
              { 6784 }      MaxRMailLineLen      : WORD;
              { 6786 }      MinimumDiskFree      : BYTE;
              { 6787 }      DiskFreeDrives       : STRING[26];
              { 6814 }      WrapLineLen          : BYTE;
              { 6815 }      RMailCorrect         : BYTE;
              { 6816 }      GateMsgId            : BYTE;
              { 6817 }      ForceNoBitmask       : BOOLEAN;
              { 6818 }      RescanFlagFile2      : STRING[79];
              { 6898 }      OrganizationInOrigin : BYTE;
              { 6899 }      AlwaysMimeQuotePrint : BOOLEAN;
              { 6900 }      SmtpForward          : STRING[50];
              { 6951 }      MaxXPostNewsgroups   : BYTE;
              { 6952 }      WildCatMsgLockDir    : STRING[79];
              { 7032 }      OpusDateFormat       : BOOLEAN;
              { 7033 }      MaxWildCatMsgLen     : LONGINT;
              { 7037 }      KillAreaFixMsgs      : BOOLEAN;
  {++0.94.PRE30 7038 }      Colors               : ARRAY[1..26] OF BYTE;
              { 7064 }      FileDir              : STRING[79];
              { 7144 }      OutboundPktExtension : STRING[3];
              { 7148 }      EmptyTear            : BOOLEAN;
              { 7149 }      PackNetmail          : BOOLEAN;
              { 7150 }      TransChar2           : CHAR;
              { 7151 }      Allow8Bit            : BOOLEAN;
              { 7152 }      Mailer_TFS           : BOOLEAN;
              { 7153 }      NewUserFTNCompressor : BYTE;
              { 7154 }      NewUserMaxPktSize    : LONGINT;
              { 7158 }      NewUserMaxArcSize    : LONGINT;
              { 7162 }      NewUserSendFormat    : BYTE;
              { 7163 }      NewUserNotify        : BOOLEAN;
              { 7164 }      NewUserUUCPCompress  : BYTE;
              { 7165 }      NewUserAddBatchHdr   : BOOLEAN;
              { 7166 }      NewUserMailGrade     : CHAR;
              { 7167 }      NewUserNewsGrade     : CHAR;
              { 7168 }      RescanDaysLimit      : BYTE;
              { 7169 }      RescanMsgsLimit      : WORD;

                            { new fields 0.94.PRE30 }
              { 7171 }      RFCBadPath           : STRING[79];
              { 7251 }      FileBufferRoot       : STRING[79];
              { 7331 }      UUPCMode             : BOOLEAN;
{ next byte at  7332 }END;

{ 0.94.PER35 }
TYPE Config27Record = RECORD
{ start at byte    0 }      SystemDir            : STRING[79];
              {   80 }      Sysop                : STRING[50];
              {  131 }      OLD_DupeChecks       : WORD;
              {  133 }      DoDupeChk            : BOOLEAN;
              {  134 }      MaxHandles           : BYTE;
              {  135 }      CacheTdbs            : BOOLEAN;
              {  136 }      TooLargePath         : STRING[79];
              {  216 }      LogFilePath          : STRING[79];
              {  296 }      NodeNrs              : ARRAY[1..100] OF FidoAddrType;
              { 3696 }      PointNets            : ARRAY[1..100] OF WORD;
              { 3896 }      Security_F           : ARRAY[1..2] OF BYTE;
              { 3898 }      Inbound_F            : ARRAY[1..2] OF STRING[79];
              { 4058 }      Outbound_F           : STRING[79];
              { 4138 }      MaxFidoMsgLen        : LONGINT;
              { 4142 }      MaxFidoArcLen        : LONGINT;
              { 4146 }      DefGroups_F          : ARRAY[1..16] OF BYTE;
              { 4162 }      FidoSystem           : BYTE;
              { 4163 }      FidoAcceptTO         : BOOLEAN;
              { 4164 }      FidoNetmailType      : BYTE;
              { 4165 }      FidoNetmailPath      : STRING[79];
              { 4245 }      FidoBadAreaType      : BYTE;
              { 4246 }      FidoBadPath          : STRING[79];
              { 4326 }      FidoDupeAreaType     : BYTE;
              { 4327 }      FidoDupePath         : STRING[79];
              { 4407 }      FidoAutoCreateType   : BYTE;
              { 4408 }      DefaultFidoMsgPath   : STRING[79];
              { 4488 }      StripSeenBy          : BOOLEAN;
              { 4489 }      AutoLink             : BOOLEAN;
              { 4490 }      ReplaceTear          : BOOLEAN;
              { 4491 }      DefNumbToKeep_F      : INTEGER;
              { 4493 }      DefDaystoKeep_F      : INTEGER;
              { 4495 }      FidoArcmailExtension : BYTE;
              { 4496 }      GatewayAKA           : BYTE;
              { 4497 }      NameSeparator        : CHAR;
              { 4498 }      Origins              : ARRAY[1..2] OF STRING[61];
              { 4622 }      WorldWide            : BOOLEAN;
              { 4623 }      DefGroups_U          : ARRAY[1..16] OF BYTE;
              { 4639 }      SpoolBaseDir         : STRING[79];
              { 4719 }      MaxDatLength         : LONGINT;
              { 4723 }      SmartHost            : STRING[10];
              { 4734 }      UUCPName             : STRING[10];
              { 4745 }      BackBone             : STRING[50];
              { 4796 }      Organization         : STRING[60];
              { 4857 }      Domains              : ARRAY[1..6] OF STRING[50];
              { 5163 }      ComprPrg_U           : ARRAY[0..1,0..1] OF STRING[79];
              { 5483 }      MaxSquishMsgLen      : LONGINT;
              { 5487 }      MaxJAMMsgLen         : LONGINT;
              { 5491 }      DefaultCompressor    : BYTE;
              { 5492 }      PackedAddresses      : BOOLEAN;
              { 5493 }      RescanFlagFile       : STRING[79];
              { 5573 }      DBridgeQueuePath     : STRING[79];
 { - Removed }{ 5653 }      OLD_AreafixName      : STRING[10];
              { 5664 }      KillGatedNetmail     : BOOLEAN;
              { 5665 }      NewsfixName          : STRING[10];
              { 5676 }      UseSwapfile          : BOOLEAN;
              { 5677 }      SwapfilePath         : STRING[79];
              { 5757 }      SwapfileSize         : BYTE;
              { 5758 }      ReplyFSC35           : BOOLEAN;
              { 5759 }      HeaderFullname       : BOOLEAN;
              { 5760 }      LogDebug             : BOOLEAN;
              { 5761 }      LogSpoolTossed       : BOOLEAN;
              { 5762 }      LogFidoExtract       : BOOLEAN;
              { 5763 }      LogFidoTossed        : BOOLEAN;
              { 5764 }      LogTranslationFU     : BOOLEAN;
              { 5765 }      LogCheckFilter       : BOOLEAN;
              { 5766 }      LogXFix              : BOOLEAN;
              { 5767 }      LogCopyHeaders       : BOOLEAN;
              { 5768 }      LogIllegalHeaders    : BOOLEAN;
              { 5769 }      LogAreaFix           : BOOLEAN;
              { 5770 }      LogMapApply          : BOOLEAN;
              { 5771 }      LogNetmailImport     : BOOLEAN;
              { 5772 }      LogRODeny            : BOOLEAN;
              { 5773 }      LogPktEachEcho       : BOOLEAN;
              { 5774 }      LogUUCPOutbound      : BOOLEAN;
              { 5775 }      Log15                : BOOLEAN;
              { 5776 }      Log16                : BOOLEAN;
              { 5777 }      Log17                : BOOLEAN;
              { 5778 }      Log18                : BOOLEAN;
              { 5779 }      Log19                : BOOLEAN;
              { 5780 }      Log20                : BOOLEAN;
              { 5781 }      Log21                : BOOLEAN;
              { 5782 }      CopyHeaderNames      : ARRAY[1..30] OF STRING[15];
              { 6262 }      CopyHeaderHow        : ARRAY[1..30] OF BYTE;
              { 6292 }      GatewayUser          : STRING[36];
              { 6329 }      BounceUnknown        : BOOLEAN;
              { 6330 }      BounceSmall          : BOOLEAN;
              { 6331 }      AdminAddrType        : BYTE;
              { 6332 }      AdminFidoName        : STRING[36];
              { 6369 }      AdminFidoAddr        : FidoAddrType;
              { 6403 }      AdminUUCPAddr        : STRING[255];
              { 6659 }      AdminSendLog         : BOOLEAN;
              { 6660 }      AdminSend2           : BOOLEAN;
              { 6661 }      AdminSend3           : BOOLEAN;
              { 6662 }      AdminSend4           : BOOLEAN;
              { 6663 }      AdminSend5           : BOOLEAN;
              { 6664 }      AdminSend6           : BOOLEAN;
              { 6665 }      AdminSend7           : BOOLEAN;
              { 6666 }      AdminSend8           : BOOLEAN;
              { 6667 }      AdminSend9           : BOOLEAN;
              { 6668 }      AdminSend10          : BOOLEAN;
              { 6669 }      AdminSend11          : BOOLEAN;
              { 6670 }      AdminSend12          : BOOLEAN;
              { 6671 }      AdminSend13          : BOOLEAN;
              { 6672 }      AdminSend14          : BOOLEAN;
              { 6673 }      AdminSend15          : BOOLEAN;
              { 6674 }      AdminSend16          : BOOLEAN;
              { 6675 }      TimeZone             : STRING[25];
              { 6701 }      CopyHeaders_FU       : BOOLEAN;
              { 6702 }      TimeSlicing          : BOOLEAN;
              { 6703 }      NetmailDecode        : BOOLEAN;
              { 6704 }      NetmailDecodePath    : STRING[79];
              { 6784 }      MaxRMailLineLen      : WORD;
              { 6786 }      MinimumDiskFree      : BYTE;
              { 6787 }      DiskFreeDrives       : STRING[26];
              { 6814 }      WrapLineLen          : BYTE;
              { 6815 }      RMailCorrect         : BYTE;
              { 6816 }      GateMsgId            : BYTE;
              { 6817 }      ForceNoBitmask       : BOOLEAN;
              { 6818 }      RescanFlagFile2      : STRING[79];
              { 6898 }      OrganizationInOrigin : BYTE;
              { 6899 }      AlwaysMimeQuotePrint : BOOLEAN;
              { 6900 }      SmtpForward          : STRING[50];
              { 6951 }      MaxXPostNewsgroups   : BYTE;
              { 6952 }      WildCatMsgLockDir    : STRING[79];
              { 7032 }      OpusDateFormat       : BOOLEAN;
              { 7033 }      MaxWildCatMsgLen     : LONGINT;
              { 7037 }      KillAreaFixMsgs      : BOOLEAN;
              { 7038 }      Colors               : ARRAY[1..26] OF BYTE;
              { 7064 }      FileDir              : STRING[79];
              { 7144 }      OutboundPktExtension : STRING[3];
              { 7148 }      EmptyTear            : BOOLEAN;
              { 7149 }      PackNetmail          : BOOLEAN;
              { 7150 }      TransChar2           : CHAR;
              { 7151 }      Allow8Bit            : BOOLEAN;
              { 7152 }      Mailer_TFS           : BOOLEAN;
              { 7153 }      NewUserFTNCompressor : BYTE;
              { 7154 }      NewUserMaxPktSize    : LONGINT;
              { 7158 }      NewUserMaxArcSize    : LONGINT;
              { 7162 }      NewUserSendFormat    : BYTE;
              { 7163 }      NewUserNotify        : BOOLEAN;
              { 7164 }      NewUserUUCPCompress  : BYTE;
              { 7165 }      NewUserAddBatchHdr   : BOOLEAN;
              { 7166 }      NewUserMailGrade     : CHAR;
              { 7167 }      NewUserNewsGrade     : CHAR;
              { 7168 }      RescanDaysLimit      : BYTE;
              { 7169 }      RescanMsgsLimit      : WORD;

                            { new fields 0.94.PRE30 }
              { 7171 }      RFCBadPath           : STRING[79];
              { 7251 }      FileBufferRoot       : STRING[79];
              { 7331 }      UUPCMode             : BOOLEAN;
              { 7332 }      AreafixNames         : ARRAY [1..5] OF STRING [36];
{ next byte at  7517 }END;

CONST Database_WtrCfg : DatabaseRecord =
       (Filename : 'WTRCFG';
        Proc     : UpgradeCfg;
        Header   : 'WtrGate Config ';
        Oldest   : 9;
        Latest   : 27;
        RecSizes : (0, { 01 }
                    0, { 02 }
                    0, { 03 }
                    0, { 04 }
                    0, { 05 }
                    0, { 06 }
                    0, { 07 }
                    0, { 08 }
                    6796,  {SizeOf (Config09Record),}
                    7196,  {SizeOf (Config10Record),}
                    7542,  {SizeOf (Config11Record),}
                    7568,  {SizeOf (Config12Record),}
                    7572,  {SizeOf (Config13Record),}
                    SizeOf (Config14Record),
                    SizeOf (Config15Record),
                    17661, {SizeOf (Config16Record),}
                    17997, {SizeOf (Config17Record),}
                    SizeOf (Config18Record),
                    17893, {SizeOf (Config19Record),}
                    17894, {Sizeof (Config20Record),}
                    18031, {Sizeof (Config21Record),}
                    Sizeof (Config22Record),
                    7147,  {SizeOf (Config23Record),}
                    7148,  {SizeOf (Config24Record),}
                    SizeOf (Config25Record),
                    SizeOf (Config26Record),
                    SizeOf (Config27Record),
                    0, { 28 }
                    0, { 29 }
                    0, { 30 }
                    0, { 31 }
                    0, { 32 }
                    0, { 33 }
                    0, { 34 }
                    0, { 35 }
                    0, { 36 }
                    0, { 37 }
                    0, { 38 }
                    0, { 39 }
                    0  { 40 }
                  )
        );

IMPLEMENTATION

USES Ramon;

{--------------------------------------------------------------------------}
{ UpgradeCfg                                                               }
{                                                                          }
{ Deze routine upgrade het Config record.                                  }
{                                                                          }
PROCEDURE UpgradeCfg (VAR Rec; VAR Version : BYTE);

TYPE FtnArchivers = RECORD
                          Archive   : ARRAY[0..7] OF STRING[79];
                          Unarchive : ARRAY[0..8] OF STRING[79];
                    END;

TYPE MapRecord = RECORD
                       Limit    : BYTE;
                       InOut    : BYTE;
                       Where    : BYTE;
                       Search   : STRING[80];
                       Action   : BYTE;
                       Note     : BOOLEAN;
                       AddrType : BYTE;
                       ToName   : STRING[50];
                       ToAKA    : FidoAddrType;
                       ToEmail  : STRING[50];
                       Argument : STRING[80];
                 END;

TYPE FlexHeaderRecord = RECORD
                              Length   : WORD;  { including header }
                              FlexType : WORD;  { one of FLEX_* }
                        END;

CONST FLEX_HEADER   = 'WaterGate Flex Config v01'#26;

VAR Lp        : BYTE;
    FlexFile  : FILE;
    IORes     : BYTE;
    Header    : STRING[30];
    Archivers : FtnArchivers;
    Mapper    : MapRecord;
    FlexHdr   : FlexHeaderRecord;

BEGIN
     IF (Version = 9) THEN
     BEGIN
          { 09 -> 10

             Loads of new fields:

             UseSwapfile       : BOOLEAN;
             SwapfilePath      : STRING[79];
             SwapfileSize      : BYTE;
             ReplyFSC35        : BOOLEAN;
             HeaderFullname    : BOOLEAN;
             LogDebug          : BOOLEAN;
             LogSpoolTossed    : BOOLEAN;
             LogFidoExtract    : BOOLEAN;
             LogFidoTossed     : BOOLEAN;
             LogTranslationFU  : BOOLEAN;
             LogCheckFilter    : BOOLEAN;
             LogXFix           : BOOLEAN;
             LogCopyHeaders    : BOOLEAN;
             LogIllegalHeaders : BOOLEAN;
             LogAreaFix        : BOOLEAN;
             Log10             : BOOLEAN;
             Log11             : BOOLEAN;
             Log12             : BOOLEAN;
             Log13             : BOOLEAN;
             Log14             : BOOLEAN;
             Log15             : BOOLEAN;
             Log16             : BOOLEAN;
             Log17             : BOOLEAN;
             Log18             : BOOLEAN;
             Log19             : BOOLEAN;
             Log20             : BOOLEAN;
             Log21             : BOOLEAN;
             CopyHeaderNames   : ARRAY[1..15] OF STRING[15];
             CopyHeaderHow     : ARRAY[1..15] OF BYTE;
             GatewayUser       : STRING[36];
          }

          WITH Config14Record (Rec) DO
          BEGIN
               UseSwapfile:=TRUE;
               SwapfilePath:='WTRGATE.SWP';
               SwapfileSize:=5;
               GatewayUser:='UUCP';

               HeaderFullname:=TRUE;
               ReplyFSC35:=TRUE;

               LogDebug:=TRUE;

               CopyHeaderNames[1]:='From:';
               CopyHeaderHow[1]:=1; {=chKludge}

               CopyHeaderNames[2]:='To:';
               CopyHeaderHow[2]:=1;

               CopyHeaderNames[3]:='Subject:';
               CopyHeaderHow[3]:=1;

               CopyHeaderNames[4]:='Date:';
               CopyHeaderHow[4]:=1;

               CopyHeaderNames[5]:='Message-Id:';
               CopyHeaderNames[6]:='Organization:';
               CopyHeaderNames[7]:='From';
               CopyHeaderNames[8]:='Path:';
               CopyHeaderNames[9]:='Newsgroups:';
          END;

          Version:=10;
     END;

     IF (Version = 10) THEN
     BEGIN
          { 10 -> 11

            Loads of new fields again:

            BounceUnknown : BOOLEAN;
            BounceSmall   : BOOLEAN;
            AdminAddrType : BYTE;
            AdminFidoName : STRING[36];
            AdminFidoAddr : FidoAddrType;
            AdminUUCPAddr : STRING[255];
            AdminSendLog  : BOOLEAN;
            AdminSend2    : BOOLEAN;
            AdminSend3    : BOOLEAN;
            AdminSend4    : BOOLEAN;
            AdminSend5    : BOOLEAN;
            AdminSend6    : BOOLEAN;
            AdminSend7    : BOOLEAN;
            AdminSend8    : BOOLEAN;
            AdminSend9    : BOOLEAN;
            AdminSend10   : BOOLEAN;
            AdminSend11   : BOOLEAN;
            AdminSend12   : BOOLEAN;
            AdminSend13   : BOOLEAN;
            AdminSend14   : BOOLEAN;
            AdminSend15   : BOOLEAN;
            AdminSend16   : BOOLEAN;
          }

          { all initialized to false / empty / 0 }

          Version:=11;
     END;

     IF (Version = 11) THEN
     BEGIN
          { 11 -> 12

            Nieuwe TimeZone veld aan het einde toegevoegd
          }

          { OLD0 zit op dezelfde plek in Config12Record en Config13Record }
          WITH Config14Record (Rec) DO
               TimeZone:=OLD0;

          Version:=12;
     END;

     IF (Version = 12) THEN
     BEGIN
          { 12 -> 13

            Volgende velden toegevoegd:
              CopyHeaders_FU : BOOLEAN;
              MailGrade      : CHAR;
              NewsGrade      : CHAR;
              TimeSlicing    : BOOLEAN;

            CopyHeaders_FU moet TRUE worden
            MailGrade moet 'A' worden
            NewsGrade moet 'Z' worden
            TimeSlincing moet TRUE worden
          }

          WITH Config14Record (Rec) DO
          BEGIN
               CopyHeaders_FU:=TRUE;
               MailGrade:='A';
               NewsGrade:='Z';
               TimeSlicing:=TRUE;
          END; { with }

          Version:=13;
     END;

     IF (Version = 13) THEN
     BEGIN
          { 13 -> 14

            Volgende velden toegevoegd:
               NetmailDecode     : BOOLEAN;
               NetmailDecodePath : STRING[79];
               PrivateDecode     : BOOLEAN;
               PrivateDecodePath : STRING[79];

            Zijn allemaal al op 0 gesteld en vereist geen actie
          }

          Version:=14;
     END;

     IF (Version = 14) THEN
     BEGIN
          { 14 -> 15

            Lots of shit:
            OLD0,OLD1,OLD2 en OLD3 verwijderd
            Nieuwe velden, initialiseren op:
              MaxRMailLineLen        : 250
              MinimumDiskFree        : 5
              DiskFreeDrives         : ''
              WrapLineLen            : 75
              RMailCorrect           : 2  (ScanTo)
              NodeNrs[21..100]       : op 0 zetten
              PointNets[21..100]     : op 0 zetten
              AreafixForward[11..50] : op 0 zetten
              UUCPForward[11..50]    : op 0 zetten
            Hoop velden verhuisd (zie record config): gebruik move
            RAR en UNRAR toegevoegd: initialiseren
            OP1 en GUS doorschuiven

          }

          { @6477 +9893 L1257 }
          Move (BA(Rec)[6477],BA(Rec)[6477+9893],1257);

          { @5857 +7413 L620 }
          Move (BA(Rec)[5857],BA(Rec)[5857+7413],620);

          { @2953 +2973 L2904 }
          Move (BA(Rec)[2953],BA(Rec)[2953+2973],2904);

          { @2891 +3028 L7 }
          Move (BA(Rec)[2891],BA(Rec)[2891+3028],7);

          { @2549 +3029 L341 }
          Move (BA(Rec)[2549],BA(Rec)[2549+3029],341);

          { @1027 +2869 L242 }
          Move (BA(Rec)[1027],BA(Rec)[1027+2869],242);

          { @987 +2709 L40 }
          Move (BA(Rec)[987],BA(Rec)[987+2709],40);

          { @146 -11 L841 }
          Move (BA(Rec)[146],BA(Rec)[146-11],841);

          { @0 +0 L135 }
          { no action }

          { initialiseer de nieuwe velden }
          WITH Config15Record (Rec) DO
          BEGIN
               MaxRMailLineLen:=0;
               MinimumDiskFree:=5;
               DiskFreeDrives:='';
               WrapLineLen:=75;
               RMailCorrect:=2;

               { verhuis de compress / decompress programs manually }
               { doe *voordat* fillchar the boel overschrijft.      }
               FOR Lp:=0 TO 5 DO
               BEGIN
                    ComprPrgs_F[0,Lp]:=Config14Record (Rec).ComprPrgs_F[0,Lp];
                    ComprPrgs_F[1,Lp]:=Config14Record (Rec).ComprPrgs_F[1,Lp];
               END;

               { Move GUS and OP1 }
               ComprPrgs_F[0,7]:=Config14Record (Rec).ComprPrgs_F[0,6];
               ComprPrgs_F[1,7]:=Config14Record (Rec).ComprPrgs_F[1,6];
               ComprPrgs_F[0,8]:=Config14Record (Rec).ComprPrgs_F[0,7];
               ComprPrgs_F[1,8]:=Config14Record (Rec).ComprPrgs_F[1,7];

               { nieuwe settings for RAR / UNRAR }
               ComprPrgs_F[0,6]:='RAR A';
               ComprPrgs_F[1,6]:='RAR E';

               FillChar (NodeNrs[21],80*SizeOf (FidoAddrType),0);
               FillChar (PointNets[21],80*2,0);
               FillChar (AreafixForward[11],40*SizeOf (AreafixForwardRecord),0);
               FillChar (UUCPForward[11],40*SizeOf (UUCPForwardRecord),0);

               { initialiseer Areafix forward lists a bit more }
               FOR Lp:=11 TO 50 DO
                   AreafixForward[Lp].AreaManager:='Areafix';

          END; { with }

          Version:=15;
     END;

     IF (Version = 15) THEN
     BEGIN
          { 15 -> 16

            Volgende velden toegevoegd:
               GateMsgId      : BYTE;
               ForceNoBitmask : BOOLEAN;

            Zijn allemaal al op 0 gesteld en vereist geen actie
          }

          Version:=16;
     END;

     IF (Version = 16) THEN
     BEGIN
          { 16 -> 17

            * Copy Headers met 15 verlengd (van 15 naar 30)
            * Toegevoegd: RescanFlagFile2 : STRING[79];

          { @17052 +255 L609 }
          Move (BA(Rec)[17052],BA(Rec)[17052+255],609);

          { @17037 +240 L15  }
          Move (BA(Rec)[17037],BA(Rec)[17037+240],15);

          { @17037 add L240, initialize to 0 }
          FillChar (BA(Rec)[17037],240,0);

          { @17292 add L15, initialize at 0 }
          FillChar (BA(Rec)[17292],15,0);

          { @17916 add L80+L1, initialize to 0 }
          FillChar (BA(Rec)[17916],81,0);

          Version:=17;
     END;

     IF (Version = 17) THEN
     BEGIN
          { 17 -> 18

            - GroupFlagType has changed from Longint to 16 bytes array:
               Default_F  @5590 +12 L12407
               Default_U  @6055 +24 L11942
            - Areafix and newsfix group numbers are 0-based: add 1
          }

          { eerste de bovenste, maar die verplaatst ook de tweede! }
          Move (BA(Rec)[5590],BA(Rec)[5590+12],12407);

          { daarna de tweede }
          Move (BA(Rec)[6055+12],BA(Rec)[6055+12+12],11942);

          { voor de zekerheid nog even de group entries 27..128 leeg maken }

          { in de nieuwe offsets! }
          BA(Rec)[5586+3]:=BA(Rec)[5586+3] AND 3;
          BA(Rec)[6063+3]:=BA(Rec)[6063+3] AND 3;

          FOR Lp:=4 TO 15 DO
          BEGIN
               BA(Rec)[5586+Lp]:=0;
               BA(Rec)[6063+Lp]:=0;
          END;

          WITH Config18Record (Rec) DO
               FOR Lp:=1 TO 50 DO
               BEGIN
                    Inc (AreaFixForward[Lp].Group);
                    Inc (UucpForward[Lp].Group);
               END;

          Version:=18;
     END;

     IF (Version = 18) THEN
     BEGIN
          { 18 -> 19

            Removed character conversion table (128..255)

          }

          { @16522 -128 L1499 }

          Move (BA(Rec)[16522],BA(Rec)[16522-128],1499);

          Version:=19;
     END;

     IF (Version = 19) THEN
     BEGIN
          { 19 -> 20

            Added AlwaysMimeQuotePrint
            We want to default to TRUE, so we change it

          }

          Config22Record (Rec).AlwaysMimeQuotePrint:=TRUE;

          Version:=20;
     END;

     IF (Version = 20) THEN
     BEGIN
          { 20 -> 21

            Added SmtpForward and MaxXPostNewsgroups

          }

          With Config22Record (Rec) DO
          BEGIN
               SmtpForward:='';
               MaxXPostNewsgroups:=255;
               WildCatMsgLockDir:='';
               OpusDateFormat:=FALSE;
          END;

          Version:=21;
     END;

     IF (Version = 21) THEN
     BEGIN
          { 21 -> 22

            Added KillAreaFixMsgs and Colors array

          }

          With Config22Record (Rec) DO
          BEGIN
               KillAreaFixMsgs:=FALSE;
               Colors[1]:=$12;  { desktop }
               Colors[2]:=$31;  { title }
               Colors[3]:=$1F;  { border, no focus }
               Colors[4]:=$1E;  { border, focus }
               Colors[5]:=$1E;  { window background }
               Colors[6]:=$08;  { window shadow }
               Colors[7]:=$1F;  { window text }
               Colors[8]:=$4E;  { error window }
               Colors[9]:=$2F;  { message window }
               Colors[10]:=$74; { key name }
               Colors[11]:=$70; { key descr }
               Colors[12]:=$F4; { key blink }
               Colors[13]:=$3F; { help }
               Colors[14]:=$3E; { help, highlight }
               Colors[15]:=$31; { help, link }
               Colors[16]:=$1A; { tagged item }
               Colors[17]:=$4F; { untaggable item }
               Colors[18]:=$17; { disabled field }
               Colors[19]:=$70; { cursor bar }
               Colors[20]:=$F0; { cursor on tagged item }
               Colors[21]:=$1E; { select menu/list item }
          END;

          Version:=22;
     END;

     IF (Version = 22) THEN
     BEGIN
          { 22 -> 23

            Removed Fido Compression programs (now in config.tdb)
            Removed Private mail scan options
            Removed AreaFix and newsfix forwarding (now in config.tdb)
            Removed decode option for privmail area

            Added:
               FileDir
               OutboundPktExtension
               EmptyTear
               PackNetmail
               TransChar2

            Started flex config.tdb
          }

          Assign (FlexFile,FLEX_FILENAME);
          {$I-} ReWrite (FlexFile,1); {$I+} IORes:=IOResult;
          IF (IORes <> 0) THEN
             WriteLn ('Failed to create '+FLEX_FILENAME)
          ELSE BEGIN
               WriteLn ('Creating '+FLEX_FILENAME);

               Header:=FLEX_HEADER;
               BlockWrite (FlexFile,Header[1],26);

               { write the compression programs to config.tdb for DOS and OS/2 }
               FillChar (Archivers,SizeOf (FtnArchivers),0);

               WITH Config22Record (Rec) DO
               BEGIN
                    FOR Lp:=0 TO 7 DO
                        Archivers.Archive[Lp]:=ComprPrgs_F[0,Lp];

                    FOR Lp:=0 TO 8 DO
                        Archivers.Unarchive[Lp]:=ComprPrgs_F[1,Lp];
               END; { with }

               FlexHdr.Length:=SizeOf (FtnArchivers)+SizeOf (FlexHeaderRecord);

               FlexHdr.FlexType:=$0001; { DOS archivers }
               BlockWrite (FlexFile,FlexHdr,SizeOf (FlexHdr));
               BlockWrite (FlexFile,Archivers,SizeOf (FtnArchivers));

               FlexHdr.FlexType:=$0002; { OS2 archivers }
               BlockWrite (FlexFile,FlexHdr,SizeOf (FlexHdr));
               BlockWrite (FlexFile,Archivers,SizeOf (FtnArchivers));


               { write used areafix forwarding records to config.tdb }
               FlexHdr.FlexType:=$0003; { areafix forwarding }
               FlexHdr.Length:=SizeOf (AreafixForwardRecord)+SizeOf (FlexHeaderRecord);

               FOR Lp:=1 TO 50 DO
                   WITH Config22Record (Rec).AreafixForward[Lp].UplinkAddress DO
                        IF (Zone+Net+Node+Point > 0) THEN
                        BEGIN
                             BlockWrite (FlexFile,FlexHdr,SizeOf (FlexHeaderRecord));
                             BlockWrite (FlexFile,Config22Record (Rec).AreafixForward[Lp],SizeOf (AreafixForwardRecord));
                        END;

               { write used newsfix forwarding records to config.tdb }
               FlexHdr.FlexType:=$0004; { newsfix forwarding }
               FlexHdr.Length:=SizeOf (UUCPForwardRecord)+SizeOf (FlexHeaderRecord);

               FOR Lp:=1 TO 50 DO
                   WITH Config22Record (Rec).UUCPForward[Lp] DO
                        IF (DeleteBackSpaces (UUCPName) <> '') OR
                           (DeleteBackSpaces (AreaListPath) <> '') THEN
                        BEGIN
                             BlockWrite (FlexFile,FlexHdr,SizeOf (FlexHeaderRecord));
                             BlockWrite (FlexFile,Config22Record (Rec).UUCPForward[Lp],SizeOf (UUCPForwardRecord));
                        END;


               { write private mail scan to config.tdb }
               FlexHdr.FlexType:=$0101; { mapper }
               FlexHdr.Length:=SizeOf (MapRecord)+SizeOf (FlexHeaderRecord);

               FillChar (Mapper,SizeOf (Mapper),0);
               Mapper.Limit:=$0F; { all message types }
               Mapper.InOut:=1; { inbound only }
               Mapper.Action:=1; { copy }
               Mapper.Note:=TRUE;
               Mapper.Argument:=PrivAreaName;

               WITH Config22Record (Rec) DO
               BEGIN
                    FOR Lp:=1 TO 10 DO
                        IF (PrivmailOption[Lp] <> '') THEN
                        BEGIN
                             Mapper.Search:=PrivmailOption[Lp];
                             { PrivmailSelect = 0,1,2 (from,to,subj) }
                             { Mapper.Where   = 3,4,5 (from,to,subj) }
                             Mapper.Where:=PrivmailSelect[Lp]+3;

                             BlockWrite (FlexFile,FlexHdr,SizeOf (FlexHeaderRecord));
                             BlockWrite (FlexFile,Mapper,SizeOf (MapRecord));
                        END; { if, for }

                    { set a flag so upgrade creates an area definition }
                    CreateP:=TRUE;
                    PType:=PrivmailType;
                    PPath:=PrivmailPath;
                    PDecode:=PrivateDecode;
                    PDecPath:=PrivateDecodePath;
               END;

               Close (FlexFile);
          END; { else }


          { remove old fields }

          { @5578 -> 4138 L1345 }
          Move (BA(Rec)[5578],BA(Rec)[4138],1345);

          { @16394 -> 5483 L1219  }
          Move (BA(Rec)[16394],BA(Rec)[5483],1219);

          { @17615 -> 6702 L82 }
          Move (BA(Rec)[17615],BA(Rec)[6702],82);

          { @17778 -> 6784 L362 }
          Move (BA(Rec)[17778],BA(Rec)[6784],362);

          { fill the rest with zeros again so we can extend and assume }
          { the same value again.                                      }
          FillChar (BA(Rec)[7147],MAXLEN_REC-7147,0);

          { initialize new fields }
          WITH Config25Record (Rec) DO
          BEGIN
               FileDir:='';
               OutboundPktExtension:='QQQ';
               EmptyTear:=FALSE;
               PackNetmail:=FALSE;
               TransChar2:=' ';
               Allow8Bit:=FALSE;
          END;

          Version:=23;
     END;

     IF (Version = 23) THEN
     BEGIN
          { 23 -> 24

            Added Mailer_KFS_TFS field
            DupeChecks now OLD_DupeChecks (not removed yet)

          }

          With Config25Record (Rec) DO
          BEGIN
               Mailer_TFS:=TRUE;
          END;

          Version:=24;
     END;

     IF (Version = 24) THEN
     BEGIN
          { 24 -> 25

            Added new fields

          }

          WITH Config25Record (Rec) DO
          BEGIN
               NewUserFTNCompressor:=0; { ARC }
               NewUserMaxPktSize:=0;
               NewUserMaxArcSize:=0;
               NewUserSendFormat:=0; { normal }
               NewUserNotify:=TRUE;
               NewUserUUCPCompress:=0; { none }
               NewUserAddBatchHdr:=FALSE; { no }
               NewUserMailGrade:='A';
               NewUserNewsGrade:='Z';
               RescanDaysLimit:=0;
               RescanMsgsLimit:=0;
          END; { with }

          Version:=25;
     END;

     IF (Version = 25) THEN
     BEGIN
          { 25 -> 26

            Increased number of color fields from 21 to 26
            Added RFCBadPath
            Added FileBufferRoot
            Added UUPCMode
          }

          { shift everything after Colors[21] up 5 bytes }
          { @7059 -> +5 L107 }
          Move (BA(Rec)[7059],BA(Rec)[7064],107);

          WITH Config26Record (Rec) DO
          BEGIN
               Colors[22]:=$30;
               Colors[23]:=$3F;
               Colors[24]:=$1F;
               Colors[25]:=$3E;
               Colors[26]:=$1E;

               RFCBadPath:='';
               FileBufferRoot:='';
               UUPCMode:=FALSE;
          END; { with }

          Version:=26;
     END;

     IF (Version = 26) THEN
     BEGIN
          { 26 -> 27

            Replaced AreafixName with 5 Areafix names (length increased from
            10 to 36 as well).
          }
          WITH Config27Record (Rec) DO
          BEGIN
               FillChar (AreafixNames, SizeOf (AreafixNames), 0);
               AreafixNames [1] := OLD_Areafixname;
               FillChar (OLD_Areafixname, Sizeof (OLD_AreafixName), 0);
          END;

          Version := 27;
     END;
END;


TYPE UpgradeProcType = PROCEDURE (VAR Rec; VAR Version : BYTE);

END.
