home *** CD-ROM | disk | FTP | other *** search
/ Black Box 4 / BlackBox.cdr / os2 / te2_120.arj / TE2.DOC < prev    next >
Encoding:
Text File  |  1992-06-15  |  165.9 KB  |  3,626 lines

  1.                         Documentation for Oberon Terminal Emulator/2
  2.                                                         Version 1.20
  3.                                                    Shareware Version
  4.  
  5.                                                      Oberon Software
  6.                                                518 Blue Earth Street
  7.                                               Mankato, MN 56001-2142
  8.  
  9.                                            Voice Phone: 507/388-7001
  10.                                                    BBS: 507/388-1154
  11.                                                    FAX: 507/388-7568
  12.                                            MCI Mail: oberon/413-5847
  13.                                                GEnie Mail: B.FLOWERS
  14.                                                      CIS: 72510,3500
  15.                                                    FidoNet: 1:292/60
  16.  
  17.                                                        June 15, 1992
  18.  
  19.   -------------------------------------------------------------
  20.  
  21. Copyright 1991-1992, Oberon Software, Mankato, MN - All Rights Reserved
  22.  
  23.   -------------------------------------------------------------
  24.  
  25.                            Contents
  26.  
  27.         Forward
  28.   I.    Restrictions
  29.   II.   System Requirements
  30.   IV.   About TE/2 - Overview
  31.   V.    Installation
  32.   VI.   Starting TE/2
  33.         A. From the OS/2 command line
  34.         B. From the Presentation Manager
  35.   VII.  About TE/2 - Detailed
  36.         A. Terminal Mode
  37.         B. The Dialing Directory
  38.         C. Dialer
  39.         D. Chat Mode
  40.         E. The Scroll Back Buffer
  41.         F. Protocol Status Display
  42.   VIII. Customization
  43.         A. TE2.INI
  44.         B. TE/2 Command Line
  45.         C. TE2Color Program
  46.         D. Starting TE/2 from Presentation Manager
  47.         E. TE2.XEX
  48.         F. TE2.FNK
  49.         G. TE2INP.XLT and TE2OUT.XLT
  50.   IX.   Registering TE/2
  51.   X.    Disclaimer
  52.  
  53.  
  54.  
  55.   -------------------------------------------------------------
  56.  
  57.                     Forward to Version 1.10.b
  58.                         15 August, 1990
  59.  
  60.     Version 1.10.a was the first official release of TE/2 as a
  61.   shareware product.  Several earlier versions were available
  62.   previously and were referred to as "beta" test versions.  I
  63.   would like to thank everyone who, after using one or another
  64.   of these "pre-release" versions contacted me with problem
  65.   reports, suggestions, compliments, and/or criticisms.  There were
  66.   quite a few of you and, having proved that you are a vocal lot,
  67.   I quite expect to continue receiving your excellent feedback.
  68.   This I look forward to, it can only help to make TE/2 a better
  69.   program.
  70.  
  71.     During the last month or two, during the final beta test cycle,
  72.   several people have donated a large share of their time helping
  73.   to prepare for this version of TE/2.  Special thanks go out to
  74.   Jim Gilliland, Jon Saxton, Mike Smedley, and Chacko Neroth for
  75.   all of their invaluable help.  Thanks to Chuck Gilmore for much
  76.   good advice and moral support.  Thanks to Phil Jurgenson for help
  77.   with the English language.
  78.  
  79.  
  80.  
  81.                    Forward to Version 1.10.c
  82.                          31 March, 1991
  83.  
  84.     It seems that I have a great many more people to thank with this
  85.   release of TE/2.  I speak of all the people out there in the
  86.   U.S., Canada, Europe, and Australia who have used and registered
  87.   version 1.10.b.  It has been your support, in more than just a
  88.   monetary sense, that has really made TE/2 a living growing thing.
  89.   Of course, without adequate financial support, no product can hope
  90.   to survive and I am very grateful for your support in that arena.
  91.   But also, I am grateful for the personal feedback. It helps a
  92.   developer to maintain a sense of accomplishment and, more often than
  93.   not, humility.
  94.  
  95.     Thanks to everyone who has helped directly or indirectly with this
  96.   release of TE/2: testers, advisors, friends and family.  Special
  97.   thanks for the continuing assistance of everyone mentioned in the
  98.   earlier dedication and also to Pete and Bobbie Norloff, Chris Laforet,
  99.   Ron Hendricks, Robbie Faust, Rell Ambrose, Matt Johnson, and to IBM
  100.   for providing a wonderful Developers Assistance Program.
  101.  
  102.  
  103.  
  104.                    Forward to Version 1.20
  105.                          15 June, 1992
  106.  
  107.     Over the last year we've seen interest in OS/2 grow steadily and,
  108.   with the release of OS/2 2.0 last April, literally explode overnight.
  109.   The amount of interest in TE/2 and other Oberon products is at a
  110.   level that I could only hope for back in August of 1990 when I
  111.   typed the first "Forward" in this series.  Of all the people I want
  112.   to thank in this paragraph, perhaps the most important are the
  113.   people at IBM for producing the very exciting OS/2 Version 2.0.
  114.   So, to the developers at Boca Raton (whether your name shows up on
  115.   the "S. S. Boca" display or not) and Lee Reiswig (the Blue Ninja)
  116.   a sincere "Thanks" and a tip o' the hat on a job well done.  Special
  117.   notes of thanks to Doug Azzarito for technical help, Albert Kleyn
  118.   from IBM UK, Carol Ziemba from Boca.  Thanks also to all of the
  119.   fine people who have contributed to TE/2 by way of beta testing
  120.   and advising; your efforts have been invaluable.  Thanks to Steven
  121.   Tower for help with screen layouts for TE/2 and on the BBS.
  122.  
  123.     Of course, it's the users that make or break the situation.
  124.   Thanks to all of you for your continued support!
  125.  
  126.  
  127.   -------------------------------------------------------------
  128.  
  129.  
  130. I. Restrictions
  131.  
  132.     This version of TE/2 is supplied for personal, private use.
  133.   Feel free to distribute TE/2 given these restrictions:
  134.  
  135.    o  the program shall be supplied in its original, unmodified
  136.       form, which includes this documentation and all accompanying
  137.       support files;
  138.  
  139.    o  no fee is charged;
  140.  
  141.    o  use for profit without a license is prohibited;
  142.  
  143.    o  the program may not be included or bundled with other
  144.       goods or services. Exceptions may be granted upon written
  145.       request only.
  146.  
  147.  
  148.     If you are using TE/2 and find it of value, you are expected to
  149.   become a registered user.  In exchange for registration you will
  150.   receive an enhanced version of TE/2 containing, among other things,
  151.   TE/2's Script Language interpreter.  You will also receive printed
  152.   documentation for TE/2, one free version upgrade when the next
  153.   version becomes available, and automatic notification of all future
  154.   releases.
  155.  
  156.     For information on registering, please see the file ORDER.FRM
  157.   distributed with the shareware archive file.  If for some reason
  158.   this file is not available, please write, call, or fax Oberon
  159.   Software for information.  Addresses and phone numbers appear at
  160.   the beginning and the end of this file.
  161.  
  162.     For use by corporations and other institutions, please  contact
  163.   the Oberon Software for a licensing arrangement.
  164.  
  165.  
  166.  
  167.   -------------------------------------------------------------
  168.  
  169.  
  170. II. System Requirements
  171.  
  172.     TE/2 is written for the IBM PC/AT, IBM PS/2, or any compatible
  173.   computer that can run MS OS/2 or IBM OS/2.  TE/2 will run in OS/2
  174.   Protected Mode only and may be run from either a full screen OS/2
  175.   session or on a Presentation Manager VIO window.
  176.  
  177.     TE/2 requires OS/2 version 1.2 or later.  This version of TE/2
  178.   has been extensively tested under OS/2 Version 2.0 to insure proper
  179.   operation in that environment.
  180.  
  181.     In addition, a modem or other asynchronous communications device
  182.   will be necessary for the operation of TE/2.
  183.  
  184.  
  185.   -------------------------------------------------------------
  186.  
  187.  
  188. IV.   About TE/2 - Overview
  189.  
  190.     TE/2 is a communications program for OS/2 protected mode.  It is
  191.   a full screen application (not a Presentation Manager application)
  192.   and will run in either a full screen session or a VIO windowed
  193.   session.  Because TE/2 is multi-threaded, it cannot be made into a
  194.   bound application.
  195.  
  196.     The shareware version of TE/2 is a fully functional communications
  197.   program.  There is no "expiration date" on which it self-destructs
  198.   or otherwise becomes inoperable.  The features which this version
  199.   has in common with the full, registered version are complete and
  200.   not "crippled" in any way.  These features include:
  201.  
  202.     o  Five terminal emulation modes: raw TTY mode, standard ANSI-BBS
  203.        mode, an extended ANSI mode called ANSI-TE/2, VT100, and IBM
  204.        3101 emulation mode.
  205.  
  206.     o  Six upload/download protocols: standard Xmodem-CRC with
  207.        Checksum fall-back, XModem-1K which supports 1024 byte packets
  208.        and automatic fall-back to standard XModem, YModem batch
  209.        protocol, YModem-G variant of the YModem protocol for MNP
  210.        modems, ZModem batch protocol, and straight ASCII text file
  211.        uploads and log file capture ability for text file "downloads".
  212.  
  213.     o  Multiple 200 entry dialing directories.
  214.  
  215.     o  Default line parameters, terminal emulation, and transfer
  216.        protocol assignable to each directory entry.
  217.  
  218.     o  Time and date of last connection and number of connections to
  219.        date saved for each directory entry.
  220.  
  221.     o  Auto redialing, manual dialing, and round-robin "queue-dialing".
  222.  
  223.     o  Alternate keyboard setups for use with remote host programs
  224.        such as OS2You or Doorway.
  225.  
  226.     o  Split screen "Chat" mode with access to nearly all of the
  227.        program functions normally available in standard terminal mode.
  228.  
  229.     o  Unlimited number of user definable external programs with very
  230.        robust command line handling.  External programs may be
  231.        executed in the foreground or background, as a child process or
  232.        as a separate session.
  233.  
  234.     o  All 48 function keys fully programmable as text macros.
  235.  
  236.     o  Shell to operating system.
  237.  
  238.     o  "Scroll-Back" redisplay buffer, user definable to nearly any
  239.        desired size.  Scroll back buffer may be searched for text and
  240.        the entire buffer or a subset may be written to disk or
  241.        retransmitted as an ASCII upload with optional "quoting".
  242.  
  243.  
  244.  
  245.   -------------------------------------------------------------
  246.  
  247.  
  248. V.    Installation
  249.  
  250.     You may place TE/2's files nearly anywhere you want on your
  251.   hard disk with only a few restrictions:
  252.  
  253.       1. The file COMMPAK2.DLL must be placed in a directory referred
  254.          to in your LIBPATH setting from your CONFIG.SYS file.  If
  255.          you are not sure what this setting is, please look into your
  256.          CONFIG.SYS file using a text editor such as the OS/2 system
  257.          editor.  Look for a line that begins "LIBPATH=".  It will
  258.          have a directory name, or list of directory names separated
  259.          by semicolons, following the equal sign.  COMMPAK2.DLL must
  260.          be placed into one of these directories.
  261.  
  262.          ADVANCED USERS:  It is very convenient to place "." in the
  263.          LIBPATH. I.e., "LIBPATH=.;C:\OS2\DLL;" so that the current
  264.          directory is always searched first for a DLL.  This way an
  265.          application like TE/2 may be kept together in a directory
  266.          with its attendant DLL(s).
  267.  
  268.       2. It is recommended that you place all the rest of the files
  269.          together in a single directory, perhaps creating a "TE2"
  270.          directory specifically for this purpose.  This is not
  271.          a necessary procedure but it certainly aids in keeping track
  272.          of TE/2 and its support files.
  273.  
  274.          PLEASE NOTE:  If you are installing over an existing version
  275.          of TE/2, you should take care that you do NOT overwrite
  276.          your existing support files: TE2.INI, TE2.DIR, TE2.FNK,
  277.          TE2.XEX, TE2INP.XLT and TE2OUT.XLT.  The new version of TE/2
  278.          can and will read older versions of these files correctly.
  279.          In the case of TE2.INI, you should refer to the information
  280.          in the "Customization" section so that you can merge in any
  281.          new features.
  282.  
  283.       3. If you want to be able to execute TE/2 from any directory on
  284.          your disk, you should make sure that the directory you have
  285.          chosen for TE/2 is referred to in your PATH environment
  286.          setting.  TE/2 will be able to find its support files as
  287.          long as they are in the same directory as TE2.EXE or
  288.          otherwise somewhere along the PATH.
  289.  
  290.     Several of the support files will need to be customized for your
  291.   system and/or personal preferences.  The most important of these is
  292.   the file TE2.INI.  The use of this file is covered more completely
  293.   below in the section on Customization. However, in order to get "up
  294.   and running" it may be necessary to alter a couple of things in
  295.   this file right now.
  296.  
  297.     TE2.INI is a flat ASCII text file; you may use the text editor of
  298.   your choice to view or alter this file.  For our purposes here we
  299.   will assume that you are using the OS/2 system editor.  Load the
  300.   file into the editor either by typing "e te2.ini" at the OS/2
  301.   command line prompt or by invoking the editor from the Presentation
  302.   Manager and loading the file via the editor's "File.." menu.
  303.  
  304.     Each line in the TE2.INI file contains a keyword followed by a
  305.   value (or it is a comment line beginning with a semicolon).  You
  306.   should look for the following keywords. These are the things you are
  307.   most likely to need to change:
  308.  
  309.     Port        If your modem is attached to the COM1 port you do not
  310.                 need to do anything, leave the line as it is.  If your
  311.                 modem is attached to COM2 or COM3, change the number
  312.                 "1" on this line to "2" or "3" as appropriate.
  313.                 If your communications device is not COM1, COM2, COM3,
  314.                 et cetera, you must change the "Device" statement.
  315.  
  316.     Device      Alter this statement only if you need to do so as
  317.                 mentioned in the above paragraph on the "Port"
  318.                 statement.  If your communications device is not named
  319.                 COMx (where "x" is a number from 1 to 8) you must
  320.                 "un-comment" this line (remove the leading semicolon)
  321.                 and replace the "com1" that follows the keyword with
  322.                 the name of your comm device.  The "Device" statement
  323.                 will supersede the "Port" statement (although you
  324.                 may want to "comment out" the "Port" statement as a
  325.                 reminder to you later that the statement is unused).
  326.  
  327.     Baud        This determines the baud rate at which TE/2 will
  328.                 begin operations.  It is set to 2400 by default.  If
  329.                 your modem is not capable of 2400 baud, you should
  330.                 replace the number "2400" on this line with the
  331.                 highest baud rate your modem is capable of.  Likewise,
  332.                 if you have a high speed modem, you will most likely
  333.                 want to increase this number to your desired baud
  334.                 rate.
  335.  
  336.     If you do not have a Hayes compatible modem, you will need to
  337.   refer to the "Customization" section below for information on
  338.   further modifying the settings in TE2.INI.  Otherwise, this should
  339.   be sufficient for you to start up TE/2.
  340.  
  341.  
  342.  
  343.   -------------------------------------------------------------
  344.  
  345.  
  346. VI.   Starting TE/2
  347.  
  348.     A. From the OS/2 command line
  349.  
  350.     Once you've installed the various files as outlined in the
  351.   section on Installation, you are ready to try running TE/2.  From
  352.   the OS/2 command line this is as easy as typing "TE2" at the system
  353.   prompt.  The first thing you should see on the screen is the TE/2
  354.   logo display.  If any errors were encountered while TE/2 was
  355.   reading its initialization file a message or messages will be
  356.   printed on the screen before the logo display.  If you receive any
  357.   such error messages you should locate the line referred to in the
  358.   message, and correct the situation.  Refer to the section on
  359.   Customization below to find a discussion of the keyword in question.
  360.   The logo display will remain on the screen for several seconds as
  361.   TE/2 initializes, after which you may strike any key to remove the
  362.   logo display, or simply wait several more seconds for it to remove
  363.   itself.
  364.  
  365.     The second screen is a shareware notice.  If this your the first
  366.   time running TE/2 you should read through this screen.  Afterwards,
  367.   you may strike any key to enter TE/2 terminal mode or press the
  368.   ESCape key to exit TE/2 at this point.  This screen is not present
  369.   in the version of TE/2 which you will receive when you register
  370.   TE/2.
  371.  
  372.  
  373.     B. From the Presentation Manager
  374.  
  375.     You should refer to your OS/2 documentation for the procedure to
  376.   follow for installing applications into the Presentation Manager.
  377.   This process differs among the various versions of OS/2 and will
  378.   not be covered here in detail.  There are several things to
  379.   consider which are common to all versions however.
  380.  
  381.       1. Properties
  382.  
  383.       When OS/2 asks if the program should be run in a full screen
  384.     session or in a Presentation Manager Window, you may choose
  385.     either of these options.  DO NOT indicate to the Presentation
  386.     Manager that TE/2 is a Presentation Manager Application or a
  387.     DOS Mode Application even if it will let you (it shouldn't).
  388.     For maximum speed of operations you should indicate that TE/2
  389.     should be run in a full screen session.  It may even be
  390.     convenient to install two startup entries for TE/2, one for a
  391.     full screen session and another for a Presentation Manager
  392.     Window.  You can then chose the one which is more appropriate
  393.     for the task at hand.
  394.  
  395.       2. Colors
  396.  
  397.       If you run TE/2 in a Presentation Manager Window you may not
  398.     be satisfied with the default color setup.  These may be modified
  399.     in your TE2.INI file. See the section on Customization for
  400.     information on setting the TE/2 color attributes.  You may even
  401.     specify an alternate initialization file for TE/2 when it is to
  402.     be run in windowed mode.  To do this you should make copy of the
  403.     TE2.INI either in the same directory with a different name or in
  404.     another directory (with or without a different name).  Referring
  405.     to the Customization section, make the changes to your alternate
  406.     initialization file.  You must also change the section in the
  407.     Presentation Manager installation for TE/2 as to Command Line
  408.     Parameters;  add the command line "-f<filename>" where
  409.     "<filename>" is the name of your alternate initialization file.
  410.  
  411.  
  412.   -------------------------------------------------------------
  413.  
  414.  
  415. VII.  About TE/2 - Detailed
  416.  
  417.       A. Terminal Mode
  418.  
  419.     TE/2 enters terminal mode as soon as it has completed its startup
  420.   procedures.  In terminal mode the top portion of the screen will be
  421.   mainly blank when you first enter; you may see one or two lines of
  422.   information resulting from initializing the modem.
  423.  
  424.     The lower ten lines of the screen contain a menu of available
  425.   commands along with the keystroke used to invoke the command. 
  426.   Let's examine these functions one by one.  The behavior of many
  427.   of these commands may be altered in the TE2.INI file.  You should
  428.   refer to the section on Customization for information on doing so.
  429.   Here we will discuss the default behavior of each and note as to
  430.   how they may be modified.
  431.  
  432.  
  433. =============================================================================
  434. Alt-A Terminal Emulation Alt-J User Programs      Alt-S Snap Shot
  435. Alt-B Send Break         Alt-K Keyboard Macros    Alt-T Logfile Toggle
  436. Alt-C Clear Term Screen  Alt-L Logfile Open/Close Alt-U Upload
  437. Alt-D Dial Directory     Alt-M Manual Dial        Alt-V LF after CR
  438. Alt-E Toggle local Echo  Alt-N Download           Alt-W Scroll Back
  439. Alt-G Chat Mode          Alt-O OS/2 shell         Alt-X Exit to OS/2
  440. Alt-H Hangup             Alt-P Parameters         Alt-Y Setup Colors
  441. Alt-I Information        Alt-Q Queue Dial         Alt-Z Toggle Menu
  442. Alt-= Alternate Keyboard Alt-R Redial            -- TE/2 Terminal Emulator --
  443.  
  444.  
  445.                                 Figure AA.
  446.                            Terminal Screen Menu
  447.  
  448.  
  449.  
  450.       Alt-A Terminal Emulation
  451.       ========================
  452.  
  453.         You are presented with a menu listing the available terminal
  454.       emulation modes.  The current emulation mode will be the
  455.       default selection on the menu; at startup this will be
  456.       ANSI-TE/2 unless this has been changed in your initialization
  457.       file.
  458.  
  459.         The various emulation modes are listed here with a brief
  460.       overview of each.
  461.  
  462.         TTY
  463.           "Raw" terminal mode, no character translation is performed
  464.         except on carriage return, line feed, backspace, tab, and
  465.         bell characters.  There are no key reassignments made.
  466.  
  467.         ANSI-BBS
  468.           Standard ANSI terminal mode as expected by most Bulletin
  469.         Board systems.  All color attribute commands, cursor
  470.         positioning commands, and device status report commands
  471.         are supported.  Those ANSI command which change the video
  472.         mode are NOT supported.  The cursor keys, both on the numeric
  473.         keypad with NumLock off and the dedicated gray cursor keypad
  474.         are reassigned to send the standard ANSI keypad values.
  475.  
  476.         ANSI-TE/2
  477.           This is a slightly extended ANSI emulation mode.  It
  478.         supports everything that the ANSI-BBS mode does plus several
  479.         extended commands.
  480.  
  481.         VT100
  482.           Supports most VT100 command codes.  The cursor keypads
  483.         are remapped and may be reprogrammed by the host.  VT100 mode
  484.         will respond to ENQ characters sent from the host if the
  485.         EnqReply is defined in the initialization file.  Function
  486.         keys F1 - F4 will behave like the PF keys on the VT100 unless
  487.         you have redefined them (see the section on TE2.FNK below).
  488.         When in VT100 mode, the '*' key on the numeric keypad will
  489.         act as if it were the COMMA key on the VT100 numeric keypad.
  490.         Some VT102 functions are also supported.  There are three VT100
  491.         specific setting in the TE2.INI file: EnqReply, VT100Backspace,
  492.         and VT100Prn.
  493.  
  494.           "EnqReply" may be set to the string which the VT100 emulator
  495.            will return to the host when it encounters the ENQ characters.
  496.  
  497.           "VT100Backspace" is by default "false" indicating that
  498.           incoming backspace characters (ACSII 8) will be handled in
  499.           the same manner as a true VT100, that is, the cursor will
  500.           be moved one character to the left unless it already is at
  501.           the left column of the screen; no characters are erased.
  502.           If set to "true", the backspace will become "destructive";
  503.           it will be treated as though the VT100 emulation had
  504.           received the sequence: Backspace, Space, Backspace.
  505.  
  506.           "VT100Prn" is by default NULL which disables the printing
  507.           feature of the VT100/220.  It may be set to any device or
  508.           file name, all VT100 generated print output will be sent
  509.           to this device or file.
  510.  
  511.         3101
  512.           Supports most character (stream) mode 3101 operations.
  513.         Block mode is not supported in this release.  The cursor keys
  514.         and keypad are remapped to emulate the 3101 keyboard and
  515.         function keys F1 - F8 will behave like the PF keys on the
  516.         3101 keyboard unless you have redefined them (see the section
  517.         on TE2.FNK below).  There are several 3101 specific settings
  518.         in the TE2.INI file: AutoNL3101, AutoLF3101, Scroll3101, and
  519.         EndChar3101.  These simulate several of the switch setting
  520.         on the IBM 3101 terminal.  Refer to the Customization section
  521.         elsewhere in this document for further information.
  522.  
  523.  
  524.       Alt-B Send Break
  525.       ================
  526.  
  527.           Transmits a 1000ms break signal.  The duration may be
  528.         changed in the initialization file.
  529.  
  530.  
  531.       Alt-C Clear Term Screen
  532.       =======================
  533.  
  534.           Clears the terminal screen (that portion of the screen
  535.         above the menu) to the current attribute.  Note that this
  536.         color attribute may not be the same as you have defined
  537.         for the terminal screen (default is white on black) if you
  538.         are in an ANSI mode and the remote system has sent the
  539.         appropriate codes to reset the default attribute.
  540.  
  541.           You may alter the operation of the Clear Screen function
  542.         such that it will restore the default attribute before
  543.         clearing the screen via the "ClsReset" setting in the TE2.INI
  544.         file.
  545.  
  546.  
  547.       Alt-D Dial Directory
  548.       ====================
  549.  
  550.           Enter dialing directory mode.  The various features and
  551.         functions of the dialing directory are covered in detail
  552.         in a section below.
  553.  
  554.  
  555.       Alt-E Toggle Local Echo
  556.       =======================
  557.  
  558.           Local echo is OFF by default unless it has been changed in
  559.         the initialization file.  When local echo if ON all
  560.         characters typed at the keyboard are sent to the screen as
  561.         well as transmitted to the communications port.  Most BBS
  562.         systems will automatically echo your characters back to you
  563.         through the phone lines so you will want to leave Local Echo
  564.         turned off or you will see each character appear twice on the
  565.         screen.  Some host systems do not echo your characters, when
  566.         connected to such as system you must turn Local Echo ON in
  567.         order to see what you are typing.
  568.  
  569.           Note: You may set the state of the local echo on an entry
  570.         by entry basis in the dialing directory.
  571.  
  572.  
  573.       Alt-G Chat Mode
  574.       ===============
  575.  
  576.           Enter chat mode.  The various features and functions of
  577.         chat mode are covered in detail in a section below.
  578.  
  579.  
  580.       Alt-H Hangup
  581.       ============
  582.  
  583.           Sends a sequence of commands to the modem which will cause
  584.         any active connection to be severed.  If you are currently
  585.         on-line when you request hangup, TE/2 will ask you for
  586.         verification before proceeding; this behavior may be modified
  587.         in the initialization file so that it will always ask or never
  588.         ask.
  589.  
  590.           The default terminal color attribute is restored after a
  591.         hangup command is issued.
  592.  
  593.           Note: The default action at hangup is to drop the Data
  594.         Terminal Ready signal momentarily before sending the default
  595.         modem hangup command.  You may alter this behavior in the
  596.         initialization file so that DTR is not dropped.  You may also
  597.         modify the modem command string.
  598.  
  599.  
  600.       Alt-I Information
  601.       =================
  602.  
  603.           Presents an informational display of the current values of
  604.         the following settings:
  605.  
  606.            Com Port: Port number/name
  607.                Baud: Baud rate setting
  608.              Parity: Parity setting (None, Even, etc.)
  609.         Word Length: Data Word length (7 or 8)
  610.           Stop Bits: Number of stop bits (1, 1.5, or 2)
  611.           Emulation: Emulation mode (TTY, ANSI-BBS, etc.)
  612.          Local Echo: Local echo setting (True or False)
  613.         LF after CR: CR/CR-LF setting (True or False)
  614.         Line Status: OnLine or OnHook
  615.            Log File: Log file name
  616.          Log Status: Log file status (Open, Closed, or Paused)
  617.             Process: Always "1" in this version of TE/2
  618.  
  619.           The bottom line of the Information display contains the
  620.         current date and time.  The time display is a real-time
  621.         clock.
  622.  
  623.           The current version of TE/2 and of the CommPak/2 Dynamic
  624.         Link Library, and contact information for Oberon Software
  625.         are also displayed at this time.
  626.  
  627.  
  628.       Alt-J User Programs
  629.       ===================
  630.  
  631.           Displays a menu of the user defined external program as set
  632.         forth in the file TE2.XEX.  The default set of these entries
  633.         contains mainly examples which use some standard OS/2
  634.         programs to give you a guide to installing a set of your own.
  635.         For more information on this procedure please refer to the
  636.         section on Customization.
  637.  
  638.           To execute a program on this list, just move the menu
  639.         highlight to the desired line and press ENTER.
  640.  
  641.           You may have more than one set of external programs
  642.         defined.  TE/2 always reads the default set from TE2.XEX
  643.         first however if you type "N" (for "New File") while the
  644.         external programs menu is on screen you will be prompted for
  645.         a new file to load for this menu.
  646.  
  647.  
  648.       Alt-K Keyboard Macros
  649.       =====================
  650.  
  651.           Displays a menu that will allow you to examine and/or alter
  652.         the strings assigned to all 48 function keys (the 12 "Normal"
  653.         function keys, and in conjunction with the Shift, Control,
  654.         and Alt keys).  These assignments define what will be
  655.         transmitted when that key is typed in terminal mode.
  656.  
  657.           The menu contains the following options:
  658.  
  659.                 Regular
  660.                 Shifted
  661.                 Control
  662.                 Alt
  663.                 Save File
  664.                 New File
  665.  
  666.           The first four options on this menu will each invoke a
  667.         dialog wherein the 12 associated function key assignments may
  668.         be viewed.  You may use the up and down cursor keys to move
  669.         about and any of the 12 lines may be edited.  When your
  670.         editing is complete you may type ENTER and the new
  671.         assignments will be in effect or type ESCape to return the
  672.         assignments to what they were before you entered the section.
  673.  
  674.           There are two "special" characters which may be entered
  675.         into a function key assignment.  They are the tilde ("~")
  676.         and the caret ("^") characters.  The tilde will be translated
  677.         into a 0.50 second pause when the string is sent to the modem.
  678.         The caret works in conjunction with the character directly
  679.         following it.  This is your method of embedding control codes
  680.         into the string.  If you need to transmit a carriage return
  681.         character you will need to use the sequence "^M" (pronounced
  682.         "Control-M") to do so.  The carriage return character has the
  683.         ASCII code 13, the "M" is the thirteenth character in the
  684.         alphabet, thus the conversion.  Similarly, the line feed
  685.         character has ASCII code 10 so you would use "^J".  A couple
  686.         less obvious examples would be "^@" to send a NULL (zero)
  687.         character and "^[" to send the ESCape character (ASCII code
  688.         27).  Use "^!" if you need to send an actual "^" character.
  689.  
  690.           In the registered version of TE/2 you may also have a
  691.         function key execute an arbitrary TE/2 Script Language
  692.         command.  Any function key definition which begins with an
  693.         exclamation point will be treated as a command.
  694.  
  695.           Another way to exit this dialog is by typing a function key
  696.         (without the Shift, Control, or Alt key).  This will exit
  697.         both the dialog and the Function Key menu and transmit the
  698.         string associated with that key in the current dialog.
  699.  
  700.           You should be aware that two of the terminal emulations,
  701.         the VT100 and the IBM 3101 will use some of the unshifted
  702.         function keys to emulate their respective keyboards if they
  703.         have not been redefined here.  The VT100 uses keys F1 through
  704.         F4, the 3101 uses F1 through F8.  If you want the emulation
  705.         package to have access to these keys you should not redefine
  706.         them through this facility.
  707.  
  708.  
  709.       Alt-L Logfile Open/Close
  710.       ========================
  711.  
  712.           If there is no log file currently open, you will be
  713.         prompted for the name of a file.  If you don't specify a path
  714.         with the file name, the default log file path specified in
  715.         your initialization file will be added to the beginning of
  716.         the file name (the default log file path is the current
  717.         directory unless you have modified the setting in the
  718.         initialization file, see the section on Customization for
  719.         details).  If the file already exists you will be asked if
  720.         you want to append new data to that file, overwrite the old
  721.         file with the new data, retype the file name, or just cancel
  722.         the whole affair.
  723.  
  724.           All characters that are sent to the terminal screen while
  725.         a log file is open (except for ANSI ESCape codes) will be
  726.         placed into the log file.  This is useful for capturing a
  727.         long stream of text or messages from the remote source so
  728.         that you may look through it later when you are off-line.
  729.  
  730.           If there is a log file currently open, this function will
  731.         close it.
  732.  
  733.  
  734.  
  735.       Alt-M Manual Dial
  736.       =================
  737.  
  738.           Use this function to dial a phone number that is not in
  739.         your dialing directory.  Simply type the number as it should
  740.         be dialed at the prompt.  TE/2 will dial that number, the
  741.         line settings will be whatever is current when Manual Dial
  742.         was invoked.  You may always change the line settings later.
  743.  
  744.  
  745.       Alt-N Download  (Also: Gray PgDn key)
  746.       ==============
  747.  
  748.           This presents you with a menu of choices for which download
  749.         protocol you wish to begin.  The choices available in this
  750.         version of TE/2 are:
  751.  
  752.             XModem
  753.  
  754.               This is a nearly universal protocol in the PC world.
  755.             Though others may be faster, it is almost guaranteed
  756.             that any system you are connected to will support the
  757.             XModem protocol.  When you select XModem from the menu
  758.             you will be asked to supply a file name for the incoming
  759.             file.
  760.  
  761.               There are two different "flavors" of XModem.  The
  762.             difference is in the error detection method employed.
  763.             The older method uses what is called a CheckSum, the
  764.             newer uses a "Cyclical Redundancy Check" (CRC) method.
  765.             You might see these referred to on various systems as
  766.             "XModem" and "XModem-CRC".  TE/2 is able to automatically
  767.             detect which version of XModem the receiving system is
  768.             expecting and will adapt appropriately.  TE/2 will always
  769.             try first to use the more reliable CRC method but will
  770.             "fall back" to CheckSum error detection if necessary.
  771.  
  772.  
  773.             XModem1K
  774.  
  775.               This is exactly like XModem except that XModem1K uses
  776.             a larger block size (1024 bytes as opposed to 128 bytes
  777.             in XModem) and will be slightly faster because of it.
  778.             XModem1K uses the CRC (see notes in XModem above)
  779.             method is error detection.  XModem1K is able to auto-
  780.             matically "fall back" to XModem-CRC if necessary.  When
  781.             you select XModem1K from this menu you will be asked to
  782.             supply a file name for the incoming file.
  783.  
  784.               This protocol might actually be called YModem by some
  785.             systems or communications programs.  This is an
  786.             historical accident that you must be aware of.  These
  787.             systems and programs usually refer to "real" YModem as
  788.             YModem Batch.
  789.  
  790.  
  791.             YModem
  792.  
  793.               YModem is like XModem1K but adds one extra packet of
  794.             information preceding each file it transfers.  This
  795.             packet contains the files name, size, and the time/date
  796.             stamp of the file.  Thus YModem is able to recreate the
  797.             transferred file more exactly than the XModem protocols.
  798.             When you select YModem from this menu you will not be
  799.             asked to supply a file name because this feature of the
  800.             protocol.
  801.  
  802.               YModem is a "batch" protocol.  This means that the
  803.             sending system is able to send several files, one after
  804.             the other, during one YModem session.
  805.  
  806.               Some systems and communications program may call what
  807.             is really XModem1K by the name YModem (see notes in
  808.             XModem1K above) and may call what is really YModem by
  809.             the name YModem Batch.
  810.  
  811.  
  812.             YModem-G
  813.  
  814.               This is exactly like YModem as described above except
  815.             that the protocol makes very little attempt to detect
  816.             errors that occur during the transmission.  It is for
  817.             use between two systems, both of which are using modems
  818.             capable of doing this error detection/correction them-
  819.             selves (such as an MNP modem).  If you are unsure of
  820.             whether your modem has such a feature or whether the
  821.             remote system to which you are connected has such a
  822.             modem, you should probably not attempt to use YModem-G.
  823.             You should check your modem documentation to determine
  824.             whether your modem is capable of hardware error
  825.             correction and, if so, how to enable this feature.
  826.             If you are unsure of the remote source, you should ask
  827.             the system operator or administrator.
  828.  
  829.  
  830.             ZModem
  831.  
  832.               ZModem is an evolutionary step beyond the XModem/YModem
  833.             family of protocols.  It uses a more sophisticated method
  834.             or error detection and correction, is able to transmits
  835.             data packets in one direction on the phone line while
  836.             transmitting verification or error reports in the other,
  837.             and can dynamically reconfigure its own operation during
  838.             a transfer in an attempt to gain the best results for the
  839.             current line connection and other variables.
  840.  
  841.               ZModem was developed by Chuck Foresburg for Omen Tech-
  842.             nologies and is a trademark of theirs.  The source code
  843.             for (a Unix/DOS/VMS version of) ZModem has been placed
  844.             into the public domain and is available for download to
  845.             any interested parties via the Oberon Software User
  846.             Support BBS free of charge.
  847.  
  848.  
  849.             CompuServe B Plus Protocol
  850.  
  851.               Note that CompuServe B Plus protocol is only available
  852.             in the registered version of TE/2.
  853.  
  854.               This protocol does NOT appear on the upload or download
  855.             protocol menus because of the client-server nature of the
  856.             CompuServe Transport Layer.  In order to accomplish a CIS
  857.             B Plus file transfer with CompuServe, you must select CIS
  858.             B Plus as the default file transfer protocol in the dial-
  859.             ing directory entry for CompuServe (see the section on
  860.             the TE/2 Dialing Directory, below for details).  While you
  861.             are on-line with CompuServe, TE/2 will then be in a Compu-
  862.             Serve "mode".  If you then select a B Plus file transfer
  863.             to the CompuServe host, from that point on, the details
  864.             of the file transfer will be handled by CompuServe and
  865.             communicated directly to TE/2 through the protocol.  It
  866.             should be noted that CIS B Plus Protocol does NOT follow
  867.             the rules for Default Download and Upload paths and the
  868.             progress reports in the Protocol Status Display may be
  869.             more esoteric than with the other protocols.
  870.  
  871.  
  872.           As the file transfer progresses, you will be kept abreast of
  873.         its progress via a dialog box.  Refer to the section on the
  874.         "Protocol Status Display" for an explanation of this dialog.
  875.  
  876.  
  877.  
  878.       Alt-O OS/2 shell
  879.       ================
  880.  
  881.           This function will execute a new copy of CMD.EXE as
  882.         a foreground task and allow you to perform a directory
  883.         listing, copy files, or run nearly any program you need
  884.         at a moments notice.  Because of the multitasking nature
  885.         of OS/2 and the Presentation Manager, this function if
  886.         not strictly necessary (as it was in MSDOS) however we
  887.         have found it much quicker and more convenient for many
  888.         simple tasks to use this function rather than
  889.         Alt-ESCaping or clicking to another window.  TE/2's
  890.         current screen contents are saved before the shell is
  891.         executed and restored upon return.
  892.  
  893.           You should NOT however remain the this OS/2 shell for
  894.         long periods of time (or at all) if there is any amount
  895.         of data coming in at the comm port as TE/2's comm port
  896.         handler will work at reduced efficiency during this
  897.         process and data may be lost.
  898.  
  899.           By default, the program executed by this function is
  900.         CMD.EXE which results in an OS/2 command line prompt.
  901.         If you have some other command interpreter, such
  902.         as the Hamilton CShell or Brady Flowers' FSHL program,
  903.         you may optionally configure this function to execute
  904.         any program of your choice.  Please refer to the section
  905.         on Customization for details on how to accomplish this.
  906.         This is not restricted to "shell" programs, the executed
  907.         program could as well be an editor or any other text
  908.         mode application.  However, you should note that there is
  909.         much greater functionality for executing external
  910.         programs in the "User Programs" section (see the section
  911.         with that name above and also under Customization for
  912.         details) so you will probably want to restrict your use
  913.         of this feature to a simple shell program.
  914.  
  915.  
  916.  
  917.       Alt-P Parameters
  918.       ================
  919.  
  920.           This function presents you with a menu allowing you to
  921.         view and optionally alter the current settings for: Port,
  922.         Baud, Parity, Word Length, and Number of Stop Bits.
  923.         The menu is two dimensional, the left and right arrows
  924.         move you between the various parameters while the up and
  925.         down arrows move you between the various possible
  926.         settings for the current parameter.
  927.  
  928.  
  929.                  ┌───────────────────────────────────────┐
  930.                  │         Set Line Parameters           │▒
  931.                  ├───────────────────────────────────────┤▒
  932.                  │      Current: COM2,2400,N,8,1         │▒
  933.                  ├───────────────────────────────────────┤▒
  934.                  │                                       │▒
  935.                  │   Port   Baud    Parity  Word  Stop   │▒
  936.                  │                                       │▒
  937.                  │   COM1   110     None    7     1      │▒
  938.                  │   COM2   150     Odd     8     1.5    │▒
  939.                  │   COM3   300     Even          2      │▒
  940.                  │   COM4   600     Mark                 │▒
  941.                  │   COM5   1200    Space                │▒
  942.                  │   COM6   2400                         │▒
  943.                  │   COM7   4800                         │▒
  944.                  │   COM8   9600                         │▒
  945.                  │          19200                        │▒
  946.                  │          38400                        │▒
  947.                  │          57600                        │▒
  948.                  │                                       │▒
  949.                  │  [ENTER] accept        [ESC] abort    │▒
  950.                  └───────────────────────────────────────┘▒
  951.                    ▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒
  952.  
  953.                                 Figure BB.
  954.                     The "Alt-P Parameters" Menu Display
  955.  
  956.  
  957.           If you do not wish to change the current settings, you
  958.         should press ESCape when you are done viewing the
  959.         display.  If you have changed any of the settings, they
  960.         will be discarded unless you press the ENTER key.  If
  961.         TE/2 is unable to set the communications port to the
  962.         values you specified, it will present you with an error
  963.         message and no parameter's setting will have been changed.
  964.         If TE/2 was successful however, the menu display will
  965.         simply disappear.
  966.  
  967.           NOTE: In this release of TE/2, only comm ports COM1
  968.         through COM8 may be selected via this menu.  There is no
  969.         facility for changing the communications device if it has
  970.         a name other than one of these eight.  Furthermore, if
  971.         you selected a communications port via the "Device"
  972.         directive in TE2.INI, whether is has one of the names
  973.         listed above or not, that choice may not be accurately
  974.         reflected in this display.
  975.  
  976.  
  977.       Alt-Q Queue Dial
  978.       ================
  979.  
  980.           This function is exactly equivalent to the Queue Dial
  981.         function in the Dialing Directory section of TE/2.  If
  982.         you have marked any dialing directory entries for the
  983.         queue while in the dialing directory (see that section of
  984.         this document for further information) this function will
  985.         restart the Queue Dialer at the beginning of the queue.
  986.  
  987.  
  988.       Alt-R Redial
  989.       ============
  990.  
  991.           This function will redial the very last number which
  992.         was dialed whether that dialing attempt succeeded or
  993.         failed and whether the number was dialed via the Dialing
  994.         Directory, the Queue Dialer, or Manual Dial.
  995.  
  996.  
  997.       Alt-S Snap Shot
  998.       ===============
  999.  
  1000.           This function will save the contents of the current
  1001.         screen to a disk file.  The files name is TE2SNAP.SHT and
  1002.         will reside in the current directory unless you have
  1003.         specified an alternate file name in TE2.INI (see the
  1004.         section on Customization).  If the file already exists,
  1005.         the screen image will be appended to the file so as not
  1006.         to overwrite what is already in the file.
  1007.  
  1008.  
  1009.       Alt-T Logfile Toggle
  1010.       ====================
  1011.  
  1012.           Toggles the Paused/Active status of the open log file.
  1013.         If no log file is open, this function does nothing. 
  1014.         Otherwise, if the log file is currently active, this
  1015.         function will "Pause" is, activity on the terminal
  1016.         display will not be placed in the log file while it is
  1017.         paused.  If the log file is currently in the Paused
  1018.         state, this function will reactivate it.
  1019.  
  1020.           The current status of the log file (open or closed,
  1021.         paused or active) can be obtained by using the "Alt-I
  1022.         Information" function.  See also "Alt-L Logfile
  1023.         Open/Close" for more information on the log file.
  1024.  
  1025.  
  1026.       Alt-U Upload  (Also: Gray PgUp key)
  1027.       ============
  1028.  
  1029.           This presents a menu of the available upload protocol
  1030.         choices.  The choices available in the current version
  1031.         of TE/2 are:
  1032.  
  1033.                 XModem
  1034.                 XModem1K
  1035.                 YModem
  1036.                 YModem-G
  1037.                 ZModem
  1038.                 Ascii
  1039.  
  1040.           For the first five please refer to the "Alt-N Download"
  1041.         section for details, upload is very much like download
  1042.         with the obvious exception of the fact that during an
  1043.         upload you are sending a file or files while during a
  1044.         download you are receiving.  One other difference is that
  1045.         you are prompted for the file or files to upload in each
  1046.         of the five protocols, for XModem and XModem1K you may
  1047.         specify one and only one file for upload, for YModem,
  1048.         YModem-G, and ZModem you may specify a "wildcard" file
  1049.         name.  This is to say, you may transmit all files with
  1050.         the extension ".ZIP" in the current directory by
  1051.         answering "*.ZIP" at this prompt.  This wildcard handling
  1052.         is exactly the same as when you are at the OS/2 command
  1053.         line prompt.
  1054.  
  1055.  
  1056.         CompuServe B Plus Protocol
  1057.  
  1058.           Note that CompuServe B Plus protocol is only available in
  1059.         the registered version of TE/2.
  1060.  
  1061.           This protocol does NOT appear on the upload or download
  1062.         protocol menus because of the client-server nature of the
  1063.         CompuServe Transport Layer.  Please refer to the notes in the
  1064.         discussion of Download Protocols and also in the section on
  1065.         the Protocol Status Display for more notes regarding
  1066.         CompuServe B Plus Protocol.
  1067.  
  1068.  
  1069.         ASCII Uploads
  1070.  
  1071.           The Ascii upload protocol is a bit different from the
  1072.         rest.  Whereas the other protocols are all capable of
  1073.         transmitting and receiving binary files (program files,
  1074.         archives, 123 spreadsheets, etc.) the Ascii upload
  1075.         protocol is for text files only.  You would usually use
  1076.         this protocol for entering previously composed messages
  1077.         into a bulletin board message base or similar activities.
  1078.         There is no special state or protocol that must be
  1079.         activated on the receiving end other than the remote
  1080.         system must be in a state where it expects text entry
  1081.         from you.  When you begin an Ascii upload you are
  1082.         presented with the dialog box in Figure CC.
  1083.  
  1084.  
  1085.         ┌───────────────────────────────────────────────────────────┐
  1086.         │ Enter file name for Ascii Upload:                         │▒
  1087.         │ █████████████████████████████████████████████████████████ │▒
  1088.         │                                                           │▒
  1089.         │     Prompt Char: None          End of Line Seq: Yes       │▒
  1090.         │     Char Pacing: 0  ms      Expand Blank Lines: Yes       │▒
  1091.         │     Line Pacing: 0  ms             View Output: No        │▒
  1092.         │                                  Strip 8th bit: No        │▒
  1093.         │                                                           │▒
  1094.         │ [ENTER] Begin   [ESC] Abort   [] Select  [SPACE] Toggle │▒
  1095.         │                                                           │▒
  1096.         └───────────────────────────────────────────────────────────┘▒
  1097.           ▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒
  1098.  
  1099.                                 Figure CC.
  1100.                      Ascii Upload Information Dialog
  1101.  
  1102.  
  1103.           You may move about within the dialog using the arrow
  1104.         keys and/or the TAB/Shift-TAB keys and answer the various
  1105.         questions if any need modification.  These are discussed
  1106.         individually below.  When you are ready to send the file,
  1107.         press ENTER, use ESCape to abort the process.
  1108.  
  1109.           The only field which absolutely needs to be filled in
  1110.         is the file name field.  You must type the name of an
  1111.         existing text file in this area.  When you have typed
  1112.         the file name, do not use the ENTER key unless you have
  1113.         no other fields in the dialog to adjust, use the arrow
  1114.         or TAB keys instead to position the highlight on the
  1115.         desired field.
  1116.  
  1117.           The default values used in this dialog may be set to
  1118.         the values you most often require in the TE/2 initialization
  1119.         file.  See the section on "Customization" for further
  1120.         information.
  1121.  
  1122.         Prompt Char
  1123.               On some bulletin boards and services, the message
  1124.             editor will "prompt" you for each line of input, on some
  1125.             text entry of messages is entirely free form.  For
  1126.             instance, when entering a message on GEnie, once you have
  1127.             typed the first line of text you must wait for GEnie to
  1128.             respond with the prompt "2>" before proceeding and again
  1129.             for "3>" on the next line, et cetera.  Thus for GEnie you
  1130.             would want to set the Prompt Char to ">".  You do this
  1131.             simply by typing ">" when to words "Prompt Char" are
  1132.             highlighted.  Other bulletin boards may use "nnn:" (where
  1133.             "nnn" is the next line number), for these you would set
  1134.             the prompt character to ":".
  1135.               The effect of all of this is to cause the Ascii upload
  1136.             protocol to wait after it has sent each line until it
  1137.             receives the prompt character from the remote service.
  1138.               To reset the prompt character to "None" you must use
  1139.             the space bar.  This implies that the space character may
  1140.             never be used as a prompt character, which is probably
  1141.             not a major problem.
  1142.             
  1143.         Char Pacing
  1144.               This is the time, in milliseconds, that the Ascii
  1145.             upload protocol will wait between transmitting successive
  1146.             characters.  Set this to a higher value if the remote
  1147.             system seems to be losing some characters out of your
  1148.             text.
  1149.  
  1150.         Line Pacing
  1151.               This is the time, in milliseconds, that the Ascii
  1152.             upload protocol will wait between transmitting successive
  1153.             lines of text.  This will be most useful in situations
  1154.             where you have not specified a prompt character and
  1155.             the remote seems to be losing parts of or entire lines
  1156.             of your text.
  1157.  
  1158.  
  1159.         End of Line Seq
  1160.               This may be set to "LF", "CRLF", or "CR", you cycle
  1161.             through the values by using the space bar when the
  1162.             highlight is on this prompt.  If it is set to "LF" then
  1163.             each line of text that is sent will be terminated with
  1164.             a single line feed character (ASCII code 10).  If it is
  1165.             set to "CRLF" the each line of text will be terminated
  1166.             with a carriage return (ASCII 13) and a line feed.  If it
  1167.             is set to "CR" then each line will be terminated with a
  1168.             single carriage-return character.
  1169.  
  1170.  
  1171.         Expand Blank Lines
  1172.               This may be set to "Yes" or "No"; you alternate between
  1173.             the values by using the space bar when the highlight is
  1174.             on this prompt.  Some bulletin boards and services assume
  1175.             that a blank line (that is a line with nothing on it at
  1176.             all, not even space characters) is the end of the input.
  1177.             If the text file you are uploading contains blank lines
  1178.             this will cause problems.  If this option is set to yes
  1179.             then blank lines in the file are sent out as lines
  1180.             containing a single space character.
  1181.  
  1182.  
  1183.         View Output
  1184.               This may be set to "Yes" or "No"; you alternate between
  1185.             the values by using the space bar when the highlight is
  1186.             on this prompt.  This will usually be set to false only
  1187.             if the bulletin board or service has an actual text mode
  1188.             or ASCII upload mode wherein it does not display the
  1189.             incoming text.
  1190.  
  1191.  
  1192.         Strip 8th bit
  1193.               This may be set to "Yes" or "No", you alternate between
  1194.             the values by using the space bar when the highlight is
  1195.             on this prompt.  Some services and mainframe hosts are
  1196.             not able to accept the entire 8 bit Ascii character set
  1197.             as input (the Extended Ascii set actually).  If this
  1198.             option is set to yes, any character with an Extended
  1199.             Ascii code greater than 127 will have 128 subtracted from
  1200.             its ASCII value before it is sent, effectively mapping
  1201.             the entire 8 bit Extended Ascii character set onto the
  1202.             7 bit Standard Ascii character set.  Note that this will
  1203.             cause characters such as the IBM box drawing characters,
  1204.             accented, international language characters, and extra
  1205.             symbols to appear differently, perhaps confusingly so,
  1206.             to the receiver.
  1207.  
  1208.  
  1209.  
  1210.       Alt-V LF after CR
  1211.       =================
  1212.  
  1213.           Normally, when you press the ENTER key in terminal mode,
  1214.         a carriage return character (ASCII 13) is transmitted.  If
  1215.         this option is toggled on, the key produces a carriage
  1216.         return followed by a line feed character (ASCII 10).
  1217.  
  1218.           This defaults to OFF unless you have reset the default
  1219.         behavior via the initialization file (see the section on
  1220.         Customization).  You can determine the current state of this
  1221.         setting by viewing the Alt-I Information display.
  1222.  
  1223.           If you are currently in VT100 emulation mode, Alt-V will
  1224.         effectively toggle the terminal emulation into and out of
  1225.         the VT100's Newline mode.  Note that this will change the
  1226.         translation of incoming LINEFEED characters.  This will
  1227.         happen in VT100 mode only.
  1228.  
  1229.  
  1230.       Alt-W Scroll Back
  1231.       =================
  1232.  
  1233.           This allows you to view, and interact with, the contents
  1234.         of TE/2's scroll back buffer.  See the section below on the
  1235.         scroll back buffer for further information.
  1236.  
  1237.  
  1238.       Alt-X Exit to OS/2
  1239.       ==================
  1240.  
  1241.           This will terminate TE/2 and return you to the OS/2 command
  1242.         line prompt or the Presentation Manager depending on the
  1243.         method you used to start TE/2.  If you are currently on-line
  1244.         when you attempt to exit, TE/2 will ask you for verification
  1245.         before proceeding.  If you are on-line at exit time, TE/2 will
  1246.         hang up the line (see Alt-H Hangup) before exiting.
  1247.  
  1248.  
  1249.       Alt-Y Setup Colors
  1250.       ==================
  1251.  
  1252.          Allows you to setup you color configuration for TE/2.  This
  1253.        function will only work if TE/2 is able to locate and execute
  1254.        the program TE2COLOR.EXE and read and modify the file TE2.INI
  1255.        (or other file as named using the "-f" command line switch).
  1256.  
  1257.          TE/2 will search for the program TE2COLOR.EXE, looking first
  1258.        in the current directory, then the same directory in which the
  1259.        currently executing TE2.EXE resides (if different), and finally
  1260.        along the directories listed in the PATH environment variable.
  1261.  
  1262.          Note: TE2COLOR.EXE may be executed from outside of TE/2 also.
  1263.        If you do so, you must provide the full name of the TE/2
  1264.        initialization file you wish to read and alter (usually TE2.INI).
  1265.  
  1266.          Note: Executing TE2COLOR.EXE via Alt-Y from within TE/2 will
  1267.        not work correctly if you have your color statements in a file
  1268.        which has been included in TE2.INI via the "Include" statement.
  1269.        You may, however, execute TE2COLOR.EXE externally giving it the
  1270.        name of the included file.
  1271.        
  1272.  
  1273.       Alt-Z Toggle Menu
  1274.       =================
  1275.  
  1276.           Use this to display or hide the 10 line keystroke menu at
  1277.         the bottom of the terminal screen.  The terminal screen is
  1278.         effectively ten lines larger when the menu is hidden.
  1279.  
  1280.       Alt-= Alternate Keyboards
  1281.       =========================
  1282.  
  1283.           Alt-= (ALT-EqualSign) will invoke the menu pictured in
  1284.         Figure DD. allowing you to select from a list of alternate
  1285.         keyboard modes.  You must remember that, with the exception
  1286.         of "Normal" mode, none of TE/2's other function keys will
  1287.         be available while in an alternate keyboard mode.  The single
  1288.         exception to this is the Alt-= key itself which will always
  1289.         be active.  Alt-= is the only way out of an alternate keyboard
  1290.         mode (short of using Control-Break or OS/2 system services to
  1291.         end TE/2, that is).
  1292.  
  1293.           Each of the alternate keyboard modes is explained below.
  1294.  
  1295.                     ┌───────────────────────────┐
  1296.                     │       Keyboard Mode       │▒
  1297.                     │                           │▒
  1298.                     │  Normal                   │▒
  1299.                     │  OS2You Mode              │▒
  1300.                     │  Doorway Mode (Standard)  │▒
  1301.                     │  Doorway Mode (Enhanced)  │▒
  1302.                     │  Pure Binary              │▒
  1303.                     │                           │▒
  1304.                     └───────────────────────────┘▒
  1305.                       ▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒
  1306.  
  1307.                              Figure DD
  1308.                        Alternate Keyboard Menu
  1309.  
  1310.         Mode          Explanation
  1311.         ==========    ===========================================
  1312.         Normal        This menu choice returns you the normal
  1313.                       TE/2 keyboard.
  1314.  
  1315.         OS2You        "OS2You Mode" is a translated mode which
  1316.                       replaces many of the cursor movement and
  1317.                       function keys with ESCape sequences.  It
  1318.                       is to be used in conjunction with the OS/2
  1319.                       program "OS2You" by Mikael Wahlgren.  It will
  1320.                       send keystrokes as expected by OS2You for the
  1321.                       various function keys (i.e., Alt-A transmits
  1322.                       "ESCAPE A", PageUp transmits "ESCAPE u").
  1323.                       Shift states for the "F" keys are handled
  1324.                       internally so you don't need to worry about
  1325.                       them; if you want to send a Shift-F3 or
  1326.                       Control-LeftArrow, just press the appropriate
  1327.                       key.  For more information on exactly what
  1328.                       is being transmitted, OS2You can be made to
  1329.                       display the mappings while on-line with an
  1330.                       OS2You session by pressing ESCAPE and waiting
  1331.                       about 2 seconds.  Please note, the ESCAPE key
  1332.                       itself is NOT mapped, if you want to pass
  1333.                       an ESCAPE character through OS2You you must
  1334.                       press ESCAPE twice.
  1335.  
  1336.         Doorway       "Doorway Mode" is a pseudo binary mode for
  1337.                       use in conjunction with the DOS program
  1338.                       "Doorway" by Marshall Dudley. All ASCII
  1339.                       characters are sent as usual and extended
  1340.                       ASCII keys (function keys, keypad keys, etc.)
  1341.                       are sent out as two byte units of scan code plus
  1342.                       character code.  There are two sub-modes as
  1343.                       explained below.
  1344.  
  1345.           Standard      In "Standard Doorway Mode" all extended key-
  1346.                         strokes are sent as ASCII 0 followed by
  1347.                         the scan code.  This maps directly to the
  1348.                         actual character and scan codes from the
  1349.                         keyboard for most of the extended keys.  The
  1350.                         keys that were new on the 101 key keyboard
  1351.                         differ in that they send a character code
  1352.                         of 224 instead of zero.  In standard mode
  1353.                         the 224 is changed to 0.
  1354.  
  1355.           Enhanced      "Enhanced Doorway Mode" allows for the
  1356.                         newer extended keys by sending a three byte
  1357.                         packet of ASCII 0, 224, and the scan code
  1358.                         for these keys.
  1359.  
  1360.         Pure Binary   "Pure Binary Mode" is exactly like "Enhanced
  1361.                       Doorway Mode" except that it does NOT send
  1362.                       the leading ASCII 0 for the new function and
  1363.                       keypad keys.
  1364.  
  1365.  
  1366.       Control-BREAK
  1367.       =============
  1368.  
  1369.           When a Control-BREAK is encountered (at any point during
  1370.         execution, not just in terminal mode), you will be presented
  1371.         with a popup menu that will allow you to Resume execution,
  1372.         Resume execution after flushing the I/O buffers, or to exit
  1373.         TE/2 immediately.  In the registered version, if a script 
  1374.         (original TE/2 syntax) is currently executing, you will also
  1375.         have the option to abort the current script or all nested
  1376.         scripts.  If a REXX language script is executing, the menu
  1377.         will not be displayed but the currently executing script
  1378.         will terminate.
  1379.  
  1380.           Note that "Flushing the I/O buffers" may or may not restart
  1381.         flow to and from the comm port, depending on the reason flow
  1382.         is blocked.  The buffers which are flushed are the device
  1383.         driver's not TE/2's.  This action will get you going again,
  1384.         however, if TE/2 is waiting for the remote to send an XON
  1385.         character after receiving a false XOFF.  If XonXoff is
  1386.         enabled for transmit, an XON character will also be
  1387.         immediately transmitted to the remote.
  1388.  
  1389.           "Resume" and "Flush the I/O Buffers and Resume" may have
  1390.         little or no effect if a file transfer protocol is currently
  1391.         in progress.
  1392.  
  1393.  
  1394.       B. The Dialing Directory
  1395.  
  1396.  
  1397.     The Dialing Directory is your "Little Black Book" into the world.
  1398.   This section of the program allows you to record and save telephone
  1399.   numbers and associated information for up to 200 bulletin boards
  1400.   and/or host services.  If two hundred is not sufficient for your
  1401.   needs, you may have as many optional dialing directory files as you
  1402.   wish, each one capable of containing up to 200 phone numbers.
  1403.  
  1404.     Each entry in the Dialing Directory may contain some or all of
  1405.   the following information:
  1406.  
  1407.     o  Name:
  1408.         The name of the BBS or service in a meaningful form. This name
  1409.         will be displayed during dialing, upon making a connection with
  1410.         the number, and in the TE2CALL.LOG usage file.
  1411.  
  1412.     o Tag:
  1413.         A five character "nickname" for this entry.  This field is
  1414.         not used by this version in any way however it is present so
  1415.         that directory files will be consistent with the registered
  1416.         version of TE/2.  This field is available to programs written
  1417.         in the TE/2 Script Language that accompanies the registered
  1418.         version (see the section on Registering TE/2 for more
  1419.         information on this subject).
  1420.  
  1421.     o Number:
  1422.         The phone number to dial.  This can contain numbers up to 29
  1423.         characters in length.  This number will be passed directly to
  1424.         your modem when TE/2 attempts to dial this entry.  In the
  1425.         simplest case, this is just a phone number the way you are
  1426.         used to seeing such numbers (i.e., "1-123-555-1212").  Your
  1427.         modem will probably allow you to put other characters into
  1428.         the numbers to activate certain special features such as
  1429.         pauses, wait for dial tone and continue, switch-hooking, et
  1430.         cetera.  You should consult your modem manual for details.
  1431.         Please note, you do not have to put the actual modem dialing
  1432.         command into this string ("ATD" or "ATDT" on Hayes compatible
  1433.         modems).  This part of the dialing process is handled auto-
  1434.         matically by TE/2's dialer.
  1435.  
  1436.         Notes Regarding Alpha Characters in Phone Numbers:
  1437.  
  1438.         Some modems allow you to specify a letter associated with the
  1439.         number on the phone dial or keypad instead of the number. To
  1440.         do so you usually need to enclose the alpha portion in quotes.
  1441.         Thus, MCI Mail's phone number could be specified as:
  1442.         1-800-645"MAIL" (the closing quote being optional because no
  1443.         further numeric data occurs in the string).  TE/2 will pass
  1444.         any quoted alphabetic characters to the modem untranslated
  1445.         along with the actual quote character(s).
  1446.  
  1447.         There is also an Access Code lookup table of ten entries that
  1448.         allows you to define extended strings that may be embedded into
  1449.         a phone number using the letters A through J.  An empty access
  1450.         code entry will return the empty string.
  1451.  
  1452.         Any letter K through Z which appears, unquoted, in a phone
  1453.         number will be sent intact to the modem.  This is useful if
  1454.         one needs to use the Hayes "W" (wait for second dialtone)
  1455.         in a phone number.
  1456.  
  1457.     o Line Parameters:
  1458.         You may specify the what baud rate, parity, word length, and
  1459.         number of stop bits to use while connected to this number.
  1460.         Once the dialer has successfully connected with the number,
  1461.         these line parameters will be automatically set for you.
  1462.         You may, of course, reset them at any time after this via
  1463.         the Alt-P Parameters function.
  1464.  
  1465.     o Local Echo:
  1466.         You specify whether Local Echo mode should be turned on or
  1467.         off when the dialer successfully connects with this number.
  1468.         You may reset this at any time after this via the Alt-E
  1469.         Local Echo function.
  1470.  
  1471.     o Default Protocol:
  1472.         This specifies the preferred file transfer protocol for this
  1473.         number.  When you use the upload or download functions
  1474.         (Alt-U Upload, Alt-N Download, or the Gray PgUp/PgDn keys)
  1475.         this will be the highlighted line on the menu of available
  1476.         protocols when the menu appears.  You may the simply press
  1477.         ENTER to use this protocol.  You may, of course, select any
  1478.         other item on this menu instead.
  1479.         Note that "Ascii" is an option on this menu.  Because this
  1480.         is an "upload only" protocol (ASCII downloads are handled
  1481.         by using the Log File functions), entries that specify this
  1482.         as the default protocol will have it apply only to uploads.
  1483.         The download protocol will default to the most recently
  1484.         used protocol.  You should specify this as the default
  1485.         protocol for services like MCI Mail where you typically
  1486.         upload only text material.
  1487.         Note further that choosing CompuServe B Plus protocol for
  1488.         the default protocol has a somewhat different meaning also.
  1489.         CompuServe maintains a client-server based transport layer
  1490.         between itself and the terminal program.  If you want to
  1491.         be able to use this protocol with CompuServe, you must
  1492.         select it as the default protocol for CIS's entry in your
  1493.         Dialing Directory.  For more notes concerning CIS B Plus,
  1494.         see the sections, elsewhere in this document, regarding
  1495.         Download Protocols and the Protocol Status Display.
  1496.  
  1497.     o Terminal Emulation:
  1498.         Specifies the terminal emulation mode to automatically select
  1499.         once the dialer has successfully connected with this number.
  1500.         You may reset this at any time after this via the Alt-A
  1501.         Terminal Emulation function.
  1502.  
  1503.     o Password:
  1504.         Although labeled "Password", you may store any information
  1505.         in this field you desire.  In the registered version of TE/2,
  1506.         the contents of this field are available to you via a script
  1507.         language function.  This field is not used in any other way
  1508.         by the shareware version of TE/2.
  1509.  
  1510.     o Script File:
  1511.         This field is not used in any way by the shareware version of
  1512.         TE/2.  It present so that directory files will be consistent
  1513.         with the registered version of TE/2.  In the registered
  1514.         version, this names a program file written in the TE/2 Script
  1515.         Language that will be automatically executed when the dialer
  1516.         successfully connects with this number (see the section on
  1517.         Registering TE/2 for more information on this subject).
  1518.  
  1519.  
  1520. ┌────────────────────────────────────────────────────────────────────────────┐
  1521. │                           Dialing Directory                                │
  1522. │                               File Name                                    │
  1523. ├────────────────────────────────────────────────────────────────────────────┤
  1524. │   Tag    Name                    Parms      Number                         │
  1525. │                                                                            │
  1526. │ 1 ..... ........................ ........ . .............................. │
  1527. │ 2 ..... ........................ ........ . .............................. │
  1528. │ 3 ..... ........................ ........ . .............................. │
  1529. .                                                                            .
  1530. .                                                                            .
  1531. .                                                                            .
  1532. ├────────────────────────────────────────────────────────────────────────────┤
  1533. │ [ENTER] Dial Entry [INS] Insert New Entry  [C] Change Entry  [S] Save File │
  1534. │ [ESC]   Exit       [DEL] Delete Entry      [T] Toggle Info   [N] New File  │
  1535. │ [/]   Select     [SPACE] Mark/Unmark     [Q] Queue Dial    [A] Acc Codes │
  1536. └────────────────────────────────────────────────────────────────────────────┘
  1537.                                 Figure EE.
  1538.                       TE/2 Dialing Directory Display
  1539.  
  1540.  
  1541.     When you enter the Dialing Directory your screen will resemble
  1542.   what you see in Figure EE (it uses the entire screen, the vertical
  1543.   sequence of dots at the left and right edges imply that information
  1544.   has been omitted).  The current Dialing Directory file name will be
  1545.   displayed where you see "File Name" in the figure.  By default this
  1546.   will be "te2.dir" but this may be changed via the "[N] New File"
  1547.   key.  At the bottom of the screen will be the menu of available
  1548.   keys as shown in the figure.  The entire central portion of the
  1549.   screen will be occupied by the actual directory entries.  The first
  1550.   entry will be highlighted if this is the first time in the Dialing
  1551.   Directory during this session with TE/2, otherwise the highlighting
  1552.   will be on the same entry that was highlighted the last time you
  1553.   viewed the Dialing Directory.
  1554.  
  1555.     These are the functions that are available to you while in the
  1556.   Dialing Directory.
  1557.  
  1558.       [/] Select
  1559.           You may move the highlighted bar up and down through the
  1560.         entries, scrolling the display if necessary, to select the
  1561.         entry you are interested in.  Other keys available for
  1562.         navigation through the directory but not listed on the menu
  1563.         are:
  1564.                 [PgUp] - move the highlighted bar back one page
  1565.                 [PgDn] - move the highlighted bar forward one page
  1566.                 [Home] - move the highlighted bar to the first entry
  1567.                 [End]  - move the highlighted bar to the last entry
  1568.  
  1569.           In addition to all of this, the numeric keys 0 through 9
  1570.         can be used for a type of incremental search through the
  1571.         directory.  For instance, if the highlight is on entry number
  1572.         two and you type the "3" the highlight will move to the
  1573.         third entry.  If you type the "3" again, the highlight moves
  1574.         to the thirty-third entry.  If you type the "3" again, the
  1575.         highlight remains where it is because there is no entry
  1576.         number 333.  The search works only in the forward direction
  1577.         and any key stroke other than a number key restarts the
  1578.         sequence.  Thus, if the highlight is on entry 57 and you want
  1579.         to quickly move to entry number 24, the fastest way there is
  1580.         the keystroke sequence: [Home],2,4.
  1581.  
  1582.         NOTE: If you hold down the Control Key while using the up and
  1583.         down arrows, you may "drag" the current directory entry along
  1584.         with the highlighted bar.  You can use this feature to manually
  1585.         reorder the entries in your directory.  Changes in the order
  1586.         of the entries must be saved to disk by pressing [S].  See
  1587.         the notes later in this section on sorting directory files.
  1588.  
  1589.  
  1590.       [ENTER] Dial Entry
  1591.           This will submit the highlighted entry to TE/2 phone
  1592.         dialer.
  1593.  
  1594.       [ESC] Exit
  1595.           This will exit the Dialing Directory display and return you
  1596.         to the terminal screen display.
  1597.  
  1598.       [C] Change Entry
  1599.           This will present you with a dialog box wherein you may
  1600.         specify or respecify all of the information to be associated
  1601.         with the highlighted entry as outlined above.
  1602.  
  1603.       [INS] Insert New Entry
  1604.           This will create a new, blank entry at the highlighted
  1605.         position, move all succeeding entries down one position in
  1606.         the list, and place you in the same dialog box for entering
  1607.         information as "[C] Change Entry" mentioned above.
  1608.           If there is an entry defined at position 200, you will be
  1609.         asked if you want to continue because it will be deleted by
  1610.         this process.
  1611.  
  1612.       [DEL] Delete Entry
  1613.           Removes the highlighted entry and moves all succeeding
  1614.         entries back up by one, closing the "hole".  A blank entry
  1615.         is inserted at position 200.  You will be asked to verify
  1616.         the deletion before it is actually performed.
  1617.  
  1618.       [S] Save File
  1619.           TE/2 may be configured to automatically save the directory
  1620.         file every time you leave the screen or it may be configured
  1621.         so that you must manually save any changes you have made (see
  1622.         the section on Customization).  Regardless of this setting,
  1623.         you may use this function to save the current directory
  1624.         information to a file immediately.  You will be prompted to
  1625.         enter a file name which does not need to be the same as the
  1626.         current directory file.
  1627.  
  1628.       [N] New File
  1629.           This will prompt you for and load a new directory file
  1630.         (usually one created via the "[S] Save File" function).  Be
  1631.         careful if you have made any changes to the current directory
  1632.         information that you wish to keep.  You should make sure that
  1633.         the current directory file has been saved (either
  1634.         automatically or manually) before loading a new file.
  1635.  
  1636.       [T] Toggle Info
  1637.           This keystroke cycles the directory display through several
  1638.         states.  By default the rightmost column show the telephone
  1639.         number associated with each directory entry.  Through
  1640.         successive uses of this key you may view any of the following
  1641.         information for all entries:
  1642.  
  1643.                 Script File
  1644.                   Display the names of the associated script files
  1645.                 in the rightmost column.
  1646.  
  1647.                 Last Connect - Count
  1648.                   Display the time and date of the last time you
  1649.                 connected to this number and a count of how many
  1650.                 times connection has been made.
  1651.  
  1652.                 Protocol - Emulation
  1653.                   Display the default protocol and terminal emulation
  1654.                 associated with each entry.
  1655.  
  1656.                 Password
  1657.                   Display the contents of the "Password" field for
  1658.                 each entry.
  1659.  
  1660.  
  1661.       [SPACE] Mark/Unmark
  1662.           The space bar will mark or unmark the highlighted entry.
  1663.         A marked entry has a triangular arrow placed on the display
  1664.         pointing at its tag.  A marked entry is placed on the "queue"
  1665.         for use with the Queue Dialer (see below).
  1666.  
  1667.       [Q] Queue Dial
  1668.           If there are marked entries (see above) in the current
  1669.         directory, this key activates TE/2's Queue Dialer.  This
  1670.         will dial each marked entry in turn until one of them is
  1671.         connected with or until you press the ESCape key.  When an
  1672.         entry has been connected with, it is unmarked and removed
  1673.         from the queue.
  1674.  
  1675.       [A] Acc Codes
  1676.           Allows you to enter, view, and/or edit ten "Access Code"
  1677.         strings which are stored with the directory and are available
  1678.         for use within phone numbers.  Each directory file has its
  1679.         own, unique set of these codes.  As mentioned in the section
  1680.         "Notes Regarding Alpha Characters in Phone Numbers", the
  1681.         letters "A" through "J" when embedded into a phone number will
  1682.         be translated during dialing into the associated string as
  1683.         defined in the current directory file's Access Codes.  If a
  1684.         given code is undefined, it evaluates to the empty string.
  1685.         Once translated, no further (recursive) translation of Access
  1686.         Codes will occur so you may use the letters "A" through "J"
  1687.         in the body of your Access Codes without problem.
  1688.  
  1689.         Some possible uses for Access Codes:
  1690.           * Store credit card access codes (this is where the name
  1691.             came from) and IDs in these fields and use them in
  1692.             conjunction with the modem commands "," and "W" to
  1693.             help automate credit card calls.
  1694.           * If you travel, you may want to insert an unused Access
  1695.             Code into where the area code would go for all entries
  1696.             in your local area code.  When you travel outside your
  1697.             area code you can then define the Access Code once and
  1698.             all entries are automatically taken care of.  When you
  1699.             return home, you simply clear that Access Code.
  1700.           * Use a similar scheme if you sometimes have to dial out
  1701.             from the office via a PBX or some such system and
  1702.             sometimes not.
  1703.           * Some overseas numbers may be too long to fit into a
  1704.             dialing directory entry, you can use Access Codes to
  1705.             extend the effective length of the entries.
  1706.  
  1707.  
  1708.       Sorting Directory Files
  1709.  
  1710.     From within the Directory display, you may move entries from
  1711.   place to place within the list using Control-UpArrow and
  1712.   Control-DownArrow to "drag" entries along with the highlighted
  1713.   bar.  This is useful for ordering entries by arbitrary groupings
  1714.   such as migrating more commonly dialed entries to the beginning
  1715.   of the list or grouping Bulletin Board entries by geographical
  1716.   region.
  1717.  
  1718.     For a more general solution, various utilities are available for
  1719.   manipulating TE/2 directory files.  The structure of the TE/2
  1720.   directory file is documented and available to the general public.
  1721.   If you would like copies of the available utilities, documentation,
  1722.   and sample source code, you may download these from the Oberon BBS.
  1723.   You will find the BBS number and details listed at the beginning
  1724.   and again at the end of this document.  Alternately, you may send
  1725.   a blank diskette to Oberon Software with a note stating your
  1726.   request, and return postage and we will mail the material to you.
  1727.  
  1728.  
  1729.  
  1730.       C. Dialer
  1731.  
  1732.     TE/2's Phone Dialer is invoked when you press ENTER while in the
  1733.   Dialing Directory, when ever you invoke the Queue Dial function
  1734.   either from the Dialing Directory or from Terminal Mode (assuming
  1735.   that at least one directory entry is "marked" - see above), and
  1736.   when you invoke the Redial or Manual Dial functions.  While it is
  1737.   dialing, a dialog box appears on the screen that will keep you
  1738.   informed of what the dialer is currently doing.
  1739.  
  1740.  
  1741.         ┌────────────────────────────────────────────┐
  1742.         │             Dialing Number                 │▒
  1743.         │                                            │▒
  1744.         │        Name:                               │▒
  1745.         │      Number:                               │▒
  1746.         │  Parameters:                               │▒
  1747.         │      Status:                               │▒
  1748.         │       Tries:                               │▒
  1749.         │                                            │▒
  1750.         │ [ESC] exit  [DEL] remove  [SPACE] recycle  │▒
  1751.         └────────────────────────────────────────────┘▒
  1752.           ▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒
  1753.  
  1754.                         Figure FF.
  1755.                     Dialer Dialog Box
  1756.  
  1757.  
  1758.     The following information is displayed by the dialer's dialog:
  1759.  
  1760.       Name
  1761.         The directory entry name of the number being dialed. If this
  1762.         was a manual dial, this will be blank.
  1763.  
  1764.       Number
  1765.         The phone number being dialed as entered in the Dialing
  1766.         Directory or at the Manual Dial prompt.
  1767.  
  1768.       Parameters
  1769.         The baud, parity, word length, and number of stop bits which
  1770.         are associated with this number.  If a connection is
  1771.         successful, TE/2's parameters will be set to these values.
  1772.  
  1773.       Status
  1774.         This will contain various messages generated either by the
  1775.         dialer itself or by the modem during the dialing process.
  1776.         For example, it begins by the message "DIALING", if you
  1777.         press the ESCape key, it will display "ABORT" before exiting.
  1778.         If you press the ESCape key it will display "Recycle"
  1779.         momentarily and the "Pausing" while it is in the delay cycle
  1780.         between dial attempts.  If your modem returns a "BUSY"
  1781.         response, that message will appear.
  1782.  
  1783.       Tries
  1784.         This is the number of times that this number has been tried
  1785.         unsuccessfully during the current dial attempt.
  1786.  
  1787.  
  1788.     The following keystrokes are recognized by the dialer. All other
  1789.   keystrokes are discarded.
  1790.  
  1791.       [ESC] exit
  1792.         Ends the dial attempt and returns control to the Dialing
  1793.         Directory screen or the Terminal Mode screen depending upon
  1794.         where you were when you invoked the dialer.  This does not
  1795.         "unmark" any entries that have been marked for queue dialing
  1796.         but it does clear the "Tries" indicator for each entry in
  1797.         the queue.
  1798.  
  1799.       [DEL] remove
  1800.         When Queue Dialing, this will abort the dial attempt for the
  1801.         current number only and remove it from the dialing queue
  1802.         ("unmark" it).  If this was the last number in the queue (or
  1803.         the only number in the case of a single number dial), the
  1804.         dialer will be aborted and control will be returned to the
  1805.         Dialing Directory or the Terminal Mode depended upon where
  1806.         you were when you invoked the dialer.
  1807.  
  1808.       [SPACE] recycle
  1809.         This causes aborts attempt to connect with the current number
  1810.         only and moves on to the next attempt.  This may be the next
  1811.         number in the dialing queue or simply on to a retry of the
  1812.         current number if there is only one number in the queue or
  1813.         this was a single number dial attempt.
  1814.  
  1815.  
  1816.  
  1817.       D. Chat Mode
  1818.  
  1819.     TE/2 supplies a built in, split screen chat mode for use with
  1820.   the CB Simulators provided by some on-line services, multiuser
  1821.   real-time conferences provided by some services and bulletin
  1822.   boards, and chatting with bulletin board sysops if they offer a
  1823.   chat mode on their BBS.
  1824.  
  1825.     When TE/2's Chat Mode is activated, the contents of the current
  1826.   screen are saved (and will be restored when you exit chat mode) and
  1827.   you are presented with the Chat Mode display.  This display divides
  1828.   the screen into two "windows".  In the top window, label "Remote",
  1829.   all characters coming from the remote source are displayed.  In the
  1830.   lower window, labeled "Local", the characters you type are
  1831.   displayed.
  1832.  
  1833.     Chat Mode has, itself, two modes of operation: buffered and
  1834.   unbuffered.  In unbuffered mode all character which you type into
  1835.   the "Local" window are immediately transmitted to the remote
  1836.   connection.  In buffered mode, they are saved (in a "buffer") until
  1837.   you press the ENTER key at which time they are sent in a "packet".
  1838.  
  1839.     Many of the terminal mode functions are also available when you
  1840.   are in Chat Mode plus several that are unique to Chat Mode.  If you
  1841.   press Alt-Z while in Chat Mode you will be given a menu of avail-
  1842.   able keystrokes and functions.
  1843.  
  1844.  
  1845.         ┌──────────────────────────────────────────────────┐
  1846.         │ ALT-B Send Break Signal   ALT-U  Upload          │▒
  1847.         │ ALT-C Clear Screen        ALT-V  LF after CR     │▒
  1848.         │ ALT-F Output Buffering    ALT-W  Scroll Back     │▒
  1849.         │ ALT-I Information         ALT-X  Exit Chat Mode  │▒
  1850.         │ ALT-J User Programs       ALT-Z  This menu       │▒
  1851.         │ ALT-L Logfile Open/Close  CTRL-K Restart Line    │▒
  1852.         │ ALT-N Download            ESCape Exit Chat Mode  │▒
  1853.         │ ALT-O OS/2 Shell          PgUp   Upload          │▒
  1854.         │ ALT-P Parameters          PgDn   Download        │▒
  1855.         │ ALT-T Logfile Toggle                             │▒
  1856.         └──────────────────────────────────────────────────┘▒
  1857.           ▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒
  1858.  
  1859.                              Figure GG.
  1860.                            Chat Mode Menu
  1861.  
  1862.  
  1863.     The following Chat Mode functions behave exactly like they
  1864.   do in terminal mode; refer to the appropriate discussion
  1865.   above for details.
  1866.  
  1867.       Send Break Signal
  1868.       Clear Screen
  1869.       Information
  1870.       User Programs
  1871.       Logfile Open/Close
  1872.       Download
  1873.       OS/2 Shell
  1874.       Parameters
  1875.       Logfile Toggle
  1876.       Upload
  1877.       LF after CR
  1878.       Scroll Back
  1879.  
  1880.  
  1881.     The following functions are unique to Chat Mode.
  1882.  
  1883.       Output Buffering
  1884.         Toggle between buffered and unbuffered mode.
  1885.  
  1886.       Restart Line
  1887.         For use in buffered mode, this function will discard all
  1888.         characters currently pending allowing you to restart the
  1889.         line.
  1890.  
  1891.       Exit Chat Mode
  1892.         This is, of course, rather self explanatory.  The terminal
  1893.         screen is restored upon leaving Chat Mode.
  1894.  
  1895.  
  1896.  
  1897.       E. The Scroll Back Buffer
  1898.  
  1899.  
  1900.     When you invoke TE/2 Scroll Back Buffer, you may view everything
  1901.   that has appeared on TE/2's Terminal Mode screen in the recent
  1902.   past.  By default, the last 250 lines of text that have appeared
  1903.   on the terminal screen are retained for the Scroll Back Buffer.
  1904.   You are allowed to set this number to a higher or lower value (or
  1905.   disable the Scroll Back Buffer feature entirely) through a setting
  1906.   in the TE2.INI file (see the section on Customization) for details.
  1907.   
  1908.     When the Scroll Back Buffer display first appears, the contents
  1909.   of your screen will look very much like the current terminal
  1910.   screen.  This is because you enter Scroll Back Mode at the bottom
  1911.   (the most recent part) of the buffer.  You may move backwards and
  1912.   forwards within the buffer using the cursor movement keys.  In
  1913.   addition to the cursor keys, there are a number of other functions
  1914.   available for locating text within the buffer and for writing all
  1915.   or part of the buffer to a disk file.  A run down of all the keys
  1916.   available in Scroll Back mode are listed here.
  1917.  
  1918.  
  1919.     Cursor Keys
  1920.         Up, Down, PgUp, PgDn, Home, End all behave as you would
  1921.         expect.  That is, the arrow keys move you backward and
  1922.         forward a line at a time, PgUp and PgDn move a screen at
  1923.         time, and Home and End move you to the beginning or the
  1924.         end of the buffer respectively.
  1925.  
  1926.  
  1927.     Exit Scroll Back
  1928.       [ESC]
  1929.         Pressing the ESCape key will cancel Scroll Back Mode and
  1930.         return control to the Terminal Screen or the Chat Mode
  1931.         display depending upon where you were when you invoked
  1932.         the Scroll Back Buffer.
  1933.         Note: You may also use Alt-X to cancel Scroll Back Mode.
  1934.  
  1935.  
  1936.     Text Searches
  1937.       [F]
  1938.         Use the "F" key begin a text search through the buffer.
  1939.         You will be asked to provide the text to search for.
  1940.         The search is case-insensitive, this is to say that
  1941.         "Fred And Barney" will match "fred and barney" as well as
  1942.         "fred AND barney".  The search begins at the line of the
  1943.         buffer which is currently displayed at the top of the screen.
  1944.         Note: You may also use the backslash key to begin a search.
  1945.  
  1946.       [N]
  1947.         Like the "F" key above but rather than querying for the
  1948.         text to search for it will simply continue searching for
  1949.         the last specified string.
  1950.         Note: You may also use "A" to continue a search.
  1951.  
  1952.  
  1953.     The Marked Area
  1954.       The keystrokes mentioned below are used to define a "marked area"
  1955.     within the Scroll Back Buffer.  This area will be displayed in an
  1956.     alternate color from the rest of the Scroll Back Buffer.  The
  1957.     mark defines exactly which lines will be written to disk when the
  1958.     "W" key is pressed.
  1959.  
  1960.       [T]
  1961.         "Marks" the top line of the display.  If there currently is
  1962.         no marked area, the top line of the screen becomes both the
  1963.         top and bottom line of the marked area.  Otherwise, the
  1964.         marked area is expanded or contracted appropriately.
  1965.         Note: You may also use "M" to mark the top line of the
  1966.         display.
  1967.  
  1968.       [B]
  1969.         "Marks" the bottom line of the display.  If there currently
  1970.         is no marked area, the bottom line of the screen becomes both
  1971.         the top and bottom line of the marked area.  Otherwise, the
  1972.         marked area is expanded or contracted appropriately.
  1973.  
  1974.       [Q]
  1975.         If an area of the scroll back buffer has been marked (see [T]
  1976.         and [B] above), this will allow you to upload that marked
  1977.         area as an ASCII upload.  You will be given a menu that asks
  1978.         whether you want the upload formatted as a quote or not.  If
  1979.         you select Unformatted, the marked text will be sent "as-is".
  1980.         If you select Formatted, however, you will be further queried
  1981.         for the "Initials" to use, you may specify any string, up to
  1982.         ten characters long here.  This feature is typically used
  1983.         when replying to messages or E-Mail on BBSes or on-line
  1984.         services and you wish to quote another letter writer; the
  1985.         "Initials" are meant to be an indication of whom you are
  1986.         quoting.  When formatted text is uploaded, each line will be
  1987.         preceded with a two character left margin and "XX> " (where
  1988.         "XX" represents the initials you specified), and the text
  1989.         will be reformatted with intelligent word wrapping to fit
  1990.         into 72 columns.  For either type of upload, you will be
  1991.         shown a variation on the Ascii Upload dialog window (see
  1992.         Figure CC.) and you may change any of the Ascii Upload
  1993.         parameters at this point or simply press ENTER to begin.
  1994.         Note: There are several alternate keystrokes which invoke
  1995.         this function: Alt-Q, U, and Alt-U.
  1996.  
  1997.       [W]
  1998.         This will prompt for a file name and write the marked area of
  1999.         the Scroll Back Buffer to the file you specify.  If the file
  2000.         already exists you will be asked whether the new information
  2001.         should overwrite the current contents of the file, be
  2002.         appended to the current contents of the file, or whether you
  2003.         would rather specify another file name or cancel the
  2004.         operation.  If there is no currently marked area you will
  2005.         be asked whether you want to write the entire buffer to the
  2006.         file.
  2007.         Note: You may also use Alt-W to write the buffer or marked
  2008.         area to a disk file.
  2009.  
  2010.  
  2011.  
  2012.       F. Protocol Status Display
  2013.  
  2014.     During an XModem, XModem1K, YModem, YModem-G, or ZModem file
  2015.   transfer, TE/2 maintains a dialog box on screen which keeps you
  2016.   informed of the current status of the file transfer.  The dialog
  2017.   title (shown here as "ZModem Download") will indicate the actual
  2018.   protocol and function in use.
  2019.  
  2020.  
  2021.         ┌──────────────────────────────────────────────┐
  2022.         │               ZModem Download                │▒
  2023.         │                                              │▒
  2024.         │         File Name:                           │▒
  2025.         │         File Size:                           │▒
  2026.         │ Bytes Transferred:                           │▒
  2027.         │      Packet/Block:                           │▒
  2028.         │    Estimated Time:                           │▒
  2029.         │      Time Elapsed:                           │▒
  2030.         │  Percent Complete:                           │▒
  2031.         │ Characters/Second:                           │▒
  2032.         │      Last Message:                           │▒
  2033.         │                                              │▒
  2034.         └──────────────────────────────────────────────┘▒
  2035.           ▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒
  2036.  
  2037.                            Figure HH.
  2038.                    File Transfer Status Dialog
  2039.  
  2040.  
  2041.       File Name
  2042.         This will display the name of the file currently in transit.
  2043.         If the name of the file is longer than the space allowed, it
  2044.         is abbreviated by removing characters from the beginning of
  2045.         the file name allowing the most significant part of the name
  2046.         to be displayed.  If the file name has been abbreviated, you
  2047.         will notice three dots ("...") as the first three characters
  2048.         displayed in the file name.
  2049.         On an upload, the entire path/name of the file as you had
  2050.         previously specified will be shown, including the drive
  2051.         and/or path if they were given.  The path information is for
  2052.         display only, if the protocol is one wherein the file name is
  2053.         sent to the receiver, be assured that the drive and path
  2054.         information is removed before the file name is sent to the
  2055.         remote system.
  2056.  
  2057.       File Size
  2058.         If the total file size is available, it will be displayed
  2059.         here.  This will be available on any upload and on YModem,
  2060.         YModem-G, and ZModem downloads.
  2061.  
  2062.       Bytes Transferred
  2063.         This will record the total number of bytes transferred for
  2064.         this file thus far.
  2065.  
  2066.       Packet/Block
  2067.         All of the file transfer protocols send the information from
  2068.         the sender to the receiver in packets or blocks.  The packets
  2069.         vary in size from one protocol to the other; however this
  2070.         line will keep a count of each packet as it is sent.
  2071.  
  2072.       Estimated Time
  2073.         Initially, this is a rough estimate of the time (in minutes
  2074.         and seconds) which it will take to transmit or receive the
  2075.         file.  If the total file size if not known (as in an XModem
  2076.         or XModem-1K download) this will be impossible to estimate.
  2077.         The method used for computing the initial value is:
  2078.              (((total file size) * 8) / (current baud)) * 0.75
  2079.         After the transfer has progressed for at least ten seconds,
  2080.         TE/2 will begin to recalculate this value based on the actual
  2081.         rate of transfer and will redisplay the new value each time
  2082.         a packet is sent or received.
  2083.  
  2084.       Time Elapsed
  2085.         This records the total time in minutes and seconds that have
  2086.         passed during the transfer thus far.
  2087.  
  2088.       Percent Complete
  2089.         This is simply the Bytes Transferred divided by File Size made
  2090.         into a percentage.  If the File Size is unknown (as in an
  2091.         XModem or XModem-1K download) this value will be unknown.
  2092.  
  2093.       Characters/Second
  2094.         This is simply the Bytes Transferred divided by Time Elapsed.
  2095.         
  2096.       Last Message
  2097.         This is an indicator of the latest "interesting event" that
  2098.         has transpired during the transfer.  It may contain such
  2099.         messages as "TRANSMIT BLOCK" or "RECEIVE FILE" or "BAD CRC
  2100.         OR CHECKSUM".
  2101.  
  2102.  
  2103.     Note on CompuServe B Plus Protocol
  2104.  
  2105.     Do not be alarmed if you see what appears to be erratic behavior
  2106.   of the numbers which appear in some of the numeric fields of the
  2107.   Protocol Status Display during a CompuServe B Plus file transfer.
  2108.   CompuServe and the local protocol driver re-negotiate during the
  2109.   course of the transfer, the estimated times are recalculated at
  2110.   odd intervals, and the Bytes Transferred field will alternately
  2111.   display the number of bytes received and the number of bytes trans-
  2112.   mitted.  Due to the difference in character between the status
  2113.   reporting for this protocol with respect to the X-Y-ZModem family
  2114.   of protocols, future versions of TE/2 will provide a dedicated
  2115.   status display for the CompuServe protocol.
  2116.  
  2117.  
  2118.   -------------------------------------------------------------
  2119.  
  2120.  
  2121. VIII. Customization
  2122.  
  2123.     In the preceding sections we have used the phrase "by default"
  2124.   or "default behavior" quite a few times.  Just about as often we
  2125.   have mention that such and such feature can be modified and
  2126.   referred you here.  An attempt has been made to make TE/2 as user
  2127.   configurable as possible.  Let us examine the different methods
  2128.   we have available to us for modifying TE/2's "default" behavior.
  2129.  
  2130.       A. TE2.INI
  2131.  
  2132.     When TE/2 begins it looks around for a file with the name
  2133.   "TE2.INI".  It looks first in the current directory, if it is not
  2134.   found there it looks in the directory that contains the currently
  2135.   executing copy of TE/2.  If it's not there then it looks in each
  2136.   directory referred to in the OS/2 environment setting for "PATH"
  2137.   the same as OS/2 searches for a file to execute when you type its
  2138.   name at the command line prompt.  If it finishes this process and
  2139.   still hasn't located TE2.INI, TE/2 will have no choice but to
  2140.   print an error message and exit.
  2141.  
  2142.     You may override the default name of TE2.INI and/or the path
  2143.   search for the file by using the TE/2 command line parameter "-f".
  2144.   See the section "TE/2 Command Line" for further details.
  2145.  
  2146.     The TE2.INI is a flat text file that can be edited with the OS/2
  2147.   system editor or with your favorite text editor.  If you use a word
  2148.   processor to edit this file you must be sure to save the file in
  2149.   straight ASCII format, not in the word processor's document format.
  2150.   Consult the documentation for your word processor if you are unsure
  2151.   of how to do this.
  2152.  
  2153.     Most every line in TE2.INI will have a variable name and a value
  2154.   for the variable.  Certain lines or parts of lines may be used for
  2155.   commenting the file to make it more readable.  Any text on any line
  2156.   which begins with a semicolon (";") is considered a comment when
  2157.   TE/2 reads the file and will not be interpreted as a command.  You
  2158.   may have blank lines in the file, they are ignored.  You must have
  2159.   at least one space or tab between the variable and its value but
  2160.   you may also have as many as you like.  In the same vein, spaces
  2161.   or tabs on a line before the variable name or after the value are
  2162.   likewise ignored.  For a simple example, refer to Figure II.  In
  2163.   this example, the first two lines are comments, the third, blank
  2164.   line is ignored.  In the fourth line the variable "baud" is set to
  2165.   the value "2400" and a clarifying comment ends the line.
  2166.  
  2167.     There is one "metacommand" which is neither a variable name nor
  2168.   a comment which may be used in TE2.INI.  That is the keyword:
  2169.   INCLUDE.  The syntax on an "INCLUDE" statement is:
  2170.  
  2171.                            INCLUDE filename
  2172.  
  2173.   where "filename" is searched for via the same methods as outlined
  2174.   above for TE2.INI itself.  There is ONE RESTRICTION on include-file
  2175.   filenames: The filename must NOT include any embedded spaces.
  2176.   Otherwise, all valid OS/2 file names are allowed.  If the file is
  2177.   found, it will be opened and read as though it were contained at
  2178.   that point in the calling INI file.  The included file may contain
  2179.   valid TE2.INI settings, comments, or even other "INCLUDE" statements.
  2180.   When the TE/2 has finished reading the included file, it will return
  2181.   to the original file and resume processing on the next line after
  2182.   the "INCLUDE" statement.
  2183.  
  2184.     Note that the entries in TE2.INI are not case sensitive.  That is
  2185.   the example could have used "Baud" or "BAUD" instead of "baud" and
  2186.   the results would be the same.
  2187.  
  2188.  
  2189.         ---------------------------------------------------------
  2190.  
  2191.                 ; This is a very simple TE/2
  2192.                 ; initialization file
  2193.  
  2194.                 baud    2400    ; This sets default baud to 2400
  2195.                 parity  None    ; and parity to "N"
  2196.  
  2197.         ---------------------------------------------------------
  2198.                             Figure II.
  2199.                          TE2.INI Example
  2200.  
  2201.  
  2202.     There are a very large number of variables which may be set in
  2203.   the TE2.INI file.  They control nearly every aspect of how TE/2
  2204.   will operate.  Many of these you will never need to adjust, a few
  2205.   you will probably set once and forget.  Though there are a lot
  2206.   of variables to deal with, they fall into several broad groups
  2207.   that have some things in common.  These groups are:
  2208.  
  2209.       True/False variables
  2210.         These may have one of two values: "True" or "False".  If
  2211.         you prefer, "Yes" and "No" can be used instead of "True"
  2212.         and "False".  You can mix and match the two styles.
  2213.  
  2214.       Numeric variables
  2215.         These variables expect a number for a value.  Sometimes
  2216.         there is a minimum and/or maximum value for the variable
  2217.         or the value may only be taken from a well defined list
  2218.         of possible values.  This will be indicated for each
  2219.         individual variable in the section below.  The numbers
  2220.         must be integer values in standard decimal (base 10)
  2221.         notation.
  2222.  
  2223.       Path Name variables
  2224.         Sometimes a file name, sometimes just a path is required
  2225.         for these.  Paths may be fully specified or relative,
  2226.         the drive indicator may be omitted if it is not needed.
  2227.         You may freely use the forward slash ("/") as a subdirectory
  2228.         separator instead of the backslash ("\") if you prefer.
  2229.         Some of the path variables will be checked for existence
  2230.         when TE2.INI is read and a warning will be printed on the
  2231.         screen if the path does not exist.
  2232.  
  2233.       Modem String variables
  2234.         Modem string variables are for specifying the commands that
  2235.         will be sent to your modem, i.e., "ATDT" for the dialing
  2236.         command.  There are several problems that arise when
  2237.         specifying these strings however:
  2238.           1) They may need to contain a space character which is
  2239.              usually a token delimiter.
  2240.           2) They may need to contain a semicolon character which
  2241.              usually introduces a comment.
  2242.           3) They may need to contain control characters, such as
  2243.              a carriage return character which is impossible to
  2244.              enter into the file without ending the line.
  2245.         Here are the ways to deal with these problems:
  2246.           1) If you need to enter a space character, use an
  2247.              underscore character ("_") instead.  If you really
  2248.              need an underscore, use two of them.
  2249.           2) If you need to enter a semicolon, use an exclamation
  2250.              point ("!") instead.  If you really need an exclamation
  2251.              point, use two of them.
  2252.           3) If you need to enter a control character, use standard
  2253.              "^n" notation.  For instance, if you need a carriage
  2254.              return character you would use "^M" (because the
  2255.              carriage return is ASCII code 13 and "M" is the 13th
  2256.              letter in the English alphabet).  A few of the most
  2257.              important conversions are given here:
  2258.                 ^@ -- character  0, a NUL character
  2259.                 ^G -- character  7, a bell or beep
  2260.                 ^H -- character  8, a backspace
  2261.                 ^I -- character  9, a tab character
  2262.                 ^J -- character 10, a line feed character
  2263.                 ^M -- character 13, a carriage return character
  2264.                 ^[ -- character 27, an escape character
  2265.               If you need to enter a "^" character, use two of them.
  2266.         There is one other important character that may be placed
  2267.         into a modem string.  This is the delay character, usually
  2268.         the tilde ("~") but even this may be changed within TE2.INI
  2269.         (see variable "ModemDelayChar").  This character will result
  2270.         in a short delay (usually 0.5 seconds but also settable via
  2271.         the variable "ModemDelayChar") when the string is sent to the
  2272.         modem.
  2273.  
  2274.       Color Attribute variables
  2275.         The easiest way to adjust the colors in TE/2 is via the
  2276.         supplied TE2COLOR.EXE program, either executed from inside
  2277.         of TE/2 via Alt-Y or standalone.  See the section titled
  2278.         "TE2Color.EXE" for further information on this.  If you
  2279.         prefer to adjust these variable by hand or are just interested
  2280.         in what is going on "behind the scenes", read on.  Otherwise
  2281.         it is safe to skip this section.
  2282.  
  2283.         These variables determine the colors that TE/2 will use to
  2284.         display its various screens.  Each is a number from zero to
  2285.         255 and may be expressed in either decimal or hexadecimal
  2286.         notation.  There are eight different colors to choose from;
  2287.         however, foreground colors may be selected to be in either
  2288.         normal or high intensity.  If you run a full screen session,
  2289.         you can make foreground characters blink, if you run in a VIO
  2290.         window you can choose the background to be either normal or
  2291.         high intensity.
  2292.         These are the eight available colors and their associated
  2293.         numbers:
  2294.                 Black   0
  2295.                 Blue    1
  2296.                 Green   2
  2297.                 Cyan    3
  2298.                 Red     4
  2299.                 Magenta 5
  2300.                 Brown   6
  2301.                 White   7
  2302.         To specify a high intensity color, add eight to the value.
  2303.         Thus, high-intensity blue is number 9.  Note that high-
  2304.         intensity brown becomes yellow.
  2305.         To formulate a color attribute, you just combine the
  2306.         color numbers for both the foreground and background into
  2307.         one number.  Do this by taking the background number,
  2308.         multiply it by sixteen and add to it the foreground color.
  2309.           Example: We want light blue on black.  Light blue is
  2310.           color 9, black is color 0 (black is always the easiest
  2311.           background to use).  (16 * 0) + 9 = 9 (or, in hex notation
  2312.           (0x09).
  2313.           Example: We want light cyan on a blue background. Light
  2314.           cyan is color number 11, blue is 1. (16 * 1) + 11 = 27
  2315.           (or 0x1b in hex notation).
  2316.         If you add 128 to the resulting value, you will get either
  2317.         blinking foreground (in a full screen session) or high
  2318.         intensity background (in a VIO window).
  2319.         Or you may use the following chart.  To use the chart, find
  2320.         the color you want for the foreground along the top and find
  2321.         the color you want for the background along the side.  The
  2322.         number on the chart where that line and column intersect is
  2323.         the number for normal foreground and normal background.  If you
  2324.         want high intensity foreground, add eight.  If you want
  2325.         blinking foreground (full screen) or high intensity back-
  2326.         ground (VIO window) add 128.
  2327.  
  2328.              Black  Blue   Green  Cyan   Red    Magnt  Brown  White
  2329.             +-------------------------------------------------------
  2330.     Black   |   0     1      2      3      4      5      6      7
  2331.     Blue    |  16    17     18     19     20     21     22     23
  2332.     Green   |  32    33     34     35     36     37     38     39
  2333.     Cyan    |  48    49     50     51     52     53     54     55
  2334.     Red     |  64    65     66     67     68     69     70     71
  2335.     Magenta |  80    81     82     83     84     85     86     87
  2336.     Brown   |  96    97     98     99    100    101    102    103
  2337.     White   | 112   113    114    115    116    117    118    119
  2338.  
  2339.  
  2340.       Enumerated Value variables
  2341.         Some variables have only a relatively small range of values
  2342.         to choose from.  One example of this is "WordLen" which may
  2343.         only take the values 7 or 8.  Another is "CtsRts" which may
  2344.         only take the values "cts", "rts", "both", or "neither".
  2345.         Variables of this type will be dealt with individually.
  2346.  
  2347.       Other variables
  2348.         And then there are the several that don't quite fit into any
  2349.         of these pigeon holes.  An example of this would be
  2350.         "AsciiUL" which takes a list of parameters delimited by
  2351.         commas.  The thing to remember here is that the space
  2352.         character is still a token delimiter so there must be no
  2353.         embedded spaces in these parameter strings.  For example,
  2354.         "ULPrtyClass" takes two parameters,
  2355.                 ULPrtyClass     fixedhigh,0
  2356.         is a valid entry for this variable,
  2357.                 ULPrtyClass     fixedhigh, 0
  2358.         is not.
  2359.  
  2360.  
  2361.     The following is a list of all of the variables you may set in
  2362.   TE2.INI arranged by major function.  For both this list and the
  2363.   alphabetized one following you should note that the default value
  2364.   listed here is the default if the variable DOES NOT APPEAR in the
  2365.   TE2.INI file at all.  TE/2 is distributed with an example TE2.INI
  2366.   which changes the values of some of these variables.
  2367.  
  2368.  
  2369.   Initialization Variables by Major Function
  2370.   =========================================
  2371.  
  2372.     Comm Port Settings
  2373.     ==================
  2374.  
  2375.         Variable        Default
  2376.         ========        =======
  2377.  
  2378.         Baud            2400
  2379.           Type:  numeric, must be a valid baud rate
  2380.           Notes: this will become the default baud rate when TE/2
  2381.                   first enters terminal mode.
  2382.  
  2383.         BreakLen        1000ms
  2384.           Type:  numeric, greater than zero
  2385.           Notes: Break signal duration in milliseconds
  2386.  
  2387.         CtsRts          BOTH
  2388.           Type:  enumeration, CTS, RTS, BOTH, or NEITHER
  2389.  
  2390.  
  2391.         Device          com1
  2392.           Type:  simple string, rules for modem strings apply
  2393.           Notes: The "Device" parameter may override any "Port"
  2394.                  parameter given in the file.  You do not have
  2395.                  to specify "com1", "com2", et cetera if your
  2396.                  comm device has another name however the Alt-I
  2397.                  information display will not match the reality
  2398.                  when you use the "Device" parameter unless it
  2399.                  is named "com1", "com2", etc., and the "Port"
  2400.                  parameter is set to match.
  2401.  
  2402.         ExtendedFIFO    false
  2403.           Type:  true/false
  2404.           Notes: For use only if you have a 16550 UART installed
  2405.                  on your serial port.  If FALSE (the default)
  2406.                  TE/2 will simply leave the FIFO buffering as it
  2407.                  found it (may be set with the OS/2 "Mode" command).
  2408.                  If it is TRUE, TE/2 will attempt to set the
  2409.                  equivalent of MODE's "BUFFERS=AUTO".
  2410.  
  2411.         Parity          N
  2412.           Type:  enumerated, must be N, O, E, M, or S
  2413.           Notes: this will become the default parity when TE/2
  2414.                  first enters terminal mode.
  2415.  
  2416.         Port            1
  2417.           Type:  numeric, must be 1, 2, ..., 8
  2418.           Notes: If your comm device is named "comX" where X is
  2419.                  a number from 1 to 8, you do not need to use
  2420.                  the "Device" parameter (above) and may simply
  2421.                  specify the port number.
  2422.  
  2423.         StopBits        1
  2424.           Type:  enumerated, must be 1, 1.5, or 2
  2425.           Notes: this will become the default number of stop bits
  2426.                  when TE/2 enters terminal mode.
  2427.  
  2428.         WordLen         8
  2429.           Type:  numeric, must be 7 or 8
  2430.           Notes: this will become the default word length when TE/2
  2431.                  first enters terminal mode.
  2432.  
  2433.         XonXoff         NEITHER
  2434.           Type:  enumerated, NEITHER, TRANSMIT, RECEIVE, or BOTH
  2435.  
  2436.  
  2437.     Terminal Settings
  2438.     =================
  2439.  
  2440.         Variable        Default
  2441.         ========        =======
  2442.  
  2443.         AlarmPopUp      false
  2444.           Type:  true/false
  2445.           Notes: enables/disable alarm pop-up screens.  Further,
  2446.                  note that the alarm pop-up will only ever be
  2447.                  displayed if TE/2 is not the foreground task
  2448.                  at the time of the alarm.
  2449.  
  2450.         AlarmTime       2 secs
  2451.           Type:  numeric, must be greater than or equal to zero
  2452.           Notes: Alarm duration in seconds, zero disables the alarm
  2453.  
  2454.         AlarmType       CHIME
  2455.           Type:  enumerated: NONE, CHIME, or BUZZER
  2456.           Notes: Determines how the alarm will sound
  2457.  
  2458.         ChatBuffered    true 
  2459.           Type:  true/false
  2460.           Notes: entry value for chat mode buffering
  2461.  
  2462.         ColorLock       false
  2463.           Type:  true/false
  2464.           Notes: if true the terminal color cannot be changed via
  2465.                  ANSI codes from the remote
  2466.  
  2467.         ClsReset        false
  2468.           Type:  true/false
  2469.           Notes: if set to true, the current color attribute for
  2470.                  the terminal screen will be set to the default
  2471.                  (see TermAttr) when a clear-screen command is
  2472.                  issued (either via Alt-C or by a terminal code).
  2473.                  Otherwise the screen is clears to the current
  2474.                  attribute.
  2475.  
  2476.         LFafterCR       false
  2477.           Type:  true/false
  2478.           Notes: entry value for LF After CR
  2479.  
  2480.         LocalEcho       false
  2481.           Type:  true/false
  2482.           Notes: entry value for Local Echo
  2483.  
  2484.         LogoDelay       8 secs
  2485.           Type:  numeric, greater than or equal to zero
  2486.           Notes: Length of time the TE/2 logo will remain on screen
  2487.                  after primary initialization has completed.  If this
  2488.                  is set to zero, the logo will not be displayed.
  2489.                  Note that in this version of TE/2 the logo display
  2490.                  is followed by a shareware notice; this notice
  2491.                  cannot be disabled.
  2492.  
  2493.         MatchBaud       true 
  2494.           Type:  true/false
  2495.           Notes: if false the dialer will not attempt to match the
  2496.                  baud rate after making a connection. Use this if
  2497.                  you need to "Lock" the baud rate for a high-speed
  2498.                  connection.
  2499.  
  2500.         MenuActive      true 
  2501.           Type:  true/false
  2502.           Notes: initial display/nondisplay of Terminal Modem menu
  2503.  
  2504.         QueryHangUp     false
  2505.           Type:  enumerated: TRUE, FALSE, IFCARRIER
  2506.           Notes: If TRUE, TE/2 will ask for verification each time
  2507.                  before hanging up or exiting.  If FALSE, TE/2 will
  2508.                  never ask for verification.  If IFCARRIER, TE/2
  2509.                  will ask only if it is currently on-line.
  2510.  
  2511.         ScreenLines     current number of screen lines
  2512.           Type:  numeric, must be greater than zero
  2513.           Notes: This sets the desired number of lines for the
  2514.                  screen.
  2515.  
  2516.         ScrollBack      250
  2517.           Type:  number, greater than or equal to zero
  2518.           Notes: Number of lines to retain in Scroll Back Buffer,
  2519.                  if this is set to zero the Scroll Back Buffer is
  2520.                  disabled.
  2521.  
  2522.         SwapBS4Del      false
  2523.           Type:  true/false
  2524.           Notes: If TRUE the TE/2 will internally redefine the
  2525.                  Backspace key such that it transmits an ASCII 127
  2526.                  (usually known as a DEL or RUBOUT character) instead
  2527.                  of the usual ASCII 8 (the real BACKSPACE character).
  2528.                  The mapping effects only the actual backspace key,
  2529.                  i.e., the Del and Delete keys retains their values
  2530.                  and CONTROL+H continues to transmit an actual BACK-
  2531.                  SPACE.  This conversion is applied BEFORE character
  2532.                  translation via the TE2OUT.XLT file is applied.
  2533.  
  2534.     Emulation Settings
  2535.     ==================
  2536.  
  2537.         Variable        Default
  2538.         ========        =======
  2539.  
  2540.         Emulate         ANSI_TE2
  2541.           Type:  enumerated: TTY, ANSI, ANSI_TE2, VT100, or 3101
  2542.           Notes: defines the default terminal emulation at program
  2543.                  startup
  2544.  
  2545.         EnqReply        NULL
  2546.           Type:  modem string
  2547.           Notes: in VT100 mode, this string will be sent to the
  2548.                  remote system in response to an ENQ character
  2549.  
  2550.         AutoNL3101      FALSE
  2551.           Type:  true/false
  2552.           Notes: simulates the setting of Switch 31, the AUTO NL
  2553.                  switch on the IBM 3101.  If true, the cursor will
  2554.                  move to the first position on the next line after
  2555.                  displaying a character in column 80
  2556.  
  2557.         AutoLF3101      FALSE
  2558.           Type:  true/false
  2559.           Notes: simulates the setting of Switch 32, the AUTO LF
  2560.                  switch on the IBM 3101.  If true, the cursor will
  2561.                  react to a CR as if it were a CR-LF pair.
  2562.  
  2563.         Scroll3101      TRUE
  2564.           Type:  true/false
  2565.           Notes: simulates the setting of Switch 34, the SCROLL
  2566.                  switch on the IBM 3101.  If set to false, scrolling
  2567.                  is disabled.
  2568.  
  2569.         EndChar3101     CR
  2570.           Type:  enumerated: ETX, CR, EOT, XOFF
  2571.           Notes: simulates the settings of Switches 16 and 17 on the
  2572.                  IBM 3101.  These settings define what character will
  2573.                  be transmitted by the Enter key.
  2574.  
  2575.         VT100Backspace  false
  2576.           Type:  true/false
  2577.           Notes: If TRUE, backspace characters received by the VT100
  2578.                  emulation will be handled as though they were actually
  2579.                  the sequence, Backspace, Space, Backspace, i.e.,
  2580.                  a destructive backspace.
  2581.  
  2582.         VT100Prn        NULL
  2583.           Type:  path name
  2584.           Notes: Specifies the name of the output device or file to
  2585.                  be used in conjunction with the VT100 emulation's
  2586.                  printer functions.  Although it is expected that you
  2587.                  will use a device name such as "LPT1" here, it may
  2588.                  be a file if you wish.
  2589.  
  2590.     Modem Settings
  2591.     ==============
  2592.  
  2593.         Variable        Default
  2594.         ========        =======
  2595.  
  2596.         Connect         special
  2597.           Type:  modem string(s)
  2598.           Notes: You may have up to 12 connect strings specified.
  2599.                  These are the actual strings that TE/2's dialer
  2600.                  will look for from the modem when it dials. Each
  2601.                  string follows the rules for modem strings given
  2602.                  above and is followed by a comma and a baud rate
  2603.                  which will be used for purposes of baud matching
  2604.                  if you have MatchBaud set on.
  2605.           Example:  This is an example of setting several connect
  2606.                     strings in TE2.INI:
  2607.  
  2608.                         Connect  CONNECT^M,300
  2609.                         Connect  CONNECT_1200,1200
  2610.                         Connect  CONNECT_2400,2400
  2611.                         Connect  CONNECT_9600/ARQ,9600
  2612.  
  2613.                   Note that if you specify any Connect strings you
  2614.                   should be sure to specify ALL Connect strings
  2615.                   you expect to encounter.  TE/2 default set covers
  2616.                   300, 1200, 2400, 4800, and 9600 for standard
  2617.                   Hayes compatible modems operating with verbal
  2618.                   response codes.  If you specify any Connect strings
  2619.                   in TE2.INI however, TE/2 assumes that you will
  2620.                   specify them all.
  2621.           Further Note: The strings are searched in order from
  2622.                   first to last and when one matches the search ends.
  2623.                   Thus, the "^M" in the first example is very
  2624.                   important!  If it were not there, any string which
  2625.                   begins with "CONNECT" (i.e., every modem connect
  2626.                   result string!) would be taken to imply 300 baud.
  2627.                   This is probably not what you had in mind.
  2628.                   Also, the third line above will match
  2629.                   "CONNECT 2400^M" as well as "CONNECT 2400/ARQ^M",
  2630.                   but the fourth line will not match "CONNECT 9600^M".
  2631.  
  2632.  
  2633.         DialerSendInit  false
  2634.           Type:  true/false
  2635.           Notes: If set to TRUE, the dialer will issue the modem
  2636.                  initialization string (ModemInitStrg) to the modem
  2637.                  at the beginning of each dialing session.
  2638.  
  2639.         DtrHangUp       true 
  2640.           Type:  true/false
  2641.           Notes: determines whether the hangup sequence also drops
  2642.                  DTR momentarily
  2643.  
  2644.         ModemAnsStrg    ATS0=1^M^J
  2645.           Type:  modem string
  2646.           Notes: this string is used to initialize auto-answer
  2647.                  mode.
  2648.           Note further: This string is not used in this version
  2649.                         of TE/2 but to ensure file compatibility
  2650.                         with the full version, it is included here.
  2651.  
  2652.         ModemDelayChar  0x7e,500
  2653.           Type:  special
  2654.           Notes: The two values here are the ASCII value of the
  2655.                  character to use for delays in the various modem
  2656.                  strings (0x7e is the tilde character "~") and the
  2657.                  duration of the delay in milliseconds
  2658.  
  2659.         ModemDialStrg   ATDT
  2660.           Type:  modem string
  2661.           Notes: this is used as the modem dial command
  2662.  
  2663.         ModemDialSufx   ^M
  2664.           Type:  modem string
  2665.           Notes: this is sent to the modem after the number in a
  2666.                  dial command
  2667.  
  2668.         ModemHangStrg   ~~~+++~~ATH0^M^J
  2669.           Type:  modem string
  2670.           Notes: this string is sent to the modem to cause it to
  2671.                  hang-up the line (see also dtrHangUp)
  2672.  
  2673.         ModemInitStrg   ATE0_M1_Q0_V1_X4_S7=255_S11=55_S0=0^M^J
  2674.           Type:  modem string
  2675.           Notes: this string is sent to the modem at startup for
  2676.                  initialization
  2677.  
  2678.         ModemOKStrg     OK
  2679.           Type:  modem string
  2680.           Notes: this is the string that TE/2 will expect the modem
  2681.                  to return after receiving a command string
  2682.                  successfully.
  2683.  
  2684.         NoConnect       special
  2685.           Type:  modem string(s)
  2686.           Notes: See also "Connect" above.  Here you may specify up
  2687.                  to 6 NoConnect strings.  These are the strings
  2688.                  which TE/2's dialer will look for when dialing to
  2689.                  signal that the dialing attempt has failed. These
  2690.                  strings follow the rules for modem strings given
  2691.                  above.  If you specify any NoConnect strings you
  2692.                  must specify every one you expect to encounter
  2693.                  because you will be replacing TE/2's default set.
  2694.  
  2695.                  TE/2's default set is:
  2696.                         NoConnect    NO_CARRIER
  2697.                         NoConnect    ERROR
  2698.                         NoConnect    NO_DIAL_TONE
  2699.                         NoConnect    BUSY
  2700.                         NoConnect    NO_ANSWER
  2701.                         NoConnect    VOICE
  2702.  
  2703.  
  2704.  
  2705.     Dialer and Dialing Directory
  2706.     ============================
  2707.  
  2708.         Variable        Default
  2709.         ========        =======
  2710.  
  2711.         AutoDirSave     false
  2712.           Type:  true/false
  2713.           Notes: if true the directory file will be saved each time
  2714.                  upon exiting the Dialing Directory.
  2715.  
  2716.         DialerTimeOut   45 secs
  2717.           Type:  numeric, greater than zero
  2718.           Notes: Amount of time in seconds that the dialer will
  2719.                  allow a phone number to ring.
  2720.  
  2721.         RedialDelay     2 sec
  2722.           Type:  numeric, greater than zero
  2723.           Notes: Amount of time in seconds that the dialer will
  2724.                  pause between dialing attempts.
  2725.  
  2726.  
  2727.     Color Attributes
  2728.     ================
  2729.  
  2730.         Variable        Default
  2731.         ========        =======
  2732.  
  2733.         ChatAttr        0x0f - Bright white on black
  2734.           Type:  attribute
  2735.           Notes: Chat Mode, Local Window text
  2736.  
  2737.         ChatRemoteAttr  0x07 - White on black
  2738.           Type:  attribute
  2739.           Notes: Chat Mode, Remote Window text
  2740.  
  2741.         ChatTitleAttr   0x70 - Black on white
  2742.           Type:  attribute
  2743.           Notes: Chat Mode, titles
  2744.                  This attribute is not used in this version of
  2745.                  TE/2 but to ensure file compatibility with the
  2746.                  full version it is included here.
  2747.  
  2748.         CmdInputAttr    0x07 - White on black
  2749.           Type:  attribute
  2750.           Notes: Command Prompt, text input, while editing
  2751.                  This attribute is not used in this version of
  2752.                  TE/2 but to ensure file compatibility with the
  2753.                  full version it is included here.
  2754.  
  2755.         CmdInputHiAttr  0x70 - Black on white
  2756.           Type:  attribute
  2757.           Notes: Command Prompt, text input, initial display of
  2758.                  default value
  2759.                  This attribute is not used in this version of
  2760.                  TE/2 but to ensure file compatibility with the
  2761.                  full version it is included here.
  2762.  
  2763.         CmdPromptAttr   0x0f - Bright white on black
  2764.           Type:  attribute
  2765.           Notes: Command Prompt, prompt
  2766.                  This attribute is not used in this version of
  2767.                  TE/2 but to ensure file compatibility with the
  2768.                  full version it is included here.
  2769.  
  2770.         DLogDaAttr      0x08 - Gray on black
  2771.           Type:  attribute
  2772.           Notes: Dialog boxes, disabled menu items
  2773.  
  2774.         DLogEdAttr      0x70 - Black on white
  2775.           Type:  attribute
  2776.           Notes: Dialog boxes, text input, while editing
  2777.  
  2778.         DLogEdHiAttr    0x0f - Bright white on black
  2779.           Type:  attribute
  2780.           Notes: Dialog boxes, text input, initial display of
  2781.                  default value
  2782.  
  2783.         DLogHiAttr      0x70 - Black on white
  2784.           Type:  attribute
  2785.           Notes: Dialog boxes, highlit text
  2786.  
  2787.         DLogNormAttr    0x0f - Bright white on black
  2788.           Type:  attribute
  2789.           Notes: Dialog boxes, normal text
  2790.  
  2791.         DialHiAttr      0x0f - Bright white on black
  2792.           Type:  attribute
  2793.           Notes: Dialing Directory, highlighted bar
  2794.  
  2795.         DialNormAttr    0x07 - White on black
  2796.           Type:  attribute
  2797.           Notes: Dialing Directory, normal text
  2798.  
  2799.         ErrorAttr       0x0f - Bright white on black
  2800.           Type:  attribute
  2801.           Notes: Error Message display
  2802.  
  2803.         LogoAttr        0x70 - Black on white
  2804.           Type:  attribute
  2805.           Notes: Terminal Screen menu, TE/2 logo
  2806.  
  2807.         MenuHiAttr      0x0f - Bright white on black
  2808.           Type:  attribute
  2809.           Notes: Terminal Screen menu, highlit text
  2810.  
  2811.         MenuNormAttr    0x07 - White on black
  2812.           Type:  attribute
  2813.           Notes: Terminal Screen menu, normal text
  2814.  
  2815.         ScrlBackAttr    0x07 - White on black
  2816.           Type:  attribute
  2817.           Notes: Scroll Back, normal text
  2818.  
  2819.         ScrlBackFdAttr  0x0f - Bright white on black
  2820.           Type:  attribute
  2821.           Notes: Scroll Back, found text
  2822.  
  2823.         ScrlBackMkAttr  0x70 - Black on white
  2824.           Type:  attribute
  2825.           Notes: Scroll Back, marked text
  2826.  
  2827.         ScrlBackTiAttr  0x70 - Black on white
  2828.           Type:  attribute
  2829.           Notes: Scroll Back, titles
  2830.  
  2831.         ShadowAttr      0x08 - Gray on black
  2832.           Type:  attribute
  2833.           Notes: Dialog boxes, shadow
  2834.  
  2835.         SnapShotAttr    0x70 - Black on white
  2836.           Type:  attribute
  2837.           Notes: SnapShot, flash attribute
  2838.  
  2839.         TermAttr        0x07 - White on black
  2840.           Type:  attribute
  2841.           Notes: Terminal Screen attribute
  2842.  
  2843.  
  2844.  
  2845.     Transfer Protocols
  2846.     ==================
  2847.  
  2848.         Variable        Default
  2849.         ========        =======
  2850.  
  2851.         AsciiUL         0,crlf,true,0,0,0,false,false,2000,2000
  2852.           Type:  special
  2853.           Notes: Here you may specify the default answers to the
  2854.                  questions posed in the Ascii Upload Dialog (see
  2855.                  "Alt-U Upload" above).  The last two fields are
  2856.                  options, all others must be specified, they must
  2857.                  be separated by commas, and there must be NO
  2858.                  extra space or tab characters in the line.
  2859.                  The fields are:
  2860.                    Prompt Char: ASCII value of the prompt character
  2861.                                 you wish to use.  The value may be
  2862.                                 in decimal, hex, or octal.  Use zero
  2863.                                 to set no prompt.
  2864.                    End of Line Seq: "LF", "CR", or "CRLF"
  2865.                    Expand Blanks Lines: true or false.
  2866.                    Char Pacing: in milliseconds.
  2867.                    Line Pacing: in milliseconds.
  2868.                    Strip 8th Bit: true or false.
  2869.                    View Output: true or false.
  2870.                    Write Timeout: in milliseconds.
  2871.                    Read Timeout: in milliseconds.
  2872.  
  2873.         AutoZM          false
  2874.           Type:  true/false
  2875.           Notes: enables/disables Auto ZModem downloads
  2876.                  When enabled, TE/2 will automatically begin a ZModem
  2877.                  download whenever it receives the ZModem signature
  2878.                  from the remote system.
  2879.  
  2880.         ClobberDL       SALVAGE
  2881.           Type:  enumerated: TRUE, FALSE, or SALVAGE
  2882.           Notes: This controls what TE/2 will do when you attempt to
  2883.                  download a file with a file of the same name already
  2884.                  in existence in the download directory of your disk.
  2885.                  If set to TRUE, the new file will overwrite (clobber)
  2886.                  the old file, if set to FALSE it will abort the
  2887.                  transfer and issue an error message.  If set to
  2888.                  SALVAGE, it will attempt to rename the existing file
  2889.                  before beginning to write the new file.  The method
  2890.                  by which is does this varies depending on whether
  2891.                  the target disk is formatted with the HPFS file
  2892.                  system or not:
  2893.  
  2894.                     On HPFS, ";nn" (where "nn" is a number in the
  2895.                     range of 1 through 999) is appended to the
  2896.                     original file name beginning with 1 and 
  2897.                     incrementing until a unique file name has been
  2898.                     discovered.
  2899.  
  2900.                     On non-HPFS, the last two characters of the
  2901.                     file extension are replaced with "nn" (where
  2902.                     "nn" is a number in the range 01 through 99)
  2903.                     beginning with 01 and incrementing until a
  2904.                     unique file name has been discovered.  If the
  2905.                     original file name does not have an extension,
  2906.                     it is treated as though it had the extension
  2907.                     ".___".  If the extension is shorter than
  2908.                     three characters, it is padded with "_" characters.
  2909.  
  2910.  
  2911.         DownloadPath    NULL
  2912.           Type:  path name
  2913.           Notes: specifies the directory you wish all downloaded
  2914.                  files to be placed in.  If left NULL, the current
  2915.                  directory is used.  For XModem and XModem-1K you
  2916.                  may override this setting by specifying a drive or
  2917.                  a path when prompted for the file name.
  2918.  
  2919.         DLPrtyClass     FIXEDHIGH,0
  2920.           Type:  special
  2921.           Notes: specifies the priority you wish OS/2 to give the
  2922.                  download file transfer protocols while they are
  2923.                  doing their duties.  TE/2 normally operates at the
  2924.                  default priority level but if the DLPrtyClass is
  2925.                  set to anything other than "NORMAL" it will adjust
  2926.                  the priority level accordingly for the duration of
  2927.                  the file transfer and restore normal priority upon
  2928.                  return.  Valid values for the first parameter of
  2929.                  DLPrtyClass are: "NORMAL", "FIXEDHIGH", or
  2930.                  "TIMECRITICAL".  The second parameter is called a
  2931.                  priority delta, it may be in the range of -31 to 31
  2932.                  and it may be omitted with no ill effects.
  2933.           Further Notes: If you set the priority class to NORMAL you
  2934.                  may very well experience timeout errors during your
  2935.                  file transmissions especially if your computer is
  2936.                  busy with other tasks while the file is transferring.
  2937.                  One the other hand, if you leave it at the default
  2938.                  value of FIXEDHIGH and are still experiencing these
  2939.                  problems you might want to set TIMECRITICAL although
  2940.                  the response and throughput of all other processes
  2941.                  running on your computer during the transfer will
  2942.                  become noticeably slower.
  2943.  
  2944.         QueryZMRecover  false
  2945.           Type:  true/false
  2946.           Notes: This setting has no effect in the shareware version
  2947.                  of TE/2.  In the full featured version it is used
  2948.                  to turn on and off the "ZModem Recover" feature.
  2949.  
  2950.         ULPrtyClass     FIXEDHIGH,0
  2951.           Type:  special
  2952.           Notes: See DLPrtyClass above for a full discussion of how to
  2953.                  set this variable.  ULPrtyClass affects upload file
  2954.                  transfers in exactly the same manner as DLPrtyClass
  2955.                  affects downloads.
  2956.  
  2957.         UploadPath      NULL
  2958.           Type:  path name
  2959.           Notes: This is where TE/2 will look for a file that does
  2960.                  not have a drive or path specified explicitly in
  2961.                  its name.  If left to NULL this will be the current
  2962.                  directory.
  2963.  
  2964.  
  2965.     Misc File and Path Specs
  2966.     ========================
  2967.  
  2968.         Variable        Default
  2969.         ========        =======
  2970.  
  2971.         CallLog         NULL
  2972.           Type:  path name
  2973.           Notes: If this file name is specified, TE/2 will write
  2974.                  information about each outgoing phone call it
  2975.                  makes.  The information is the Name from the
  2976.                  directory entry (or the number for a manual dial),
  2977.                  the time the call began, the time it ended, and
  2978.                  the total call duration.  This is handy for what-
  2979.                  ever record keeping you need to do whether it's
  2980.                  for tax purposes or just to keep the phone company
  2981.                  honest.
  2982.  
  2983.         DirFile         te2.dir
  2984.           Type:  path name
  2985.           Notes: Specifies the name and location for the default
  2986.                  dialing directory file.
  2987.  
  2988.         FnkFile         te2.fnk
  2989.           Type:  path name
  2990.           Notes: Specifies the name and location for the default
  2991.                  function key definition file.
  2992.  
  2993.         XexFile         te2.xex
  2994.           Type:  path name
  2995.           Notes: Specifies the name and location for the default
  2996.                  external programs file.
  2997.  
  2998.         SnapShot        te2snap.sht
  2999.           Type:  path name
  3000.           Notes: This specifies the name of the snapshot file (see
  3001.                  "Alt-S SnapShot" above).
  3002.  
  3003.         LogPath         NULL
  3004.           Type:  path name
  3005.           Notes: This is where TE/2 will place all log files (see
  3006.                  "Alt-L LogFile") unless you specify a name with
  3007.                  an explicit drive or path when prompted for a
  3008.                  log file name.
  3009.  
  3010.         ScriptPath      NULL
  3011.           Type:  path name
  3012.           Notes: This is the directory where all script files are
  3013.                  expected to be located.
  3014.                  This variable is not used in this version of
  3015.                  TE/2 but to ensure file compatibility with the
  3016.                  full version it is included here.
  3017.                  
  3018.  
  3019.         ShellCmd        cmd.exe NULL
  3020.           Type:  special
  3021.           Notes: This specifies the name of the program which is to
  3022.                  be executed when you use the Alt-O key (see "Alt-O
  3023.                  Shell to OS/2" above).  The program name should be
  3024.                  a complete path/spec and contain the file extension
  3025.                  (".exe", etc.).  If parameters are needed they may
  3026.                  be specified after one or more white space
  3027.                  characters (space or tab).  The parameter string
  3028.                  follows the rules for modem strings given above.
  3029.                  That is, space characters must be replaced with
  3030.                  underscores, et cetera.
  3031.                  Note that to execute a batch file (".cmd") you must
  3032.                  use the syntax:
  3033.                         ShellCmd  cmd.exe /c_cmdfilename
  3034.  
  3035.  
  3036.  
  3037.  
  3038.     What follows now is a list of all valid variables for the TE2.INI
  3039.   file given in alphabetical order.  For each variable is listed the
  3040.   variable type ("True/False", "Color Attribute", etc.) and the
  3041.   section where you may find the more complete description of the
  3042.   variable in the functional listing above.
  3043.  
  3044.  
  3045.  
  3046.   Initialization Variables - Alphabetical list
  3047.   ===========================================
  3048.  
  3049.  
  3050.         Variable        Type                    Section
  3051.         ========        ====                    =======
  3052.         AlarmPopUp      True/False              Terminal Settings
  3053.         AlarmTime       Numeric                 Terminal Settings
  3054.         AlarmType       Enumeration             Terminal Settings
  3055.         AsciiUL         Special                 Transfer Protocols
  3056.         AutoDirSave     True/False              Dialer and Dialing Directory
  3057.         AutoLF3101      True/False              Emulation Settings
  3058.         AutoNL3101      True/False              Emulation Settings
  3059.         AutoZM          True/False              Transfer Protocols
  3060.         Baud            Enumeration             Comm Port Settings
  3061.         BreakLen        Numeric                 Comm Port Settings
  3062.         CallLog         Path String             Misc File and Path Specs
  3063.         ChatAttr        Color Attribute         Color Attributes
  3064.         ChatBuffered    True/False              Terminal Settings
  3065.         ChatRemoteAttr  Color Attribute         Color Attributes
  3066.         ChatTitleAttr   Color Attribute         Color Attributes
  3067.         ClobberDL       Enumeration             Transfer Protocols
  3068.         ClsReset        True/False              Terminal Settings
  3069.         CmdInputAttr    Color Attribute         Color Attributes
  3070.         CmdInputHiAttr  Color Attribute         Color Attributes
  3071.         CmdPromptAttr   Color Attribute         Color Attributes
  3072.         ColorLock       True/False              Terminal Settings
  3073.         Connect         Modem String/Special    Modem Settings
  3074.         CtsRts          Enumeration             Comm Port Settings
  3075.         DirFile         Path String             Misc File and Path Specs
  3076.         DLPrtyClass     Special                 Transfer Protocols
  3077.         DLogDaAttr      Color Attribute         Color Attributes
  3078.         DLogEdAttr      Color Attribute         Color Attributes
  3079.         DLogEdHiAttr    Color Attribute         Color Attributes
  3080.         DLogHiAttr      Color Attribute         Color Attributes
  3081.         DLogNormAttr    Color Attribute         Color Attributes
  3082.         Device          String                  Comm Port Settings
  3083.         DialHiAttr      Color Attribute         Color Attributes
  3084.         DialNormAttr    Color Attribute         Color Attributes
  3085.         DialerTimeOut   Numeric                 Dialer and Dialing Directory
  3086.         DialerSendInit  True/False              Modem Settings
  3087.         DownloadPath    Path String             Transfer Protocols
  3088.         DtrHangUp       True/False              Modem Settings
  3089.         Emulate         Enumeration             Emulation Settings
  3090.         EndChar3101     Enumeration             Emulation Settings
  3091.         EnqReply        Modem String            Modem Settings
  3092.         ErrorAttr       Color Attribute         Color Attributes
  3093.         ExtendedFIFO    True/False              Comm Port Settings
  3094.         FnkFile         Path String             Misc File and Path Specs
  3095.         LFafterCR       True/False              Terminal Settings
  3096.         LocalEcho       True/False              Terminal Settings
  3097.         LogPath         Path String             Misc File and Path Specs
  3098.         LogoAttr        Color Attribute         Color Attributes
  3099.         LogoDelay       Numeric                 Terminal Settings
  3100.         MatchBaud       True/False              Terminal Settings
  3101.         MenuActive      True/False              Terminal Settings
  3102.         MenuHiAttr      Color Attribute         Color Attributes
  3103.         MenuNormAttr    Color Attribute         Color Attributes
  3104.         ModemAnsStrg    Modem String            Modem Settings
  3105.         ModemDelayChar  Special                 Modem Settings
  3106.         ModemDialStrg   Modem String            Modem Settings
  3107.         ModemDialSufx   Modem String            Modem Settings
  3108.         ModemHangStrg   Modem String            Modem Settings
  3109.         ModemInitStrg   Modem String            Modem Settings
  3110.         ModemOKStrg     Modem String            Modem Settings
  3111.         NoConnect       Modem String/Special    Modem Settings
  3112.         Parity          Enumeration             Comm Port Settings
  3113.         Port            Enumeration             Comm Port Settings
  3114.         QueryHangUp     Enumeration             Terminal Settings
  3115.         QueryZMRecover  True/False              Transfer Protocols
  3116.         RedialDelay     Numeric                 Dialer and Dialing Directory
  3117.         ScreenLines     Numeric                 Terminal Settings
  3118.         ScriptPath      Path String             Misc File and Path Specs
  3119.         ScrlBackAttr    Color Attribute         Color Attributes
  3120.         ScrlBackFdAttr  Color Attribute         Color Attributes
  3121.         ScrlBackMkAttr  Color Attribute         Color Attributes
  3122.         ScrlBackTiAttr  Color Attribute         Color Attributes
  3123.         Scroll3101      True/False              Emulation Settings
  3124.         ScrollBack      Numeric                 Terminal Settings
  3125.         ShadowAttr      Color Attribute         Color Attributes
  3126.         ShellCmd        Path String/Special     Misc File and Path Specs
  3127.         SnapShot        Path String             Misc File and Path Specs
  3128.         SnapShotAttr    Color Attribute         Color Attributes
  3129.         StopBits        Enumeration             Comm Port Settings
  3130.         SwapBS4Del      True/False              Terminal Settings
  3131.         TermAttr        Color Attribute         Color Attributes
  3132.         ULPrtyClass     Special                 Transfer Protocols
  3133.         UploadPath      Path String             Transfer Protocols
  3134.         VT100Backspace  True/False              Emulation Settings
  3135.         VT100Prn        Path String             Emulation Settings
  3136.         WordLen         Enumeration             Comm Port Settings
  3137.         XexFile         Path String             Misc File and Path Specs
  3138.         XonXoff         Enumeration             Comm Port Settings
  3139.  
  3140.  
  3141.       B. TE/2 Command Line
  3142.  
  3143.     There are several command line parameters which you may specify
  3144.   for TE/2.  In most cases, these parameters specify values which
  3145.   are also definable in the TE2.INI file.  In these cases, the
  3146.   command line parameter will override the value set in the
  3147.   initialization file.
  3148.  
  3149.     Each command line parameters must begin with a slash ("/") or a
  3150.   dash ("-") followed by a one letter "switch".  Each switch itself
  3151.   (except "-v") takes a parameter which must follow directly with no
  3152.   intervening whitespace.  You may use either upper or lower case
  3153.   letters for the switches.
  3154.  
  3155.       -b<baud>       - startup baud rate
  3156.       -c<comport>    - comport (1 thru 8) to use
  3157.       -f<filename>   - name of alternate TE2.INI file, this may
  3158.                         be any valid OS/2 file name with or
  3159.                         without a path.  If this parameter is
  3160.                         present the specified file will be read
  3161.                         instead of TE2.INI.
  3162.       -h<handle>     - open comm device handle.  Use this if
  3163.                         you are executing TE/2 as a child of a
  3164.                         process which already has the comm port
  3165.                         open.
  3166.       -m<scriptfile> - startup script file.  Note, this switch
  3167.                         is not used in the current version of
  3168.                         TE/2 but for compatibility with the
  3169.                         full version, it will not cause a syntax
  3170.                         error if it is present.
  3171.       -p<parity>     - startup parity (N, O, E, M, or S)
  3172.       -s<stopbits>   - startup stopbits (1, 1.5, or 2)
  3173.       -w<wordlen>    - startup word length (7 or 8)
  3174.       -v             - print copyright, version, and date information
  3175.                         and immediately exit (TE/2 is not run).
  3176.  
  3177.  
  3178.  
  3179.       C. TE2Color Program
  3180.  
  3181.     If you browsed the section titled "Color Attribute variables"
  3182.   and/or looked through the various variables for color settings
  3183.   you have undoubtedly noticed that the process of customizing
  3184.   TE/2's colors "by hand" is tedious as best, completely
  3185.   incomprehensible at worst.  For this reason, we've supplied a
  3186.   program to help you in customizing your color setup.  The name
  3187.   of the program is TE2COLOR.EXE.  When you installed TE/2, if you
  3188.   followed the recommendations, this program will be in the same
  3189.   directory as TE2.EXE.  If not, we strongly urge you to place it
  3190.   there before proceeding.
  3191.  
  3192.     TE2COLOR.EXE may be executed from within TE/2 by pressing
  3193.   Alt-Y.  The name of the TE/2 initialization file (TE2.INI unless
  3194.   you changed it using the "-f" command line parameter) will be
  3195.   automatically passed to TE2COLOR.EXE which will read the file for
  3196.   color settings and, if you elect to save your changes, it will
  3197.   write the changes to that file.  Upon returning to TE/2, the file
  3198.   is read for the color settings once again and your changes will
  3199.   immediately take effect.
  3200.  
  3201.     TE2COLOR.EXE may be executed from the OS/2 prompt if you so
  3202.   desire.  You would need to do this, for instance, if you have
  3203.   removed your color settings from the main file into an included
  3204.   file (see notes on the "INCLUDE" keyword) or if you need to
  3205.   adjust an initialization file other than that currently in use
  3206.   by TE/2.  To execute TE2COLOR.EXE from the command prompt, you
  3207.   must type "TE2COLOR filename" where "filename" is the name of
  3208.   the TE/2 initialization file to read and possibly alter.  No
  3209.   extended searches are made for this file so if it requires a
  3210.   path or drive specifier you must explicitly include that into the
  3211.   file name.
  3212.  
  3213.  
  3214.  ┌────[ ENTER=Select ]───┐ ┌────────────────────────────────────────────────┐
  3215.  │ Terminal Screen       │ │Command Prompt: Highlight Normal                │
  3216.  │ Menu Text             │ │Terminal screen        ┌─────────────────────┐  │
  3217.  │ Menu Highlight        │ │                       │   Dialing Directory │  │
  3218.  │ Logo                  │ │     ┌─────────────────┴────┐                │  │
  3219.  │ Dialog Text           │ │     │        Dialog        │  Highlight     │  │
  3220.  │ Dialog Highlight      │ │     │                      │                │  │
  3221.  │ Dialog Disabled       │ │     │       Highlight      │                │  │
  3222.  │ Dialer Text           │ │     │       Disabled       ├────────────────┘  │
  3223.  │ Dialer Highlight      │ │     │                      │                   │
  3224.  │ Input Text            │ │     │   Input Hi Normal    │                   │
  3225.  │ Input Highlight       │ │     │                  ┌───┴───────────────┐   │
  3226.  │ Errors                │ │     │                  │       Errors      │   │
  3227.  │ Shadows               │ │     │                  └───┬───────────────┘   │
  3228.  │ Command Prompt        │ │     └──────────────────────┘                   │
  3229.  │ Cmd Input Text        │ │          Shadow                                │
  3230.  │ Cmd Input Highlight   │ │ ─────────────────────────────────────────────  │
  3231.  │ Scrollback Title      │ │      MenuText                    -- Logo --    │
  3232.  │ Scrollback Text       │ ├───────────────────────┬────────────────────────┤
  3233.  │ Scrollback Marked     │ │ Scrollback Title      │ Chat Title             │
  3234.  │ Scrollback Found      │ │ Normal Text           │ Remote Text            │
  3235.  │ Chat Title            │ │ Marked Text           │ Chat Title             │
  3236.  │ Chat Remote Text      │ │ Found Text            │ Local Text             │
  3237.  │ Chat Local Text       │ │                       │                        │
  3238.  └─[ F1=Help  ESC=Exit ]─┘ └───────────────────────┴────────────────────────┘
  3239.  
  3240.                               Figure JJ.
  3241.                       TE2COLOR.EXE Main Display
  3242.  
  3243.  
  3244.     While you are running TE2COLOR.EXE you will see a display similar to
  3245.   the one shown in Figure JJ.  The section on the left of the screen is
  3246.   a menu of items for which the color may be redefined.  On the right of
  3247.   the screen is a composite example of the various program items shown
  3248.   with their current color settings.  When you select an item from the
  3249.   menu, that section of the screen changes to become a color grid which
  3250.   you may select from; the left and right arrow keys select the foreground
  3251.   and the up and down arrows select the background.
  3252.  
  3253.     When you press ESCape to exit TE2COLOR.EXE you will be given a choice
  3254.   of whether or not to save your changes in the initialization file.
  3255.  
  3256.     Note that TE2COLOR.EXE will save a backup of the original file with
  3257.   the extension .IN1 which contains the original file as it existed just
  3258.   prior to the most recent editing session.
  3259.  
  3260.  
  3261.  
  3262.       D. Starting TE/2 from Presentation Manager
  3263.  
  3264.     Because of the divergent methods of adding a program to the OS/2
  3265.   DeskTop between the various versions of OS/2 you are directed to
  3266.   your OS/2 documentation for a full discussion exactly how to do
  3267.   this on your computer with your version of OS/2.  We should make
  3268.   some notes here however.
  3269.  
  3270.     o  TE/2 should be installed as either a Full Screen application
  3271.        or as a Windowed Application.  It CANNOT (and should not) be
  3272.        installed as a Presentation Manager Application.  You will
  3273.        find that you get the best response from TE/2 if you run it
  3274.        in Full Screen mode however.
  3275.  
  3276.     o  To install the icon simply rename the appropriate file TE2.ICO
  3277.        and place it in the same directory with TE2.EXE.  If you have
  3278.        the wrong icon file the Presentation Manager will refuse to
  3279.        run TE/2 (with a message about possibly not having enough
  3280.        memory to run the program).  If this happens, use the other
  3281.        icon file.
  3282.  
  3283.     o  After this you should be able to execute TE/2 by clicking on
  3284.        its name in the Start Programs or Group menu.  If you start
  3285.        TE/2 from the File Manager (again, by clicking on its name
  3286.        or icon), TE/2 will startup in Windowed mode.
  3287.  
  3288.  
  3289.  
  3290.  
  3291.       E. TE2.XEX
  3292.  
  3293.     There can be any number on entries in the user programs file,
  3294.   only the first eight are used however. The default file name is
  3295.   "te2.xex".  Each entry uses four lines and is of the form:
  3296.  
  3297.         procflags[,execflags]
  3298.         Program Title
  3299.         Executable File Name
  3300.         Parameters
  3301.  
  3302.   procflags are:
  3303.         one of:
  3304.                 DosExecPgm      = 0x0001
  3305.                 DosStartSession = 0x0002
  3306.         ORed with one of:
  3307.                 FOREGROUND      = 0x0010
  3308.                 BACKGROUND      = 0x0020
  3309.         ORed with:
  3310.                 CHILDSESSION    = 0x0100
  3311.  
  3312.   execflags is zero if absent else it may be one or more of:
  3313.                 SaveScreen      = 0x0001
  3314.                 Pause on return = 0x0002
  3315.  
  3316.     "CHILDSESSION" is only valid with DosStartSession, it is ignored
  3317.   otherwise. execflags are only valid with a FOREGROUND, DosExecPgm
  3318.   entry, they are ignored otherwise.
  3319.     procflags and execflags may be expressed in decimal, octal, or hex.
  3320.   Use standard 'C' syntax, i.e., 27 == 033 == 0x001b == 27 decimal.
  3321.   Number bases can be intermixed from number to number.
  3322.  
  3323.     "Program Title" should not be more than 32 characters long; TE/2 
  3324.   does not check the length.  This is the title that will appear on TE/2
  3325.   User Programs menu and, if the entry is a Session type entry, it will
  3326.   also appear on the Task Manager list and the sessions window if it
  3327.   has one.
  3328.  
  3329.     "Executable File Name" is just that.  It must have an extension 
  3330.   (.exe or .com) and it may have an explicit drive/path.  If it does not 
  3331.   have an explicit drive/path, the PATH environment variable will be 
  3332.   searched for the executable.  Batch files (.cmd) may not be executed 
  3333.   directly.  To execute a batch file, specify CMD.EXE as the executable 
  3334.   file name and "/c batchfilename" in the parameters field.  For session 
  3335.   type entries, OS/2 will decided, based on the exefile header, whether 
  3336.   to run the session full screen, in a vio window, or as a PM app.
  3337.  
  3338.     "Parameters" specifies the command line to send to the executed
  3339.   program.  There are a number of special variables that may be
  3340.   embedded anywhere in the command line allowing you to use some of
  3341.   TE/2's internal values and/or user inputs. A summary follows. Note
  3342.   that the characters used here ARE case sensitive.
  3343.  
  3344.         %h == open comport handle
  3345.         %c == open comport name
  3346.         %n == open comport number
  3347.         %b == current baud
  3348.         %p == current parity
  3349.         %w == current word length
  3350.         %s == current number of stop bits
  3351.         %L == latest logfile name
  3352.         %D == latest downloaded file name
  3353.         %U == latest uploaded file name
  3354.         %? == user input string
  3355.               Optional syntaxes:
  3356.                 %?[s1]    uses "s1" as prompt for input, no default value
  3357.                 %?[s1%s2] uses "s1" as prompt for input,
  3358.                           "s2" as default value
  3359.                 %?[%s1]   uses the default prompt, "s1" as default value
  3360.         %% == percent sign
  3361.         anything else following '%' is itself
  3362.  
  3363.   Example Entries:
  3364.  
  3365.         0x0011,1
  3366.         External Download Protocol
  3367.         xdl.exe
  3368.         -H%h -B%b -r %?[Enter download filename:]
  3369.  
  3370.     The above example will present the user with a dialog box which
  3371.   will prompt "Enter download filename:" and allow entry of a string of
  3372.   up to 126 characters.  OS/2 will search the PATH for xdl.exe and,
  3373.   assuming that the port handle is 7, baud rate is 9600, and the user
  3374.   entered "foo.zip" in response to the dialog, xdl.exe will receive the
  3375.   command line "-H7 -B9600 -r foo.zip".  Xdl.exe will be executed as a
  3376.   child process of TE/2 in the foreground, TE/2's screen will be saved
  3377.   before and restored after xdl's execution.
  3378.  
  3379.         0x0121
  3380.         Format Disk(s)
  3381.         c:/os2/bin/format.exe
  3382.         %?[Format parameters:%a: /4]
  3383.  
  3384.     The above example will again present the user with a dialog box
  3385.   which will prompt "Format parameters:" and allow entry of a string of
  3386.   up to 126 characters.  The default value of the input will be "a: /4"
  3387.   which may be accepted with a carriage return, edited, or replaced.
  3388.   c:/os2/bin/format.exe will be executed (if it exists) in its own
  3389.   session - either full screen or in a VIO window depending on whether
  3390.   you've marked format.exe as windowcompat.  The session will come up
  3391.   in the foreground but you may switch back to TE/2 by normal means at
  3392.   any time.  The session is a child session of TE/2 however, you will
  3393.   be returned to TE/2 when the session closes.
  3394.  
  3395.   The supplied TE2.XEX file contains eight more examples.
  3396.  
  3397.     NOTE: You may have multiple external program files.  Type 'N' while
  3398.   the External Program menu is up and you will be prompted for a new
  3399.   file.  This directive does NOT appear on the menu yet, you just have
  3400.   to know about it.
  3401.  
  3402.     CAUTION: Don't execute a FOREGROUND, DosExecPgm type process when
  3403.   you have massive amounts of incoming data at the comm port!  The comm
  3404.   and kbd handlers are disabled during the exec call; the call will
  3405.   return immediately from any background and/or session process but not
  3406.   from a foreground exec.  This could result in buffer overflows and
  3407.   loss of data.
  3408.  
  3409.  
  3410.  
  3411.       F. TE2.FNK
  3412.  
  3413.     You can define strings for the forty-eight function keys (F1-F12,
  3414.   shifted, control, and alt) via ALT-K. By default, these are read from
  3415.   the file TE2.FNK but key definitions may be saved to and read from
  3416.   other file names as well.
  3417.  
  3418.     Some special characters are recognized in these strings: '^' as a
  3419.   control code prefix (i.e., "^M" for carriage return, "^[" for ESCape,
  3420.   use "^!" to send the literal "^" character), and '~' to indicate a 1/2
  3421.   second pause when transmitting the string.
  3422.  
  3423.     Please refer to the notes in the section above which discusses
  3424.   redefining function keys via the Alt-K menu as it relates to the
  3425.   usage certain function keys by the VT100 and IBM 3101 emulations.
  3426.  
  3427.  
  3428.       G. TE2INP.XLT and TE2OUT.XLT
  3429.  
  3430.     TE/2 uses these two file to translate character by character
  3431.   bytes received and bytes transmitted respectively.  Each of these
  3432.   files is 256 bytes long and contains, for each of the 256 possible
  3433.   ASCII characters the ASCII character for the translation.  As
  3434.   supplied, these files will simply translate each character to
  3435.   itself.  The registered version of TE/2 includes an editor for
  3436.   manipulating these files.  Alternately, you may alter these files
  3437.   with a byte-oriented editor or rewrite them completely with a
  3438.   small program written in a high level language.
  3439.  
  3440.     If you do change these files, care should be taken in your choice
  3441.   of translations; especially concerning the translation of control
  3442.   characters (like carriage return or linefeed!) and with any
  3443.   character which may be used in an ANSI or 3101 command sequence by
  3444.   the terminal emulator (i.e., if you translate "m" then the ANSI
  3445.   "ESC [ 0 m" sequence to reset the color attribute will cease to
  3446.   function properly!).  There is one exception to this warning:
  3447.   The left square-bracket character, "[", used in nearly all ANSI and
  3448.   VT100 control sequences MAY be changed without worry.  TE/2 will
  3449.   pay special heed to the positioning of this character and will
  3450.   not translate it if it appears to be part of an ANSI or VT100
  3451.   control sequence.
  3452.  
  3453.     Any character translated to zero in TE2INP.XLT will effectively
  3454.   block that character from display or any other further translation
  3455.   by TE/2 or the terminal emulation packages.  Because it is possible
  3456.   to transmit an ASCII zero (via Control-@ or other methods), this
  3457.   situation does not occur in TE2OUT.XLT.
  3458.  
  3459.  
  3460.   -------------------------------------------------------------
  3461.  
  3462.  
  3463. IX. Registering TE/2
  3464.  
  3465.  
  3466.   A. Why Register?
  3467.  
  3468.     If you find that you like TE/2 and desire to continue using it,
  3469.   you should become a registered user.  Registration confers on you
  3470.   a number of benefits:
  3471.  
  3472.     o  You will receive the full featured version of TE/2 which
  3473.        contains TE/2's very powerful script language.  You can use
  3474.        TE/2 scripts for automating logon procedures to all of the
  3475.        bulletin boards and services you routinely call.  You can
  3476.        program a TE/2 host mode through the script language creating
  3477.        a mini-BBS.  TE/2's script language is actually robust
  3478.        enough that you may be tempted to do any number of programming
  3479.        chores that you would normally need a 'real language' to do.
  3480.        A very complete documentation file for the TE/2 script
  3481.        language is included with this package and you are urged to
  3482.        read it through.  We'll just point out a couple of major
  3483.        features here:
  3484.  
  3485.        -  A full range of conditional and control statements:
  3486.           IF-ELSE-ENDIF blocks with ELSEIF, DO WHILE, DO UNTIL,
  3487.           BREAK and CONTINUE statements.  True subroutines.
  3488.  
  3489.        -  User definable dynamic string and 32 bit integer variables,
  3490.           as many as you'll need.  Variables may be local to the
  3491.           script file or global and shared between script files.
  3492.  
  3493.        -  Complete set of file handling functions for opening,
  3494.           closing, reading, writing any number of files.
  3495.  
  3496.        -  Asynchronous event watches that can launch another script
  3497.           or just toggle a variable.
  3498.  
  3499.        -  Low and high level interface into nearly all of TE/2's
  3500.           functionality.
  3501.  
  3502.        -  A command line interface for executing single statements.
  3503.  
  3504.  
  3505.     o  You will also have the option of writing your TE/2 scripts
  3506.        in the REXX/2 Procedure Language if you are running under a
  3507.        version which includes REXX.  All built-in functions available
  3508.        to the built-in script language are also available to the
  3509.        REXX script plus you have access to all of the built-in OS/2
  3510.        system functions which you normally use with REXX command files.
  3511.  
  3512.  
  3513.     o  The registered version of TE/2 contains the CompuServe B+
  3514.        protocol and an enhanced ZModem which includes the ability to
  3515.        fine tune several internal ZModem settings and the ability to
  3516.        resume aborted downloads.
  3517.  
  3518.  
  3519.     o  You will also receive full printed documentation for TE/2.
  3520.  
  3521.  
  3522.     o  You are automatically registered for the next version of TE/2
  3523.        when it becomes available.  You will be notified of all new
  3524.        releases thereafter as they happen.
  3525.  
  3526.  
  3527.     o  Registered users will receive priority service on technical
  3528.        assistance through the Oberon Software User Support BBS. 
  3529.        Anyone and everyone may call the BBS with questions however.
  3530.  
  3531.  
  3532.     o  Plus, you get the piece of mind to know that you have helped
  3533.        support the shareware concept which is dedicated to bringing
  3534.        quality software at low prices to as many people as possible.
  3535.        Shareware authors devote many, many hours of their time
  3536.        creating their products.  If people register the shareware
  3537.        programs they use, this will send a message to those talented
  3538.        programmers that a noble cause can be a viable way of life!
  3539.  
  3540.  
  3541.   B. How to Register
  3542.  
  3543.     Refer to the accompanying file ORDER.FRM for a sample order form.
  3544.   Pricing information is contained in that file also.  If, for any
  3545.   reason, that file is unavailable to you, please write or call:
  3546.  
  3547.                         Oberon Software
  3548.                         518 Blue Earth St.
  3549.                         Mankato, MN  56001
  3550.                         507-388-7001 (voice)
  3551.                         507-388-7568 (fax)
  3552.  
  3553.     Please contact Oberon Software for information regarding quantity
  3554.   discounts, academic discounts, sysop pricing, or other special offers.
  3555.  
  3556.     For use by corporations and other institutions, please  contact
  3557.   the Oberon Software for a licensing arrangement.
  3558.  
  3559.   -------------------------------------------------------------
  3560.  
  3561.  
  3562. X.  Disclaimer
  3563.  
  3564.     Every care has been taken so that TE/2 will perform as outlined in
  3565.   this document and that it is as error free as the author can make it.
  3566.   We should be aware however that no piece of software is ever totally
  3567.   bug free.
  3568.  
  3569.     Use of this software for any purpose whatsoever constitutes your
  3570.   unqualified acceptance of the following statements.
  3571.  
  3572.     The author makes no warranty or representation that the software will
  3573.   be error free.  The author disclaims any warranties, either express or
  3574.   implied, including but not limited to any implied warranty of
  3575.   merchantability or fitness for any particular purpose.
  3576.  
  3577.     The user agrees to take full responsibility for the selection of and
  3578.   any use whatsoever made of the software.
  3579.  
  3580.  
  3581.       IN NO EVENT WILL THE AUTHOR BE LIABLE FOR ANY DAMAGES WHATSOEVER
  3582.     (INCLUDING WITHOUT LIMITATION DAMAGES FOR LOSS OF BUSINESS PROFITS,
  3583.     BUSINESS INTERRUPTION, LOSS OF BUSINESS INFORMATION OR THE LIKE)
  3584.     ARISING OUT OF THE USE OF, INTERRUPTION IN THE USE OF, OR INABILITY
  3585.     TO USE THIS SOFTWARE, EVEN IF THE AUTHOR HAS BEEN ADVISED OF ANY
  3586.     POSSIBILITY OR LIKELIHOOD OF SUCH DAMAGES.
  3587.  
  3588.  
  3589.       ________________________________________________________________
  3590.  
  3591.  
  3592.     "IBM", "IBM PC/AT", "PS/2", "IBM OS/2" are all registered trademarks
  3593.   of and copyright by International Business Machines.
  3594.     "Microsoft", "Microsoft Windows", "MS OS/2" are all registered
  3595.   trademarks of and copyright by the Microsoft Corporation.
  3596.     "Procomm" is a registered trademark of DataStorm Technologies.
  3597.     "VT100" and "VT220" are registered trademarks of Digital Equipment
  3598.   Corporation.
  3599.     "Hayes" is a registered trademark of Hayes Microcomputer
  3600.   Products.
  3601.     "GEnie" is a registered trademark of the General Electric
  3602.   Corporation.
  3603.     "MCI Mail" is a registered trademark of MCI Communications
  3604.   Corporation.
  3605.     "CompuServe" is a registered trademark of CompuServe Information
  3606.   Service.
  3607.     "Doorway" is a registered trademark of Marshall Dudley dba Doorway.
  3608.     "OS2You" is a product of M Wahlgren Software Development, Gothenburg,
  3609.   Sweden.
  3610.  
  3611.       ________________________________________________________________
  3612.  
  3613.  
  3614.                          Oberon Software
  3615.                          518 Blue Earth Street
  3616.                          Mankato  MN 56001-2142
  3617.  
  3618.                          Voice phone: 507/388-7001
  3619.                          Bulletin Board: 507/388-1154
  3620.                          FAX: 507/388-7568
  3621.                          MCI Mail address: oberon/413-5847
  3622.                          GEnie Mail address: B.FLOWERS
  3623.                          CompuServe ID: 72510,3500
  3624.                          FidoNet Address: 1:292/60
  3625.  
  3626.