









		       The Alternate Source
		    Terminal Emulation System
			      (TES)






		     Written by: Dennis Allen
		 Documentation by:  Oscar Swartz



      Program and documentation are Copyright ^ 1985, 1986 
			       by 
  The Alternate Source Information Outlet.  All rights reserved.








		   World-wide Distribution by:

	     The Alternate Source Information Outlet
		  704 North Pennsylvania Avenue
		  Lansing, Michigan, 48906, USA
		      Phone:  (517) 482-8270
		      MCI Mail ID:  109-7407
			TELEX:  6501097407
		   Answerback:  6501097407 MCI
		 Compuserve EasyPlex:  72167,161
		       Delphi Mail:  TASIO
P
65$			      Page 1



			TABLE OF CONTENTS



Preface ..................................................... 2

File Descriptions ........................................... 3

Getting Started ............................................. 4

Notice to Model 4 Users.....................................  5

TESED -- The Data Base Editor ............................... 6

TESED -- Form Processing Commands ........................... 8

TES Data Base Record Forms ................................. 12

TESPR/CMD .................................................. 17

TES Filters ................................................ 18

Invoking and Removing the TES Filters -- Summary ........... 22

Terminals Supported by TES ................................. 24
P
			     Preface


Now any TRS-80 Model 4(P)(D) owner can configure his or her
machine to emulate over 100 asynchronous terminals.  The
Alternate Source Terminal Emulation System (TES) was designed to
work with the most popular communication packages available for
the Model 4(P)(D).

Although considerable effort was expended to make The Alternate
Source Terminal Emulation System as complete as possible, not
all asynchronous terminals can be emulated.  The TES editor is
included with this package, however, so that configurations can
be easily added or altered.

An online help file is included with this package.  If the 
file TESED/HLP can be online with the TES editor (TESED), 
simply press <CLEAR> H (either upper or lower case).  Help 
messages will be displayed.  It is recommended that you have 
the hardcopy manual available for your first few uses, however.

Peruse the contents of this reference manual to familiarize
yourself with TES information.  You should also familiarize
yourself with the COMM package included with TRSDOS 6, or better
yet, puchase a better communication package.  Modem80 for Model
4 ($79.95) is available from the Alternate Source, as are a 
number of public domain programs.

All filters in the TES package are linked either to the display
output (*DO) or keyboard input (*KI) devices.  Any communication
package must, therefore, respect the standard device control
blocks for these devices.  LAZYCOMM, for instance, won't work
because it communicates directly with video RAM.

If you have any questions concerning this application, feel 
free to call or write.  Be prepared, however, to give your TAS 
registration number.

If you have a terminal configuration that is not included in 
the database and would like to see it added, please contact TAS.

Source code for this product is available.  For customer service
and additional product information, please inquire:

	     The Alternate Source Information Outlet
		  704 North Pennsylvania Avenue
		  Lansing, Michigan, 48906, USA
		      Phone:  (517) 482-8270
		      MCI Mail ID:  109-7407
			TELEX:  6501097407
		   Answerback:  6501097407 MCI
		 Compuserve EasyPlex:  72167,161
		       Delphi Mail:  TASIO
P
		    *** File Descriptions ***

As with any software, the first thing you should do is to make a
backup copy of your disk IMMEDIATELY.  There are many ways to
backup your disk, so check your DOS owner's manual for details.
None of the TES files are protected in any way.  The TES master
diskettes are single sided, 40-track, double density TRSDOS 6
data diskettes.  You will need a copy of the TRSDOS 6 operating
system in drive zero.  The following files should be on your TES
master diskettes.  We have grouped them into three logical
groups, and will explain each group.

GROUP 1:  The first group is for selecting, editing or adding
the terminal you wish to emulate:

TES		TES2		TES3		TES4

TESED/CMD	TESED/HLP	TESED/SYS
TESPR/CMD	TESPR/SYS 

BASRUN/CMD


GROUP 2:  The following two files must be present during both
the selecting process and the actual execution of the filters
described below:

TESDO/DAT
TESKI/DAT


GROUP 3:  The following files must be present during the actual
process of emulating a terminal.  The first two are required for
emulating ANY terminal; the second ten are required only for
specific terminals:

TESDO/FLT	TESDO/JCL
TESKI/FLT	TESKI/JCL


CRLF/FLT	CRLF/JCL
INV/FLT		INV/JCL
PRT/FLT		PRT/JCL
SCROLL/FLT	SCROLL/JCL
TAB/FLT		TAB/JCL


DSP/CMD		MOK/CMD

Later, you will observe that there are four screens describing 
each set of terminal emulation codes.  These codes are stored 
in the files TES, TES2, TES3 and TES4.

TESED/CMD is the editor which enables you to change any 
existing codes or add new codes.  TESED/SYS simply contains 
information that TESED/CMD will need; it should be kept online
if the editor is being used.  Later you will learn how to use
TESED/SYS to enable you to have more than one terminal
predefined.  Changing the type of terminal to be emulated is as
simple as changing the /SYS filename.
  
TESED/HLP is a help file that is accessed from within TESED/CMD
by pressing the <CLEAR> key, holding it down and pressing the H
key.  The portion of the help file that is displayed will depend
on which screen of data you are looking at.

TESPR/CMD may be used to print hardcopy of all terminal
configurations.  TESPR/SYS contains information necessary for
TESPR/CMD and must be online if you plan to use TESPR/CMD.

BASRUN/CMD must be online and accessible when running either 
TESED or TESPR.

