home *** CD-ROM | disk | FTP | other *** search
/ Shareware Overload / ShartewareOverload.cdr / comm / c26_doc.zip / COM-AND.DOC < prev    next >
Text File  |  1990-04-25  |  184KB  |  5,555 lines

  1. COM-AND: IBM PC Communications and Accessories
  2.  
  3.  
  4.  
  5.  
  6.  
  7.  
  8.  
  9.  
  10.  
  11.  
  12.  
  13.  
  14.  
  15.  
  16.  
  17.           -----------------------------------------
  18.           COM-AND:    Communications and integrated
  19.           communications accessories for the IBM PC
  20.           -----------------------------------------
  21.  
  22.  
  23.  
  24.  
  25.  
  26.  
  27.  
  28.  
  29.  
  30.  
  31.  
  32.     COM-AND is distributed freely and may be copied by anyone for
  33.     any number of machines, for purposes of evaluation.  The author
  34.     offers COM-AND and its accessory programs as a package, as
  35.     "shareware".  If you USE the program a registration of $35.00 is
  36.     required.  The author may be reached:
  37.  
  38.  
  39.                  CABER Software
  40.                  R. (Scott) McGinnis
  41.                  P.O. Box 3607 Mdse Mart
  42.                  Chicago, IL 60654-0607
  43.  
  44.                  PLINK, GEnie id: TARTAN
  45.                  CIS id: 73147,2665
  46.  
  47.  
  48.  
  49.  
  50.  
  51.  
  52.  
  53.  
  54. Version 2.6: 900426
  55.  
  56. COM-AND: IBM PC Communications and Accessories
  57.  
  58.  
  59.  
  60.  
  61.  
  62.     COM-AND version 2.6 is copyright 1989 CABER Software (R.  Scott
  63.     McGinnis).  All rights are reserved world wide, excepting redistri-
  64.     bution under the ShareWare concept.  COM-AND is distributed freely
  65.     and may be copied by anyone for any number of machines, under the
  66.     ShareWare concept.
  67.  
  68.  
  69.     COM-AND is distributed as ShareWare.  You may use COM-AND without
  70.     charge for the purposes of evaluating its usefulness to you.  It is
  71.     suggested that this evaluation period be limited to a few days of
  72.     actual use.  If you find COM-AND to be worth continued use, then you
  73.     are asked to pay for it.  The payment is called a "registration
  74.     fee".  Complete the included registration form and mail it with your
  75.     payment.
  76.  
  77.  
  78.     Registration of COM-AND includes all published accessory programs
  79.     (which currently are PC-VCO, CCHESS, CBRIDGE, and CCOLOR), and
  80.     several utilities (unPACKIT and unSTUFIT).  Accessories and utili-
  81.     ties are published separately.    One registration covers the use
  82.     of any and all of these programs.
  83.  
  84.  
  85.     By registering your copy of COM-AND (or any ShareWare product), you
  86.     are promoting and supporting the convenient distribution method and
  87.     free evaluation policy that brought you this copy of COM-AND.
  88.  
  89.  
  90.     If you have received this copy from a Users' Group, "Software
  91.     Library" or "SIG", and have paid a small fee (usually $3 to $10),
  92.     you have NOT acquired a registration or continued right to use
  93.     COM-AND.  This fee was for the convenience of obtaining the diskette
  94.     with COM-AND on it.  The fee does NOT apply to the registration fee.
  95.  
  96.  
  97.     You may NOT distribute COM-AND or its documentation in connection
  98.     with ANY commercial venture, product, publication or service without
  99.     written approval.  COM-AND may not be disassembled or modified
  100.     without express written consent of its author.
  101.  
  102.  
  103.     COM-AND is supplied "as-is" with no warranties expressed or implied.
  104.     Neither CABER Software nor the author will be liable for any damages
  105.     or lost revenues incurred through the use of this program or any of
  106.     its accessories and utilities beyond the registration price paid.
  107.  
  108.  
  109. Version 2.6: 900426
  110.  
  111. COM-AND: IBM PC Communications and Accessories
  112.  
  113.  
  114.  
  115.  
  116.  
  117.     COM-AND version 2.6 is available as shareware through PLINK, GEnie,
  118.     UNISON, NWI, Delphi and CIS.  COM-AND is also available through many
  119.     Bulletin Board systems.  Individuals are welcome to download COM-AND
  120.     for purposes of evaluation.
  121.  
  122.  
  123.     Commercial users of COM-AND must register COM-AND with the author or
  124.     one of the individuals listed here.  Site licenses (multiple copy
  125.     registrations) are available from:
  126.  
  127.  
  128.         CABER Software
  129.         R. (Scott) McGinnis
  130.         P.O. Box 3607 Mdse Mart
  131.         Chicago, IL 60654-0607
  132.  
  133.         PLINK, GEnie, Delphi ID: TARTAN
  134.         CIS id: 73147,2665
  135.  
  136.  
  137.     Commercial users of COM-AND may register it with the author above or
  138.     through:
  139.  
  140.  
  141.         SupportWare
  142.         Mike Todd
  143.         P.O. Box 14927
  144.         Long Beach, CA 90803-1449
  145.         (213) 439-6104
  146.  
  147.  
  148.     In Japan, COM-AND may be downloaded as shareware from PC-VAN.
  149.     COM-AND is available in Japan as a commercial product tailored for
  150.     specific machines through:
  151.  
  152.  
  153.         Discotel Japan (Ciari Soft)
  154.         Kurakuen 3 ban-cho 2-50
  155.         Nishinomiya 662
  156.         Japan
  157.  
  158.         Contact: Claude Ciari
  159.         Tel (0798)73-0052
  160.         PC-VAN NEC by Ciari
  161.         ID: CCIARI
  162.  
  163.  
  164. Version 2.6: 900426
  165.  
  166. COM-AND: IBM PC Communications and Accessories
  167.  
  168.  
  169.                  Table of Contents
  170.                  -----------------
  171.  
  172. I.    Introduction  .............................................. page 1
  173.  
  174.     A. What is COM-AND ......................................... page 1
  175.     B. Version 2? .............................................. page 2
  176.     C. This document ........................................... page 2
  177.  
  178. II.    Running the program  ....................................... page 3
  179. III.    CRT Display  ............................................... page 5
  180. IV.    Accessory Programs ......................................... page 7
  181. V.    Menu mode .................................................. page 9
  182. VI.    Commands: available in CRT and accessory modes ............. page 11
  183. VII.    Commands: CRT mode only .................................... page 14
  184. VIII.    Commands: Accessory only ................................... page 17
  185. IX.    Dialing (Alt-D, Alt-R and Alt-H) ........................... page 18
  186.  
  187.     A. Dialing (Alt-D) ......................................... page 18
  188.     B. Dialing directory maintenance (Alt-D) ................... page 19
  189.     C. Redial (Alt-R) .......................................... page 20
  190.     D. Hangup (Alt-H) .......................................... page 20
  191.     E. A note on modem speed ................................... page 20
  192.  
  193. X.    Macros (Alt-M and Alt-0/9) ................................. page 21
  194.  
  195.     A. Revise entry (0-9) ...................................... page 21
  196.     B. Load a new file (Alt-M subcommand F) .................... page 22
  197.     C. Clear entries (Alt-M subcommand C) ...................... page 23
  198.     D. Execute entry (Alt-0 through Alt-9) ..................... page 23
  199.  
  200. XI.    Encryption/Decryption (Alt-N) .............................. page 24
  201. XII.    Program Configuration (Alt-S, Alt-P, Alt-O and Alt-J) ...... page 27
  202.  
  203.     A. Setup (Alt-S) ........................................... page 27
  204.     B. Communications Parameters (Alt-P) ....................... page 31
  205.     C. Options (Alt-O) ......................................... page 33
  206.     D. Colors (Alt-J) .......................................... page 40
  207.  
  208. XIII.    File Transfer (PgUp, PgDn, Alt-F, F4) ...................... page 41
  209.  
  210.     A. XMODEM Up/Download ...................................... page 43
  211.     B. YMODEM Up/Download ...................................... page 44
  212.     C. ZMODEM Up/Download ...................................... page 45
  213.     D. KERMIT Up/Download ...................................... page 46
  214.     E. CIS-B and Quick CIS-B Up/Download ....................... page 47
  215.  
  216.  
  217.  
  218.  
  219. Version 2.6: 900426
  220.  
  221. COM-AND: IBM PC Communications and Accessories
  222.  
  223.  
  224.                  Table of Contents
  225.                  -----------------
  226.  
  227. XIII.    File Transfer (continued)
  228.  
  229.     F. ASCII Upload ............................................ page 48
  230.     G. ASCII Download .......................................... page 50
  231.     H. File directory (Alt-F) .................................. page 51
  232.     I. Default download path (F4) .............................. page 51
  233.  
  234. XIV.    Logging and Call-logging (F7, F9, Alt-U) ................... page 52
  235.  
  236.     A. Disk logging [transcripting] (F7) ....................... page 55
  237.     B. Log hold [transcripting] (F9) ........................... page 55
  238.     C. Annotate call-log (Alt-U) ............................... page 55
  239.  
  240. XV.    Miscellaneous Functions .................................... page 56
  241.  
  242.     A. Default Drive:Subdirectory (F3) ......................... page 56
  243.     B. Keyboard display (F8) ................................... page 56
  244.     C. Chat mode (Alt-A) ....................................... page 56
  245.     D. Redisplay [backscreen] (Alt-B) .......................... page 56
  246.     E. Clear screen (Alt-C and received TOF) ................... page 57
  247.     F. Echo (Alt-E) ............................................ page 57
  248.     G. Blank line suppression (Alt-G) .......................... page 57
  249.     H. 43/25 line toggle (Alt-L) ............................... page 57
  250.     I. Kermit Parameters (Alt-K) ............................... page 57
  251.     J. Time and Alarms (Alt-T) ................................. page 58
  252.     K. Playback (Alt-W) ........................................ page 58
  253.     L. Program termination (Alt-X) ............................. page 58
  254.     M. Parity (hi-bit) mask (Alt-Z) ............................ page 59
  255.  
  256. XVI.    DOS Gateway (Alt-F10) ...................................... page 60
  257. XVII.    Emulation (Alt-V)  ......................................... page 61
  258.  
  259.     A. Display Emulation ....................................... page 61
  260.     B. Translation ............................................. page 62
  261.     C. Remapping ............................................... page 63
  262.  
  263. XVIII.    Script Language ............................................ page 64
  264. XIX.    Program Requirements ....................................... page 65
  265. XX.    Program and Author Information    ............................ page 66
  266.  
  267.  
  268.  
  269.  
  270.  
  271.  
  272.  
  273.  
  274. Version 2.6: 900426
  275.  
  276. COM-AND: IBM PC Communications and Accessories
  277.  
  278.  
  279.                 Appendices
  280.                 ----------
  281.  
  282. A.    Switches and Parameters .................................... page 67
  283. B.    COM-AND Error display ...................................... page 70
  284. C.    Files ...................................................... page 71
  285. D.    Windowed XMODEM (WXMODEM) .................................. page 72
  286. E.    ANSI ,VT100, and VT52 sequences ............................ page 73
  287.  
  288.     1. ANSI sequences .......................................... page 73
  289.     2. VT100 sequences ......................................... page 75
  290.     3. VT52 sequences .......................................... page 77
  291.  
  292. F.    Vidtex and RLE files ....................................... page 78
  293.  
  294.     1. Vidtex .................................................. page 78
  295.     2. RLE Files ............................................... page 79
  296.  
  297. G.    External Protocol drivers .................................. page 80
  298. H.    Modem Configuration ........................................ page 82
  299.  
  300.     1. DTR (Data Terminal Ready) ............................... page 82
  301.     2. CD (Carrier Detect) ..................................... page 82
  302.  
  303. I.    Environment variables ...................................... page 83
  304.  
  305.     1. COM-AND= ................................................ page 83
  306.     2. COMSPEC= ................................................ page 83
  307.     3. Other variables ......................................... page 83
  308.  
  309. J.    Background operation ....................................... page 85
  310. K.    Encoded music .............................................. page 86
  311. L.    BIOS Comm Read/Write ....................................... page 87
  312. M.    MODEM Initialization ....................................... page 88
  313. N.    COM-AND's Backscreen ....................................... page 91
  314. O.    Customizing COM-AND ........................................ page 92
  315. P.    Command Index .............................................. page 95
  316.  
  317.  
  318.  
  319.  
  320.  
  321.  
  322.  
  323.  
  324.  
  325.  
  326.  
  327.  
  328.  
  329. Version 2.6: 900426
  330.  
  331. COM-AND: IBM PC Communications and Accessories                 Page   1
  332.  
  333.  
  334. I.    Introduction
  335.  
  336.  
  337.     A. What is COM-AND?
  338.  
  339.  
  340.        COM-AND for the IBM PC and compatibles is a communications
  341.        program that may be used by itself, or with several integrated
  342.        accessory programs (which themselves may be used independent of
  343.        COM-AND).  COM-AND provides standard comm program functions:  a
  344.        dialing directory, macros, disk logging, binary and ASCII file
  345.        transfers, scripted execution and so on.
  346.  
  347.  
  348.        Four accessories are available for use with Version 2.6 of COM-
  349.        AND.  These accessories are for use over conferencing services
  350.        such as People/Link's PARTY, GEnie's RTC and CIS's CB:
  351.  
  352.         PC-VCO provides a way to 'see' and 'hear' people talking.
  353.         CCHESS supports chess games with another conference user.
  354.         CBRIDG supports bridge games with other conference users.
  355.         CCOLOR tracks conference users, coloring each speaker's
  356.                received text differently
  357.  
  358.  
  359.        These accessories are available uploaded separately, not as a
  360.        part of COM-AND's release.  Please refer to the accessory
  361.        documents for more detailed discussions of their function.
  362.  
  363.  
  364.        COM-AND Version 2.6 executes as a CRT based comm program either
  365.        in 25 line text mode on a CGA or monochrome screen, or 25/43 line
  366.        mode on an EGA display.  When an accessory is loaded through
  367.        COM-AND (or when COM-AND is loaded by an accessory), most of the
  368.        functions of COM-AND are available through the accessory.
  369.  
  370.  
  371.        COM-AND and its accessories (PC-VCO, CCHESS, CBRIDG, and CCOLOR)
  372.        may be copied freely and distributed to anyone for any number of
  373.        machines, for purposes of evaluation.  The author offers COM-AND
  374.        as "shareware".  If the program is USED, a registration of $35.00
  375.        is asked for the entire package.
  376.  
  377.  
  378.  
  379.  
  380.  
  381.  
  382.  
  383.  
  384. Version 2.6: 900426
  385.  
  386. COM-AND: IBM PC Communications and Accessories                 Page   2
  387.  
  388.  
  389. I.    Introduction (continued)
  390.  
  391.  
  392.     B. Version 2?
  393.  
  394.  
  395.        Version 1 of this software was released more than three years ago
  396.        as PC-VCO.  In other words, the accessory and communications pro-
  397.        gram were one program.
  398.  
  399.  
  400.        Creation of version 2.0 necessitated the splitting the original
  401.        software into two executable programs.  From that point in time,
  402.        accessories have been released as individual programs, with this
  403.        or future versions of COM-AND as base.
  404.  
  405.  
  406.        Version 2.6 is the tenth release.
  407.  
  408.  
  409.     C. This document
  410.  
  411.  
  412.        This document describes the features of COM-AND, both standard
  413.        communications features and as much of the accessory program
  414.        features as may be appropriate.  For the most part, however, the
  415.        discussion of accessory functions will be limited.
  416.  
  417.  
  418.        Accessories are released separately.  For detailed discussions of
  419.        accessories, please refer to each accessory's documentation.
  420.  
  421.  
  422.        For details of the script language, please refer to the file
  423.        CASCRIPT.DOC included with this release.  This document addresses
  424.        manual use of COM-AND.
  425.  
  426.  
  427.  
  428.  
  429.  
  430.  
  431.  
  432.  
  433.  
  434.  
  435.  
  436.  
  437.  
  438.  
  439. Version 2.6: 900426
  440.  
  441. COM-AND: IBM PC Communications and Accessories                 Page   3
  442.  
  443.  
  444. II.    Running the program
  445.  
  446.  
  447.     Generally, COM-AND is invoked at the DOS prompt with the command:
  448.  
  449.     -----------------------------------------------------------------
  450.     "d>" COM-AND <options>
  451.  
  452.     Where "d>" is the DOS prompt, and
  453.           <options> is/are (<parm> (<parm> ...))
  454.           and <parm> is either a switch or a parameter
  455.  
  456.     Refer to Appendix A for a description of switches and parameters.
  457.     -----------------------------------------------------------------
  458.  
  459.     COM-AND could be invoked with a command such as:
  460.  
  461.            "d>" COM-AND
  462.  
  463.     to simply start COM-AND, or, for example, the command:
  464.  
  465.            "d>" COM-AND DIAL 1
  466.  
  467.     to dial dialing directory entry #1 as soon as COM-AND is loaded.
  468.  
  469.     The command:
  470.  
  471.            "d>" COM-AND /FSCRIPT
  472.  
  473.     would be used to perform the commands contained in the file SCRIPT
  474.     (or SCRIPT.CMD or SCRIPT.ENF, whichever is first in the directory).
  475.  
  476.  
  477.     COM-AND requires no other file for its execution.  It will create
  478.     a parametrization file, dialing directory, and macro definition if
  479.     none are present.  If files (.DFT, .DIR, and .MAC) from previous
  480.     versions of PC-VCO (1.31 and before) are renamed COM-AND.* they
  481.     will be converted to the new format.
  482.  
  483.  
  484.     Note that once loaded, COM-AND does not require its executable disk
  485.     file again.  No program disk need be retained in the default drive if
  486.     loaded from floppy diskette (though it will be needed again to change
  487.     the dialing directory, or macro, or accessory definitions).
  488.  
  489.  
  490.     Files used by COM-AND are discussed in Appendix C.  Default pathing
  491.     of file names is discussed in Appendix I.
  492.  
  493.  
  494. Version 2.6: 900426
  495.  
  496. COM-AND: IBM PC Communications and Accessories                 Page   4
  497.  
  498.  
  499. II.    Running the program (continued)
  500.  
  501.  
  502.     The first time COM-AND is loaded, it will use default settings (as
  503.     described in Appendix A).  The comm port used as a default (COM1) may
  504.     on some machines be unusable as a serial port.    If this happens, boot
  505.     the machine and reload COM-AND thusly:
  506.  
  507.            "d>" COM-AND /I
  508.  
  509.     The /I switch directs COM-AND to NOT issue a modem initialization
  510.     string.  When COM-AND is loaded in this manner, the serial port is
  511.     unused until a character is to be transmitted.
  512.  
  513.  
  514.     The very first time COM-AND is used, perform the following:
  515.  
  516.     1) Set the current subdirectory to the subdirectory where you will
  517.        install COM-AND...  where previous versions have been installed.
  518.        DeARC the distribution files.  Have a care not to overwrite files
  519.        you want to keep!
  520.  
  521.     2) Load COM-AND (as above)
  522.  
  523.        o  Check Alt-P
  524.           .. Choose the COM port you use (1/2/3/4).
  525.           .. Default speed selection is not important if you always use
  526.          the dialing directory.  But set it anyway.
  527.           .. Remember to save new settings.
  528.  
  529.        o  Check Alt-S
  530.           .. Modem parms are set for HAYES - you may want to change them.
  531.           .. The backscreen buffer size defaults to 4K.  You can set it
  532.          up to 64K, for redisplay and transcripting.
  533.           .. Remember to save the new settings.
  534.  
  535.        o  Check Alt-O
  536.           .. Set flags the way you want them (e.g. exit query on, d*mned
  537.          advert off, and so on;  Note BIOS/DIRECT and PCJr settings)
  538.           .. Remember to save new settings.
  539.  
  540.     3) Review the accessories (F1).
  541.  
  542.        You may review the contents of accessory definitions with the 'r'
  543.        subcommand.    You may wish to add entries for a listing program and
  544.        editor..  perhaps PC-VCO...    perhaps CCOLOR...
  545.  
  546.     4) Exit COM-AND with Alt-X.
  547.  
  548.  
  549. Version 2.6: 900426
  550.  
  551. COM-AND: IBM PC Communications and Accessories                 Page   5
  552.  
  553.  
  554. III.    CRT Display
  555.  
  556.  
  557.     When COM-AND is loaded, a pop-up informs that initialization is
  558.     occurring.  Initialization of the modem is performed automatically
  559.     by COM-AND.  The modem initialization string specified through the
  560.     Setup function (Alt-S) is issued to the modem when COM-AND is
  561.     loaded, after the modem port is set to the default rate, parity,
  562.     data and stop values specified (at run time or through Alt-P).
  563.  
  564.  
  565.     Other initialization includes:    looking for a mouse, and loading
  566.     files (dialing directory, macro, and accessory definitions).
  567.  
  568.  
  569.     Once initialization is complete, the PC serves as a 24 (CGA and mono-
  570.     chrome) or 24/42 line (EGA/VGA) CRT.  The first 24(42) lines are a
  571.     scrolling region for received text.  The 25th(43rd) line is used for
  572.     program identification, status and keyboard display.  Carriage
  573.     return/line feed combinations received cause the text area to scroll.
  574.  
  575.  
  576.     Text typed in at the keyboard is transmitted out the COM port.    What
  577.     is received through the COM port is displayed on the screen.  Special
  578.     escape sequences are performed by COM-AND (optional).  Control char-
  579.     acters (except null) are displayed according to the IBM character set
  580.     (optional).  Received characters may be masked to 7 bits (optional).
  581.  
  582.  
  583.     In order to connect to a host, the first step would usually be to
  584.     dial the phone number of the Network node you wish to access.  For
  585.     example, with a Smartmodem, typing the following directs the modem
  586.     to dial the phone:
  587.  
  588.          AT E1 DT 245-9110 <return>
  589.  
  590.  
  591.     This sequence instructs the Smartmodem to echo entry (E1) and dial
  592.     using tone dialing (DT) PLINK Chicago (245-9110) as a local call.
  593.     Modem initialization could be done between the E1 and DT as needed.
  594.  
  595.  
  596.     This sequence is automated in COM-AND through a dialing directory
  597.     (Alt-D).  Phone numbers and parameters are maintained in the
  598.     directory.  Services are called through the same Alt-D command.
  599.  
  600.  
  601.  
  602.  
  603.  
  604. Version 2.6: 900426
  605.  
  606. COM-AND: IBM PC Communications and Accessories                 Page   6
  607.  
  608.  
  609. III.    CRT Display (continued)
  610.  
  611.  
  612.     Many people prefer to make connection to a host with a script, how-
  613.     ever.  Scripts for dialing and connecting to several popular services
  614.     are included with this release of COM-AND.  A script is a 'program'
  615.     written for another program, in this case for COM-AND.
  616.  
  617.  
  618.     Whether the connection is made manually or through a script, every-
  619.     thing that happens appears in the text area of the CRT display.
  620.  
  621.  
  622.     The keyboard on the IBM PC provides ordinary typewriter-like keys and
  623.     other keys (e.g.  F1, F2...).  The 'other' keys are used by COM-AND
  624.     for control purposes, as the mention of Alt-D above shows.  The Alt-
  625.     key, when held down while another key is pressed, is treated as a
  626.     special keystroke.  Press Alt-D and a window pops-up displaying the
  627.     current dialing directory.  Press F2 and a window pops-up displaying
  628.     the scripts available on the current subdirectory for execution.
  629.  
  630.  
  631.     The remaining chapters of this document describe the functions of
  632.     COM-AND as they may be manually invoked.  A separate document
  633.     (SCRIPT.DOC) summarizes the scripts released with this version of
  634.     COM-AND.  [An individual scripts may or may not have its own
  635.     document covering its use.]  A separate document (CASCRIPT.DOC)
  636.     describes the script language and concepts.
  637.  
  638.  
  639.  
  640.  
  641.  
  642.  
  643.  
  644.  
  645.  
  646.  
  647.  
  648.  
  649.  
  650.  
  651.  
  652.  
  653.  
  654.  
  655.  
  656.  
  657.  
  658.  
  659. Version 2.6: 900426
  660.  
  661. COM-AND: IBM PC Communications and Accessories                 Page   7
  662.  
  663.  
  664. IV.    Accessory Programs
  665.  
  666.  
  667.     Released with the 2.6 version of COM-AND are four programs that are
  668.     labelled 'accessories':  PC-VCO, CCHESS, CBRIDG and CCOLOR.  PC-VCO,
  669.     CCHESS, CBRIDG, and CCOLOR are programs in their own right, and may
  670.     be used with or without the COM-AND program (according to your pre-
  671.     ference in comm program).
  672.  
  673.  
  674.     Accessory programs are usually loaded with COM-AND for a special
  675.     purpose (such as PC-VCO: Visual Conferencing), after connection has
  676.     been established through COM-AND.  When COM-AND is loaded as above
  677.     (i.e.  "d> COM-AND"), accessories would be loaded 'on top' of
  678.     COM-AND through the F1 Menu.
  679.  
  680.  
  681.     However:  the accessory program may be loaded first.  When PC-VCO is
  682.     run from the DOS prompt without the '/P' switch, it looks for the
  683.     COM-AND program on the current subdirectory (or in the subdirectory
  684.     indicated by a 'COM-AND=' environment variable).  PC-VCO will not run
  685.     without the '/P' switch unless it can find COM-AND.  PC-VCO loads
  686.     COM-AND, and the F1 menu in COM-AND is made unavailable for use.
  687.  
  688.  
  689.     The integration of accessory programs into COM-AND means that:
  690.  
  691.     (1) the accessory loads COM-AND if COM-AND isn't loaded already
  692.         (unless the accessory was loaded "/P"),
  693.  
  694.     (2) COM-AND functions such as macros and dialing directory are
  695.         available in the accessory when COM-AND is loaded, and
  696.  
  697.     (3) settings made in COM-AND carry over to the accessory when it
  698.         is loaded, and settings made in the accessory carry over to
  699.         COM-AND when the accessory terminates.
  700.  
  701.  
  702.     When an accessory program loads COM-AND, COM-AND is limited to the
  703.     use of just that one accessory (and no other, although it will gate-
  704.     way to DOS).  When COM-AND is loaded first, a menu of accessories,
  705.     arranged somewhat like the dialing directory, is presented.  One
  706.     accessory after another may be selected, each new accessory selec-
  707.     tion terminating the previous one.
  708.  
  709.  
  710.  
  711.  
  712.  
  713.  
  714. Version 2.6: 900426
  715.  
  716. COM-AND: IBM PC Communications and Accessories                 Page   8
  717.  
  718.  
  719. IV.    Accessory Programs (continued)
  720.  
  721.  
  722.     An accessory is loaded by pressing F1, and selecting the entry you
  723.     wish to execute.  [The F1 menu is available only on the CRT side,
  724.     only when COM-AND is loaded first.]
  725.  
  726.  
  727.     The F1 menu defines an accessory as:
  728.  
  729.     o    A title which is displayed in the menu
  730.     o    A subdirectory for use during the accessory (optional)
  731.     o    A script file to be performed (optional)
  732.     o    A program to be loaded, along with parameters (optional)
  733.  
  734.  
  735.     An accessory to COM-AND, therefore, might be any COM-AND script, or
  736.     most any program, or both.  You are not limited to the ones coded for
  737.     COM-AND.  If you have a favorite editor that you'd like to use to
  738.     keep notes on-line, define it as an accessory...  If you like to look
  739.     at READMAC (or GIF) graphics during conferences, define an accessory
  740.     for each of several favorite pictures...
  741.  
  742.  
  743.     To create a new entry, use the revise subcommand ("R").  You are
  744.     prompted for each of the above values.    The subdirectory you
  745.     specified will be used as the default for all program and file
  746.     accesses when you invoke the accessory.  The program name must be
  747.     given in full (e.g. XXX.COM or YYY.EXE).  Batch files are not
  748.     executable as accessories (at this time); however, you may use
  749.     "COMMAND.COM /C FILE.BAT" to effect the execution of a batch file.
  750.  
  751.  
  752.     Accessories integrated into COM-AND (such as PC-VCO) permit switching
  753.     between CRT and accessory modes.  A loaded accessory is terminated
  754.     with the "T" subcommand of F1, or by simply loading a new accessory.
  755.  
  756.  
  757.     COM-AND supports multiple accessory directory files.  A new accessory
  758.     directory is manually selected with the 'F' subcommand of the F1
  759.     window.  Note that the new file name is also reflected in the Alt-S
  760.     window (but isn't saved for the next time).
  761.  
  762.  
  763.     External protocol drivers may easily be implemented as accessories.
  764.     Refer to the Appendix G for a discussion of one such driver's
  765.     implementation as an accessory (DSZ for file transfers).
  766.  
  767.  
  768.  
  769. Version 2.6: 900426
  770.  
  771. COM-AND: IBM PC Communications and Accessories                 Page   9
  772.  
  773.  
  774. V.    Menu mode
  775.  
  776.  
  777.     An easy way to get to know a new program is through a summary of
  778.     functions it provides.    In COM-AND, the F10 key provides a command
  779.     summary.  Like most communications programs, COM-AND ties its func-
  780.     tions to special keys (Alt-D for dialing, Alt-F for file directory,
  781.     and so on).  This is done for purposes of speed...  host services
  782.     charge by the minute... every keystroke counts!
  783.  
  784.  
  785.     However, beginning with version 2.5, almost every function of COM-AND
  786.     is available through a 'menu mode'.  When COM-AND is run with the /V
  787.     switch (or if menu mode is set permanently through Alt-O, Options),
  788.     the top line of the screen will be given to a 'menu bar'.  Each item
  789.     on the top bar may be selected in turn, and a menu pulled-down
  790.     listing functions.  The equivalent keystroke is displayed for every
  791.     item in the pull-downs.
  792.  
  793.  
  794.     In menu mode, items from the top bar may be selected with the mouse,
  795.     or the cursor keys.  Pulldown windows are opened in the same way.
  796.     Keystrokes active on the top bar (when no pull-down is open) are:
  797.  
  798.     Mouse        Keystroke    Menu mode ON    Menu mode OFF
  799.     --------------- --------------- --------------- ----------------
  800.     Left motion    Cursor left    Top bar select    Backspace sent
  801.     Right motion    Cursor right    Top bar select    Space transmitted
  802.     Downward motion Cursor down    Open pull-down    It beeps
  803.     Upward motion    Cursor up    Open pull-down    It beeps
  804.  
  805.  
  806.     Once an item from the top bar is 'opened' or 'pulled-down', the usage
  807.     changes slightly.  Within a pulldown, keystrokes are:
  808.  
  809.     Mouse            Keystroke        Menu mode ON
  810.     ------------------- --------------- ---------------------------
  811.     Left motion        Cursor left     Open pulldown to left
  812.     Right motion        Cursor right    Open pulldown to right
  813.     Downward motion     Cursor down     Select next successive item
  814.     Upward motion        Cursor up        Select previous item
  815.  
  816.     Left button click   PgDn        Select next successive item
  817.     Right button click  PgUp        Select previous item
  818.     Left double click   Carriage rtn    Execute selected item
  819.     Right double click  ESCAPE        Cancel window
  820.  
  821.  
  822.  
  823.  
  824. Version 2.6: 900426
  825.  
  826. COM-AND: IBM PC Communications and Accessories                 Page  10
  827.  
  828.  
  829. V.    Menu mode (continued)
  830.  
  831.  
  832.     Within function 'windows' (such as Alt-D dialing), the above key-
  833.     strokes and mouse actions have the same general meaning. [Only in
  834.     menu mode pulldowns do left/right motions/cursor keys open new
  835.     windows, however.]
  836.  
  837.  
  838.     At this point, a note on mouse usage seems appropriate... COM-AND
  839.     will use a Microsoft Mouse (or equivalent) if it finds one, if the
  840.     /M run-time switch is not set.    Even for the miceless, left, right,
  841.     up, and down motions should be self-explanatory.  However, mention
  842.     of 'buttons' and 'double clicks' requires some discussion.
  843.  
  844.  
  845.     The Microsoft Mouse has two buttons that may be pressed.  COM-AND
  846.     implements the left button as PgUp and the right button as PgDn, as
  847.     shown in the table above.  However, when a button is pressed, it is
  848.     not 'executed' immediately.  COM-AND will wait for a short moment to
  849.     determine if the button is being pressed once, or twice in rapid
  850.     succession.  A left 'double click' is taken as a carriage return, and
  851.     a 'right double click' is taken as ESCAPE.  The interval after which
  852.     COM-AND takes a button press as a single press may be changed through
  853.     Alt-S, Setup.
  854.  
  855.  
  856.     All of this is to say that in any COM-AND window where there are
  857.     multiple items, one of which is to be selected, the cursor keys,
  858.     mouse up/down motions, and mouse buttons may be used to select an
  859.     item.  [Every window where this is the case 'highlights' the current
  860.     selection.]   A double click on the mouse left button will execute
  861.     the selection (just as a carriage return), and a double click on the
  862.     mouse right button will cancel the function (just as ESCAPE).
  863.  
  864.  
  865.     The menu mode of COM-AND allows all 'customary' functions, such as
  866.     dialing, hanging up, toggling disc capture, exiting the program, and
  867.     so on, to be performed entirely with a mouse (or the cursor keys
  868.     even).    Of course, someone somewhere must have done the typing to
  869.     update the dialing directory, to define the macros...
  870.  
  871.  
  872.     But as stated at the outset, its an easy way to get to know the
  873.     program.
  874.  
  875.  
  876.  
  877.  
  878.  
  879. Version 2.6: 900426
  880.  
  881. COM-AND: IBM PC Communications and Accessories                 Page  11
  882.  
  883.  
  884. VI.    Commands:  available in both COM-AND and Accessory
  885.  
  886.  
  887.     COM-AND provides the following command keys both on the CRT side, and
  888.     during an accessory:
  889.  
  890.     F1    Switch between text (CRT) and accessory modes:    As described
  891.         above, the F1 key behaves differently, according to the way
  892.         COM-AND was loaded.  When COM-AND is directly loaded, F1
  893.         provides a menu of accessories and functions.  When an
  894.         accessory loads COM-AND by default, the F1 key is restricted
  895.         to switching back and forth between CRT and accessory modes.
  896.  
  897.     F10    Help screen:  All currently implemented commands are summar-
  898.         ized on this screen.  Any command may be executed directly
  899.         while this screen is displayed.  The help screen displayed is
  900.         either by COM-AND or from the accessory, according to the
  901.         current mode.
  902.  
  903.     Alt-F10 DOS Gateway:  If sufficient memory is available, COM-AND
  904.         executes a shell program.  This is normally a second copy
  905.         COMMAND.COM for full access to DOS while a communication
  906.         session is in progress.
  907.  
  908.     Ctl-End Break:    This sends a true 'break' signal.
  909.  
  910.     Ctl-Prt Printer:  Toggle (i.e. turn on/off) printing to LP1.
  911.  
  912.     Alt-C    Clear: Clear the text area of the screen.
  913.  
  914.     Alt-D    Dialing directory:  Enter, change, execute, and print
  915.         dialing directory entries through the Alt-D menu.
  916.  
  917.     Alt-E    Echo: Toggle full/half duplex.    [This function may also be
  918.         controlled through the dialing directory (echo on).] In full
  919.         duplex (echoplex), the host must echo back what is typed for
  920.         it to be seen.    In half duplex, COM-AND echoes what is typed
  921.         immediately.
  922.  
  923.     Alt-F    File directory:  A display similar to the DOS DIR command
  924.         command is displayed in a window.
  925.  
  926.     Alt-G    Blank line suppression:  Toggle.  COM-AND will suppress blank
  927.         lines (double spacing) if you wish.  This may be made a pro-
  928.         gram default through the Alt-O options menu.
  929.  
  930.  
  931.  
  932.  
  933.  
  934. Version 2.6: 900426
  935.  
  936. COM-AND: IBM PC Communications and Accessories                 Page  12
  937.  
  938.  
  939. VI.    Commands: available in both COM-AND and Accessory (continued)
  940.  
  941.  
  942.     Alt-H    Hangup:  Hangup the phone.
  943.  
  944.     Alt-I    Program information:  Author information.  Propaganda.
  945.  
  946.     Alt-M    Macros: Define a macro for Alt-0 through Alt-9.
  947.  
  948.     Alt-N    Encrypt/decrypt a file:  This function implements the
  949.         Federal Data Encryption Standard; secure but slow (I'll
  950.         work on that!).  Encrypted files may be used as scripts.
  951.         Files cannot be encrypted/decrypted in place!!!
  952.  
  953.         Note: Should the encrypted file be modified in any way, or
  954.         the password be lost, there is little chance of recovery.
  955.         Neither CABER Software nor the author will be liable for any
  956.         damages or lost revenues incurred through the use of this
  957.         function beyond the registration price paid for COM-AND.
  958.  
  959.     Alt-O    Options:  Set controlling flags for COM-AND.  Note that
  960.         although this menu may be used from either COM-AND or
  961.         accessory, it really only effects COM-AND settings.
  962.  
  963.     Alt-P    Comm Parameters:  Set baud rate, parity, number of data
  964.         and stop bits for use when COM-AND is initially loaded.
  965.         These settings are overridden by run-time switches.  What-
  966.         ever the current setting, the dialing directory overrides.
  967.  
  968.         Note: Although this menu may be used from either COM-AND or
  969.         accessory, it really only effects COM-AND settings.  Each
  970.         accessory has an Alt-P function as well accessible only when
  971.         the accessory is loaded with the '/P' switch.
  972.  
  973.     Alt-R    Redial the last number dialed:    The program will redial the
  974.         last number dialed until the function is terminated (with
  975.         ESC), or connection is made.
  976.  
  977.     Alt-S    Setup:    Define initial program values, such as Modem initial-
  978.         ization, the Modem Hangup sequence, and file names.
  979.  
  980.         Note: Although this menu may be used from either COM-AND or
  981.         accessory, it really only effects COM-AND settings.  Each
  982.         accessory has an Alt-S function as well which may or may not
  983.         be accessible when COM-AND is loaded.
  984.  
  985.  
  986.  
  987.  
  988.  
  989. Version 2.6: 900426
  990.  
  991. COM-AND: IBM PC Communications and Accessories                 Page  13
  992.  
  993.  
  994. VI.    Commands: available in both COM-AND and Accessory (continued)
  995.  
  996.     Alt-T    Elapsed time:  The time the program was loaded, and the time
  997.         the last call (Alt-D or Alt-R) was placed are displayed.
  998.         The 'last call time' may be reset.  A real-time alarm may be
  999.         set (for one time use, or permanently).
  1000.  
  1001.     Alt-U    Annotate call-log:  COM-AND will (if you wish) keep a log of
  1002.         calls, hangups, disconnects and so on.    You may enter free-
  1003.         form notes into the log through this window.
  1004.  
  1005.     Alt-X    Exit the program:  If the modem you use reports 'carrier'
  1006.         and you exit without hanging-up, you will be asked if a
  1007.         hangup is desired.
  1008.  
  1009.         NOTE:  a script may override the Alt-X function.  When this
  1010.         happens, after Alt-X is pressed (and after the hangup query
  1011.         if it is needed) a script may start!
  1012.  
  1013.     Alt-Z    Parity mask:  Toggle.  The high bit mask is used only for
  1014.         text received and displayed.  It has no effect on file
  1015.         transfers (XMODEM, YMODEM, ZMODEM, KERMIT, and CIS-B).
  1016.  
  1017.     Alt-0/9 Send a Macro:  A string of characters defined through the
  1018.         Alt-M command described above is transmitted.
  1019.  
  1020.  
  1021.  
  1022.  
  1023.  
  1024.  
  1025.  
  1026.  
  1027.  
  1028.  
  1029.  
  1030.  
  1031.  
  1032.  
  1033.  
  1034.  
  1035.  
  1036.  
  1037.  
  1038.  
  1039.  
  1040.  
  1041.  
  1042.  
  1043.  
  1044. Version 2.6: 900426
  1045.  
  1046. COM-AND: IBM PC Communications and Accessories                 Page  14
  1047.  
  1048.  
  1049. VII.    Commands: CRT mode only
  1050.  
  1051.  
  1052.     COM-AND provides the following command keys only in CRT mode:
  1053.  
  1054.  
  1055.     F2    Execute a script:  A window is opened to request the name of
  1056.         the script file.  The extension ".CMD" is attempted if the
  1057.         given name does not have an extension, and the given name is
  1058.         not found.  Similarly, the extension ".ENF" will be tried.
  1059.  
  1060.     F3    Set current drive:path:  You may change the default disk
  1061.         drive and path from within COM-AND using this feature.
  1062.         The current drive:path affect uploaded files and file name
  1063.         searches (Alt-F), when no qualification is provided.
  1064.  
  1065.         NOTE: The F3 setting is retained even after COM-AND is
  1066.         terminated.
  1067.  
  1068.     F4    Set default drive:path for downloads:  All download file
  1069.         transfers (XMODEM, YMODEM, ZMODEM, KERMIT, CIS-B, ASCII,
  1070.         logging, and RLE) will use this setting if the target file
  1071.         name supplied (one way or another) does not specify the drive
  1072.         and/or path.
  1073.  
  1074.         NOTE: The F4 setting is retained for the next time COM-AND
  1075.         is used.  Each change to F4 is saved!
  1076.  
  1077.     F5    ASCII upload:  Files may be transferred to a system using a
  1078.         simple 'send' (as if they were entered by hand).  Transfer
  1079.         may occur with or without a host prompt (some special char-
  1080.         acter issued for every line).  Transfer may be timed (paced)
  1081.         in either case.  Line feeds may or may not be suppressed.
  1082.         Tabs may or may not be expanded as blanks, as you wish.
  1083.  
  1084.         This function is also available through PgUp.
  1085.  
  1086.     F6    ASCII download:  This differs from transcripting in that no
  1087.         extra characters are added to the file (such as line feeds
  1088.         after received carriage returns, or an end-of-file byte).
  1089.         Transcripting is intended to result in an ASCII edit file, or
  1090.         a printed log.    ASCII download may be used to save sessions
  1091.         (or parts of sessions) exactly as received.
  1092.  
  1093.         This function is also available through PgDn.
  1094.  
  1095.  
  1096.  
  1097.  
  1098.  
  1099. Version 2.6: 900426
  1100.  
  1101. COM-AND: IBM PC Communications and Accessories                 Page  15
  1102.  
  1103.  
  1104. VII.    Commands: CRT mode only (continued)
  1105.  
  1106.  
  1107.     F7    Logging or transcripting:  Log received text to a disk file
  1108.         or device.  You specify the file to be used.  If not empty,
  1109.         new logging will be appended to the end of existing data.
  1110.  
  1111.         You will next be asked if the backscreen (the last text
  1112.         received) is to be saved.  Logging need not be started before
  1113.         an event that you wish to record.
  1114.  
  1115.         What is logged is not exactly what is displayed on the
  1116.         screen.  If hi-bit masking is turned on, characters will be
  1117.         logged with their high bit turned off.    An ASCII end-of-file
  1118.         is added when the file is closed.
  1119.  
  1120.         Opening and closing the log marks the log with date and
  1121.         time.  Transcript marking may be turned off with the
  1122.         Alt-O function.  Log hold (below) does not mark the log.
  1123.  
  1124.     F8    Toggle display of typed characters (for use with half duplex
  1125.         connections, otherwise known as 'no echo').  The keyboard
  1126.         display takes over the 25th (CGA) or 43rd (EGA) line.
  1127.  
  1128.     F9    Hold the log: no entry will be made to the log from this
  1129.         point until hold is turned off (by pressing F9 again) or the
  1130.         log is closed.    The fact that the log is held is displayed
  1131.         on the status line.
  1132.  
  1133.     PgUp    Upload: A menu of all available protocols for file transfer
  1134.         is displayed.  One must be selected, and the upload then
  1135.         proceeds as below (under "File Transfer").
  1136.  
  1137.     PgDn    Download: A menu of all available protocols for file
  1138.         transfer is displayed.    One must be selected, and the
  1139.         download then proceeds as below (under "File Transfer").
  1140.  
  1141.  
  1142.  
  1143.  
  1144.  
  1145.  
  1146.  
  1147.  
  1148.  
  1149.  
  1150.  
  1151.  
  1152.  
  1153.  
  1154. Version 2.6: 900426
  1155.  
  1156. COM-AND: IBM PC Communications and Accessories                 Page  16
  1157.  
  1158.  
  1159. VII.    Commands: CRT mode only (continued)
  1160.  
  1161.  
  1162.     Alt-A    Toggle split screen 'chat mode' on and off:  The screen is
  1163.         split in chat mode, one window for received text, and one
  1164.         for typed.  The size of the chat window is set through Alt-S
  1165.         setup.    Some accessories also support Alt-A.
  1166.  
  1167.     Alt-B    Redisplay (backscreen):  You may review the backscreen
  1168.         buffer page by page.  Some accessories also support Alt-B.
  1169.  
  1170.     Alt-J    Set screen colors:  You may set foreground and background
  1171.         color values for the CRT screen, the status line, and menu
  1172.         windows.  Some accessories have their own Alt-J.
  1173.  
  1174.     Alt-K    Set KERMIT parameters:    The values as supplied are suitable
  1175.         for most systems.  It is not recommended that you change
  1176.         these settings unless you fully understand their meaning.
  1177.  
  1178.     Alt-L    Toggle EGA/CGA (43/25 line) modes:  Some accessories have
  1179.         their own Alt-L.
  1180.  
  1181.     Alt-V    Emulation:  You may select terminal emulation, and enable/
  1182.         disable translation and/or remapping through Alt-V.  Note
  1183.         that both translate and remap require prepared data.
  1184.  
  1185.     Alt-W    Playback:  Display text from a file in the CRT screen area.
  1186.         This may be used to set screen colors using ANSI controls
  1187.         (overriding the screen colors set through Alt-J).
  1188.  
  1189.     Alt =    Menu mode:  Alt-Equal toggles the menu mode interactively.
  1190.  
  1191.  
  1192.     ---------------------------------------------------------------
  1193.     Note also functions defined above under "Commands: both modes".
  1194.     ---------------------------------------------------------------
  1195.  
  1196.  
  1197.  
  1198.  
  1199.  
  1200.  
  1201.  
  1202.  
  1203.  
  1204.  
  1205.  
  1206.  
  1207.  
  1208.  
  1209. Version 2.6: 900426
  1210.  
  1211. COM-AND: IBM PC Communications and Accessories                 Page  17
  1212.  
  1213.  
  1214. VIII.    Commands: Accessory only
  1215.  
  1216.  
  1217.     A discussion of accessory commands must properly be referred to the
  1218.     accessory document.  However, a few comments are in order here.
  1219.  
  1220.  
  1221.     Each accessory must have an Alt-P function identical to COM-AND's
  1222.     Alt-P Comm Parms Menu, to allow setting of default parameters.    The
  1223.     defaults have effect when the program is run 'piggyback' (the '/P'
  1224.     switch) through the DOS gateway of another communications program.
  1225.  
  1226.  
  1227.     Each accessory must have some kind of Alt-S setup command which
  1228.     defines accessory-specific flags and values.  In all accessories
  1229.     currently released, the accessory setup function is available through
  1230.     the 'Controls' pull-down.  When the accessory is loaded '/P', the
  1231.     Alt-S key is enabled to access the accessory setup as well.  [When
  1232.     loaded with COM-AND, Alt-S calls up COM-AND's Setup window.]
  1233.  
  1234.  
  1235.     Each accessory integrated into COM-AND defines Alt-X as program
  1236.     termination:  not accessory termination, but process termination!
  1237.     Use Alt-X from an accessory to terminate the accessory AND the
  1238.     COM-AND program.  Alt-X from COM-AND terminates COM-AND and any
  1239.     loaded accessory.  The F1 key is used to switch between COM-AND and
  1240.     an accessory, and may be used to terminate the accessory without
  1241.     terminating COM-AND.
  1242.  
  1243.  
  1244.     As of version 2.6 of COM-AND, certain accessories will allow COM-AND
  1245.     scripts to be performed while the accessory is active.    This includes
  1246.     scripts executed automatically through Alt-D dialing.
  1247.  
  1248.  
  1249.  
  1250.  
  1251.  
  1252.  
  1253.  
  1254.  
  1255.  
  1256.  
  1257.  
  1258.  
  1259.  
  1260.  
  1261.  
  1262.  
  1263.  
  1264. Version 2.6: 900426
  1265.  
  1266. COM-AND: IBM PC Communications and Accessories                 Page  18
  1267.  
  1268.  
  1269. IX.    Dialing (Alt-D, Alt-R, and Alt-H)
  1270.  
  1271.  
  1272.     A. Dialing (Alt-D)
  1273.  
  1274.        . Dial from directory
  1275.  
  1276.          The dialing directory is invoked with the Alt-D command, in
  1277.          either CRT or accessory mode.  After the directory window is
  1278.          opened, an entry may be dialed by selecting the appropriate
  1279.          number.  The directory entry does not have to be on screen.
  1280.  
  1281.          The entry number you give may be preceded or suffixed with a
  1282.          long distance entry code (+,-,#,@).  Whether you prefix or
  1283.          suffix the code, the long distance entry string will PRECEDE
  1284.          the dialed number.  Timing commands (e.g.    Smartmodem use of
  1285.          "," to pause for a fixed time) may be included.
  1286.  
  1287.          The modem dialing string specified through the Alt-S window
  1288.          is issued; the long distance number (if given) is issued; the
  1289.          telephone number is issued; and finally the dialing suffix
  1290.          string specified through the Alt-S screen is sent.
  1291.  
  1292.          Communications parameters are selected when the dialing direc-
  1293.          tory entry is created.  Each service requires certain settings
  1294.          for comprehensible communications.  However, one note:  COM-AND
  1295.          will change settings to 8 data bits, no parity and 1 stop bit
  1296.          when file transfer commences, if appropriate.  When transfer
  1297.          completes, previous settings are reinstated.  You only need to
  1298.          know what the specific service requires for conversational mode.
  1299.  
  1300.  
  1301.        . Manual dialing (M)
  1302.  
  1303.          From the Alt-D dialing directory, you may invoke manual dialing
  1304.          with the command "M".  You will be asked to enter a number to
  1305.          be dialed.  Enter the number you wish to dial; it will be
  1306.          prefixed with the modem dialing string (specified through the
  1307.          Alt-S window) suffixed with the dialing suffix, and issued.
  1308.  
  1309.          Manually dialed numbers use the communications parameters in
  1310.          effect at the time the number is dialed.  The rule for comm
  1311.          parameters is:  The Comm Parms window (Alt-P) is overridden by
  1312.          run-time parameters; the setting specified by the (last)
  1313.          dialing directory entry used (if any) overrides both.
  1314.  
  1315.  
  1316.  
  1317.  
  1318.  
  1319. Version 2.6: 900426
  1320.  
  1321. COM-AND: IBM PC Communications and Accessories                 Page  19
  1322.  
  1323.  
  1324. IX.    Dialing (continued)
  1325.  
  1326.  
  1327.     B. Dialing directory maintenance (Alt-D)
  1328.  
  1329.        . Revise entry (R)
  1330.  
  1331.          A directory entry is revised with the "R" command.  You will be
  1332.          prompted for an entry number (you may use the command "Rn" too,
  1333.          where "n" is the entry number).  Answer each prompt as you want
  1334.          the value to be.  You may cancel the change at any prompt with
  1335.          the ESC key.  When all the prompts are completed you will be
  1336.          asked whether the change is to be saved to disk.  If you say no
  1337.          the change will not be available the next time you use COM-AND.
  1338.  
  1339.        . Delete entry (D)
  1340.  
  1341.          A directory entry is deleted with the "D" command on the Alt-D
  1342.          window.  You will be prompted for the entry number (you may use
  1343.          the command "Dn" too, where "n" is the entry number).  The
  1344.          chosen entry is displayed.  If you answer "y" to the query, the
  1345.          entry will be deleted in memory and on disk.
  1346.  
  1347.        . Revise Long distance directory (L)
  1348.  
  1349.          The Long distance directory is a directory within a directory.
  1350.          Four entries may be created (labelled:  "+", "-", "#", and "@")
  1351.          and then used to prefix a dialing command (or to suffix).
  1352.  
  1353.          The Long distance entry is free form.  Any string that your
  1354.          modem will accept may be entered.    The Long distance directory
  1355.          is pulled-up from the Alt-D window with the command "L".  An
  1356.          entry may be modified by selecting its label ("+","-","#","@").
  1357.  
  1358.        . Print directory (P)
  1359.  
  1360.          The dialing directory (current in memory) is printed from the
  1361.          Alt-D window with the command "P".  Printer output is directed
  1362.          to the standard output device (PRN).  You are prompted to ready
  1363.          the printer.  Strike any key except ESC to begin printing.  ESC
  1364.          cancels the request.
  1365.  
  1366.          The printed directory is two pages, each of 50 lines (plus
  1367.          heading).    Top-of-forms (decimal 12) are issued at the start of
  1368.          each page.  Column headings are similar to the Alt-D headings.
  1369.  
  1370.  
  1371.  
  1372.  
  1373.  
  1374. Version 2.6: 900426
  1375.  
  1376. COM-AND: IBM PC Communications and Accessories                 Page  20
  1377.  
  1378.  
  1379. IX.    Dialing (continued)
  1380.  
  1381.  
  1382.     B. Dialing directory maintenance (continued)
  1383.  
  1384.        . Load file (F)
  1385.  
  1386.          A new dialing directory may be loaded with the 'F' command at
  1387.          any time.    Note that when you change the directory file, the
  1388.          change also is reflected in the Alt-S window (but isn't saved
  1389.          for the next time unless you save the values in Alt-S).
  1390.  
  1391.  
  1392.     C. Redial (Alt-R)
  1393.  
  1394.        The last dialing directory entry used to dial (or manual number
  1395.        as entered) may be recalled and redialed.  The redial sequence
  1396.        cycles.  It waits for the "Connect string" (as specified through
  1397.        the Alt-S window) for a fixed period, then resets the modem using
  1398.        the "Escape string" and tries again.  Time spent redialing is
  1399.        updated every time a redial is attempted.
  1400.  
  1401.        You may force a new attempt with the space-bar.  You may change
  1402.        the delay interval by pressing the END key:    you will be prompted
  1403.        for a new value (in seconds).
  1404.  
  1405.  
  1406.     D. Hangup (Alt-H)
  1407.  
  1408.        The connection (if any) may be interrupted and the "Hangup string"
  1409.        (specified through the Alt-S window) issued (or DTR dropped,
  1410.        according to your Alt-O preference), using the Alt-H command.
  1411.  
  1412.        One note about Alt-H hangup:  According to your modem and your
  1413.        setup of COM-AND, it is possible that the connection may not be
  1414.        properly broken.  A second Alt-H may or may not finish the job.
  1415.        Modems configured to follow DTR always respond to dropping DTR.
  1416.  
  1417.        Through Alt-O, you may opt to re-initialize the modem after
  1418.        hangup. The re-initialization will take some time, but insures
  1419.        that the modem is left in a uniform state.
  1420.  
  1421.     E. A note on modem speed
  1422.  
  1423.        Some new modems connect to the PC at one speed and connect to the
  1424.        host at a second speed.  If you use a modem of this type, remember
  1425.        to set the speed in the dialing directory to the speed used modem-
  1426.        to-PC.  Usually this is a higher rate.
  1427.  
  1428.  
  1429. Version 2.6: 900426
  1430.  
  1431. COM-AND: IBM PC Communications and Accessories                 Page  21
  1432.  
  1433.  
  1434. X.    Macros (Alt-M and Alt-0/9)
  1435.  
  1436.  
  1437.     A. Revise entry (0-9)
  1438.  
  1439.        COM-AND is distributed with an empty Macro directory.  Entries are
  1440.        displayed and modified through the Alt-M command.  A macro entry
  1441.        is any string of text which is to be transmitted on-line with one
  1442.        keystroke.  Carriage returns may be embedded in the string (as
  1443.        exclamation points "!" ...  Exclamation points themselves must be
  1444.        entered doubly:  "!!").  Control characters may be embedded in the
  1445.        string (represented as caret/letter "^x" ...  ^a = 1, ^b = 2, and
  1446.        so on...  Carets themselves, too, must be doubled:  "^^").
  1447.  
  1448.  
  1449.        The macro definition window is invoked with Alt-M.  Select the
  1450.        entry number to be revised by entering its number (0...9).  You
  1451.        will be prompted for the new entry.
  1452.  
  1453.  
  1454.        One interesting note:  COM-AND keystrokes may be programmed into
  1455.        macros themselves.  For example, the macro:
  1456.  
  1457.         "^@<SOURCE!"
  1458.  
  1459.        actually invokes the F2 (execute script) window, and passes the
  1460.        name "SOURCE" with a terminating carriage return to the F2 window.
  1461.        The ^@ indicates that the following character is to be interpreted
  1462.        as an 'extended keystroke', i.e. not-ASCII.  The extended charac-
  1463.        ter set is:
  1464.  
  1465.        Macro seq    Key    Macro seq    Key    Macro seq    Key
  1466.        ---------    ---    ---------  -----    ---------  -----
  1467.        ^@;         F1    ^@^^       Alt-A    ^@1       Alt-N
  1468.        ^@<         F2    ^@1       Alt-B    ^@^X       Alt-O
  1469.        ^@=         F3    ^@.       Alt-C    ^@^Y       Alt-P
  1470.        ^@>         F4    ^@ (space) Alt-D    ^@^P       Alt-Q
  1471.        ^@?         F5    ^@^R       Alt-E    ^@^S       Alt-R
  1472.        ^@@         F6    ^@!       Alt-F    ^@^_       Alt-S
  1473.        ^@A         F7    ^@"        Alt-G        ^@^T       Alt-T
  1474.        ^@B         F8    ^@#       Alt-H    ^@^V       Alt-U
  1475.        ^@C         F9    ^@^W       Alt-I    ^@/       Alt-V
  1476.        ^@D        F10    ^@$       Alt-J    ^@^Q       Alt-W
  1477.        ^@I           PgUp    ^@%       Alt-K    ^@-       Alt-X
  1478.        ^@Q           PgDn    ^@&       Alt-L    ^@^U       Alt-Y
  1479.        ^@u        Ctl-End    ^@2       Alt-M    ^@,       Alt-Z
  1480.  
  1481.        Note, too, that Alt-A (requiring "^^") is unprogrammable.
  1482.  
  1483.  
  1484. Version 2.6: 900426
  1485.  
  1486. COM-AND: IBM PC Communications and Accessories                 Page  22
  1487.  
  1488.  
  1489. X.    Macros (continued)
  1490.  
  1491.  
  1492.     A. Revise entry (continued)
  1493.  
  1494.        In the above example, the F2 key was represented by "^@<".  When
  1495.        the F2 key is pressed a window is opened and a search for all
  1496.        files *.CMD and *.ENF takes place.  In simpler terms, pressing the
  1497.        F2 key takes TIME.  COM-AND defines the ASCII value 255 as a short
  1498.        cut to execute a script or script statement.  The macro:
  1499.  
  1500.         " SOURCE!"
  1501.  
  1502.        where the first character (displayed as blank) is ASCII 255, will
  1503.        perform the same sequence... without opening the F2 window.
  1504.  
  1505.  
  1506.        DOS provides an obscure method for entering characters by their
  1507.        ASCII value.  To enter the ASCII value 255:    hold down the
  1508.        Alt-key, type '2' on the numeric pad, then type '5' on the numeric
  1509.        pad, then type '5' again on the numeric pad, and finally, release
  1510.        the Alt-key.  The Alt-key must be held for the duration of the
  1511.        2-5-5.  The numeric pad must be used.
  1512.  
  1513.  
  1514.        If the first character following the 255 is ".", the text will be
  1515.        executed as a single script command.  Otherwise, the text is
  1516.        interpreted as a script file name to be executed.  In this way
  1517.        single script statements or entire script files may be tied to a
  1518.        macro key (Alt-0 through Alt-9).
  1519.  
  1520.     B. Load a new file (Alt-M subcommand F)
  1521.  
  1522.        When COM-AND is loaded, the Macro Definition file as named through
  1523.        the Alt-S setup menu is loaded.  You may load a different file of
  1524.        macros after that point with the (F)ile subcommand of Alt-M.  Note
  1525.        that when you change the macro definition file, the change also is
  1526.        reflected in the Alt-S window (but isn't saved for the next time
  1527.        unless you save the values in Alt-S).
  1528.  
  1529.  
  1530.  
  1531.  
  1532.  
  1533.  
  1534.  
  1535.  
  1536.  
  1537.  
  1538.  
  1539. Version 2.6: 900426
  1540.  
  1541. COM-AND: IBM PC Communications and Accessories                 Page  23
  1542.  
  1543.  
  1544. X.    Macros (continued)
  1545.  
  1546.  
  1547.     C. Clear entries (Alt-M subcommand C)
  1548.  
  1549.        You may clear all macro definitions in COM-AND's memory (but not
  1550.        in the current file) with the (C)lear command.  To clear the file,
  1551.        make blank entries (blank, <cr>) for 0-9.
  1552.  
  1553.  
  1554.     D. Execute entry (Alt-0 through Alt-9)
  1555.  
  1556.        Macros are issued with the commands Alt-0 through Alt-9, outside
  1557.        of Alt-M.  The entry indicated by the number will be immediately
  1558.        issued.  What happens after that is strictly up to what you've
  1559.        entered, the service you're on, and the people around you.
  1560.  
  1561.  
  1562.  
  1563.  
  1564.  
  1565.  
  1566.  
  1567.  
  1568.  
  1569.  
  1570.  
  1571.  
  1572.  
  1573.  
  1574.  
  1575.  
  1576.  
  1577.  
  1578.  
  1579.  
  1580.  
  1581.  
  1582.  
  1583.  
  1584.  
  1585.  
  1586.  
  1587.  
  1588.  
  1589.  
  1590.  
  1591.  
  1592.  
  1593.  
  1594. Version 2.6: 900426
  1595.  
  1596. COM-AND: IBM PC Communications and Accessories                 Page  24
  1597.  
  1598.  
  1599. XI.    Encrypt/Decrypt (Alt-N)
  1600.  
  1601.  
  1602.     Beginning with version 2.2, COM-AND performs file encryption and
  1603.     decryption.  COM-AND encrypted script files are automatically
  1604.     recognized and decrypted in memory.  Dialing directory, Macro
  1605.     definition and Accessory definition files are not automatically
  1606.     decrypted, but might be decrypted and reloaded through a script.
  1607.  
  1608.  
  1609.     COM-AND implements three encryption methods:
  1610.  
  1611.     o full Federal Data Encryption Standard;  the DES algorithm in
  1612.       software is not fast but may be considered fairly secure.  The
  1613.       DES is appropriate for files you wish to exchange publicly,
  1614.       but wish to secure.  However, it is SLOW.
  1615.  
  1616.     o a simple encryption method;  this method is appropriate for
  1617.       script files which you plan to keep on your own machine, and
  1618.       only wish to protect from casual perusal (e.g. passwords).
  1619.  
  1620.     o a one-way encryption method;    this method is only for scripts.
  1621.       No password is required for this encryption.    When a script
  1622.       file encrypted this way is encountered, no password prompt is
  1623.       issued to the screen.  COM-AND will not decrypt one-way encrypted
  1624.       files from Alt-N.
  1625.  
  1626.  
  1627.     The Federal Data Encryption encodes data in 64-bit 'chunks'; each
  1628.     bit of each byte goes through many transformations, and may end up
  1629.     anywhere in the 64-bit area.  The simpler methods also encodes
  1630.     in chunks, but do not 'smear bits'.
  1631.  
  1632.  
  1633.     DES encryption is most secure.    'Simple' encryption is less secure.
  1634.     One-way encryption is least secure (it is present because transparent
  1635.     script decryption was requested).
  1636.  
  1637.  
  1638.     Encrypted files are slightly larger that the original file.  Infor-
  1639.     mation as to true file size, file date/time and CRC checking is added
  1640.     to the file.  When the file is decrypted, the method used to encrypt
  1641.     is recognized automatically, and the file is restored to its original
  1642.     size, date and time.  The decrypted file is deleted immediately if
  1643.     a CRC check fails.
  1644.  
  1645.  
  1646.  
  1647.  
  1648.  
  1649. Version 2.6: 900426
  1650.  
  1651. COM-AND: IBM PC Communications and Accessories                 Page  25
  1652.  
  1653.  
  1654. XI.    Encrypt/Decrypt (continued)
  1655.  
  1656.  
  1657.     When you encrypt or decrypt a file (or when the script processor
  1658.     recognizes an encrypted file with the exception of one-way encryp-
  1659.     tion) you will be asked for a password.  COM-AND accepts up to 32
  1660.     characters for the password, and uses them to derive a 'key' for
  1661.     the file.  The password you supply is not the decrypting key.  For
  1662.     maximum protection, it is recommended that you use the full 32
  1663.     characters for the password.
  1664.  
  1665.     ---------------------------------------------------------------------
  1666.     However, you must be able (somehow) to remember the password.  Should
  1667.     you lose the password, or if the encrypted file is modified in any
  1668.     manner, there is very little chance of recovering the data.  Neither
  1669.     CABER Software nor the author will be liable for any damages or lost
  1670.     revenues incurred through the use of this function beyond the
  1671.     registration price paid for COM-AND.
  1672.     ---------------------------------------------------------------------
  1673.  
  1674.  
  1675.     Encryption and decryption must be performed from one (input) file to
  1676.     another different (output) file.  Do not attempt to encrypt or
  1677.     decrypt a file over itself.  If there is insufficient space on the
  1678.     target disk for the file, you will be told, and allowed to select a
  1679.     new target disk or diskette or to abort.
  1680.  
  1681.  
  1682.     Alt-N invokes a menu allowing selection of Encryption or Decryption.
  1683.     You will be prompted for each required parameter.  When the process
  1684.     begins, a display similar to file transfers provides an estimate for
  1685.     the time required and a measure of its performance.
  1686.  
  1687.  
  1688.     The COM-AND script processor searches for the extension ".ENF" as
  1689.     well as ".CMD".  The script processor searches first for the given
  1690.     file name.  If no match is found it then searches for the same file
  1691.     name with the extension ".CMD".  If no match is found the second
  1692.     time, it searches for the same file name with the extension ".ENF".
  1693.     [If the name was unqualified with drive:subdirectory and if there
  1694.     is a COM-AND= environment variable, another three searches will be
  1695.     performed on the drive:subdirectory indicated by the COM-AND=
  1696.     variable.]
  1697.  
  1698.  
  1699.  
  1700.  
  1701.  
  1702.  
  1703.  
  1704. Version 2.6: 900426
  1705.  
  1706. COM-AND: IBM PC Communications and Accessories                 Page  26
  1707.  
  1708.  
  1709. XI.    Encrypt/Decrypt (continued)
  1710.  
  1711.  
  1712.     Thus, if you wish to encrypt a script file with no extension or with
  1713.     the extension ".CMD", you must use one of two strategies:
  1714.  
  1715.     o  encrypt the file using a DIFFERENT name... and use the
  1716.        different name when invoking the script (F2)... or
  1717.  
  1718.     o  encrypt the file to the same name with the extension ".ENF"
  1719.        and then delete the original (after backup of course).
  1720.  
  1721.  
  1722.     It is suggested that either the 'simple' method or 'one-way' method
  1723.     be used to encode script files.  Script files encoded with these
  1724.     methods are decrypted and executed transparently...  there will be
  1725.     perceptible delays if the DES encryption is used for a large script.
  1726.  
  1727.  
  1728.  
  1729.  
  1730.  
  1731.  
  1732.  
  1733.  
  1734.  
  1735.  
  1736.  
  1737.  
  1738.  
  1739.  
  1740.  
  1741.  
  1742.  
  1743.  
  1744.  
  1745.  
  1746.  
  1747.  
  1748.  
  1749.  
  1750.  
  1751.  
  1752.  
  1753.  
  1754.  
  1755.  
  1756.  
  1757.  
  1758.  
  1759. Version 2.6: 900426
  1760.  
  1761. COM-AND: IBM PC Communications and Accessories                 Page  27
  1762.  
  1763.  
  1764. XII.    Program Configuration (Alt-S, Alt-P, Alt-O, and Alt-J)
  1765.  
  1766.  
  1767.     A. Setup Screen (Alt-S)
  1768.  
  1769.        1. Modem control
  1770.  
  1771.           . Modem initialization string
  1772.  
  1773.         The modem initialization string is issued when COM-AND is
  1774.         first loaded.  It is not issued when the port is changed
  1775.         during execution.  If blank, it will be ignored.  Carriage
  1776.         returns and control characters are specified as with macros.
  1777.         Refer to Appendix M (Modem Configuration) for examples.
  1778.  
  1779.           . Modem dialing prefix
  1780.  
  1781.         The Modem dialing prefix commands the modem to begin a
  1782.         dialing sequence.  It is followed by a number from the
  1783.         dialing directory (and long distance string, if specified).
  1784.  
  1785.           . Modem dialing suffix
  1786.  
  1787.         The Modem dialing string terminates each dialing command.
  1788.         For Hayes type modems it should be a "!" (translated by
  1789.         COM-AND to be a <cr>).    It may be any string appropriate to
  1790.         your modem.  Carriage returns and control characters are
  1791.         specified as with macros.
  1792.  
  1793.           . Hangup string
  1794.  
  1795.         The hangup string is issued through the Alt-H command (after
  1796.         a modem escape is issued), if "drop DTR" is not set in Alt-O.
  1797.         Carriage returns and control characters are specified as
  1798.         with macros.  Delays of 1/2 second each may be specified
  1799.         with a tilde (~) (see "modem delay char" below).
  1800.  
  1801.           . Escape string
  1802.  
  1803.         The modem escape is issued before the hangup string (Alt-H),
  1804.         and before each redial (Alt-R).  Delays of 1/2 second each
  1805.         are specified with a tilde (~).  Carriage returns and
  1806.         control characters are specified as with macros.
  1807.  
  1808.           . Connect string
  1809.  
  1810.         The connect string is used by the Alt-D dial and Alt-R redial
  1811.         commands to determine when connection has been made.
  1812.  
  1813.  
  1814. Version 2.6: 900426
  1815.  
  1816. COM-AND: IBM PC Communications and Accessories                 Page  28
  1817.  
  1818.  
  1819. XII.    Program Configuration (continued)
  1820.  
  1821.  
  1822.     A. Setup Screen (continued)
  1823.  
  1824.        2. Files
  1825.  
  1826.           All files specified here are searched under the current
  1827.           drive:subdirectory, and under the drive:subdirectory
  1828.           indicated through the COM-AND= environment variable, unless
  1829.           the name given is explicitly qualified.
  1830.  
  1831.           . Call-log file name
  1832.  
  1833.         The call-log file name determines the file to be opened
  1834.         to receive call-logging (if call-logging is enabled, see
  1835.         below, Alt-O Options).
  1836.  
  1837.           . Dialing directory
  1838.  
  1839.         The dialing directory file is used to initialize the
  1840.         program's dialing directory.  The current dialing directory
  1841.         may be changed at any time from within COM-AND.
  1842.  
  1843.           . Macro Directory
  1844.  
  1845.         The macro directory file is used to initialize the
  1846.         program's macro definitions.  You may change the current
  1847.         macro definition at any time from within COM-AND.
  1848.  
  1849.          .    Accessory directory
  1850.  
  1851.         The COM-AND accessory function F1 requires a file to contain
  1852.         definitions for accessories.  You may have several files of
  1853.         definitions and change at any time from within COM-AND.
  1854.  
  1855.           . RLE temporary file
  1856.  
  1857.         COM-AND will recognize RLE graphics images when they are
  1858.         encountered in the received stream, and buffer the image to
  1859.         disk.  This file name specifies the temporary file name.
  1860.  
  1861.  
  1862.  
  1863.  
  1864.  
  1865.  
  1866.  
  1867.  
  1868.  
  1869. Version 2.6: 900426
  1870.  
  1871. COM-AND: IBM PC Communications and Accessories                 Page  29
  1872.  
  1873.  
  1874. XII.    Program Configuration (continued)
  1875.  
  1876.  
  1877.     A. Setup Screen (continued)
  1878.  
  1879.        3. Timings and Values
  1880.  
  1881.           . Backscreen buffer size
  1882.  
  1883.         Up to 64K for the backscreen buffer may be selected (or turn
  1884.         it off altogether by setting it to 0K).  This buffer is used
  1885.         by the Alt-B redisplay, and by the F7 transcript command.
  1886.  
  1887.           . Break delay
  1888.  
  1889.         COM-AND issues a true break through the Ctl-End key.  The
  1890.         duration of the break is controlled here.  "Break delay"
  1891.         specifies the number of milliseconds the comm line is held.
  1892.  
  1893.           . Alarm duration
  1894.  
  1895.         The alarm duration value gives the number of seconds the
  1896.         alarm tune sounds when a function is terminated.  Set this
  1897.         to zero to inhibit the special termination alarm.
  1898.  
  1899.           . Modem char delay
  1900.  
  1901.         The modem char delay gives the number of milliseconds COM-
  1902.         AND delays after each character of a modem control sequence
  1903.         (e.g.  dialing, hangup, initialization).  Certain modems
  1904.         require their control sequences be enunciated slowly.
  1905.  
  1906.           . Reconnect delay
  1907.  
  1908.         The interval between Alt-R redial (and scripted dialing)
  1909.         attempts is established here.  45 seconds is recommended for
  1910.         long distance dialing.    30 seconds is usual for local calls.
  1911.  
  1912.           . Chat Window
  1913.  
  1914.         The size of the lower window of chat mode (where what you
  1915.         type appears) may be changed.  The size of the chat window
  1916.         is limited to between 2 and 10 lines.
  1917.  
  1918.           . Bell tone
  1919.  
  1920.         COM-AND implements its own bell sound.    You may set the tone
  1921.         to any frequency (in Hz) that pleases.
  1922.  
  1923.  
  1924. Version 2.6: 900426
  1925.  
  1926. COM-AND: IBM PC Communications and Accessories                 Page  30
  1927.  
  1928.  
  1929. XII.    Program Configuration (continued)
  1930.  
  1931.  
  1932.     A. Setup Screen (continued)
  1933.  
  1934.        3. Timings and Values
  1935.  
  1936.           . Mouse vertical sensitivity
  1937.  
  1938.         The vertical sensitivity of the mouse may be set here.
  1939.         The higher the value used, the less sensitive the mouse.
  1940.         The most sensitive value is 0.
  1941.  
  1942.           . Mouse horizontal sensitivity
  1943.  
  1944.         The horizontal sensitivity of the mouse may be set here.
  1945.         The higher the value used, the less sensitive the mouse.
  1946.         The most sensitive value is 0.
  1947.  
  1948.           . Mouse double click interval
  1949.  
  1950.         The double click interval of the mouse may be set here.
  1951.         When a mouse button is pressed twice within this interval a
  1952.         different action is taken than when it is only pressed once.
  1953.  
  1954.           . Modem delay character
  1955.  
  1956.         The modem delay character defaults to a tilde (ASCII 126).
  1957.         It represents a 1/2 second display in strings sent to the
  1958.         modem (above) and strings sent with the script command
  1959.         TRANSMIT.  It may be redefined here if you wish.
  1960.  
  1961.           . Xfer Screen Update Interval
  1962.  
  1963.         At 9600 baud and above, the time taken to paint the status
  1964.         screen becomes a signifigant percentage of the overall time
  1965.         required for a file transfer.  Setting the screen update
  1966.         interval to '5' will have a visible impact even at 2400 baud.
  1967.  
  1968.  
  1969.        4. Save
  1970.  
  1971.           You may change values for one execution of COM-AND, or you
  1972.           may change them for all subsequent executions of COM-AND.  If
  1973.           you save values, the values you've saved will be set the next
  1974.           time you use COM-AND.
  1975.  
  1976.  
  1977.  
  1978.  
  1979. Version 2.6: 900426
  1980.  
  1981. COM-AND: IBM PC Communications and Accessories                 Page  31
  1982.  
  1983.  
  1984. XII.    Program Configuration (continued)
  1985.  
  1986.  
  1987.     B. Communications Parameters (Alt-P)
  1988.  
  1989.        1. Rate + Parity + Data bits + Stop Bits
  1990.  
  1991.           Baud rate, parity, number of data bits and number of stop bits
  1992.           are specified in combination through the first selections of
  1993.           the Alt-P window.  These selections are the only way to specify
  1994.           baud rate through this window.  Other parameters (parity, data
  1995.           bits, and stop bits) may be set individually (below).
  1996.  
  1997.           Do not change the current setting after you've connected to a
  1998.           service.    XMODEM and YMODEM and ZMODEM transfers can and do
  1999.           change to no parity (if necessary), but you shouldn't.
  2000.  
  2001.        2. Parity, Data bits and Stop bits
  2002.  
  2003.           Individual settings for parity, number of data bits and number
  2004.           of stop bits comprise the next items of this menu.  You also
  2005.           set these values when you create a dialing directory entry.
  2006.  
  2007.           Again: do not change the current setting after you have
  2008.           connected to a service.  The settings on this screen are
  2009.           effective mostly when the program is initialized.  The dialing
  2010.           directory (if used) overrides the current setting.
  2011.  
  2012.        3. COM ports
  2013.  
  2014.           The last items on this menu are the candidates for COM ports.
  2015.           Select the appropriate port for your modem.  This item is
  2016.           usually selected once, and then left alone.
  2017.  
  2018.           NOTE:  If your computer is equipped with fewer than four COM
  2019.           ports, an attempt to configure a missing port results in the
  2020.           report that the port speed is 115k baud.    When a board is added
  2021.           with the additional port (e.g.  an internal modem set to work
  2022.           as COM3 or COM4), COM-AND will recognize it.
  2023.  
  2024.        -----------------------------------------------------------------
  2025.        Note:  All parameters may be set through the command parameters.
  2026.        These parameters override the Alt-P default settings.  Example:
  2027.  
  2028.           "d>" COM-AND COM3 1200 DATA8 STOP1 NONE
  2029.  
  2030.        Refer to Appendix A for the list of run-command parameters.
  2031.        -----------------------------------------------------------------
  2032.  
  2033.  
  2034. Version 2.6: 900426
  2035.  
  2036. COM-AND: IBM PC Communications and Accessories                 Page  32
  2037.  
  2038.  
  2039. XII.    Program Configuration (continued)
  2040.  
  2041.  
  2042.     B. Communications Parameters (continued)
  2043.  
  2044.        4. Save
  2045.  
  2046.           Current settings for the next execution of COM-AND are saved
  2047.           through the "Save" selection.  Settings are saved to disk.
  2048.  
  2049.        5. Set Base/IRQ
  2050.  
  2051.           COM-AND defaults the four supported comm ports to the values:
  2052.  
  2053.           COM1:  base address: 0x3f8, interrupt request # 4
  2054.           COM2:  base address: 0x2f8, interrupt request # 3
  2055.           COM3:  base address: 0x3e8, interrupt request # 4
  2056.           COM4:  base address: 0x2e8, interrupt request # 3
  2057.  
  2058.           These may be changed through a submenu of the Alt-P menu.
  2059.           Select 'Set Base/IRQ', and the submenu is opened.  Current
  2060.           values are displayed.  Select a port and you will be prompted
  2061.           for new values.
  2062.  
  2063.           Each port's base address is limited to the values 0-1023 (or
  2064.           0 - 0x3ff).  Each port's interrupt request number is limited
  2065.           to the values 0-7.
  2066.  
  2067.           The default values are appropriate for most applications.
  2068.           Most people will never need to change these settings.  How
  2069.           ever, should you need to do so, the capability is available.
  2070.  
  2071.           DO NOT CHANGE these assignments unless you are sure you have
  2072.           need to do so, and have the correct values at hand.  If you
  2073.           do not save the changes, COM-AND will revert to the defaults
  2074.           the next time it is loaded (after Control-Alt-Delete, for
  2075.           example!).
  2076.  
  2077.           If COM-AND is directed to use a comm port address that, in
  2078.           fact, does not exist, the result may range from: nothing
  2079.           happening whatsoever, to complete machine lockup (if there IS
  2080.           in fact a device at that address able to respond to interrupt
  2081.           requests).  It is recommended that new settings be tried before
  2082.           saving.
  2083.  
  2084.           The meaning of the 'names' COM1, COM2, COM3, and COM4, as far
  2085.           as COM-AND is concerned, are determined simply by these
  2086.           assignments.
  2087.  
  2088.  
  2089. Version 2.6: 900426
  2090.  
  2091. COM-AND: IBM PC Communications and Accessories                 Page  33
  2092.  
  2093.  
  2094. XII.    Program Configuration (continued)
  2095.  
  2096.  
  2097.     C. Options (Alt-O)
  2098.  
  2099.        1. Settings otherwise available
  2100.  
  2101.           . Echo  (also Alt-E)
  2102.  
  2103.         Some services turn around what you type so that you see it
  2104.         (full duplex or echoplex), and some don't (half duplex).
  2105.         You may force COM-AND to display what you enter in the CRT
  2106.         window by toggling echo.  Setting echo on (through the Alt-O
  2107.         window) will turn echo on now.    Saving it will cause echo to
  2108.         be turned on the next time you run COM-AND.  Echo is toggled
  2109.         dynamically with the Alt-E command.
  2110.  
  2111.           . Parity mask (also Alt-Z)
  2112.  
  2113.         You may mask parity from received text by setting the parity
  2114.         mask on permanently through the Alt-O window.  I've found
  2115.         this to be useful; mandatory when I've needed it.  Parity
  2116.         masking is toggled dynamically with the Alt-Z command.
  2117.  
  2118.           . Keyboard display  (also F8)
  2119.  
  2120.         Some talk systems are more friendly when what you type is
  2121.         not mixed in with what you receive.  Turning system echo off
  2122.         (if the system echoes key-entry) is accomplished in a number
  2123.         of ways (note that this is different from Alt-E above), each
  2124.         unique to the particular system.
  2125.  
  2126.         However, all of a sudden there is a new problem: you don't
  2127.         see what you're typing!  Keyboard display in COM-AND is one
  2128.         attempt to solve this problem.    What you type will be
  2129.         displayed on the status line when keyboard display is turned
  2130.         on.  You may enable it on permanently through this option.
  2131.         Keyboard display may be toggled dynamically with F8.
  2132.  
  2133.           . Chat mode (also Alt-A)
  2134.  
  2135.         Chat mode is another attempt to allow you to see what you've
  2136.         typed when echo has been turned off.  Instead of just one
  2137.         line of keyboard display, chat mode allows you to see the
  2138.         last few (up to 10) lines you have typed.  Chat mode is
  2139.         toggled dynamically with Alt-A.
  2140.  
  2141.  
  2142.  
  2143.  
  2144. Version 2.6: 900426
  2145.  
  2146. COM-AND: IBM PC Communications and Accessories                 Page  34
  2147.  
  2148.  
  2149. XII.    Program Configuration (continued)
  2150.  
  2151.  
  2152.     C. Options (Alt-O) (continued)
  2153.  
  2154.        1. Settings otherwise available (continued)
  2155.  
  2156.           . Blank line suppression (also Alt-G)
  2157.  
  2158.         You may enable blank line suppression on when COM-AND is
  2159.         loaded, through this selection.  Blank line suppression is
  2160.         dynamically toggled with Alt-G.
  2161.  
  2162.           . In/Out Translate (also Alt-V)
  2163.  
  2164.         You may turn on in/out character translation on when COM-AND
  2165.         is loaded, through this option.  Note that the file COM-AND.
  2166.         XLT must be prepared prior to the use of this function.
  2167.         COM-AND.XLT is prepared with the script XLATE.CMD.
  2168.  
  2169.           . Remapping (also Alt-V)
  2170.  
  2171.         You may turn on keyboard remapping on when COM-AND is loaded,
  2172.         through this option.  Note that the file COM-AND.RMP must be
  2173.         prepared prior to the use of this function.  Please refer to
  2174.         to the script REMAP.CMD and its documentation REMAP.DOC.
  2175.  
  2176.        2. Settings available only through Alt-O
  2177.  
  2178.           . Nondestructive Backspace
  2179.  
  2180.         You may toggle a destructive/nondestructive backspace func-
  2181.         tion through this option.  Nondestructive backspaces are not
  2182.         required by many systems, but now and then it comes up.
  2183.  
  2184.           . Backspace sent as delete
  2185.  
  2186.         You may toggle the character transmitted as a backspace func-
  2187.         tion through this option.  Either backspace (decimal 8), or
  2188.         delete (decimal 127, a.k.a. rubout) may be transmitted.
  2189.  
  2190.           . CR -> CRLF received
  2191.  
  2192.         You may toggle a CR/CRLF on received CR function through this
  2193.         option.  Most systems generate a CR and a LF to terminate a
  2194.         line, but a few only generate a CR.
  2195.  
  2196.  
  2197.  
  2198.  
  2199. Version 2.6: 900426
  2200.  
  2201. COM-AND: IBM PC Communications and Accessories                 Page  35
  2202.  
  2203.  
  2204. XII.    Program Configuration (continued)
  2205.  
  2206.  
  2207.     C. Options (Alt-O) (continued)
  2208.  
  2209.        2. Settings available only through Alt-O (continued)
  2210.  
  2211.           . Alarm noise
  2212.  
  2213.         An alarm tune (of sorts) sounds when the Alt-R redial makes
  2214.         connection, and when file transfer is complete.  The noise
  2215.         is also played when certain error conditions occur.
  2216.  
  2217.         When disabled, the alarm window is held open without noise.
  2218.         The duration of the noise (or noiseless pause) is controlled
  2219.         through Alt-S Setup.
  2220.  
  2221.           . Exit query
  2222.  
  2223.         Some people disdain the query "do you really and truly mean
  2224.         it" when they type Alt-X.  Some feel it mandatory.  COM-AND
  2225.         is distributed with exit query disabled.  You may enable it,
  2226.         if you're so inclined, through this Alt-O selection.
  2227.  
  2228.           . Mark transcript
  2229.  
  2230.         COM-AND will mark every disk transcript taken (beginning and
  2231.         end) with the date and time.  You tell COM-AND not to mark
  2232.         further transcripts through this Alt-O selection.
  2233.  
  2234.         The transcript function also has the capability to add the
  2235.         backscreen (the full backscreen buffer's worth) to the
  2236.         transcript.  Turning transcript marking off means that there
  2237.         will be no delimiter between the backscreen and transcript.
  2238.  
  2239.           . Initial advertisement
  2240.  
  2241.         When COM-AND was distributed, the Information screen (Alt-I)
  2242.         was set to be displayed when the program was run.  You turn
  2243.         the display off through this Alt-O setting.
  2244.  
  2245.           . Use BIOS for screen saves
  2246.  
  2247.         You may set BIOS screen accesses permanently through this
  2248.         option.  COM-AND defaults to direct screen buffer reads and
  2249.         writes.  Some machines (and environments, like Windows)
  2250.         require this option be set.  See also Appendix J on multi-
  2251.         tasking, and "Use DOS for screen writes", below.
  2252.  
  2253.  
  2254. Version 2.6: 900426
  2255.  
  2256. COM-AND: IBM PC Communications and Accessories                 Page  36
  2257.  
  2258.  
  2259. XII.    Program Configuration (continued)
  2260.  
  2261.  
  2262.     C. Options (Alt-O) (continued)
  2263.  
  2264.        2. Settings available only through Alt-O (continued)
  2265.  
  2266.           . Use DOS for screen writes
  2267.  
  2268.         You may set DOS screen writes permanently through this
  2269.         option.  When received text is written through DOS, ANSI.SYS
  2270.         or other console driver is invoked (if you turn all emulation
  2271.         off).  See also Appendix J on multi-tasking, and "Use BIOS
  2272.         for screen saves", above.
  2273.  
  2274.           . Display control characters
  2275.  
  2276.         COM-AND permits displayable control characters to be dis-
  2277.         played (as many BBS's use them).  You may turn this feature
  2278.         off and on through Alt-O according to the system you use.
  2279.  
  2280.           . Software flow control (XON/XOFF)
  2281.  
  2282.         COM-AND supports software flow control using the XON/XOFF
  2283.         discipline for receipt and for ASCII sends.  You may enable
  2284.         and disable this feature according to the system you use.
  2285.  
  2286.           . Hardware flow control (unidirectional)
  2287.  
  2288.         COM-AND supports a hardware flow control, raising RTS before
  2289.         transmitting and waiting for CTS.  This function may be
  2290.         permanently established here, according to your modems needs.
  2291.  
  2292.           . RTS Flow control (bidirectional)
  2293.  
  2294.         COM-AND supports a second manner of hardware flow control,
  2295.         raising RTS when able to receive and waiting for CTS before
  2296.         transmitting.  This function may be permanently established
  2297.         here, according to your modem.
  2298.  
  2299.  
  2300.  
  2301.  
  2302.  
  2303.  
  2304.  
  2305.  
  2306.  
  2307.  
  2308.  
  2309. Version 2.6: 900426
  2310.  
  2311. COM-AND: IBM PC Communications and Accessories                 Page  37
  2312.  
  2313.  
  2314. XII.    Program Configuration (continued)
  2315.  
  2316.  
  2317.     C. Options (Alt-O) (continued)
  2318.  
  2319.        2. Settings available only through Alt-O (continued)
  2320.  
  2321.           . Drop DTR to hangup
  2322.  
  2323.         COM-AND disconnects either (1) by dropping DTR momentarily or
  2324.         (2) using the hangup escape sequence specified in the Alt-S
  2325.         setup.    Only use the first method if your modem is configured
  2326.         to follow DTR (see Appendix M, Modem Configuration).
  2327.  
  2328.           . Re-initialize modem after HANGUP
  2329.  
  2330.         COM-AND will, or will not retransmit the modem initialization
  2331.         string (Alt-S above) after a HANGUP is performed.  If modem
  2332.         settings are altered for individual hosts, reinitializing
  2333.         after HANGUP ensures that the modem is always in a proper
  2334.         default state.
  2335.  
  2336.           . Call-logging
  2337.  
  2338.         COM-AND logs successful connections, hangup, carrier drop-
  2339.         outs, file transfers and file encrypt/decryptions to a
  2340.         call-log when call-logging is enabled.    The name of the
  2341.         current call-log is declared through Alt-S.
  2342.  
  2343.           . Screen clock
  2344.  
  2345.         COM-AND will display the current time (as "hh:mm:ss" if no
  2346.         connection is known, and as "hh:mm (hh:mm)" showing current
  2347.         time and time since connection) on the status line when the
  2348.         Alt-O screen clock is enabled.
  2349.  
  2350.           . Suppress bells
  2351.  
  2352.         COM-AND will suppress bell characters received if this option
  2353.         is enabled.
  2354.  
  2355.           . Menu mode
  2356.  
  2357.         COM-AND supports a menu mode allowing most all customary
  2358.         functions to be performed with a mouse.  This mode may be
  2359.         set permanently here (interactively toggled with Alt equal).
  2360.  
  2361.  
  2362.  
  2363.  
  2364. Version 2.6: 900426
  2365.  
  2366. COM-AND: IBM PC Communications and Accessories                 Page  38
  2367.  
  2368.  
  2369. XII.    Program Configuration (continued)
  2370.  
  2371.  
  2372.     C. Options (Alt-O) (continued)
  2373.  
  2374.        2. Settings available only through Alt-O (continued)
  2375.  
  2376.           . Respect CD
  2377.  
  2378.         COM-AND monitors carrier detect unless you turn the function
  2379.         off through Alt-O (or the /T run-time switch).    Carrier
  2380.         detect (CD) is monitored during file transfers and after
  2381.         successful connection through the dialing directory.
  2382.  
  2383.           . PCJr (disk I/O suspends comm)
  2384.  
  2385.         PCJr mode suspends the comm line (with an X-OFF) during disk
  2386.         I/O.  You may set/reset PCJr mode through this option.
  2387.  
  2388.           . Capture/Display RLE files
  2389.  
  2390.         COM-AND recognizes RLE files as they are received, and cap-
  2391.         tures them to disk while displaying them (if you have EGA
  2392.         or CGA).  It may be permanently enabled it here.  See also
  2393.         Appendix J on multi-tasking.
  2394.  
  2395.           . Allow MUSIC
  2396.  
  2397.         COM-AND will play music escape sequences when received if
  2398.         this function is enabled.  Music escape sequences are of the
  2399.         form: "ESC,[,M,<BASICA encoded string>,^N".
  2400.  
  2401.           . Allow REMOTE
  2402.  
  2403.         COM-AND implements a REMOTE function performing script
  2404.         commands received over the communications line.  REMOTE
  2405.         sequences are of the form:  "ESC,^,<script command>,<cr>".
  2406.  
  2407.           . Slow output
  2408.  
  2409.         COM-AND performs file transfers at an unusually high speed.
  2410.         The technique is called 'interrupt driven writes'.  Some Net-
  2411.         work modems fail when pressed so hard.    This option may be
  2412.         used to slow COM-AND file transfers down a bit.
  2413.  
  2414.  
  2415.  
  2416.  
  2417.  
  2418.  
  2419. Version 2.6: 900426
  2420.  
  2421. COM-AND: IBM PC Communications and Accessories                 Page  39
  2422.  
  2423.  
  2424. XII.    Program Configuration (continued)
  2425.  
  2426.  
  2427.     C. Options (Alt-O) (continued)
  2428.  
  2429.        2. Settings available only through Alt-O (continued)
  2430.  
  2431.           . ZMODEM auto download
  2432.  
  2433.         COM-AND will start a ZMODEM receive under the host's control
  2434.         when this option is enabled.  It may be disabled to avoid
  2435.         false triggers (for example, by "friends" in CB/chat).
  2436.  
  2437.           . ZMODEM recovery
  2438.  
  2439.         The ZMODEM protocol defines a 'recovery' function for down-
  2440.         loads.    When the file being received already exists, and this
  2441.         option is enabled, the transfer picks up at the end of the
  2442.         file (presumably where a failed transfer ended).  [The prev-
  2443.         ious transfer may have used any protocol (!).] When disabled,
  2444.         ZMODEM downloads go to a unique file name each time.
  2445.  
  2446.  
  2447.        3. Save
  2448.  
  2449.           Values set through this screen are not automatically saved
  2450.           to disk.    Values set through this screen are immediately
  2451.           used by COM-AND.    To configure COM-AND to have the same
  2452.           settings the next time it is loaded, you must save them with
  2453.           the "Save" selection of the Alt-O menu.
  2454.  
  2455.  
  2456.  
  2457.  
  2458.  
  2459.  
  2460.  
  2461.  
  2462.  
  2463.  
  2464.  
  2465.  
  2466.  
  2467.  
  2468.  
  2469.  
  2470.  
  2471.  
  2472.  
  2473.  
  2474. Version 2.6: 900426
  2475.  
  2476. COM-AND: IBM PC Communications and Accessories                 Page  40
  2477.  
  2478.  
  2479. XII.    Program Configuration (continued)
  2480.  
  2481.  
  2482.     D. Colors (Alt-J)
  2483.  
  2484.        You may set foreground and background colors for
  2485.  
  2486.           (1) the CRT text area,
  2487.  
  2488.           (2) the status line, and
  2489.  
  2490.           (3) main menus (queries are set to black on white for
  2491.           contrast).
  2492.  
  2493.  
  2494.        The color names are those used in the IBM Technical Reference;
  2495.        if you have different names for some of the color values, I
  2496.        apologize.  My wife and I have argued for years over 'beige'.
  2497.  
  2498.  
  2499.        If the "Use DOS for screen writes" option is set, then the text
  2500.        colors selected above will be ignored.  If this option is set,
  2501.        and the internal ANSI emulator is not turned off, then no color
  2502.        at all (beyond your DOS configuration) is available for text.
  2503.  
  2504.  
  2505.        Like other option menus, you may experiment with settings.
  2506.        Unless you save your settings, they are lost when the program
  2507.        terminates.
  2508.  
  2509.  
  2510.  
  2511.  
  2512.  
  2513.  
  2514.  
  2515.  
  2516.  
  2517.  
  2518.  
  2519.  
  2520.  
  2521.  
  2522.  
  2523.  
  2524.  
  2525.  
  2526.  
  2527.  
  2528.  
  2529. Version 2.6: 900426
  2530.  
  2531. COM-AND: IBM PC Communications and Accessories                 Page  41
  2532.  
  2533.  
  2534. XIII.    File Transfer (PgUp, PgDn, Alt-F and F4)
  2535.  
  2536.  
  2537.     COM-AND supports several file transfer methods, to and from your PC.
  2538.     Transfers to your PC are called downloads (down from the host).  File
  2539.     transfers from your PC are called uploads (up to the host).  The file
  2540.     transfer methods currently implemented are:
  2541.  
  2542.     o    XMODEM         (Windowed, CRC and checksum)
  2543.     o    YMODEM         (BBS YMODEM, a.k.a. XMODEM1K)
  2544.     o    Batch YMODEM (True YMODEM (tm), and YMODEM-G)
  2545.     o    ZMODEM         (batch)
  2546.     o    KERMIT         (Windowed or not windowed)
  2547.     o    CIS-B         (classic and Quick (B+), for CompuServe)
  2548.     o    ASCII         (without error checking)
  2549.  
  2550.  
  2551.     To begin a transfer, on the CRT side of COM-AND you must tell the
  2552.     host (system) that it is to begin a transfer.  Each system is diff-
  2553.     erent in this respect.    Once the host is ready to start the transfer,
  2554.     begin the transfer in COM-AND.
  2555.  
  2556.  
  2557.     The transfer is started in COM-AND with the PgUp key (for upload) or
  2558.     PgDn key (for download).  The items on the menu presented are
  2559.     explicit; if you select CRC XMODEM, Windowed XMODEM will not be used,
  2560.     even if the host supports it.  The definition of CRC XMODEM allows a
  2561.     'drop' into checksum XMODEM, on the other hand, if the host doesn't
  2562.     support CRC.
  2563.  
  2564.  
  2565.     Each system you might wish to use has an optimal transfer method.
  2566.     Select the method from the menu.  According to the transfer method
  2567.     selected, you may then be queried for a file name (or wildcard
  2568.     template in the case of KERMIT, ZMODEM and Batch YMODEM uploads).
  2569.  
  2570.  
  2571.     At this point, COM-AND takes over the transfer.  With the exception
  2572.     of ASCII transfers, the sequence is usually:
  2573.  
  2574.     o    Synchronize with the host
  2575.     o    Negotiate parameters for the transfer
  2576.     o    Transfer a file or files
  2577.     o    Report error or completion of transfer
  2578.  
  2579.  
  2580.  
  2581.  
  2582.  
  2583.  
  2584. Version 2.6: 900426
  2585.  
  2586. COM-AND: IBM PC Communications and Accessories                 Page  42
  2587.  
  2588.  
  2589. XIII.    File Transfer (continued)
  2590.  
  2591.  
  2592.     COM-AND displays an estimate of the time required for the transfer
  2593.     (for downloads the estimate is for 30K chunks, unless the protocol
  2594.     provides the true file size).  The transfer rate (in terms of bytes
  2595.     per second actually delivered) and efficiency (in terms of percent of
  2596.     maximum linespeed) is computed and displayed every few seconds.
  2597.  
  2598.  
  2599.     The download statistics window displays:
  2600.  
  2601.     . the file name of the file being transferred,
  2602.     . the method
  2603.     . the time so far,
  2604.     . the file size so far,
  2605.     . the number of blocks received,
  2606.     . the number of errors encountered,
  2607.     . a description of the last error encountered.
  2608.     . an estimate for the transfer time (to the nearest 30K interval,
  2609.       unless the protocol supplies the true file size)
  2610.     . and the efficiency of the transfer (percent linespeed)
  2611.  
  2612.  
  2613.     The upload statistics window displays:
  2614.  
  2615.     . the file name of the file being transferred,
  2616.     . its size,
  2617.     . the method
  2618.     . the number of blocks being transferred,
  2619.     . the time so far,
  2620.     . the number of blocks sent,
  2621.     . if windowing the current 'window' size
  2622.     . the number of errors encountered,
  2623.     . a description of the last error encountered.
  2624.     . an estimate for the transfer time
  2625.     . and the efficiency of the transfer (percent linespeed)
  2626.  
  2627.     ----------------------------------------------------------------
  2628.     Protocols are not available through accessory programs.
  2629.     ----------------------------------------------------------------
  2630.  
  2631.  
  2632.  
  2633.  
  2634.  
  2635.  
  2636.  
  2637.  
  2638.  
  2639. Version 2.6: 900426
  2640.  
  2641. COM-AND: IBM PC Communications and Accessories                 Page  43
  2642.  
  2643.  
  2644. XIII.    File Transfer (continued)
  2645.  
  2646.  
  2647.     A. XMODEM Up/Download
  2648.  
  2649.  
  2650.        Files may be transferred to/from a system that accepts checksum,
  2651.        CRC, or Windowed XMODEM, using COM-AND.
  2652.  
  2653.        When you request XMODEM upload, you are asked for a file.  Once
  2654.        the file's existence has been assured, COM-AND begins protocol
  2655.        negotiation with the host system.  One of the possible protocols
  2656.        will be negotiated, according to your choice and the host's
  2657.        implementation.  Up to 60 seconds are allowed for the negotiation.
  2658.        If that time is exceeded, the transfer fails.  You may restart it,
  2659.        of course.
  2660.  
  2661.        When you request XMODEM download, you are asked for a file name.
  2662.        Once the file has been created (you will be queried for a purge if
  2663.        it already exists), COM-AND begins protocol negotiation with
  2664.        the host system.  One of the possible protocols will be negotiated
  2665.        according to your choice and to the host's implementation.  COM-
  2666.        AND drops through WXMODEM after 24 seconds.    COM-AND drops through
  2667.        CRC XMODEM after 24 seconds.  If the host does not acknowledge CRC
  2668.        XMODEM, then finally, CHECKSUM is requested.  Up to 100 seconds
  2669.        are allowed for the negotiation.  If that time is exceeded, the
  2670.        transfer fails.  You may restart it, of course.
  2671.  
  2672.        COM-AND is intended primarily for users of networks and services
  2673.        available through the networks.  For this reason, COM-AND
  2674.        implements what is referred to as "relaxed XMODEM".  The networks
  2675.        introduce timing delays into file transfers that the original
  2676.        XMODEM standard did not contemplate.  However, the relaxed XMODEM
  2677.        works quite well with BBS's that expect strict XMODEM.
  2678.  
  2679.  
  2680.        Because COM-AND is intended for a network environment, a new
  2681.        XMODEM variant:  Windowed XMODEM or WXMODEM is implemented.
  2682.        WXMODEM was designed to accommodate network delays and maximize
  2683.        performance.  It also accomodates network flow control (XON/XOFF).
  2684.        WXMODEM gives approximately 35% faster transfer rates in network
  2685.        environments.  For details about WXMODEM refer to Appendix D.
  2686.  
  2687.        COM-AND changes the communications parameters to 8 data bits, no
  2688.        parity, and 1 stop bit when XMODEM begins.  It restores settings
  2689.        to their original state after XMODEM completes.
  2690.  
  2691.  
  2692.  
  2693.  
  2694. Version 2.6: 900426
  2695.  
  2696. COM-AND: IBM PC Communications and Accessories                 Page  44
  2697.  
  2698.  
  2699. XIII.    File Transfer (continued)
  2700.  
  2701.  
  2702.     B. YMODEM Up/Download (BBS YMODEM and Batch YMODEM/YMODEM-G)
  2703.  
  2704.  
  2705.        Files are transmitted/received using one of several YMODEMs:
  2706.  
  2707.        .  simple YMODEM (Bulletin Board YMODEM, also known as XMODEM1K,
  2708.           different from True YMODEM (tm))
  2709.        .  Batch YMODEM (properly named "True YMODEM (tm)")
  2710.        .  Batch YMODEM-G (a streaming version for special connections)
  2711.  
  2712.        When one of the YMODEM uploads is selected, you are asked for a
  2713.        file (or in the case of Batch YMODEM and YMODEM-G, a wildcard
  2714.        template).  Once the file's existence has been assured, COM-AND
  2715.        begins protocol negotiation with the host system.  Up to 60
  2716.        seconds are allowed for the negotiation.  If that time is
  2717.        exceeded, the transfer fails.  You may restart it, of course.
  2718.  
  2719.        When a simple YMODEM/XMODEM1k download is selected, you are asked
  2720.        for a file name.  Once the file has been created (you will be
  2721.        queried for a purge if it already exists), COM-AND begins proto-
  2722.        col negotiation with the host system.  Up to 60 seconds are
  2723.        allowed for the negotiation.  If that time is exceeded, the trans-
  2724.        fer fails.  You may restart it, of course.
  2725.  
  2726.        When a Batch YMODEM or YMODEM-G download is selected, you will NOT
  2727.        be asked for a file name.  The host supplies the name(s).  For
  2728.        this reason, if the supplied name duplicates one on your default
  2729.        download subdirectory, the file name will have its last character
  2730.        (usually the extension) changed to '$'.
  2731.  
  2732.        YMODEM (in all its variants) is more efficient in a networked
  2733.        environment than simple XMODEMs (CRC and checksum) simply because
  2734.        it transfers longer blocks of data at a time.  However, YMODEM is
  2735.        subject to the same problems (lack of flow control, for one) that
  2736.        XMODEM users know well in networked environments.
  2737.  
  2738.        Variations on YMODEM abound.  The various namings of this protocol
  2739.        proliferate; even YMODEM's developer has changed his naming of the
  2740.        protocol; thus COM-AND uses the most common names (and the name
  2741.        given it by the developer in its original specification).
  2742.  
  2743.        COM-AND changes the communications parameters to 8 data bits, no
  2744.        parity, and 1 stop bit when any YMODEM begins.  It restores
  2745.        settings to their original state after YMODEM completes.
  2746.  
  2747.  
  2748.  
  2749. Version 2.6: 900426
  2750.  
  2751. COM-AND: IBM PC Communications and Accessories                 Page  45
  2752.  
  2753.  
  2754. XIII.    File Transfer (continued)
  2755.  
  2756.  
  2757.     C. ZMODEM Up/Download
  2758.  
  2759.  
  2760.        When ZMODEM upload commences, a wildcard template is requested
  2761.        (for example, FILE*.ASM).  Once the (first) file's existence has
  2762.        been assured, COM-AND begins protocol negotiation with the host
  2763.        system.  Up to 60 seconds are allowed for the negotiation.  If
  2764.        that time is exceeded, the transfer fails.
  2765.  
  2766.        COM-AND detects and automatically begins ZMODEM receive when the
  2767.        'auto' option of Alt-O is enabled.  If this option is disabled,
  2768.        the ZMODEM receive must be manually started.
  2769.  
  2770.        When a ZMODEM download begins, you will NOT be asked for a file.
  2771.        The host supplies the name(s).  ZMODEM defines a recovery mode
  2772.        (which is enabled/disabled through Alt-O).  When recovery is
  2773.        disabled, and the supplied name duplicates one on the default
  2774.        download subdirectory, the file name will have its last character
  2775.        (usually the extension) changed to '$'.  When recovery is enabled,
  2776.        and the name supplied duplicates one on the default download sub-
  2777.        directory, the transfer begins at the old end-of-file.  Presum-
  2778.        ably, the file is there as the result of a failed transfer.
  2779.  
  2780.        On download, once the file has been created (or opened if recover-
  2781.        ing) COM-AND begins protocol negotiation with the host system.  Up
  2782.        to 60 seconds are allowed for the negotiation.  If that time is
  2783.        exceeded, the transfer fails.  You may restart it, of course.
  2784.  
  2785.  
  2786.        ZMODEM is more efficient in a networked environment than XMODEM
  2787.        (CRC and checksum) for several reasons.  First, ZMODEM transfers
  2788.        longer blocks of data at a time (up to 1024 byte blocks).  Second,
  2789.        ZMODEM was designed to accomodate software flow control (XON/XOFF)
  2790.        as used by many hosts and networks.    Third, ZMODEM sends contin-
  2791.        uously, until the receiver detects an error (streaming).
  2792.  
  2793.        COM-AND does not implement some of the 'management' and 'trans-
  2794.        port' options intended for batch and automatic operation.  COM-AND
  2795.        does not implement ZMODEM fall-back to YMODEM or XMODEM either.
  2796.  
  2797.        COM-AND changes the communications parameters to 8 data bits, no
  2798.        parity, and 1 stop bit when ZMODEM begins, and enables soft flow
  2799.        control.  It restores settings to their original state after
  2800.        ZMODEM completes.
  2801.  
  2802.  
  2803.  
  2804. Version 2.6: 900426
  2805.  
  2806. COM-AND: IBM PC Communications and Accessories                 Page  46
  2807.  
  2808.  
  2809. XIII.    File Transfer (continued)
  2810.  
  2811.  
  2812.     D. KERMIT Up/Download
  2813.  
  2814.        The KERMIT protocol was developed at Columbia University and has
  2815.        been very popular at many computer sites.  Files may be trans-
  2816.        ferred to and from a system that accepts KERMIT or Super KERMIT,
  2817.        using COM-AND.
  2818.  
  2819.        When you request KERMIT upload, you are asked for a file template
  2820.        (e.g.  *.EXE).  Once the first file's existence has been assured,
  2821.        COM-AND begins protocol negotiation with the host system.  Up to
  2822.        60 seconds are allowed for the negotiation.    If that time is
  2823.        exceeded, the transfer fails.  You may restart it, of course.
  2824.  
  2825.        When you request KERMIT download, you will NOT be asked for a
  2826.        file name.  The host supplies the name.  For this reason, if the
  2827.        supplied name duplicates one on your default download subdir-
  2828.        ectory, the file name will have its last character (usually the
  2829.        extension) changed to '$'.  Once the file has been created,
  2830.        COM-AND begins protocol negotiation with the host system.  Up
  2831.        to 60 seconds are allowed for the negotiation.  If that time is
  2832.        exceeded, the transfer fails.  You may restart it, of course.
  2833.  
  2834.  
  2835.        KERMIT has grown in many directions over the years.    Originally
  2836.        it was a 7-bit protocol.  Extensions were added to accomodate
  2837.        8-bit data, and to negotiate the 'width' (7 or 8 bits) of the
  2838.        transfer.  Extensions have been added to support a simple data
  2839.        compression method (run length encoding).  Extensions have been
  2840.        added to accomodate windowing (called Super KERMIT).
  2841.  
  2842.        COM-AND supports all KERMIT facilities through the windowing
  2843.        extensions.    COM-AND will negotiate window lengths of up to 8.
  2844.        COM-AND does not support the (later) large block size extension.
  2845.  
  2846.        COM-AND will attempt to negotiate an 8 bit data path if you have
  2847.        set your comm parameters 8N1.  COM-AND does not (now) change
  2848.        parity and data bits settings for the transfer.
  2849.  
  2850.  
  2851.  
  2852.  
  2853.  
  2854.  
  2855.  
  2856.  
  2857.  
  2858.  
  2859. Version 2.6: 900426
  2860.  
  2861. COM-AND: IBM PC Communications and Accessories                 Page  47
  2862.  
  2863.  
  2864. XIII.    File Transfer (continued)
  2865.  
  2866.  
  2867.     E. CIS-B and Quick CIS-B Up/download
  2868.  
  2869.  
  2870.        The CIS-B protocol was developed at CompuServe and is their
  2871.        protocol 'of choice'.  Files may be transferred to and from
  2872.        CompuServe (CIS) using COM-AND.
  2873.  
  2874.        When you initiate CIS-B on CIS either sending or receiving), you
  2875.        tell CIS the name of the file to be transferred to/from your PC.
  2876.        CIS will then instruct COM-AND to open that file.  Once the file's
  2877.        existence has been assured, COM-AND begins protocol negotiation
  2878.        with CIS.  Up to 60 seconds are allowed for the negotiation.  If
  2879.        that time is exceeded, the transfer fails.  You may restart it,
  2880.        of course.
  2881.  
  2882.        When using VIDTEX emulation in COM-AND, it is not necessary to
  2883.        manually select PgUp/PgDn to send and receive files.  COM-AND
  2884.        recognizes CIS's instructions to begin a protocol transfer once
  2885.        you have instructed CIS as to the transfer under this emulation.
  2886.  
  2887.  
  2888.        A variant of CIS-B known as Quick-B (B-Plus) is also available in
  2889.        COM-AND.  Quick-B supports limited windowing and larger block
  2890.        lengths.  It also changes the quoting mechanism to optimize binary
  2891.        transfer.  Both CIS-B and Quick-B (B-Plus) are available.
  2892.  
  2893.  
  2894.  
  2895.  
  2896.  
  2897.  
  2898.  
  2899.  
  2900.  
  2901.  
  2902.  
  2903.  
  2904.  
  2905.  
  2906.  
  2907.  
  2908.  
  2909.  
  2910.  
  2911.  
  2912.  
  2913.  
  2914. Version 2.6: 900426
  2915.  
  2916. COM-AND: IBM PC Communications and Accessories                 Page  48
  2917.  
  2918.  
  2919. XIII.    File Transfer (continued)
  2920.  
  2921.  
  2922.     F. ASCII Upload (PgUp, and F5)
  2923.  
  2924.  
  2925.        Files may be transferred to a system using a simple 'send' (as
  2926.        if entered by hand).  When ASCII upload is requested, you are
  2927.        prompted for a file name.  Once the file has been opened, you
  2928.        are prompted with a small menu with various options:
  2929.  
  2930.        .  Host prompting
  2931.  
  2932.           Transfer may occur in one of two ways:
  2933.  
  2934.           1) with a prompt from the host (some special character) or
  2935.           2) without a host prompt for every line.
  2936.  
  2937.           If 'Host prompting' is set 'On', you will be asked for the
  2938.           prompt character (either an ASCII or a control character).
  2939.           The prompt character is entered as you see it, unless it is
  2940.           a control character (e.g.  enter ^J for a line feed).
  2941.  
  2942.        .  Send linefeeds
  2943.  
  2944.           Line feeds may be suppressed during the transmission.  ASCII
  2945.           text files contain line feeds that you (usually) do not send.
  2946.  
  2947.        .  Expand tabs
  2948.  
  2949.           Similarly, tab characters may or may not be expanded during the
  2950.           transmission.  ASCII text files contain tabs that you (usually)
  2951.           want to expand before transmission.
  2952.  
  2953.        .  Stop at control-z
  2954.  
  2955.           You may specify that the transfer is to terminate when an
  2956.           an end-of-file character (control-Z) is encountered.  This is
  2957.           the case in most ASCII files.
  2958.  
  2959.        .  Respect XON/XOFF
  2960.  
  2961.           ASCII upload uses the default XON/XOFF setting established
  2962.           through Alt-O.  You may change the setting here temporarily for
  2963.           the transfer here.
  2964.  
  2965.  
  2966.  
  2967.  
  2968.  
  2969. Version 2.6: 900426
  2970.  
  2971. COM-AND: IBM PC Communications and Accessories                 Page  49
  2972.  
  2973.  
  2974. XIII.    File Transfer (continued)
  2975.  
  2976.  
  2977.     F. ASCII Upload (continued)
  2978.  
  2979.  
  2980.        .  Expand blank lines
  2981.  
  2982.           You may choose to expand null lines to a blank line.  This is
  2983.           convenient on some BBS's.
  2984.  
  2985.        .  Line pacing
  2986.  
  2987.           You may choose to send lines of text with fixed delays between
  2988.           lines.  This is needed on some systems.  You may set the delay
  2989.           in intervals of 1/10th of a second.
  2990.  
  2991.  
  2992.        Transfer is, in all cases, paced (timed).  Transmission begins at
  2993.        maximum speed.  You may alter the pacing with the Ctl-PgUp and
  2994.        Ctl-PgDn keys during the transmission.  Ctl-Home will increase
  2995.        the speed to its maximum.  Ctl-End decreases the transmission
  2996.        speed to its minimum.  ESC or F1-F10 will terminate the send.
  2997.  
  2998.  
  2999.        The ASCII send function in COM-AND responds to XON/XOFF sequences
  3000.        transmitted by the host (if this feature is enabled).  When an
  3001.        XOFF is received, COM-AND waits up to 30 seconds for a subsequent
  3002.        XON to be received.    Transmission is suspended while COM-AND
  3003.        waits.  Transmission resumes after 30 seconds, or after COM-AND
  3004.        receives an XON.
  3005.  
  3006.  
  3007.  
  3008.        ----------------------------------------------------------------
  3009.        NOTE: When host prompting is specified, the first line is sent and
  3010.        then COM-AND waits for a host prompt.  Should the prompt from the
  3011.        the host be lost (inadvertently, of course), the left arrow key
  3012.        (or function key (F1-F10)) will send the next line.
  3013.        ----------------------------------------------------------------
  3014.        NOTE: When host prompting is specified, COM-AND 'looks ahead' in
  3015.        the file being transmitted.    COM-AND does not wait for a prompt
  3016.        when end-of-file follows after the last carriage return (and
  3017.        linefeed if linefeeds aren't being transmitted).
  3018.  
  3019.  
  3020.  
  3021.  
  3022.  
  3023.  
  3024. Version 2.6: 900426
  3025.  
  3026. COM-AND: IBM PC Communications and Accessories                 Page  50
  3027.  
  3028.  
  3029. XIII.    File Transfer (continued)
  3030.  
  3031.  
  3032.     F. ASCII Upload (continued)
  3033.  
  3034.  
  3035.        ----------------------------------------------------------------
  3036.        NOTE: When stop-on-control-z is specified, COM-AND transmits
  3037.        a carriage return on end-of-file (if a carriage return was not
  3038.        the last character transmitted).
  3039.        ----------------------------------------------------------------
  3040.        NOTE: The percent transmitted will be incorrect when the file
  3041.        being transmitted is small (less than 1000 bytes).  Don't be
  3042.        surprised.  I was.  Sorry 'bout that.
  3043.  
  3044.  
  3045.     G. ASCII Download (PgDn, and F6)
  3046.  
  3047.  
  3048.        ASCII downloads differ from transcripting in that no extra
  3049.        characters are added to the file (e.g.  line feeds after received
  3050.        carriage returns, and end-of-file are added when transcripting).
  3051.        Transcripting is intended to result in an ASCII edit file (or a
  3052.        printed log).  ASCII downloads may implement binary transfers.
  3053.  
  3054.  
  3055.        XON/XOFF flow control is performed during an ASCII download
  3056.        according to the current Alt-O setting.
  3057.  
  3058.  
  3059.        Anything you type while the download function is being performed
  3060.        will be sent to the host system also.  ESC or F1-F10 terminates
  3061.        the receive function and closes the capture file.
  3062.  
  3063.  
  3064.        COM-AND special functions (macros, scripts etc) are not available
  3065.        during an ASCII receive.
  3066.  
  3067.  
  3068.  
  3069.  
  3070.  
  3071.  
  3072.  
  3073.  
  3074.  
  3075.  
  3076.  
  3077.  
  3078.  
  3079. Version 2.6: 900426
  3080.  
  3081. COM-AND: IBM PC Communications and Accessories                 Page  51
  3082.  
  3083.  
  3084. XIII.    File Transfer (continued)
  3085.  
  3086.  
  3087.     H. File directory (Alt-F)
  3088.  
  3089.  
  3090.        A directory of files on any legitimate disk may be requested with
  3091.        the Alt-F command.  A search mask is requested.  Enter one just as
  3092.        you would with the DIR command of DOS.  For example:
  3093.  
  3094.         D:*.TXT
  3095.  
  3096.        specifies all files with the extension "TXT" from the "D" drive.
  3097.        File names and modification dates are displayed, 20 at a time.
  3098.        When the list is exhausted, the amount of free space remaining on
  3099.        the specified drive is displayed.
  3100.  
  3101.  
  3102.        Should you wish a directory search of a subdirectory, you must
  3103.        enter a full file mask.  The mask:
  3104.  
  3105.         C:\TEMP
  3106.  
  3107.        specifies a search on the root directory for a file named TEMP
  3108.        with no extension.  If you wish to search the TEMP subdirectory
  3109.        of the root directory, enter:
  3110.  
  3111.         C:\TEMP\*.*
  3112.  
  3113.  
  3114.     I. Default download path (F4)
  3115.  
  3116.  
  3117.        All file receive functions of COM-AND write to a default path,
  3118.        unless the given file name is qualified (with a drive and/or
  3119.        path).  The default drive:path is set through the F4 function.
  3120.  
  3121.  
  3122.        Please note that this setting is automatically saved for the next
  3123.        use of COM-AND.  No "do you wish to save this setting" prompt is
  3124.        used here - the setting is permanent until next changed.
  3125.  
  3126.  
  3127.  
  3128.  
  3129.  
  3130.  
  3131.  
  3132.  
  3133.  
  3134. Version 2.6: 900426
  3135.  
  3136. COM-AND: IBM PC Communications and Accessories                 Page  52
  3137.  
  3138.  
  3139. XIV.    Logging and Call-logging
  3140.  
  3141.  
  3142.     COM-AND supports two methods of logging activity for later review.
  3143.     The two methods are transcripting and call-logging.  The transcript
  3144.     records every character of received text... the call-log records
  3145.     calls made through the dialing directory, hangups, carrier dropouts,
  3146.     file transfers, accessory programs, and file encryption/decryption.
  3147.  
  3148.  
  3149.     Generally speaking, the transcript function is invoked when you wish
  3150.     an exact record of everything you've seen (COM-AND even allows you
  3151.     to transcript text seen BEFORE transcripting is turned on).  It is
  3152.     not used all the time.    The call-log is enabled once, and left to
  3153.     record all system activity.
  3154.  
  3155.  
  3156.     A transcript is an ASCII file recording all text you captured.    The
  3157.     only discussion of its contents needed is to point out that COM-AND
  3158.     marks the time of transcript start and end, unless you direct other-
  3159.     wise (through Alt-O, transcript marking).
  3160.  
  3161.  
  3162.     The call-log, however, requires some further discussion.  The call-
  3163.     log is an ASCII file too.  The call-log contents are fixed in format.
  3164.     An example of such a log might be:
  3165.  
  3166.          COM-AND loaded
  3167.          CONNECT: CIS 2400 (chicago)   2400,E,7,1,COM2;ATDT263-5636
  3168.          Dnl BAROQUE.BAS 7552 ( 0:00:32)    98.3% QuickB       0 errs
  3169.          DISCONNECT ( 0:02:33)
  3170.          CONNECT: Source (Chi) C S15   1200,N,8,1,COM2;ATDT938-0600
  3171.          Dnl YES.BAS     2008 ( 0:00:27)    64.3% Super KERMIT 1 errs
  3172.          DISCONNECT ( 0:04:57)
  3173.          CONNECT: Scintillation        2400,N,8,1,COM2;ATDT953-4922
  3174.          Dnl MAZE.ARC    34816 ( 0:02:36)    92.9% YMODEM (chk) 0 errs
  3175.          CARRIER dropped: ( 0:06:02)
  3176.          COM-AND exited ( 0:14:57)
  3177.          COM-AND loaded
  3178.          * Annotation line entered through Alt-U
  3179.          * I'm going to encrypt/decrypt a file for demonstration
  3180.          ENCRYPT:  COM-AND.EXE     to ENCRFILE      154567 ( 0:00:17)
  3181.          DECRYPT:  ENCRFILE     to DECRFILE      154568 ( 0:00:11)
  3182.          COM-AND exited ( 0:02:33)
  3183.          ACCESSORY: PC-VCO Maug mode:        PC-VCO.EXE /2/m/s
  3184.  
  3185.  
  3186.  
  3187.  
  3188.  
  3189. Version 2.6: 900426
  3190.  
  3191. COM-AND: IBM PC Communications and Accessories                 Page  53
  3192.  
  3193.  
  3194. XIV.    Logging and Call-logging (continued)
  3195.  
  3196.  
  3197.     In the above example, the timestamp from each line has been removed
  3198.     to make it more easily read in document form.  Each line of the
  3199.     call-log is discussed below.
  3200.  
  3201.     o  COM-AND loaded
  3202.  
  3203.        The "COM-AND loaded" line is issued to timestamp the time COM-AND
  3204.        was invoked from DOS.  This is only logged, of course, when call-
  3205.        logging had been previously enabled.
  3206.  
  3207.     o  CONNECT: <name>            <commparms>    ;<dialing string>
  3208.  
  3209.        The "CONNECT" line is logged when a connection has been made
  3210.        through the dialing directory (Alt-D, Alt-R, and script DIAL and
  3211.        MANUAL commands).  <Name> is taken from the dialing directory.
  3212.        <Commparms> record the current setting and port after connection.
  3213.        <Dialing string> records the dialing sequence passed the modem.
  3214.  
  3215.     o  Dnl <file name>   <size>    <time>     <eff>% <method>  <errs>
  3216.        Upl <file name>   <size>    <time>     <eff>% <method>  <errs>
  3217.  
  3218.        The "Dnl" and "Upl" lines record downloads and uploads (performed
  3219.        through PgDn, PgUp keys, and script GETFILE, SENDFILE commands).
  3220.        <Size>, <time>, <eff>, <errs> and <method> record the file size,
  3221.        transfer time, efficiency of transfer, count of errors, and method
  3222.        used (XMODEM, CISB etc).  Errored transfers are also recorded,
  3223.        with "error = nnn" in place of <size><time><eff%>.  COM-AND error
  3224.        numbers are listed in an appendix of the document CASCRIPT.DOC.
  3225.  
  3226.        Note that ASCII file transfers are not call-logged.
  3227.  
  3228.     o  DISCONNECT (<time>)
  3229.  
  3230.        The "DISCONNECT" line records a manual hangup (Alt-H).  If a
  3231.        connection is known, the time since the connection was made is
  3232.        recorded.
  3233.  
  3234.     o  CARRIER dropped: (<time>)
  3235.  
  3236.        The "CARRIER dropped" line records a loss of carrier when a
  3237.        connection is known.  The time since the connection was made is
  3238.        recorded.
  3239.  
  3240.  
  3241.  
  3242.  
  3243.  
  3244. Version 2.6: 900426
  3245.  
  3246. COM-AND: IBM PC Communications and Accessories                 Page  54
  3247.  
  3248.  
  3249. XIV.    Logging and Call-logging (continued)
  3250.  
  3251.  
  3252.     o  * <annotation>
  3253.  
  3254.        Annotation lines (added through Alt-U) are delimited with
  3255.        asterisks (note that lines written to the call-log through the
  3256.        script CLOG statement are not necessarily delimited).
  3257.  
  3258.     o  ENCRYPT:  <fromfile>    to <tofile>        <size> (<time>)
  3259.        DECRYPT:  <fromfile>    to <tofile>        <size> (<time>)
  3260.  
  3261.        The "ENCRYPT" and "DECRYPT" lines record successful file encryp-
  3262.        tion and decryption (Alt-N and script ENCRYPT, DECRYPT commands).
  3263.        <Fromfile>, <tofile>, <Size>, and <time> record the files used,
  3264.        file size, and processing time.  Errored encryption and decryption
  3265.        attempts are not recorded.
  3266.  
  3267.     o  COM-AND exited (<time>)
  3268.  
  3269.        The "COM-AND exited" line is issued to timestamp the time COM-AND
  3270.        terminated.    The total time COM-AND was in use is recorded.
  3271.  
  3272.     o  COM-AND exited (CONNECT=<time>) (<time>)
  3273.  
  3274.        This form of the "COM-AND exited" line is issued to timestamp the
  3275.        time COM-AND terminated, when a connection is known.  The time
  3276.        since the connection was made is recorded as well as the total
  3277.        time COM-AND was in use is recorded.
  3278.  
  3279.     o  ACCESSORY: <F1 menu name> <program invocation>
  3280.  
  3281.        The "ACCESSORY" lines record a program loaded by COM-AND through
  3282.        the F1 Accessory menu (accessory entries which do not load a pro-
  3283.        gram are not recorded).  The entry name and the program invoca-
  3284.        tion are logged.  Accessory terminations and process creation
  3285.        errors are not logged.  Accessories that are simply script files
  3286.        are not logged.
  3287.  
  3288.     Keyboard commands relating to logging and call-logging follow on the
  3289.     next page.
  3290.  
  3291.  
  3292.  
  3293.  
  3294.  
  3295.  
  3296.  
  3297.  
  3298.  
  3299. Version 2.6: 900426
  3300.  
  3301. COM-AND: IBM PC Communications and Accessories                 Page  55
  3302.  
  3303.  
  3304. XIV.    Logging and Call-logging (continued)
  3305.  
  3306.  
  3307.     A. Disk logging [transcripting] (F7)
  3308.  
  3309.        You may transcript what you receive to a disk (or PRN) with the
  3310.        "Disk logging" function.  The transcript will be marked with the
  3311.        date and time it began and ended if transcript marking is set on
  3312.        through the Alt-O screen.
  3313.  
  3314.        COM-AND keeps the last characters received in a buffer for back-
  3315.        screen (or redisplay).  The size of the buffer is adjustable
  3316.        through Alt-S.  When you invoke transcripting, you will be asked
  3317.        if the backscreen is to be saved first.  If you respond "Y", the
  3318.        backscreen will be written to the transcript file before the
  3319.        "BEGIN" mark (if marking is enabled).  F7 is a toggle (press it
  3320.        a second time to terminate logging.
  3321.  
  3322.  
  3323.     B. Log hold [transcripting] (F9)
  3324.  
  3325.        The transcript may be suspended with the F9 toggle.    The logging
  3326.        status is displayed on the status line (if KBD buffer hasn't been
  3327.        enabled).  When the log is held, what is received is not copied to
  3328.        the transcript.  No mark is made to show that the transcript was
  3329.        held.  This key is a toggle (press it again to resume logging).
  3330.  
  3331.  
  3332.     C. Annotate call-log (Alt-U)
  3333.  
  3334.        Notes may be made directly to the call-log (not the transcript).
  3335.        When Alt-U is pressed, COM-AND tests to determine if the call-log
  3336.        if active.  If it is not active you will be asked if you wish to
  3337.        open a call-log.  However, the call-log will be closed when you
  3338.        exit COM-AND and not reopened the next time, unless you save the
  3339.        option through Alt-O.
  3340.  
  3341.        The Alt-U window allows you to enter a line at a time to the call-
  3342.        log.  Each line will be delimited with an asterisk ("*") in the
  3343.        call-log.  When you press <cr>, the line is written to the
  3344.        call-log.  The last three lines so entered are displayed for
  3345.        convenience.
  3346.  
  3347.  
  3348.  
  3349.  
  3350.  
  3351.  
  3352.  
  3353.  
  3354. Version 2.6: 900426
  3355.  
  3356. COM-AND: IBM PC Communications and Accessories                 Page  56
  3357.  
  3358.  
  3359. XV.    Miscellaneous Functions
  3360.  
  3361.  
  3362.     A. Default Drive:Subdirectory (F3)
  3363.  
  3364.        You may change the default drive:subdirectory at any time through
  3365.        the F3 window.  This affects files uploaded but not files down-
  3366.        loaded (see File Transfers).  When the program terminates, you
  3367.        will be left on the selected drive:path.
  3368.  
  3369.     B. Keyboard display (F8)
  3370.  
  3371.        Some talk systems are more friendly when what you type is not
  3372.        mixed in with what you receive.  Turning echo off (if the system
  3373.        echoes key-entry) may be accomplished in a number of ways (note
  3374.        that this is different from program echo, Alt-E, above).
  3375.  
  3376.        However, all of a sudden there is a new problem: you don't see
  3377.        what you're typing!  Keyboard display in COM-AND is one attempt
  3378.        to solve this problem.  What you type will be displayed on the
  3379.        status line when keyboard display is turned on.
  3380.  
  3381.        Keyboard display may be set on permanently through the Alt-O
  3382.        options window.
  3383.  
  3384.     C. Chat mode (Alt-A)
  3385.  
  3386.        Chat mode is another attempt to make typing more friendly when
  3387.        what you type isn't echoed by the host.  A 'chat window' of 2-10
  3388.        lines may be opened just above the status line.  The last few
  3389.        lines you've typed are displayed there.
  3390.  
  3391.        Chat mode may be set on permanently through the Alt-O options
  3392.        window.
  3393.  
  3394.     D. Redisplay [backscreen] (Alt-B)
  3395.  
  3396.        COM-AND saves the last characters received for redisplay (up to
  3397.        the buffer size set through Alt-S).    When you request redisplay,
  3398.        the screen is cleared and the first page of the backscreen buffer
  3399.        is presented.  You may page backwards and forwards using the
  3400.        'PgUp' and 'PgDn' keys.  Pages begin with the oldest receipt, and
  3401.        continue to the point where the redisplay was requested.
  3402.  
  3403.        The 'End' key will find the last page of the redisplay.  You will
  3404.        see each page as it is displayed.  You may stop the search for
  3405.        the end of the buffer by pressing any key.  Exit redisplay with
  3406.        the ESC key.
  3407.  
  3408.  
  3409. Version 2.6: 900426
  3410.  
  3411. COM-AND: IBM PC Communications and Accessories                 Page  57
  3412.  
  3413.  
  3414. XV.    Miscellaneous Functions (continued)
  3415.  
  3416.  
  3417.     E. Clear Screen (Alt-C and received TOF)
  3418.  
  3419.        The command Alt-C entered at the keyboard will clear the screen.
  3420.        Similarly, when the host sends a control-L (^L or decimal 12) the
  3421.        screen is cleared.
  3422.  
  3423.     F. Echo (Alt-E)
  3424.  
  3425.        COM-AND writes keypresses directly through the COM port.  Some
  3426.        services turn around what is sent so that it is visible (full
  3427.        duplex or echoplex) and some don't (half duplex).  You may force
  3428.        COM-AND to display what you enter in the CRT window by toggling
  3429.        echo.  Setting echo on through the Alt-O window will turn echo on
  3430.        now, and the next time you run COM-AND.
  3431.  
  3432.        Echo is set through the dialing directory and permanently through
  3433.        the Alt-O options window.  The dialing directory overrides this,
  3434.        of course.
  3435.  
  3436.     G. Blank line suppression (Alt-G)
  3437.  
  3438.        Blank lines may be suppressed from the display if you wish.    This
  3439.        is especially useful where double spacing is done in a conference
  3440.        area.
  3441.  
  3442.        Blank line suppression may be set permanently through the Alt-O
  3443.        options window.
  3444.  
  3445.     H. 43/25 line toggle (Alt-L)
  3446.  
  3447.        If you have an EGA adapter, you may have 43 line screen displays.
  3448.        If you enter COM-AND from a 43 line screen, COM-AND automatically
  3449.        displays in 43 line mode.  Alt-L may be used to toggle 25 line/43
  3450.        line modes during COM-AND.
  3451.  
  3452.        Do not use Alt-L during VIDTEX sessions on CIS.  CIS will not use
  3453.        the new setting.
  3454.  
  3455.     I. Kermit parameters (Alt-K)
  3456.  
  3457.        The parameters that COM-AND will use during the KERMIT negoti-
  3458.        ation may be changed and saved using the Alt-K menu.  It is not
  3459.        recommended that you change these values unless you understand
  3460.        their meaning completely.  The supplied defaults are suitable for
  3461.        most KERMIT installations.
  3462.  
  3463.  
  3464. Version 2.6: 900426
  3465.  
  3466. COM-AND: IBM PC Communications and Accessories                 Page  58
  3467.  
  3468.  
  3469. XV.    Miscellaneous Functions (continued)
  3470.  
  3471.  
  3472.     J. Time and alarms (Alt-T)
  3473.  
  3474.        The time elapsed since the program was started, and since the
  3475.        last Alt-D dialing command or Alt-R is displayed through the
  3476.        Alt-T window.  The 'last call' time may be reset (if you are
  3477.        actually connected) manually here (or through a script).  An
  3478.        alarm may also be set here, either for the single session or
  3479.        permanently (every time you use COM-AND).  When the alarm is
  3480.        triggered, a pop-up window and noise announce the fact.
  3481.  
  3482.     K. Playback (Alt-W)
  3483.  
  3484.        You may display the contents of a file in the CRT area with the
  3485.        Alt-W Playback command.  You will be asked for a file name.    The
  3486.        contents of the given file will be written to the text area as if
  3487.        the text were being received.
  3488.  
  3489.        Playback is paced (timed).  It begins at minimum speed.  Alter
  3490.        the pacing with the Ctl-PgUp and Ctl-PgDn keys.  Pause the
  3491.        playback with the space bar.  Cancel the display with ESC.
  3492.  
  3493.     L. Program termination (Alt-X)
  3494.  
  3495.        COM-AND is exited (and returns to DOS) through the Alt-X command.
  3496.        The usual query "are you sure" is issued if "Exit query" is
  3497.        turned on with the Alt-O selection.
  3498.  
  3499.        When you exit COM-AND, unless you ran COM-AND with the /P switch
  3500.        (piggyback), you will be queried if a hangup is to be performed if
  3501.        carrier is still reported by the modem.  [If piggyback was set,
  3502.        you will not be queried.]
  3503.  
  3504.        NOTE:  a script may override the Alt-X function.  When a script
  3505.        has done this, after Alt-X is pressed (and after the hangup query
  3506.        if it is needed) a new script may start!
  3507.  
  3508.  
  3509.  
  3510.  
  3511.  
  3512.  
  3513.  
  3514.  
  3515.  
  3516.  
  3517.  
  3518.  
  3519. Version 2.6: 900426
  3520.  
  3521. COM-AND: IBM PC Communications and Accessories                 Page  59
  3522.  
  3523.  
  3524. XV.    Miscellaneous Functions (continued)
  3525.  
  3526.  
  3527.     M. Parity (hi-bit) mask (Alt-Z)
  3528.  
  3529.        You may mask parity from every received character by setting
  3530.        the parity mask on permanently through the Alt-O window.  I've
  3531.        found this to be useful, mandatory when I've needed it.
  3532.  
  3533.        Some services require you to logon with 8 data bits, no parity, if
  3534.        you intend to download (or upload files).  When there is an X.25
  3535.        network between your PC and the service, certain characters (such
  3536.        as backspace may be transmitted with parity on, regardless of your
  3537.        setting).  In these cases, parity masking is very nice to have.
  3538.  
  3539.        Toggle the current parity mask setting with Alt-Z.
  3540.  
  3541.  
  3542.  
  3543.  
  3544.  
  3545.  
  3546.  
  3547.  
  3548.  
  3549.  
  3550.  
  3551.  
  3552.  
  3553.  
  3554.  
  3555.  
  3556.  
  3557.  
  3558.  
  3559.  
  3560.  
  3561.  
  3562.  
  3563.  
  3564.  
  3565.  
  3566.  
  3567.  
  3568.  
  3569.  
  3570.  
  3571.  
  3572.  
  3573.  
  3574. Version 2.6: 900426
  3575.  
  3576. COM-AND: IBM PC Communications and Accessories                 Page  60
  3577.  
  3578.  
  3579. XVI.    DOS Gateway (Alt-F10)
  3580.  
  3581.  
  3582.     COM-AND provides a gateway to a DOS shell through the Alt-F10 key.
  3583.     The DOS gateway requires a few preliminaries, however.
  3584.  
  3585.     .  There must be sufficient memory for the current DOS shell
  3586.        (COMMAND.COM usually), COM-AND, and a second DOS shell.  If there
  3587.        isn't, the Alt-F10 will be rejected for 'insufficient memory'.
  3588.  
  3589.     .  There should be an environment variable 'COMSPEC' that points to
  3590.        the DOS shell to be loaded by Alt-F10.  If this variable is
  3591.        missing (has been deleted), COMMAND.COM on the default drive,
  3592.        root directory will be used (if present).
  3593.  
  3594.  
  3595.     When the DOS gateway is entered, you will be able to execute any
  3596.     DOS function that the shell supports.  Memory available to that
  3597.     shell will be decreased by the presence of COM-AND still running.
  3598.  
  3599.  
  3600.     You return to COM-AND by exiting the DOS shell.  If the shell
  3601.     is COMMAND.COM, type the command 'EXIT' to return to COM-AND.
  3602.  
  3603.  
  3604.     ------------------------------------------------------------------
  3605.     NOTE:  In order to make full use of the DOS gateway, you should
  3606.     provide yourself with the capacity for more open files than the
  3607.     default.  The number of files that may be open at one time is
  3608.     increased by editing the file CONFIG.SYS on the root directory of
  3609.     your boot disk, adding (or changing) a line:  "FILES=n", where n
  3610.     is a number from 1 to 20.  At least 12 is recommended.    Refer to
  3611.     your DOS manual for particulars.
  3612.  
  3613.  
  3614.  
  3615.  
  3616.  
  3617.  
  3618.  
  3619.  
  3620.  
  3621.  
  3622.  
  3623.  
  3624.  
  3625.  
  3626.  
  3627.  
  3628.  
  3629. Version 2.6: 900426
  3630.  
  3631. COM-AND: IBM PC Communications and Accessories                 Page  61
  3632.  
  3633.  
  3634. XVII.    Emulation (Alt-V)
  3635.  
  3636.  
  3637.     COM-AND performs various terminal emulations.  COM-AND defines
  3638.     'terminal emulation' as three individual functions:
  3639.  
  3640.     o    Display emulations
  3641.     o    Translations of received and transmitted characters
  3642.     o    Keyboard remapping
  3643.  
  3644.     All three functions are controlled through the Alt-V menu.  However,
  3645.     translations and remapping require preparation external to COM-AND.
  3646.  
  3647.  
  3648.     A.  Display emulation
  3649.  
  3650.         COM-AND supplies five display emulations:  TTY, ANSI, VidTex,
  3651.         VT100, and VT52 in the current program.  Display emulations are
  3652.         selected through Alt-V.  The setting is enabled as soon is it
  3653.         selected.  Save the setting if COM-AND is to use the setting
  3654.         every time it is loaded.
  3655.  
  3656.         . TTY is appropriate for most BBSes and host systems.  What is
  3657.           received is displayed and what it typed is sent.
  3658.  
  3659.         . ANSI is appropriate for some BBSes and some host systems.
  3660.           The host is given considerable control over cursor positioning
  3661.           and display colors.  [Details of ANSI display sequences are
  3662.           discussed below in Appendix E.]
  3663.  
  3664.         . VidTex is appropriate only for the CompuServe (tm) system.
  3665.           The mode MUST be set before logging onto CompuServe if you
  3666.           wish to use this mode.  CompuServe does not allow you to
  3667.           change 'modes' after logging on.  [See Appendix F.]
  3668.  
  3669.         . VT100 and VT52 emulations are appropriate only for certain
  3670.           host systems and communications applications.  [Details of
  3671.           VT100/VT52 display sequences are discussed in Appendix E.]
  3672.  
  3673.  
  3674.         Display emulation in COM-AND only refers to COM-AND's response
  3675.         to certain control sequences received from the host.  Selection
  3676.         of a display emulation has no effect on character translation
  3677.         or on keyboard remapping.
  3678.  
  3679.         Character translation and keyboard remapping must be specified
  3680.         independently (see the following).
  3681.  
  3682.  
  3683.  
  3684. Version 2.6: 900426
  3685.  
  3686. COM-AND: IBM PC Communications and Accessories                 Page  62
  3687.  
  3688.  
  3689. XVII.    Emulation (continued)
  3690.  
  3691.  
  3692.      B. Translation
  3693.  
  3694.         COM-AND will translate characters both incoming and outgoing
  3695.         if you wish.  Characters are translated immediately upon receipt,
  3696.         and just before transmission, using two tables (one incoming and
  3697.         one for outgoing) supplied in the file COM-AND.XLT.
  3698.  
  3699.  
  3700.         When translation is enabled, the only cases where characters are
  3701.         NOT translated is within the binary protocols (XMODEM, YMODEM,
  3702.         KERMIT, and CIS-B), and when modem commands are issued.
  3703.  
  3704.  
  3705.         The file COM-AND.XLT is a binary file.  It must be supplied by
  3706.         you.  COM-AND.XLT consists of two tables:  each 256 bytes in
  3707.         size.  Within a table, the 'nth' byte contains the translation
  3708.         for the character of value 'n'.  Within the 'incoming' table, you
  3709.         are translating character with value 'n' received, to something
  3710.         else (hopefully ASCII).  Within the 'outgoing' table, you are
  3711.         translating a character (probably ASCII again, e.g. a keypress)
  3712.         of value 'n' into something else.
  3713.  
  3714.  
  3715.         On the incoming side, translating a character to a null
  3716.         effectively causes that character to be ignored by COM-AND.
  3717.  
  3718.  
  3719.         Obviously, the creation and maintenance of such a file is quite
  3720.         an effort.    It requires an ASCII table t'boot!  A script, XLATE.
  3721.         CMD is supplied to serve to format, display and edit the tables.
  3722.         You'll still need the ASCII table, however.  [Within the PC, all
  3723.         characters are treated as ASCII (as defined by IBM of course).]
  3724.  
  3725.  
  3726.         Translation is enabled and disabled through Alt-V (it may also be
  3727.         enabled or disabled through the XLATE.CMD script).    The table(s)
  3728.         may be edited at any time.    The new values are not used by
  3729.         COM-AND until translation is re-enabled (turned ON) after the
  3730.         changes were made.
  3731.  
  3732.  
  3733.  
  3734.  
  3735.  
  3736.  
  3737.  
  3738.  
  3739. Version 2.6: 900426
  3740.  
  3741. COM-AND: IBM PC Communications and Accessories                 Page  63
  3742.  
  3743.  
  3744. XVII.    Emulation (continued)
  3745.  
  3746.  
  3747.      C. Remapping
  3748.  
  3749.         To complete the overall function of 'emulation', COM-AND provides
  3750.         an internal 'keyboard remapping' function.  Remapping makes COM-
  3751.         AND see a keystroke as another keystroke or even a string of
  3752.         keys.  When a remapped key is pressed, COM-AND sees the key(s)
  3753.         that redefine it instead.
  3754.  
  3755.  
  3756.         Remaps allow the COM-AND to provide a keyboard similar to a term-
  3757.         inal being emulated.  One immediate difficulty presents itself,
  3758.         however...    within COM-AND, certain keys have certain meanings
  3759.         (e.g.  F1 for a help screen, Alt-F10 for shell-to-DOS and so on).
  3760.         When you redefine a key that COM-AND uses, either some other key
  3761.         must be redefined to replace it or the function in COM-AND is
  3762.         lost while the remap is in effect.
  3763.  
  3764.  
  3765.         Remaps only affect actual keystrokes when pressed; they do not
  3766.         have any affect on characters within the binary protocols
  3767.         (XMODEM, YMODEM, KERMIT, and CIS-B), or script TRANSMIT text.
  3768.  
  3769.  
  3770.         Remaps are specified through a binary file, COM-AND.RMP.  It must
  3771.         be created outside of COM-AND.  COM-AND.RMP consists of one
  3772.         table, defining keys that are remapped and their new value(s).
  3773.  
  3774.  
  3775.         Needless to say:  the creation and maintenance of such a file is
  3776.         more effort than dealing with the translation tables!  A script,
  3777.         REMAP.CMD is supplied to create a suitable COM-AND.RMP file.
  3778.  
  3779.  
  3780.         REMAP.CMD compiles a simple language for remapping.  Keys (such
  3781.         as F1) are given 'names' (Function key F1 is 'F1').  A simple
  3782.         syntax is defined to redefine any key COM-AND can detect.
  3783.         REMAP.CMD expects a source file prepared with a text editor (like
  3784.         a script).    It compiles the source file into COM-AND.RMP.  Sample
  3785.         remaps (in source form) are provided in REMAPS.TXT.
  3786.  
  3787.  
  3788.         Remapping is enabled/disabled through Alt-V (also through the
  3789.         REMAP.CMD script and Alt-O).  The table may be reconstructed at
  3790.         any time; the new table is not used by COM-AND until remapping is
  3791.         enabled again (turned ON) after the changes were made.
  3792.  
  3793.  
  3794. Version 2.6: 900426
  3795.  
  3796. COM-AND: IBM PC Communications and Accessories                 Page  64
  3797.  
  3798.  
  3799. XVIII.    Script Language
  3800.  
  3801.  
  3802.     A script automates certain manual tasks, and allows COM-AND to run
  3803.     unattended (if the script has been tested (!!!)).  Scripting is
  3804.     invoked in several ways:
  3805.  
  3806.     o    when COM-AND is loaded:
  3807.  
  3808.         ..  COM-AND.CMD, if found in the current directory or the
  3809.             subdirectory indicated by the 'COM-AND=' environment
  3810.             variable, is executed immediately;
  3811.         ..  the /F switch in the run command specifies a script to
  3812.             be executed immediately (after COM-AND.CMD, if present);
  3813.  
  3814.     o    interactively (F2)
  3815.     o    attached to a dialing directory entry
  3816.  
  3817.  
  3818.     Script commands are read by COM-AND from an ASCII file (word pro-
  3819.     cessor files are not usually ASCII files (!)).    Programmer's text
  3820.     editors and EDLIN (provided with DOS) may be used to create and
  3821.     modify a script file.  If you use a word processor to update a
  3822.     script, be sure that the particular word processor will output an
  3823.     ASCII file (often called non-document format, perhaps even ASCII).
  3824.  
  3825.     Once a script begins, execution of COM-AND is automatic, driven by
  3826.     the script.  However, the ESC key may be used to terminate most
  3827.     scripts at any time.  During dialing, two ESCs are needed...
  3828.     one to terminate the dial function, and the second to end script.
  3829.  
  3830.     Generally, a script takes the form:
  3831.  
  3832.         <perform some action>
  3833.         <wait for an identifiable response>
  3834.         <perform some action... and so on...
  3835.  
  3836.     For example, a script might dial a number listed in the dialing
  3837.     directory and wait for the "ID = " prompt from the dialed host.
  3838.     The scripts included with COM-AND provide examples of such simple
  3839.     scripts.  However, the COM-AND script language is not limited to
  3840.     just such tasks...  programs may be loaded and passed parameters,
  3841.     screen windows may be opened and scrolled...  A nontrivial BBS has
  3842.     been written as a COM-AND script, and is provided with the
  3843.     distribution for the interested (and intrepid!).
  3844.  
  3845.     Documentation for the COM-AND script language is presented in the
  3846.     separate document CASCRIPT.DOC.
  3847.  
  3848.  
  3849. Version 2.6: 900426
  3850.  
  3851. COM-AND: IBM PC Communications and Accessories                 Page  65
  3852.  
  3853.  
  3854. XIX.    Program Requirements
  3855.  
  3856.  
  3857.     This program will only function on an IBM PC or DOS compatible
  3858.     machine.  COM-AND does direct-to-screen buffer fetches and stores
  3859.     (unless BIOS screen updates are directed using the /C switch or the
  3860.     Alt-O options menu).
  3861.  
  3862.  
  3863.     Note that COM-AND is TopView aware even without the /C switch or
  3864.     Alt-O option.
  3865.  
  3866.  
  3867.     COM-AND supports MDA, CGA, EGA, VGA and Hercules.  COM-AND supports
  3868.     a Microsoft Mouse if one is available.
  3869.  
  3870.  
  3871.     COM-AND disk I/O is done through the 'Handle' oriented I/O routines
  3872.     added to DOS 2.0.  Therefore DOS 2.0 is a minimum requirement.
  3873.  
  3874.  
  3875.     COM-AND (Version 2.6) requires 251K for itself.  You need 384K
  3876.     minimally to use COM-AND and the DOS Gateway, and more to take
  3877.     advantage of accessories.
  3878.  
  3879.  
  3880.  
  3881.  
  3882.  
  3883.  
  3884.  
  3885.  
  3886.  
  3887.  
  3888.  
  3889.  
  3890.  
  3891.  
  3892.  
  3893.  
  3894.  
  3895.  
  3896.  
  3897.  
  3898.  
  3899.  
  3900.  
  3901.  
  3902.  
  3903.  
  3904. Version 2.6: 900426
  3905.  
  3906. COM-AND: IBM PC Communications and Accessories                 Page  66
  3907.  
  3908.  
  3909. XX.    Program and Author Information
  3910.  
  3911.  
  3912.     This program was written using Microsoft Macro-Assembler.  The
  3913.     author likes assembler.  Assembly language is an entirely
  3914.     appropriate vehicle for some of the program, and a not-inappro-
  3915.     priate vehicle for the rest of it.  Everything, in moderation...
  3916.  
  3917.  
  3918.     COM-AND has been written by, and is supported by R. Scott McGinnis
  3919.     of Chicago (CABER Software), Illinois.    My PLINK and GEnie IDs are:
  3920.     TARTAN.  My CIS ID is 73147,2665.  Comment and suggestions (and
  3921.     criticism in moderation) are welcomed:
  3922.  
  3923.              CABER Software
  3924.              R. (Scott) McGinnis
  3925.              P.O. Box 3607 Mdse Mart
  3926.              Chicago, IL 60654-0607
  3927.  
  3928.  
  3929.     I want to thank the sysops on GEnie, Paul Homchick, David Kozinn
  3930.     and Charles Strom for their support of this program in its early
  3931.     days (known as PC-VCO).  Their opening an RTC just for PC-VCO made
  3932.     it possible to reach a wide audience quickly and to gather comments
  3933.     and criticism from people using the program.
  3934.  
  3935.  
  3936.     I also thank my wife, Elizabeth, who supported this effort and
  3937.     doesn't laugh at me (except for the time I tried to squeeze between
  3938.     a grape arbor and a board fence...).  She has been my companion and
  3939.     partner for many years and I am grateful.
  3940.  
  3941.  
  3942.     This program (Version 2.6) may be distributed freely along with its
  3943.     accessories with the caveat that the Author information displayed at
  3944.     program termination is not removed.  If the program is USED after a
  3945.     reasonable evaluation period, a registration of $35.00 is required.
  3946.  
  3947.  
  3948.     PROCOMM, PCPLus, and ASPECT are trademarks of the DataStorm cor-
  3949.     poration.  DSZ is a trademark of OMEN Technology.  Windows is a
  3950.     trademark of the MicroSoft Corporation.  DesqView is a trademark
  3951.     of the QuarterDeck Corporation.  Smartmodem is a trademark of the
  3952.     Hayes Corporation.
  3953.  
  3954.  
  3955.  
  3956.  
  3957.  
  3958.  
  3959. Version 2.6: 900426
  3960.  
  3961. COM-AND: IBM PC Communications and Accessories                 Page  67
  3962.  
  3963.  
  3964. A.    Switches and parameters
  3965.  
  3966.  
  3967.     Program Switches:
  3968.  
  3969.     /A  'Chat mode':  COM-AND may be set to default to the chat mode
  3970.         split screen through the Alt-O options menu.  However, you may
  3971.         wish to turn chat on for some systems and off for others.  The
  3972.         /A switch allows the decision to be made through a batch file.
  3973.  
  3974.     /B  'Black and White mode':  COM-AND may be set to use or not use
  3975.         colors on-screen with the Alt-J Colors menu.  /B on the command
  3976.         line is an expedient way to turn colors off temporarily.
  3977.  
  3978.     /C  'Compatible': COM-AND normally does direct screen buffer reads
  3979.         and writes for its pop-up menues.  The /C switch forces COM-AND
  3980.         to use BIOS for all such references (e.g.  when under WINDOWS).
  3981.  
  3982.     /E  'no EGA': Turn off EGA support (forcing 25 line mode when COM-AND
  3983.         is entered in 43 or 50 line mode).
  3984.  
  3985.     /F  'Execute script':  The /F switch followed by a legitimate file
  3986.         name (for example /FPLINK.CMD) will cause the designated file to
  3987.         be used as a script after COM-AND is loaded.  Note that a file
  3988.         name extension of .CMD will be added if none is given and the
  3989.         name as-is is not found.
  3990.  
  3991.     /G  'Blank line suppression': Blank lines are used to double space
  3992.         on some systems.  Alt-G toggles a blank line suppression feature
  3993.         interactively.  /G in the run command turns the feature on when
  3994.         COM-AND is loaded.    This feature may also be set through Alt-O.
  3995.  
  3996.     /I  'No Init': inhibit the modem initialization string from being
  3997.         transmitted at run-time.
  3998.  
  3999.     /J  'PCJr': Set PCJr mode for streaming transfers (logging, WXMODEM,
  4000.         CIS Quick-B, and Super KERMIT) if you have a PC-Jr.
  4001.  
  4002.     /K  'KBD Buffer': Turn on KBD buffer.
  4003.  
  4004.     /L  'EGA mode':  Set 43 line mode on upon entry.  This feature is
  4005.         automatic if COM-AND is entered from a 43 line screen.  This
  4006.         feature may be toggled within COM-AND with Alt-L.
  4007.  
  4008.     /M  'No Mouse': Turn off MOUSE support (e.g. when running under
  4009.         WINDOWS or DesqView).
  4010.  
  4011.  
  4012.  
  4013.  
  4014. Version 2.6: 900426                           Appendices
  4015.  
  4016. COM-AND: IBM PC Communications and Accessories                 Page  68
  4017.  
  4018.  
  4019. A.    Switches and Parameters (continued)
  4020.  
  4021.  
  4022.     /P  'Piggyback':  COM-AND will open the COM port in such a manner as
  4023.         to retain another program's already opened line.  When COM-AND
  4024.         is exited, the previous state is restored.
  4025.  
  4026.     /R  'Report Receive Errors':  This switch causes all receive errors
  4027.         to be reported.  During testing, certain nodes of certain net-
  4028.         works consistently reported framing errors.  The apparent error
  4029.         did not interfere with communications so report of it was
  4030.         suppressed.
  4031.  
  4032.     /S  'Hardware flow control':  This switch causes a more robust disci-
  4033.         pline to be used when transmitting characters.  When this switch
  4034.         is set, RTS is turned high before each write and response (CTS)
  4035.         awaited.  A timeout of 20 seconds is imposed.
  4036.  
  4037.         Certain modems will not work with this discipline (though the
  4038.         Hayes Smartmodem for one seems happy as a clam).  Other modems
  4039.         or interconnects require it.  The option may be set permanently
  4040.         through Alt-O.
  4041.  
  4042.     /T  'Carrier override':  This switch forces COM-AND to ignore the
  4043.         carrier detect sense reported by the MODEM.  COM-AND tests the
  4044.         carrier detect sense during all file transfers, and through the
  4045.         script processor.  A few modems apparently cannot (???) report
  4046.         carrier detect.  This switch allows COM-AND to be used on those
  4047.         modems (to perform file transfers).
  4048.  
  4049.     /V  'Menu mode':  This switch forces COM-AND to initialize in menu
  4050.         mode.  The top line menu comes up after initialization.
  4051.  
  4052.     /W  'Slow transfers':  This switch forces COM-AND to slow down its
  4053.         file transfers.  COM-AND uses interrupt driven writes for file
  4054.         transfers...  which is too fast for some network modems (!).
  4055.         This switch allows COM-AND to be used on those modems (to per-
  4056.         form file transfers).
  4057.  
  4058.     /X  'Debug mode': This switch enables certain resident debugging keys
  4059.         (such as Ctl-F2, which writes a dump of memory to disk).  I do
  4060.         not recommend you use it.  I document it only for the curious.
  4061.  
  4062.     /Z  'REMOTE commands':  This switch allows COM-AND to perform script
  4063.         commands received through the sequence:  "ESC ^ <text> <cr>".
  4064.         This switch overrides the Alt-O setting.
  4065.  
  4066.  
  4067.  
  4068.  
  4069. Version 2.6: 900426                           Appendices
  4070.  
  4071. COM-AND: IBM PC Communications and Accessories                 Page  69
  4072.  
  4073.  
  4074. A.    Switches and Parameters (continued)
  4075.  
  4076.  
  4077.     Program parameters:
  4078.  
  4079.        COM1     COM-AND uses the COM1 port
  4080.        COM2     COM-AND uses the COM2 port
  4081.        COM3     COM-AND uses the COM3 port (base addr 3e8h)
  4082.        COM4     COM-AND uses the COM4 port (base addr 2e8h)
  4083.  
  4084.        300        COM-AND uses port at 300 baud
  4085.        1200     COM-AND uses port at 1200 baud
  4086.        2400     COM-AND uses port at 2400 baud
  4087.        4800     COM-AND uses port at 4800 baud
  4088.        9600     COM-AND uses port at 9600 baud
  4089.        19K        COM-AND uses port at 19.2K baud
  4090.        38K        COM-AND uses port at 38.4K baud
  4091.        56K        COM-AND uses port at 56.6K baud
  4092.        115K     COM-AND uses port at 115K baud
  4093.  
  4094.        EVEN     COM-AND uses port with even parity
  4095.        ODD        COM-AND uses port with odd parity
  4096.        NONE     COM-AND uses port with no parity
  4097.  
  4098.        DATA7    COM-AND transmits/receives 7 data bits
  4099.        DATA8    COM-AND transmits/receives 8 data bits
  4100.  
  4101.        STOP1    COM-AND uses and expects 1 stop bit
  4102.        STOP2    COM-AND uses and expects 2 stop bits
  4103.  
  4104.        DIAL <n>    After initialization, COM-AND dials directory entry
  4105.             <n>, using the rate, parity, data and stop bits as
  4106.             specified.
  4107.  
  4108.  
  4109.     Program switches require no delimiters.  Parameters must be
  4110.     preceded by a blank (in succession).  For example:
  4111.  
  4112.     A> COM-AND 1200      Run the program at 1200 baud
  4113.     A> COM-AND /L1200     43 line mode, 1200 baud
  4114.     A> COM-AND /L 1200     43 line mode, 1200 baud
  4115.  
  4116.  
  4117.     Program defaults are: "d"> COM-AND COM2 300 EVEN DATA7 STOP1
  4118.  
  4119.  
  4120.  
  4121.  
  4122.  
  4123.  
  4124. Version 2.6: 900426                           Appendices
  4125.  
  4126. COM-AND: IBM PC Communications and Accessories                 Page  70
  4127.  
  4128.  
  4129. B.    COM-AND Error display.
  4130.  
  4131.  
  4132.     One command not listed in the F10 help display is Alt-Y.  This
  4133.     command displays RS232 and file errors encountered.  RS232 errors
  4134.     list both the last error condition recorded and a count of errors.
  4135.     RS232 errors are:
  4136.  
  4137.     Receive error.    The hex value represents:
  4138.  
  4139.        Bit 0:  Shouldn't occur in display, but what do I know.
  4140.        Bit 1:  Overrun.  Indicates that a character in the 8250
  4141.            Receive buffer was not read before the next character
  4142.            was received.  This program enables interrupts to read
  4143.            the COM port.
  4144.        Bit 2:  Parity error.  Indicates that the parity of the
  4145.            received character does not match that specified.
  4146.            This bit report is normally suppressed, but may be
  4147.            enabled with the /R switch.
  4148.        Bit 3:  Framing error.  Indicates that the character received
  4149.            lacked a valid stop bit.
  4150.        Bit 4:  Break interrupt. Not too many systems send a break.
  4151.  
  4152.        Other bits of the LSR of the 8250 are masked off.
  4153.  
  4154.     Send error.  The hex value represents:
  4155.  
  4156.        Bit 7:  A timeout occurred in one of three places:
  4157.            . Waiting for DSR to go true
  4158.            . Waiting for CTS to go true
  4159.            . Waiting for the transmit holding register to clear
  4160.              The first two conditions are normally suppressed,
  4161.              but may be overridden with the /S switch.
  4162.  
  4163.        Other bits are masked out. There is serious trouble (or my over-
  4164.        sight) if anything but Hex 80 is reported.
  4165.  
  4166.     Buffer overflow.
  4167.  
  4168.        This program uses an interrupt service routine to read the
  4169.        COM port.  The ISR fills a 4096 byte buffer.  The application
  4170.        takes characters out of the circular receive buffer one by
  4171.        one.  Buffer overflow may occur when the application is
  4172.        suspended; for example when a menu is pending attention, and
  4173.        flow control is not enabled.
  4174.  
  4175.  
  4176.  
  4177.  
  4178.  
  4179. Version 2.6: 900426                           Appendices
  4180.  
  4181. COM-AND: IBM PC Communications and Accessories                 Page  71
  4182.  
  4183.  
  4184. C.    Files
  4185.  
  4186.  
  4187.     COM-AND expects the following files on the default drive/subdirectory
  4188.     (or COM-AND= environment variable specified drive/subdirectory):
  4189.  
  4190.     COM-AND.DFT     Parameter save area (Alt-S, Alt-O and Alt-P)
  4191.     COM-AND.DIR     Dialing directory (change name in Alt-S)
  4192.     COM-AND.MAC     Macro definition (change name in Alt-S)
  4193.     COM-AND.ACC     Accessory definitions (F1) (change name in Alt-S)
  4194.  
  4195.     COM-AND will create the .DFT file at load-time if not found.  COM-AND
  4196.     will automatically update the .DFT file if the program version number
  4197.     is different from the .DFT file version number.
  4198.  
  4199.  
  4200.     COM-AND will create if not present (filling with default values):
  4201.     an empty dialing directory, and empty macro definition, and an empty
  4202.     accessory definition.  Different versions of COM-AND will require
  4203.     different structures to the .DFT file...  previous versions (with the
  4204.     exception of 1.0) will be accepted; however when a new major (e.g.
  4205.     1.0, 2.0, ...) is released the previous .DFT file probably should be
  4206.     purged (and recreated by COM-AND).
  4207.  
  4208.  
  4209.     COM-AND also uses:
  4210.  
  4211.     COM-AND.XLT     Translation tables; see XLATE.CMD script
  4212.     COM-AND.RMP     Keyboard remapping table; see REMAP.CMD script
  4213.     COM-AND.LOG     Default call-log file
  4214.     COM-AND.TUN     Tune file (if present; ASCII file, PLAY data)
  4215.     COM-AND.CMD     Automatic script (if present, executed at init)
  4216.     COM-AND.RLE     RLE save file (used during receipt of RLEs)
  4217.  
  4218.  
  4219.     The ".RLE" and ".LOG" file names may be changed through the Alt-S
  4220.     (Setup) Menu.  COM-AND currently implements the rule for file names:
  4221.     If the given file name carries a drive spec (i.e.  C:) or path
  4222.     (subdirectory), the name is taken 'as is'.  If neither is provided
  4223.     the default drive and subdirectory are added to the file name.
  4224.  
  4225.  
  4226.     COM-AND will share Dialing Directory and Macro Definition files with
  4227.     PROCOMM 2.4.2 and before.  In this case the subdirectory on which
  4228.     these files may be found must be specified through the Alt-S func-
  4229.     tion, and the values saved for subsequent executions.  COM-AND's
  4230.     updates to these files will be acceptable to PROCOMM, and PROCOMM's
  4231.     to COM-AND (true at least through Version 2.4.2 of PROCOMM).
  4232.  
  4233.  
  4234. Version 2.6: 900426                           Appendices
  4235.  
  4236. COM-AND: IBM PC Communications and Accessories                 Page  72
  4237.  
  4238.  
  4239. D.    Windowed XMODEM (WXMODEM)
  4240.  
  4241.  
  4242.     In June, 1986, Peter Boswell of PLINK issued a specification for
  4243.     an XMODEM protocol variant called Windowed XMODEM (WXMODEM to its
  4244.     friends).  WXMODEM was designed primarily to overcome delays that
  4245.     are imposed by the X.25 networks.  X.25 network delays are mostly
  4246.     imperceptible to conversational users of the networks...  however,
  4247.     people performing file transfers might expect to see up to 50% of
  4248.     the transfer time eaten up in these delays!
  4249.  
  4250.     Asynchronous communications lines do not suffer these same delays.
  4251.     When someone accustomed to Bulletin Boards (dialed through a direct
  4252.     phone line) enters the network environment, the 'feel' of file
  4253.     transfers is found to be entirely 'too slow'.  The difference is
  4254.     entirely in the network (and many times intervening satellite hops).
  4255.  
  4256.  
  4257.     Windowed XMODEM also accomodates the requirements of new services
  4258.     such as PC Pursuit...  allowing XON/XOFF flow control to be exer-
  4259.     cised by the network during a binary file transfer (this is not
  4260.     possible with XMODEM, as transparency is required).  Flow control
  4261.     allows higher data rates to be supported while retaining existing
  4262.     network interconnects.
  4263.  
  4264.  
  4265.     Windowed XMODEM was implemented on PLINK in September, 1986.  Many
  4266.     comm programs on many different machines have been modified or
  4267.     written to implement WXMODEM for PLINK communications.    The differ-
  4268.     ence in throughput between CRC XMODEM and WXMODEM is astounding.
  4269.     I measure at least 35% and sometimes as much as 40% improvement in
  4270.     transfer times over CRC XMODEM.  In real terms, this means the diff-
  4271.     errence between 24 minutes and 40 minutes for a download of the same
  4272.     (approximately 120K) file at 1200 baud.
  4273.  
  4274.  
  4275.     Windowed XMODEM is still a new protocol.  Its developers discovered
  4276.     quite a few practicalities not addressed in the original specific-
  4277.     ation during its implementation.  However, WXMODEM is now available
  4278.     on Delphi, and for various BBS's (TCOMM, and RBBS for example).
  4279.  
  4280.  
  4281.     For the technically inclined, the Windowed XMODEM specification will
  4282.     be found on many bulletin boards and most systems as WXMODEM.ARC.  An
  4283.     excellent analysis of XMODEM problems in an X.25 environment was also
  4284.     published (electronically) by Peter Boswell.  In the latter paper,
  4285.     Peter quantifies exactly the delays and their predicted overhead in
  4286.     an X.25 environment.
  4287.  
  4288.  
  4289. Version 2.6: 900426                           Appendices
  4290.  
  4291. COM-AND: IBM PC Communications and Accessories                 Page  73
  4292.  
  4293.  
  4294. E.    ANSI, VT100, and VT52 graphics
  4295.  
  4296.  
  4297.     1. ANSI sequences
  4298.  
  4299.        COM-AND is capable of displaying ANSI graphics on the CRT side.
  4300.        ANSI graphics are used by some services and Bulletin Boards to
  4301.        enrich the display through screen formatting and colors.
  4302.  
  4303.  
  4304.        Beginning with Version 2.0 of this program, ANSI graphic software
  4305.        is entirely contained within COM-AND.  Any errors in implementa-
  4306.        tion must be addressed to this developer.  COM-AND implements the
  4307.        ANSI sequences as follows:
  4308.  
  4309.         ESC,'[#;#H'   CUP: Cursor position; 1st #=row, 2nd=col
  4310.         ESC,'[;#H'    CUP: Alternate cursor position to col
  4311.         ESC,'[#H'     CUP: Alternate cursor position to row
  4312.         ESC,'[H'      CUP: Alternate cursor position to home
  4313.         ESC,'[#;#f'   HVP: Horiz/Vert pos; 1st = row, 2nd = col
  4314.         ESC,'[;#f'    HVP: Alternate horiz/vert pos to col
  4315.         ESC,'[#f'     HVP: Alternate horiz/vert pos to row
  4316.         ESC,'[f'      HVP: Alternate horiz/vert pos to home
  4317.         ESC,'[#A'     CUU: Cursor Up # rows
  4318.         ESC,'[#B'     CUD: Cursor Down # rows
  4319.         ESC,'[#C'     CUF: Cursor Forward # cols
  4320.         ESC,'[#D'     CUB: Cursor Backward # cols
  4321.         ESC,'[6n'     DSR: Device status rpt (rtns CPR)
  4322.         ESC,'[#;#R'   CPR: Cursor position rpt (1st=row, 2nd=col)
  4323.         ESC,'[s'      SCP: Save cursor position
  4324.         ESC,'[u'      RCP: Restore cursor position
  4325.         ESC,'[#J'     ED: Erase display (# = 0,1,2)
  4326.         ESC,'[#K'     EL: Erase line (# = 0,1,2)
  4327.         ESC,'[&m'     SGR: Set graphics rendition (&-> #[;#...])
  4328.         ESC,'[=#h'    SM: Set mode
  4329.         ESC,'[?7h'    SM: Set mode
  4330.         ESC,'[=#l'    RM: Reset mode
  4331.         ESC,'[?7l'    SM: Reset mode
  4332.  
  4333.  
  4334.        The only sequence defined in ANSI.SYS (the device driver that
  4335.        supplies ANSI emulation) that is not implemented in COM-AND is:
  4336.  
  4337.         Esc,'[...p'   KKR: Keyboard key redefinition.
  4338.  
  4339.        I am considering implementing this sequence, with a menu to sup-
  4340.        port it as a 'different' sort of Macro facility.  I'd like to hear
  4341.        comments from people reading this.
  4342.  
  4343.  
  4344. Version 2.6: 900426                           Appendices
  4345.  
  4346. COM-AND: IBM PC Communications and Accessories                 Page  74
  4347.  
  4348.  
  4349. E.    ANSI, VT100 and VT52 graphics (continued)
  4350.  
  4351.  
  4352.     1. ANSI sequences (continued)
  4353.  
  4354.        Under MS-DOS/PC-DOS, ANSI graphics are usually performed by the
  4355.        ANSI.SYS device driver.  Replacements for ANSI.SYS are available
  4356.        on all the systems and boards, offering increased functionality
  4357.        and additional utility.  For example, the FANSI device driver
  4358.        (sold by Hersey Micro Consulting) offers:
  4359.  
  4360.        .  improvements in screen display speed,
  4361.        .  considerably more control sequences than ANSI.SYS,
  4362.        .  DEC VT100 emulation (which therefore is available to you in
  4363.           COM-AND if you use FANSI and turn DOS screen on),
  4364.        .  a backscreen function which pages last-to-first,
  4365.        .  one finger typing,
  4366.        .  increased typeahead buffer size,
  4367.        .  and many many other functional enhancements
  4368.  
  4369.        The implementation of ANSI within COM-AND does not negate any of
  4370.        the above features (except perhaps terminal emulation).
  4371.  
  4372.  
  4373.        In order to use ANSI.SYS or any of its replacements through COM-
  4374.        AND, you must have a device driver installed in your DOS.  All
  4375.        that is required is that the line:
  4376.  
  4377.           DEVICE=ANSI.SYS
  4378.  
  4379.        be added to the file CONFIG.SYS on the root directory of the boot
  4380.        disk, and the PC rebooted (Ctl-Alt-Del).  If there is no file
  4381.        named CONFIG.SYS on the root directory of your boot disk, create
  4382.        one containing the line above (see also the note on DOS gateway),
  4383.        and then reboot.
  4384.  
  4385.  
  4386.        Other device drivers, as FANSI mentioned above, will have their
  4387.        own installation requirements.  Refer to the documentation for the
  4388.        device driver you wish to use for instructions.
  4389.  
  4390.  
  4391.        Once you've installed the ANSI device, you must turn COM-AND's
  4392.        ANSI and VIDTEX emulation off through the Alt-V menu.  You must
  4393.        also turn on 'DOS screen writes' through Alt-O.  With ANSI and
  4394.        VIDTEX off, and DOS on, all received text is routed through the
  4395.        ANSI device.
  4396.  
  4397.  
  4398.  
  4399. Version 2.6: 900426                           Appendices
  4400.  
  4401. COM-AND: IBM PC Communications and Accessories                 Page  75
  4402.  
  4403.  
  4404. E.    ANSI, VT100, and VT52 graphics (continued)
  4405.  
  4406.  
  4407.     2. VT100 sequences
  4408.  
  4409.        COM-AND is accepts a subset of VT100 escape sequences in display
  4410.        emulation.  VT100 emulation is available through the Alt-V option
  4411.        'VT100' (or in a script, 'EMULATE VT100').
  4412.  
  4413.  
  4414.        The VT100 was created to be an ANSI terminal.  The difference
  4415.        between COM-AND's VT100 and ANSI modes is minor.  There are the
  4416.        following differences to the above ANSI sequences:
  4417.  
  4418.        o    Erase display does not position to home in VT100
  4419.        o    Erase line does not position to beginning of line in VT100
  4420.  
  4421.  
  4422.        In addition to the ANSI sequences above, COM-AND VT100 emulation
  4423.        also adds the following sequences:
  4424.  
  4425.         ESC,'[?2l'    Switch to VT52 mode
  4426.         ESC,'<'       VT52: Change to VT100 (redundant)
  4427.         ESC,'>'       Keypad numeric mode
  4428.         ESC,'='       Keypad application mode
  4429.         ESC,'7'       Save cursor and attributes
  4430.         ESC,'8'       Restore cursor and attributes
  4431.         ESC,'#3'      Set cursor line to DH DW top half (literal '#')
  4432.         ESC,'#4'      Set cursor line to DH DW bot half (literal '#')
  4433.         ESC,'#5'      Set cursor line to SH SW          (literal '#')
  4434.         ESC,'#6'      Set cursor line to SH DW          (literal '#')
  4435.         ESC,'#:'      Set cursor line to DH SW top half (literal '#')
  4436.         ESC,'#;'      Set cursor line to DH SW bot half (literal '#')
  4437.         ESC,'[#;#r'   Set scrolling region
  4438.         ESC,'[?#l'    Reset (parameter controls)
  4439.         ESC,'[?#h'    Set (parameter controls)
  4440.         ESC,'[>#l'    Reset (parameter controls)
  4441.         ESC,'[>#h'    Set (parameter controls)
  4442.         ESC,'[20l'    Reset LF to new ln (unused)
  4443.         ESC,'[20h'    Set new line mode (unused)
  4444.         ESC,'[#q'     LED controls (unused)
  4445.  
  4446.  
  4447.  
  4448.  
  4449.  
  4450.  
  4451.  
  4452.  
  4453.  
  4454. Version 2.6: 900426                           Appendices
  4455.  
  4456. COM-AND: IBM PC Communications and Accessories                 Page  76
  4457.  
  4458.  
  4459. E.    ANSI, VT100, and VT52 graphics (continued)
  4460.  
  4461.  
  4462.     2. VT100 sequences (continued)
  4463.  
  4464.        COM-AND's VT100 emulation Displays from one of two character sets,
  4465.        designated G0 and G1 in VT100 nomenclature.    The identity of each
  4466.        set and the current controlling set is determined through the
  4467.        following sequences:
  4468.  
  4469.         ESC,')A'      Designate UK set as G1
  4470.         ESC,')B'      Designate ASCII set as G1
  4471.         ESC,')0'      Designate graphics set as G1
  4472.         ESC,')1'      Designate Alternate char set as G1
  4473.         ESC,')2'      Designate special graphics as G1
  4474.         ESC,'(A'      Designate UK set as G0
  4475.         ESC,'(B'      Designate ASCII set as G0
  4476.         ESC,'(0'      Designate graphics set as G0
  4477.         ESC,'(1'      Designate Alternate char set as G0
  4478.         ESC,'(2'      Designate special graphics as G0
  4479.         SI (15)       Shift in (use G0 char set)
  4480.         SO (14)       Shift out (use G1 char set)
  4481.  
  4482.        COM-AND implements the UK set identically to ASCII at this time.
  4483.        The graphics set, alternate set and special graphics sets use an
  4484.        approximation from the high order characters (128-255).
  4485.  
  4486.  
  4487.        Finally, COM-AND supports these inquiry sequences:
  4488.  
  4489.         ESC,Z          Report identity
  4490.         ESC,'c'       Report device attributes
  4491.         ESC,'0c'      Report device attributes
  4492.  
  4493.        The response to these three 'report' sequences above is the same
  4494.        in all cases:  VT100 without a printer (which is ESC,'[?1;2c').
  4495.  
  4496.  
  4497.  
  4498.  
  4499.  
  4500.  
  4501.  
  4502.  
  4503.  
  4504.  
  4505.  
  4506.  
  4507.  
  4508.  
  4509. Version 2.6: 900426                           Appendices
  4510.  
  4511. COM-AND: IBM PC Communications and Accessories                 Page  77
  4512.  
  4513.  
  4514. E.    ANSI, VT100, and VT52 graphics (continued)
  4515.     3. VT52 sequences
  4516.  
  4517.  
  4518.        COM-AND is capable of accepting VT52 escape sequences as well.
  4519.        CIS in VIDTEX mode uses a mix of ANSI, and VT52 sequences to
  4520.        format the screen.
  4521.  
  4522.  
  4523.        Beginning with version 2.3 of this program, VT52 cursor control
  4524.        is available if the Alt-V option 'VT52' is enabled (or in a
  4525.        script, 'EMULATE VT52').  COM-AND implements the following VT52
  4526.        sequences:
  4527.  
  4528.         ESC,'A'       CUU: Cursor up
  4529.         ESC,'B'       CUD: Cursor down
  4530.         ESC,'C'       CUF: Cursor forward
  4531.         ESC,'D'       CUB: Cursor backward
  4532.         ESC,'H'       CUH: Cursor home
  4533.         ESC,'J'       ES:  Erase from cursor to end of screen
  4534.         ESC,'K'       EL:  Erase from cursor to end of line
  4535.         ESC,'Yrc'     CUP: Horiz/Vert pos; r= row+32, c= col+32
  4536.         ESC,'j'       CS:  Clear screen and home cursor
  4537.         ESC,'<'       VT100: Switch to VT100 mode
  4538.  
  4539.  
  4540.  
  4541.  
  4542.  
  4543.  
  4544.  
  4545.  
  4546.  
  4547.  
  4548.  
  4549.  
  4550.  
  4551.  
  4552.  
  4553.  
  4554.  
  4555.  
  4556.  
  4557.  
  4558.  
  4559.  
  4560.  
  4561.  
  4562.  
  4563.  
  4564. Version 2.6: 900426                           Appendices
  4565.  
  4566. COM-AND: IBM PC Communications and Accessories                 Page  78
  4567.  
  4568.  
  4569. F.    Vidtex and RLE files
  4570.  
  4571.  
  4572.     1. Vidtex
  4573.  
  4574.        COM-AND emulates a 'VIDTEX' screen mode as an option.  Vidtex
  4575.        is a special service of CompuServe (CIS).  It is enabled:
  4576.  
  4577.        o    Alt-V (set VIDTEX screen mode ON), or
  4578.        o    script "SET ENQ CISB" or "EMULATE VIDTEX" statements
  4579.  
  4580.  
  4581.        Vidtex screen mode provides several features to the CIS user:
  4582.  
  4583.        o    Screen displays are formatted to appear 'full screen'.  If
  4584.         color is available, it is used.  The current screen size is
  4585.         known to CIS as well.
  4586.        o    File transfers are automatic.  CIS asks the name a file is to
  4587.         take on your machine, and then prompts COM-AND for the
  4588.         transfer.  PgDn and PgUp are not needed.
  4589.        o    RLE files are displayed automatically.
  4590.  
  4591.  
  4592.        There are several drawbacks to the VIDTEX screen mode, too:
  4593.  
  4594.        o    CIS assumes you are going to use Quick-B for file transfers.
  4595.         It doesn't ask for alternatives.
  4596.        o    Alt-L screen size may not be toggled during a VIDTEX session.
  4597.         The screen size at the time of logon is reported to CIS, and
  4598.         there is no method (now) to report a change of size.
  4599.        o    Vidtex control sequences are captured (along with text) when
  4600.         transcripting.    These are easy to edit out, but distracting.
  4601.         Again,    VIDTEX can't be turned off easily during a session.
  4602.        o    Other systems may from time-to-time use the ENQ character for
  4603.         special functions.  You should ensure that VIDTEX mode is off
  4604.         when you use such a system.
  4605.  
  4606.  
  4607.        CIS inquires the capability of a communication program with the
  4608.        sequence: ESC,'I'.  COM-AND responds (in VIDTEX mode) with:
  4609.  
  4610.         #IBX,SSyx,AC/CA/CC,GH,GM,PB,DT,+<checksum>
  4611.  
  4612.        The SS parameter specifies screen size.  The AC/CA/CC choice is
  4613.        made according to whether color is set through Alt-J.
  4614.  
  4615.  
  4616.  
  4617.  
  4618.  
  4619. Version 2.6: 900426                           Appendices
  4620.  
  4621. COM-AND: IBM PC Communications and Accessories                 Page  79
  4622.  
  4623.  
  4624. F.    Vidtex and RLE files (continued)
  4625.  
  4626.  
  4627.     2. RLE files
  4628.  
  4629.        Although created on CompuServe, RLE (run length encoded) graphics
  4630.        files have been popular for some time on the services and BBS's.
  4631.        One reason is because the format is not machine specific.  Most
  4632.        any flavor of PC having a graphics display may view and create
  4633.        graphics images in RLE format.
  4634.  
  4635.  
  4636.        The resolution is limited (256 horizontal pixels by 192 lines).
  4637.        RLE images are monochrome (although I know that there are some
  4638.        people who've experimented with color information embedded in RLE
  4639.        files).  But RLE files do provide one medium of graphics exchange
  4640.        between differing personal computers.
  4641.  
  4642.  
  4643.        RLEs are encoded as 7 bit ASCII data.  Normally, an RLE file would
  4644.        be viewed through something like an ASCII download.    [PLINK, for
  4645.        one, has trouble with this.    It backscans text lines, removing
  4646.        blanks.  That is death for an RLE graphics image.]
  4647.  
  4648.  
  4649.        COM-AND recognizes RLE control sequences when they are encountered
  4650.        in the stream of received text.  When COM-AND encounters an RLE
  4651.        sequence, it attempts to switch to graphics mode.  If successful,
  4652.        COM-AND then displays the image as it is received, and buffers the
  4653.        image in a temporary file.  Upon completion of the image, COM-AND
  4654.        prompts for a save file name.  You may ignore the save step, and
  4655.        throw away the picture in good conscience, as you now know what it
  4656.        shows.  Or you may of course opt to save it for later playback.
  4657.  
  4658.        You may disable this feature of COM-AND through the Alt-O options
  4659.        menu.
  4660.  
  4661.        ---------------------------------------------------------------
  4662.        CIS Users NOTE:  CIS 'tests' your terminal program each time you
  4663.        request an RLE viewing.  COM-AND responds to the test only if you
  4664.        have set emulation to 'VIDTEX' or used the equivalent script
  4665.        statement.
  4666.  
  4667.        If the option is not enabled, CIS will tell you "Your terminal
  4668.        program is not equipped ...    do you wish to proceed?" If you
  4669.        answer "Y", CIS will send the RLE file, and COM-AND will display
  4670.        it nicely.
  4671.  
  4672.  
  4673.  
  4674. Version 2.6: 900426                           Appendices
  4675.  
  4676. COM-AND: IBM PC Communications and Accessories                 Page  80
  4677.  
  4678.  
  4679. G.    External protocol drivers
  4680.  
  4681.  
  4682.     COM-AND supports external protocol drivers through its F1 (access-
  4683.     sories) menu.  You may edit the entries in the F1 menu to load and
  4684.     execute just about any program you might wish (and have memory for).
  4685.     If you limit the F1 entries to simple script invocations, you may
  4686.     also use the script name through F2.
  4687.  
  4688.     For example, you might wish to add ZMODEM or True YMODEM (tm)
  4689.     capability to COM-AND.    You may do this with Chuck Forsberg's
  4690.     DSZ.COM program.  DSZ is a module that may be run from within other
  4691.     comm programs to perform ZMODEM transfers (and X/Ymodem transfers
  4692.     too).  DSZ is revised quite often (to expand its function), and is
  4693.     available on most systems.
  4694.  
  4695.     For downloading purposes, no script is needed to invoke DSZ.  How-
  4696.     ever, as mentioned above, the F1 entry will be coded to use a script
  4697.     to allow the same script to be manually invoked through F2.  The file
  4698.     name used for the downloaded file will be determined by the sender.
  4699.     Revise an F1 entry (with the 'r' subcommand) as follows:
  4700.  
  4701.         Name:        Download using YMODEM
  4702.         Subdirectory:    (whatever subdirectory your DSZ occupies)
  4703.         Program:        (leave this field blank)
  4704.         Script:        DSZDOWN.CMD
  4705.  
  4706.     The script DSZDOWN.CMD might be written:
  4707.     ------------------------------------------------------------------
  4708.     COMPARMS S1        ; read current settings
  4709.     S2 =  "DSZ.COM port " * S1(14:14) * " rb " ; Ask for YMODEM rcv
  4710.     RUN S2            ; Load and run DSZ
  4711.     ------------------------------------------------------------------
  4712.     Note: change " rb " to " rz " for ZMODEM
  4713.     ------------------------------------------------------------------
  4714.  
  4715.     DSZ requires a file name for uploading.  You can accomplish this by
  4716.     editing the F1 menu as follows, and creating a script.
  4717.  
  4718.         Name:        Upload using YMODEM
  4719.         Subdirectory:    (whatever subdirectory DSZ/DSZUP occupies)
  4720.         Program:        (leave this field blank)
  4721.         Script:        DSZUP.CMD
  4722.  
  4723.     An example script DSZUP.CMD follows on the next page.
  4724.  
  4725.  
  4726.  
  4727.  
  4728.  
  4729. Version 2.6: 900426                           Appendices
  4730.  
  4731. COM-AND: IBM PC Communications and Accessories                 Page  81
  4732.  
  4733.  
  4734. G.    External protocol drivers (continued)
  4735.  
  4736.  
  4737.     The script DSZUP.CMD might be written:
  4738.     ------------------------------------------------------------------
  4739.     MESSAGE "^MEnter the upload file name: "
  4740.     GET S0            ; Read keyboard
  4741.     COMPARMS S1        ; read current settings
  4742.     S2 =  "DSZ.COM port " * S1(14:14) * " sb " * S0 ; ask for YMODEM
  4743.     sb" RUN S2                  ; Load and run DSZ
  4744.     ------------------------------------------------------------------
  4745.     Note: change " sb " to " sz " for ZMODEM
  4746.     ------------------------------------------------------------------
  4747.  
  4748.  
  4749.     DSZ defaults to COM1 and your current baud rate.  The above scripts
  4750.     adjust for the comm port you're using.  The above scripts (or better)
  4751.     are included in the SCRIPTS.ARC file released with COM-AND.
  4752.  
  4753.  
  4754.     NOTE: DSZ is user supported.  If you use it, please register it!
  4755.     DSZ may be found on most bulletin boards, and on every major system.
  4756.     Registration information is provided with every release of DSZ.
  4757.  
  4758.  
  4759.  
  4760.  
  4761.  
  4762.  
  4763.  
  4764.  
  4765.  
  4766.  
  4767.  
  4768.  
  4769.  
  4770.  
  4771.  
  4772.  
  4773.  
  4774.  
  4775.  
  4776.  
  4777.  
  4778.  
  4779.  
  4780.  
  4781.  
  4782.  
  4783.  
  4784. Version 2.6: 900426                           Appendices
  4785.  
  4786. COM-AND: IBM PC Communications and Accessories                 Page  82
  4787.  
  4788.  
  4789. H.    Modem Configuration
  4790.  
  4791.  
  4792.     COM-AND default values do not require your modem to be configured
  4793.     in any particular manner.  However, certain features cannot be used
  4794.     unless you configure your modem before you use COM-AND.
  4795.  
  4796.  
  4797.     1. DTR (Data Terminal Ready)
  4798.  
  4799.        COM-AND, by default, hangs up using the command sequences defined
  4800.        through the Alt-S setup (hangup and modem escape).  However, you
  4801.        may alternately select 'Drop DTR to hangup' through the Alt-O
  4802.        options.  Dropping DTR is the only way to hangup certain modems,
  4803.        and is generally much faster than the command sequences.
  4804.  
  4805.        Most Hayes compatible modems allow configuration of the DTR sense
  4806.        through a switch-block.  If you wish to use DTR to hangup, be sure
  4807.        that your modem follows the DTR signal.  Refer to the documenta-
  4808.        tion provided with your modem to be sure that option switches are
  4809.        set appropriately.
  4810.  
  4811.  
  4812.     2. CD (Carrier Detect)
  4813.  
  4814.        COM-AND (presently) uses the CD sense line for several purposes.
  4815.        The 'CONNECTED' test supported in the script language, test for
  4816.        carrier detect upon exit, and the file transfer protocols all
  4817.        require that the modem report carrier detect.  True carrier detect
  4818.        is the only way to determine if you are 'on-line' or 'off-line'.
  4819.  
  4820.        Many Hayes compatible modems are sold with a carrier detect
  4821.        override (in other words the modem reports carrier detect all the
  4822.        time).  When carrier detect is overridden, COM-AND cannot detect
  4823.        when carrier is lost during a file transfer or whether to ask if
  4824.        you want to hangup when you exit to DOS.
  4825.  
  4826.        Be sure that the modem is reporting true CD (instead of it just
  4827.        saying 'yes').  Most Hayes compatible modems allow configuration
  4828.        of the CD sense through a switch-block.  Refer to the documenta-
  4829.        tion provided with your modem to be sure that option switches are
  4830.        set appropriately.
  4831.  
  4832.  
  4833.  
  4834.  
  4835.  
  4836.  
  4837.  
  4838.  
  4839. Version 2.6: 900426                           Appendices
  4840.  
  4841. COM-AND: IBM PC Communications and Accessories                 Page  83
  4842.  
  4843.  
  4844. I.    Environment variables
  4845.  
  4846.  
  4847.     COM-AND uses environment variables to default files names.  Two
  4848.     environment variables are relevant to COM-AND.    The "COM-AND='
  4849.     environment variable specifies a default path for certain file names,
  4850.     and "COMSPEC=" specifies the shell program name.
  4851.  
  4852.  
  4853.     1. COM-AND=
  4854.  
  4855.        COM-AND searches the current subdirectory and then the subdirec-
  4856.        tory indicated by the environment variable "COM-AND=" (if
  4857.        present) for the following files:
  4858.  
  4859.        . COM-AND.DFT    (Default settings and values)
  4860.        . COM-AND.DIR    (Dialing directory)
  4861.        . COM-AND.MAC    (Macro definitions)
  4862.        . COM-AND.ACC    (Accessory definitions)
  4863.        . COM-AND.RMP    (Remap definition)
  4864.        . COM-AND.XLT    (Translate tables)
  4865.  
  4866.  
  4867.        COM-AND also uses this environment variable searching for script
  4868.        file names.    However, script files are also searched using (a) the
  4869.        supplied extension, (b) the extension ".CMD" and (c) the extension
  4870.        ".ENF" (for encrypted files).  So, the search for script files is
  4871.        a little bit longer than the search for the above files.
  4872.  
  4873.  
  4874.        COM-AND accessories use the "COM-AND=" environment variable to
  4875.        find COM-AND.EXE when they are loaded without COM-AND.  For this
  4876.        reason it is recommended that COM-AND.EXE be in that subdirectory.
  4877.  
  4878.  
  4879.        Refer to your DOS manual (the SET command) for information about
  4880.        environment variables and how to create them.  As an example, you
  4881.        might place COM-AND in the C:\COM-AND subdirectory.    You should
  4882.        then add the following line to your c:\AUTOEXEC.BAT file:
  4883.  
  4884.                  SET COM-AND=C:\COM-AND
  4885.  
  4886.  
  4887.  
  4888.  
  4889.  
  4890.  
  4891.  
  4892.  
  4893.  
  4894. Version 2.6: 900426                           Appendices
  4895.  
  4896. COM-AND: IBM PC Communications and Accessories                 Page  84
  4897.  
  4898.  
  4899. I.    Environment variables (continued)
  4900.  
  4901.  
  4902.     2. COMSPEC=
  4903.  
  4904.  
  4905.        COM-AND uses the environment variable "COMSPEC=" to identify the
  4906.        shell program to be used when Alt-F10'ing or executing the SHELL
  4907.        script command.  This environment variable is already set in most
  4908.        installations.
  4909.  
  4910.  
  4911.     3. Other variables
  4912.  
  4913.  
  4914.        COM-AND's script language allows access to environment variables
  4915.        through the ENVIRON statement.  Scripts written for COM-AND may
  4916.        therefore be sensitive to environment variables.
  4917.  
  4918.        The script statement "EBL" and EBLSET" look for a 'BATINT='
  4919.        environment variable to set the (hex) interrupt number for EBL.
  4920.  
  4921.  
  4922.  
  4923.  
  4924.  
  4925.  
  4926.  
  4927.  
  4928.  
  4929.  
  4930.  
  4931.  
  4932.  
  4933.  
  4934.  
  4935.  
  4936.  
  4937.  
  4938.  
  4939.  
  4940.  
  4941.  
  4942.  
  4943.  
  4944.  
  4945.  
  4946.  
  4947.  
  4948.  
  4949. Version 2.6: 900426                           Appendices
  4950.  
  4951. COM-AND: IBM PC Communications and Accessories                 Page  85
  4952.  
  4953.  
  4954. J.    Background operation
  4955.  
  4956.  
  4957.     COM-AND may be used as a background process with several of the
  4958.     available multi-tasking operating environments.  In particular,
  4959.     file transfers are bufferred, and send is interrupt driven to
  4960.     provide maximum efficiency when used as a background processor
  4961.     (which of course means more efficiency in foreground mode, too).
  4962.  
  4963.  
  4964.     COM-AND has been made 'shadow-buffer' aware... if an operating
  4965.     environment such as DesqView or Windows establishes a shadow-buffer
  4966.     for the screen, COM-AND uses it.  Thus, COM-AND does not need to be
  4967.     flagged as "writing directly to the screen" under such environments.
  4968.  
  4969.  
  4970.     The only exception to this is RLE displays in interactive mode (RLE
  4971.     displays are inhibited during the script processor).  RLE displays
  4972.     switch the screen from text to graphics modes; during RLE display
  4973.     all access to the screen is performed using BIOS write-pixel calls
  4974.     However, you should turn RLE displays off (through Alt-O) if you
  4975.     plan on using COM-AND regularly in background mode, and view RLEs.
  4976.  
  4977.  
  4978.     The distribution of COM-AND includes a PIF file for Windows and a DVP
  4979.     file for DesqView.
  4980.  
  4981.  
  4982.  
  4983.  
  4984.  
  4985.  
  4986.  
  4987.  
  4988.  
  4989.  
  4990.  
  4991.  
  4992.  
  4993.  
  4994.  
  4995.  
  4996.  
  4997.  
  4998.  
  4999.  
  5000.  
  5001.  
  5002.  
  5003.  
  5004. Version 2.6: 900426                           Appendices
  5005.  
  5006. COM-AND: IBM PC Communications and Accessories                 Page  86
  5007.  
  5008.  
  5009. K.    Encoded music
  5010.  
  5011.  
  5012.     Beginning with version 2.3, COM-AND uses encoded music strings for
  5013.     several different purposes:
  5014.  
  5015.     .  If the file COM-AND.TUN exists on the default drive:subdirectory
  5016.        (or on the COM-AND= drive:subdirectory), and it contains a valid
  5017.        encoded music string (not to exceed 40 notes), COM-AND will use
  5018.        the encoded string for its alarm.
  5019.  
  5020.     .  The alarm tune may be changed with a "SET TUNE" command through
  5021.        a script file.  The new alarm tune holds until it is changed,
  5022.        or until COM-AND is terminated.
  5023.  
  5024.     .  A script may PLAY an encoded music string during its execution
  5025.        (up to 80 notes).
  5026.  
  5027.     .  An escape sequence to play music has been implemented (for some
  5028.        RBBS boards).  The escape sequence is "ESC [M <music string> ^N"
  5029.        allowing up to 255 characters for the <music string>.
  5030.  
  5031.  
  5032.     The script ALARM.CMD is included with this release.  ALARM contains
  5033.     a number of simple melodies that may be substituted for the alarm
  5034.     tune.  The ALARM script allows the tunes to be sampled, and one may
  5035.     be selected permanently (if it doesn't hurt the ear...).  Permanent
  5036.     selection means that the script creates a file, COM-AND.TUN which
  5037.     will be used by COM-AND every time it is loaded.
  5038.  
  5039.  
  5040.     Syntax for music statements will be found in an appendix to the
  5041.     CASCRIPT.DOC document.    The interested reader is referred there.
  5042.  
  5043.  
  5044.  
  5045.  
  5046.  
  5047.  
  5048.  
  5049.  
  5050.  
  5051.  
  5052.  
  5053.  
  5054.  
  5055.  
  5056.  
  5057.  
  5058.  
  5059. Version 2.6: 900426                           Appendices
  5060.  
  5061. COM-AND: IBM PC Communications and Accessories                 Page  87
  5062.  
  5063.  
  5064. L.    BIOS com Read/Write
  5065.  
  5066.  
  5067.     Beginning with version 2.3 of COM-AND, BIOS read/write comm port
  5068.     calls are intercepted by COM-AND.  When the port number matches
  5069.     the comm port currently opened by COM-AND, COM-AND makes available
  5070.     its interrupt driven read/write procedures.  Only read/write
  5071.     are supported.    Open (change parameters) and status are stubbed.
  5072.  
  5073.  
  5074.     COM-AND's interception of BIOS comm port calls opens some doors for
  5075.     the wary.  For example, the following script is useful:
  5076.  
  5077.         KFLUSH            ; Clear the keyboard buffer
  5078.         STACK "CTTY COM2:!"     ; Stack a cmd for DOS
  5079.         SHELL            ; Shell-to-DOS
  5080.  
  5081.     After the shell-to-DOS, DOS functions are available through the comm
  5082.     port.  If COM-AND had previously established a connection through the
  5083.     modem (dialed another PC, or used the CONNECT script to answer the
  5084.     phone), then DOS would be available to the caller!  [Note that only
  5085.     very-well-behaved programs may be used through this link.  A program
  5086.     that writes to screen memory or intercepts keyboard interrupts WILL
  5087.     NOT be available, and will make it difficult to terminate remotely.]
  5088.  
  5089.  
  5090.     Programs using no more communications support than that provided by
  5091.     BIOS may use COM-AND's communications, and act as accessories.  Such
  5092.     programs, when loaded through the accessory menu (or DOS Gateway)
  5093.     take advantage of COM-AND's communication support (and XON/XOFF flow
  5094.     control).
  5095.  
  5096.  
  5097.     The author would be interested in hearing of any applications
  5098.     developed to use this feature, and would be interested in discussing
  5099.     its future refinement.
  5100.  
  5101.  
  5102.  
  5103.  
  5104.  
  5105.  
  5106.  
  5107.  
  5108.  
  5109.  
  5110.  
  5111.  
  5112.  
  5113.  
  5114. Version 2.6: 900426                           Appendices
  5115.  
  5116. COM-AND: IBM PC Communications and Accessories                 Page  88
  5117.  
  5118.  
  5119. M.    Modem initialization
  5120.  
  5121.  
  5122.     COMMON MODEM PARAMETER INITIALIZATION VALUES for USE WITH COM-AND
  5123.     and OTHER COMMON COMMUNICATIONS PROGRAMS,     by Jim Aspinwall
  5124.     -----------------------------------------------------------------
  5125.  
  5126.     As a user of computer modems and communications software, you should
  5127.     be aware of several aspects that affect your modem, your software,
  5128.     and successful on-line operation.
  5129.  
  5130.     It seems that the most common problems we have encountered have to
  5131.     do with how or if the modem reports back on the status of the
  5132.     Carrier Detect (DCD or CD) signal.  That is, whether or not you are
  5133.     on-line, connected to another modem.  Also, how the modem responds
  5134.     to the Data Terminal Ready (DTR) signal from the terminal or PC.
  5135.  
  5136.     In many cases the modems we use have default or factory configura-
  5137.     tions that cause DCD to indicate that you are on-line at all times,
  5138.     even if there has been no connection made; and the modem acts like
  5139.     the terminal or software is active all of the time.
  5140.  
  5141.     This situation does not always prohibit proper communications, but
  5142.     it does make some operations inefficient, or causes error messages
  5143.     that are inaccurate.  Setting these and other parameters to the
  5144.     values we have shown below, or equivalent values specific to your
  5145.     modem, have resulted in very successful on-line operations for a
  5146.     great many users.
  5147.  
  5148.     You must also correlate some of the modem values to corresponding
  5149.     values in your communications software.  One value of particular
  5150.     note is the modem's S7 register.  The value in this register sets
  5151.     how long the modem waits for a carrier after dialing a call.  Most
  5152.     modems use 40 seconds as a default.  It is likely that your com-
  5153.     munications software also provides a Wait-For-Carrier parameter
  5154.     for its operation.
  5155.  
  5156.     If these two values are different, you may get unexpected results in
  5157.     originating calls.  Either the modem hangs-up before the call is
  5158.     established while the software is still waiting, or the software
  5159.     aborts the call origination before enough time has elapsed.  Setting
  5160.     the parameter at the modem S7 register does not set the value in
  5161.     your software, and setting the value in the software does not reset
  5162.     it for the modem.  There are a few other parameters that may exhibit
  5163.     this difference, so you should read the modem and software documen-
  5164.     tation carefully.
  5165.  
  5166.  
  5167.  
  5168.  
  5169. Version 2.6: 900426                           Appendices
  5170.  
  5171. COM-AND: IBM PC Communications and Accessories                 Page  89
  5172.  
  5173.  
  5174. M.    Modem initialization (continued)
  5175.  
  5176.  
  5177.     As annoying as it may seem to issue YET ANOTHER reminder about doc-
  5178.     umentation, it IS very helpful to read through it all, even if you
  5179.     think you will not understand or need it all, at first.  Once you
  5180.     have become familiar with what information is where you will be able
  5181.     to recognize problems and their solutions as they arise.  Many
  5182.     veteran users are pleasantly surprised
  5183.  
  5184.  
  5185.     Product R&D Corp.: (per Charlie)
  5186.     -----------------
  5187.       AT&C1S7=60S11=40V1X1
  5188.  
  5189.  
  5190.     MICROCOM 9624c: (per Mike, modified 891103)
  5191.     --------------
  5192.       Modem Init:    ATE1\C1\G0\J1\K5\N3\Q0&T5\V1V1\X1S0=0^M
  5193.       Dial Command: AT\N3DT
  5194.  
  5195.       Alt-P:    9600,N,8,1,COM1
  5196.       Alt-O:    Keyboard=ON
  5197.             Drop DTR=ON
  5198.       Alt-S:    Break Delay=250 ms
  5199.             Alarm Duration=3 sec
  5200.  
  5201.  
  5202.     Everex 2400 internal (older style?): (per Jim)
  5203.     -----------------------------------
  5204.       Switches 1 and 2 - as appropriate for COM 1,2,3 or 4
  5205.       Switches 3,4,5 - OFF (default)
  5206.       String = AT&D2S7=60^M (the &D2 sets proper DTR, can also be done
  5207.                  with S21=48 or S21=112 (default=96))
  5208.  
  5209.  
  5210.     Leading Edge 2400B half-size internal: (per Jim)
  5211.     -------------------------------------
  5212.       Switches 1 and 2 - COM 1,2,3,4 selection
  5213.       Switches 3,4,5,6 - OFF - default
  5214.       String = ATS7=60X3^M (there are no &... settings and no S21, DCD
  5215.                 and DTR are set by switches)
  5216.  
  5217.  
  5218.     Practical Peripherals 2400 half-size internal: (per Jim)
  5219.     ---------------------------------------------
  5220.       Switch on rear selects COM 1 or 2
  5221.       String = AT&C1&D2L0X3^M  (S21=117 is another way of doing &C1&D2)
  5222.  
  5223.  
  5224. Version 2.6: 900426                           Appendices
  5225.  
  5226. COM-AND: IBM PC Communications and Accessories                 Page  90
  5227.  
  5228.  
  5229. M.    Modem initialization (continued)
  5230.  
  5231.  
  5232.     Everex, Evercom 24+ (MNP): (per Mike)
  5233.     -------------------------
  5234.       Modem INIT string:  AT\N3\Q1\K5\V1\X1\C1^M
  5235.       Dialing Prefix:     AT\N3DT (\N3 forces the modem to MNP)
  5236.       Break Delay:          250 ms
  5237.       Drop DTR on Hangup: ON
  5238.  
  5239.  
  5240.     Ven-Tel Pathfinder 18k: (per Jim)
  5241.     ----------------------
  5242.       Init String: ATS0=0S7=60S51=5S52=1S53=1S58=2S66=1S95=2&W^M
  5243.  
  5244.       AutoAnswer Off/Wait 60secs for carrier/Serial Port at 19,200
  5245.       DTR active/DCD active/Hardware handshake/Lock Serial Port/Auto MNP
  5246.  
  5247.       With these settings set into the modem and written (&W) once the
  5248.       user can recall them (INIT) using AT&E^M, instead of the entire
  5249.       string. It is handy to place this string in a comm. program macro
  5250.       for later use, should the modem get reset to factory values or
  5251.       other events change the desired settings.
  5252.  
  5253.       FACTORY   Jim's     Function and Notes
  5254.       DEFAULT   Usage     about settings
  5255.       -------   -----     ------------------
  5256.       S0=1        S0=0      This depends on ORIG/ANSWER side
  5257.       S7=40     S7=60     Longer for some calls/systems...
  5258.       S45=0     S45=0     Keep disabled (0) for secure/support operations
  5259.       S50=0     S50=0     Auto-speed (starts high, allows other uses)
  5260.       S51=4     S51=5     19,200 VS. 9600 SERIAL LINE
  5261.       S52=0     S52=1     DTR must be active...
  5262.       S53=0     S53=1     DCD must be active...
  5263.       S58=3     S58=2     Hardware handshake is faster
  5264.       S61=45    S61=0-255 Speaker volume, =<45 is best.
  5265.       S66=0     S66=1     Lock serial speed, flow control
  5266.       S95=0     S95=2     Auto-reliable MNP mode
  5267.       S110=255  S110=255  Compression depends on other side
  5268.             S110=1    To control remote's compression ON
  5269.       S111=255  S111=255  Protocol depends on other side
  5270.             S111=10   KERMIT 8,n,1
  5271.             S111=20   XMODEM
  5272.             S111=30   UUCP
  5273.  
  5274.       Note : Only items with remarks need to be changed and re-written
  5275.       to the EEPROM ( with &W) vs. factory defaults. ATZ recalls all
  5276.       parameters to Factory defaults. AT&E recalls EEPROM values.
  5277.  
  5278.  
  5279. Version 2.6: 900426                           Appendices
  5280.  
  5281. COM-AND: IBM PC Communications and Accessories                 Page  91
  5282.  
  5283.  
  5284. N.    COM-AND's Backscreen
  5285.  
  5286.  
  5287.     This is not a defense.    It is offered in the way of a useful
  5288.     explanation, and even offers a solution to a problem (I hope!).
  5289.  
  5290.     COM-AND implements the 'backscreen' function (Alt-B) in an unusual
  5291.     manner.  Unlike most backscreen capable applications, when COM-AND's
  5292.     backscreen is invoked, the oldest text in the backscreen buffer is
  5293.     displayed.  Most backscreen functions display the most recent text
  5294.     first, allowing immediate access to what has scrolled off screen.
  5295.  
  5296.     Further, COM-AND only pages through the backscreen.  You cannot
  5297.     scroll its backscreen line-by-line.
  5298.  
  5299.     COM-AND's unusual backscreen is determined by three factors (ignoring
  5300.     its author's limitations, please).  The factors are:
  5301.  
  5302.     o    COM-AND allows the unformatted capture of text that has
  5303.         scrolled off the screen (with only the edits imposed by
  5304.         transcripting).
  5305.  
  5306.     o    COM-AND's backscreen is available to its accessories.  The
  5307.         text is displayed as if it had been received by the accessory
  5308.         itself.  Similarly, text received during an accessory is
  5309.         available later to COM-AND, and displayed as if COM-AND had
  5310.         received it.
  5311.  
  5312.     o    Other products may be used with COM-AND to provide a more
  5313.         usual manner of backscreen.
  5314.  
  5315.  
  5316.     The author would be pleased to discuss the tradeoffs implied by (1)
  5317.     dropping the capture buffer feature and accessory backscreen, or (2)
  5318.     implementing two backscreen buffers, one for capture, and another for
  5319.     display.
  5320.  
  5321.     For those who absolutely require a backscreen that displays the most
  5322.     recent text first, the author recommends FANSI heartily.  FANSI is
  5323.     discussed above (Appendix E).  FANSI is available commercially from
  5324.     its developer.    Buyers are given instruction on the use of its
  5325.     backscreen.  FANSI is so generally useful, that this author finds it
  5326.     difficult to use a machine without it.
  5327.  
  5328.     With FANSI (or some other backscreen capable system utility),
  5329.     COM-AND offers the best of both worlds:  immediate access to the
  5330.     oldest bufferred text (with capture), and immediate access to the
  5331.     most recent.
  5332.  
  5333.  
  5334. Version 2.6: 900426                           Appendices
  5335.  
  5336. COM-AND: IBM PC Communications and Accessories                 Page  92
  5337.  
  5338.  
  5339. O.    Customizing COM-AND
  5340.  
  5341.  
  5342.     Several methods are immediately available to customize COM-AND for
  5343.     particular purposes.  Some script authorship is required, but the
  5344.     result a communications program tailored to an exact application.
  5345.     Beyond customization of the existing COM-AND product, other custom-
  5346.     izations are possible and negotiable.
  5347.  
  5348.  
  5349.     1) COM-AND initialization
  5350.  
  5351.        When COM-AND is loaded, it performs an initialization process
  5352.        (opening the comm port, sending an init string, opening files, and
  5353.        so on).  After initialization, a shareware advertisement is dis-
  5354.        played (unless turned off in Alt-O).  After the advert, if a
  5355.        script named COM-AND.CMD is found in the current default subdirec-
  5356.        tory OR the "COM-AND=" environment variable indicated subdirec-
  5357.        tory, that script is executed.
  5358.  
  5359.        A simple COM-AND.CMD script may be created to display an opening
  5360.        screen, set options and values to your preference, and to offer an
  5361.        initial menu.  For example, a menu might be offered making func-
  5362.        tion key F1 dial a certain number, function key F3 enter COM-AND
  5363.        proper and function key F5 exit COM-AND back to DOS.
  5364.  
  5365.  
  5366.     2) COM-AND termination
  5367.  
  5368.        When COM-AND is terminated (either by Alt-X or through the script
  5369.        statement "BYE"), COM-AND tests for carrier (may be turned off by
  5370.        Alt-O or "SET CDRESPECT OFF").  If carrier is found (if tested), a
  5371.        prompt for hangup is issued.  After the carrier test, COM-AND
  5372.        tests to determine if an "exit script" has been established.  If
  5373.        an exit script has been named, COM-AND attempts to execute it.
  5374.  
  5375.        Exit scripts are defined through the script statement "SET EXIT".
  5376.        If the indicated file does not exist, COM-AND terminates.  If the
  5377.        indicated file exists, COM-AND executes it as a script.
  5378.  
  5379.        Upon Alt-X then, COM-AND may be customized to provide a menu of
  5380.        choices (e.g. dial another system, and a list of systems).  When
  5381.        established, the exit script determines if COM-AND is actually to
  5382.        terminate, or to continue.
  5383.  
  5384.  
  5385.  
  5386.  
  5387.  
  5388.  
  5389. Version 2.6: 900426                           Appendices
  5390.  
  5391. COM-AND: IBM PC Communications and Accessories                 Page  93
  5392.  
  5393.  
  5394. O.    Customizing COM-AND (continued)
  5395.  
  5396.  
  5397.     3) DOS after COM-AND
  5398.  
  5399.        An interesting feature of COM-AND's script language is the state-
  5400.        ment "STACK".  STACK places a string into the BIOS keyboard
  5401.        buffer.  An exit script might easily offer selections that invoke
  5402.        other programs through DOS.    For example, the script:
  5403.  
  5404.         SET TTHRU OFF        ; Turn off script typethrough
  5405.         STACK "DIR *.*!"        ; Set-up to execute a DOS DIR cmd
  5406.         BYE            ; Terminate com-and and do a DIR
  5407.  
  5408.        terminates COM-AND (without hanging up... be careful), and
  5409.        executes a DIR *.* through DOS.  More interesting things might
  5410.        be found, I'm sure, to do with DOS.... but the point is made.
  5411.  
  5412.     4) Keyboard remapping
  5413.  
  5414.        COM-AND maps the Alt'd and function keys on the PC keyboard in a
  5415.        manner consistent with (the author's experience of) common usage.
  5416.        Other maps for the PC keyboard may well be imagined.  The keyboard
  5417.        remap function (available through the REMAP.CMD script) makes it
  5418.        very possible to change the assignments.
  5419.  
  5420.        As the simplest example, COM-AND's F10 help window might be con-
  5421.        sidered inadequate (the author thinks it is...).  To change this
  5422.        sad state of affairs, the following remap might be created:
  5423.  
  5424.         F10 = 255 "HELP" CR
  5425.  
  5426.        This remap says in effect:  When the F10 key is pressed, COM-AND
  5427.        will see the character with value 255, the characters "H" "E" "L"
  5428.        and "P", and a CR.  255 as a character is documented above under
  5429.        Alt-M Macros.  The character 255 in COM-AND has the same function
  5430.        as F2 (run a script), but does not pop up a window and search the
  5431.        drive for all files *.CMD and *.ENF.  "HELP" would be interpreted
  5432.        by the 255 function as a script name (either HELP., HELP.CMD or
  5433.        HELP.ENF on the default or COM-AND= subdirectory).  The CR causes
  5434.        the 255 function to execute the script named HELP.
  5435.  
  5436.        So...  one might write one's own help window (see the help screens
  5437.        in FILEMGR or LEARN), call it HELP.CMD, put it in the COM-AND=
  5438.        subdir, and never see the author's idea of a HELP summary again.
  5439.        It might be paginated, indexed, what-have-you.
  5440.  
  5441.  
  5442.  
  5443.  
  5444. Version 2.6: 900426                           Appendices
  5445.  
  5446. COM-AND: IBM PC Communications and Accessories                 Page  94
  5447.  
  5448.  
  5449. O.    Customizing COM-AND (continued)
  5450.  
  5451.  
  5452.     5) Functional customization
  5453.  
  5454.        The author of COM-AND will customize a version of COM-AND for
  5455.        anyone licensing 30 or more copies of COM-AND (site license).
  5456.        This customization is limited to:
  5457.  
  5458.        .    Alt-I Information screen:  10 lines of the program informa-
  5459.         tion screen are devoted to a description of COM-AND and its
  5460.         accessories in the 'standard' edition.  CABER Software will
  5461.         encode any information a licensee (meeting the quantity
  5462.         restriction) requests in this space.  CABER Software will
  5463.         retain the last lines of the window for itself.
  5464.  
  5465.        .    Copyright statement upon termination: CABER software will
  5466.         change the program termination notice from:
  5467.  
  5468.             "Freely redistributable; R. Scott McGinnis <date>"
  5469.  
  5470.         to  "Licensed from CABER Software (all rights reserved),
  5471.              <date>, by: <licensee name>"
  5472.  
  5473.        .    Customization is limited to the current version of COM-AND.
  5474.         The same customization, applied to later releases of COM-AND
  5475.         may be had from CABER Software upon request, for a fee of
  5476.         $15.00 each release.  CABER Software will not automatically
  5477.         update customized versions.
  5478.  
  5479.  
  5480.        Other functional customizations are negotiable.
  5481.  
  5482.  
  5483.  
  5484.  
  5485.  
  5486.  
  5487.  
  5488.  
  5489.  
  5490.  
  5491.  
  5492.  
  5493.  
  5494.  
  5495.  
  5496.  
  5497.  
  5498.  
  5499. Version 2.6: 900426                           Appendices
  5500.  
  5501. COM-AND: IBM PC Communications and Accessories                 Page  95
  5502.  
  5503.  
  5504. P.    Command Index
  5505.  
  5506.  
  5507.     ------- Commands available in CRT and Accessory -------------
  5508.     -------------------------------------------------------------
  5509.     Key      Meaning                    Page
  5510.     --------- --------------------------------------------- -----
  5511.     F1      Switch between CRT and Accessory.        11,7-8
  5512.     F2      Perform a script                14,64
  5513.     F3      Set current disk/subdirectory         14,56
  5514.     F4      Set default download disk/subdirectory    14,51
  5515.     F5      ASCII upload.                 14,48
  5516.     F6      ASCII download.                14,50
  5517.     F7      Toggle logging (transcripting).        14,55
  5518.     F8      Toggle display of typed characters.        14,56
  5519.     F9      Toggle Log hold.                14,55
  5520.     F10      Help screen.                    11
  5521.     Alt-F10   DOS Gateway.                    11,60
  5522.     Alt-A      Toggle chat mode (on CRT screen)        16,56
  5523.     Alt-B      Redisplay (backscreen).            16,56
  5524.     Alt-C      Clear the screen.                11,57
  5525.     Alt-D      Dialing directory.                11,18-19
  5526.     Alt-E      Toggle echo (full/half duplex).        11,57
  5527.     Alt-F      File directory.                11,51
  5528.     Alt-G      Toggle blank line suppression         11,57
  5529.     Alt-H      Hangup.                    12,20
  5530.     Alt-I      Program information.                12
  5531.     Alt-J      Set screen colors                16,40
  5532.     Alt-K      Set KERMIT parameters             16,57
  5533.     Alt-L      Toggle 25/43 line modes            16,57
  5534.     Alt-M      Define a macro for Alt-0 through Alt-9.    12,21
  5535.     Alt-N      Encrypt/Decrypt a file            12,24
  5536.     Alt-O      Set program options.                12,33-40
  5537.     Alt-P      Comm Parameters.                12,31
  5538.     Alt-R      Redial the last number dialed.        12,20
  5539.     Alt-S      Setup.  Define initial program values.    12,27-30
  5540.     Alt-T      Elapsed time.                 13,58
  5541.     Alt-U      Annotate call-log                13,55
  5542.     Alt-V      Emulation, Translate, and Remap        61
  5543.     Alt-W      Playback                    16,58
  5544.     Alt-X      Exit the program.                13,58
  5545.     Alt-Y      Error information.                70
  5546.     Alt-Z      Toggle parity mask.                13,59
  5547.     Alt-0/9   Send a Macro.                 13,21
  5548.     PgUp      Begin an upload                15,41-51
  5549.     PgDn      Begin a download                15,41-51
  5550.     Ctl-End   Send a Break.                 11
  5551.     Ctl-PrtSc Toggle printer (LP1)                11
  5552.  
  5553.  
  5554. Version 2.6: 900426                           Appendices
  5555.