home *** CD-ROM | disk | FTP | other *** search
/ DP Tool Club 26 / CD_ASCQ_26_1295.iso / vrac / qcom320e.zip / QCOM.DOC < prev    next >
Text File  |  1995-08-13  |  96KB  |  1,870 lines

  1.  
  2.  
  3.  
  4.     QCOM
  5.     ---------------------------------------------------------------------
  6.     Version 3.20
  7.     May 1995
  8.  
  9.  
  10.  
  11.     Copyright 1990-1995 by RTFM Software and Richard W. Turenne
  12.     Winnipeg, Mb.  All Rights Reserved
  13.  
  14.  
  15.  
  16.     All users are granted a limited license to try QCom for a SINGLE 
  17.     thirty day evaluation period to determine its suitability.  Continuing 
  18.     use beyond 30 days requires registration. See LICENSE.DOC for specific
  19.     license restrictions.
  20.  
  21.  
  22.     QCom is USER SUPPORTED.  It is not Public Domain and is not free. 
  23.     If you decide to use this program, please show your support by 
  24.     registering it with the author.
  25.  
  26.  
  27.     Upon registration you will be shown how to utilize the user defineable 
  28.     functions.  You will be able to pre-define other external dos functions
  29.     or other external protocols, or batch files, and access them with a 
  30.     single keystroke.  Additionally, you will be able to eliminate the 
  31.     Shareware screen when QCom ends.  When you register, you will 
  32.     receive the latest version of QCom on diskette and can optionally 
  33.     order an illustrated manual. After registeration you are entitled to 
  34.     free technical support and may download and use updates as they 
  35.     are made available.  See the file REGISTER for registration details. 
  36.     To print the registration form, press ALT-P while at the Shareware
  37.     screen.
  38.  
  39.  
  40.  
  41.  
  42.  
  43.                                                                    Page 2 
  44.     System Requirements   
  45.     -------------------     
  46.     Minimum of one floppy drive, 512K or more memory, and a modem.   
  47.          
  48.          
  49.     QCom Features   
  50.     ------------- 
  51.     + Compact and VERY EASY to use.
  52.     + Easy Modem Setup.
  53.     + Modem finder.
  54.     + Mouse support.
  55.     + User Defined Main menu.
  56.     + Configurable Com Port IRQ and address.
  57.     + Easy Scripting. No programming experience required.
  58.     + Extensive help.
  59.     + Auto-Script maker.
  60.     + FIFO (16550) UART support.
  61.     + Transfer Protocols including Ascii, Xmodem, Xmodem1k, Ymodem,
  62.       YmodemG, Zmodem, B Plus and any externals.
  63.     + Terminal Emulation for TTY, ANSI, VT100.
  64.     + Auto download/upload triggering for ZModem.
  65.     + AutoSend, AutoHangup Timers and AutoEnd.
  66.     + Dialing Directory size limited only by available conventional        
  67.       memory.
  68.     + 500 line Scroll Back Buffer with text quoter.
  69.     + File tagging for batch Uploads.
  70.     + QCom Mail Processor offline mail reader.
  71.     + Function key and Alt-Key Macros.
  72.     + Mini-BBS QCom Host 
  73.  
  74.                                                                  Page 3 
  75.  
  76.     C H A P T E R   1                                       Installation
  77.     --------------------------------------------------------------------
  78.  
  79.  
  80.     To install QCom
  81.     ---------------
  82.     Insert the distribution disk in drive A:   (you may use B: instead if 
  83.     required)
  84.  
  85.         Type  "A:INSTALL"<Enter>   
  86.     
  87.     The Install program will prompt for a target Directory.  The default 
  88.     is C:\QCOM.   To accept,  press  <Enter>.  Or you may enter a directory 
  89.     of your choice. If the directory doesn't exist, Install will create it 
  90.     prior to copying its' files.  The Install program will also create 
  91.     the other directories required for QCom Host within the directory you 
  92.     have chosen.
  93.  
  94.     If you are reinstalling or upgrading QCom, the Installation will not 
  95.     overwrite any pre-existing configuration files or Phone files.
  96.  
  97.     After installing the programs,  QCom will automatically execute and 
  98.     begin the next stage: Setup and configuration which is described in the 
  99.     next chapter.
  100.                                                                  
  101.                                                                   Page 4 
  102.     C H A P T E R   2                                         Quick Start
  103.     ---------------------------------------------------------------------
  104.  
  105.     For Experienced Users:
  106.     ---------------------
  107.     QCom will automatically enter the Options screen during first time 
  108.     installation.  If you're an experienced user and are already familiar 
  109.     with your hardware settings you can directly edit the Com Port and 
  110.     Modem initialization string here. 
  111.  
  112.     If you are unsure of how to setup the various settings refer to section 
  113.     called  Using the Menus to Configure QCom in Chapter 3.
  114.  
  115.       Options Screen:
  116.  
  117.                             Edit :C:\QCOM\QCOM.CFG
  118.     +----------------------------------------------------------------------+
  119.     |4                          ; Modem Com Port                           |
  120.     |57600                      ; Baud rate                                |
  121.     |N                          ; Parity (Also  : Odd, Even, Mark, Space)  |
  122.     |8                          ; Data bits                                |
  123.     |1                          ; Stop bits                                |
  124.     |AT&F^M~AT&C1&D2&K3&Q5%C1S36=7^M ; Initialization String               |
  125.     |1                          ; init on Carrier. 1=Ask, 0=don't ask.     |
  126.     |AT&Q5\N3DT                 ; Dialing prefix                           |
  127.     |AT&Q6\N0DT                                                            |
  128.     |00                         ; International Dialing Prefix             |
  129.     |+                          ; character for International Prefix       |
  130.     |*70,                       ; disable call waiting string              |
  131.     |+++^M~~~ATH0^M             ; Hang-up string                           |
  132.     |CONNECT                    ; String returned  upon connection         |
  133.     |NO CARRIER                 ; String returned for no carrier           |
  134.     |NO DIALTONE                ; String returned  for no dial tone        |
  135.     |BUSY                       ; String returned  when phone is busy      |
  136.     |RTS                        ; Flow control (also :RTS, NON)            |
  137.     |ANSI                       ; Default terminal emulation (TTY or ANSI) |
  138.     |65                         ; Timeout for connect                      |
  139.     |5                          ; Redial pause                             |
  140.     +----------------------------------------------------------------------+
  141.                     F1:Menu        F10:Save        ESC:Exit
  142.  
  143.     Before running QCom verify the following settings are correct:
  144.       - Com Port  
  145.       - Modem Initialization String
  146.       - Upload/Download/Script directories
  147.  
  148.     The remainder of the Options can probably be left at the default
  149.     settings while you try out QCom for the first time.
  150.   
  151.                                                                   Page 5 
  152.     C H A P T E R   2                                         Quick Start
  153.     ----------------------------------------------------------------------
  154.  
  155.     Editing Options
  156.     ---------------
  157.     Many of the options QCom uses can be set by direct editing in the 
  158.     Options screen.  Each line displayed represents a separate option. 
  159.     Some lines may contain multiple options. Each line may have a 
  160.     descriptive comment preceded by a semi-colon (";").  All text which 
  161.     follows the last semi-colon is regarded as a comment by QCom and 
  162.     is ignored.  This  means you may have more than one semi-colon on 
  163.     a line if needed.  Do not change the order or sequence of the options.
  164.  
  165.  
  166.     Setting Non-Standard Com Ports
  167.     ------------------------------
  168.     On line 1 after the Com Port number  add  /I=n /A=a     
  169.     (where n = the desired IRQ number and a = the desired port address 
  170.     in decimal). 
  171.       Example:
  172.           4    /I=3 /A=744                    ; Com Port 
  173.  
  174.     Hex to decimal Conversion:
  175.         Port    Hex     Decimal
  176.         ----    ----    -------
  177.         Com1    03F8    1016
  178.         Com2    02F8     760
  179.         Com3    03E8    1000
  180.         Com4    02E8     744
  181.  
  182.     Special Character codes in QCom Options   
  183.     ---------------------------------------
  184.     "^" - Control symbol.  Example: "^M" is used to represent Control-M or          
  185.           Carriage Return.
  186.     
  187.     "|"     - Sends a Carriage Return to the modem.  
  188.     
  189.     "~"     - A half-second pause. Typically used to allow the modem time 
  190.         to execute  commands in the initialization string.  Some modems 
  191.         need more time than others.  The pause is executed by QCom and the
  192.         modem will not actually receive the "~" character.   
  193.  
  194.     Saving Changes
  195.     --------------
  196.     When finished editing, save your changes with F10.   Qcom will resume 
  197.     and attempt to initialize the modem.  Wait a few moments while the 
  198.     modem is being initialized. Once the modem initializes properly, you 
  199.     may proceed to the section on Dialing in Chapter 5.  If an error 
  200.     message occurs refer to the Trouble Shooting section for possible 
  201.     solutions.
  202.                                                                   Page 6 
  203.     C H A P T E R   3                               Configuration Overview
  204.     ----------------------------------------------------------------------
  205.  
  206.     Using the Menus to Configure QCom
  207.     ---------------------------------
  208.     To access the Pull-Down Menus, press F1 while in the Options Screen 
  209.     Selecting from the various menus may assist you in setting your Com 
  210.     Port, Modem type and any other options you wish.  Note the status 
  211.     line at the bottom displays a line describing each menu function
  212.  
  213.     Menu Descriptions
  214.     -----------------
  215.  
  216.     File Menu
  217.     ---------
  218.     Load File           - Allows the loading of alternate configuration 
  219.                         files. Since QCom can be setup with multiple 
  220.                         configurations, this feature allows easier 
  221.                         maintenance of different configuration files.
  222.  
  223.     Save File           - Saves options into the currently loaded 
  224.                         configuration file. by default this file is called 
  225.                         QCOM.CFG.
  226.  
  227.     Save File As        - Saves options into configuration file which 
  228.                         can be specified prior to saving. This is useful 
  229.                         when creating alternate configurations.
  230.  
  231.     Exit                - Exits QCom Configuration and returns to QCom 
  232.                         or the DOS prompt depending on how it was started.
  233.  
  234.  
  235.     Edit Menu
  236.     ---------
  237.     Edit QCom.CFG       - Edit the configuration file in its' entirety
  238.     Paths               - Edit the paths options only
  239.     FileNames           - Edit the Filename options only
  240.     Modem Strings       - Edit the Modem Return Strings only
  241.     Dialing Prefixes    - Edit the Dialing Prefixes only
  242.  
  243.  
  244.     Modem Menu
  245.     ----------
  246.     Port Settings       - Set all communications options here.  See 
  247.                         section called Communication Port Settings in 
  248.                         Chapter 4.
  249.     Modem Setup         - Select modem configuration from a list of over 
  250.                         400 modems.   See section called Modem Setup in 
  251.                         Chapter 4.
  252.     Find Modem(s)       - Helps find which Com port the modem is on.
  253.     Init on CD          - Option to initialize the modem when a carrier 
  254.                         is detected upon startup.  When checked, QCom 
  255.                         will initialize without prompting and when not 
  256.                         checked, QCom will prompt before initializing.
  257.                                                                   Page 6 
  258.     C H A P T E R   3                               Configuration Overview
  259.     ----------------------------------------------------------------------
  260.  
  261.     Dialing Menu
  262.     ------------
  263.     Maximum Redials     - Sets the number of times QCom will  attempt a 
  264.                         connection before stopping.  Set this value to 
  265.                         zero to have unlimited redials.
  266.     Connect TimeOut     - Time limit in seconds before commencing a redial.  
  267.     Redial Pause        - Duration of pause between redials in seconds. 
  268.  
  269.  
  270.     Terminal Menu
  271.     -------------
  272.     Colors              - Screen colors can be set here.
  273.     Emulation           - Select Terminal  emulation. 
  274.     Sound/Music         - Toggle sound effect support on or off.
  275.     Bios Video          -  Output to screen using the BIOS.  
  276.  
  277.     Options Menu
  278.     ------------
  279.     AutoBaud Detect     - Automatically adjusts modem speed to match Host 
  280.                         speed. Most modern modems do this internally.  
  281.                         Normally leave this disabled unless your modem 
  282.                         requires it.
  283.     Display Directory   - Automatically display Dialing Directory on startup.
  284.     Sort Directory      - When enabled, sorts the Dialing Directory entries 
  285.                         alphabetically.
  286.     Show User Menu      - When enabled, this displays the User Menu when 
  287.                         QCom is started.  
  288.     Printer             - Selects the default printer port.
  289.     AutoSend Timeout    - AutoSend will send a carriage return to the host 
  290.                         after the timeout period.  This will prevent the 
  291.                         host from disconnecting  because of keyboard 
  292.                         inactivity when you must step away from the computer 
  293.                         while on-line.  Timeout of zero disables this 
  294.                         feature.
  295.     AutoHangUp Timeout  - AutoHangUp will disconnect the modem if the 
  296.                         keyboard is inactive past the time-out period.  
  297.                         Zero will disable the feature.
  298.     AutoEnd             - AutoEnd will end QCom when an AutoHangUp occurs.
  299.     Line Pacing         - The time delay in milliseconds between lines 
  300.                         when sending a file via ASCII Upload (Alt-U).
  301.     Character  Pacing   - The time delay in milliseconds between characters 
  302.                         when sending a file via ASCII Upload (Alt-U).
  303.  
  304.     Protocols Menu
  305.     --------------
  306.     Protocol Prompt     - When enabled, will prompt the user for a 
  307.                         protocol before commencing a file transfer.  If 
  308.                         disabled, a file transfer will start immediately 
  309.                         upon receiving the command to begin.
  310.     Xfer Options        - File Transfer protocol options. For more details 
  311.                         see the section called Protocol Options in Chapter 4.
  312.     AutoDownload        - When enabled, QCom will commence downloading when 
  313.                         it receives the download string from the Host. 
  314.     AutoUpload          - When enabled, QCom will prompt for a file to 
  315.                         upload after it receives the upload command string 
  316.                         from the Host. After a file is selected the transfer 
  317.                         will commence.
  318.                                                                   Page 7 
  319.     C H A P T E R   3                               Configuration Overview
  320.     ----------------------------------------------------------------------
  321.  
  322.     Keyboard Menu
  323.     -------------
  324.     Function Keys       - Allows editing Function Key definitions called 
  325.                         Macros. See the section Function Keys Macros in 
  326.                         Chapter 7.
  327.     Alt-Keys            - Allows editing Alt-Key definitions.  See the 
  328.                         section called Adding Alt-Key Macros in Chapter 7. 
  329.                                                                   Page 8 
  330.     C H A P T E R   4                                       Configuration
  331.     ----------------------------------------------------------------------
  332.  
  333.     Communication Port Settings
  334.     ---------------------------
  335.     To set QCom system default Com port settings permanently, select the 
  336.     Port Settings choice under the Modem Menu in QCom Configuration.
  337.  
  338.     Changing an option is simply a matter of pressing the highlighted 
  339.     letter to select the option desired.   Alternately, you can click 
  340.     the options with your mouse.  When finished, press Enter or click 
  341.     the "Done" button with the mouse.  Qcom will save the new settings. 
  342.     To exit without saving changes press ESC.
  343.     
  344.  
  345.     Modem Setup
  346.     -----------
  347.     Select Modem Setup under the Modem Menu  in QCom Configuration.  
  348.     A list of over 400 modems will be displayed.  Select the modem which 
  349.     most closely matches your modem and press Enter or double click with 
  350.     the mouse left button.  This will update the modem initialization 
  351.     string.  See the next paragraph if your modem is not listed.
  352.  
  353.     Modem Initialization Strings
  354.     ----------------------------
  355.     Modem settings are critical to the correct operation of both QCom 
  356.     and your modem.  The initialization string is a series of commands 
  357.     which the modem understands.  When Qcom starts it sends this string 
  358.     to the modem to establish the settings needed.  In most cases the 
  359.     default factory settings will do the job nicely.  QCom does have a 
  360.     few requirements  where modem settings are concerned, however.   
  361.     If your modem is not listed in the Modem list the following 
  362.     Initialization string may get you going if your modem is Hayes 
  363.     compatible:
  364.  
  365.       AT&F^M  AT &C1 &D2 Q0 V1 X4^M 
  366.  
  367.     This will set up the factory defaults and certain settings for Qcom.
  368.  
  369.     File Transfer Protocols
  370.     -----------------------
  371.     Transfer protocols are used as a method of flow-control and error  
  372.     checking when transferring files.  These protocols may be specified 
  373.     when adding to the Dialing Directory.   The use of ZModem protocol 
  374.     is recommended if  the host computer has the option available.   
  375.     QCom will default to using the built-in protocol unless an external 
  376.     protocol is otherwise specified when editing the Dialing Directory 
  377.     or just prior to starting a file transfer.
  378.  
  379.     Adding/Editing File Transfer Protocols 
  380.     --------------------------------------
  381.     Select XFer Options under the Protocols Menu in QCom Configuration. 
  382.     To edit an existing entry, select it using the arrow keys.  
  383.     Press "E".   To Add a new entry, select a blank entry marked 
  384.     with "*******".  The sample below  shows ZModem options.
  385.  
  386.                                                                   Page 9 
  387.     C H A P T E R   4                                       Configuration
  388.     ----------------------------------------------------------------------
  389.  
  390.     Adding/Editing File Transfer Protocols Continued
  391.     ------------------------------------------------
  392.  
  393.                          QCom Configuration
  394.    File  Edit  Modem  Dialing  Terminal  Options  Protocols  Keyboard
  395.                                                 +------------------+
  396.                                                 | _Protocol Prompt |
  397.                                                 |  XFer Options    |
  398.                                                 | _Auto-DownLoad   |
  399.                                             +- Transfer Protocols --+    
  400.                                             |  Zmodem               |       
  401.     +------------------------- EDIT Protocol Options ----------------------+
  402.     | +--------------------------------------------------------------------+ 
  403.     | | Menu Name      : Zmodem                                            |
  404.     | | Program Name   : QZ.EXE                                            |  
  405.     | | D/L Options    : rz -rm                                            |  
  406.     | | U/L Options    : sz -rm                                            |  
  407.     | | AutoDL/UL [Y/N]: Y                                                 |  
  408.     | | AutoDL String  : **B00                                             |  
  409.     | | AutoUL String  : **B01                                             |  
  410.     | | Pause [Y/N]    : N                                                 |  
  411.     | +--------------------------------------------------------------------+ 
  412.     |                  F10:Save                 ESC:Exit                   |
  413.     +----------------------------------------------------------------------+
  414.                            Add and Configure Protocols
  415.  
  416.     QCom ZModem Options
  417.     -------------------
  418.     The following is a list of available ZModem options.  QCom comes 
  419.     with preset options and in most cases it will not be necessary to 
  420.     change any settings.  Following is a list of available options:
  421.  
  422.     -r          Receive a file.  This switch must come last. 
  423.     -s          Send a file.   This must be the last switch. 
  424.     -p          Send or accept complete path names. 
  425.     -b####      Specify the CONNECT baud rate 
  426.     -l####      Specify a locked baud rate. 
  427.     -h          Hardware  flow control  (RTS/CTS). 
  428.     -i          Ignore absence of carrier detect signal.  
  429.     -v          Disable serial I/O  during disk writes. 
  430.     -w####      Transmit window size (must be a multiple of 128). 
  431.     -x          Escape all  control characters. 
  432.     -x#         Escape specific control characters  
  433.     -6          Force use of 16 bit CRC.  
  434.     -y          overrides received filename 
  435.  
  436.     File exists options.     
  437.     -e0         Do not download. 
  438.     -e1         Resume at the end of current file (default). 
  439.     -e2         Download the file as a separate file. 
  440.     -e3         Overwrite the existing file. 
  441.  
  442.     16550 related switches: 
  443.     -d          Do not  enable 16550  FIFO   mode.  
  444.     -t#         Characters per interrupt (range 1 to 16).  
  445.     -m          Disable modem status register interrupts.  
  446.                                                                   Page 10 
  447.     C H A P T E R   4                                        Configuration
  448.     ----------------------------------------------------------------------
  449.  
  450.     Adding/Editing File Transfer Protocols Continued
  451.     ------------------------------------------------
  452.     QCom comes with protocol settings for the popular external file 
  453.     transfer program called DSZ by Omen Technology.  This is provided 
  454.     for the convenience of those who use DSZ and for illustrative 
  455.     purposes for those who wish to add other external protocols. If you 
  456.     wish to use this protocol it will be necessary to obtain a copy 
  457.     from the normal shareware channels. It is NOT supplied with QCom.
  458.  
  459.     Protocol Options
  460.     ----------------
  461.     Menu Name       -The Protocol name which appears in the Protocol list.
  462.     Program Name    -Program name to execute.
  463.     D/L Options     -Command line options when downloading (receiving files)
  464.     U/L Options     -Command line options when uploading (sending files)
  465.     AutoD/L  Y/N    -Enable/Disable automatic file transfers
  466.     AutoD/L String  -Command string which triggers download
  467.     AutoU/L String  -Command string which triggers upload
  468.     Pause Y/N       -Wait for user input before returning to QCom after                      
  469.                      transfer.
  470.  
  471.  
  472.     Setting Colors
  473.     --------------
  474.     To set QCom system colors, select the Colors choice under the 
  475.     Terminal Menu QCom Configuration. Select the screen element from 
  476.     the Screen Elements list box using the arrow keys or mouse.  Use 
  477.     the TAB key (or mouse) to move between Screen Elements list and 
  478.     the Color Chart.  Use arrow keys while in the Color Chart to select 
  479.     colors.  Each new color selected will update the sample screen to 
  480.     show the effects of your changes.  Press Enter when done to 
  481.     save changes.  Press ESC to quit without saving.
  482.                                                                   Page 11 
  483.     C H A P T E R   5                                  Dialing Directory
  484.     ----------------------------------------------------------------------
  485.     Adding Dialing Entries
  486.     ----------------------
  487.     The Dialing Directory stores data about the online services you use.  
  488.     Before dialing, you must first add entries to the list.  All Dialing 
  489.     Directory commands can be activated by clicking on the buttons with 
  490.     the mouse, or by pressing the high-lighted letter key.
  491.  
  492.     +------------------------- Dialing Directory --------------------------+
  493.     | #    Name                 Phone                 Comments             |
  494.     +----------------------------------------------------------------------|
  495.     | 1  | RTFM Software BBS   |1-204-632-5675       |QCom SUPPORT BBS     |
  496.     |    |                     |                     |                     |
  497.     |    |                     |                     |                     |
  498.     |    |                     |                     |                     |
  499.     |    |                     |                     |                     |
  500.     |    |                     |                     |                     |
  501.     |    |                     |                     |                     |
  502.     |    |                     |                     |                     |
  503.     |    |                     |                     |                     |
  504.     |    |                     |                     |                     |
  505.     +----------------------------------------------------------------------|
  506.     |   <A>dd    <E>dit    <C>lone   <D>elete   <M>anual     <O>thers      |
  507.     |   <- :Dial    SPACE:Tag/Untag    <U>ntag all     ESC:Exit            |
  508.     +----------------------------------------------------------------------+
  509.  
  510.     Adding entries to the Directory is straightforward.  Press "A" and the 
  511.     Editing Dialing Entry screen will appear:
  512.  
  513.     +-------------------------- EDIT Dialing Entry -----------------------+
  514.     |  + Host Information ---------------------------------------------+  |
  515.     |  | Name       : RTFM Software BBS                                |  |
  516.     |  | Phone No.  : 1-204-632-5675                                   |  |
  517.     |  | Comments   : QCom SUPPORT BBS                                 |  |
  518.     |  | Dial Prefix: 1                           Last Online :        |  |
  519.     |  | Password   :                             Total Calls : 0      |  |
  520.     |  +---------------------------------------------------------------+  |
  521.     |  + Communication Settings ---------------------------------------+  |
  522.     |  | Protocol   : ZModem                Parity   : N               |  |
  523.     |  | Baud Rate  : 2400                  Data Bits: 8               |  |
  524.     |  | Emulation  : ANSI-BBS              Stop Bits: 1               |  |
  525.     |  +---------------------------------------------------------------+  |
  526.     |  + Session Options --------------+  + File Names ----------------+  |
  527.     |  | [ ] Echo On     [ ] AutoBaud  |  | Macro    :                 |  |
  528.     |  | [ ] Add LF      [X] AutoDL/UL |  | Script   :                 |  |
  529.     |  | [ ] Capture                   |  | Capture  :                 |  |
  530.     |  +-------------------------------+  +----------------------------+  |
  531.     |              F10:Save                             ESC:Exit          |
  532.     +---------------------------------------------------------------------+
  533.     
  534.     QCom will fill many of the fields with your system default settings. 
  535.     System default settings are changed in the Options screen.   
  536.  
  537.     When editing, use the Arrow keys, TAB key, ENTER key and/or  mouse to 
  538.     select fields to edit.  With phone numbers, you can have multiple or 
  539.     Alternate numbers. To add or edit Alternate numbers, press ALT-A  and 
  540.     the Alternate list will pop up allowing you to add/edit numbers.  
  541.     (Tip: The bottom status line will display a reminder prompt)
  542.                                                                   Page 12 
  543.     C H A P T E R   5                                    Dialing Directory
  544.     ----------------------------------------------------------------------
  545.  
  546.     Adding Dialing Entries Continued... 
  547.     -------------------------------- 
  548.     On some fields, popup lists will display available choices. For example, 
  549.     Protocol and Baud Rates will appear as popup lists.  Select your choice 
  550.     with arrow keys and press Enter (or double click left mouse button).  
  551.     Note:  The Script list allows you to press ESC to allow you to enter 
  552.     the name of a script not found on the list.  The Script list is a 
  553.     listing of the script files located in the Script subdirectory specified 
  554.     in QCom's Options screen. 
  555.      
  556.     As a bare minimum, QCom needs a host name and phone number in order to 
  557.     dial.   If the system default settings are correct, you may save your 
  558.     entry with F10 and proceed to Dialing. 
  559.      
  560.     Session Options 
  561.     Session Options can be toggled on or off by pressing the Space Bar when 
  562.     the cursor is positioned at one of the check boxes.  Here's what they do: 
  563.     
  564.     Echo On     -must be enabled when the host computer does not "echo back" 
  565.                 your keystrokes. 
  566.     Add LF      -adds a linefeed to each incoming line. Use this when 
  567.                 incoming lines  appear to overwrite each other. 
  568.     Capture     - to capture your session to disk, this must be enabled.  
  569.                 Additionally, a capture file name must be specified in 
  570.                 the File Names box. 
  571.     AutoBaud    -detects host connect baud rate and adjusts the modem speed 
  572.                 accordingly.   Most modem modems do NOT need this enabled. 
  573.     AutoDL/UL   -When enabled, will start file transfers upon receipt of the 
  574.                 appropriate command string from the host.  
  575.      
  576.     File Names 
  577.     Macro       -this allows you to specify a file which contains any 
  578.                 Function Key macros.  If no file is specified, QCom will 
  579.                 load QCom.MAC by default. 
  580.     Script      -if a script file is specified it will load when the Dial 
  581.                 command is executed in the Dialing Directory.  The script 
  582.                 will begin executing after connection to the host is 
  583.                 successful. 
  584.     Capture     -the file in which to store captured text.  The Capture 
  585.                 option must also be enabled.  Tip: If you need to capture 
  586.                 raw, unfiltered data,  append the " /A" switch after the 
  587.                 filename. 
  588.                                                                   Page 13 
  589.     C H A P T E R   5                                    Dialing Directory
  590.     ----------------------------------------------------------------------
  591.  
  592.     Editing Dialing Entries 
  593.     -----------------------
  594.     To edit an entry, select it using the arrow keys or mouse to highlight 
  595.     a choice.  Once selected, press "E".  The Edit screen will be displayed.  
  596.     Editing is performed in the same manner as when adding an entry. 
  597.      
  598.     Clone 
  599.     This will create a duplicate of the selected entry. 
  600.      
  601.     Delete 
  602.     This will delete the selected entry after asking for confirmation. 
  603.      
  604.     Manual 
  605.     This will permit manual entry of a phone number for immediate dialing 
  606.     using the system default settings. 
  607.      
  608.     Others 
  609.     Displays other information columns. 
  610.      
  611.     Dialing 
  612.     To dial, select the host using the arrow keys or mouse to highlight a
  613.     choice.  (HOT TIP: Pressing ALT and a letter will put the cursor on the 
  614.     first line beginning with that letter.) Once selected, press ENTER to 
  615.     dial.  During dialing the Dialing Status box will be displayed: 
  616.  
  617.     +----------------------------- DIALING -----------------------------+
  618.     | +-----------------------------------+ +-------------------------+ |
  619.     | | Host Name: RTFM Software BBS      | | Last On   :             | |
  620.     | | Phone    : 1-204-632-5675         | | Times On  : 0           | |
  621.     | +-----------------------------------+ +-------------------------+ |
  622.     | +-----------------------------------+ +-------------------------+ |
  623.     | | Dialing  : ATDT1-204-632-5675     | | Time Left : 55 secs     | |
  624.     | | Result   :                        | | Attempts  : 1           | |
  625.     | +-----------------------------------+ +-------------------------+ |
  626.     |                 SPACE:Next                ESC:Exit                |
  627.     +-------------------------------------------------------------------+
  628.     
  629.     Dialing will continue until a connection is successful or until 
  630.     interrupted by a Space Bar or ESC keystroke.  Once connected, Qcom will 
  631.     return to the Terminal screen for interaction with the Host. 
  632.  
  633.     Tag/Untag 
  634.     Marks/unmarks one or more entries for multiple dialing.  Qcom will dial 
  635.     marked entries until each have been connected or until user 
  636.     intervention.   
  637.      
  638.     Untag All 
  639.     Unmarks any marked entries. 
  640.      
  641.     The Dialing Directory  can be as large as you like and there is no 
  642.     preset restriction to the number of entries.  If needed, you can have 
  643.     multiple Directory files and load a different file at startup using the 
  644.     "/P" command line switch.  See the section Command Line Switches in 
  645.     Chapter 6. 
  646.                                                                   Page 14
  647.     C H A P T E R   6                                         Running QCom
  648.     ----------------------------------------------------------------------
  649.  
  650.     Command Line Switches 
  651.     --------------------- 
  652.     Command line:  
  653.     QCOM [/Sfilename.SCR] [/Cfilename.CFG] [/Pfilename.FON] [/B]   
  654.      
  655.     Optional  Command Line Parameters 
  656.     In addition to specifying a script,  the user can specify an alternate 
  657.     configuration file and an alternate phone directory file.   This allows 
  658.     network users to have CFG and FON files tailored to their individual 
  659.     needs.    
  660.         
  661.     Command line Switches are:    
  662.         /S      - load and execute script file    
  663.         /C      - load alternate configuration file    
  664.         /P      - load alternate phone directory    
  665.         /B      - force monochrome   
  666.      
  667.     The options may be in any order.  The switches (/S,/C,/P) must NOT have 
  668.     a space preceding the filename.  When the command line options are not 
  669.     used, QCom defaults to QCom.CFG and QCom.FON.    
  670.         
  671.        
  672.     QCom Status Line Detail    
  673.     ----------------------------------------------------------------------   
  674.     Alt-Z:Help SEC  Host system name     Online 05:55:55 Z COM1:2400N8   
  675.     ----------------------------------------------------------------------   
  676.         |       ||||         |                |       |     |       |   
  677.         |       ||||         |                |       |     |       |   
  678.     Commands    ||||         |                |       |     |       |   
  679.     Script on -- |||         |                |       |     |       |   
  680.     Echo On ----- ||         |                |       |     |       |   
  681.     Capture On --- |         |                |       |     |       |   
  682.     Alarm Off -----          |                |       |     |       |   
  683.     Host name ---------------                 |       |     |       |   
  684.     Carrier status ---------------------------        |     |       |   
  685.     Time connected -----------------------------------      |       |   
  686.     Transfer protocol --------------------------------------        |   
  687.  ]  Com│ Γication tort, √Ñud, pa≤ity andñdaΘa╛ts -
  688.  
  689.    
  690.     C H A P T E R   6                                         Running QCom
  691.     ----------------------------------------------------------------------
  692.  
  693.     Command Reference 
  694.     -----------------    
  695.     ALT-A:    
  696.     Toggles the sound and music support on or off.    
  697.     ALT-B:    
  698.      Allows the user to scroll back up to 500 lines of received data.    
  699.     See the section called Scroll-Back Screen later in this chapter . 
  700.     ALT-C:    
  701.     Communication parameters can be modified here.  See Communication 
  702.     Port Settings in Chapter 4. These changes remain in effect until 
  703.     changed again or until QCom ends.     
  704.     ALT-D:    
  705.     Displays the dialing directory.  Use the arrow keys to select  a number 
  706.     and ENTER to dial that number.  Other keys that are  PGUP, PGDN, HOME 
  707.     and END.  HOT TIP: Pressing ALT and a letter will put the cursor on the 
  708.     first line beginning with that letter.   See Chapter 5 for more 
  709.     information aboout the Dialing Directory. 
  710.     ALT-E:    
  711.     Toggles local echo on or off.  This is used when the host does not echo 
  712.     back the characters that you enter on the keyboard.  An "E" is 
  713.     displayed in the left-hand box on the Status Line when local echo is 
  714.     on.    
  715.     ALT-F:   
  716.     Toggles adding linefeeds to incoming and outgoing lines.  Use this when 
  717.     incoming lines appear to overwrite each other. 
  718.     ALT-G:    
  719.     Toggles output to printer on and off.  Sends all incoming text the 
  720.     printer.  Make sure the printer has paper and is online.    
  721.     ALT-H:    
  722.     Sends the hang-up string to the modem and toggles DTR to hang-up the 
  723.     phone. 
  724.     ALT-I:    
  725.     Will save the current screen image to a text file as specified in the 
  726.     QCom.CFG file.  Default filename is QCOM.SCN which can be changed in 
  727.     Options  (use ALT-O).    
  728.     ALT-J:    
  729.     Allows shelling out to DOS without ending QCom.  External programs can 
  730.     be executed while online. 
  731.     ALT-K:  
  732.     Switches between ANSI (VT100) and TTY terminal emulation. 
  733.     ALT-L:    
  734.     Toggles the "Capture" or logging function.  If on, all incoming text  
  735.     will be saved in a file named as specified in the Options.   The 
  736.     default files is QCOM.CAP.  If the file  does not exist in the default 
  737.     directory, it will be created.  Otherwise data is  appended to the 
  738.     existing capture file.  A "C" is displayed in  the left-hand box on the 
  739.     Status Line when capture is on.    
  740.     ALT-M:    
  741.     Sends the modem initialization string to the modem.      
  742.     ALT-N:    
  743.     Split-screen which separates incoming text and outgoing keystrokes 
  744.     during a "chat" session.    
  745.                                                                   Page 16
  746.     C H A P T E R   6                                         Running QCom
  747.     ----------------------------------------------------------------------
  748.  
  749.     Command Reference Continued 
  750.     --------------------------- 
  751.     ALT-O:    
  752.     Brings up the Options Screen . See Chapters 3 and 4 for more 
  753.     information on Options and Configuration 
  754.     ALT-P:    
  755.     Sends the current password from an entry of the Dialing Directory when 
  756.     you have dialed and connected to that host.    
  757.     ALT-Q:    
  758.     Load and execute a script.    
  759.     ALT-R:    
  760.     Re-dials the last phone number dialed when no entries are "Tagged".  
  761.     Otherwise QCom will continue dialing "Tagged" entries. 
  762.     ALT-S:    
  763.     Toggles the Script Save function.  See the Script section for more 
  764.     information on making and using scripts.    
  765.     ALT-T:    
  766.     Allows changing of the transfer protocol currently in effect.  
  767.     ALT-V:    
  768.     Allows the use of an external editor or file viewer.  The editor (or 
  769.     file viewer) of choice is defined in Options.    
  770.     ALT-U:    
  771.     Will send a text file to the host with no error-checking.  For example, 
  772.     you might use it when sending a message to an electronic mail service.  
  773.     Instead of editing the message online, you can prepare your message in 
  774.     advance.  Once online, go to the message editing screen on the host and 
  775.     then use ALT-U to upload your file.  Use this method when uploading   
  776.     to an editor which cannot handle uploading with the faster ASCII 
  777.     protocol.
  778.     ALT-W:    
  779.     Wipes the screen clear.    
  780.     ALT-X:    
  781.     Ends QCOM.    
  782.     ALT-Y:    
  783.     Starts Host Mode.  See the Chapter on Running Host Mode. 
  784.                                                                   Page 17
  785.     C H A P T E R   6                                         Running QCom
  786.     ----------------------------------------------------------------------
  787.  
  788.     Command Reference Continued 
  789.     ---------------------------
  790.     ALT-Z:    
  791.     Displays the following Command Help screen. 
  792.  
  793.     Command Help Screen 
  794.     +------------------- QCom  3.xx  Commands ---------------------------+
  795.     |  + ----------------------------------------------------+           |
  796.     |  | Alarm on/off.......Alt-A   Split Screen.......Alt-N |           | 
  797.     |  | Scroll Back........Alt-B   Options/Config.....Alt-O | Status    |
  798.     |  | Com Parameters.....Alt-C   Send Password......Alt-P |           |
  799.     |  | Dialing............Alt-D   Queue Script.......Alt-Q | Alarm     |
  800.     |  | Local Echo on/off..Alt-E   Redial Last........Alt-R | Baud 2400 |
  801.     |  | Add LF on/off......Alt-F   Script Save on/off.Alt-S | Parity N  |    
  802.     |  | Print on/off.......Alt-G   Transfer method....Alt-T | Data  8   |
  803.     |  | Hang-up modem......Alt-H   Ascii Upload.......Alt-U | Echo      |
  804.     |  | Save screen Image..Alt-I   View/Edit File.....Alt-V | LF        |
  805.     |  | Shell to DOS.......Alt-J   Wipe screen........Alt-W | Print     |  
  806.     |  | Terminal type......Alt-K   End QCom...........Alt-X | Term      |
  807.     |  | Capture on/off.....Alt-L   Host Mode..........Alt-Y | Capture   |
  808.     |  | Initialize Modem...Alt-M   Commands...........Alt-Z |           |
  809.     |  |                                                     | FIFO  o   |
  810.     |  | Send Break......Ctrl-End   F-Key Macros.....Ctrl-F1 | DCD   o   |
  811.     |  | Receive files.......PgDn   Alt-Key Macros...Ctrl-F2 | CTS   o   |
  812.     |  | Send files..........PgUp   Doorway mode.......Alt-= | DSR   o   |
  813.     |  |              User Menu......Alt-Space               |           |
  814.     |  +-----------------------------------------------------+-----------+
  815.     |       F1:Help         Select Command         ESC:Exit              |
  816.     +--------------------------------------------------------------------+ 
  817.  
  818.     PGUP:    
  819.     Uploads (sends) a file to the other system.  See the section called 
  820.     Transferring Files in later in this Chapter. 
  821.     PGDN:    
  822.     Downloads (receives) a file from the host computer. See the section 
  823.     called Transferring Files later in this Chapter. 
  824.     ALT-=:    
  825.     Toggles "Doorway" mode.  This removes the status line when in Doorway 
  826.     mode and gives full screen display for using remote  applications.  
  827.     Allows you to make full use of all keys while online.  All Alt-key 
  828.     combinations except ALT-= are sent out and their usual functions are 
  829.     disabled in this mode.   For example, PgUp, PgDn, Home, End and the 
  830.     cursor key codes are transmitted.  Status line and all key functions 
  831.     are restored when Doorway mode is turned off. 
  832.  
  833.                                                                   Page 18
  834.     C H A P T E R   6                                         Running QCom
  835.     ----------------------------------------------------------------------
  836.      
  837.     Command Reference Continued 
  838.     --------------------------- 
  839.     ALT-Minus:    
  840.     Enables/disables debugging during script execution.  The Status Line 
  841.     displays the next line of text which the current script is waiting for.
  842.     ALT-Space: 
  843.     Enables the user defined Main menu when at the terminal screen.   For 
  844.     more information see the section called User Menu Setup in Chapter 4. 
  845.     Ctrl-END    
  846.     Sends Break signal to host.  Used for terminating some mainframe 
  847.     connections.    
  848.     Definable macro keys. Use them to send text or to execute a script 
  849.     command. See the section   
  850.     F1-F10:    
  851.     Definable macro keys.  Use macro keys to send text to the host or to 
  852.     execute script commands.  See the section Function Key Macros in 
  853.     Chapter 7. 
  854.     Ctrl-F1    
  855.     Displays the "Function Key Macros" as they appear in the last macro 
  856.     file to be loaded.  If macros are "Named" then the display will show 
  857.     them as "buttons" above the Status Line. 
  858.     Ctrl-F2    
  859.     Displays current status of the "Alt Key Macros". 
  860.      
  861.     Scroll-Back Screen 
  862.     In Terminal mode, when text scrolls off the screen it can be viewed or 
  863.     otherwise manipulated in the ScrollBack Screen.  Qcom can display up to 
  864.     the last 500 lines of text received. 
  865.      
  866.     Available Commands 
  867.     <F>ind      -Find text contained in the Scroll-Back  
  868.     <S>ave      -Saves all text contained in the Scroll-Back to disk 
  869.     <E>rase     -Erases all text contained in the Scroll-Back 
  870.     <Q>uote     -Select lines of text.  Selected lines may be saved to 
  871.                  disk, printed or sent to the host. 
  872.  
  873.                                                                   Page 19
  874.     C H A P T E R   6                                         Running QCom
  875.     ----------------------------------------------------------------------
  876.     
  877.     Transferring Files 
  878.     ------------------
  879.     Sending (Uploading) and receiving (Downloading) files between computers 
  880.     involves the use of File Transfer Protocols.  A protocol is simply a 
  881.     method of monitoring transfer progress and error checking of the 
  882.     transferred data.  There are many protocols in use today each has a 
  883.     different approach to getting files moved from one place to another.  
  884.     QCom includes some of those most commonly used. 
  885.      
  886.     When selecting a protocol it makes sense to use one that is both fast 
  887.     and reliable.  ZModem is such a protocol and it is recommended as your 
  888.     first choice if the host computer supports it.   When  setting 
  889.     protocols, ensure that the host protocol matches the one chosen at your 
  890.     end.  Protocols absolutely do not mix.   If you have initiated a 
  891.     transfer and nothing happens then double check protocol settings at 
  892.     both ends of the connection.  
  893.      
  894.     Downloading 
  895.     If XModem  or YModem are the protocols selected, press PGDN to initiate 
  896.     the transfer. You'll be prompted to  enter the filename to receive.  
  897.     QCom tries to guess the filename based on recently entered text and 
  898.     places its' guess at the prompt. If ZModem is selected, entry of 
  899.     filenames is not required and in fact, pressing PGDN is not required if 
  900.     AutoDL is enabled.  QCom will start ZModem automatically when it 
  901.     receives the Zmodem Receive string.    
  902.      
  903.                                                                   Page 20
  904.     C H A P T E R   6                                         Running QCom
  905.     ----------------------------------------------------------------------
  906.      
  907.     Transferring Files Continued 
  908.     ---------------------------- 
  909.     Uploading 
  910.     Press PGUP to initiate the transfer.  You will be prompted to enter a 
  911.     filename to upload.  The file can be preceded by a path only if NO 
  912.     upload path is specified in Options.  If using a batch type protocol 
  913.     (one that can send multiple files, ZModem or YModem for example), when 
  914.     prompted for a file,  press ENTER  with any global file specification 
  915.     (e.g. *.* ).  The QCom File Manager containing filenames based on that 
  916.     specification will be displayed: 
  917.    
  918.     +------------------------ Qcom File Manager ------------------------+
  919.     |  +-------------------------------------------------------------+  |
  920.     |  |Path: C:\QCOM\*.*                                            |  |
  921.     |  +-------------------------------------------------------------+  |
  922.     |  +---------------------------------------------+                  |
  923.     |  |  ..                                         |   | F1:Help  |   |
  924.     |  |  [-A-]                                    _ |                  |
  925.     |  |  [-B-]                                      |   |  Copy    |   |
  926.     |  |  [-C-]                                    _ |                  |
  927.     |  |  areas.hos         908 12-13-94 03:18a    _ |   | Delete   |   |
  928.     |  |  bye.hos          1223 12-13-94 03:18a    _ |                  |
  929.     |  |  features.doc      824 12-13-94 03:18a    _ |   | Rename   |   |
  930.     |  |  file_id.diz       345 12-13-94 03:18a    _ |                  |
  931.     |  |  files.doc        2388 12-13-94 03:18a    _ |   |  View    |   |
  932.     |  |  foncon.exe       5009 12-13-94 03:18a    _ |                  |
  933.     |  |  hello.hos        3246 12-13-94 03:18a    _ |   |  Edit    |   |
  934.     |  |  help.hos         2038 12-13-94 03:18a    _ |                  |
  935.     |  |  install.exe     13667 12-13-94 03:18a    _ |   | <-+:Done |   |
  936.     |  |  menu.hos         1842 12-13-94 03:18a    _ |                  |
  937.     |  |  qb.exe           7958 12-13-94 03:18a      |   | ESC:Exit |   |
  938.     |  +---------------------------------------------+                  |
  939.     |                                                                   |
  940.     +-------------------------------------------------------------------+ 
  941.     Simply use the cursor keys to select a files and select (Tag) them by 
  942.     pressing the SPACE Bar.  When finished tagging, press ENTER and QCom 
  943.     will upload all the files selected.   
  944.  
  945.                                                                   Page 21
  946.     C H A P T E R   6                                         Running QCom
  947.     ----------------------------------------------------------------------
  948.     
  949.     Transferring Files Continued  
  950.     ----------------------------
  951.     During a file transfer, the progress status will be displayed in the 
  952.     following display. 
  953.     File Transfer Screen 
  954.     +-------------------------- SENDING Zmodem ---------------------------+
  955.     |  + Current File ----------------------------------------+ File Total|
  956.     |  | File Name     :                                      |  _ 100% _ |
  957.     |  | File Size     :              Bytes Moved:            |  _  -   _ |
  958.     |  | Estimated Time:                                      |  _  -   _ |  
  959.     |  | Elapsed Time  :                                      |  _  -   _ |
  960.     |  | File CPS      :                                      |  _  -   _ |
  961.     |  +------------------------------------------------------+  _  -   _ |
  962.     |  + Batch Status ----------------------------------------+  _  -   _ |
  963.     |  | Expected Files:              Files Moved:            |  _  -   _ |
  964.     |  | Expected Bytes:              Bytes Moved:            |  _  -   _ |
  965.     |  | Estimated Time:                                      |  _  50% _ |
  966.     |  | Elapsed Time  :              Average CPS:            |  _  -   _ |
  967.     |  +------------------------------------------------------+  _  -   _ |
  968.     |  + Messages --------------------------------------------+  _  -   _ |
  969.     |  | RQINIT           HEX      00000000          0        |  _  -   _ |
  970.     |  | RQINIT           HEX      00000000          0        |  _  -   _ |
  971.     |  +------------------------------------------------------+  _  -   _ |
  972.     |                               ESC:Exit                     _  0%  _ |
  973.     +---------------------------------------------------------------------+ 
  974.                                                                   Page 22 
  975.     C H A P T E R   7                                               Macros
  976.     ----------------------------------------------------------------------
  977.    
  978.     Function Key Macros
  979.     -------------------
  980.     Macros can do two things. They can send text to the host and they can 
  981.     execute script commands.  Since a script command can, among other 
  982.     things, execute any DOS command or batch file, function key macros can
  983.     be as simple or complex as needed.
  984.     
  985.     To aid in remembering which Function Key is assigned to which macro,
  986.     Macro "Buttons" can optionally be displayed on screen. Each macro
  987.     can be assigned a descriptive name which will be shown in the 
  988.     on-screen "button".  (Once a macro file is loaded, you can toggle the 
  989.     macro "button" display with CTRL-F1.)
  990.     (A sample macro file is included in  the distribution called QCom.MAC.
  991.     You may want to print it out and have it handy while reading this.)
  992.     
  993.     To maintain backward compatibility, we've kept the Macro Names feature 
  994.     optional. If there is no name associated with a macro, then it will not 
  995.     appear as one of the buttons on screen but it will still work.
  996.  
  997.     Macro File Layout:  (Text within the [ ] brackets is optional)
  998.     
  999.     [<Macro Name>]         !Script Command      [; comments]
  1000.     [<Macro Name>]         Text to send         [; comments]
  1001.  
  1002.     In the following example, the password for the current Dialing
  1003.     Directory Entry will be sent to the Host when F1 is pressed, 
  1004.     and my name when F2 is pressed. The "buttons", "Password" and
  1005.     "Name" will appear on screen when CTRL-F1 is pressed. It should be
  1006.     remembered that screen space is a limited resource. 10 long macro 
  1007.     names cannot fit across the screen, so keep the names short.  
  1008.  
  1009.     Example:
  1010.     <Password>       !A-P               ;F1  send password with script cmd.
  1011.     <Name>           Richard Turenne^M  ;F2  Send my name to host       
  1012.     <Exit>           !A-X               ;F3  End QCom
  1013.     <Mail>           !A-Q  Mail.SCR     ;F4  Run a script to download mail
  1014.  
  1015.     Note the "!" telling QCom to execute ALT-P rather than send "!a-P".
  1016.     Also note no space characters can be included within the name
  1017.     portion of the macro.
  1018.     
  1019.     You can edit the sample Macro file to suit your requirements and make 
  1020.     duplicate copies under other filenames to be edited for use with specific
  1021.     Dialing Entries. The default Macro is named in QCom.CFG. This macro file
  1022.     will load when QCom is started or when you dial an entry without a 
  1023.     specified macro file. 
  1024.     Each macro file can have ten lines. The lines relate directly
  1025.     to the function key it is assigned to.  That is, line one will be 
  1026.     assigned to F1, line 2 to F2 and so on to line 10 assigned to F10.
  1027.     If you wish to leave unassigned Function keys, then leave the line blank.
  1028.     
  1029.     Control codes can be sent with the use of the "^" character.   
  1030.     Example:        "^[" = an escape character   
  1031.                     "^M" = a carriage return   
  1032.                     "|"  = a carriage return
  1033.                                                                   Page 23 
  1034.     C H A P T E R   7                                               Macros
  1035.     ----------------------------------------------------------------------
  1036.  
  1037.     User Defined Main Menu 
  1038.     ---------------------- 
  1039.     The User Defined Main Menu allows the user to setup the most frequently 
  1040.     used Qcom tasks on one menu.  The figure below shows the sample Main 
  1041.     Menu supplied with QCom.  To  popup the menu press ALT-SPACE.  To add, 
  1042.     remove or change the menu  items is simply a matter of editing the text 
  1043.     file called  QCom.MNU.   The menu operates using script commands.  Each 
  1044.     menu item consists of a pair of lines in the menu file.  The first line 
  1045.     of each pair will appear on the menu list and the second line is the 
  1046.     script command.   
  1047.  
  1048.                         +----- User Menu ------+
  1049.                         | Call RTFM BBS        |
  1050.                         | Dialing Directory    |
  1051.                         | QCom Mail Processor  |
  1052.                         | Configure QCom       |
  1053.                         | Host Mode            |
  1054.                         | Edit this Menu       |
  1055.                         | Exit QCom            |
  1056.                         +----------------------+
  1057.     
  1058.      
  1059.     Contents of sample QCom.MNU text file: 
  1060.          
  1061.         Call &RTFM BBS      
  1062.         ;DIAL RTFM
  1063.         Dialing Directory 
  1064.         ;a-D 
  1065.         QCom &Mail Processor 
  1066.         ;DOS QMP 
  1067.         Configure QCom  
  1068.         ;A-O 
  1069.         Host Mode 
  1070.         ;A-Y 
  1071.         &Edit this Menu 
  1072.         ;DOS QE QCom.mnu 
  1073.         E&xit QCom 
  1074.         ;A-X 
  1075.  
  1076.     Explanation of first menu choice from the menu sample:
  1077.      
  1078.     Call &RTFM BBS     - this line appears on the Menu itself.  The "&"  
  1079.                         precedes the  "HotKey" character to be highlighted  
  1080.                         on the menu. 
  1081.     ;DIAL RTFM         - the script command that performs the action. 
  1082.      
  1083.     For more information on Script commands see Chapter 8. 
  1084.  
  1085.                                                                   Page 24 
  1086.     C H A P T E R   8                                              Scripts
  1087.     ----------------------------------------------------------------------
  1088.  
  1089.     Scripts    
  1090.     -------
  1091.     Scripts are used for automating repetitive tasks such as dialing, 
  1092.     logging in to an online service, and transferring files or retrieving 
  1093.     electronic mail.  A script is generally made up of a series of commands 
  1094.     for QCom to execute at the appropriate time.  The script can tell QCom 
  1095.     to send text to the host or it can make QCom execute one of its' 
  1096.     internal functions.    
  1097.      
  1098.     Many communication programs provide powerful script functionality at 
  1099.     the expense of ease of use.  As a result most users never even attempt 
  1100.     to create their own scripts and thus are paying for something they 
  1101.     can't use.  Qcom attempts to restore some ease of use back into 
  1102.     scripting.  You do not need to be a computer programmer to create and 
  1103.     edit and modify your very own QCom scripts. 
  1104.     
  1105.     Steps To Making A Script    
  1106.     QCom has a built-in Script-Save feature to simplify the creation of 
  1107.     scripts.  When saving a script, QCom saves every line of incoming text 
  1108.     on which the user is prompted for input and which is terminated with a 
  1109.     carriage return ( by pressing the ENTER key).  Any line that prompts 
  1110.     the user but does not require the ENTER key to be pressed, will not be 
  1111.     saved in the script.  Such lines would have to be manually added into 
  1112.     the script with a text editor.    
  1113.  
  1114.     To create a typical login script you would do the following:    
  1115.     1.  From the Dialing Directory dial the chosen host.    
  1116.     2.  When the host answers and immediately after the Dialing box clears, 
  1117.         press Alt-S to start the script saver.  It will prompt you to enter 
  1118.         the name of your script.  If, for   example, you're calling 
  1119.         CompuServe, you could name it CIS.SCR.    
  1120.     3.  QCom will save each line of incoming text which prompts you for 
  1121.         input.  For example the host may prompt you...    
  1122.                ENTER YOUR FULL NAME :    
  1123.         To which you respond by typing in your name and pressing ENTER when 
  1124.         the name is complete.  Always type entries in, don't use Function 
  1125.         key macros when saving a script. If/when prompted topress "ANY" key 
  1126.         always press ENTER.  QCom will store the host's prompt, and the text 
  1127.         you have entered in the script. (Note: with BBS software that has 
  1128.         "HotKey" menu choices where the user is not required to press ENTER 
  1129.         after selecting a choice, QCom will not be able to save the line 
  1130.         unless you press ENTER. There is no way for QCom to know when it 
  1131.         should save a line and which line to save when using "HotKeys".  
  1132.         When saving a script, temporarily disable the Hotkey feature at 
  1133.         the BBS end.) 
  1134.     4.  QCom will also store any internal commands you give it.    
  1135.     5.  When you wish to stop saving a script press Alt-S again.    
  1136.     6.  To have this new script execute when you call this number again, 
  1137.         add the name of your new script into that entry in the Dialing 
  1138.         Directory. The next time you dial that number the script will be 
  1139.         loaded and executed.    
  1140.  
  1141.                                                                   Page 25
  1142.     C H A P T E R   8                                              Scripts
  1143.     ----------------------------------------------------------------------
  1144.  
  1145.     QCom Script Format 
  1146.     ------------------
  1147.     A QCom script is a text file which contains the script lines.  Each 
  1148.     line will consist of  either a script command or simply a "Text In / 
  1149.     Text Out" line.  Most script commands are exact duplicates of the Alt-
  1150.     Key Commands used elsewhere in QCom.  The commands Alt-A through Alt-Z 
  1151.     can be used in scripts by simply entering "A-" to represent ALT, 
  1152.     followed by the key letter.  Other script commands are provided to add 
  1153.     functionality and they are descibed in more detail in the section 
  1154.     called Script Command Reference, later in this chapter.    
  1155.  
  1156.     In a script the semi-colon is all important.  Its position in the line 
  1157.     tells QCom whether  the line is a command, or a "Text In / Text Out" 
  1158.     line.  Its absence tells Qcom the line is a comment and the line will 
  1159.     be ignored.   The following is a script which contains several examples 
  1160.     of a typical script lines you might create. 
  1161.  
  1162.     A Sample script:  
  1163.           This line is only a comment. QCom will ignore it. 
  1164.           Here's a script command.  Put a message on screen.    
  1165.           ;ECHO ^M This is the start of my first script! ^M    
  1166.           Another command. Use an ALT command to Capture the session to       
  1167.           file.txt    
  1168.           ;a-L c:\capture\file.txt    
  1169.           Here's a "Text In / Text Out" line. Note the semi colon separates 
  1170.           incoming from outgoing 
  1171.           What is your full name?;John Doe^M 
  1172.      
  1173.           Sends password from the Directory entry we just dialed    
  1174.           Password (Dots will echo)?;a-P    
  1175.           Scan Message Base Since 'Last Read' (Enter)=yes;^M    
  1176.           Press (Enter) to continue;^M    
  1177.           
  1178.           Receive (downloading) a file    
  1179.           min. left) Main Board Command?;d^M    
  1180.           Filename to Download (Enter)=none?;file.arc^M    
  1181.     
  1182.           downloads "file.arc"    
  1183.           ;D/L file.arc    
  1184.           Press (Enter) to continue;^M    
  1185.           Goodbye    
  1186.           min. left) Main Board Command?;g^M    
  1187.         
  1188.           Give hangup command    
  1189.           ;a-H Y    
  1190.         
  1191.           Execute another script    
  1192.           ;a-Q MyBBS.SCR    
  1193.           
  1194.     See the file QCOM.SCR included with QCom for more script examples.  In 
  1195.     order to use a script automatically, put the name of the script file 
  1196.     in the SCRIPT field in the Dialing Directory entry.   
  1197.                                                                   Page 26
  1198.     C H A P T E R   8                                              Scripts
  1199.     ----------------------------------------------------------------------
  1200.  
  1201.     Command Line Scripts    
  1202.     --------------------
  1203.     Command line scripts allow you to start Qcom, dial a number, transfer 
  1204.     files, hangup and end Qcom automatically.    
  1205.         
  1206.     To execute this script from the commandline use the following command:    
  1207.     "QCom /SMyScript.scr"    (where MyScript.scr is a script previously 
  1208.     created) 
  1209.         
  1210.     The "/S" tells QCom that the following is the name of a script to 
  1211.     execute. You must use the full script filename. When a script is 
  1212.     executing you will see an upper case "S" on the Status line.o 
  1213.     Command Line Scripts    
  1214.      
  1215.     To start a script at any time use the ALT-Q command.  To stop script 
  1216.     execution at any time,  press ALT-S.      
  1217.      
  1218.     When your script dials a directory entry that has another script 
  1219.     specified, the second script will be ignored.  You can, however,  call 
  1220.     another script by using the ALT-Q command.    
  1221.           (e.g. ";a-Q ANOTHER.SCR").    
  1222.  
  1223.  
  1224.     Most Script commands consist of shorthand for the command keystrokes  
  1225.     you would use when running QCom.  The ALT-Key commands that QCom 
  1226.     understands can be entered into a script with  ";a-" followed by the 
  1227.     letter you wish to use. E.g. ALT-P would be ";a-p".    
  1228.     Commands are not case sensitve. 
  1229.         
  1230.     Exceptions: ALT-- (ALT-Minus) and ALT-= cannot be saved or executed in 
  1231.     a script.    
  1232.  
  1233.     The following are script commands that may be manually added to 
  1234.     scripts.  These are not  included in scripts created with Script-Save.    
  1235.         
  1236.     "ANY"     - used to send a given response to text that is received 
  1237.     repeatedly.    
  1238.     e.g.        ;ANY Press any key;^M .   
  1239.     Whenever "Press any key" is received, a carriage return will be sent. 
  1240.     This will remain in effect until the ANY command is used again  in 
  1241.     the script to specify   new incoming text.    
  1242.     e.g.        ;ANY    
  1243.     This effectively "turns off" a previous ANY command. QCom  will no 
  1244.     longer respond to the previously specified incoming text.    
  1245.     
  1246.     "DEBUG ON" -used in script debugging. The Status line shows which line 
  1247.     of incoming text the script is waiting for. This allows you to compare 
  1248.     a script line to actual received text to check for spelling errors or 
  1249.     typos in cases where a script is not working properly.   Pressing ALT-V 
  1250.     during a debug session will load your script into your editor so you 
  1251.     can make corrections on the fly.    
  1252.  
  1253.     "DEBUG OFF" -disables the debug function.    
  1254.      
  1255.     "ECHO"      -prints text on the local screen.    
  1256.     e.g.        ;ECHO Please wait. Auto Logon in progress...    
  1257.     Text can be colorized and positioned on screen using ANSI escape codes.    
  1258.  
  1259.                                                                   Page 27
  1260.     C H A P T E R   8                                              Scripts
  1261.     ----------------------------------------------------------------------
  1262.     
  1263.     Scripts Commands Continued 
  1264.     --------------------------    
  1265.     "LOG"      - will save date, hostname, start time and duration of calls 
  1266.     in optional specified filename. If no log file is specified, QCom 
  1267.     defaults to "USAGE.LOG".    
  1268.     e.g.        ;LOG CIS.LOG    
  1269.     This would store a log of calls to CompuServe. Also provided is a 
  1270.     utility to total the    
  1271.     durations of calls, named QTT.EXE. Usage: QTT LogFile.    
  1272.     
  1273.     "WAIT"     - will pause the execution of a script for a specified 
  1274.     number of seconds.  E.g. ";WAIT 5"  will pause everything for five 
  1275.     seconds.  Do not pause for too long if you expect to have incoming data 
  1276.     during this time.  Hitting any key will terminate a pause and continue 
  1277.     the script.    
  1278.         
  1279.     "DOS"      Allows you to shell to Dos and execute batch files or 
  1280.     whatever.  Use the /WAIT switch after the commandline if you wish to 
  1281.     pause the display before returning to QCom.    
  1282.     e.g.        ;DOS vampire.bat /WAIT    
  1283.      
  1284.     "GOTO"    To branch to another part of the script.    
  1285.     e.g.        ;GOTO Label 1    
  1286.             When this text is received;GOTO Label 2    
  1287.      
  1288.     "ASK"     Used to get user input from the keyboard.  This will display 
  1289.     your "User Prompt" in a box and wait for user input.  When the user 
  1290.     presses Enter, QCom will compare the user's input to the text in 
  1291.     "Answer". If it is the same then the script will go to the "Label". 
  1292.     Otherwise the script will continue with the next line. Use commas to 
  1293.     separate the prompt, answer and label.     
  1294.     Usage: ;ASK User Prompt ,Answer,Label     
  1295.     e.g.    ;ASK Download your mail? (Y/N) ,Y,DownLoad Mail    
  1296.             ;GOTO No Download    
  1297.             :DownLoad Mail    
  1298.      
  1299.     "CALL"    To go to another part of the script and execute until the 
  1300.     RET (Return) command is encountered. It returns to the line following 
  1301.     the Call. Calls can be nested 255 levels.    
  1302.     e.g.        When this text is received;CALL Label 3    
  1303.             or...    
  1304.             ;Call Label 3    
  1305.             ;END    
  1306.             :Label 3    
  1307.             Look for this text;send something^M    
  1308.             ;RET    
  1309.  
  1310.     "RET"     As above, used to return from a CALL. A RET must not be 
  1311.     executed unless a CALL has been executed first. RET cannot be used with 
  1312.     GOTO. 
  1313.     Usage: ;RET 
  1314.                                                                   Page 28
  1315.     C H A P T E R   8                                              Scripts
  1316.     ----------------------------------------------------------------------
  1317.     
  1318.     Scripts Commands Continued 
  1319.     --------------------------
  1320.     "T/O"     Timeout for incoming text.  A given timeout value will apply 
  1321.     to any script line waiting for incoming text which follows the T/O 
  1322.     command. 
  1323.     
  1324.     To enable timeout use: ;T/O Seconds 
  1325.     To disable timeout use: ;T/O 0 
  1326.     e.g.    ;T/O 10    
  1327.         Wait for text for 10 seconds;Send if received before 10 secs 
  1328.         Otherwise wait for this for 10 seconds;...etc. 
  1329.     Disable timeout: 
  1330.     ;T/O 0 
  1331.     
  1332.  
  1333.     "END"    Used to stop script execution.    
  1334.     e.g.    ;END    
  1335.             or...    
  1336.             When this text is received;END     
  1337.      
  1338.     "ENQ"     Have QCom do something upon receiving an ENQ character (^E).   
  1339.     A typical use would be when transferring a file on Compuserve using    
  1340.     the QuickB or B Plus protocol. The following example shows how to have 
  1341.     QCom  shell out to OZBext (an external QuickB protocol) to transfer a 
  1342.     file on Com port 2 when the ENQ character is received.    
  1343.     E.g.        ENQ;DOS OZBext /c2 /x     
  1344.     After QCom receives this ENQ it stops looking for further ENQ's. 
  1345.     Scripts Commands Continued 
  1346.      
  1347.     "TAG" Used for tagging or marking Dialing Directory entries for  
  1348.     dialing. 
  1349.     e.g.        ;TAG PCUG  
  1350.     QCom will tag or mark all Dialing Directory entries starting with   
  1351.     "PCUG". To tag only one of several entries with similar names it is  
  1352.     necessary to have something unique in the name you wish to tag. 
  1353.     e.g.        ;TAG PCUG Node 1 
  1354.      
  1355.     Note : To dial entries which have been tagged with the above TAG 
  1356.     command,  use the DIAL command without a specified name. 
  1357.     e.g.        ;TAG PCUG 
  1358.                 ;DIAL 
  1359.     This will cause QCom to dial all tagged entries until a connection is 
  1360.     made. 
  1361.  
  1362.     "UNTAG" QCom will untag all marked Dialing entries. 
  1363.     e.g.        ;UNTAG 
  1364.      
  1365.     "DIAL"      -dials the entry specified.     E.g. ;DIAL CompuServe 
  1366.     "U/L"       -uploads the specified file     E.g. ;U/L Myfile.Zip 
  1367.     "D/L"       -downloads the specified file   E.g. ;D/L Myfile.Zip 
  1368.     "BREAK"     -sends a BREAK signal to the host  E.g. ;BREAK    
  1369.      
  1370.     Labels:    
  1371.     Like labels in batch files, a label is preceded by a colon and can 
  1372.     consist of one or more words or numbers.  No semi colon is used as in 
  1373.     other script lines.    
  1374.     e.g.        :Label 1    
  1375.                 :Label 2    
  1376.  
  1377.                                                                   Page 29
  1378.     C H A P T E R   8                                              Scripts
  1379.     ----------------------------------------------------------------------
  1380.     
  1381.     Scripts Commands Continued 
  1382.     --------------------------
  1383.     Semi-Colons 
  1384.     In a QCom script, the semicolon is all important. It divides each line 
  1385.     into incoming and outgoing text. Lines beginning with a semi-colon are 
  1386.     commands that QCom will execute (such as an ALT-Key command).   Also 
  1387.     note that only the first semi-colon is used as a divider. Subsequent 
  1388.     semicolons are treated as regular text.    
  1389.         
  1390.     Any line of text in a script with no semicolon or colon is ignored by 
  1391.     QCom and can be used as a comment line for clarification when viewing 
  1392.     or editing the script. 
  1393.     
  1394.     Script execution takes place only in the terminal screen. If your 
  1395.     script executes something like ALT-B (ScrollBack) or ALT-Z (Help), 
  1396.     manual input will be necessary to return to the terminal screen to 
  1397.     continue script execution.    
  1398.         
  1399.     Final Note on Scripts  
  1400.     When saving a script, incoming phone noise may be saved during a 
  1401.     session and will have to be edited out before using the script.  It's 
  1402.     wise to double-check a newly created script for any unwanted 
  1403.     characters.  Password entry is a typical place where corrections may
  1404.     need to be made, especially if you manually typed your password rather 
  1405.     than pressing ALT-P. Any text editor can be used to edit or create a 
  1406.     script file. 
  1407.  
  1408.                                                                   Page 30
  1409.     C H A P T E R   9                                            QCom Host
  1410.     ----------------------------------------------------------------------
  1411.     QCOM HOST
  1412.  
  1413.     INSTALLING HOST
  1414.     ---------------
  1415.     If you haven't already installed QCom Host, you can do so with
  1416.     the INSTALL utility provided. INSTALL will set up all the necessary
  1417.     subdirectories and copy files to the correct locations.  QCom 
  1418.     Host relies on these directories in order to function properly.
  1419.      
  1420.     STARTING HOST from within QCom
  1421.     ------------------------------
  1422.     Press ALT-Y.  QCom will end and execute the QComHost.Bat batch
  1423.     file which will start QCom Host. When QCom Host is ended, QCom
  1424.     will be re-run.
  1425.  
  1426.     STARTING HOST from outside of QCom
  1427.     ----------------------------------
  1428.     To start QCom Host execute the program called QCHost.EXE.  
  1429.     At the DOS prompt type, "QCHOST"<Enter>.
  1430.  
  1431.     Running QCom Host
  1432.     -----------------
  1433.     QCom Host will initialize the com port and modem as setup in
  1434.     the QCom.CFG file and then will wait for incoming calls.
  1435.     QCom Host is always either waiting for a call or online with a
  1436.     caller (either local or remote).
  1437.  
  1438.     Available keyboard commands are...
  1439.         While waiting for a caller:
  1440.                 <Enter> - Local Mode
  1441.                 <ESC>   - to End Host
  1442.         While online with a caller:
  1443.                 <ALT-J> - Shell to DOS
  1444.                 <ALT-H> - Hangup on caller
  1445.                 <ALT-X> - End Host
  1446.                 
  1447.      
  1448.     Setting up QCom Host
  1449.     QCom Host provides you with many ways to configure Host to suit
  1450.     your requirements.  You may have an "OPEN" system where anyone can 
  1451.     call in, or a "CLOSED" system where you completely control who has 
  1452.     access. In a Closed system no caller will be able to log in 
  1453.     without previously being added to the Users.DAT file by the Sysop. 
  1454.  
  1455.     Before attempting to change anything, perhaps it's better to get 
  1456.     a feel for the Host by running it in Local Mode.  
  1457.     
  1458.                                                                   Page 31
  1459.     C H A P T E R   9                                            QCom Host
  1460.     ----------------------------------------------------------------------
  1461.  
  1462.     To enter Local Mode, press <ENTER> while waiting for incoming calls.
  1463.     QCom Host will display the same login screens callers will 
  1464.     see when they dial in.  By default, you will be prompted for Name, 
  1465.     Password and other information. (This level of initial login 
  1466.     information is configurable and can be increased or decreased to 
  1467.     suit your needs. This is described in more detail in a later section.
  1468.     You may also wish to change the appearance or contents of some or 
  1469.     all of the screens.)
  1470.  
  1471.     The first time you log in to a new host installation, QCom Host 
  1472.     will assume you are the System Operator (SYSOP) and assign you the 
  1473.     Sysop's security level. This information is stored in a file called
  1474.     USERS.DAT.  All user information stored in this file can be viewed
  1475.     or modified with the utility provided called QCUSER.EXE (see the
  1476.     section Host Utilities for more info).
  1477.  
  1478.   
  1479.   +--------------------------- QCom Host Menu -----------------------------+
  1480.   |                                                                        |
  1481.   | +----------- Main ------------+  +-------- File -------+  + Message -+ |
  1482.   | |                             |  |                     |  |          | |
  1483.   | | <C>olor On <Y>ell for Sysop |  | <A>reas  <U>pload   |  | <E>nter  | |
  1484.   | |                             |  |                     |  |          | |
  1485.   | | <P>rofile  <L>ist Users     |  | <F>iles  <D>ownload |  | <R>ead   | |
  1486.   | |                             |  |                     |  |          | |
  1487.   | | <H>elp     <G>oodbye        |  | <S>earch <V>iew     |  |          | |
  1488.   | +-----------------------------+  +---------------------+  +----------+ |
  1489.   +------------------------------------------------------------------------+
  1490.     Area : New User Files
  1491.     59 Min. Left :
  1492.  
  1493.     After logging in, try out the various Menu choices.  Note that File
  1494.     transfer functions will not work in Local Mode since there is no 
  1495.     one else is actually connected to transfer files to or from. 
  1496.  
  1497.     Configuring QCom HOST:
  1498.     QCom Host uses control files to handle its various aspects.  All
  1499.     control files are stored in the CONTROL directory.
  1500.     
  1501.     Configuring QCom Host
  1502.     ---------------------
  1503.     QCom Host operates largely through its control files. Each 
  1504.     control file performs a specific major function. The control  
  1505.     files are: 
  1506.  
  1507.             (These interact with the caller) 
  1508.             LOGIN.CTL       - controls caller logins. 
  1509.             NEWUSER.CTL     - controls logging new users. 
  1510.             MENU.CTL        - controls Main Menu commands. 
  1511.             AREA.CTL        - sets download File Areas. 
  1512.             DOWNLOAD.CTL    - controls file downloads. 
  1513.             UPLOAD.CTL      - controls file uploads. 
  1514.             BYE.CTL         - handles caller log offs. 
  1515.  
  1516.                                                                   Page 32
  1517.     C H A P T E R   9                                            QCom Host
  1518.     ----------------------------------------------------------------------
  1519.  
  1520.             (These are non-interactive) 
  1521.             SYSTEM.CTL      - establishes Host system settings. 
  1522.             SECURITY.CTL    - controls security levels. 
  1523.  
  1524.     Each control file contains KEYWORDS which tell QCom Host what 
  1525.     to do next. Some Keywords are commands, that is, they tell Host 
  1526.     to do something. Others contain information which control decisions 
  1527.     made during operation. Some perform both functions.  Keywords  
  1528.     are read by QCom Host in the sequence in which they appear in a  
  1529.     control file.  Actions occur in the same sequence. To change the 
  1530.     behaviour of some aspect of Host, edit the Control file which  
  1531.     handles it.  All control files are stored in the CONTROL directory. 
  1532.  
  1533.     Editing Control Files 
  1534.     ---------------------
  1535.     Control files are text files which can be edited with any text 
  1536.     editor.  When editing, remember these rules: 
  1537.              
  1538.             - Keywords must be UPPER CASE. 
  1539.             - All keywords are followed by one or more parameters. Each 
  1540.               parameter is delimited by a semi-colon. 
  1541.             - Comments are allowed and should be on a separate line,  
  1542.               and must be prefixed with a semi-colon. 
  1543.              
  1544.     Most keywords are specific to their control file and cannot be 
  1545.     used in other control files. There are some generic keywords 
  1546.     which can be used in the "interactive" control files and they are: 
  1547.              
  1548.             SENDFILE    - displays a text file to the caller 
  1549.             SENDLINE    - displays a line of text to the caller  
  1550.  
  1551.     Each Control file supplied with QCom Host contains comments 
  1552.     describing the how each keyword is used.
  1553.  
  1554.     Setting Up File Areas
  1555.     ---------------------
  1556.     Refer to the Files.CTL file. It will need to be edited to reflect
  1557.     the actual file directories you wish to set up.  You may have up
  1558.     to 99 file areas with this release.  All file directories contained
  1559.     in this file will have to be created. Copy all the desired files to
  1560.     the directories you have set up.  Each file area directory must
  1561.     contain a file (called "FILES.LST") listing all the files to which
  1562.     callers may have access.  You may create this file using the utility
  1563.     provided called QCFM.EXE.  Using QCFM, tag the desired files and
  1564.     press F10.  This will create a FILES.LST.  Next, edit the file 
  1565.     descriptions contained in Files.LST using a text editor.  Repeat 
  1566.     for all file areas.
  1567.  
  1568.     System Security
  1569.     ---------------
  1570.     Access to Host features is defined in Security.CTL and Menu.CTL
  1571.     Using security levels you may restrict callers' activities as you
  1572.     see fit.  Default security levels are set in Security.CTL.  When
  1573.     a new user is added, he is assigned the default security level.
  1574.     You may modify a caller's security level with the program called
  1575.     QCUSER.EXE.
  1576.                                                                   Page 33
  1577.     C H A P T E R   9                                            QCom Host
  1578.     ----------------------------------------------------------------------
  1579.  
  1580.     Since your whole Host system is under the control of anyone with
  1581.     a Sysop security level, be careful when selecting your password.
  1582.     To prevent someone from logging in under your name, use a password 
  1583.     which cannot easily be guessed and change it regularly.  Use QCUSER.EXE 
  1584.     to change your password or change your password while running Host
  1585.     in Local mode.
  1586.  
  1587.     System Login
  1588.     ------------
  1589.     When Users are added to the database, the level of information you
  1590.     require of them is set from within the NEWUSER.CTL file.  By default
  1591.     callers will be prompted to fill in all but two of the available 
  1592.     fields.  If you wish to remove one or more lines from the login, 
  1593.     simply "comment out" the unwanted line with a semi-colon. Two blank 
  1594.     fields are provided,  USERDEF1 and USERDEF2.  To use one of these
  1595.     fields, add it into the NEWUSER.CTL file.  See the examples shown
  1596.     in that file.
  1597.  
  1598.     Menus
  1599.     -----
  1600.     Provided are two sets of menus: one for the sysop(s) and one for
  1601.     everyone else.  You may use the menus as they are, or redesign them.
  1602.     The MENU.CTL file shows the available menu commands. If you wish to
  1603.     disable a menu command, use a semi-colon at the beginning of the line.
  1604.     To change the Keystroke used to activate a choice, edit the letter
  1605.     for that command in MENU.CTL.  Security levels can also be changed
  1606.     to control access to menu functions. Note that some commands are
  1607.     set to security level 9. These choices are set for the Sysop.
  1608.  
  1609.     Remote Shell to DOS
  1610.     -------------------
  1611.     It is possible for the Sysop to dial into his host and shell to
  1612.     DOS.  Provided is a batch file (SHELL.BAT) which executes the DOS
  1613.     CTTY command when the Sysop shells out.  The CTTY command redirects
  1614.     screen and keyboard input/output to the active com port which means
  1615.     you can execute some DOS commands remotely.
  1616.  
  1617.     This redirection will work providing the commands being run use DOS
  1618.     to perform their input/output. Commands or programs which use direct
  1619.     hardware control for input/output will NOT be redirected to the com
  1620.     port and you will not be able to see (and possibly not control) the
  1621.     application.  As a result, many applications will not work properly
  1622.     when run through a remote shell and may appear to lock up the host.
  1623.  
  1624.     There are several shareware remote DOS shell programs available which
  1625.     attempt to address these problems.  If you wish to use one of them,
  1626.     edit the SHELL.BAT to run it instead of the CTTY command.
  1627.  
  1628.  
  1629.  
  1630.                                                                   Page 34
  1631.     C H A P T E R   9                                            QCom Host
  1632.     ----------------------------------------------------------------------
  1633.     
  1634.     Using SENDFILE
  1635.     --------------
  1636.     The SendFile control file command is used for displaying a text
  1637.     file on the caller's screen. The syntax for the command is:
  1638.  
  1639.                 SENDFILE;filename
  1640.                     -or-
  1641.                 SENDFILE;mono filename|color filename
  1642.     
  1643.     In the latter example, QCom Host will send either the ansi-encoded
  1644.     file or the straight text file depending on whether the caller has
  1645.     enabled ANSI colors.  QCom Host expects these files to be located
  1646.     in the SYSTEM directory.
  1647.  
  1648.     If you need to pause the display at any time, use the "<PAUSE>" 
  1649.     keyword in the text file where you wish the pause to occur. For an
  1650.     example, see the file "WelcomeM.BLT" which comes with QCom Host.
  1651.     At the "<PAUSE>", QCom Host waits until the caller presses ENTER.
  1652.  
  1653.     Host Utilities
  1654.     ---------
  1655.     QCUSER.EXE is used to modify existing entries in the user data file.  
  1656.     If you need to add a new user, log into Host as the user in Local mode. 
  1657.     When prompted, enter the user's information.
  1658.  
  1659.     MSGPACK.EXE will compress the message file by removing all deleted 
  1660.     messages.  Messages may be deleted from within the Mail reader. 
  1661.     Users may delete their own messages and the Sysop may delete any
  1662.     message.
  1663.  
  1664.                                                                   Page 35
  1665.     C H A P T E R   10                                 QCom Mail Processor
  1666.     ----------------------------------------------------------------------
  1667.  
  1668.     Introduction 
  1669.     ------------
  1670.     QMP stands for QCom Mail Processor.  It allows you to read and 
  1671.     respond to mail from QWK formatted mail systems while offline. To use
  1672.     QMP, you must first download one or more mail packets from a host which
  1673.     supports the QWK mail format.  Different mail systems are in use but 
  1674.     generally speaking they allow you to select messages from a wide range
  1675.     of "Conferences" dealing with all sorts of topics. You will need to
  1676.     select the Conferences you're interested in and download the mail
  1677.     contained there.  Once you've obtained a mail packet or two, you're
  1678.     ready to try QMP. For assistance in using a particular mail system
  1679.     contact the System Operator (Sysop) of that host.
  1680.  
  1681.     First Time Setup and Configuration
  1682.     ----------------------------------
  1683.     First time execution of QMP puts you into the  Configuration screen.  
  1684.     Edit the filenames and paths to suit your needs. Note: Decompression 
  1685.     utility should include the switches to extract and overwrite. 
  1686.     Compression utility  should include the switch to add or update files 
  1687.     to the packet. Recommended settings are shown using PKZIP and PKUNZIP 
  1688.     as examples at initial startup. 
  1689.  
  1690.     All configuration data is stored in the text file called QMP.CFG.  If 
  1691.     you wish, you can edit the file with any text editor providing these 
  1692.     rules are adhered to: 
  1693.         a)The sequence and number of items in the file must not be altered. 
  1694.         b)Each line should be no longer than 80 characters. Longer lines 
  1695.           are truncated to 80 characters. 
  1696.         c)Comments, if used, must be kept behind semicolons. 
  1697.         d)The editor must not insert any hidden formatting or control 
  1698.           characters into the text.  If in doubt about your editor, edit 
  1699.           it within QMP by selecting "C" (Configure) at the first screen. 
  1700.         e)Pathnames MUST end with a "\". 
  1701.     
  1702.     Signature File: 
  1703.     This is simply a text file created with a text editor that   
  1704.     would contain any closing statement that you would normally 
  1705.     want to appear in all your messages.  After creating and 
  1706.     saving your signature file, insert its' filename into QMP.CFG
  1707.     on the same line as the editor filename. 
  1708.      
  1709.     eg. "C:\UTIL\TED.COM SIGNATUR.TXT" 
  1710.  
  1711.  
  1712.                                                                   Page 36
  1713.     C H A P T E R   10                                 QCom Mail Processor
  1714.     ----------------------------------------------------------------------
  1715.   
  1716.     Program Features 
  1717.     ----------------
  1718.     Browsing :To advance to the next message press ENTER, SPACE or the 
  1719.               grey plus key. To go to previous message use the grey 
  1720.               minus key. Cursor keys allow scrolling long messages. 
  1721.     Ansi     :Use A to display messages containing ANSI codes. "Ansi" 
  1722.               music is supported. 
  1723.     Index    :Press I to show a sorted (by subject) index of all messages 
  1724.               in the current conference.  
  1725.     Reply    :Press R to reply to the message currently on screen. QMP will 
  1726.               insert the current message text and append your signature 
  1727.               file if one is present into a file called REPLY.TXT and then 
  1728.               call the editor specified in QMP.CFG.  When finished editing 
  1729.               this text, exit and save.  At this point if the  To, From, 
  1730.               Subject fields, etc. are acceptable, press F10. Replies will 
  1731.               be compressed into any existing reply packet for the 
  1732.               appropriate BBS. Be sure to erase any old reply packets 
  1733.               (files with REP extension). 
  1734.     DOS      :Press D to shell out to DOS temporarily. 
  1735.     Enter    :Press E to create a new message.  QMP will create a new 
  1736.               blank message appending your signature file is one is 
  1737.               present. After exiting the editor you can fill the Subject 
  1738.               field and the To field. QMP will fill the From field and 
  1739.               the Conference fields. Note:If you wish to send the message 
  1740.               to a different conference, edit the Conference number to the 
  1741.               one you want.  The conference name is not sent in the reply 
  1742.               so it is not necessary to edit it.
  1743.     Print    :Use P to print the current message. 
  1744.     Order    :Press O to change the order in which messages are sorted. By 
  1745.               default, they are sorted by subject. 
  1746.     Save     :Use S to save the current message to disk. 
  1747.     TagLines :Press B. Taglines can be "Borrowed" (saved in a file call 
  1748.               QMPTAGS.TXT) for future use. 
  1749.     Search   :Use F to find messages containing specific text or messages 
  1750.               To or From specific people. When text is found, pressing 
  1751.               any key continues searching, ESC aborts the search.  
  1752.               Currently, this function will only search one conference at 
  1753.               a time. 
  1754.  
  1755.                                                                   Page 37
  1756.     C H A P T E R   11                                    Trouble Shooting    
  1757.     ----------------------------------------------------------------------
  1758.  
  1759.     Trouble Shooting    
  1760.     ----------------
  1761.     Symptom: Modem returns "ERROR" when initializing. 
  1762.     Cause: One or more commands in the modem initialization string is 
  1763.     not understood by the modem.  
  1764.     Solution: The modem initialization string is located in the Options 
  1765.     screen. Refer to your modem instruction manual to compare the modem 
  1766.     commands against those contained in the initialization string and 
  1767.     delete those that your modem doesn't understand.  To test the 
  1768.     string press ALT-M to reinitialize the modem in the terminal 
  1769.     screen.    
  1770.     
  1771.     Symptom:  "Cannot initialize Com Port x" error message. (x = 1 to 4)    
  1772.     Causes:    
  1773.     1. Com port specified in Options is incorrect. 
  1774.     Solution: Change to correct port. 
  1775.     2. Hardware problem.  Two or more devices are configured for the 
  1776.     same Com port.  
  1777.     Solution: Run MSD.EXE supplied with DOS to verify if there is a 
  1778.     conflict.  If so, remove the conflicting IRQ or get your hardware 
  1779.     vendor to assist.   If two serial devices attempt to use the same 
  1780.     Interrupt (IRQ) setting chances are, neither will work. Typical 
  1781.     settings would be:    
  1782.                Com1 using IRQ 4, at I/O 3F8h    
  1783.                Com2 using IRQ 3, at I/O 2F8h    
  1784.                Com3 using IRQ 4, at I/O 3E8h    
  1785.                Com4 using IRQ 3, at I/O 2E8h    
  1786.     
  1787.     3. Software conflict. A memory resident program (TSR) that ties up 
  1788.     the Com port has been previously executed and has not been 
  1789.     deinstalled.    
  1790.     Solution: Remove the offending TSR.  
  1791.  
  1792.     Symptom: Modem does not dial out.  Modem does not receive 
  1793.     some/all  commands sent by QCom.    
  1794.     Causes:    
  1795.     1. Baud rate specified in the configuration file is too high for 
  1796.     the modem.  
  1797.     Solution:  Set the default baud rate to your modem's fastest speed.  
  1798.     The modem  will send back an "OK"   when you initialize the modem 
  1799.     (Alt-M) if  it's communicating properly.    
  1800.  
  1801.     2. External modem is not powered up or not connected properly.    
  1802.     Solution: Check connections,  power. 
  1803.     Trouble Shooting Continued 
  1804.  
  1805.     3. Modem initialization or dialing prefix strings incorrect or 
  1806.     missing.  
  1807.     Solution: Refer to your modem instruction manual for the correct 
  1808.     strings for  your modem.    
  1809.     Dialing prefix for touch tone phones is usually "ATDT". 
  1810.  
  1811.                                                                   Page 38
  1812.     C H A P T E R   11                                    Trouble Shooting    
  1813.     ----------------------------------------------------------------------
  1814.  
  1815.     Trouble Shooting Continued
  1816.     --------------------------
  1817.     4.  Modem is incorrectly configured.  
  1818.     Solution:  Refer to modem manual and set modem dip switches or 
  1819.     NVRam for the following:    
  1820.          a) Modem must track the actual state of DCD (Carrier) and 
  1821.             not be  forced.    
  1822.          b) Modem should track DTR and not be forced.    
  1823.          c) Modem MUST send back verbal result codes. e.g. "OK",  
  1824.             "CONNECT", etc.    
  1825.     
  1826.     Symptom:  QCom status line says "Online" even when not.    
  1827.     Cause:   Modem Carrier Detect line is forced on.   
  1828.     Solution:   Toggle the modem carrier detect dip-switch if your 
  1829.     modem uses dip-switches. 
  1830.     If your modem uses NVRam to store settings, make sure your modem 
  1831.     Initialization string contains the command "&C1" .   Edit the 
  1832.     initialization string if  necessary and use Alt-M to manually send 
  1833.     the string to the modem.   The Carrier Detect  MUST toggle on and 
  1834.     off depending on the actual Carrier state.    
  1835.      
  1836.     Symptom: Always get a fast busy signal after dialing.  
  1837.     Cause:   
  1838.     a) "Call Waiting" string ("*70") in Options is enabled when the 
  1839.     feature is not present on the phone line.   
  1840.     Solution:  Remove the "Call Waiting" string.  
  1841.     b) Call waiting is present on phone but still get busy signal.   
  1842.     Solution: A pause character may need to be added after the "Call 
  1843.     Waiting" string. Most modems recognize a comma as a half second 
  1844.     pause. Use "*70,," in the "Call Waiting" string. 
  1845.     
  1846.     Technical Support
  1847.     -----------------
  1848.     NOTE:
  1849.     Technical support priority is given to registered users.  We will
  1850.     attempt to help non-registered users as time permits.
  1851.  
  1852.     To obtain help, or for the latest update of Qcom, call the 
  1853.     RTFM BBS on your modem. 
  1854.      
  1855.                 RTFM Software BBS  Phone:  1-204-632-5675
  1856.  
  1857.     When calling in, log in with your full name and password of your
  1858.     choice. You will have 30 minutes to send or receive messages and
  1859.     download the latest version of QCom. All messages relating to Qcom
  1860.     should be directed to the author,  Richard Turenne.
  1861.  
  1862.     If you prefer, you can also send Email via Compuserve or Internet.
  1863.     We make every attempt to respond to email promptly.  With questions 
  1864.     requiring technical support, first priority is given to registered 
  1865.     users.  
  1866.  
  1867.     Email Addresses: 
  1868.         Compuserve ID :  72361,3117 
  1869.         Internet      :  72361.3117@compuserve.com 
  1870.