There are seven filter programs that control what characters are
sent to the video display, and what characters can be entered
from the keyboard.  These capabilities vary depending on which
terminal is being emulated.  Each filter has a /FLT extension 
and is discussed in detail later.  Each filter has a /JCL file 
for easy installation and removal of that filter.

Be aware that the more filters installed on the display output 
and keyboard input devices, the slower throughput will 
become.  If speed becomes prohibitive, consider purchasing a 
speed-up modification for your Model 4.

Notice that TESDO and TESKI have a corresponding filter file, a
/JCL file and a /DAT file.  The /DAT files are necessary when
using TESED to select which terminal is to be emulated.  TESED
writes the protocol for the terminal you select into these /DAT
files.  The /DAT files are then used when executing TESDO/FLT
and TESKI/FLT.

MOK/CMD is a special program designed to reclaim memory used by
any filter no longer desired and return the devices *DO and *KI
to their original status, as when powering up TRSDOS 6.  This 
program is generic in form and may used with filters other 
than those included with TES.

DSP/CMD is used to display any ASCII character from the TRSDOS
READY prompt.  DSP can be used to turn on and off the invisible
and print filters, described later.
P
** NOTICE TO MODEL 4 USERS

The programs TESED and TESPR were compiled using Microsoft's
BASCOM.  BASCOM has a facility that handles two types of errors.
The first type is syntax.  String overflow is an example of a
syntax error.  The second type is disk.  A disk error occurs
when you try to specify a non-existant file for input, or try to
write a file on a full or non-existant disk.

At present, Model 4 BASCOM's error handling is not working 
correctly.  So, to save memory, the Model 4 version of the 
system does not use error handling.  When a syntax or disk 
error occurs, you will return to DOS.

If you are returned to DOS, a disk error has probably occurred.
Check the spelling of any file names.  Make sure your input file
exists.  Then, start again by typing the program name and
pressing <ENTER>.

If you think the problem is syntax related, jot down any error
message.  Find out how long the program ran and exactly where
the error occurred.  Is there anything unusual about it?  If you
cannot determine the cause of the problem, contact the Alternate
Source.
P

			      TESED
		 *** The TES Data Base Editor ***

TESED may be used to create and edit records in the TES
database, to customize the Model 4 conversion protocol, to sort
the database by either manufacturer or by terminal and to change
/SYS configuration files.  Remove write protect tabs from your
working copy of TESED so the desired terminal can be activated.
Failing to do so could produce an 'Unprintable error'.

TESED is executed by typing:

TESED

from TRSDOS READY and pressing the <ENTER> key.  The following 
menu should be displayed:


07/07/86       TAS Terminal Emulating System 1.1         FORM: 3
			(C) Copyright 1985
	     by Dennis Allen and the Alternate Source
................................................................

                Saved Terminal: ALTOS II TERMINAL
                Number of Active Records: 130

            1) Add a Record             6) Sort by Manufacturer

            2) Edit by Record Number    7) Sort by Terminal

            3) Delete Last Record       8) Change Config File

            4) Save Current Record      9) Quit

            5) Edit Model 4 Record

                    Enter Selection, 1-9 :
................................................................


Option 1 will add a terminal configuration record to the
database.  Each record has four forms that must be completed.
After all forms for a record are completed, you are given
another blank record.  Use <CLEAR> C to abort the record forms
entry mode and return to the main menu.  A discussion of all
"forms processing" commands is in the following section.

Option 2 will edit the current record.  Press <F1> to page
through the individual forms.  If a record is not defined, the
current record is displayed.  Each of the four record forms 
will be described later.

Option 3 will remove the last record in the database.  Records
cannot be deleted from the TES database directly.  Records can
be removed, however, by first, marking the record you intend to
delete with all Z's.  Then sort the database.  Your record
should be last within the database.  Now press <Y> at the Option
3 prompt to reclaim the space used by the marked record.

The TES database has a maximum capacity of 300 records.  Should
you ever come close to reaching this capacity, you may want to
delete some of the more obscure terminal protocols from the
database.  This can be accomplished with the DELETE option, as
documented above.  Deleted records cannot be recovered, so make
sure you have a backup of the file in the event you would want
to recover a deleted record.

Option 4 will save the current record in memory to the TESDO/DAT
and TESKI/DAT data files.  The current record will be invoked
when the *DO and *KI filters are installed, as described later.
This is the command used to select which terminal protocol you
wish to be "active".

Option 5 will edit the Model 4 record.  Depending on the
need, this option allows the user to specify what is to be
translated or generated by the *DO and *KI filters.

Option 6 and option 7 allow the database to be sorted by
manufacturer and by terminal.  The sort is done on disk and
may take a moment.  To terminate the sort, press <BREAK>.

As packaged, the TES database is sorted by manufacturer
description first, then terminal description.  You may want to
sort the database by terminal first, then manufacturer.  This
sort is done on disk, and is permanent.  TESED/CMD doesn't care
which order the records are sorted in, so you may keep them
sorted for your convenience.  You will receive no other prompts
after selecting either of these options.  The sort will start
immediately.  Do NOT even consider pressing the reset button
while this sort is going on, unless you have a backup copy of
the program, otherwise certain records may be completely lost.

Option 8 will allow you to change /SYS configuration files.
Changing configuration files enables you to have several
pre-defined terminals online at one time.  Enter the new
configuration file name.  The original is file TESED/SYS.  Press
<F1>.  If not found, the program will abort and you will be
returned to DOS.  A complete description of every line of a 
/SYS file is described in Appendix A, as well has how to set 
up multiple file names.

Option 9 will exit the program, close all files and return the
user to the disk operating system.  You should always exit the
program by using this option.
			      TESED
		*** FORMS PROCESSING COMMANDS ***

