home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
OS/2 Shareware BBS: 3 Comm
/
03-Comm.zip
/
tt2man.zip
/
ttemulat.doc
< prev
next >
Wrap
Text File
|
1993-12-10
|
16KB
|
402 lines
TABLE OF CONTENTS
5. Terminal Emulation
5.1 Overview
5.2 Starting Terminal Emulation
5.3 Exiting Terminal Emulation
5.4 Making A Connection
5.5 Cancelling A Connection.
5.6 Modifying The Communications Settings
5.7 Modifying MOUSE Actions
5.8 Modifying The Terminal View
5.9 Modifying Terminal Colors
5.10 Modifying Terminal Font
5.11 Modifying Keyboard Assignments
5.12 On-Screen Emulator Buttons
5.13 Support For Drag And Drop
5.14 Viewing The Screen Review Buffer
5. Terminal Emulation
5.1 Overview
Each TalkThru session, once STARTED, will have its own Terminal Emulator
Window. It will run as a separate OS/2 task from the Phone Book it was
selected from so multiple sessions can be started and run concurrently.
It is designed to be a powerful, easy to use, dialog which, as closely as
possible, represents the host terminal protocol it is supporting. This
will be particularly clear with the more sophisticated protocols such as
HP2393A and HP2397A.
It responds to all normal Presentation Manager requests, such as:
RESIZING
MAXIMIZE/MINIMIZE
System Menu Close
When minimized, the Icon used to represent it will be the one selected when
it was added to the Phone Book.
For the most part, there is online help throughout Terminal Emulation to
help you use the features available. The following sections are provided
for reference to present some of the capabilities available that you may
not find readily apparent.
5.2 Starting Terminal Emulation
TalkThru Terminal Emulation can only be started by requesting a session
from a Phone Book. When a session is placed in a Phone Book, you can
indicate whether the connection should be made automatically when STARTUP
occurs or if the user will have to request this after the window appears.
If the connection is going to occur automatically at STARTUP, you must be
careful that all information provided about this session in the Phone Book
is accurate or the connection will fail. Some of the critical pieces of
information provided include:
- the Device used (i.e. OS/2 Standard COM Driver, the Communications
Manager ACDI, IBM's TCP/IP for OS/2, or Netbios)
- is the connection a direct connect or dial up
- the phone number
- if the connection is through a COM Port, the BAUD, PARITY, STOP BITS,
etc.
5.3 Exiting Terminal Emulation
To end a terminal session, you merely request Exit from the File pull down
menu. When you request Exit, you will see the "Exit Emulator" dialog.
If you have modified any of the Settings during the Terminal Session, the
Save Settings box will be checked. If you wish to save these changes
permanently, just press Yes. If you wish to cancel any changes made,
remove the check from Save Settings before pressing Yes.
If you do not want to terminate this Terminal Session, press No.
WARNING:
If you press Yes and have not disconnected the session, it will be
done as a part of termination. If you are logged on to a host system,
you may wish to logoff before requesting Exit.
5.4 Making A Connection
If you requested that STARTUP occur automatically when your Terminal
Session was requested from the Phone Book, your session may already be
connected by the time the Terminal Emulator Window appears. If not, or if
the connection failed for some reason and you wish to retry, you may do so
by selecting Dial from the Connections pull down menu.
If you wish to modify some of the attributes of the session before
attempting a Re-Dial, you may do so from the Settings pull down menu. The
Settings pull down menu allows you to modify the information contained in
the Phone Book Entry Definition. For more information on this, refer to
the Section, Phone Book Entry Definitions in the Chapter, The Phone Book.
5.5 Cancelling A Connection.
To cancel a connection, request Hangup from the Connections menu and the
active connection will be terminated. If this is a dial connection, the
phone line will be discontinued.
Hangup will not Exit the Terminal Session.
WARNING:
If you are logged on to a host system, you may wish to logoff before
requesting Hangup.
5.6 Modifying The Communications Settings
All settings pertinent to the communications environment being used are
stored in the Phone Book Entry Definition associated with this session when
it was added to the Phone Book. Any of the parameters in this file can be
modified from the Settings pull down menu.
If you wish to test changes to these parameters, you may do so while in
Terminal Emulation and throw them away when you Exit. See the discussion
on Exiting A Terminal Session earlier in this chapter for more information
on how to Save or Throw Away changes made.
For more information on Phone Book Entry Definitions and how they are
maintained, refer to the Section, Phone Book Entry Definitions in the
Chapter, The Phone Book.
5.7 Modifying MOUSE Actions
By selecting the Mouse dialog from the Settings pull down menu, you can
specify what activities the Left and Right MOUSE Buttons will perform. The
choices are:
nothing
position the cursor
send the host Enter key
send the character under the MOUSE as keyboard text
send the character under the MOUSE plus the Enter key
send the word under the MOUSE as keyboard text
send the word under the MOUSE plus the Enter key
send the host key named by the word under the MOUSE (i.e. PF1)
Properly setting the MOUSE actions allows you to greatly reduce your
keyboard requirements in many host systems. Sending the character or word
with the MOUSE will drive most Menu Driven Bulletin Boards and sending the
Host Key by name is a natural application for Profs where Menu Items are
indicated by Program Function Key Name (i.e. PF1).
The default MOUSE Settings vary depending upon the Phone Book Entry
Definition you have selected as a MODEL for you Phone Book Entries.
Therefore, it is recommended that you review the settings once your Phone
Book has been created.
5.8 Modifying The Terminal View
Contained in the Settings pull down menu, there is a dialog which allows
you to modify several features relating to the aesthetics of the Terminal
Screen. This dialog is named View and below are a few of the features
available. More complete information can be obtained from online help:
1. You can turn the status line on or off.
2. You can activate horizontal and vertical Scroll Bars for use if your
window is smaller than the host Terminal Screen.
3. You may turn ON or OFF the appearance of the Emulator Buttons (see
Emulator Buttons later in this chapter for a discussion of this feature).
4. You may define what information will appear on the Status Line: Current
Time, Current Date, Cursor Position.
NOTE:
You may also cycle through the options available on the Status Line by
clicking the Left MOUSE Button over the area of the Status Line you
want to change.
5. You may indicate how you want the Terminal Window to appear on the
desktop when this Phone Book Session is started the options are:
Window
- requests that the Terminal Emulator window be displayed.
Icon
- requests that the Terminal Emulator window be minimized.
Full Screen
- requests that the Terminal Emulator window be maximized.
Not Displayed
- requests that the Terminal Emulator window not be displayed on
the desktop at all. This option would only be used if this
Terminal Session was being controlled COMPLETELY through an
EHLLAPI application.
The disadvantage of this option is that there is NO WAY for the
PC user to obtain access to the Terminal Window. The advantage is
that TalkThru will not use any PM resources for the Terminal
Session.
6. You may indicate how large you want the review buffer to be. The review
buffer is a buffer which contains the screen data that has appeared in
the Terminal Window. You request a review buffer by specifying a value
greater than 0 on this dialog. To see the review buffer, you may
request Review Window from the Commands pull down menu.
5.9 Modifying Terminal Colors
Depending upon the Terminal Protocol (TTY, VTxxx, HPxxxx) being used, there
are from 1 to many attributes associated with the different Terminal Screen
fields. By selecting the Colors dialog from the Settings pull down menu,
you may decide exactly what Foreground/Background color combination you
would like to use for each text field attribute.
Because the number and names for text field attributes change from protocol
to protocol (i.e. Protected, Unprotected), this dialog will provide a
Screen Item name for you to easily identify which field attribute you are
modifying.
5.10 Modifying Terminal Font
Since a Terminal Emulator screen is historically a Fixed Font environment
(all characters are the same width and height), TalkThru utilizes a Fixed
Font in displaying the Terminal Emulator screen.
You may modify the Fixed Font TalkThru uses by selecting the Font dialog
from the Settings pull down menu. Since there are now several levels of
resolution available for OS/2 monitors, TalkThru provides several sizes of
Fixed Fonts so that you may choose the one which best suits your
environment. The Font dialog also displays all other Fixed Fonts available
on your OS/2 System so that any Fixed Font that is distributed with your
OS/2 System, or that you purchase elsewhere, can be selected for use by
TalkThru when displaying the Terminal Emulation screen.
WARNING:
The TalkThru fonts contain a few special characters used in Terminal
Emulation that are different from the normal ASCII character set. If
you select a non-TalkThru font, some characters may not appear
properly on the Terminal Screen.
5.11 Modifying Keyboard Assignments
TalkThru allows you total control over the mapping of your PC or PS/2
Keyboard to the host terminal environment you are emulating. Keyboard
Mapping is available through the Keyboard dialog from the Settings pull
down menu. This dialog allows you to assign virtually any of your PC or
PS/2 keys in any combination of SHIFT, CTRL, and ALT to:
- represent any host terminal keys
- invoke any OS/2 Command
- run any script program
Online help is available from the Keyboard dialog to help you in performing
this task.
5.12 On-Screen Emulator Buttons
Emulator Buttons is a unique feature in TalkThru which was implemented to
support the HP2393A and HP2397A Terminal Protocols but has been expanded
for use with all TalkThru protocols. Because these buttons are pressed
with the MOUSE instead of a key on the keyboard, using Emulator Buttons,
you can build a Professional Workstation environment that will require
little or no keyboard skills.
A Scroll Bar appears to the right of the row of buttons. There can be up to
12 buttons per row, and up to 12 rows.
Besides being able to issue host keys, Emulator Buttons, can also:
- run OS/2 programs
- run scripts
- display another row of buttons to provide a menu hierarchy
Emulator Buttons are assigned and modified by selecting the Buttons dialog
from the Settings Pull Down Menu.
5.13 Support For Drag And Drop
Drag and Drop file is a feature of OS/2 versions 1.3 and higher. This
feature (if supported by an application) allows you to use the mouse to
select a FILE and DRAG it across the DESKTOP to a receiving application,
where it is DROPPED (made available) to that application.
The receiving application can then process the DROPPED file according to
application rules.
TalkThru, when running under OS/2 version 1.3 and higher does support the
DROP (receiving) side of a DRAG and DROP scenario. You may select a file
from the File Manager by pressing the RIGHT MOUSE button, and then moving
the file to a TalkThru Terminal Emulator. As the DRAG moves across the
DESKTOP you will notice the pointer change shape. Each application that
supports the Drop function will notify the Drag initiator and the pointer
will change, designating the file may be dropped onto the application. When
you have Dragged the file over the Terminal Emulator, release the Right
Mouse Button. You should hear an audible indication that the file was
Dropped successfully.
You MUST drop the file Over an active Terminal Emulator. DO NOT drop it
over the Phone Book entry.
TalkThru allows you to customize the processing for a DROPPED file. Under
the Settings Pull Down Menu, you will see a menu entry designated Drop
File.... Selecting this entry will display a DROP Action Assignment Screen.
It is here that you will designate the action to be initiated when a DROP
is performed.
You assign an action in the same manner you would assign a Keyboard Key
Action or a Button Action.
There are two (2) Commands that can be of invaluable use;
%SESSION_ID
= the current Terminal Session SHORT NAME
%DROPPED_FILENAME
= the actual file that was dropped onto the terminal emulator.
Listed below are some typical Drop Action Assignments:
RUN_SCRIPT,"send.scr ",%SESSION_ID," ",%DROPPED_FILENAME
RUN_SCRIPT,"sendXmdm.scr ",%SESSION_ID," ",%DROPPED_FILENAME
RUN_PROGRAM,"myhllapi.exe ",%SESSION_ID," ",%DROPPED_FILENAME
RUN_PROGRAM,%DROPPED_FILENAME," 09/19/91 Quarterly"
RUN_SCRIPT,%DROPPED_FILENAME," ",%SESSION_ID
5.14 Viewing The Screen Review Buffer
TalkThru supports a screen review buffer so that you may review data that
has scrolled off of your screen. The size of the review buffer is
specified by requesting View from the Settings pull down menu and
specifying Number Of Pages for the Review Window.
NOTE:
TalkThru is installed with no memory allocated to the Review Window.
Therefore, you MUST specify some number greater than 0 to see any
information.
You may request to review information that has scrolled off your Terminal
Emulator Window, request Review Window from the Commands pull down menu on
any Terminal Emulator Window.