home *** CD-ROM | disk | FTP | other *** search
/ OS/2 Shareware BBS: 3 Comm / 03-Comm.zip / tt2man.zip / ttemulat.doc < prev    next >
Text File  |  1993-12-10  |  16KB  |  402 lines

  1.  
  2.                              TABLE OF CONTENTS                              
  3.  
  4.  
  5.           5. Terminal Emulation
  6.             5.1 Overview
  7.             5.2 Starting Terminal Emulation
  8.             5.3 Exiting Terminal Emulation
  9.             5.4 Making A Connection
  10.             5.5 Cancelling A Connection.
  11.             5.6 Modifying The Communications Settings
  12.             5.7 Modifying MOUSE Actions
  13.             5.8 Modifying The Terminal View
  14.             5.9 Modifying Terminal Colors
  15.             5.10 Modifying Terminal Font
  16.             5.11 Modifying Keyboard Assignments
  17.             5.12 On-Screen Emulator Buttons
  18.             5.13 Support For Drag And Drop
  19.             5.14 Viewing The Screen Review Buffer
  20.  
  21.  
  22.  
  23.                            5. Terminal Emulation                            
  24.  
  25.  
  26.                                 5.1 Overview                                
  27.  
  28.  
  29. Each  TalkThru  session, once STARTED, will have its own  Terminal  Emulator
  30. Window.    It will run as a separate OS/2 task from the Phone  Book  it  was
  31. selected from so multiple sessions can be started and run concurrently.
  32.  
  33. It is  designed to be a powerful, easy to use, dialog which, as  closely  as
  34. possible,  represents  the host terminal protocol it  is  supporting.   This
  35. will  be  particularly clear with the more sophisticated protocols  such  as
  36. HP2393A and HP2397A.
  37.  
  38. It responds to all normal Presentation Manager requests, such as:
  39.  
  40.      RESIZING
  41.      MAXIMIZE/MINIMIZE
  42.      System Menu Close
  43.  
  44. When minimized, the Icon used to represent it will be the one selected  when
  45. it was added to the Phone Book.
  46.  
  47. For the  most  part, there is online help throughout Terminal  Emulation  to
  48. help  you use the features available.  The following sections  are  provided
  49. for reference  to  present some of the capabilities available that  you  may
  50. not find readily apparent.
  51.  
  52.  
  53.  
  54.  
  55.                       5.2 Starting Terminal Emulation                       
  56.  
  57.  
  58. TalkThru  Terminal  Emulation can only be started by  requesting  a  session
  59. from  a  Phone  Book.  When a session is placed in a  Phone  Book,  you  can
  60. indicate  whether the connection should be made automatically  when  STARTUP
  61. occurs or if the user will have to request this after the window appears.
  62.  
  63. If the  connection is going to occur automatically at STARTUP, you  must  be
  64. careful  that all information provided about this session in the Phone  Book
  65. is accurate  or  the connection will fail.  Some of the critical  pieces  of
  66. information provided include:
  67.  
  68.  - the  Device  used  (i.e. OS/2 Standard  COM  Driver,  the  Communications
  69.    Manager ACDI, IBM's TCP/IP for OS/2, or Netbios)
  70.  
  71.  - is the connection a direct connect or dial up
  72.  
  73.  - the phone number
  74.  
  75.  - if  the  connection is through a COM Port, the BAUD, PARITY,  STOP  BITS,
  76.    etc.
  77.  
  78.  
  79.  
  80.  
  81.                        5.3 Exiting Terminal Emulation                       
  82.  
  83.  
  84. To end  a terminal session, you merely request Exit from the File pull  down
  85. menu.  When you request Exit, you will see the "Exit Emulator" dialog.
  86.  
  87. If you  have modified any of the Settings during the Terminal  Session,  the
  88. Save  Settings  box  will be checked.  If you wish  to  save  these  changes
  89. permanently,  just  press  Yes.  If you wish to  cancel  any  changes  made,
  90. remove the check from Save Settings before pressing Yes.
  91.  
  92. If you do not want to terminate this Terminal Session, press No.
  93.  
  94. WARNING:
  95.      If you  press  Yes and have not disconnected the session,  it  will  be
  96.      done as a part of termination.  If you are logged on to a host  system,
  97.      you may wish to logoff before requesting Exit.
  98.  
  99.  
  100.  
  101.  
  102.                           5.4 Making A Connection                           
  103.  
  104.  
  105. If you  requested  that  STARTUP  occur  automatically  when  your  Terminal
  106. Session  was  requested  from the Phone Book, your session  may  already  be
  107. connected  by the time the Terminal Emulator Window appears.  If not, or  if
  108. the connection  failed for some reason and you wish to retry, you may do  so
  109. by selecting Dial from the Connections pull down menu.
  110.  
  111. If you  wish  to  modify  some  of the  attributes  of  the  session  before
  112. attempting  a Re-Dial, you may do so from the Settings pull down menu.   The
  113. Settings  pull down menu allows you to modify the information  contained  in
  114. the Phone  Book  Entry Definition.  For more information on this,  refer  to
  115. the Section, Phone Book Entry Definitions in the Chapter, The Phone Book.
  116.  
  117.  
  118.  
  119.  
  120.                         5.5 Cancelling A Connection.                        
  121.  
  122.  
  123. To cancel  a  connection, request Hangup from the Connections menu  and  the
  124. active  connection  will be terminated.  If this is a dial  connection,  the
  125. phone line will be discontinued.
  126.  
  127. Hangup will not Exit the Terminal Session.
  128.  
  129. WARNING:
  130.      If you  are logged on to a host system, you may wish to  logoff  before
  131.      requesting Hangup.
  132.  
  133.  
  134.  
  135.  
  136.                  5.6 Modifying The Communications Settings                  
  137.  
  138.  
  139. All settings  pertinent  to the communications environment  being  used  are
  140. stored in the Phone Book Entry Definition associated with this session  when
  141. it was  added to the Phone Book.  Any of the parameters in this file can  be
  142. modified from the Settings pull down menu.
  143.  
  144. If you  wish  to test changes to these parameters, you may do  so  while  in
  145. Terminal  Emulation and throw them away when you Exit.  See  the  discussion
  146. on Exiting  A Terminal Session earlier in this chapter for more  information
  147. on how to Save or Throw Away changes made.
  148.  
  149. For more  information  on  Phone Book Entry Definitions  and  how  they  are
  150. maintained,  refer  to  the Section, Phone Book  Entry  Definitions  in  the
  151. Chapter, The Phone Book.
  152.  
  153.  
  154.  
  155.  
  156.                         5.7 Modifying MOUSE Actions                         
  157.  
  158.  
  159. By selecting  the  Mouse dialog from the Settings pull down  menu,  you  can
  160. specify what activities the Left and Right MOUSE Buttons will perform.   The
  161. choices are:
  162.  
  163.    nothing
  164.    position the cursor
  165.    send the host Enter key
  166.    send the character under the MOUSE as keyboard text
  167.    send the character under the MOUSE plus the Enter key
  168.    send the word under the MOUSE as keyboard text
  169.    send the word under the MOUSE plus the Enter key
  170.    send the host key named by the word under the MOUSE (i.e. PF1)
  171.  
  172. Properly  setting  the  MOUSE  actions allows you  to  greatly  reduce  your
  173. keyboard  requirements in many host systems.  Sending the character or  word
  174. with  the MOUSE will drive most Menu Driven Bulletin Boards and sending  the
  175. Host  Key  by name is a natural application for Profs where Menu  Items  are
  176. indicated by Program Function Key Name (i.e. PF1).
  177.  
  178. The default  MOUSE  Settings  vary  depending  upon  the  Phone  Book  Entry
  179. Definition  you  have  selected  as a MODEL  for  you  Phone  Book  Entries.
  180. Therefore,  it is recommended that you review the settings once  your  Phone
  181. Book has been created.
  182.  
  183.  
  184.  
  185.  
  186.                       5.8 Modifying The Terminal View                       
  187.  
  188.  
  189. Contained  in  the Settings pull down menu, there is a dialog  which  allows
  190. you to  modify several features relating to the aesthetics of  the  Terminal
  191. Screen.    This  dialog is named View and below are a few  of  the  features
  192. available.  More complete information can be obtained from online help:
  193.  
  194. 1. You can turn the status line on or off.
  195.  
  196. 2. You  can  activate horizontal and vertical Scroll Bars for  use  if  your
  197.    window is smaller than the host Terminal Screen.
  198.  
  199. 3. You  may  turn  ON or OFF the appearance of  the  Emulator  Buttons  (see
  200.    Emulator Buttons later in this chapter for a discussion of this feature).
  201.  
  202. 4. You  may define what information will appear on the Status Line:  Current
  203.    Time, Current Date, Cursor Position.
  204.  
  205.  NOTE:
  206.     You may  also cycle through the options available on the Status Line  by
  207.     clicking  the  Left MOUSE Button over the area of the  Status  Line  you
  208.     want to change.
  209.  
  210. 5. You  may  indicate  how you want the Terminal Window  to  appear  on  the
  211.    desktop when this Phone Book Session is started the options are:
  212.  
  213.    Window
  214.         - requests that the Terminal Emulator window be displayed.
  215.    Icon
  216.         - requests that the Terminal Emulator window be minimized.
  217.    Full Screen
  218.         - requests that the Terminal Emulator window be maximized.
  219.    Not Displayed
  220.         - requests  that  the Terminal Emulator window not be  displayed  on
  221.           the  desktop  at  all.  This option would only  be  used  if  this
  222.           Terminal  Session  was  being  controlled  COMPLETELY  through  an
  223.           EHLLAPI application. 
  224.           
  225.           The  disadvantage of this option is that there is NO WAY  for  the
  226.           PC user to obtain access to the Terminal Window. The advantage  is
  227.           that  TalkThru  will  not use any PM resources  for  the  Terminal
  228.           Session.
  229.  
  230. 6. You may indicate how large you want the review buffer to be.  The  review
  231.    buffer  is a buffer which contains the screen data that has  appeared  in
  232.    the  Terminal Window.  You request a review buffer by specifying a  value
  233.    greater  than  0  on  this dialog.  To see the  review  buffer,  you  may
  234.    request Review Window from the Commands pull down menu.
  235.  
  236.  
  237.  
  238.  
  239.                        5.9 Modifying Terminal Colors                        
  240.  
  241.  
  242. Depending upon the Terminal Protocol (TTY, VTxxx, HPxxxx) being used,  there
  243. are from 1 to many attributes associated with the different Terminal  Screen
  244. fields.   By selecting the Colors dialog from the Settings pull  down  menu,
  245. you may  decide  exactly what Foreground/Background  color  combination  you
  246. would like to use for each text field attribute.
  247.  
  248. Because the number and names for text field attributes change from  protocol
  249. to protocol  (i.e.  Protected,  Unprotected), this  dialog  will  provide  a
  250. Screen  Item name for you to easily identify which field attribute  you  are
  251. modifying.
  252.  
  253.  
  254.  
  255.  
  256.                         5.10 Modifying Terminal Font                        
  257.  
  258.  
  259. Since  a Terminal Emulator screen is historically a Fixed  Font  environment
  260. (all  characters are the same width and height), TalkThru utilizes  a  Fixed
  261. Font in displaying the Terminal Emulator screen.
  262.  
  263. You may  modify  the Fixed Font TalkThru uses by selecting the  Font  dialog
  264. from  the  Settings pull down menu. Since there are now  several  levels  of
  265. resolution  available for OS/2 monitors, TalkThru provides several sizes  of
  266. Fixed  Fonts  so  that  you  may  choose  the  one  which  best  suits  your
  267. environment.  The Font dialog also displays all other Fixed Fonts  available
  268. on your  OS/2  System so that any Fixed Font that is distributed  with  your
  269. OS/2  System,  or that you purchase elsewhere, can be selected  for  use  by
  270. TalkThru when displaying the Terminal Emulation screen.
  271.  
  272. WARNING:
  273.      The TalkThru  fonts contain a few special characters used  in  Terminal
  274.      Emulation  that are different from the normal ASCII character set.   If
  275.      you   select  a  non-TalkThru  font, some  characters  may  not  appear
  276.      properly on the Terminal Screen.
  277.  
  278.  
  279.  
  280.  
  281.                     5.11 Modifying Keyboard Assignments                     
  282.  
  283.  
  284. TalkThru  allows  you  total control over the mapping of  your  PC  or  PS/2
  285. Keyboard  to  the  host terminal environment you  are  emulating.   Keyboard
  286. Mapping  is  available through the Keyboard dialog from  the  Settings  pull
  287. down  menu.   This dialog allows you to assign virtually any of your  PC  or
  288. PS/2 keys in any combination of SHIFT, CTRL, and ALT to:
  289.  
  290.   - represent any host terminal keys
  291.   - invoke any OS/2 Command
  292.   - run any script program
  293.  
  294. Online help is available from the Keyboard dialog to help you in  performing
  295. this task.
  296.  
  297.  
  298.  
  299.  
  300.                       5.12 On-Screen Emulator Buttons                       
  301.  
  302.  
  303. Emulator  Buttons is a unique feature in TalkThru which was  implemented  to
  304. support  the  HP2393A and HP2397A Terminal Protocols but has  been  expanded
  305. for use  with  all TalkThru protocols.  Because these  buttons  are  pressed
  306. with  the  MOUSE instead of a key on the keyboard, using  Emulator  Buttons,
  307. you can  build  a  Professional Workstation environment  that  will  require
  308. little or no keyboard skills.
  309.  
  310. A Scroll Bar appears to the right of the row of buttons.  There can be up to
  311. 12 buttons  per row, and up to 12 rows.  
  312.  
  313. Besides being able to issue host keys, Emulator Buttons, can also:
  314.  
  315.   - run OS/2 programs
  316.   - run scripts
  317.   - display another row of buttons to provide a menu hierarchy
  318.  
  319. Emulator  Buttons are assigned and modified by selecting the Buttons  dialog
  320. from the Settings Pull Down Menu.
  321.  
  322.  
  323.  
  324.  
  325.                        5.13 Support For Drag And Drop                       
  326.  
  327.  
  328. Drag  and  Drop  file is a feature of OS/2 versions  1.3  and  higher.  This
  329. feature  (if  supported by an application) allows you to use  the  mouse  to
  330. select  a  FILE and DRAG it across the DESKTOP to a  receiving  application,
  331. where it is DROPPED (made available) to that application.
  332.  
  333. The receiving  application  can then process the DROPPED file  according  to
  334. application rules.
  335.  
  336. TalkThru,  when running under OS/2 version 1.3 and higher does  support  the
  337. DROP  (receiving)  side of a DRAG and DROP scenario. You may select  a  file
  338. from  the File Manager by pressing the RIGHT MOUSE button, and  then  moving
  339. the file  to  a  TalkThru Terminal Emulator. As the DRAG  moves  across  the
  340. DESKTOP  you  will notice the pointer change shape.  Each  application  that
  341. supports  the Drop function will notify the Drag initiator and  the  pointer
  342. will change, designating the file may be dropped onto the application.  When
  343. you have  Dragged  the file over the Terminal Emulator,  release  the  Right
  344. Mouse  Button.  You  should hear an audible indication  that  the  file  was
  345. Dropped successfully.
  346.  
  347. You MUST  drop  the file Over an active Terminal Emulator. DO  NOT  drop  it
  348. over the Phone Book entry.
  349.  
  350. TalkThru  allows you to customize the processing for a DROPPED  file.  Under
  351. the Settings  Pull  Down  Menu, you will see a menu  entry  designated  Drop
  352. File.... Selecting this entry will display a DROP Action Assignment  Screen.
  353. It is  here that you will designate the action to be initiated when  a  DROP
  354. is performed.
  355.  
  356. You assign  an  action in the same manner you would assign  a  Keyboard  Key
  357. Action or a Button Action.
  358.  
  359. There are two (2) Commands that can be of invaluable use;
  360.  
  361.    %SESSION_ID
  362.           = the current Terminal Session SHORT NAME
  363.  
  364.    %DROPPED_FILENAME
  365.           = the actual file that was dropped onto the terminal emulator.
  366.  
  367.  
  368. Listed below are some typical Drop Action Assignments:
  369.  
  370.  
  371.   RUN_SCRIPT,"send.scr ",%SESSION_ID," ",%DROPPED_FILENAME
  372.   
  373.   RUN_SCRIPT,"sendXmdm.scr ",%SESSION_ID," ",%DROPPED_FILENAME
  374.  
  375.   RUN_PROGRAM,"myhllapi.exe ",%SESSION_ID," ",%DROPPED_FILENAME
  376.  
  377.   RUN_PROGRAM,%DROPPED_FILENAME," 09/19/91 Quarterly"
  378.  
  379.   RUN_SCRIPT,%DROPPED_FILENAME," ",%SESSION_ID
  380.  
  381.  
  382.  
  383.  
  384.                    5.14 Viewing The Screen Review Buffer                    
  385.  
  386.  
  387. TalkThru  supports a screen review buffer so that you may review  data  that
  388. has scrolled  off  of  your  screen.   The size  of  the  review  buffer  is
  389. specified  by  requesting  View  from   the  Settings  pull  down  menu  and
  390. specifying Number Of Pages for the Review Window.
  391.  
  392. NOTE:
  393.    TalkThru  is  installed with no memory allocated to  the  Review  Window.
  394.    Therefore,  you  MUST  specify  some number greater than  0  to  see  any
  395.    information.
  396.  
  397. You may  request to review information that has scrolled off  your  Terminal
  398. Emulator  Window, request Review Window from the Commands pull down menu  on
  399. any Terminal Emulator Window.
  400.  
  401.  
  402.