TESED uses a system called FORMS PROCESSING to edit records.  In
order to become an expert "forms processor", there is a small
set of commands that can be quickly learned to move through the
current record and from the current record to other records.

The <CLEAR> key must be used in conjunction with the proper
forms processing key.

The first command to learn is the HELP command.  Press the
<CLEAR> key, hold it down and press the letter "H", either
shifted or unshifted.  This will display a menu with all the
forms processing commands on your screen.  The TESED/HLP file
MUST be online when you use the H command or you will get a
"file not found" error.

TRS-80 owners, if you want to send the information currently
being displayed on the screen to your printer, press

<CTRL> :

This will allow you to make "quick and dirty" printouts of
needed help screens or customer record information.

At any time, <CLEAR> A will ABORT the program and return you to
DOS IMMEDIATELY.  All records added prior to this will be OK,
but, if you are editing a record, that information may be lost.
Be careful when using <CLEAR> A!  You will normally only use
this when you need to look up information and want to get out of
the program quickly without making any changes.

All forms processing commands so far may be used either with the
main menu or when viewing a record.  The commands to follow are
only active when viewing a record.  They are NOT active when at
the main menu.

The next four commands are simply for positioning your cursor on
the screen while you are looking at a record.  You must use the
arrow keys to move the cursor forward or backward WITHIN a
field.  You must use shifted arrow keys to move the cursor
backward or forward BETWEEN fields.  These commands only work
when viewing a record.  They do NOT work from the main menu.

The shifted-arrow commands use "WRAP-AROUND".  This means 
that, if the cursor is sitting at the FIRST field in a 
record, and you press the shifted left-arrow, you will move 
to the LAST field in the record.  By the same token, if you 
are at the LAST field in a record, and you press the shifted 
right-arrow, you will move to the FIRST field in the record.  
You can use this to your advantage when editing records.

The <ENTER> key functions just like the shifted-right-arrow, 
that is, you are moved to the next field. 

* CAUTION * when using the cursor positioning commands.  The 
cursor is designed to allow an operator to move through fields
at maximum speed.  After holding down an arrow key for a small
amount of time (about a second), the key will start to repeat.
This will assist you with getting where you want either within
the current field, or to another field within the current
record.  If you hold a key down too long, it is possible that it
will move to the next field and overwrite the information there,
particularly if your machine supports type-ahead.  Experiment
with the touch necessary to accurately control the repeating
keys; this will increase your productivity when performing data
entry.

<CLEAR> R will REPEAT the previous value for a field and move to
the next input field.  For example, if you entered "1918" as the
data for this field in the previous record, and you want the
same value to be the in the current record, simply press <CLEAR>
R and the information will be repeated in the current record.

The function key <F1> is used for exiting the current data
record after you have entered all data for that record and
advancing you to the next logical record.  Do not press <F1>
until you have made all the changes you want to make.  If you
wish to completely abort the editing or addition process and
return to the main menu, you should press <CLEAR> C.

After you press <F1>, it is possible that several file will need
to be updated.  This can cause a several second delay when
updating the data files.

<CLEAR> N means that input is complete and you want to move to the
NEXT record.  If you have made changes to the current record
that required updating an index, or you are at the LAST record
in the data file, you will be returned to the main menu.

<CLEAR> F means that input is complete and you want to move to
the FIRST record in the data file.

<CLEAR> L means that input is complete and you want to move to
LAST record in the data file.

<CLEAR> P means that input is complete and you want to move to
the PREVIOUS record.  If you have made changes to the current
record that requires updating an index, or you are at the FIRST
record in the data file, you will be returned to the main menu.

When using the above commands to move through the file, TESED
will presume that you want to edit the records as you are
viewing them.  Every time you move from the current record to
the next, previous, first or last record, the current record
will be rewritten to disk.  You can prevent this from happening,
and scroll through the data base of names much faster by turning
off the UPDATE mode.  This is done using the <CLEAR> U command.
<CLEAR> U is a "toggle" command, that is, the first time you use
it, the update mode will be toggled to OFF, the next time you
use it, the update command will again be toggled to ON.  A
message is displayed in the lower right hand corner of the
screen when the update mode is ON.

The commands above are for moving between RECORDS.  If you want
to edit only a FIELD, there are specific forms processing
commands for doing so.

<CLEAR> B works just like the <LEFT><ARROW> key to BACKSPACE
through a field.

<CLEAR> D is used to delete the current cursor character.
Simply press the arrow keys to move the cursor to the offending
character and press <CLEAR> D to delete it.

<CLEAR> I is a toggle key, like the <CLEAR> U, above.  I stands
for "insert".  TESED is normally in an "overwrite" mode which
will overwrite the characters under the cursor with new
characters you type.  If you wish to insert characters, simply
type <CLEAR> I followed by the characters you wish to insert.
Type <CLEAR> I again to exit the insert mode.

<CLEAR> K is used to change the case (kase?) of the current
cursor character.  It is recommended that you keep your mailing
list in all upper case, otherwise the normal collating sequence
of the computer (A...Z...a...z) will place records in an
undesired order.  This key will make changing to upper case a
breeze.

<CLEAR> W will wipe (erase) the rest of the field, from the
cursor to the end of field.  If you are changing an address, and
the new address is shorter than the old, you won't need to space
to the end of the field in order to erase the remaining old
data.  Simply type <CLEAR> W.

A summarized listing of all forms processing commands is on 
the following page...
P


Here is a summary of the TESED forms processing commands:

<F1>            - input is complete, return to calling form

<--		- move cursor left
-->		- move cursor right

