home *** CD-ROM | disk | FTP | other *** search
/ DP Tool Club 31 / CDASC_31_1996_juillet_aout.iso / internet / rnr214.zip / RNRCONF.PAS < prev    next >
Pascal/Delphi Source File  |  1996-03-23  |  5KB  |  192 lines

  1. unit rnrconf;
  2.  
  3. {
  4.  
  5. rnrconf.pas - configuration stuff - mostly removed from rnrglob.pas
  6.  
  7. }
  8.  
  9. {$I rnr-def.pas}
  10.  
  11. interface
  12.  
  13. uses rnrglob;
  14.  
  15. const
  16.   maxconfigelementnamelen=30;  {max 27 as of 1995-11-11}
  17.   configmemoryreserved=4096;  {for savedconfighead*}
  18.  
  19. type
  20.   configelementname=string[maxconfigelementnamelen];
  21.  
  22. {
  23.   configelementptrTYPE=^configelementTYPE;
  24.   configelementTYPE=
  25.     record
  26.       name: configelementname;
  27.       value: FULLTYPE;
  28.       changed: boolean;
  29.       next: configelementptrTYPE;
  30.     end;
  31. }
  32.  
  33.   configelementptrpathstring=^configelementpathstring;
  34.   configelementpathstring=
  35.     record
  36.       name: configelementname;
  37.       value: pathstring;
  38.       changed: boolean;
  39.       next: configelementptrpathstring;
  40.     end;
  41.  
  42.   configelementptrshortstring=^configelementshortstring;
  43.   configelementshortstring=
  44.     record
  45.       name: configelementname;
  46.       value: shortstring;
  47.       changed: boolean;
  48.       next: configelementptrshortstring;
  49.     end;
  50.  
  51.   configelementptrinteger=^configelementinteger;
  52.   configelementinteger=
  53.     record
  54.       name: configelementname;
  55.       value: integer;
  56.       changed: boolean;
  57.       next: configelementptrinteger;
  58.     end;
  59.  
  60.   configelementptrboolean=^configelementboolean;
  61.   configelementboolean=
  62.     record
  63.       name: configelementname;
  64.       value: boolean;
  65.       changed: boolean;
  66.       next: configelementptrboolean;
  67.     end;
  68.  
  69. var
  70.   configheadpathstring: configelementptrpathstring;
  71.   savedconfigheadpathstring: configelementptrpathstring;
  72.  
  73.   configheadshortstring: configelementptrshortstring;
  74.   savedconfigheadshortstring: configelementptrshortstring;
  75.  
  76.   configheadinteger: configelementptrinteger;
  77.   savedconfigheadinteger: configelementptrinteger;
  78.  
  79.   configheadboolean: configelementptrboolean;
  80.   savedconfigheadboolean: configelementptrboolean;
  81.  
  82. { from here are are rc-file/command-line configuration variables }
  83.  
  84.  
  85.  
  86.   subjectscaseinsensitive: boolean;
  87.   subjectlength: byte;
  88.   squashspaces: boolean;
  89.   equatetruncated: integer;
  90.   makespacelikex: boolean;
  91.   hideheaders: string;
  92.   showheaders: string;
  93.   highlightheaders: string;
  94.   nomailfrom: boolean;
  95.   nomailheaders: string;
  96.   nonewsheaders: string;
  97.   wanderingnumbers: boolean;
  98.  
  99.   antikillreferences: boolean;
  100.  
  101.   showsubjectkills: boolean;
  102.   showfromkills: boolean;
  103.   showsubjectantikills: boolean;
  104.   showfromantikills: boolean;
  105.   showkills: boolean;
  106.   showantikills: boolean;
  107.  
  108.   autoantikill: boolean;
  109.   warnautoantikill: boolean;
  110.  
  111.   editaftervspell: boolean;
  112.   caseinsensitivekill: boolean;
  113.   caseinsensitiveantikill: boolean;
  114.   substringsubjectkill: boolean;
  115.   substringfromkill: boolean;
  116.   substringsubjectantikill: boolean;
  117.   substringfromantikill: boolean;
  118.   quiet: boolean;
  119.   ignoreenvironment: boolean;
  120.   confirmquit: boolean;
  121.   confirmnextgroup: boolean;
  122.   confirmnextarticle: boolean;
  123.   missingsubjectisok: boolean;
  124.   tildehome: boolean;
  125.   antikillthisnewsreader: boolean;  {not of great use to many, I'm sure}
  126.   clearscreenbetweengroups: boolean;
  127.   detectvideo: boolean;
  128.   antikillevenkilled: boolean;
  129.   mailprefix: pathstring;  {no longer groupstringt, to make maybeoptset* easy}
  130.   ignoremouse: boolean;
  131.   usebiosforscreen: boolean;
  132.   hideformfeeds: boolean;
  133.   pathuserid: shortstring;
  134.   fromuserid: shortstring;
  135.   customstatic: pathstring;
  136.   haltonunknowngroups: boolean;
  137.   mousecharsheader: string;
  138.   justdots: boolean;
  139.   nofilemode: boolean;
  140.   quitmessage: string;
  141.   outputseparator: string;
  142.   newscmdline: pathstring;
  143.   mailcmdline: pathstring;
  144.   mailagent: boolean;
  145.   outgoingmail: string;  {not pathstring since it's passed var foo: string}
  146.   outgoingnews: string;  {not pathstring since it's passed var foo: string}
  147.   highlightsearchhits: boolean;
  148.   colors: shortstring;
  149.   quotecolor: byte;
  150.  
  151. {$ifdef charset}
  152.   uselocalcharset: boolean;
  153.   localcharsetfn: pathstring;
  154. {$endif}
  155.  
  156.   rmailsingle: boolean;
  157.   idleminutes: integer;
  158.   swap: shortstring;
  159.   articlefilenamepattern: pathstring;
  160.   overviewbasename: pathstring;
  161.   fromwidth: integer;
  162.   sizewidth: integer;
  163.   entergroupcommand: pathstring;
  164.   dotsonreset: boolean;
  165.   viewcommand: cmdstring;
  166.   extractcommand: cmdstring;
  167.   encodecommand: cmdstring;
  168.   crlf: boolean;
  169.   findquotechar: boolean;
  170.   printcommand: cmdstring;  {ugh}
  171.   netware: boolean;
  172.   layout: layoutt;
  173.   alternatecolor: byte;
  174.   datecolor: byte;
  175.   mailmarkerline: string;
  176.   newsmarkerline: string;
  177.   truncateidlength: integer;
  178.   debuglist: string;
  179.   dateformat: string;
  180.   maildateformat: string;
  181.   newsdateformat: string;
  182.   useregex: boolean;
  183.   quotewithspace: boolean;
  184.   findfilecommand: pathstring;
  185.   findexistingfilecommand: pathstring;
  186.   helpful: boolean;
  187.   indicatepostedmailinbody: boolean;
  188.  
  189. implementation
  190.  
  191. end.
  192.