home *** CD-ROM | disk | FTP | other *** search
/ Programmer 7500 / MAX_PROGRAMMERS.iso / PROGRAMS / UTILS / MOUSE / COMHEX42.ZIP / COMMHEX.MAN < prev   
Encoding:
Text File  |  1988-04-22  |  34.7 KB  |  795 lines

  1.  
  2.  
  3.  
  4.  
  5.  
  6.  
  7.  
  8.  
  9.  
  10.  
  11.  
  12.  
  13.  
  14.  
  15.  
  16.  
  17.                                   C O M M H E X
  18.  
  19.                       Serial Communications Display Program
  20.  
  21.                                   Users Manual
  22.  
  23.                         Version 4.2         21 April 1988
  24.  
  25.  
  26.  
  27.  
  28.  
  29.  
  30.  
  31.  
  32.  
  33.  
  34.  
  35.  
  36.                 Copyright (C) 1986, 1987, 1988 by Michael Burton
  37.  
  38.  
  39.         CommHex is a proprietary product written and distributed by
  40.         Michael Burton.
  41.  
  42.  
  43.  
  44.  
  45.                                 TABLE OF CONTENTS
  46.  
  47.  
  48.         Section 1  INTRODUCTION                                        1
  49.            Purpose                                                     2
  50.            Program Specifications                                      2
  51.            CommHex as ShareWare                                        2
  52.            Association of Shareware Professionals                      3
  53.         Section 2  GETTING STARTED                                     4
  54.         Section 3  THE FIELD INPUT EDITOR                              6
  55.         Section 4  COMMHEX INTERNAL FUNCTIONS                          8
  56.            Grab Mode (Alt-G)                                           8
  57.            Transmit Mode (Alt-T)                                       8
  58.            Help Screens (Alt-H)                                        8
  59.            Information Screen (Alt-I)                                  8
  60.            Communications Parameters Change (Alt-P)                    9
  61.            Macro Define/Change, Load, Save, Display (Alt-M)            9
  62.            Clear Windows (Alt-C)                                      10
  63.            Exit to DOS Shell (Alt-X)                                  10
  64.            Filter Values Change (Alt-F)                               11
  65.            Echo Mode (Alt-E)                                          11
  66.            Delay Toggle Mode (Alt-D)                                  11
  67.            Leaving CommHex (Esc)                                      11
  68.         Section 5  CREATING AND USING MACROS (Alt-1 through Alt-0)    11
  69.  
  70. ________________________________________________________________________
  71. Section 1  INTRODUCTION
  72.  
  73.         CommHex is a serial communications display program.  It displays
  74.         any data that is received on either serial port (COM1 or COM2)
  75.         in two windows.  The upper window displays the data in ASCII and
  76.         the lower window displays the data as its corresponding
  77.         hexadecimal values. Data sent to the serial port from the
  78.         keyboard may optionally be displayed, and is distinguished from
  79.         incoming data by being displayed in blue on a color display, or
  80.         underlined on a monochrome display.
  81.  
  82.         You may control all communications parameters with CommHex; port
  83.         number, baud rate, number of data bits, parity, number of stop
  84.         bits and even the intercharacter delay between bytes of a macro
  85.         as it is transmitted.  CommHex serial communications are
  86.         interrupt driven and will support rates of 75, 110, 150, 300,
  87.         600, 1200, 1800, 2400, 4800, 9600 and 19200 baud. The incoming
  88.         and outgoing serial buffers (these buffers are transparent to
  89.         the user) can hold up to 16384 bytes without losing data.
  90.  
  91.         If for any reason you wish to filter out extraneous information
  92.         from the incoming data, three data filters are available, which
  93.         may be used singly or in combination.  These are the AND filter,
  94.         OR filter and eXclusive OR filter.  They are applied to the data
  95.         in that order (AND, OR, XOR).  The filters are always active,
  96.         but their initial values are such that they pass through data
  97.         undisturbed.
  98.  
  99.         CommHex has a mode called the grab mode that, when toggled on,
  100.         captures each incoming byte and puts it in a file called
  101.         COMMGRAB.TXT.  The data may then be analyzed at your leisure
  102.         later.
  103.  
  104.         If you are unsure of CommHex's configuration at any point, an
  105.         information window may be brought up to display this
  106.         information.  It tells you what all the communications
  107.         parameters are, what the filter values are, whether grab mode is
  108.         toggled on or off and what macro file is loaded.
  109.  
  110.         CommHex has a macro capability which allows you to create a
  111.         string of almost any content that may then be sent out the
  112.         serial port.  A maximum of 10 macros are resident at a time and
  113.         are activated using Alt-1 through Alt-0.  The macros may be
  114.         saved in a file and may later be reloaded.  Any number of macro
  115.         files is supported.
  116.  
  117.         CommHex has a help facility that gives a short synopsis of each
  118.         of its commands, as well as the well-known ShareWare plea for
  119.         cash.  The help facility is meant to refresh your memory about
  120.         the internal commands and is not meant to take the place of this
  121.         manual.
  122.  
  123.         Finally, CommHex has the capability to remain in memory while
  124.         you exit to MSDOS/PCDOS to perform whatever you need to do, such
  125.         as copying files, deleting files, editing files, looking at
  126.         directories, etc.  You may return to CommHex by typing EXIT at
  127.         the MSDOS/PCDOS prompt.
  128.                                    Page 1
  129.  
  130.         CommHex is great as a tool to test new serial devices, or to
  131.         determine exact serial port requirements of devices.  It may
  132.         even be used to communicate with bulletin board systems,
  133.         although we don't recommend it.
  134.  
  135. _________________________
  136. _________________________
  137. Purpose
  138.  
  139.         The purpose of this users guide is to provide help with running
  140.         CommHex, as well as helping you to get the most out of the
  141.         program.  It will explain how to run CommHex, how to use the
  142.         input field editor, how to use the internal CommHex functions
  143.         and how to create and use macros.
  144.  
  145. _________________________
  146. Program Specifications
  147.  
  148.                 Program date:              21 Apr 88
  149.                 Program version:           4.2
  150.                 Program size:              44672
  151.                 Disk Drives required:      1 floppy or hard
  152.                                            disk.
  153.                 Display required:          Any IBM compatible MDA, CGA,
  154.                                            EGA, VGA, Hercules, etc. in
  155.                                            text mode.
  156.                 Operating system:          MSDOS or PCDOS, version 2.0
  157.                                            or higher.
  158.                 Special hardware required: Serial port
  159.  
  160. _________________________
  161. CommHex as ShareWare
  162.  
  163.         The CommHex serial communications display program is distributed
  164.         using the ShareWare concept.  This means that if after trying
  165.         out CommHex, you decide to use it, we expect you to show your
  166.         appreciation of our time and effort by sending $14 to
  167.  
  168.                         Michael Burton
  169.                         15540 Boot Hill Rd.
  170.                         Hayden Lake, ID  83835
  171.  
  172.         In return, you will immediately receive via first class mail the
  173.         latest version of CommHex, as well as several other programs we
  174.         have written, including the Turbo Pascal source code of the
  175.         procedure that is used for field input in CommHex, as well as
  176.         the windowing procedures that are used.
  177.  
  178.         You are encouraged to copy and distribute CommHex to anyone with
  179.         the following restrictions:
  180.  
  181.                 1.      CommHex and this accompanying manual are to be
  182.                         distributed as a set, archived or not.  Do not
  183.                         make any changes to either file.
  184.  
  185.  
  186.  
  187.  
  188.                                    Page 2
  189.  
  190.                 2.      Do not charge for CommHex's distribution or
  191.                         copying. (User Groups may make a small charge
  192.                         for the cost of disks and copying, not to exceed
  193.                         $10).
  194.  
  195.                 3.      Commercial use of CommHex in any manner is
  196.                         prohibited without the written permission of its
  197.                         author.
  198.  
  199.         The CommHex program and this accompanying users guide are
  200.         provided 'as is' without warranty of any kind.  The correctness,
  201.         accuracy, reliability and currentness of CommHex and this users
  202.         guide is not warranted.  The entire risk as to results and
  203.         performance of CommHex is assumed by the user.
  204.  
  205. _________________________
  206. Association of Shareware Professionals
  207.  
  208.         The author of this program is a member of the Association of
  209.         Shareware Professionals (ASP) and has agreed to comply with its
  210.         standards:
  211.  
  212. Programming Standards -
  213.  
  214.                 1.      The program meets ASP's definition of Shareware.
  215.                 2.      The program has been throughly tested by the
  216.                         author and should not be harmful  to other files
  217.                         or hardware if used properly (although ASP
  218.                         cannot warrant this; therefore, the user should
  219.                         take normal precautions in trying new software).
  220.  
  221. Documentation Standards -
  222.  
  223.                 1.      Sufficient documentation is provided to allow
  224.                         the average user to try all major functions of
  225.                         the program.
  226.                 2.      The program author has explained the Shareware
  227.                         concept in a professional and positive manner.
  228.  
  229. Support Standards -
  230.  
  231.                 1.      The program author will respond as described in
  232.                         the documentation to people  who send
  233.                         registration payments.  At a minimum, the author
  234.                         will send an acknowledgement of payment.
  235.                 2.      The author will respond to written bug reports
  236.                         from registered users when the user provides a
  237.                         self-addressed, stamped envelope (some authors
  238.                         will respond by phone, but this is not an ASP
  239.                         requirement).
  240.                 3.      Incompatibilities with other software or
  241.                         hardware, major or unusual program limitations,
  242.                         or known problems are noted in the documentation
  243.                         that comes with the Shareware version of the
  244.                         program.
  245.  
  246.  
  247.  
  248.                                    Page 3
  249.  
  250.         General -
  251.  
  252.                 1.      The author keeps his/her membership in ASP
  253.                         current.
  254.                 2.      The author recognizes that any user may appeal
  255.                         to ASP for any unresolved dispute that arises.
  256.  
  257.         If you feel that the author has not complied with these
  258.         standards in some manner or if you register the program with the
  259.         author and subsequently have any disputes with the author which
  260.         cannot be resolved, please contact the ASP on Compuserve in the
  261.         IBMJR forum.
  262.  
  263.         While ASP cannot warrant programs nor the actions of members,
  264.         ASP will do what it can to assure that all authors who claim
  265.         membership comply with ASP standards.  These standards are the
  266.         assurance of quality and support that you will get when you
  267.         register Shareware produced by ASP members.
  268.  
  269. ________________________________________________________________________
  270. Section 2  GETTING STARTED
  271.  
  272.         To use CommHex, the only file required is COMMHEX.EXE.  It may
  273.         be anywhere that is accessible to the operating system; that is,
  274.         it may be in your current default directory or in your command
  275.         PATH.
  276.  
  277.         When CommHex is running, it may use several files it has created
  278.         in your current default directory.  These are:
  279.  
  280.                 COMMHEX.CFG   - Configuration file.  Whenever you change
  281.                                 the communications parameters, the new
  282.                                 values are stored in this file, so that
  283.                                 the next time you use CommHex the new
  284.                                 parameters can be used as default
  285.                                 values.
  286.  
  287.                 COMMGRAB.TXT  - Grab mode file.  This file is created in
  288.                                 your default directory the first time
  289.                                 you toggle grab mode on.  Every time
  290.                                 after the first that you toggle the grab
  291.                                 mode on, the data is appended to this
  292.                                 file.  If you wish to start with a new
  293.                                 grab file you must erase the old one
  294.                                 yourself.
  295.  
  296.                 COMMHEX.MAC   - Default macro file.  You must create
  297.                                 this with the macro facility if you wish
  298.                                 CommHex to use it.
  299.  
  300.         To start up CommHex, simply enter
  301.  
  302.                 COMMHEX
  303.  
  304.         The program will be loaded and begin execution.  The first thing
  305.         CommHex does is look for COMMHEX.CFG in your current default
  306.         directory.  If it finds the file, it will use the values
  307.         contained therein as default communications values.
  308.  
  309.                                    Page 4
  310.  
  311.         CommHex next looks for COMMHEX.MAC in your current default
  312.         directory.  If it finds the file, it loads the macros contained
  313.         therein.  If you have a set of macros you wish to be initially
  314.         loaded, you should save them in a file called COMMHEX.MAC using
  315.         the Alt-M Save option.
  316.  
  317.         When CommHex has finished looking for these files, it displays
  318.         the CommHex banner and creates a window that asks you for the
  319.         communications parameters:
  320.  
  321.         +-----------------------------------------------------+
  322.         |  Copyright (C) 1986, 1987, 1988 by Michael Burton   |
  323.         |     Version: 4.2       Last revised: 21 Apr 88      |
  324.         |                                                     |
  325.         | Communications port number (1 or 2): 1              |
  326.         | Baud rate (75-19200): 1200                          |
  327.         | Number of data bits (6, 7, 8): 8                    |
  328.         | Data parity (O, E, N): N                            |
  329.         | Number of stop bits (1, 2): 1                       |
  330.         | Intercharacter delay for macros/files: 0  ms        |
  331.         +-----------------------------------------------------+
  332.  
  333.         Each question shows the legal values for the answer in
  334.         parentheses and the current value in the request field.  Just
  335.         pressing ENTER will select the current value.  CommHex will keep
  336.         asking the same question over and over until you respond with a
  337.         legal value.  Each of the input fields uses the CommHex field
  338.         editor, which is explained in detail in Section 3.
  339.  
  340.         The first question asked is what IBM PC communications port is
  341.         being used to receive and transmit data on.  Answer 1 for COM1
  342.         and 2 for COM2.
  343.  
  344.         The second question asks for a baud rate at which you will be
  345.         communicating. Legal values are 75, 110, 150, 300, 600, 1200,
  346.         1800, 2400, 4800, 9600 and 19200 baud.
  347.  
  348.         The third question concerns the number of bits in a character
  349.         coming from or going to the serial device to which you are
  350.         connected.  This is usually 7 if parity is enabled and 8 if
  351.         parity is disabled.
  352.  
  353.         The fourth question concerns the parity of the data.  Parity may
  354.         be even (E), odd (O) or disabled by answering none (N).
  355.  
  356.         The fifth question asks how many stop bits a data word has. The
  357.         normal answer for this is almost always 1.
  358.  
  359.         The last question asks how long to wait between characters when
  360.         sending a macro string out the serial port.  The default is
  361.         usually 0 milliseconds.
  362.  
  363.         When all of the communications parameters questions are
  364.         satisfactorily answered, the window is erased and the CommHex
  365.         operating display is put up:
  366.  
  367.  
  368.  
  369.  
  370.                                    Page 5
  371.  
  372.         +-|CommHex V4.2|------------- ASCII ----------------------------+
  373.         |                                                               |
  374.         |                                                               |
  375.         |                                                               |
  376.         |                                                               |
  377.         |                                                               |
  378.         |                                                               |
  379.         |                                                               |
  380.         |                                                               |
  381.         +---------------------------------------------------------------+
  382.         Alt-H:Help Alt-1 thru Alt-0:Macros Esc:Exit Echo:OFF In: 0 Out: 0
  383.         +------------------------- HEX CODE ----------------------------+
  384.         |                                                               |
  385.         |                                                               |
  386.         |                                                               |
  387.         |                                                               |
  388.         |                                                               |
  389.         |                                                               |
  390.         |                                                               |
  391.         |                                                               |
  392.         +---------------------------------------------------------------+
  393.  
  394.         There isn't anything very mysterious about the display; the
  395.         upper window will show data in ASCII and the lower window will
  396.         show it in hexadecimal.  The middle line consists of reminders
  397.         and status.  The reminders help you out with keys to get help,
  398.         activate macros and show you how to exit from CommHex.  The
  399.         status shows whether Commhex is echoing local input and how many
  400.         characters have come in from the serial port or gone out to it
  401.         since the last time the windows were cleared.
  402.  
  403.         Once the operating display comes up, you are ready to
  404.         communicate with the selected serial port.
  405.  
  406. ________________________________________________________________________
  407. Section 3  THE FIELD INPUT EDITOR
  408.  
  409.         All of the internal functions that solicit input (with the
  410.         notable exception of the macro define/change function) use a
  411.         field input routine that allows you unlimited editing
  412.         capabilities of that field. The editing keys are shown below.
  413.  
  414.                Left Arrow (or Ctl-S)  - Move the cursor nondestructively
  415.                                         to the left by one character.
  416.                                         Stop moving when you reach the
  417.                                         starting position of the field.
  418.  
  419.                Right Arrow (or Ctl-D) - Move the cursor nondestructively
  420.                                         to the right by one character.
  421.                                         Stop moving when you reach the
  422.                                         end of the current input.
  423.  
  424.                Home (or Ctl-A)        - Move the cursor to the starting
  425.                                         position of the field.
  426.  
  427.                End (or Ctl-F)         - Move the cursor to the end of
  428.                                         the current input.
  429.  
  430.                                    Page 6
  431.  
  432.                Del (or Ctl-G)         - Delete the character that the
  433.                                         cursor is currently sitting
  434.                                         under and fill in with the rest
  435.                                         of the field to the right of the
  436.                                         cursor.
  437.  
  438.                BackSpace              - Delete the character to the left
  439.                                         of the cursor, moving the cursor
  440.                                         and the rest of the field to the
  441.                                         left.
  442.  
  443.                Ctl-BackSpace          - Delete the entire field.
  444.                                         Position the cursor at the
  445.                                         starting position in the field.
  446.  
  447.                Ins                    - Toggle insert mode. In insert
  448.                                         mode, when characters are
  449.                                         entered, those to the right of
  450.                                         them are pushed farther to the
  451.                                         right.  When in overwrite mode,
  452.                                         characters to the right are
  453.                                         written over.  The cursor size
  454.                                         indicates the mode.  A large
  455.                                         cursor means you are in insert
  456.                                         mode, and a small cursor means
  457.                                         you are in overwrite mode.
  458.  
  459.                Ctl-End                - Delete all the characters from
  460.                                         the cursor position to the end
  461.                                         of the field, including the
  462.                                         character under which the cursor
  463.                                         is sitting.
  464.  
  465.                Ctl-Left Arrow         - Move the cursor one word to the
  466.                                         left.  A word is a group of
  467.                                         characters delimited by a space,
  468.                                         slash, backslash, colon, dash,
  469.                                         period, equals, underline or
  470.                                         comma.  Stop at the starting
  471.                                         position of the field.
  472.  
  473.                Ctl-Right Arrow        - Move the cursor one word to the
  474.                                         right.  Stop at the end of the
  475.                                         current input.
  476.  
  477.                Enter, Esc, Tab,
  478.                BackTab, Up Arrow,
  479.                Down Arrow             - Done editing this field.  Esc is
  480.                                         sometimes used to cancel the
  481.                                         current function.
  482.  
  483.         Most input fields have default or current values; these are
  484.         placed inside the field, ready for editing, when you enter that
  485.         field.  Fields that should only allow certain characters do
  486.         indeed only allow those characters.  For instance, if CommHex is
  487.  
  488.  
  489.  
  490.  
  491.                                    Page 7
  492.  
  493.         only looking for the numbers 1 and 2, that is the only printable
  494.         characters that the field input procedure will allow to be
  495.         entered.  This cuts down on entry mistakes but does not
  496.         eliminate them.  For instance, for a file name you could still
  497.         enter 'C::\\FILENAME...EXTTT'.
  498.  
  499. ________________________________________________________________________
  500. Section 4  COMMHEX INTERNAL FUNCTIONS
  501.  
  502.         CommHex has twelve functions that are perform internal
  503.         operations.  Eleven of these are executed local to the program,
  504.         i.e., they do not transmit anything through the serial port.
  505.         The twelfth, transmit mode (Alt-T), allows automatic file
  506.         transfer through the selected serial port.  Operation of these
  507.         internal functions is explained in this Section.
  508.  
  509. _________________________
  510. Grab Mode (Alt-G)
  511.  
  512.         The CommHex grab mode allows you to capture information coming
  513.         from the serial port and place it in a file called COMMGRAB.TXT.
  514.         CommHex never erases COMMGRAB.TXT; when grab mode is toggled on,
  515.         new data is appended to the file until you leave the program or
  516.         toggle grab mode off.  When you press Alt-G, a window pops up
  517.         telling you the status of the grab mode toggle.  Grab mode
  518.         toggle status is also available in the Information window (Alt-
  519.         I).
  520.  
  521. _________________________
  522. Transmit Mode (Alt-T)
  523.  
  524.         The CommHex transmit mode allows you to transmit an ASCII file
  525.         through the serial port.  The delay time between transmission of
  526.         each character in the file is controlled by the intercharacter
  527.         delay, which may be turned off using Alt-D, or changed using
  528.         Alt-P.  You may terminate the file transmission at any time by
  529.         pressing the Esc key. NOTE: Don't try to transmit the
  530.         COMMGRAB.TXT file while grab mode is toggled on; the results
  531.         will be unpredictable.
  532.  
  533. _________________________
  534. Help Screens (Alt-H)
  535.  
  536.         When Alt-H is depressed, a full screen window pops up, giving a
  537.         synopsis of all the internal commands.  There are three such
  538.         windows full of information (the third is actually a desperate
  539.         plea for cash).  When you have cycled through all three windows,
  540.         the display returns to the normal CommHex operating display.
  541.  
  542. _________________________
  543. Information Screen (Alt-I)
  544.  
  545.         Pressing Alt-I brings up a window that is filled with
  546.         information about the current status of CommHex.  It looks like
  547.         this:
  548.  
  549.  
  550.  
  551.  
  552.                                    Page 8
  553.  
  554.         +----------------- Information -----------------+
  555.         |                C O M M H E X                  |
  556.         | Copyright (C) 1986, 1987, 1988 Michael Burton |
  557.         |           Version 4.2  21 Apr 88              |
  558.         |          Written By Michael Burton            |
  559.         |                                               |
  560.         |  Comm Port : 1                                |
  561.         |  Baud Rate :  1200                            |
  562.         |  Data Bits : 8         Char Delay   :   0     |
  563.         |  Parity    : None      Grab Mode    : OFF     |
  564.         |  Stop Bits : 1         AND filter   : FFh     |
  565.         |  OR filter : 00h       XOR filter   : 00h     |
  566.         |  Macro file: COMMHEX.MAC                      |
  567.         |                                               |
  568.         |          Press any key to continue            |
  569.         +-----------------------------------------------+
  570.  
  571. _________________________
  572. Communications Parameters Change (Alt-P)
  573.  
  574.         If for any reason you wish to change the value of any of the
  575.         communications parameters, press Alt-P.  A window will pop up
  576.         that looks like this:
  577.  
  578.         +--------------- Change Comm Parameters --------------+
  579.         |                                                     |
  580.         | Communications port number (1 or 2): 1              |
  581.         | Baud rate (75-19200): 1200                          |
  582.         | Number of data bits (6, 7, 8): 8                    |
  583.         | Data parity (O, E, N): N                            |
  584.         | Number of stop bits (1, 2): 1                       |
  585.         | Intercharacter delay for macros/files: 0  ms        |
  586.         |                                                     |
  587.         +-----------------------------------------------------+
  588.  
  589.         You will note that the questions are identical to the
  590.         communications parameters questions in the opening CommHex
  591.         window.  See Section 2 for an explanation of them.
  592.  
  593. _________________________
  594. Macro Define/Change, Load, Save, Display (Alt-M)
  595.  
  596.         Pressing Alt-M will activate the CommHex macro facility.  A menu
  597.         will pop up that looks like:
  598.  
  599.         +--------- Macro Processing ---------+
  600.         | [M]acro key define/change.         |
  601.         | [L]oad macro definitions file.     |
  602.         | [S]ave macro definitions to file.  |
  603.         | [D]isplay all macros.              |
  604.         | [R]eturn to CommHex                |
  605.         |    Selection:_                     |
  606.         +------------------------------------+
  607.  
  608.         Pressing the appropriate letter enclosed in brackets will
  609.         activate that particular macro function.
  610.  
  611.  
  612.                                    Page 9
  613.  
  614.         When 'M' is pressed, the following window appears:
  615.  
  616.         +------------------------ Macro Define/Change -----------------------+
  617.         | Define/change which macro (1-10, ESC to exit)?                     |
  618.         |                                                                    |
  619.         +--------------------------------------------------------------------+
  620.  
  621.         Below this window is another window with extended ASCII codes in
  622.         it.  This is meant to be used as a help when constructing the
  623.         macro.
  624.  
  625.         When you enter a number from 1 through 10, the small window is
  626.         cleared and the following appears:
  627.  
  628.         +---------------------- Macro Define/Change -------------------------+
  629.         | Macro #x  Backspace in macro:@  Ctl-A:Pause 1 second  Ctl-End:Exit |
  630.         |_                                                                   |
  631.         +--------------------------------------------------------------------+
  632.  
  633.         You may then enter your macro, up to 76 characters.  Please note
  634.         that only two keys are used in the editing process; the
  635.         backspace key and the Ctl-End key.  All other keys will be
  636.         inserted into the macro definition.  If you want to put a
  637.         backspace character in your macro, you must use an '@' in its
  638.         place.  If you wish to delay 1 second between characters in a
  639.         macro, use a Ctl-A.
  640.  
  641.         Macros created with this facility are only retained in memory
  642.         and will be lost when CommHex is exited.  If you wish to save
  643.         the macros you have created in a file, use the 'S' option.  You
  644.         will be prompted for a file name to save the macros to.  We
  645.         recommend that you use a name with a .MAC extension.
  646.  
  647.         To reload macros that you have saved in a file, use the 'L'
  648.         option.  You will be prompted for a file name, and will be
  649.         informed when the macros are loaded.
  650.  
  651.         To see the macros that you have defined or loaded, use the 'D'
  652.         option.  A window will pop up that lists each macro string.
  653.  
  654.         Use the 'R' option to return to the CommHex display windows.
  655.  
  656. _________________________
  657. Clear Windows (Alt-C)
  658.  
  659.         When Alt-C is pressed, the ASCII and Hex Code windows are both
  660.         cleared, the In and Out counters are set to zero and the cursor
  661.         is placed at the start of the ASCII window.
  662.  
  663. _________________________
  664. Exit to DOS Shell (Alt-X)
  665.  
  666.         If you wish to temporarily leave CommHex to perform some DOS
  667.         function, press Alt-X.  The display will be cleared and a
  668.         reminder message, "Enter 'EXIT' to return to CommHex...", will
  669.         be displayed.  You may then perform any DOS function you wish,
  670.         as long as there is enough memory left.  Just type EXIT to
  671.         return to CommHex.
  672.                                    Page 10
  673.  
  674. _________________________
  675. Filter Values Change (Alt-F)
  676.  
  677.         When Alt-F is pressed, the Change Input Filters window pops up.
  678.         It looks like this:
  679.  
  680.         +------------------ Change Input Filters -----------------+
  681.         |                                                         |
  682.         | AND filter for incoming characters (0-FFh): FF          |
  683.         | OR filter for incoming characters (0-FFh): 00           |
  684.         | Exclusive OR filter for incoming characters (0-FFh): 00 |
  685.         |                                                         |
  686.         +---------------------------------------------------------+
  687.  
  688.         We recommend that you leave the filters alone unless you really
  689.         know what you are doing, as they can cause some pretty strange
  690.         things to happen to the data.  They were originally installed to
  691.         compensate for negative true data levels when testing serial
  692.         keyboards. The filter values are also available in the
  693.         information window.
  694.  
  695. _________________________
  696. Echo Mode (Alt-E)
  697.  
  698.         Pressing Alt-E toggles the echo mode.  The echo mode status is
  699.         displayed in the middle line status area.
  700.  
  701.  
  702. _________________________
  703. Delay Toggle Mode (Alt-D)
  704.  
  705.         Pressing Alt-D toggles the intercharacter delay off and on.
  706.         This is useful for sending macros as fast as possible out the
  707.         serial port.  When the intercharcter delay is off, characters
  708.         are sent even faster than if the intercharacter delay is set to
  709.         zero.
  710.  
  711. _________________________
  712. Leaving CommHex (Esc)
  713.  
  714.         Pressing the Esc key closes COMMGRAB.TXT if it is open, causes
  715.         storage of changed communication parameters in COMMHEX.CFG,
  716.         clears the screen and exits to the operating system.
  717.  
  718. ________________________________________________________________________
  719. Section 5  CREATING AND USING MACROS (Alt-1 through Alt-0)
  720.  
  721.         Macro strings have many uses.  One use is to send a series of
  722.         codes to the serial port that we have selected for use as an
  723.         internal function.  For instance, you can send an Alt-C to the
  724.         serial port by using a macro.  It will not do a local window
  725.         clear.
  726.  
  727.         Try bringing up the macro facility (Alt-M) and selecting option
  728.         'M'.  Then create macro number 1 by entering a '1'.  When you
  729.         enter an Alt-C into the macro string, you will see a space and a
  730.         period appear.  If you look at the extended ASCII table, you
  731.         will see that the space corresponds to a '0' and the period
  732.                                    Page 11
  733.  
  734.         corresponds to a '46'.  Each character that you enter has a
  735.         unique display character associated with it (except '0', which
  736.         displays the same as a space).  If you enter a carriage return,
  737.         you will see a musical note.
  738.  
  739.         When you have finished constructing your macro, enter Ctl-End.
  740.         You will be returned to the main macro menu.  Enter an 'R' to
  741.         return back to the CommHex display windows.  To use the macro you
  742.         have just constructed, press Alt-1.  If you constructed macro
  743.         number 10, you would press Alt-0.  Macro five would be Alt-5.
  744.  
  745.         A good method to construct macros consists of going through the
  746.         keystrokes you require manually, writing each keystroke down.
  747.         Then invoke the macro facility and enter each keystroke into a
  748.         macro.  You are limited to 76 characters in any one macro.
  749.         Macros currently do not chain, i.e., if you put an Alt-5 into
  750.         macro number 1, macro number 5 would not be executed when you
  751.         executed macro number one.
  752.  
  753.  
  754.  
  755.  
  756.  
  757.  
  758.  
  759.  
  760.  
  761.  
  762.  
  763.  
  764.  
  765.  
  766.  
  767.  
  768.  
  769.  
  770.  
  771.  
  772.  
  773.  
  774.  
  775.  
  776.  
  777.  
  778.  
  779.  
  780.  
  781.  
  782.  
  783.  
  784.  
  785.  
  786.  
  787.  
  788.  
  789.  
  790.  
  791.  
  792.  
  793.                                    Page 12
  794.  
  795.