<SHIFT> -->	- move cursor to next input field
		  (<ENTER> also performs this function)
<SHIFT> <--	- move cursor to previous input field

<CLEAR> A	- ABORT program, return to DOS (CAREFUL!)
<CLEAR> B	- BACKSPACE cursor
<CLEAR> C	- abort form, return to CALLING form
<CLEAR> D 	- DELETE cursor character
<CLEAR> F	- input is complete, move to FIRST form
<CLEAR> H	- abort form and display the HELP file
<CLEAR> I 	- toggle INSERT mode
<CLEAR> K 	- reverse CASE of cursor character
<CLEAR> L	- input is complete, move to LAST form
<CLEAR> N	- input is complete, move to NEXT form
<CLEAR> P	- input is complete, move to PREVIOUS form
<CLEAR> R	- REPEAT previous saved field,
                  move to next input field
<CLEAR> U 	- toggle UPDATE mode on/off
<CLEAR> W 	- WIPE all characters from cursor
		  to end of field

<CTRL> :	- send screen to printer.

It is not necessary to remember these for right now.  They 
are accessible from any point within TESED simply by pressing 
the <CLEAR> key, holding it down, and pressing the h key (for 
HELP).  The entire list displayed above will be available for 
your perusal.
P

		    TES Data Base Record Forms

Before we describe the four types of forms that comprise every 
TES data base record, some technical details are necessary 
before you attempt to change or add records.

There are three types of character sets that may be generated by
most terminals:  variable length ASCII, binary, and verbatim.

A variable length ASCII set is recognized by a lead-in sequence
of characters and is not completed until an ending character is
received.  In a variable length ASCII set, numbers are received
in decimal ASCII form.  For example, an ASCII character set to
move the cursor to the 10th row and 50th column could be:

ASCII     ESC [  1  0  ;  5  0  H
HEX       1B  5B 31 30 3B 35 30 48

The 'ESC [' is the lead-in character set.  The 'H' is the ending
character.  The '10' minus an offet of 1 is row 9, the '50'
minus an offset of 1 is column 49.  The offsets are needed
because the Model 4 will consider a row between 0-23 and a
column between 0-79.

A binary character set is also recognized by a lead-in sequence
of characters.  In binary, however, the ending character is not
needed.  When invoked, it simply waits for the next one or two
characters to be received.  In a binary set, numbers are
received in character form.  For example, a binary character set
to move the cursor to the 10th row and 50th row could be:

ASCII     ESC =   )   Q
HEX       1B  3D  29  51

The 'ESC =' is the lead-in sequence.  The ')' minus an
offset of 20 is row 9 and 'Q' minus an offset is column 49.

A verbatim character set is just what the name implies.  There
is no lead-in sequence nor ending character.  If a set of
received characters match exactly with the specified character
set, the converted Model 4 set is either displayed or is
generated.

On the following TES data base record forms, placing data only
in the Data Statement field implies verbatim.  Data in the
lead-in field usually implies binary.  Data in the lead-in and
ending fields imply the variable length ASCII character set.  
Consult your terminal manual for explicit details for your 
terminal.

In all three character sets, however, there must be data in the
data statement field for an exact match.  If a binary or ASCII
character set is found, and there is no exact match, the
received character set is ignored.

There are only a couple of things to remember about editing a
configuration record:

1) Except for the first four fields, all fields are typed in
hexidecimal.  Usually, display terminal manuals have a page or
two listing all control codes used by that terminal.  These
control codes are usually listed in hexidecimal.  You can use
your terminal manual control code listing to check our control
code definitions against the definitions you require.

2) If you use spaces when entering codes for a terminal
configuration, the spaces will default to the hexidecimal value
FF.  FF (255 decimal) is the only character the TES emulator
system will not recognize.  It is thus used as the default
character on all hexidecimal fields.

The following is the first form of a TES database record.  This
form specifies cursor movement.  Any received character set
matching these character sets will be converted to Model 4
cursor movements.  Character sets are specified in hexidecimal.

The offset row & column field are hexidecimal.  If there is no
offset, type 00.  Do not leave blank (FF).

---------------------- RECORD # 138 ---------------- PAGE 1 OF 4
Manufacturer:
Terminal:
----------------------------------------------------------------
                                                             *DO
     Cursor Movement    Lead-In  Ending  Row Col   Row/Col First
                                         Offset
     Cursor Addressing  FFFFFF    FF     00  00     R
       2nd  Addressing  FFFFFF    FF     00  00     R

                        Lead-In  Ending  Data Statement

     Cursor Left        FFFFFF    FF     FFFFFF
            Right       FFFFFF    FF     FFFFFF
            Down        FFFFFF    FF     FFFFFF
            Up          FFFFFF    FF     FFFFFF

     Cursor Home        FFFFFF    FF     FFFFFF
            Save        FFFFFF    FF     FFFFFF
            Restore     FFFFFF    FF     FFFFFF
----------------------------------------------------------------
                                                     UPDATE MODE

This form allows two cursor movement character sets.  Each
character set has a lead-in field for binary or ASCII, and an
ending field for ASCII.  There is no verbatim sequence of codes
for cursor movement.  You can, however, specify row and column
offsets.  You can also specify which number comes first, row or
column.

In addition, there are cursor movements up, down, left, and
right character sets.  These sets allow multiple movements in
the ASCII form.  The last three sets are cursor home, cursor
save, and cursor restore.  Cursor home moves the cursor to the
upper right corner of the screen.  Cursor save/restore will
remember where the cursor is on the screen at the time of the
command.

