home *** CD-ROM | disk | FTP | other *** search
/ OS/2 Shareware BBS: 2 BBS / 02-BBS.zip / t-doc-e.zip / T-MAIL.TXT < prev    next >
Text File  |  1993-12-31  |  146KB  |  3,131 lines

  1.                                                                               
  2.  
  3.  
  4.  
  5.  
  6.  
  7.  
  8.  
  9.  
  10.  
  11.                               T-mail ver. 2300
  12.  
  13.  
  14.                         The system operator manual.
  15.  
  16.  
  17.  
  18.  
  19.  
  20.  
  21.  
  22.                                                                               
  23.  
  24.  
  25.  
  26.  
  27.  
  28.  
  29.  
  30.               The document and programm designed and writen by
  31.               Andrey Elkin, 1992 and 93, St-Peterburg, Russia.
  32.                  All documents translated to english by
  33.                  Vadim Popkov 1993, Kramatorsk, Ukraine.
  34.  
  35.  
  36.  
  37.  
  38.  
  39.  
  40. (C) 1992,93 by Andy Elkin                       (C) 1993 by Vadim Popkov
  41. 2:5030/15@fidonet                               2:4651/1@fidonet
  42. 2:5030/100@fidonet (T-Mail support node)        (T-Mail distribution node)
  43. elk@tek.spb.su                                  jim@moddem.donetsk.ua
  44.  
  45.                                                                               
  46.                                                                               
  47.                                                                               
  48.                                                                               
  49.  
  50.                                       CONTENTS
  51.  
  52.  
  53.                                                                               
  54.                                                                               
  55.        0. RIGHT FOR DISTRIBUTION AND USING
  56.  
  57.        1. About T-mail 2300
  58.  
  59.        2. System requirements
  60.  
  61.        3. Agreement about addresses
  62.  
  63.        4. Configuration file (T-mail.ctl)
  64.  
  65.        5. Queue
  66.          5.1 Serving queue
  67.          5.2 Queue control
  68.           5.2.1 Look up Queue
  69.           5.2.2 Change current positions in Queue
  70.           5.2.3 Change node status in Queue
  71.           5.2.4 Hold status
  72.           5.2.5 Immidiate status
  73.           5.2.6 Priority status
  74.  
  75.        6. Immediate crash-Poll mode
  76.  
  77.        7. Phone number translation
  78.  
  79.        8. Sessions protection. Passwords
  80.                                                                               
  81.        9. Work up of incoming calls
  82.          9.1 Reactions on ring
  83.          9.2 External connection processing - start by string from modem.
  84.          9.3 External mailers - start on key word
  85.          9.4 Works with BBS
  86.  
  87.        10. Login in BBS after end of mail session
  88.  
  89.        11. Chat during session
  90.  
  91.        12. Events after mail session
  92.  
  93.        13. file requests
  94.          13.1 file request processing limits
  95.          13.2 address limits during file requests
  96.          13.3 Describing directories (file areas) for file requests
  97.          13.4 Defining aliases
  98.          13.5 File requests with full path
  99.          13.6 Transit file requests
  100.          13.7 Remote file requests 
  101.          13.8 File requests confirmation
  102.  
  103.        14. Personal postal boxes (MailBoxes)
  104.  
  105.        15. File addressed boxes (FileBoxes)
  106.  
  107.        16. Substitution list
  108.  
  109.        17. T-mail server
  110.  
  111.        18. Confirmations about sent letters
  112.  
  113.        19. Service lines in letters
  114.  
  115.        20. Connection of keys generators
  116.  
  117.        21. Use T-mail in multichannel systems
  118.          21.1 Set task number. Scheme Master/Slave(s)
  119.          21.2 Using "carried out" queue packer
  120.          21.3 Using flags in multiline configuration
  121.  
  122.        22. BinkleyTerm compatibility mode
  123.  
  124.        23. Routing and events
  125.          23.1 Poll
  126.          23.2 Send
  127.          23.3 Post
  128.          23.4 Freq
  129.          23.5 Exit
  130.          23.6 Pack
  131.          23.7 Set
  132.          23.8 Exec
  133.          23.9 Mail/Files
  134.          23.10 Direct
  135.          23.11 Hold and Freeze
  136.          23.12 NoReq
  137.          23.13 Deny
  138.          23.14 Priority
  139.          23.15 Boss
  140.  
  141.        24. Modem control
  142.          24.1 DTR signal control
  143.          24.2 Tuning COM ports
  144.          24.3 Modem initialization
  145.          24.4 Hang off during run external programs
  146.          24.5 Carrier monitor
  147.  
  148.        25. Terminal mode
  149.          25.1 External protocols connection
  150.          25.2 Exit from terminal
  151.  
  152.        26. T-Mail semaphores
  153.          26.1 Exit flag
  154.          26.2 Sleep flag
  155.          26.3 Alive flag
  156.          26.4 Session flag
  157.          26.5 Repack flag
  158.          26.6 Flags for start external programs
  159.  
  160.        27. Work with faxmodems
  161.          27.1 Hardware requirements
  162.          27.2 How fax-gate work
  163.          27.3 Sending facsimile messages
  164.          27.4 Receiving facsimile  messages
  165.          27.5 Fax cover page
  166.  
  167.        28. Users in local network (external nodes)
  168.  
  169.        29. Keyboard control
  170.  
  171.        30. Defining hot keys
  172.  
  173.        31. Sound effects
  174.  
  175.        32. Colour setup
  176.  
  177.        33. Command line options
  178.  
  179.        34. Errorlevels
  180.  
  181.        35. Thanks
  182.  
  183.        36. How you can get commercial T-mail version
  184.  
  185.        37. Standarts and documents
  186.  
  187.        38. Trademarks
  188.                                                                               
  189.        39. Conclusion
  190.  
  191.  
  192.  
  193.                        RIGHT FOR DISTRIBUTION AND USING
  194.  
  195.             Copyright 1992-93 by Andy Elkin. All rights reserved.
  196.           These rules can be changed by author in any moment without
  197.                                   warnings.
  198.  
  199.             T-Mail 2300, programs, documentation and accompanying files
  200.         (hereinafter named T-mail) can freely be used, as well as copying
  201.         distributing by any ways while following conditions:
  202.                                                                               
  203.          1) Files distributed in initial constant kind. It should be initial
  204.             archive, made by author. The inclusion T-mail in another program
  205.             packets for distribution or sale is not admitted.
  206.  
  207.          2) Receiption of profit from copying and/or distribution
  208.             T-mail is illegal one. It relates to any persons, organizations,
  209.             corporations and establishments, for exception officially proxyed by
  210.             author with writen permission.
  211.  
  212.          3) Payment for T-Mail distribution can be levied, but it
  213.             should not be over Your expences on distribution and/or copying.
  214.  
  215.          4) Quoting, reprinting or another use any parts of documentation or
  216.             files, entering in T-mail, permited ONLY with referencing on
  217.             author and original source.
  218.  
  219.          5) noncommercial T-mail using  is admitted by physical persons
  220.             without receiptions the any direct or indirect profit from it
  221.             using Any use T-mail for purposes any corporation, organization,
  222.             goverment, church, school, fund or other jurisdiction person can
  223.             not be admited without registration and can not be recognize as
  224.             commercial. The use T-mail on equipment, belong to organization
  225.             or other jurisdiction person, can be acknowledge as
  226.             noncommercial only in the event that, T-mail tasks no connected
  227.             with activity this or other organization.
  228.  
  229.         Author not assume on self warranty about using T-mail. Any
  230.         consequences, financial and another losses, caused by using or
  231.         non-using T-mail the most on self and/or together with another
  232.         sowtware is Your personal business. Author does not bear
  233.         responsibility on obligations T-mail distributors, dillers and
  234.         salers.
  235.  
  236.             Information about receiving commercial version of T-mail
  237.         and/or right to use T-mail for purposes organization, goverment,
  238.         chruch, school or other jurisdiction person described in
  239.         separate chapter at the end of given document.
  240.                 
  241.  
  242.                          1. About T-mail 2300.
  243.         
  244.            T-mail is mailer (otherwise - mail program), estimated for
  245.         using in FidoNet type networks and support standarts, widely
  246.         distributed in last years (EMSI/ZedZap/WaZOO).
  247.  
  248.           T-mail / Noncommercial introduce by self "facilitated" version
  249.         of T-mail 2300. In it absent code, necessary for Fax-gate
  250.         functioning, manipulations with facsimile messages Queue, for
  251.         service Fax-modems (send/receive facsimile messages), as well as
  252.         code for working with users in local network (external nodes).
  253.  
  254.           T-mail can functioning on multichannel nodes under multitask
  255.           environment or local network.
  256.  
  257.  
  258.        2. System requirements.
  259.  
  260.         - Computer, compatible with IBM PC/XT/AT/386;
  261.         - Äæ MS/DOS (PC/DOS) version not below 3.30;
  262.         - not less 280 èü free conventional memory;
  263.         - not less 32 èü free disk space;
  264.         - Hayes-compatible modem ;
  265.         - Communication Fossil driver.
  266.  
  267.         It is useful to define environment variable T-mail.
  268.         For it is necessary to insert in file autoexec.bat string like
  269.  
  270.         SET T-mail=C:\T-mail\
  271.  
  272.            The significance this variable is the directory, where (on
  273.         default) placed T-mail control files. Hereinafter this directory
  274.         refers to as system one. In the event that this variable not
  275.         defined, directory where placed executable T-mail.exe is
  276.         considered as system.
  277.  
  278.         nessesary load FOSSIL driver.
  279.         examples:
  280.  
  281.         BNU ( by David Nugent ):
  282.  
  283.                  BNU / R=1024 / T=1024 / M-
  284.          - in autoexec.bat
  285.  
  286.         X00. SYS ( by Ray Gwinn ):
  287.  
  288.                  Device = X00. SYS E 1 T=1024 R=1024
  289.          - in config.sys
  290.  
  291.          * notes: no sense make transmit buffer less 1024 bytes. slows
  292.                   down and can cause failures at use in multilinear
  293.                   systems or in non-productive environments. T-mail
  294.                   correctly reset buffers at transmition errors.
  295.                                                                               
  296.                                                                               
  297.        3. Agreement about addresses.
  298.  
  299.           T-mail uses FidoNet addressing.
  300.  
  301.         Means, that each node of network is described by unique combination
  302.         of forth integers:
  303.  
  304.         Zone:net/node.point (4-d address) or
  305.         Zone:net/node       (3-d address)
  306.  
  307.           More detailed about addressing you can learned
  308.           from appropriate documentation about FidoNet.
  309.  
  310.           limits for component of address, to wich you must
  311.         subdue using T-mail are such:
  312.           Zone  - not more 1023
  313.           net   - not more 32767
  314.           node  - not more 32767
  315.           point - not more 1023
  316.                                                                               
  317.           If in given document You meet∩ the concept "address", then it
  318.         meaningf just FidoNet-style address, for example, 2:5030/15.1
  319.  
  320.           In majority of cases (that is, there, where not stipulate
  321.         specially) T-mail understands reduced address recording. While
  322.         decoding T-mail uses main address of node (variable "Address")
  323.         as base address.
  324.  
  325.           For example, if address of node 2:5030/15, then possible
  326.         address 2:5030/15.1 record by following ways:
  327.                                                                               
  328.                2:5030/15.1
  329.                  5030/15.1
  330.                      /15.1
  331.                       15.1
  332.                         .1
  333.                          1
  334.                                                                               
  335.         And address 2:5030/6.601 as:
  336.  
  337.                2:5030/6.601
  338.                  5030/6.601
  339.                      /6.601
  340.                       6.601
  341.  
  342.         At last, address 2:5030/8 (2:5030/8.0) as:
  343.  
  344.                    2:5030/8
  345.                    2:5030/8.0
  346.                      5030/8
  347.                      5030/8.0
  348.                          /8
  349.                          /8.0
  350.                           8.0
  351.                                                                               
  352.          * remark: many sysops accustomed, that /8 and simple 8 is the same
  353.            for node of 8.0 our networks. For T-mail it is different addresses:
  354.            /8 - 5030/8.0, and 8 - 5030/15.8
  355.  
  356.         Hereinafter similar construction shall designate as: <address>
  357.  
  358.         Moreover, in most cases can be used addresses groups.
  359.         For it using symbol '* ':
  360.  
  361.         2:*/*.* - All addresses in 2-nd zone
  362.         5030/*  - same, with 5030/*.0 - all 3-d the nodes in network 2:5030
  363.         /*      - same as above
  364.         *.0     - same as above
  365.         *:*/*.* - All addresses.
  366.  
  367.            Notes: everywhere instead of  *:*/*.* possible to be written
  368.                   the word 'All'. (for example instead of Hold *:*/*.*
  369.                   was possible to be written Hold All). The word 'Boss'
  370.                   everywhere will be replaced with address
  371.                   myzone:mynet/mynode.0 for points (4-d nodes).
  372.  
  373.         Hereinafter similar constructions shall designate as:
  374.         <address group>
  375.  
  376.         address groups can be uniteed in address list, in wich
  377.         groups or addresses follow each to other separeted by symbol
  378.         "space", for example
  379.  
  380.         5030/* 5040/*.* !5040/2 237:*/* !237:50/*
  381.  
  382.         The symbol '!' is used to exclude addresses before it writen from list.
  383.         This example must be read as:
  384.         "all nodes in network 5030, all nodes in network 5040, exclude 5040/2.0,
  385.          and all nodes in zone 237 exclude nodes of network 50".
  386.  
  387.         The address list can be contained in separate file. Then instead
  388.         of address list nessesary indicate the name of this file, with
  389.         preceding '@' symbol. Inside of file with address list symbol
  390.         0xD (new string) also can be used as delimiter.
  391.  
  392.         For example:
  393.  
  394.         @nodes.lst
  395.         Or
  396.         @c:\T-mail\dummy\nodes.lst
  397.  
  398.         At last, the address list, can include some nodelist flags.
  399.         For example:
  400.  
  401.            5020/* CM !MNP
  402.  
  403.          Will mean following: "all nodes of network 5020, as well as all
  404.          CM nodes CM, exclude nodes, possessing MNP flags in nodelist".
  405.  
  406.          Here the nodelist flags , wich possible to be used in these
  407.          construction:
  408.  
  409.             CM,HST(includes HST,H14,H16),MNP,V42,V42B,V32,V32B,PEP,
  410.             ZYX(availability of this flag include also V42,V42B,V32,V32B).
  411.  
  412.         Hereinafter similar constructions shall designate so:
  413.         <address list>.
  414.  
  415.          therefore, if to You meet the designation
  416.  
  417.         <address>, this should be mentioned as unique address, exactly defined.
  418.         if <address group> , than can be defied "collective" address;
  419.         If < address list >, than list of collective addresses can be defined or
  420.         one name of file, wich contained this list.
  421.  
  422.  
  423.        4. Configuration File (T-mail.ctl).
  424.  
  425.           At start program reads out settings from file T-mail.ctl. If
  426.         defined environment variable T-mail, than file searched in
  427.         directory, defined by this variable. If it not defined, T-mail
  428.         searched for T-mail.ctl in directory, from where run program
  429.         T-mail.exe.
  430.  
  431.         The configuration file is textual one. It's format is such:
  432.  
  433.         [[<task ident>]] <variable> <the significance> [;<comment>]
  434.  
  435.         Comments begin with ; and continue to end of line (symbol 0xD or 0xA).
  436.  
  437.  
  438.        5. Queue.
  439.  
  440.           The concept of mail Queue is one of the most important for any
  441.         mailer. Moreover, large part of time mailer serving
  442.         Queue. Some mailers, as FrontDoor can create queue,
  443.         by look up letters, which must be sent to destination,
  444.         some another, as BinkleyTerm, serve queue, which
  445.         prepares for it - by external program (f.e. echoprocessor).
  446.         T-mail combine both these approaches, which divide all
  447.         mail programs on 2 groups - ArcMail-attach mailers and
  448.         OutboundArea-style (or bink-style) mailers.
  449.  
  450.           In case ArcMail-attach mode the base for Queue creation is
  451.         netmail (network mail). It some area, which contained files in
  452.         predefined format - letters (*.msg). The packer (usualy built
  453.         in) look up these letters and build outbound queue pursuant to
  454.         routing rules and service attributes.
  455.  
  456.                   Each Queue "cell" join to address and contain
  457.         information about what necessary sent to specified address - it
  458.         id direct letters for this node, letters which routed via this
  459.         node , files, which can be sent together with these letters
  460.         (fileattached), as well as file requests on this node.
  461.  
  462.  
  463.        5.1 Serving Queue.
  464.                                                                               
  465.           If the node "bring" in queue, it yet not means, that T-mail
  466.         will call this node and try send mail there. Below the approach
  467.         ¬páΓ¬« to state algoritm is made, which is used »p¿ analysis of
  468.         current position in Queue.
  469.                                                                               
  470.         So, when T-mail will call node ò in Queue?
  471.  
  472.         - whether has at least one node in Queue the status priority? If yes,
  473.           then analyzing whether has node ò this status.
  474.  
  475.         - analyzing , whether it is possible in present time call node ò:
  476.             ? value of Call_Time variable
  477.             ? whether telephone of node is known ò
  478.             ? whether is not present Freeze statement for X
  479.             ? whether ò accepted call in present time:
  480.                       in nodelist  - flags æî, OH
  481.                       in subst.lst - time/htime
  482.  
  483.               If calls not accepted, then analyzing, whether the status
  484.               immediate present for ò.
  485.  
  486.            ? whether present Hold statement for X
  487.            ? whether has not the node the status Hold
  488.              (set by operator pressed Ctrl-H)
  489.  
  490.          - analyzing, which type of mail psesent for node ò:
  491.            ? whether is present simple mail
  492.            ? whether is present file requests
  493.                       If found out only file requests, than
  494.                       analyzing when node ò serves file requests:
  495.                                in nodelist   - flags FR
  496.                                in subst.lst  - ftime
  497.                                in events.ctl - NoReq
  498.                                                                               
  499.          - analyzing, whether reach the number of call attempts to this node
  500.             the value of Call_Tries variable.
  501.  
  502.          - in multiline system analyzing, whether call already another
  503.            channel on this node at present time (busy flags).
  504.                                                                               
  505.          Naturaly, in reality this algoritm look some differently
  506.          because it optimized, but all described steps present in them.
  507.  
  508.  
  509.        5.2 Queue control.
  510.  
  511.        5.2.1 Look up Queue.
  512.  
  513.            If queue is so large, that is not fit in allocated window in
  514.          bottom half of main T-mail screen, it is possible to be taken
  515.          advantage of By keys <up>,<down>,<PgUp>,<PgDown>,<Home>,<End>
  516.          for Queue "scrolling". The key Alt-M "zoom" queue on whole
  517.          screen.
  518.  
  519.        5.2.2 Change current positions in Queue
  520.  
  521.          Executed by keys <left>, <right> (or <Ctrl-up>,<Ctrl-down>),
  522.          <Ctrl-PgUp>, <Ctrl-PgDown>, <Ctrl-Home>, <Ctrl-End>. The
  523.          current position is marked by small triangle near address.
  524.  
  525.        5.2.3 Change node status in Queue
  526.  
  527.          The user has the opportunity to quick change the node status
  528.          in Queue. The status displayed by appropriate letters:
  529.  
  530.           H - hold status
  531.           I - immediate status
  532.           P - priority status
  533.  
  534.          If node has received the appropriate status in result of
  535.          operator actions, this status will be valid during limited
  536.          time interval, defined by CH_Interval variable (default 1 hour).
  537.                                                                               
  538.        5.2.4 Hold status
  539.  
  540.          In the event that the node has received the status Hold, will
  541.          mean that on appropriate time interval will act Hold rule
  542.          for this node. Simply, the calls to this nodes will be delayed.
  543.          Temporary cancel hold status possible only by more strong
  544.          device - by set immediate status.
  545.  
  546.                                    For list of nodes  For current in Queue
  547.          The hold status set       Ctrl-H (BackSpace)        H
  548.                        reset       Ctrl-U                    H
  549.                                                                               
  550.        5.2.5 Immidiate status
  551.  
  552.          If node has received this status, T-mail will ignore during
  553.          described time Hold rules, and time into which this node accept
  554.          callse. However if acts Freeze rule for this node, anyway calls
  555.          to this nodes will "frozen".
  556.  
  557.                                    For list of nodes  For current in Queue
  558.          The immediate status set  Ctrl-I (Tab)              I
  559.                             reset  Ctrl-R                    I
  560.                                                                               
  561.        5.2.6 Priority status
  562.  
  563.           Equal to action priority rule (in events.ctl).
  564.           The nodes, possessing this status, will "to be served" at first.
  565.           No any another node will be served until exist at least one queue
  566.           entries with priority status.
  567.  
  568.                                    For list of nodes  For current in Queue
  569.           The priority status set  Ctrl-P                    P
  570.                             reset  Ctrl-C                    P
  571.                                                                               
  572.  
  573.        6. Immediate crash-Poll mode
  574.  
  575.           This mode need for extremal quick communicate with some node
  576.         and establish mail session, ignore all: queue, priorities, work
  577.         time of node and etc. When T-mail is in Crash-poll mode, it does
  578.         not answer on incoming calls and does not makes pause between
  579.         calls to specified node.
  580.  
  581.           To enter this mode, necessary press keys <Shift-Tab> and
  582.         write address. T-mail will call this address
  583.         until the successful session. Operator has the opportunity escape from
  584.         this mode to normal by second time press <Shift-Tab>.
  585.         The number of attempts during crash-poll is not taken into account.
  586.         Instead of address it is possible indicate phone number of node, with
  587.         precedeing '#' symbol.
  588.  
  589.           In time of Crash-Poll mod T-mail continue work with packing new
  590.         mail, completion of events and analyzing flags. In case of exit
  591.         from program crash-poll mode is automatic switched off.
  592.  
  593.  
  594.        7. Phone number translation
  595.  
  596.            Phone numbers, contained in nodelist, usualy must be
  597.         translated as far as there they represented in international
  598.         form , including country code and city code. Translation
  599.         performed in accordance with translation rules. These rules
  600.         described in section Dial Control in file T-mail.ctl.
  601.  
  602.            The syntax:
  603.  
  604.           Dial  <substring to be changed> [<new substring>] [|<suffix>]
  605.           Dial  International  <substring for international calls>
  606.                                                                               
  607.              Whole can be defined not more 20 translation rules.
  608.  
  609.            If translating number contained appropriate fragment,
  610.         described in one of fields <substring to be changed> translation
  611.         rules, it will be replaced on <new substring>.
  612.  
  613.            Notes: During search T-mail using first suitable rule,
  614.            therefore you must use (for Peterburg) next order:
  615.  
  616.         Dial  7-812-                ; Local calls
  617.         Dial  7-        8W          ; xUSSR calls
  618.                                                                               
  619.          this number will translated as
  620.  
  621.         7-812-123-4566 will translated in 123-4566;
  622.         7-095-123-4566 will translated in 8W095-123-4566.
  623.  
  624.            Moreover, you can use "suffixes" for example if
  625.         you phone station required dial own number at the end.
  626.         Suffix string must be writen after '|' symbol.
  627.  
  628.         using such record:
  629.  
  630.         Dial 7- 8W|210-1222
  631.                                                                               
  632.         will take effect that number 7-095-123-4566 will translated
  633.         into 8W095-123-4566210-1222.
  634.                                                                               
  635.           * specific case: international calls. In order to define
  636.             prefix for dialing numbers with country code not matched
  637.             with defined Country variable in T-mail.ctl, the
  638.             key word International should be used. For example:
  639.  
  640.         Dial   7-812-                 ; Translate Local numbers
  641.         Dial   7-            8W       ; Translate this country numbers
  642.         Dial   International 8W10     ; International calls prefix
  643.                                                                               
  644.                                                                               
  645.        8. Sessions protection. Passwords
  646.  
  647.             Passwords checked before session. In the event that password for
  648.         address defined and does not coincide with password transmited during
  649.         EMSI handshaking, than T-mail substitute in EMSI packet instead of password
  650.         warning message and "hangs up" after receive EMSI_ACK.
  651.  
  652.         Passwords described in file, defined by Security variable in
  653.         T-mail.ctl.
  654.         Example:
  655.  
  656.         Security     password.lst      ; Security list
  657.  
  658.         Each string of this file contain address and appropriate password.
  659.         For addresses observe agreement about ADDRESS (see part 3).
  660.  
  661.         Example:
  662.                                                                               
  663.          2:5030/2   Password1
  664.          /6         Password2
  665.  
  666.         Besides of file defined in Security variable , passwords can be given
  667.         in field PASSWORD in substitution file subst.lst (see part 16)
  668.  
  669.  
  670.        9. Work up of incoming calls
  671.          9.1 Reactions on ring
  672.  
  673.            When T-mail not calling and is not engaged by completion external
  674.         programs, it is in state of expectation of incoming call. T-mail
  675.         answers on incoming call only in case if in
  676.         present time it permited by Answer variable (in T-mail.ctl).
  677.  
  678.            The call recognition happen when 'RING' word received from
  679.         modem. Besides that it is possible detect RI signal from
  680.         serial interface if variable HardWare_Ring set to yes.
  681.         On default this feature is switched off.
  682.  
  683.            After answer (i.e. after sending in modem appropriate control
  684.         string), T-mail begins to expect the connections. Time
  685.         this expectation defined by Wait_Carrier variable. Operator can
  686.         increase or to reduce this time by keys '+' or '-', or interrupt the
  687.         expectation by pressing ESC. When the carrier occurs and
  688.         string from modem, appropriated to one of connection speed
  689.         or external program (all lines defined in file modem.ctl) is received, than
  690.         T-mail begin logical connection phase.
  691.  
  692.            In commercial version possible also switch on adaptive
  693.         answer, and if incoming call will from fax-machine that causes
  694.         the appropriate actions for receive facsimile messages (see part
  695.         27).
  696.  
  697.            If is not found neither of appropriate external program and
  698.         neither of external mailer than after EMSI handshaking (initial
  699.         "handshaking", password check and etc.) T-mail begin WaZoo mail
  700.         session  - receive (Zmodem) files and mail, send  mail/files for
  701.         presented node addresses, processing file requests.
  702.  
  703.          9.2 External connection processing - start by string from modem.
  704.  
  705.            Besides standard messages from modem, about established
  706.         connection, it is possible define some (up to 10) - answers from
  707.         modem, which appearance will started external program. Such
  708.         strings are described in file modem.ctl as below:
  709.  
  710.         Extern <modem string> <dos command>
  711.                                                                               
  712.         For example:
  713.                                                                               
  714.         Extern  CONNECT 2400   do2400.bat
  715.         Extern  CONNECT VOICE  do_voice.bat
  716.                                                                               
  717.          * notes 1: strings, defined as Extern, analyzed before standard
  718.                     modem answers
  719.          * notes 2: the name of called external program should not contain
  720.                     spaces.
  721.  
  722.        9.3 External mailers - start on key word.
  723.  
  724.             When the connection is already established, T-mail begin
  725.         "handshacking" - mailer identification procedure with EMSI
  726.         protocol. Analysis addresses, passwords and another information
  727.         preceded checking of fact, that on another side just
  728.         EMSI-compatible mailer.
  729.             For that T-mail some time (defined by Wait_Mailer variable)
  730.         expects the specific parcel from another side. If it will EMSI
  731.         packet, further the connection will go as mail session.
  732.  
  733.             If T-mail will receive "ESC-ESC" (2 symbol with hex code 01Bh),
  734.         than BBS software (defined by Process BBS variable) will be run.
  735.             Besides these cases, it is possible to set external programs,
  736.         which will be started in case receiving an appropriate parcel or key
  737.         word.
  738.         These programs (Extern Mailers) defined in file T-mail.ctl:
  739.  
  740.          ExternMail <login word> <dos command> [<parameters>]
  741.          for example:
  742.                                                                               
  743.          ExternMail  UUpc  c:\uupc\uu.bat
  744.          ExternMail  Guest c:\bbs\dobbs.bat *P *B
  745.  
  746.          If during answer on call, will presented word (without spaces and
  747.          terminated by EOL!), described as <login Word> than command file (.bat), appropriate to this word
  748.          or appropriate program will be run.
  749.          Whole it possible to describe up to 10 External mailers.
  750.  
  751.          <parameters> can contained specific constructions-macrosymbols
  752.          , beginning from symbol '*'. Instead of them during start the program
  753.          will be placed current macro values described below:
  754.                                                                               
  755.            Macrosymbols:                  What will placed:
  756.  
  757.              * P                      COM port number (1 for COM1 and etc.)
  758.              * B                      connection baud rate
  759.              * T                      T-mail task number )
  760.              * L                      If port locked, value of lock_speed,
  761.                                       otherwise will 0
  762.              * N                      Count number (from 1) appropriate
  763.                                       ExternMail description in file
  764.                                       T-mail.ctl
  765.  
  766.          Example:
  767.  
  768.          ExternMail UUpc c:\uupc\uu.bat *P *B *N
  769.  
  770.          For COM3 and 2400 bps will run c:\uupc\uu.bat 3 2400 1
  771.  
  772.  
  773.        9.4 Works with BBS.
  774.  
  775.            T-mail can be used together with BBS (bulluten board system)
  776.         programs. Author check work with known products Remote Access 2.X
  777.         and Maximus 2.X, but I hope problem should not arise if using
  778.         another programs.
  779.  
  780.            In the event that the incoming call not from compatible
  781.         mailer and not presented neither key words, defined
  782.         ExternMail, during time, assigned to Wait_Mailer variable , as
  783.         well as if received 2 symbols Esc (ASCII 27), then T-mail solving
  784.         that it is terminel call , i.e. 'human caller'.
  785.  
  786.            Variable BBS_Time define time intervals,
  787.         when permited give control to BBS. For example, if it is necessary
  788.         permit enter to BBS at night on week-days and 24 hours in other
  789.         days, you must set:
  790.                                                                               
  791.         BBS_Time    1.22:00-5.7:00,5.0:00-6.23:59
  792.                                                                               
  793.            Program, which starts by T-mail, defined in file
  794.         T-mail.ctl by combination Process BBS:
  795.  
  796.         Process BBS <dos command> [<paramemters>]
  797.  
  798.         <parameters> can contain macrosymbols (similarly with,
  799.         which are used in ExternMail). To it added one more:
  800.         *H, which define maximal time in minutes, remaining to end
  801.         of time, when enter in BBS permited.
  802.  
  803.         examples:
  804.  
  805.         Process  BBS   bbs.bat  *P *B *H
  806.         Process  BBS   max.exe  -p*P -b*B -t*H -n*T
  807.  
  808.  
  809.                                                                               
  810.                                                                               
  811.        10. Login in BBS after end of mail session
  812.  
  813.            In time of session T-mail can receive request to start BBS on
  814.         end of mail session. This request can be received in different
  815.         ways.
  816.            At first by letter. If during unpacking of mail T-mail meet
  817.         letter, addressed 'to: BBS', it will be considered as BBS request.
  818.  
  819.            Before will checked, whether permited enter in BBS at present
  820.         moment, and if not permited, then field 'subj' will searched for
  821.         password (variable T-password), and if found request will be
  822.         satisfied in any case, and if not contain - in dependence on
  823.         value of BBS_Time variable.
  824.  
  825.            Request for BBS session possible to send direct from T-mail in time the
  826.         mail session by press Alt-T.
  827.  
  828.            If request is sent from T-mail, on ending mail session
  829.         will run program, defined by Terminal variable.
  830.  
  831.            When T-mail receive request for BBS and solve satisfy it, then
  832.         after end mail session control will given to program,
  833.         defined in Process BBS.
  834.  
  835.  
  836.        11. Chat during session.
  837.  
  838.            In case if the session was established with T-mail you can
  839.         use chat mode. It is invoking by pressing Alt-C.
  840.         After end of conversation for exit also press Alt-C (chat also will
  841.         be finished automatically after end of session or if carrier lost.
  842.  
  843.  
  844.        12. Event after mail session.
  845.  
  846.             Afterwards mailer session finished T-mail unpacking received .pkt
  847.         the files and analyzing the names of another received files. In FTN
  848.         technology used some "magic" file name extentions for specific cases.
  849.         So, for example, echomail sending in packed files
  850.         with extentions, appropriate to days of week, and should be believed,
  851.         that the file xxxxxxxx.mo1 is echopacket created in monday.
  852.  
  853.             Echomail (arcmail) worked up by special program called
  854.         echoprocessor and T-mail can recognize that received file is
  855.         arcmail, and to start echoprocessor for tossing.
  856.  
  857.             Similarly, extention .?IC (.TIC, .ZIC etc.) characteristic for
  858.         file echo mail and for processing it necessary run
  859.         appropriate program i.e. simple TIC processor.
  860.  
  861.             For these cases in T-mail defined concept 'Process'. It is not
  862.         certainly program or command, which must be start.
  863.  
  864.         Process can describe flag name , which must be created in order to
  865.         to make clear for external programs, that was received file,
  866.         accorded to this category.
  867.  
  868.          So, in T-mail.ctl:
  869.  
  870.          Process <macro>  [<flag>]<dos command|desqview program|flag name>
  871.  
  872.         Where <macro>:
  873.  
  874.            ArcMail          - For case, when received archived mail;
  875.            NetMail          - If received mail (.pkt) and though one
  876.                               letter has appeared not empty (i.e. contain
  877.                               anything, beside symbols <space> and <cr>.
  878.            Tic              - If received file(s) with extention .?IC
  879.            Files            - If in general though one file was successfully
  880.                               received.
  881.  
  882.           <flag>:
  883.                                                                               
  884.             ~               - Means, that after will gives the flag name,
  885.                               which nessesary create in this case
  886.             !               - Means, that for start <dos command> it is not
  887.                               necessary to swap out, disposing all memory.
  888.  
  889.  
  890.  
  891.           <dos command>     - This name .com, .exe or .bat of file and
  892.                               optional parameters.
  893.  
  894.           <desqview program>- full name of .dvp file describes which
  895.                               desqview window nessesary open.
  896.                                                                               
  897.           <flag name>       - The flag name. If the path not specified,
  898.                               flag created in directory, which defined
  899.                               by <Flag_Dir> variable in T-mail.ctl.
  900.  
  901.  
  902.          For example:
  903.                                                                               
  904.           Process  ArcMail  the_echo.exe -Toss -Scan
  905.           Process  Netmail  msgedit.bat
  906.           Process  Tic      ~anytic.flg
  907.           Process  Files    c:\dv\tf-pif.dvp
  908.  
  909.         If not defined Process for ArcMail or Tic, received files are
  910.         considered not especial different and for them will be executed
  911.         Process, defined for Files.
  912.  
  913.  
  914.        13. File requests.
  915.  
  916.            In node need receive something file (or few), which present in one
  917.         of file areas another node, then for this node can be send File
  918.         request (Freq).
  919.            T-mail support WaZOO-style file requests. Means, that after mailer
  920.         received .req file will be created list of files, which must be sent
  921.         at the end of session.
  922.            if during packing letters in mail packets was found letters (.msg)
  923.         with Freq attribute, then will be created .req file, which will sent in
  924.         session time.
  925.  
  926.            The letter with file request can be created directly from T-mail by
  927.         pressing Alt-R. You will asked about the name of requested file and
  928.         address(es), where file will requested.
  929.  
  930.  
  931.        13.1 file request processing limits
  932.  
  933.           Usualy is many opportunities for limiting serving
  934.        file requests - by time, size, number of simultaneously requested
  935.        files and etc. Now describe limits (file T-mail.ctl).
  936.  
  937.            Requests satisfied in time defined by Freq_Time variable:
  938.                                                                               
  939.         Freq_Time     0:00-5:00,8:00-10:00
  940.                                                                               
  941.         The maximal number of files, which will sent, defined by Freq_Number:
  942.  
  943.         Freq_Number     5
  944.                                                                               
  945.         Total files size limited by Freq_Size variable:
  946.                                                                               
  947.         Freq_Size       512        ; in kilobytes
  948.                                                                               
  949.         Maximal time whichÑ can used for sent requested files defined by
  950.         Freq_MaxTime variable:
  951.  
  952.         Freq_MaxTime     120       ; in minutes
  953.                                                                               
  954.         Minimum connection baudrate for satisfy file requests defined by
  955.         Freq_MinBaud variable:
  956.  
  957.         Freq_MinBaud     1200
  958.  
  959.  
  960.        13.2 address limits during file requests
  961.  
  962.            T-mail has the opportunity define addresses and/or address  groups
  963.         file requests from which will satisfy Requests from another nodes will
  964.         ignored. Access mode to file areas defined by Freq_Mode variable:
  965.  
  966.         Freq_Mode Any
  967.                                                                               
  968.         The possible significances:
  969.  
  970.          Any        - Request possible for all
  971.          No         - Not permited in general (similarly, for that possible
  972.                                                use Freq_Time  00:00-00:00)
  973.          Nod        - Requests permited only for addresses which contained in
  974.                       nodlist (listed only)
  975.          Reg        - Requests permited only for addresses, which defined
  976.                       in Freq_Nodes variable.
  977.                                                                               
  978.         Freq_Nodes    <address list>
  979.                                                                               
  980.         For example:
  981.                                                                               
  982.         Freq_Nodes     2:5030/*.* 2:5010/*.* !5030/99 !5030/999
  983.         Freq_Nodes     @c:\T-mail\frq_nodes.lst                 ; from file.
  984.                                                                               
  985.         (see "Agreement about addresses", part 3)
  986.                                                                               
  987.                                                                               
  988.        13.3 Describing directories (file areas) for file requests
  989.  
  990.         The list of directories, which accessible for file requests
  991.         contained in textual file defined by Freq_Dir variable:
  992.  
  993.         Freq_Dir       dir.frq
  994.  
  995.         (if path not defined file will searched in system directory, where
  996.         T-mail placed). Each line in this file contain one directory.
  997.         For each directory can be given password and/or address list of nodes
  998.         which have permission request files from these directories.
  999.  
  1000.         The syntax:
  1001.  
  1002.          <path> [!<password>] [<address list>]
  1003.                                                                               
  1004.         Here example (file dir.frq):
  1005.                                                                               
  1006.        c:\files\info
  1007.        c:\files\area3 5030/*.* !5030/4 5020/* 5000/*.*
  1008.        c:\files\area4 ! password_of_4 5030/*.* !5030/4 5020/* 5000/*.*
  1009.  
  1010.           In first case simple defined the directory, in second - directory
  1011.        with address list, in third - additional password for requests from
  1012.        this directory.
  1013.  
  1014.           If password for directory given, request file should writes
  1015.        differently - for example, for file labuda.ext from directory area4 you
  1016.        must write 'labuda.ext!Password_of_4'. Only then the file will sent.
  1017.  
  1018.           * Limitation: whole no more than 70 directories for file requests
  1019.             can be defined.
  1020.  
  1021.        13.4 Defining aliases.
  1022.  
  1023.           Frequently file requested by alias not by name For example, widely
  1024.         used alias 'FILES' for sent file contained archived file list of all
  1025.         BBS file areas. At each node this file has the own unique name, but it
  1026.         is almost everywhere possible request 'FILES' and receive something
  1027.         like zeppall.arj in answer.
  1028.  
  1029.                                                                               
  1030.           The aliases listed in file defined by Freq_Ndx variable in
  1031.         T-mail.ctl.
  1032.  
  1033.          Freq_Ndx    index.frq
  1034.  
  1035.         Is the textual file and each string define one alias:
  1036.         The syntax:
  1037.  
  1038.         <Alias> <pathname> [<dos command>]
  1039.  
  1040.         Where:
  1041.         Alias        -  The alias
  1042.         Pathname     -  The full file name which according to alias. Wildcard
  1043.                         are allowed.
  1044.         dos command  -  name of .exe, .com or .bat file
  1045.  
  1046.           If defined <dos command> then it will executed during creating list
  1047.         of files which nessesary send as reply to file request be executed.
  1048.         <dos command> will get 3 parametrs:
  1049.  
  1050.         The alias, name of system operator of node which request file
  1051.         on this alias and address of node. In operator name symbols ' '
  1052.         (space) will be replaced on symbol '_' (underscore)
  1053.         For example:
  1054.  
  1055.         Files c:\files\100 all.arj
  1056.         T-mail c:\support\T-mail.zip do_reg.bat
  1057.  
  1058.           For requestÑ on T-mail alias will be executed do_reg.bat
  1059.         (example of start: do_reg.bat T-mail Anthony_Guetmansky 2:5030/6.0)
  1060.  
  1061.           As far as file requests executed in time of session,
  1062.         you must minimize execution time of <dos command>.
  1063.  
  1064.           If necessity is present, in field <patname> possible define the list
  1065.         of files, which will sent for request with alias.
  1066.         For example:
  1067.  
  1068.          T-mail  @c:\support\t-m.lst
  1069.                                                                               
  1070.           For such request will be sent files which defined
  1071.         (each on one lin) in t-m.lst.
  1072.                                                                               
  1073.           * limitation: in file with can not be more 50 lines.
  1074.  
  1075.        13.5 File requests with full path
  1076.                                                                               
  1077.           If defined password in T-mail.ctl variable T-password then
  1078.         possible requests with full path to file, for example:
  1079.  
  1080.         'c:\support\reg.lst!my_password_no_5'
  1081.  
  1082.          for such request do not act time and size limitation.
  1083.                                                                               
  1084.        13.6 transit file requests.
  1085.  
  1086.         If received .req file (and appropriate to it letter in .pkt) has
  1087.         destination address "not for us" (that address does not coincide with
  1088.         main address noi with one of ÇèÇ), further action for this request
  1089.         defined by variable Freq_Transit. If Freq_Transit set to Yes then
  1090.         during packing will be created .req for destination address.
  1091.         If Freq_Transit set to No letter with freq attribute will be destroyed.
  1092.  
  1093.         If such request will satisfied then received files will remain on node
  1094.         which realy requested and receive them. Is such doubtless
  1095.         limitation FTN which definr only direct file requests.
  1096.         In order to solve that problem entered "remote request" concept.
  1097.  
  1098.        13.7 Remote file requests.
  1099.  
  1100.         This work in such maner: "I ask T-mail on remote machine to request
  1101.         for me file and, when it will be received, T-mail will send this one
  1102.         to me".
  1103.  
  1104.          * How I can force T-mail to make this:
  1105.  
  1106.         It is making by service letter, addressed to T-mail. So that
  1107.         letter was accepted, I should know and indicate password, which
  1108.         defined by Freq_Password variable in T-mail.ctl on remote machine:
  1109.  
  1110.         Freq_Password Talon
  1111.  
  1112.         Here example of such letter:
  1113.  
  1114.         ===============================================
  1115.          From:   Andy Elkin                    5030/15
  1116.          To:     T-mail!talon                  5030/100
  1117.          Subj:   Freq  labuda.ext  5030/5
  1118.         -----------------------------------------------
  1119.         [body letter is empty]
  1120.         ===============================================
  1121.                                                                               
  1122.            When this letter arrive to node 5030/100, T-mail will create
  1123.         file request "from self" and delivers in queue. However in special
  1124.         file will saved information about who force request this file.
  1125.  
  1126.           If happens so, that file request will stisfied and really
  1127.         file labuda.ext will received then T-mail will create letter with
  1128.         fileattach aatribute. This letter and file will sent to author of
  1129.         request.
  1130.  
  1131.        13.8 File requests confirmation
  1132.  
  1133.           If file request was refused T-mail send packet with motivatoin letter
  1134.         To body of this letter will be added text from
  1135.         file defined by Freq_Policy variable in T-mail.ctl:
  1136.  
  1137.         Freq_Policy   policy.frq
  1138.  
  1139.           If Σá⌐½«óδ⌐ request satisfied, letter will contain list of
  1140.         files, which was sent and additional information (file size, date etc.)
  1141.         You can switch off this feature using variable Freq_Confirm:
  1142.  
  1143.         Freq_Confirm   No
  1144.  
  1145.  
  1146.        14. Personal postal boxes (MailBoxes)
  1147.  
  1148.           Frequently mailers are used with mail-robots, i.e.
  1149.         programs, which process letters to it.
  1150.         frequently used robots AreaFix, Filefix and similar ones.
  1151.  
  1152.           Traditionaly joint work look so: mailer on ending
  1153.         of session unpack mail and starts consistently some robots programs,
  1154.         which scaning mail directory and process "his own" letters.
  1155.  
  1156.           This variant possible in T-mail, as far as it is
  1157.         possible define process for work up incoming mail (Process Mail).
  1158.  
  1159.           However if system enough complex was reasonably avoid the situation,
  1160.         when the some programs look up whole mail directory (sometimes all for
  1161.         nothing!), searching "it's own" letters. It is work for letter packer
  1162.         , which must be informed about the list of such "specific addresses"
  1163.         and directories where letters for this robots received on main adress
  1164.         or AKA will be moved.
  1165.  
  1166.           Sometimes happens it is wonderful automatically separate
  1167.         somebody personal mail (for example, system operatorá) from
  1168.         common one. The desire redirect this mail to
  1169.         something another node can arise.
  1170.  
  1171.            For such operation with mail T-mail have MailBoxes (personal mail
  1172.         boxes) concept If addressat name matched with name of postal box owner
  1173.         T-mail move letter in directory defined for him.
  1174.            When this directory has the answer (in kind of letter) from "owner"
  1175.         of this postal box, T-mail will move it in main mail directory and
  1176.         will send on destination address.
  1177.  
  1178.         The list of postal boxes is set in file T-mail.ctl:
  1179.  
  1180.         The syntax:
  1181.         MailBox <name>=<path> [<destination address>] [|<dos command>]
  1182.  
  1183.         Each string contain "specific" addressat name, followed by character
  1184.         '=' and after it directory for mailbox and optional address if you
  1185.         desire destination address to be changed. It is possible to indicate
  1186.         program name which will be executed in case if in appropriate MailBox
  1187.         something has fallen.
  1188.  
  1189.           During mail packing T-mail look up MailBoxes as well as main mail
  1190.         directory. If there the new letter (for example the answer from
  1191.         mail-robot) has occurred it will be moved in mail directory
  1192.         and is packed for sendnig.
  1193.  
  1194.         Example (T-mail.ctl):
  1195.  
  1196.         MailBox  FileFix=c:\filefix\  | c:\filefix.bat -Scan -Toss -Hren
  1197.         MailBox  AreaFix=c:\areafix\
  1198.         MailBox  Ivan Pupirin=c:\mail\   5030/15.99   | echo Vanya! Wake up!
  1199.  
  1200.           Most interesting latter example, where main T-mail mail directory is
  1201.         mentioned as target directory. Obviously,
  1202.         then the letter will simple readdressed to new address.
  1203.  
  1204.         This method can use "remote SysOp" for receiption of his mail.
  1205.  
  1206.          Limitation: Whole can be defined not more 50 MailBoxes.
  1207.  
  1208.          Notes: When T-mail start nonexistent directories for MailBoxes will
  1209.                 be created
  1210.  
  1211.          Warning: if readdress mail to main mail directory you must mandatory
  1212.                   change destination address, because you can looping T-mail
  1213.                   when it will try process such letter
  1214.  
  1215.  
  1216.        15. File addressed boxes (FileBoxes)
  1217.  
  1218.           In difference from MailBoxes which designed for toss inbound
  1219.         mail, FileBoxes serve for optimize outbound flow.
  1220.         Usually, to send the file to some node, operator should create
  1221.         the letter with appropriate attribute (fileattached).
  1222.  
  1223.         This letter gives information to packer about necessity to include
  1224.         file in queue and serves for routing purposes  - you see file not
  1225.         contain information about destination node. However, on practice,
  1226.         majority of files send directly to destination node without routing.
  1227.         So, for example, files, contained echomail, always send directly.
  1228.  
  1229.           In such cases letters not necessary if possible let understand
  1230.         mailer to which node this files must be sent This problem can solve
  1231.         FileBoxes. The idea is such: for each address we have appropriate
  1232.         directory - FileBox. If connection with these nodes is established
  1233.         T-mail will send all files from this directory and erase files after
  1234.         sent. For give T-mail task to send file to some node, enough place it
  1235.         in appropriate FileBox.
  1236.  
  1237.           The unique considerable difference of such method from usual
  1238.         consists that the availability of files in FileBox is not reason for
  1239.         T-mail, that it will call this node. Moreover, T-mail does not
  1240.         know about that whether such files (and even is present the
  1241.         directory) until session with FileBox "owner" will established.
  1242.                                                                               
  1243.           As far as FileBox linked to appropriate address its name "is
  1244.         calculated" from address of node. Root directory for FileBoxes
  1245.         is set by File_Boxes variable in T-mail.ctl:
  1246.  
  1247.          File_Boxes   c:\T-mail\filebox\
  1248.  
  1249.         In this directory T-mail searches for the subdirectories, which names
  1250.         calculated from address zone:net/node.point with following rules:
  1251.  
  1252.  
  1253.  
  1254.         zznnnfff.pp
  1255.                                                                               
  1256.         where zz - 32-radix presentation of zone,
  1257.              nnn - 32-radix presentation of net,
  1258.              fff - 32-radix presentation of node,
  1259.               pp - 32-radix presentation of point.
  1260.  
  1261.         For example, for address 2:5030/100.1 directory will have such name:
  1262.  
  1263.         c:\T-mail\filebox\024T6034.01
  1264.  
  1265.         In more details this gear is described in T-mail API.
  1266.  
  1267.         For T-mail it is unimportant, exist directory or not. If it
  1268.         exists and it has the files, they will sent and be remove.
  1269.  
  1270.            Moreover default directories names it is possible obviously to
  1271.         deliver in conformity directory to address. It is done by define BOX
  1272.         in file Subst.lst (see chapter "Substitution list"). Then the default
  1273.         name is replaced with name defined in subst.lst.
  1274.  
  1275.        16. Substitution list
  1276.  
  1277.            The substitution list permits "redefine" and add data,
  1278.         which T-mail get from nodelist.
  1279.         It name defined by 'Substlist' variable in T-mail.ctl. By default
  1280.         T-mail searched for name subst.lst in system directory.
  1281.  
  1282.            Each string this file contain address (wildcards are allowed '*')
  1283.         and then sustituted parameters.
  1284.  
  1285.         The syntax:
  1286.         <address> <parameter name1> <value1> [<name2> <value2> ...]
  1287.         or
  1288.         <address> <flag> [<name2> <value2> ...]
  1289.  
  1290.         Where:
  1291.          <address> can be address or address group in accordance with
  1292.                    "agreement about addresses";
  1293.          <parametr name> <valuse> parameter name and value.
  1294.  
  1295.          * notes: in this string can be placed flags
  1296.                        for example: V32, V32B, ZMO etc. Naturally,
  1297.                        then <value> not needed.
  1298.  
  1299.              parameter name   Values              Comments
  1300.                               (examples)          (equivalents)
  1301.  
  1302.                Time           CM                   0:00-23:59
  1303.                               22:00-5:00
  1304.                               22:00-14:00          22:00-23:59,0:00-14:00
  1305.  
  1306.                Speed          1200                 define for at which
  1307.                               2400                 speed call this node
  1308.                               ...
  1309.                               24000
  1310.                                                                               
  1311.                Phone         123-4567             Replace phone number
  1312.                              8W123-22222          from nodelist.
  1313.                                                   this number NOT translated
  1314.  
  1315.                Dial          AT\N1DP              will be used this prefix for
  1316.                                                   dialing (specific dial prefix)
  1317.  
  1318.  
  1319.                                                                               
  1320.                BOX           c:\mybox\             Define different from default
  1321.                                                    FileBox for this address
  1322.                                                                               
  1323.                Wait          70                    Individual time of carrirer
  1324.                                                    expectation for this node
  1325.  
  1326.                Hidden        123-4568              phone of additional channel.
  1327.  
  1328.                HTime         like for TIME         Work Time for additional
  1329.                                                    channel.
  1330.  
  1331.                FTime         like for TIME         Time when file request
  1332.                                                    accepted by this node
  1333.  
  1334.  
  1335.                Password      PASS1                 Session password
  1336.                                                                               
  1337.                                                                               
  1338.                External      copy *F c:\hole       Define address as
  1339.                                                    external node
  1340.                                                    (see chapter 28)
  1341.                                                    and define DOS command
  1342.                                                    which must "send" files
  1343.                                                    to this address (aviable
  1344.                                                    only in commercial version).
  1345.  
  1346.                AKA           address according     Substitute this address
  1347.                              with "agreement       as main in sessions with
  1348.                              about addresses".     this node.
  1349.                                                                               
  1350.                ZMO             -                   Prohibit protocols
  1351.                                                    ZedZap and Direct Zap
  1352.  
  1353.  
  1354.                                                                               
  1355.                ZAP             -                   Prohibit protocol
  1356.                                                    Direct Zap
  1357.                                                                               
  1358.                CM V32 V42
  1359.                V32B ZYX         -                  Set appropriate flag for
  1360.                V42B H16                            given address
  1361.                H14 HST
  1362.                                                                               
  1363.                                                                               
  1364.            Parameter Aka »p¿¼Ñ¡∩ÑΓß∩ ß½ÑñπεΘ¿¼ «ípẫ¼:
  1365.         àß½¿ óßΓpÑτáÑΓß∩ string ó¿ñá:
  1366.                                                                               
  1367.  
  1368.                CM V32 V42
  1369.                V32 B ZYX -                         Establishs for
  1370.                V42 B H16                           Addresses appropriate
  1371.                H14 HST                             ö½áú.
  1372.  
  1373.  
  1374.            Parameter Aka used as follows:
  1375.         If found string like:
  1376.  
  1377.         66:66/*.*=Aka 66:66/1.0 Time CM SPEED 2400
  1378.                                                                               
  1379.         then for all addresses in net 66 in zone 66 will be presented address
  1380.         66:66/1 as main one.
  1381.                                                                               
  1382.            Parameters Time and Speed in example say that all 66 zone ready
  1383.        accept calls 7 day per week 24h per day with spped 2400:- )
  1384.                                                                               
  1385.            Flag ZAP must be used if necessary prohibit send or receive files
  1386.        by Direct ZedZap protocol.
  1387.  
  1388.            Flag ZMO must be set if necessary to be used classical Z-modem 1 K.
  1389.  
  1390.  
  1391.        17. T-mail server.
  1392.  
  1393.            T-mail server can be used with assistance of
  1394.         service letters. This usual letters, but they addressed to T-mail.
  1395.         The field 'To: ' of such letter should contain construction:
  1396.  
  1397.         T-mail | <T-password>,
  1398.  
  1399.            Where <T-password> is T-mail server password defined
  1400.            by appropriate variable in file T-mail.ctl.
  1401.  
  1402.         * notes: REQUEST task will be executed with using any of 2-th
  1403.                      passwords defined by T-password and Freq_password
  1404.                      variables.
  1405.  
  1406.         For example:
  1407.         -----------------------------------------------
  1408.         From: Andy Elkin                      5030/15.1
  1409.         To:   T-mail |my_password_no_5        5030/15
  1410.         Subj: Send  c:\T-mail\files\t-2300.arj  /27 /51
  1411.         -----------------------------------------------
  1412.                                                                               
  1413.         * notes : Space will be ignored.
  1414.  
  1415.            The field subject of service letter contain the task for T-mail
  1416.         server.
  1417.         The type of task defined by key word which should be placed first.
  1418.         The task syntax is:
  1419.  
  1420.         Poll    <address>          - Forces T-mail create packet(s) and establish
  1421.                                      mail session with given addresses;
  1422.  
  1423.         Request <file> <address>  -  Forces T-mail request file from given
  1424.                                      nodes.
  1425.                                      information about it stored, and
  1426.                                      in case that file with conterminous name
  1427.                                      will be received, it will sent to author
  1428.                                      of request;
  1429.  
  1430.         Attach  <file> <address>   - send file to given nodes,
  1431.         Send    <file> <address>   - the same;
  1432.  
  1433.         Post    <file> <address>    - post textual file as letter and send
  1434.                                       to given nodes;
  1435.  
  1436.         Exec -                        To execute letter text as
  1437.                                       command file.
  1438.  
  1439.         Set <variable> <value>     - set new value for <variable>.
  1440.                                      Is allowable to use any variable from
  1441.                                      file T-mail.ctl, however you must be
  1442.                                      carefull with variables like Address,
  1443.                                      Aka, Port.
  1444.  
  1445.  
  1446.         List <file area> -          Forces T-mail create answer message
  1447.                                      contained the list of file areas.
  1448.                                      The field <file area> should contain
  1449.                                      Last from parts of full path to
  1450.                                      file area.
  1451.                                      For example, if in file, defined
  1452.                                      by Freq_Dir variable is given path
  1453.                                      d:\Files\Windows
  1454.                                      Request list should appear so:
  1455.  
  1456.                                      To: T-mail
  1457.                                      Subj: List Windows
  1458.  
  1459.                                      If in file area present file
  1460.                                      With name files.bbs, it is used
  1461.                                      As body of answer.
  1462.                                      In another case will executed command
  1463.                                      Dir and it result will sent as
  1464.                                      body of answer message.
  1465.                                      for receive list of file
  1466.                                      area which not passowrd protected,
  1467.                                      no nessesary use T-password,
  1468.                                      Enough in field 'to:' write simple
  1469.                                      T-mail.
  1470.                                      However users, aware T-password,
  1471.                                      Have the opportunity not only to receive
  1472.                                      The lists of files in directories,
  1473.                                      defined
  1474.                                      By file <Freq_Dir>, but also from any
  1475.                                      another. For it necessary in request
  1476.                                      indicate the full path, for example:
  1477.  
  1478.                                      To: T-mail | password
  1479.                                      Subj: List c:\files\private\
  1480.  
  1481.                                      To receive the lists of all
  1482.                                      Accessible file areas,
  1483.                                      It is possible to use symbol '*':
  1484.  
  1485.                                      To: T-mail
  1486.                                      Subj List *
  1487.  
  1488.  
  1489.        tasks examples for T-server:
  1490.        ----------------------
  1491.        To: T-mail | password
  1492.        Subj: Poll /2 /3 /6
  1493.        ---------------------
  1494.  
  1495.        ---------------------
  1496.        To:   T-mail|password
  1497.        Subj: Request filename.ext /3 /7 .1 33:36/*.3
  1498.        ---------------------
  1499.                                                                               
  1500.        ---------------------
  1501.        To:   T-mail|password
  1502.        Subj: Write c:\txt\my_txt.doc /16 /18
  1503.        ---------------------
  1504.  
  1505.        ---------------------
  1506.        To:   T-mail|password
  1507.        Subj: Set Answer 0:00-4:00
  1508.        ---------------------
  1509.                                                                               
  1510.        ---------------------
  1511.        To: T-mail
  1512.        Subj: List SUPPORT
  1513.        ---------------------
  1514.  
  1515.             wildcards using in addresses limited - can not be given more than
  1516.         one symbol '*'. Addresses are searched in nodelists, therefore if
  1517.         given address not present in nodelists then T-mail will ignore it
  1518.  
  1519.             task processed immediatelly after unpack
  1520.         letters, therefore you must be attentively when give EXEC task, because
  1521.         mail unpacking "on fly" and session can be aborted with timeout.
  1522.  
  1523.  
  1524.        18. Confirmations about sent letters
  1525.  
  1526.            In case if in sending transit letter set attribute RETRECREQUEST,
  1527.         T-mail will be create confirmation letter to author of original letter
  1528.         For that purpose will filled template contained in file audit.tpl.
  1529.         Instead of service fields T-mail substitutes the appropriate values so:
  1530.                                                                               
  1531.                          ~U - name of letter author;
  1532.                          ~P - name from 'TO:' field;
  1533.                          ~N - original address;
  1534.                          ~A - own address;
  1535.                          ~L - address where the letter was sent;
  1536.                          ~D - date;
  1537.                          ~T - time.
  1538.  
  1539.            Such confirmation will created only in case if in file
  1540.         T-mail.ctl variable Audit_Send_Msg (on default - No) set to Yes
  1541.  
  1542.         Audit_Send_Msg   Yes
  1543.  
  1544.        19. Service lines in letters.
  1545.  
  1546.           Some specific lines T-mail accept as service and causes
  1547.         non standard actions. Service lines should placed at
  1548.         beginning of body letter.
  1549.  
  1550.         ■ Hold letter
  1551.  
  1552.         Hold to [hh:mm] [dd[-mm[-yy]]]
  1553.  
  1554.         The occurrence lines of such kind forces hold packing of this
  1555.         letter until moment defined by fields time and date.
  1556.  
  1557.         examples:
  1558.                                                                               
  1559.         Hold to 3:00 15/12/92
  1560.         Hold to 16-12-92
  1561.         Hold to 16/12
  1562.         Hold to 4:00 16
  1563.         Hold to 4:00
  1564.                                                                               
  1565.         If date not given it assuming current one.
  1566.  
  1567.         If time not given but given date then letter hold until midnight of
  1568.         given date
  1569.                                                                               
  1570.         If is not mentioned time, but the date, letter ºáñÑpª¿óáÑΓß∩ before
  1571.         half-night of mentioned date is mentioned.
  1572.  
  1573.         ■ Redefining routing
  1574.                                                                               
  1575.         Route to <address>
  1576.  
  1577.         ¥Γ« ºáßΓáó½∩ÑΓ »p¿ π»á¬«ó¬Ñ »¿ß∞¼á ¿ú¡«p¿p«óáΓ∞ óßÑ rules
  1578.         ¼ápΦpπΓ¿ºáµ¿¿ ¿ »p¿¡πñ¿Γѽ∞¡« «Γ»páó¿Γ∞ ¡á <address>
  1579.         Forces T-mail ignore routing rules defined in events.ctl during packing
  1580.         and send letter via given address
  1581.  
  1582.         examples:
  1583.                                                                               
  1584.         Route to 5030/2
  1585.         Route to /2
  1586.                                                                               
  1587.                                                                               
  1588.            T-mail »«ºó«½∩ÑΓ »«ñ¬½ετáΓ∞ Γ.¡. úÑ¡ÑpáΓ«pδ ¬½ετÑ⌐. ¥Γ« «º¡áτáÑΓ,
  1589.         τΓ« Ñß½¿ ó« time ßÑßß¿¿ íδ½ »p¿¡∩Γ Σá⌐½ ß extention¼ .REG,
  1590.         óδ»«½¡∩ÑΓß∩ (¡Ñ¼Ññ½Ñ¡¡« »« «¬«¡τá¡¿¿ »p¿Ñ¼á Σá⌐½«ó) Σá⌐½ autokey.bat.
  1591.         à¼π beforeáεΓß∩ 4 »ápá¼ÑΓpá
  1592.         - »«½¡«Ñ ¿¼∩ »p¿¡∩Γ«ú« .REG Σá⌐½á;
  1593.         - »πΓ∞, ¬πñá ß½ÑñπÑΓ »«¼ÑßΓ¿Γ∞ "«ΓóÑΓ" «Γ úÑ¡ÑpáΓ«pá ¬½ετÑ⌐.
  1594.  
  1595.  
  1596.        20. Connection of keys generators
  1597.  
  1598.            T-mail permits connect keys generators. Means, that if
  1599.         in session time the file with extention .REG was received then
  1600.         (immediately after receiving of files) will be executed file
  1601.         autokey.bat.
  1602.         To it will be given 4 parameters
  1603.         - full name of received .REG file;
  1604.         - path, where need place "answer" from keys generator.
  1605.         - name of system operator of calling node
  1606.         - address of node
  1607.  
  1608.         For example:
  1609.  
  1610.         autokey.bat c:\files\raemail.reg e:\tmp\ Dmitry_Klimenkov 2:5030/1.0
  1611.  
  1612.         Spaces in name system operator are replaced on symbols '_'.
  1613.  
  1614.           the "answer" should represent by self the file with name
  1615.         autokey.lst, each string contained full file name, which
  1616.         necessary send to given address.
  1617.         For example:
  1618.                                                                               
  1619.         c:\raemail\raemail.key
  1620.         c:\support\raemail.pkt
  1621.         c:\support\welcome.doc
  1622.                                                                               
  1623.           Then control will returned to T-mail and files that reffered in
  1624.         autokey.lst will sent in that session.
  1625.  
  1626.           This gear possible to use not only for keys generation, but also for
  1627.         handle another requests "on fly".
  1628.           But you must remember that request processing
  1629.         should not be long, as far as session can be aborted.
  1630.         T-mail can wait about 1.5f minutes, but another
  1631.         mailers can have less timeout value.
  1632.  
  1633.  
  1634.        21. Use T-mail in multichannel systems.
  1635.                                                                               
  1636.           T-mail is not multichannel mailer in common sense, that is one copy
  1637.         of T-mail can serve only one modem. However, some T-mail copies can
  1638.         work simultaneously in in multitask environment (local network or
  1639.         multitasker OS/2, DesqView, Windows and etc.).
  1640.  
  1641.            If T-mail running under DesqView it can gives back timeslices CPU,
  1642.         and possibility output to screen via BIOS (variable Output) permits to
  1643.         use T-mail under Desqview even on AT/286.
  1644.  
  1645.        21.1 Set task number. Scheme Master/Slave(s)
  1646.  
  1647.           For normal "duty distribution" for each T-mail.exe,
  1648.         running in multiline system, should be given unique number
  1649.         of task. It is reached by use option -N at start T-mail.exe:
  1650.  
  1651.          T-mail -N1      - task number 1 - on default
  1652.          T-mail -N9      - task number 9
  1653.  
  1654.          Further, mailers should be used in scheme Master/Slave(s)
  1655.          (leading/driven). For that in T-mail.ctl one task
  1656.          must be set as Master, and other as Slaves.
  1657.  
  1658.         [1] Task_Mode      Master
  1659.         [2] Task_Mode      Slave
  1660.         [3] Task_Mode      Slave
  1661.         ...
  1662.  
  1663.           That T-mail, which was running with option -N1 (Master) undertakes
  1664.         function of packer. Other will receive information about Queue via
  1665.         temporary file and by special flags will inform T-mail/master about
  1666.         necessity appropriate proccess queue. In such case, only one T-mail
  1667.         will look up letters and prepare it's for send building mail queue.
  1668.  
  1669.           As far as files T-mail.ctl and evens.ctl are common for all
  1670.         tasks, then you must use field <task ident> for some variables.
  1671.         For example:
  1672.  
  1673.         [1]  Log  T-mail1.log
  1674.         [2]  Log  T-mail2.log
  1675.         ...
  1676.                                                                               
  1677.        21.2 Using "carried out" queue packer
  1678.  
  1679.           Look up mail, creation of packets and another function, which
  1680.         executes T-mail/master, can take long time, for example, if for
  1681.         processing echomail T-mail starts echoprocessor.
  1682.  
  1683.           It is then possible to use one from T-mail's only for these
  1684.         purposes, "without modem".
  1685.  
  1686.         Example (T-mail.ctl):
  1687.                                                                               
  1688.         [1] Task_Mode   Master
  1689.         [2] Task_Mode   Slave
  1690.         ...
  1691.                                                                               
  1692.         [1] Port  0
  1693.         [2] Port  1
  1694.         ...
  1695.                                                                               
  1696.         In such case T-mail/master will execute only package functions, start
  1697.         external programs and etc.
  1698.  
  1699.        21.3 Using flags in multiline configuration
  1700.  
  1701.           In scheme Master/Slave(s) has the one more opportunity
  1702.         distribute functions between tasks. For it serve flags.
  1703.         It explained on example from life:
  1704.  
  1705.         Example ( T-mail.ctl ):
  1706.         [1] Task_Mode   Master
  1707.         [2] Task_Mode   Slave
  1708.         ...
  1709.         [1] Process_Flag  anyarc.t-m  c:\T-mail\_echoes.bat
  1710.         [2] Process       ArcMail     ~anyarc.t-m
  1711.         ...
  1712.                                                                               
  1713.           As it is visible, T-mail/slave after received echomail creates flag
  1714.         anyarc.t-m. When T-mail/master will see this flag then it starts
  1715.         appropriate process , defined by Process_Flag statement.
  1716.  
  1717.           Said true for other process functions (see part 11)
  1718.  
  1719.  
  1720.        22. BinkleyTerm compatibility mode
  1721.  
  1722.           Besides main arcmail-attach mode T-mail can support
  1723.         Bink-style outbound area. T-mail have not devices for manage outbound area
  1724.         this task must completely performed by external programs, echoprocessors and
  1725.         etc.
  1726.  
  1727.           To start T-mail in this mode necessary in T-mail.ctl
  1728.         set variable Bink_mode to Yes (by default No):
  1729.  
  1730.           Bink_Mode        Yes         ; Bink-style mode (no-ArcMail-attach)
  1731.  
  1732.          It is possible define interval (sec) during which outbound
  1733.          directory will be rescaned:
  1734.  
  1735.           Bink_Rescan_Time 100         ; Rescan period ( sec )
  1736.  
  1737.          also need define the directory for bink-style outbound:
  1738.  
  1739.           Packets       d:\outbound\out\        ; Outbound packets directory
  1740.                                                                               
  1741.            In case of operation on multichannel systems still
  1742.         necessary to use the scheme Master/Slaves, as far as for
  1743.         functioning T-mail it is necessary create queue. T-mail/Master
  1744.         in described mode will rescan outbound and create
  1745.         queue for T-mail/Slave.
  1746.  
  1747.           It's clear that Bink mode limiting T-mail features. In
  1748.         particular, routing rules (Mail, Files, Direct) lost the
  1749.         sense, as far as T-mail not packing mail.
  1750.  
  1751.         Deny rule still acts, but with some differences:
  1752.         It causes not include node in queue, however it not influence for mail
  1753.         packing.
  1754.                                                                               
  1755.  
  1756.        23. Routing and events
  1757.  
  1758.          File events.ctl define the 'events' list and routing rules
  1759.         for mails and files.
  1760.  
  1761.         The common syntax is such:
  1762.  
  1763.         [[<task_ident>]] [Critical] <keyword>  <parameters>  <time peroid>
  1764.  
  1765.  
  1766.         Rules for <task_ident> same as for T-mail.ctl:
  1767.                                                                               
  1768.         [<task number>]  - act only for given task number
  1769.                           (given by -N option)
  1770.         [M]              - only for T-mail/master.
  1771.         [S]              - for Slave
  1772.         [*]              - for all.
  1773.  
  1774.         [Critical]   -     Describes event as critical. For all events
  1775.                            is present risk, that it will skiped, if
  1776.                            time interval, given for this event has expired,
  1777.                            but mailer ßould not execute it (long session, completion external
  1778.                            programsδ and etc.)
  1779.                            If the event is described as Critical, it will be
  1780.                            executed even then.
  1781.  
  1782.        ----------------------------------------------------------------------
  1783.            The key word                         That it sets
  1784.        ----------------------------------------------------------------------
  1785.                        For 'events':
  1786.  
  1787.            Poll                           Poll node (in defined Time)
  1788.            Send                           send file to nodes (in defined Time)
  1789.            Post                           send the file in kind of letter to
  1790.                                            (in defined Time)
  1791.            Freq                           Request file (in defined Time)
  1792.            Exit                           exit from T-mail with given errorlevel
  1793.         *  Pack (or RePack)               repack mail (all or for given addresses)
  1794.            Set                            "overload" parameter in T-mail.ctl
  1795.            Exec                           execute given .exe,.com or .bat file
  1796.        ----------------------------------------------------------------------
  1797.                       For routing rules:
  1798.  
  1799.         * Mail                            mail routing rules
  1800.         * Files                           files routing rules
  1801.           Hold                            prohibit call given addresses
  1802.           Freeze                          the same but ingnored immediate status
  1803.           Priority                        service at first given addresses
  1804.           NoReq                           Prohibit send file requests
  1805.                                           to given addresses
  1806.           Boss                            Forces always call again if
  1807.                                           connection lost
  1808.         * Direct                          Cancels any routing for given
  1809.                                           addresses
  1810.         * Deny                            Prohibit create the packets for
  1811.                                           given addresses
  1812.  
  1813.        ----------------------------------------------------------------------
  1814.         * - for multichannel systems these key words render the action only on
  1815.             T-mail/master.
  1816.  
  1817.  
  1818.        23.1 Poll
  1819.  
  1820.         The syntax:
  1821.         [task ident] Poll <address> <time period>
  1822.                                                                               
  1823.         examples:
  1824.            Poll   5020/35 1:00-6:00  ; Each day at 01:00
  1825.        [1] Poll   /2      0.21:00    ; every sunday at 21:00
  1826.  
  1827.           Poll used for force T-mail call defined address and get
  1828.         (if exist) mail for you node.
  1829.                                                                               
  1830.           This statement forces T-mail create the empty letter for appropriate
  1831.         addresses with attribute DIRECT (that excludes routing for this letter).
  1832.  
  1833.           If <time> approach but T-mail engaged (for example the long
  1834.         session), letter will ßΣ«p¼¿p«óá¡« as soon as possible,
  1835.         but not later than hour after <time>.
  1836.                                                                               
  1837.  
  1838.        23.2 Send
  1839.  
  1840.         The syntax:
  1841.         [task ident]  Send <filename> <address group> <time period>
  1842.  
  1843.         Example:
  1844.         [1] Send c:\files\info.zip /2 /4 /5.6 5070/35 1:00      ; Each day
  1845.                                                                   at 1:00
  1846.           This statement forces T-mail create letter with attribute
  1847.         Fileattached with given file for given addresses.
  1848.  
  1849.  
  1850.        23.3 Post
  1851.  
  1852.         The syntax:
  1853.         [task ident]  Post <filename> <address group> <time period>
  1854.                                                                               
  1855.         Example:
  1856.         Post c:\files\info.txt /2 /4 /5.6 5070/35 1:00   ; Each day at 1:00
  1857.  
  1858.           This statement forces T-mail create letters for given addresses
  1859.         File defined in this statement makes the body of letter.
  1860.                                                                               
  1861.                                                                               
  1862.        23.4 Freq
  1863.  
  1864.         The syntax:
  1865.         [task ident]  Freq <filename> <address group> <time period>
  1866.                                                                               
  1867.         Example:
  1868.         [M] Freq files /2 /4 /5.6 5070/35 3.1:00       ; Every Wednesday
  1869.  
  1870.           This statement forces T-mail create file requests to defined the
  1871.         nodes.
  1872.  
  1873.  
  1874.        23.5 Exit
  1875.  
  1876.         The syntax:
  1877.         [task ident]  Exit <errorlevel> <time>
  1878.  
  1879.         examples:
  1880.         [1] Exit 99 1:00             ; Daily per hour of night
  1881.             Exit 92 1.2:00           ; Till mondays in 2 night
  1882.  
  1883.           Forces T-mail to finish páí«Γπ with mentioned <errorlevel> If T-mail
  1884.         is engaged when <time> approach (for example, long session), it
  1885.         happned as soon as it released, but not later than hour after <time>.
  1886.         Try no use this statement without nessesity, as far as T-mail firing
  1887.         up it repack all mail, and can take long time for that process. More
  1888.         suit use 'Exec' statement (see below).
  1889.                                                                               
  1890.                                                                               
  1891.        23.6 Pack
  1892.  
  1893.         The syntax:
  1894.  
  1895.         [task ident]  Pack <time period>
  1896.         [task ident]  RePack <time period>
  1897.         [task ident]  Pack <address group> <time period>
  1898.                                                                               
  1899.         examples:
  1900.         Critical Pack 1:00
  1901.         Pack /2 /4 5020/4 1:00
  1902.  
  1903.           Forces T-mail to destroy all packets (or packets for given
  1904.         addresses) and build it again with accordance to routing rules.
  1905.           If T-mail is engaged when <time> approach (for example, long session),
  1906.         it happened as soon as it will released, but not later than
  1907.         the hour afterwards <time>.
  1908.  
  1909.  
  1910.        23.7 Set
  1911.  
  1912.         The syntax:
  1913.         [task ident]  Set <parameter=value> <time period>
  1914.                                                                               
  1915.         examples:
  1916.         [1] Set Time_Dial=100 5:00-9:00
  1917.         [2] Set Freq_Number=10 5:00-7:00
  1918.             Set Answer=0:00-12:00 5.20:00-0.22:00
  1919.                                                                               
  1920.           Permits change "on fly" parameters and variable values defined in
  1921.         configuration file (T-mail.ctl). Is indicated time interval during
  1922.         which acts statement.
  1923.  
  1924.           You must be carefull, for example, does not try to change
  1925.         in such maner the significance of PORT, Address and AKA variables :-).
  1926.  
  1927.           * notes: Old variable value will be lost
  1928.                    forever. Time interval define only, that it is necessary to
  1929.                    replace initial (value given during start in File
  1930.                    T-mail.ctl). If You want restore old value, it is necessary
  1931.                    restart T-mail, or (preferable) to use one more 'Set' for
  1932.                    another time intervalá.
  1933.  
  1934.  
  1935.        23.8 Exec
  1936.  
  1937.         The syntax:
  1938.         [task ident]  Exec <[flag]dos command|desqview program> <time period>
  1939.                                                                               
  1940.         examples:
  1941.         [M] Exec morning.bat 5:00                 ; daily at 5:00
  1942.         [M] Exec weekly.bat  0.0:10               ; weekly in Sunday at 0:10
  1943.             Exec mem /c >> T-mail.log 8:30-11:00  ;
  1944.         [1] Critical Exec c:\dv\ec-pif.dvp 1.9:00
  1945.                                                                               
  1946.           When <time> approach (but not later than after hour),
  1947.         T-mail starts the copy of Command.com and give to it <DOS command>
  1948.         as parameter.
  1949.                                                                               
  1950.         For .exe and .com files the copy command.com not loaded. In any case,
  1951.         T-mail makes swap on disk, free nearly all conventional memory.
  1952.  
  1953.          * notes: with <DOS command> possible to use flags-modifiers:
  1954.          '!' - do not make swap;
  1955.          '%' - do not save screen;
  1956.          '+' - record Queue structures, events and routing in temporary
  1957.                 files and to read after return;
  1958.          '?' - show string 'Type Exit to return to T-mail..' before command prompt;
  1959.  
  1960.            Example:
  1961.              Exec! Weekly.bat  0:10         ;weekly run without swap to disk
  1962.  
  1963.  
  1964.        23.9 Mail/Files
  1965.  
  1966.         The syntax:
  1967.         [task ident] Mail  <address list> <address> [<time period>]
  1968.         [task ident] Files <address list> <address> [<time period>]
  1969.  
  1970.         examples:
  1971.         Mail  5020/* !5020/44.2 5040/* 5030/2 ; Time interval 0:00-23:59
  1972.                                               ; For nodes in nets 5020,5030
  1973.                                               ; exclude 5020/44.2
  1974.                                               ; route mail via 5030/2
  1975.         Mail  5030/1 5030/6 4:00-9:00         ; Time interval given explicitely
  1976.                                               ; route mails for 5030/1 via 5030/6
  1977.         Mail  5030/1 5030/6 3.4:00-6.9:00     ; route mails for 5030/1 via 5030/6
  1978.                                               ; since 4:00 Wednesday
  1979.                                               ; to    9:00 Saturday
  1980.         Files 5030/* 5030/6 6.4:00-6.23:59    ; since 4:00 to 23:59 every
  1981.                                               ; Saturday route files for
  1982.                                               ; net 5030 via 5030/6
  1983.         Mail  All   5030/2                    ; since 0:00 to 23:00
  1984.                                               ; route mails for ALL via 5030/2
  1985.         Mail  @nodes1.lst         5030/6      ; route mails for addresses
  1986.                                               ; from list via 5030/6
  1987.         Files @nodelist\reg50.net 5030/2      ; files for R50 via 5030/2
  1988.         Mail 5030/* 5020/* Hub                ; Hub routing for nets 5030,5020
  1989.  
  1990.         Predestination: sets routing rules for mails or files.
  1991.  
  1992.           During packing T-mail analyzing destination address letters
  1993.         attributes. If the letter is not labelled as Direct, further T-mail
  1994.         look up route rules, acting in given time and if finds destination
  1995.         address in <address list>, then pack letter for <address>. If this
  1996.         letter with attribute FileAttach, then T-mail will look up routing
  1997.         rules with key word Files otherwise search in Mail statements.
  1998.  
  1999.            You must remember following: T-mail look up rules from up
  2000.         downwards, (i.e. in that order in which they described in
  2001.         Events.ctl) until met suitable.
  2002.         Therefore more common rules must be placed at the end of Events file.
  2003.  
  2004.          * notes: for 4-d address«ó acts default routing.
  2005.                   (if suitable rule was not found in events list):
  2006.               - If it is point own node (that is, address of node .0 and zone,
  2007.                 net, node coincide), all mail send direct.
  2008.               - If "another's point", (that is, zone, net, node do not
  2009.                 coincide or this node have 4-d address), all mail and
  2010.                 files will sent via "boss-node" (same address as destination,
  2011.                 but point field 0).
  2012.                 For example, if given node address 5030/15.0, all mail for
  2013.                 5030/6.602 will sent via 5030/6.
  2014.  
  2015.          * notes: as <address> can be used word Hub for example:
  2016.             Mail 5020/* Hub
  2017.           Then mail will sent to appropriate Hub.
  2018.           If Hub for node not defined, then first node from appropriate
  2019.           network is considered as hub.
  2020.  
  2021.  
  2022.        23.10 Direct
  2023.  
  2024.         The syntax:
  2025.         [task ident] Direct <address list>  [<time period>]
  2026.                                                                               
  2027.         examples:
  2028.         Direct 5030/* !5030/2 !CM 3:00-5:00
  2029.         Direct 5030/6.*
  2030.         Direct @nodes.lst 4:00-6:00
  2031.  
  2032.           Prohibit letters and files routing for given addresses.
  2033.         Means, that the mail and files for given addresses will
  2034.         sent directly.
  2035.  
  2036.         The specific case - points, i.e. 4-d addressed nodes.
  2037.         If present for example, rule
  2038.             Direct 5030/6.*
  2039.         mail and files for 5030/6.601
  2040.         will packed with mail to 5030/6.0 If You really want, that the mail
  2041.         for 5030/6.601 was allocated in separate packet, it is necessary
  2042.         obviously indicate 4-d address:
  2043.             Direct 5030/6.601
  2044.  
  2045.  
  2046.        23.11 Hold and Freeze
  2047.  
  2048.         The syntax:
  2049.         [task ident]  Hold    <address list>  [<time period>]
  2050.         [task ident]  Freeze  <address list>  [<time period>]
  2051.                                                                               
  2052.         examples:
  2053.         Hold   5030/* 3:00-5:00
  2054.         Freeze 5030/6.*
  2055.         Hold   @nodes.lst 4:00-6:00
  2056.  
  2057.           Prohibit calls to given addresses in given time . The difference
  2058.         Hold and Freeze consists that statement Hold will ignored if exist
  2059.         Immidiate status for node (this status occurs during packing letters
  2060.         with attributes Crash, Immidiate or if Immediate attribute given from
  2061.         console by operator by pressing Ctrl-I). Freeze - more "rigid"
  2062.         statement, if it acts for given node, T-mail will not there call
  2063.         "whatever has happened" (excepting given by operator Crash-poll mode
  2064.         from console by Shift-Tab).
  2065.  
  2066.         * notes: Crash-poll will not acts if call_time not permit.
  2067.  
  2068.  
  2069.        23.12 NoReq
  2070.  
  2071.         The syntax:
  2072.         [task ident]  NoReq <address list>  [<time period>]
  2073.                                                                               
  2074.         examples:
  2075.         NoReq 5030/* 3:00-5:00
  2076.         NoReq 5030/6.*
  2077.         NoReq @nodes.lst 4:00-6:00
  2078.                                                                               
  2079.           Prohibit send file requests to given addresses in
  2080.         given time.
  2081.         Can be usefull in the event that You know time when file
  2082.         request supported by given nodes. Also you can use it for prohibit
  2083.         freqs in ZMH.
  2084.  
  2085.  
  2086.        23.13 Deny
  2087.  
  2088.         The syntax:
  2089.         [task ident]  Deny <address list>  [<time period>]
  2090.                                                                               
  2091.         examples:
  2092.         Deny 5030/*   3:00-5:00
  2093.         Deny 5030/6.* 22:00-24:00
  2094.         Deny @nodes.lst 4:00-6:00
  2095.  
  2096.         Prohibit packets creation for given addresses in given
  2097.         time.
  2098.         If acts such rule, packets for given addresses will not be created
  2099.         nor put in queue.
  2100.         Can be useful for offloading Hubs in some time or if you have some fake
  2101.         point addresses (for example for gates or some robots like Galaxy game).
  2102.  
  2103.  
  2104.  
  2105.        23.14 Priority
  2106.  
  2107.         The syntax:
  2108.         [task ident]  Priority <address list> [<time period>]
  2109.                                                                               
  2110.          examples:
  2111.          Priority    5030/1 5030/6  3:00-4:00
  2112.          Priority    @r50.net       7:00-9:00
  2113.  
  2114.           This statement set for some nodes in given time priority status.
  2115.         Means, that if the mail for these nodes is present, T-mail will call
  2116.         it and try sent mail ignore all other queue entries. When all mail for
  2117.         nodes with priority status  will sent then T-mail begins call to
  2118.         another nodes too.
  2119.  
  2120.         * notes: You must use this statement closely, as far as misusing
  2121.                  T-mail will call in general nowhere :-(
  2122.  
  2123.                       for example if you give priority status for node which
  2124.                       holded or it's phone unknown As far as it should be
  2125.                       served first, T-mail will call nowhere (while present
  2126.                       mail for this node). Certainly, if this node get it's
  2127.                       mail then situation become better, but for long time.
  2128.  
  2129.  
  2130.        23.15 Boss
  2131.  
  2132.         The syntax:
  2133.         [task ident]  Boss <address list> [<time period>]
  2134.                                                                               
  2135.         examples:
  2136.         Boss 5030/*     0.3:00-6.5:00
  2137.         Boss 5030/6.*    22:00-24:00
  2138.         Boss  @nodes.lst 4:00-6:00
  2139.                                                                               
  2140.           This rule define T-mail strategy when connection lost during
  2141.         session. If during session with 'Boss' communication lost then T-mail
  2142.         will create Poll-packet irrespective of, in which phase disconnection
  2143.         happened. Can be useful when with another side acts 'Hold' rule for
  2144.         your address.
  2145.  
  2146.         Example Events.ctl:
  2147.        ;======This is EVENTS list for T-mail system for 2:5030/15=======
  2148.        ;
  2149.        ;
  2150.        Exit 99         8:30
  2151.        Exec daily.bat  6:15
  2152.        Exec Weekly.bat 0.0:10
  2153.        ;
  2154.        ;
  2155.        RePack 6:01
  2156.        Poll 5030/2  18:10
  2157.        Poll 5030/6  17:00-20:00
  2158.        Poll 5020/35 4:00
  2159.        Boss 5030/* !5030/2 !5030/29 0:00-23:59
  2160.        ;
  2161.        Hold   All 11:00-23:00
  2162.        Direct 5030/6.*
  2163.        Mail   5030/7 5030/6
  2164.        Mail   *:*/*.*   5030/2
  2165.        Files  *:*/*.*   5030/2
  2166.        ;
  2167.        ;       Below you can see examples with "complicated" syntax statements:
  2168.        ;      (it's will work, but I wrote more easy :)
  2169.        ;
  2170.        ;Mail 5040/* !5040/3.3  5030/* !/*.4    5030/7 1.0:00-5:23:59
  2171.        ;Mail @nodelist\r50.net 5030/3
  2172.        ;Direct 5030/*.* !/2 !/3 !/5
  2173.        ;Boss * !/2 !/4 .1  3:00-4:00
  2174.        ;
  2175.        ;======================= End of file events.ctl ======================
  2176.                                                                               
  2177.                                                                               
  2178.        24. Modem Control.
  2179.  
  2180.           The section "Modem Control" in file T-mail.ctl sets some
  2181.         parameters, used by T-mail with modem.
  2182.  
  2183.           Variable Modem define file name which contained modem control
  2184.         string and modem answers
  2185.         for appropriate situation.
  2186.           File modem.ctl, distributed with T-mail, contain comments which I
  2187.         hope enough for tuning modem. If you do not have enough expirience I
  2188.         strongly reccomend you leave all "as is" check only modem
  2189.         initialization string. For that see user manul for you modem and check
  2190.         whether all commands "understands" You modem. If some commands not
  2191.         present - remove it from initialization string.
  2192.  
  2193.           Remember, that each command, sent in modem, should be finalized by
  2194.         symbol <cr>. It showed in file modem.ctl by symbol '|'.
  2195.         Moreover, symbol '~' can be used for set half second delay between
  2196.         commands.
  2197.  
  2198.        24.1 DTR signal control
  2199.                                                                               
  2200.           The many modems can have response reaction to level of DTR signal. This
  2201.         feature permits more reliably modem control. The different models
  2202.         of modems need different "fall" time of signal DTR. DTR transition time
  2203.         tuned by Dtr_Delay variable (in 10-th of second ).
  2204.  
  2205.           Dtr_Delay    10
  2206.  
  2207.        24.2 Tuning COM ports
  2208.  
  2209.           The section "Port definitions" define COM port parameters,
  2210.         which T-mail will use.
  2211.         Before all set number of COM port (variable Port),
  2212.         for example:
  2213.  
  2214.          Port 1             ; for COM1
  2215.  
  2216.         Variable Baud set maximum baud rate in accordance with you modem. If
  2217.         you modem permit using fixed port speed then you can set locked port
  2218.         speed in variable Lock_Baud. Remember that you must read before manual
  2219.         to you modem and FOSSIL driver for appropriate tuning they.
  2220.                                                                               
  2221.            If you modem accept data flow control by RTS/CTS signals
  2222.         then set in T-mail.ctl variable HardWare_Flow to Yes:
  2223.                                                                               
  2224.          HardWare_Flow    Yes      ; Allow RTS/CTS
  2225.  
  2226.            In case using Lock_Baud, RTS/CTS data flow control necessary for
  2227.         successful functioning.
  2228.  
  2229.        24.3 Modem initialization.
  2230.  
  2231.           Variable Init_After_Dial (values Yes/No) permit or not to
  2232.         T-mail initilizing modem after each number dialing. Usualy
  2233.         it not nessesary, however if you using individual dial prefixes
  2234.         for dialing numbers it can apper nessesary one.
  2235.  
  2236.           Modem_Delay define delay (in 10-th of second )
  2237.         before by parcel of any command in modem.
  2238.  
  2239.            Time to time T-mail try initilize modem. As
  2240.         frequently it happened set by variable Init_Interval (in minutes).
  2241.         In modem will sent one or 2 strings, defined by key words Init1
  2242.         and Init2 in file modem.ctl.
  2243.         If on any reason the modem does not answer 'OK' (or anything else,
  2244.         that T-mail finds clever:) after initialization attempt then T-mail
  2245.         will tried yet twice and, if no positive result got then T-mail
  2246.         will exit with errorlevel 5.
  2247.  
  2248.        24.4 Hang off during run external programs
  2249.  
  2250.            If needed long temporary exit from T-mail, it is possible say to
  2251.         modem to "hang off" in order to calling modems received signal "busy"
  2252.         and not spend time for carrier expect. Variable Busy_Hang_off (values
  2253.         yes/no ) enable or disable this feature.
  2254.  
  2255.           By this opportunity must be used with care, as in case you external
  2256.         program "hanged", modem can remain connected to line ("off hook"),
  2257.         that can cause the problems on your phone station.
  2258.  
  2259.        24.5 Carrier monitor
  2260.  
  2261.           Happens, that on line with bad signal quality carrier flashing.
  2262.         For program it can appear as lost carrier and session can be aborted.
  2263.         However, carrier often restored after several second or part second and
  2264.         session can be continued.
  2265.         Variable Carrier_Monitor sets (in seconds) time interval,
  2266.         during which T-mail will ignore absence of CD signal (carrier detected)
  2267.         from modem. For disable carrier monitor set this variable to 0.
  2268.                                                                               
  2269.  
  2270.        25. terminal mode.
  2271.  
  2272.         According to tradition, T-mail has builtin terminal support.
  2273.         Terminal called in following cases:
  2274.  
  2275.         - Pressed Alt-T key
  2276.         - was BBS call during mail session (Alt-T pressed)
  2277.         - T-mail was running with -TT option
  2278.  
  2279.         Variable Terminal define external terminal program,
  2280.         which will fired up in all these cases. If it not
  2281.         defined, will be used builtin terminal.
  2282.  
  2283.         You has opportunity to define the command for modem, which will be
  2284.         sent when you enter in terminal. It defined in file modem.ctl:
  2285.  
  2286.         Example:
  2287.         Init_Terminal    ATE1|
  2288.  
  2289.         Terminal automatically recognize ANSI and Avatar sequences.
  2290.  
  2291.         Some common terminal activities (start
  2292.         protocols, transmiting/receiving and etc.) are recorded in log-file,
  2293.         defined by Term_Log variable.
  2294.  
  2295.         Further you see keys, acting in terminal:
  2296.  
  2297.           Alt-D -  Dialing number. If address given, phone will searched in
  2298.                    nodelist. If should given phone number instead address, It
  2299.                    is must precedence by symbol '#'. Number will
  2300.                    dialing until connection will established
  2301.                    or ESC key pressed.
  2302.           PgUp -   send file(s)
  2303.           PgDn -   receive file(s)
  2304.           Esc    - Abort file transfer
  2305.           Alt-I  - Initilize modem
  2306.           Alt-H  - Hang up
  2307.           Alt-=  - Toggle DoorWay mode
  2308.           Alt-L  - Togle capture log
  2309.           Alt-B  - set baudrate
  2310.           Alt-7  - Set 7-bit in byte
  2311.           Alt-8  - Set 8-bit in byte (default)
  2312.           Alt-O  - Dos shell
  2313.           Alt-Q  - exit from terminal
  2314.  
  2315.             Moreover, all keys, defined by Key statements in file
  2316.         T-mail.ctl, will act (exclude Doorway mode).
  2317.  
  2318.        25.1 External protocols connection
  2319.                                                                               
  2320.         If not defined external protocols, and PgUp, PgDn key pressed or
  2321.         revealed autodownload sequence then will starts internal Zmodem.
  2322.         Otherwise will started appropriate external program defined by
  2323.         Term_Download or Term_Upload variable in file T-mail.ctl:
  2324.  
  2325.         Term_Download      c:\gsz\gsz.exe   port *P  speed *B rz -rr
  2326.  
  2327.            Sets external protocol for receive files.
  2328.                                                                               
  2329.         Term_Upload        c:\gsz\gsz.exe   port *P  speed *B sz
  2330.                                                                               
  2331.            Sets external protocol for sending files.
  2332.                                                                               
  2333.           Macrosymbols which can be used as protocol parameters:
  2334.           *B - DCE baudrate
  2335.           *L - locked port baud rate (or 0)
  2336.           *P - COM port number
  2337.           *T - task number
  2338.  
  2339.            Received files will placed into directory, defined by
  2340.         Term_DownDir variable (it's concerning only builtin protocol).
  2341.            When you give file name to be send and if full path not given
  2342.         files will be searched in directory defined by Term_UpDir variable:
  2343.                                                                               
  2344.         Term_UpDir         ß:\T-mail\files\
  2345.         Term_DownDir       ß:\T-mail\files\
  2346.  
  2347.        25.2 Exit from terminal.
  2348.  
  2349.           The exit from terminal is executed by pressing Alt-Q. If
  2350.         terminal was fired up by T-mail -TT option, then you will
  2351.         exit from T-mail terminal to operating system.
  2352.  
  2353.           You Should the opportunity set operator inactivity interval
  2354.         in Term_Inactivity  variable.
  2355.                                                                               
  2356.         Term_Inactivity    60     ; Terminal inactivity timeout (min)
  2357.  
  2358.           Sets maximal operator inactivity time (in minutes) in terminal mode
  2359.         If operator does not press neither key during this time then you will
  2360.         returned back in T-mail. If value set to 0 this feature switched off (default).
  2361.         after file sent or received time counter will automaticaly reset.
  2362.         ¡Ñá¬Γ¿ó¡«ßΓ¿ ßípáßδóáÑΓß∩. If capture log was opened ( Alt-L )
  2363.         it will be automatically closed on exit from terminal.
  2364.  
  2365.  
  2366.        26. T-Mail semaphores
  2367.  
  2368.  
  2369.        26.1 Exit flag
  2370.  
  2371.            In the event that you need force T-mail shutdown
  2372.         it is possible to use flag defined by Flag_Exit variable.
  2373.         It forces T-mail exit with errorlevel 0.
  2374.  
  2375.        26.2 Sleep flag
  2376.  
  2377.            If you necessity temporary stop "freeze" T-mail "externally" for
  2378.         example under multitask environment from another programs. It can be
  2379.         made, after creating flag, defined by Flag_Sleep variable in file
  2380.         T-mail.ctl. If T-mail found this flag it will switch to sleep mode and
  2381.         will not call, to answer on rings, no pack mail. However all T-mail
  2382.         keys will functioning properly.
  2383.           The difference this semaphores from all another that Flag_Sleep is never
  2384.         destroyed by T-mail, is obliged to do external programs,
  2385.         otherwise T-mail "sleep" for ever.
  2386.  
  2387.        26.3 Alive flag
  2388.  
  2389.             This flag permits understed to external program
  2390.         "whether T-mail alive". If is created flag, defined by
  2391.         Flag_Alive variable then T-mail will destroy it as soon as detect.
  2392.             However external programs should not require immediate flag
  2393.         removal, as far as flags checked during waiting call or event cycle
  2394.         and not does during session.
  2395.  
  2396.        26.4 Session flag
  2397.  
  2398.            This flag permits understed to external programs whether is T-mail
  2399.         in session. Flag created when connection established and erased when
  2400.         connection terminated. The flag name set by Flag_Session variable.
  2401.  
  2402.        26.5 Repack flag
  2403.  
  2404.           At last, the one more file, wich existance causes some actions. The
  2405.         name of this flag file fixed - repack.t-m in system directory of
  2406.         T-mail. This semaphore force T-mail pack all mail anew. Its name
  2407.         fixed, as far as system has only one packer and this flag concerns
  2408.         only it.
  2409.  
  2410.           * notes: All flags, described above, execpt flag repack.t-m, And
  2411.                         flag <Flag_Session> Can have "inverted significance".
  2412.                         By other words, as flag can serves as file
  2413.                         availability ,as its absence. In the latter case
  2414.                         The flag filename should begin from symbol '!'
  2415.                         See exampleÑ.
  2416.  
  2417.  
  2418.  
  2419.                 Flag_Alive   c:\alive.tm
  2420.                           flag meaning existance of file. It will be removed.
  2421.                                                                               
  2422.                 Flag_Alive   !ß:\alive.t-m
  2423.                           flag meaning absence of file. It will be created.
  2424.                                                                               
  2425.                         In accordance with this "exhibit flag" means
  2426.                         "create the file" or "remove the file "
  2427.                         For direct and inverted flags definition.
  2428.  
  2429.        26.6 Flags for start external programs
  2430.  
  2431.           Additionaly you can define up to 16 flags,
  2432.         which will cause start external programs, appropriate with
  2433.         flag. In T-mail.ctl are set constructions Process_Flag:
  2434.  
  2435.         The syntax:
  2436.          Process_Flag  <flag_name> [!]<dos command>|<dvpname>
  2437.                                                                               
  2438.         where
  2439.          <flag_name>   - flag name for run this proccess.
  2440.                          If not defined the full path, flag will searched for
  2441.                          in flags directory (see Flag_Dir)
  2442.                                                                               
  2443.          <dos command> - program name which will start (.exe, .com, .bat)
  2444.                          and it's parameters.
  2445.                                                                               
  2446.          <dvp name>    - DesqView program name (with path), means .dvp
  2447.                          which desribe appropriate DV window
  2448.                                                                               
  2449.          examples (t-mail.ctl):
  2450.  
  2451.          Process_Flag      anyarc.t-m       c:\squish\squish -In -Out
  2452.          Process_Flag      c:\anytic.000    anytic.bat -Debug
  2453.          Process_Flag      doswap.t-m       doswap.bat
  2454.                                                                               
  2455.            The use of Process_Flag permits, for example, build more effectively
  2456.         multilinear node. See chapter 21.
  2457.  
  2458.  
  2459.        27. Work with faxmodems
  2460.           (avaible only in commercial version)
  2461.  
  2462.           T-Mail has some builtin feature for operate with
  2463.         faxmodems (modems, which can send of message on fax-machine and
  2464.         receive facsimile messages). At first, if incoming call
  2465.         will interpreted as fax call then
  2466.         T-mail will receive the facsimile message (any page number).
  2467.         At second, letters contained specific information can be processed by
  2468.         internal FAX-gate and converted to TIFF v5.0 Gr.3 format together
  2469.         with graphics files, "applied" to this fax message, and facsimile messages
  2470.         queue will be created.
  2471.  
  2472.           This queue served similarly usual mail Queue.
  2473.         Bottom T-mail window T-mail show mail queue, or fax queue.
  2474.         These modes toggles by Alt-F key. T-mail serve
  2475.         mail and fax-queue during incoming calls.
  2476.  
  2477.        27.1 Hardware requirements
  2478.  
  2479.           Present T-mail version (2300) can maintaince faxmodems which
  2480.         support industrial standard Fax Class 2 operation. All key
  2481.         words in file T-mail.ctl for Fax Class 1 for further development.
  2482.  
  2483.         -------------------- Quote T-mail.ctl ---------------------
  2484.  
  2485.           Fax_Class       2                   ; Fax Class operations
  2486.  
  2487.           Define the type of faxboard. The value 1 and 2 for
  2488.           Fax Class 1 and 2 are allowable.
  2489.  
  2490.           Fax_Baud        9600; Max fax bit rate
  2491.  
  2492.           Define maximal fax speed. For Fax class 2 not
  2493.           important.
  2494.  
  2495.        27.2 How fax-gate work
  2496.  
  2497.           To send the facsimile message necessary create it. T-Mail
  2498.         tranform of letters (.msg) addressed to user 'FAX'
  2499.         in fax-messages, using service information contained in letters.
  2500.           Before transformation T-Mail access rights for author of letter to
  2501.         use gate. The access to gate defined by Fax_Mode variable in
  2502.         file T-mail.ctl:
  2503.  
  2504.         -------------------- Quote T-mail.ctl ---------------------
  2505.                                                                               
  2506.          Fax_Mode        Any            ;  Access level to fax-gate
  2507.                                                                               
  2508.          Fax_Mode define user group which can access fax-gate.
  2509.          Possible values is next:
  2510.                        Any - free access to fax-gate for all
  2511.                        Reg - only nodes listed in fax_nodes variable can
  2512.                              access fax-gate
  2513.                        Nod - only nodes listed in nodelists can
  2514.                              access fax-gate
  2515.                        Psw - only messages which have a password
  2516.                              (in subject field) defined by Fax_password
  2517.                              variable will be transferred
  2518.  
  2519.          Fax_Nodes        5030/100.* !.3 !.4
  2520.                                                                               
  2521.           Define address list of nodes which can access fax-gate.
  2522.           (If Fax_Mode variable set to Reg ).
  2523.           It is possible to use the filename preceded by symbol '@' and
  2524.           contained addresslist.
  2525.  
  2526.           examples:
  2527.                Fax_Nodes   5030/*.* !CM !5030/101
  2528.                Fax_Nodes   @c:\t-mail\f_list.txt
  2529.  
  2530.           If Fax_Mode variable set to Psw, this word should present in
  2531.           subject field of each gated letter
  2532.  
  2533.          Fax_Password       Fax_it!     ; Fax-gate password
  2534.                                                                               
  2535.           So that the letter was transformed, it should be addressed to
  2536.         this node, i.e. to be not transit. Here example:
  2537.  
  2538.          ────────────────────────────────────────────────────────────────────
  2539.            From:  John Smith          2:245/76
  2540.            To:    Fax                 2:5030/15
  2541.            Subj:  Fax_It!
  2542.          ────────────────────────────────────────────────────────────────────
  2543.            Phone  (095)123-4567
  2544.            Time   0:00-6:00
  2545.                                                                               
  2546.           Hello, dear friend!
  2547.           [message body]
  2548.          ────────────────────────────────────────────────────────────────────
  2549.  
  2550.           First 2 lines this letter - service ones. They inform telephone,
  2551.         where necessary sent message and time, when it is
  2552.         possible to send fax to this telephone.
  2553.           All lines beginning with one of service words, listed below, assumed
  2554.         as service lines. These lines will be ignored during transforming letter
  2555.          body to fax-message.
  2556.  
  2557.  
  2558.  
  2559.         Phone  <number>                    - destination fax phone number
  2560.         Time   <time period>               - work time of remote fax for this
  2561.                                              message (default 0:00-24:00)
  2562.         Length <page len>                  - Page letgh (strings)
  2563.                                              default 50
  2564.         Draft                              - normal resolution (default)
  2565.         Fine                               - fine mode (double vertical resolution)
  2566.         File  <filename>                   - graphics file which will be sent
  2567.                                              after this message.
  2568.                                              Can be defined up to 3 files
  2569.                                              File must be in Tiff v5.0 format
  2570.                                              for facsimile messages (Group 3).
  2571.                                              You can use tif2tif utility for
  2572.                                              converting simple tiff file to
  2573.                                              nessesary format.
  2574.                                                                               
  2575.          All lines execpt phone number are optional.
  2576.         Number can be defined by phone keyword,
  2577.         or directly in field 'To:', for example:
  2578.                                                                               
  2579.         To: FAX (095)123-4567
  2580.                                                                               
  2581.         Letter body can not contain keywords if phone number defined in
  2582.         message header
  2583.         Here some examples for define phone numbers:
  2584.                                                                               
  2585.         123-4567             - local number
  2586.         (095)123-4566        - number with city code
  2587.         1(800)345-444        - international number.
  2588.                                                                               
  2589.           Telephone will fransformed to international form (as in nodelist)
  2590.         and then will franslated with accordance with translation rules
  2591.         defined by Dial variables in file T-mail.ctl. (see. chapter 7)
  2592.  
  2593.        27.3 Sending facsimile messages
  2594.  
  2595.          Converted letters will placed into sendind queue. This queue
  2596.        is similar mail Queue and showed in bottom half screen.
  2597.        The key Alt-F toggle Queue "window" and You
  2598.        can lookup either mail or fax queue. Use arrow keys
  2599.        for scroll queue and choose current telephone, to
  2600.        which T-mail will dialing next time.
  2601.  
  2602.          T-Mail lookup one by one mail and fax queue and switch
  2603.        faxmodem to appropriate mode.
  2604.                                                                               
  2605.          Moreover time interval mentioned for each letter, can be defined
  2606.        global time interval when facsimile messages can be sent
  2607.        It defined by Fax_Call variable:
  2608.  
  2609.         -------------------- Quote T-mail.ctl ---------------------
  2610.  
  2611.            Fax_Call        17:38-8:00    ; Allow call as faxmachine
  2612.  
  2613.           Define time when T-Mail will call fax-machines.
  2614.           It is not exclude mailer functions, because Queue for fax«ó and
  2615.           E-mail will processed simultaneously.
  2616.                                                                               
  2617.            Fax_Tries       25           ; Attempts to send fax message
  2618.  
  2619.           Define how many times T-mail will try send each fax-message.
  2620.           If try count will reach this value then T-mail will error message
  2621.           to author.
  2622.           If message was successfuly sent then T-mail will sent confirmation
  2623.           letter to author.
  2624.  
  2625.        27.4 Receiving facsimile  messages
  2626.  
  2627.          For Fax Class 2 operations it is possible define, whether
  2628.        faxmodem answer as data, data/fax (autodetect) or only as fax.
  2629.  
  2630.          You can appropriate with this tune T-Mail. Variable Fax_Answer define
  2631.        time interval, where possible receiving faxes. In all other time T-mail
  2632.        accept only data call (if answer permited in general).
  2633.  
  2634.         Variable Fax_Adaptive define, whether T-mail will answer only as
  2635.        fax or the incoming calls or will try autodetect work mode. It is clear
  2636.        that preferable permit adaptive answer so that not interrupt mail
  2637.        station activity.
  2638.                                                                               
  2639.            Fax_Answer      18:00-8:00   ;  Allow answer as faxmachine
  2640.                                                                               
  2641.          Define time, when T-Mail will analyze incoming calls and to try
  2642.          establish mail session or receive fax.
  2643.          If Fax_Adaptive No, T-Mail will answer only as fax.
  2644.  
  2645.           Fax_Adaptive    Yes          ; Allow adaptive fax/data answer
  2646.                                                                               
  2647.          Inform T-Mail, wether support your fax-modem adaptive answer. It is
  2648.          important for Fax Class 1 operations. (for class 2 adaptive answer
  2649.          always supported, but you can prohibit it) If your fax-modem not
  2650.          support this feature you set 'No' then T-mail will serve incoming
  2651.          calls only as fax call.
  2652.                                                                               
  2653.        27.5 Fax cover page
  2654.  
  2655.          Variable Fax_Cover permits define the file, which
  2656.        will be sent before each letter (cover page).
  2657.        This file should be in Tiff v.5.0 Gr3 format.
  2658.  
  2659.           Fax_Cover       cover.gr3    ; filename of cover page
  2660.  
  2661.  
  2662.        28. Users in local network (external nodes).
  2663.           (only in commercial version)
  2664.  
  2665.          T-Mail have possibility to deliver mail and files for defined nodes
  2666.        by alternative ways - for example via local network.
  2667.          If exist opportunity deliver the mail and files for some
  2668.        of system with assistance of operating system (for example LAN), then
  2669.        most reasonable way define this addresess as external nodes
  2670.  
  2671.  
  2672.        External nodes desribed in file subst.lst as follow:
  2673.                                                                               
  2674.        <address> External [!]<dos command>
  2675.                                                                               
  2676.          Symbols after External keyword and for end of line assumed as
  2677.        Dos command which will executed for each "transfered" file.
  2678.        You can use some macro symbols in <dos command>:
  2679.  
  2680.          * F - will be replaced with full filename.
  2681.          * A - will be replaced with destination address.
  2682.  
  2683.        <dos command> can begin with '!' symbol (it is not considered by
  2684.        part of command), then T-Mail will not swap out and the copy of command
  2685.        processor will started.
  2686.  
  2687.        examples (subst.lst):
  2688.  
  2689.        5030/15.77  External !copy *F c:\points\77
  2690.  
  2691.        Before keyword "external" can be usual constructions, for example
  2692.        work time of node:
  2693.  
  2694.        5030/15.77 Time 5:00-9:00  External Mycopy.exe *A *F c:\points\77
  2695.                                                                               
  2696.  
  2697.        29. Keyboard control
  2698.  
  2699.                                                                               
  2700.              Below listed keys and appropriate actions.
  2701.  
  2702.        ┌───────────┬──────────────────────────────┬────────────────────────┐
  2703.        │           │                              │                        │
  2704.        │   Key     │  When  T-mail key active     │  Action                │
  2705.        │           │                              │                        │
  2706.        ├───────────┼──────────────────────────────┼────────────────────────┤
  2707.        │           │                              │                        │
  2708.        │   F1      │ while waiting for a call     │  Show help screen      │
  2709.        │   Alt-X   │ while waiting for a call     │exit with errorlevel 10 │
  2710.        │   Space   │ while waiting for a call     │  Force next call       │
  2711.        │  Alt-O    │ while waiting for a call     │  DOS Shell             │
  2712.        │           │                              │                        │
  2713.        │  Alt-Z    │ while waiting for a call     │  send string to modem  │
  2714.        │           │                              │                        │
  2715.        │  Alt-T    │ while waiting for a call     │  Enter to terminal     │
  2716.        │           │                              │                        │
  2717.        │ Shft-Tab  │ while waiting for a call     │  Toggle 'Crash poll'   │
  2718.        │           │                              │  mode                  │
  2719.        │  Alt-P    │ while waiting for a call     │  Poll node or nodes**  │
  2720.        │  Alt-S    │ while waiting for a call     │  Send files to node**  │
  2721.        │  Alt-D    │ while waiting for a call     │  Send files directly   │
  2722.        │           │                              │  to node**             │
  2723.        │  Alt-R    │ while waiting for a call     │  Request files at      │
  2724.        │           │                              │  node**                │
  2725.        │           │                              │                        │
  2726.        │  Alt-A    │ while waiting for a call     │  Force manual answer   │
  2727.        │           │                              │  even if not permited  │
  2728.        │           │                              │  by 'Answer' variable  │
  2729.        │           │                              │                        │
  2730.        │    ?      │ while waiting for a call     │  Get info about node   │
  2731.        │           │                              │                        │
  2732.        │  Alt-=    │ while waiting for a call     │  Change any T-Mail     │
  2733.        │           │                              │  variable (beware:don't│
  2734.        │           │                              │  try on port etc. :-)  │
  2735.        │   +       │                              │  Increase              │
  2736.        │   -       │ while waiting for a carrier  │  Decrease wait interval│
  2737.        │  Esc      │                              │                        │
  2738.        │  Space    │ while waiting for a carrier  │  Hang up               │
  2739.        │           │                              │                        │
  2740.        │  Alt-H    │ while handshaking or         │  Hang up(break session)│
  2741.        │           │ file receiving/fransmiting   │                        │
  2742.        │           │                              │                        │
  2743.        │  Ctrl-X   │ while receiving file         │  Skip current file     │
  2744.        │           │                              │                        │
  2745.        │  Alt-C    │ while receive/transmit files │  Request 'Chat' mode   │
  2746.        │           │                              │                        │
  2747.        │  Alt-T    │ while receive/transmit files │  Request BBS after     │
  2748.        │           │                              │  mail session          │
  2749.        │           │                              │                        │
  2750.        │           │                              │                        │
  2751.        └───────────┴──────────────────────────────┴────────────────────────┘
  2752.  
  2753.        ┌───────────┬───────────── For nodes in queue ──────────────────────┐
  2754.        │           │                              │                        │
  2755.        │  Ctrl-H   │ while waiting for a call     │  hold* calls for given │
  2756.        │           │                              │  nodes*** for 1 hour   │
  2757.        │    H      │                              │  Toggle HOLD* status   │
  2758.        │           │                              │  for current queue     │
  2759.        │           │                              │  entry                 │
  2760.        │           │                              │                        │
  2761.        │  Ctrl-U   │ while waiting for a call     │  Unhold calls for given│
  2762.        │           │                              │  nodes***              │
  2763.        │           │                              │                        │
  2764.        │  Ctrl-I   │ while waiting for a call     │  Set immediate* status │
  2765.        │           │                              │  for given nodes***    │
  2766.        │           │                              │  for 1 hour            │
  2767.        │    I      │                              │Toggle immediate* status│
  2768.        │           │                              │ for current            │
  2769.        │           │                              │ queue entry            │
  2770.        │           │                              │                        │
  2771.        │  Ctrl-R   │ while waiting for a call     │ Reset immediate* status│
  2772.        │           │                              │ for given nodes***     │
  2773.        │           │                              │                        │
  2774.        │  Ctrl-P   │ while waiting for a call     │  Set priority* status  │
  2775.        │           │                              │  for given nodes***    │
  2776.        │           │                              │  for 1 hour            │
  2777.        │    P      │                              │Toggle priority* status │
  2778.        │           │                              │ for current            │
  2779.        │           │                              │ queue entry            │
  2780.        │           │                              │                        │
  2781.        │  Ctrl-C   │ while waiting for a call     │ Reset priority* status │
  2782.        │           │                              │   for given nodes***   │
  2783.        └───────────┴──────────────────────────────┴────────────────────────┘
  2784.            -------
  2785.                  * - status immediate, hold and priority
  2786.                        Is described in chapter "Queue control".
  2787.  
  2788.                  ** - act agreement about addresses, including wildcards
  2789.                       allowable to enter such line for example:
  2790.                           5030/6 567:667/4.5 1:3/3 5020/* /1
  2791.  
  2792.                  *** - the same, including <address list> format
  2793.                       For example:
  2794.                           1:3/3 5020/* !5020/3 HST !MNP
  2795.                                                                               
  2796.           Also you can use keys described in tables, it is possible to use
  2797.           the arrow keys, Home, End, PgUp, PgDn for look up Queue, and in
  2798.           combination with Ctrl - for change current position in Queue.
  2799.                                                                               
  2800.           Ctrl-Enter causes 'Node info' mode for current address in Queue.
  2801.           Enter run external program t-queue, Queue manager (it does not
  2802.           included in T-mail 2300 distribution set). Developers can use
  2803.           this opportunity with T-mail API.
  2804.  
  2805.  
  2806.        30. Defining hot keys.
  2807.  
  2808.           The user has the opportunity define up to 20 hot keys, which
  2809.        will run appropriate external programs.
  2810.        Keys defined by keywords 'Key' in file T-mail.ctl:
  2811.  
  2812.         The syntax
  2813.  
  2814.          Key <hex scancode> [<flag>] <dos_command> [<parameters>]
  2815.  
  2816.          Where
  2817.  
  2818.           <hex scancode> - key scancode (see table below)
  2819.           <dos command>  - DOS command or program .exe, .com, .bat or
  2820.                            full path and name to DesqView DVP file.
  2821.           <paramrters>   - optional program parameters
  2822.           <flag>         - one or few modifier-symbols defining condition,
  2823.                            for runing <dos command>:
  2824.  
  2825.          '!'  - no swap out;
  2826.          '%'  - don't save screen;
  2827.          '+'  - save queue structures, events and route rules
  2828.                 and read after returning
  2829.          '?'  - show string 'Type Exit to return to T-mail..';
  2830.          '#'  - reserved
  2831.          '*'  - reserved
  2832.          '&'  - reserved
  2833.  
  2834.         Examples:
  2835.  
  2836.           Key  1200  c:\gold\gold.bat
  2837.           Key  5800  ?tst.bat
  2838.           Key  5900  c:\dv\bc-pif.dvp
  2839.           Key  2600  !+c:\command.com
  2840.           Key  3100  !msgview.exe c:\T-mail\mail\*.msg
  2841.           Key  2600  c:\tools\view.exe c:\T-mail\T-mail.log
  2842.  
  2843.                               Keyboard scan code table.
  2844.  
  2845.        ┌────────────────────── Functional keys ─────────────────────────────┐
  2846.        │                                                                    │
  2847.        │ <F1>  3B00    <Shift F1>  5400    <Ctrl-F1>  5E00  <Alt-F1>  6800  │
  2848.        │ <F2>  3C00    <Shift F2>  5500    <Ctrl-F2>  5F00  <Alt-F2>  6900  │
  2849.        │ <F3>  3D00    <Shift F3>  5600    <Ctrl-F3>  6000  <Alt-F3>  6A00  │
  2850.        │ <F4>  3E00    <Shift F4>  5700    <Ctrl-F4>  6100  <Alt-F4>  6B00  │
  2851.        │ <F5>  3F00    <Shift F5>  5800    <Ctrl-F5>  6200  <Alt-F5>  6C00  │
  2852.        │ <F6>  4000    <Shift F6>  5900    <Ctrl-F6>  6300  <Alt-F6>  6D00  │
  2853.        │ <F7>  4100    <Shift F7>  5A00    <Ctrl-F7>  6400  <Alt-F7>  6E00  │
  2854.        │ <F8>  4200    <Shift F8>  5B00    <Ctrl-F8>  6500  <Alt-F8>  6F00  │
  2855.        │ <F9>  4300    <Shift F9>  5C00    <Ctrl-F9>  6600  <Alt-F9>  7000  │
  2856.        │ <F10> 4400    <Shift F10> 5D00    <Ctrl-F10> 6700  <Alt-F10> 7100  │
  2857.        │ <F11> 8500    <Shift F11> 8700    <Ctrl-F11> 8900  <Alt-F11> 8B00  │
  2858.        │ <F12> 8600    <Shift F12> 8800    <Ctrl-F12> 8A00  <Alt-F12> 8C00  │
  2859.        │                                                                    │
  2860.        ├─────────────────────────────── Alt-keys ───────────────────────────┤
  2861.        │                                                                    │
  2862.        │     <Alt-A> 1E00           <Alt-N> 3100       <Alt-1> 7800         │
  2863.        │     <Alt-B> 3000           <Alt-O> 1800       <Alt-2> 7900         │
  2864.        │     <Alt-C> 2E00           <Alt-P> 1900       <Alt-3> 7A00         │
  2865.        │     <Alt-D> 2000           <Alt-Q> 1000       <Alt-4> 7B00         │
  2866.        │     <Alt-E> 1200           <Alt-R> 1300       <Alt-5> 7C00         │
  2867.        │     <Alt-F> 2100           <Alt-S> 1F00       <Alt-6> 7D00         │
  2868.        │     <Alt-G> 2200           <Alt-T> 1400       <Alt-7> 7E00         │
  2869.        │     <Alt-H> 2300           <Alt-U> 1600       <Alt-8> 7F00         │
  2870.        │     <Alt-I> 1700           <Alt-V> 2F00       <Alt-9> 8000         │
  2871.        │     <Alt-J> 2400           <Alt-W> 1100       <Alt-0> 8100         │
  2872.        │     <Alt-K> 2500           <Alt-X> 2D00       <Alt--> 8200         │
  2873.        │     <Alt-L> 2600           <Alt-Y> 1500       <Alt-=> 8300         │
  2874.        │     <Alt-M> 3200           <Alt-Z> 2C00                            │
  2875.        │                                                                    │
  2876.        ├─────────────────────────── Control keys ───────────────────────────┤
  2877.        │                                                                    │
  2878.        │       <Home> 4700      <Ctrl-Home> 7700         <BackSpace> 0E08   │
  2879.        │        <End> 4F00       <Ctrl-End> 7500            <Insert> 5200   │
  2880.        │       <PgUp> 4900      <Ctrl-PgUp> 8400               <Del> 5300   │
  2881.        │       <PgDn> 5100      <Ctrl-PgDn> 7600          <Ctrl-Ins> 9200   │
  2882.        │       <Left> 4B00      <Ctrl-Left> 7300          <Ctrl-Del> 9300   │
  2883.        │      <Right> 4D00     <Ctrl-Right> 7400                            │
  2884.        │         <Up> 4800        <Ctrl-Up> 8D00                            │
  2885.        │       <Down> 5000      <Ctrl-Down> 9100                            │
  2886.        │          <5> 4C00                                                  │
  2887.        │                                                                    │
  2888.        ├───────────────────────────── Grey keys ────────────────────────────┤
  2889.        │                                                                    │
  2890.        │     <Grey /> E02F          <Grey -> 4A2D     <Grey Enter> E00D     │
  2891.        │     <Grey *> 372A          <Grey +> 4E2B                           │
  2892.        │                                                                    │
  2893.        └────────────────────────────────────────────────────────────────────┘
  2894.  
  2895.        31. Sound effects.
  2896.  
  2897.             T-mail can issue 9 different sounds in different
  2898.          situations.
  2899.          Each situation have key word and bit variable Sound.
  2900.         ┌───────────────┬────────────────────────────────────────┬──────────┐
  2901.         │ Word          │                  The situation         │   Mask   │
  2902.         ├───────────────┼────────────────────────────────────────┼──────────┤
  2903.         │               │                                        │          │
  2904.         │     Connect   │   connection established               │     1    │
  2905.         │     Begin     │   mail session began (after EMSI)      │     2    │
  2906.         │     End       │   mail session end                     │     4    │
  2907.         │     Unpack    │   unpacking mail packet                │     8    │
  2908.         │     Chat      │   Chat requested from another side     │    10H   │
  2909.         │     Human     │   Human Caller (before run dobbs.bat)  │    20H   │
  2910.         │               │                                        │          │
  2911.         │     Abort     │   Session breaked or aborted by sysop  │    40H   │
  2912.         │     Error     │   error initalizing modem or           │    80H   │
  2913.         │               │   FOSSIL-driver , before exit with     │          │
  2914.         │               │   errorlevel  5 or 7.                  │          │
  2915.         │               │                                        │          │
  2916.         │     Tick      │   In different cases, for example      │   100H   │
  2917.         │               │   when keyboard buffer overfloat       │          │
  2918.         │               │                                        │          │
  2919.         │     Ring      │   Incoming ring                        │   200H   │
  2920.         │               │                                        │          │
  2921.         └───────────────┴────────────────────────────────────────┴──────────┘
  2922.                                                                               
  2923.            In file T-mail.ctl to each key word corresponds melody
  2924.         everyone can tune sounds on his tastes, using rules
  2925.         for record melodies. The utility testsnd used for test
  2926.         melodies described in T-mail.ctl.
  2927.  
  2928.          The syntax:
  2929.  
  2930.          SoundOf <the keyword> <repetion number> <patern>
  2931.  
  2932.          Each patern contain one or some groups of 4 numbers, which
  2933.          interpreted so:
  2934.  
  2935.           First number             - start tone (Hz) (-1 means silence)
  2936.           2-nd                     - tone increment per cycle
  2937.           3-rd                     - cycle duration (msec)
  2938.           4-th -                   - number of cycles
  2939.                                                                               
  2940.        Example:
  2941.                                                                               
  2942.        SoundOf Chat         4   3500 100 50 1       3000 0 50 1
  2943.                 │           │     │   │   │ │
  2944.                 │        ┌──┘     │   │   │ └ number of cycles
  2945.                 │        │        │   └─┐ └ cycle duration(ms)
  2946.                 │        │        │   tone increment(Hz)
  2947.              case     repetion  start tone (Hz)
  2948.                       number
  2949.  
  2950.           Variable Sound in file T-mail.Ctl permits mask defined
  2951.           sound effects. The value YES corresponds 1FFH (all sounds permited),
  2952.           value NO - 000 (sounds not permited at all).
  2953.  
  2954.        Example:
  2955.                                                                               
  2956.        Sound    181    ; permited ONLY 'Tick', 'Connect' and 'Error' sounds
  2957.  
  2958.  
  2959.        32. Colour setup
  2960.                                                                               
  2961.             If You not satisfied the colourful pallete, used in T-mail as
  2962.         default or You use monochrome monitor, You can use T-Color utility
  2963.         for tune colours. Pallete will recorded in file T-mail.exe.
  2964.  
  2965.             For set monochrome pallete, it is necessary to start:
  2966.          T-color Mono
  2967.  
  2968.             For restore pallete to default:
  2969.          T-color Default
  2970.  
  2971.             For set you own pallete:
  2972.          T-Color Custom
  2973.                                                                               
  2974.  
  2975.        33. Command line options
  2976.  
  2977.          -L<file> set alternative log-filename (instead T-mail.log)
  2978.          -I       force T-mail ignore executed
  2979.                   Poll, RePack, Exec and run it's again.
  2980.          -S       switch off modem ligths on screen (recomended,
  2981.                   if you using computer IBM PC 4,77Múµ :)
  2982.                   or non-standard COM port addresses.
  2983.          -D1      short log-file recording.
  2984.          -TT      run builtin terminal immediately
  2985.          -T[<n>]  set number of internal buffer items for queue stack.
  2986.                   Default value 60. If parameter -T given witout n then
  2987.                   it assumed 5.
  2988.          -Nn      Set task number to n
  2989.                                                                               
  2990.  
  2991.        34. Errorlevels.
  2992.  
  2993.           first 10 errorlevels, which can return T-mail reserved
  2994.           for some cases. They define what caused shutdown:
  2995.  
  2996.             0  Was found file defined¡δ⌐ by Flag_Exit variable;
  2997.             1  Reserved;
  2998.             2  Configuration file T-mail.ctl not found
  2999.                or not enough memory for all variables;
  3000.             3  Not enough free disk space (less 32 Kb)
  3001.             4  Reserved;
  3002.             5  Can not initialize modem;
  3003.             6  Reserved;
  3004.             7  Can not open FOSSIL driver;
  3005.             8  Reserved;
  3006.             9  Reserved;
  3007.            10  Pressed Alt-X key (user break).
  3008.                                                                               
  3009.           * notes: if during session while receiving file T-Mail define that
  3010.             unsufficient free disk space, it will exit with errorlevel 3.
  3011.  
  3012.  
  3013.        35. Thanks
  3014.  
  3015.            Thanks to colleagues, which help me wrote this program T-mail,
  3016.         also for testing and debugging. Many ideas I get from discussions,
  3017.         in some FidoNet echo conferences.
  3018.         The collective experience of system operators on use FrontDoor
  3019.         , D'Bridge and BinkleyTerm has made possible appearence of T-mail.
  3020.  
  3021.           Personal thanks:
  3022.           Osckar Izenberg, Vadim Belman, Michael Bravo, Anton Getmanskiy,
  3023.           Alexey Dmitriev, Michael Drozdov, Dmitry Zavalishin, Andrey Ivanov,
  3024.           Oleg Karpenko, Shota Kasradze, Alex Korchmar, Konstantin Kuznetsov,
  3025.           Kiril Mendelev, Ilia Mikhailov, Vladimir Nikitin,
  3026.           Slava Olhovchenkov, Sergey Ohapkin, Pavel Pryazshintsev,
  3027.           Denis Saveliev, Michael Savchenko, Alexey Saminsky, Anatoly Skoblov,
  3028.           Dmitry Sudak, Petr Suchkov, Sergey Terehov, Alexey Farenbruh,
  3029.           Andrey Fridman, Vladimir Shalyapin, Andrey Yakovlev
  3030.  
  3031.           Specific thanks:
  3032.          Anton Getmanskiy  - for screen design etc.
  3033.          Alexey Dmitriev   - for FAX fonts design
  3034.          Ludmila Elkina    - for editing this documentation
  3035.          Alexey Saminsky   - for help with wrote nodelist compiler
  3036.          Sergey Terehov    - for library for access file system
  3037.          Andrey Fridman    - for hard testing and etc.
  3038.                                                                               
  3039.           As well as many another, who was included in testing process
  3040.           necessarily :))
  3041.  
  3042.             T-mail was compiled and debuged with Borland v2.0. All source
  3043.          texts are written in integrated BC 2.0 environment. All codes exclude
  3044.          SPAWNO procedures are written and debuged by author. Moreover are not
  3045.          used any kind of compiler libraries and additional modules.
  3046.  
  3047.          This product uses the SPAWNO routines by Ralf Brown to minimize
  3048.            memory use while shelling to DOS and running other programs.
  3049.                                                                               
  3050.  
  3051.        36. How you can get commercial T-mail version
  3052.  
  3053.            1) In the event that You do not belong to noncommercial users, as
  3054.         stipulate by rules, which you can read at beginning of document or You
  3055.         want to be taken advantage of additional features of commaercial
  3056.         version, You must become registered T-mail user. If You have purchased
  3057.         T-mail at negotiator, You must fill in registration form contained in
  3058.         file order.frm and sent it to address 2:5030/100@fidonet After that
  3059.         You will receive from negotiator letter and personal key for T-mail.
  3060.  
  3061.            2) If You want buy T-mail directly at author, please download
  3062.         from 2:5030/100 (request file TINFO) T-mail purchasing condition.
  3063.         After payment You must execute first items
  3064.  
  3065.  
  3066.        37. Standarts and documents
  3067.  
  3068.         1. FTS-0001      A Basic FidoNet(r) Technical Standard
  3069.                          Revision 15
  3070.                          Randy Bush, Pacific Systems Group
  3071.                          August 30, 1990
  3072.  
  3073.         2. FTS-0005      The Distribution Nodelist
  3074.                          Original by Ben Baker,  7:44/76@AlterNet
  3075.                          Amended by Rick Moore,  1:115/333@FidoNet
  3076.                          February 5,  1989
  3077.  
  3078.         3. FSC-0008      Fundamentals of FOSSIL implementation and use
  3079.                          Draft Version 4  August 10, 1987
  3080.                          Vincent E. Perriello, VEP Software
  3081.  
  3082.         4. FSC-0009      Nodelist Flag Draft Document
  3083.                          Primary Author: Ray Gwinn
  3084.                          Secondary Author: David Dodell
  3085.                          Version 1 (11-15-87)
  3086.  
  3087.         5. FSC-0020      Alternate Nodelist Flag Proposal
  3088.                          by Marshall Presnell, (109/639.106)
  3089.                          November 13, 1987
  3090.  
  3091.         6. FSC-0025      AVATAR
  3092.                          Advanced Video Attribute Terminal Assembler and
  3093.                          Recreator
  3094.                          George A. Stanislav, 129/39
  3095.  
  3096.         7. FSC-0041      MSGID / REPLY
  3097.                          A proposal for unique message identifiers
  3098.                          and reply chain linkage
  3099.                          jim nutt, 1:114/30@fidonet
  3100.  
  3101.         8. FSC-0046       A Product Idenfifier For FidoNet Message Handlers
  3102.                           Draft II
  3103.                           Joaquim Homrighausen, 3:632/308@fidonet
  3104.  
  3105.         9. FSC-0056       EMSI/IEMSI Protocol Definitions
  3106.                           Joaquim H. Homrighausen,  May 3, 1991
  3107.  
  3108.                                                                               
  3109.        38. Trademarks
  3110.                                                                               
  3111.         Fido, Fidonet is a trademark of Tom Jennings and Fido Software
  3112.         MS/DOS        is a trademark of Microsoft
  3113.         PC/DOS        is a trademark of International Business Machines
  3114.         Borland C++   is a trademark of Borland International
  3115.         DesqView      is a trademark of Quarterdeck inc.
  3116.         Remote Access is a trademark of Continental Software
  3117.         Maximus       is a trademark of Scott J. Dudley
  3118.         FrontDoor     is a trademark of Joachim Homrichhausen
  3119.         D'Bridge      is a trademark of Chris Irwin
  3120.         BinkleyTerm   is a trademark of Bit Bucket Software Co.
  3121.         Hayes         is a trademark of Hayes Microcomputer Products
  3122.  
  3123.  
  3124.        39. Conclusion.
  3125.  
  3126.            Certainly, 100%-bug-free products not exists naturally T-mail also
  3127.         contain some errors. However, I should hope that not very hard onese.
  3128.         For support T-mail is created echoconference T-mail.ru, where you can
  3129.         receive consultation and/or to state remarks and wishes.
  3130.  
  3131.