The second database record form specifies the editing character
sets.  These sets include delete line, delete character, and
insert line, insert character.  If a delete line is received,
for example, the current line is removed.  All lines below the
current line are scrolled up.

----------------------- RECORD # 138 ----------------PAGE 2 OF 4
Manufacturer:
Terminal:
----------------------------------------------------------------
                                                             *DO
Editing Functions        Lead-In  Ending  Data Statement

      Insert Character   FFFFFF    FF     FFFFFF
      Delete Character   FFFFFF    FF     FFFFFF
      Insert Line        FFFFFF    FF     FFFFFF
      Delete Line        FFFFFF    FF     FFFFFF

Erasure                                         
      Entire Screen      FFFFFF    FF     FFFFFF
      _ to End of Screen                  FFFFFF
      Beg of Screen to _                  FFFFFF
                                                
      Entire Line        FFFFFF    FF     FFFFFF
      _ to End of Line                    FFFFFF
      Beg of Line to _                    FFFFFF
----------------------------------------------------------------
                                                     UPDATE MODE

Form 2 also handles screen and line erasures.  Both editing and
erasures are controlled by the filter and are not adjustable.

The third form of a TES database record controls display
attributes such as inverse video and blinking.  There is only
one lead-in and ending field for all display attributes.  This
is because we allow multiple attributes.  For example, we could
turn on blinking and inverse video at the same time by issuing
the command:

ASCII     ESC [   5   ;   7   m
HEX       1B  5B  35  3B  37  6D

If you ignore the lead-in and ending fields, each data statement
field is handled as a normal verbatim character set.

For those terminals that have many combinations of attributes,
the *DO filter will ignore all but specified attributes.

For those who have attributes that do not match the ASCII
character set, this form includes four verbatim fields.

These display attributes can be customized by editing the Model
4 record.  The Model 4 record is simply what is generated when a
display attribute is found.  Each data statement is the set of
characters necessary for a match.  Only FORMS 3 (*DO) and 4
(*KI) can be edited on the Model 4 record.  If you wish a Model
4 key to generate a sequence of characters, you will need to
modify the Model 4 *KI record (FORM 4) to specify the key which
generates the character sequence and you will need to modify the
alien terminal record FORM 3 record to specify the characters
being generated.  On the other hand, if you wish an incoming
character to generate a sequence of keys on the Model 4, you
will need to modify FORM 4 (*KI) of the alien terminal record to
specify which key is used to trigger the sequence, and FORM 3 of
the TRS-80 Model 4 record to specify what characters are
generated.

------------------------  RECORD # 138 --------------PAGE 3 OF 4
     Manufacturer:
     Terminal:
----------------------------------------------------------------
                                                             *DO
     Display Attributes       Lead-In  Ending
                              FFFFFF    FF

                              Data Statement      Data Statement
           Invisible      ON  FFFFFF         OFF  FFFFFF
           Blinking       ON  FFFFFF         OFF  FFFFFF
           Inverse Video  ON  FFFFFF         OFF  FFFFFF
           Underlining    ON  FFFFFF         OFF  FFFFFF
           High Intensity ON  FFFFFF         OFF  FFFFFF
           Half Intensity ON  FFFFFF         OFF  FFFFFF
           All                               OFF  FFFFFF
                                                        
     Verbatim                 Data Statement      Data Statement
                          #1  FFFFFF         #3   FFFFFF
                          #2  FFFFFF         #4   FFFFFF
----------------------------------------------------------------
                                                     UPDATE MODE

This is the last form for a database record.  Unlike the first
three forms, this form specifies which keys will generate what
character sets.  Thus, all fields in this form are considered
verbatim.

Editing the FORM 4 record implies which key is pressed to
generate the associated character set.  You can define what will
be your cursor keys and function keys.  The *KI filter is thus
similiar to a Macro key processor.



--------------------------- RECORD # 138 ----------- PAGE 4 OF 4
     Manufacturer:
     Terminal:
----------------------------------------------------------------
                                                             *KI
     Cursor Control Keys      Cursor Up     FFFFFFFFFF
                              Cursor Down   FFFFFFFFFF
                              Cursor Right  FFFFFFFFFF
                              Cursor Left   FFFFFFFFFF
                                                      
     Function Keys       F1  FFFFFFFFFF      F9  FFFFFFFFFF
                         F2  FFFFFFFFFF      F10 FFFFFFFFFF
                         F3  FFFFFFFFFF      F11 FFFFFFFFFF
                         F4  FFFFFFFFFF      F12 FFFFFFFFFF
                         F5  FFFFFFFFFF      F13 FFFFFFFFFF
                         F6  FFFFFFFFFF      F14 FFFFFFFFFF
                         F7  FFFFFFFFFF      F15 FFFFFFFFFF
                         F8  FFFFFFFFFF      F16 FFFFFFFFFF
                                                           
                                                           
--------------------------------------------------------------------------------
						     UPDATE MODE
P

			    TESPR/CMD


TESPR/CMD is a utility that will print out the defined 
specifications for each terminal.  Execute TESPR/CMD from DOS 
READY by typing:

TESPR

and press <ENTER>.  The following menu will be displayed:


TAS Terminal Emulating System Printer Program
(C) Copyright 1985
by Dennis Allen and the Alternate Source

     Number of Active Records:  130

     <1> Configuration File:  TESPR/SYS
     <2> Print One Character
     <3> Print Test Pattern
     <4> Print Report
     <5> Quit

     Press key corresponding to function...

Option 1 would only be used if you acquire more than 300 
terminal configurations.  Three hundred is the maximum number 
of terminals that TES will support.  If you wish to use more 
than that, you will need to create a separate data base. 

Option 2 is used for sending control characters to your printer.
You may need to use this option more than once, depending on the
control codes necessary for printing the reports on your
printer.  Reports are designed for an 8 1/2" x 11" paper.

Option 3 is used for checking your printed output and insuring 
that it is aligned correctly.

If you select option 4, a detailed report will be generated for
ALL terminal configurations supported by TES.  Be forwarded that
this report is quite lengthy, about four pages per terminal or
130 x 4, and will consume a considerable amount of time and
paper.  However, once complete, you will have an extensive
directory of all terminal protocol supported by TES.

Option 5 will return you to DOS READY.
P
		        TES Filters


Installation of the TES filters is simple.  Once the filters are
installed, you simply execute your terminal software.  The TES
filters will properly convert all keyboard and video data to the
proper control code sequences for the terminal you have
selected.  TES includes six separate filters that will control
various terminal attributes.  This section will deal with 
manually installing all six filters; the next section will 
show automatic procedures for both installing and removing all 
filters.  Keep in mind that the commands to follow can be 
grouped into a single /JCL file that could executed with a 
single command.

The program MOK/CMD has been provided to reclaim memory used by
the specified filter.  In order to reclaim memory, it is very 
important that you remove filters in the REVERSE order from 
which you installed them!

Upon completion of each of the command sequences, a message
advising either successful or unsuccessful completion of the
installation or deinstallion of the appropriate filter will be
displayed.


FILTERS -- SCROLL/FLT

Certain terminals do not support scrolling, the movement of
screen information up the screen, when a character is printed in
the last row and last column of the screen.  If this is the case
with the terminal you have selected, you may need to install the
SCROLL/FLT.  SCROLL/FLT can be installed by typing the following:

SET *SC SCROLL
FILTER *DO *SC

If you wish to remove SCROLL/FLT, type:

RESET *DO
RESET *SC
MOK SCROLL


FILTERS -- CRLF/FLT

Certain terminals need both carriage returns (CR) and line feeds
(LF), while others need only carriage returns.  The CRLF/FLT can
be used to convert all CR/LF characters to just CR with attached
to *DO or convert all CR to CR/LF when attached to *KI.  Note
that this filter can be used with both *KI and *DO.
P
Use the following commands to install CRLF/FLT to *DO:

SET *CR TO CRLF
FILTER *DO USING *CR

If you wish to remove CRLF/FLT from *DO, type:

RESET *DO
RESET *CR
MOK CRLF  

Use the following commands to install CRLF/FLT to *KI:

SET *CS TO CRLF
FILTER *KI USING *CS

If you wish to remove CRLF/FLT from *KI, type:

RESET *DO
RESET *CS
MOK CRLF  


FILTERS -- INV/FLT

Certain terminals send "invisible" characters that are not 
intended to be displayed.  The INV/FLT will give you full 
control over invisible characters.  To install:

SET *NV TO INV
FILTER *DO USING *NV

If you wish to remove INV/FLT, type:

RESET *DO
RESET *NV
MOK INV

INV/FLT can then be invoked by using a <CONTROL> A and 
cancelled with a <CONTROL> B.  To view invisible characters, 
display a <CONTROL> P and to hide invisible characters, 
display a <CONTROL> /.


FILTERS -- PRT/FLT

The PRT/FLT will send all characters received to the display 
to the the printer.  Use the following commands to install 
PRT/FLT:

SET *DP TO PRT
FILTER *DO USING *DP
P
If you wish to remove PRT/FLT, type:

RESET *DO
RESET *DP
MOK PRT

Once PRT/FLT is activated, you can start all characters going 
to the printer by typing <CONTROL> D.  To cancel printer 
output, type <CONTROL> E.


FITERS -- TAB/FLT

The TAB/FLT will set, reset and move to various tab 
locations.  Use the following commands to install TAB/FLT:

SET *TB TO TAB  8,12,16,40
FILTER *KI USING *TB

If you wish to remove TAB/FLT, type:

RESET *KI
RESET *TB
MOK TAB

After installation, to set a tab at the current cursor 
location, press <CONTROL> S.  Press <CONTROL> R to reset a tab 
at the current cursor location.  Press <CONTROL> T to tab to 
the next location.


FILTERS -- TESKI/FLT

The filter TESKI/FLT will convert any typed key to the specified
cursor control and function keys.

The TESKI/FLT can be installed using the following commands:

SET *VK TESKI
FILTER *KI *VK

If you wish to remove the TESKI/FLT, type:

RESET *KI
RESET *VK
MOK TESKI


FILTERS -- TESDO/FLT

The filter TESDO/FLT will convert any cursor addressing,
erasure, or other video attributes sent from the host system to
the Model 4 screen to equilvalent Model 4 attributes.

The TESDO/FLT can be installed using the following commands:

SET *VD TESDO
FILTER *DO *VD

If you wish to remove TESDO/FLT, type:

RESET *DO
RESET *VD
MOK TESDO

After each filter is installed, you will be returned to DOS
READY where you may either install another filter or 
execute your terminal software.  After all necessary filters are
installed, execute your terminal software and use your normal
procedure for establishing online communications.
P

   Invoking and Removing the TES Emulator Filters -- Summary


A series of /JCL files are included on your TES diskette that
will automatically install the filters.  The proper /JCL file 
must be online before you issue any of the following 
commands.  You may wish to use your word processor to build
a set of /JCL commands for installing and/or deleting and 
recovering memory that is proper for your terminal
configuration.  The program MOK/CMD is provided for deleting a 
filter from memory and reclaiming that memory; this program 
must be online if removing filters from memory.

Pay special attention to the order in which the filters are
installed so that they can be removed (in reverse order) and
memory reclaimed.  If you install CRLF, TAB, INV and TESDO, 
you should remove TESDO first, then INV, then TAB and finally,
CRLF.

If you have too many filters or TRSDOS /SYS modules in high
memory, it is possible that you will get an "OUT OF MEMORY"
error when running TESED/CMD.  If this occurs, either use MOK to
remove the filters and free the memory used, or reboot and
execute TESED again.

Part of the TESDO filter will be located below address X'EC01'.
You should always install this filter last (and remove it first)
to insure maximum memory available after exiting TES.

To use CRLF/JCL to install CRLF/FLT to *DO, type:

DO CRLF (DO)

To use CRLF/JCL to install CRLF/FLT to *KI type:

DO CRLF (KI)

To delete CRLF/FLT from *DO using CRLF/JCL, type:

DO CRLF (DELDO)

To delete CRLF/FLT from *KI using CRLF/JCL, type:

DO CRLF (DELKI)

To use INV/JCL to install INV/FLT to *DO, type:

DO INV (DO)

To delete INV/FLT from *DO using INV/JCL, type:

DO INV (DELDO)
P
To use PRT/JCL to install PRT/FLT to *DO, type:

DO PRT (DO)

To delete PRT/FLT from *DO using INV/JCL, type:

DO PRT (DELDO)

To use SCROLL/JCL to install SCROLL/FLT to *DO, type:

DO SCROLL (DO)

To delete SCROLL/FLT from *DO using SCROLL/FLT, type:

DO SCROLL (DELDO)

To use TAB/JCL to install TAB/FLT to *KI, type:

DO TAB (KI)

To delete TAB/FLT from *KI using TAB/JCL, type:

DO TAB (DELKI)

To use TESDO/JCL to install TESDO/FLT to *DO, type:

DO TESDO (DO)

To delete TESDO/FLT from *DO using TESDO/JCL, type:

DO TESDO (DELDO)

To use TESKI/JCL to install TESKI/FLT to *KI, type:

DO TESKI (KI)

To delete TESKI/FLT from *KI using TESKI/JCL, type:

DO TESKI (DELKI)

Invoking either video filter (TESDO/FLT or SCROLL/FLT) will
cause a noticeable decrease in screen printing speed.  Whether
you need both filters depends on the terminal configuration
selected.  Use both only if necessary.
P
		    Terminals Supported by TES    


MANUFACTURER			    TERMINAL                                

ALTOS COMPUTER SYSTEMS              ALTOS II TERMINAL
ANN ARBOR TERMINALS                 AMBASSADOR
ANN ARBOR TERMINALS                 GENIE
ANN ARBOR TERMINALS                 GENIE+PLUS
ANN ARBOR TERMINALS                 GURU (TM)
ANSI                                ANSI
BEEHIVE INTERNATIONAL               ATL 008
BEEHIVE INTERNATIONAL               ATL 083
BEEHIVE INTERNATIONAL               ATL-004
BEEHIVE INTERNATIONAL               ATL-078
BEEHIVE INTERNATIONAL               DMSB (STANDARD,BASIC,PLUS)
BEEHIVE INTERNATIONAL               TOPPER (IN DM78 MODE)
CIE TERMINALS                       CIT-101 AND CIT-101E (ANSI MODE)
CIE TERMINALS                       CIT-101 AND CIT-101E (VT52 MODE)
CIE TERMINALS                       CIT-161 (ANSI MODE)
CIE TERMINALS                       CIT-161 (VT52 MODE)
CIE TERMINALS                       CIT-467 (ANSI MODE)
CIE TERMINALS                       CIT-467 (VT52 MODE)
CIE TERMINALS                       CIT-500 (ANSI MODE)
CIE TERMINALS                       CIT-500 (VT52 MODE)
CIE TERMINALS                       CIT-80 (ANSI MODE)
CIE TERMINALS                       CIT-80 (VT52 MODE)
COBAR                               COBAR 3100, COBAR 3132
COLORGRAPHIC COMMUNCATION CORP.     MVI-100 MODEL 100, 489, 119, 113
COLORGRAPHIC COMMUNCATION CORP.     MVI-100 MODEL 813/819 ISC800IG MODE
COLORGRAPHIC COMMUNCATION CORP.     MVI-100 MODEL 813/819 VT100 MODE
COLORGRAPHIC COMMUNCATION CORP.     MVI-7 MODELS  7, 719
CORONA DATA SYSTEMS INC.            PERSONAL COMPUTERS
CROMEMCO INC.                       C-10
CTI DATA CORPORATION                CTI 3078
DIGITAL EQUIPTMENT CORPORATION      VT100, 101, 102, 131, 125, 220, 240, 241
DIGITAL EQUIPTMENT CORPORATION      VT52, VT55
DIGITAL MICROSYSTEMS                DMS-3/F,DMS-15,DMS-501,DMS-5080,DMS-5086
DIRECT INCORPORATED                 825-(HP)
DIRECT INCORPORATED                 828/1 (ANSI MODE)
DIRECT INCORPORATED                 828/1 (HP 2622 MODE)
DIRECT INCORPORATED                 831
ESPRIT SYSTEMS INC.                 6310
ESPRIT SYSTEMS INC.                 ESPRIT III
ESPRIT SYSTEMS INC.                 ESPRIT III COLOR
ESPRIT SYSTEMS INC.                 ESPRIT, ESPRIT II
ESPRIT SYSTEMS INC.                 EXEC 10
ESPRIT SYSTEMS INC.                 EXEC 10/102
ESPRIT SYSTEMS INC.                 EXEC 10/102 (ANSI MODE)
ESPRIT SYSTEMS INC.                 EXEC 10/25
FALCO DATA PRODUCTS                 FAME 100
FALCO DATA PRODUCTS                 FAME 78
FALCO DATA PRODUCTS                 FAME III


MANUFACTURER			    TERMINAL                                

FALCO DATA PRODUCTS                 TS 2624-B
FALCO DATA PRODUCTS                 TS-1
FALCO DATA PRODUCTS                 TS-100/132
FALCO DATA PRODUCTS                 TS-42
FMG CORPORATION                     FMG CP/M FOR TRS80 MODEL II
FRANKIN COMPUTER CORP.              ACE DISPLAY
GENERAL TERMANAL CORPORATION        SW 10 (ANSI MODE)
GENERAL TERMANAL CORPORATION        SW 10 (VT52 MODE)
GENERAL TERMANAL CORPORATION        SW 80
GRAPHON CORPORATION                 GO-100,GO-140
HEWLETT-PACKARD                     HP 262X,264X AND HP 2382A
HEWLETT-PACKARD                     HP-150
HONEYWELL INFORMATION SYSTEMS       VIP 7201
HONEYWELL INFORMATION SYSTEMS       VIP 7301
HUMAN DESIGNED SYSTEMS INC.         CONSEPT AVT SERIES
IBM                                 3101
INTECOLOR CORPORATION               2405, 2427
INTECOLOR CORPORATION               E8001G, E8001R
INTECOLOR CORPORATION               VHR19
INTERACTION SYSTEMS INC.            TT150
ITHACA INTERSYSTEMS, INC.           GRAPHOS I, II, III
KAYPRO CORPORATION                  KAYPRO 2/84, 4/84, 10 AND ROBIE
KAYPRO CORPORATION                  KP 2/83, KP 4/83
KIMTRON CORPORATION                 KT-10
LEAR SIEGLER, INC.                  ADM 11
LEAR SIEGLER, INC.                  ADM 12
LEAR SIEGLER, INC.                  ADM 22
LEAR SIEGLER, INC.                  ADM 24E
LEAR SIEGLER, INC.                  ADM 3A
LEAR SIEGLER, INC.                  ADM 5
LIBERTY ELECTRONICS                 FREEDOM 100, 110, 200
MORROW INC.                         MDT 60
NCR CORP.                           NCR 7910 (ANSI MODE)
NCR CORP.                           NCR 7910 (MODEL 1 MODE)
NCR CORP.                           NCR 7910 (MODEL 4 MODE)
PARADYNE                            7811-01 ASYNC
PICKLES & TROUT                     CP/M - TRS-80 MODELS II, 12, 16
PRIME COMPUTERS, INC.               PST100
QUME                                QVT-102
QUME                                QVT-108
RADIO SHACK                         TRS-80 DT-1, HAZELTINE 1410
RADIO SHACK                         TRS-80 DT-1, TELEVIDEO 910
RCA                                 APT VP3801/VP4801
SANYO                               CRX-1100
SANYO                               MBC-1100
SANYO                               MBC-1200
SANYO                               MBC-4000 (CP/M-86 O.S.)
SONY CORPORATION OF AMERICA         SMC-70 (IBM 3101)
SOROC                               CHALLENGER SERIES
TAB PRODUCTS                        TAB 132/15
TANDBERG DATA, INC.                 TDV 2220
TEC INC.                            ET 80B


MANUFACTURER			    TERMINAL                                

TEKTRONIX                           4105, 4107, 4109 (ANSI MODE)
TELERAY                             MODEL 100
TELERAY                             MODEL 7, 16
TELETYPE CORPORATION                5410, 5420
TELEVIDEO                           910, 910+
TELEVIDEO                           914
TELEVIDEO                           924
TELEVIDEO                           925, 950
TELEVIDEO                           970
TELEVIDEO                           PERSONAL TERMINAL
TERMIFLEX                           HT/1000
TEXAS INSTRUMENTS                   931
TEXAS INSTRUMENTS                   PROFESSIONAL COMPUTER
TYMSHARE                            SCANSET 410, 415/HS, XL-HS
VECTOR GRAPHIC, INC.                VECTOR 4 & 4S & VSX
VISUAL TECHNOLOGY                   V102
VISUAL TECHNOLOGY                   V330 (DG D200 MODE)
VISUAL TECHNOLOGY                   V500 (LSI ADM3A MODE)
VISUAL TECHNOLOGY                   VISUAL 100
VISUAL TECHNOLOGY                   VISUAL 100 (VT52 MODE)
VISUAL TECHNOLOGY                   VISUAL 300 (VT100 MODE)
VISUAL TECHNOLOGY                   VISUAL 50/55 (ESPRIT MODE)
VISUAL TECHNOLOGY                   VISUAL 50/55 (VT52 MODE)
WYSE TECHNOLOGY                     WY-100, WY-300
WYSE TECHNOLOGY                     WY-50
WYSE TECHNOLOGY                     WY-75
ZENITH DATA SYSTEMS                 Z-19-HW
ZENITH DATA SYSTEMS                 Z-29
ZENITH DATA SYSTEMS                 Z-49
ZENITH DATA SYSTEMS                 ZT-10
 .
...................................
.                                 .
.    Downloaded in 1990 from:     .
.                                 .
.      ********************       .
.      *     8/N/1 #1     *       .
.      *   904/377-1200   *       .
.      * Gainesville, FL  *       .
.      * Guy Omer - SYSOP *       .
.      ********************       .
.                                 .
. Software support for the TRS-80 .
...................................
