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

  1.  
  2.                              TABLE OF CONTENTS                              
  3.  
  4.  
  5.           4. The Phone Book
  6.             4.1 Overview
  7.             4.2 Starting A Session
  8.             4.3 Opening Another Phone Book
  9.             4.4 Phone Book Maintenance
  10.               4.4.1 Creating A New Phone Book
  11.               4.4.2 Adding Sessions To A Phone Book
  12.               4.4.3 Modifying Sessions In A Phone Book
  13.               4.4.4 Deleting Sessions From A Phone Book
  14.             4.5 The Controller Panel
  15.             4.6 Phone Book Entry Definitions
  16.               4.6.1 Overview
  17.               4.6.2 Modifying Phone Book Entry Definitions
  18.             4.7 Making A Model Phone Book Entry
  19.  
  20.  
  21.  
  22.                              4. The Phone Book                              
  23.  
  24.  
  25.                                 4.1 Overview                                
  26.  
  27.  
  28. A Phone  Book  is  an  OS/2 File which  contains  a  logical  collection  of
  29. TalkThru  sessions.    The file names can be any valid OS/2  name,  but  the
  30. extension  MUST  BE  .PBK.   These files  are  normally  maintained  in  the
  31. TalkThru  SESSIONS  directory, but may be referenced from anywhere  on  your
  32. OS/2 system.
  33.  
  34. The Phone  Book  files  are maintained through dialogs  available  from  the
  35. TalkThru  Phone  Book Window.  A Phone Book Window is displayed  whenever  a
  36. TalkThru  Phone  Book  is  OPENED and it is  from  here  that  ALL  TalkThru
  37. sessions  are  initiated.    The primary Phone  Book  Window  is  OPENED  at
  38. initialization  time  and  will  either be  SAMPLES.PBK  from  the  TalkThru
  39. SESSIONS directory or any Phone Book you have specified on the command  line
  40. when invoking TalkThru.
  41.  
  42. The entries listed in the  Phone Book window  contain the description of the 
  43. sessions  available in this Phone  Book in  alphabetical order  and the Icon 
  44. that represents it.   If a  Phone Book  session  is started and MINIMIZED on 
  45. the desktop, this Icon will be used to represent it.
  46.  
  47. If TalkThru  is coexisting with the Communications  Manager,  Communications
  48. Manager  sessions  ARE NOT represented in the Phone Book.   The  Phone  Book
  49. only  represents  those sessions (TTY, VTxxx, Hpxxxx, etc.) that  are  being
  50. controlled  by  TalkThru.    If  you  wish to  see  a  list  of  the  ACTIVE
  51. Communications  Manager  sessions,  you may do so  by  selecting  Controller
  52. Panel...  from  the  Utilities pull down menu.  Refer to  the  Section,  The
  53. Controller Panel in this Chapter for more information.
  54.  
  55.  
  56.  
  57.  
  58.                            4.2 Starting A Session                           
  59.  
  60.  
  61. Some  Phone Book sessions may be requested to Start automatically  when  the
  62. Phone  Book  is  opened.  If this is true,  several  TalkThru  sessions  may
  63. already be started when the Phone Book window appears.
  64.  
  65. IMPORTANT:
  66.      Every  component  of  TalkThru   runs   as  a  separate  OS/2  Session.
  67.      Therefore,  when  Communications Sessions are started  from  the  Phone
  68.      Book,  they  become  separate    windows    on  the  desktop,  with  no
  69.      Presentation Manager interdependencies.
  70.  
  71. If you wish to Start a session from the Phone Book, you may do so by:
  72.  
  73.  - moving the cursor over the Session you wish to start and pressing Enter
  74.  
  75.              or
  76.  
  77.  - double clicking the MOUSE on the Session to be started
  78.  
  79.  
  80.  
  81.  
  82.                        4.3 Opening Another Phone Book                       
  83.  
  84.  
  85. If you  wish  to open another Phone Book, you may do so  by  selecting  Open
  86. from  the  Phone Book pull down menu on any Phone Book  window.   Requesting
  87. this menu item will display a list of the Phone Book files currently in  the
  88. TalkThru  SESSIONS  directory.    You may select  a  Phone  Book  from  this
  89. directory or from any other directory available on your OS/2 system.
  90.  
  91. Opening  a new Phone Book WILL NOT automatically CLOSE the current one.   If
  92. you want  to  close  the  current  Phone  Book,  you  will  have  to  do  so
  93. specifically once the new Phone Book has been opened.
  94.  
  95.  
  96.  
  97.  
  98.                          4.4 Phone Book Maintenance                         
  99.  
  100.  
  101. Phone  Books  are built and maintained through dialogs  available  from  the
  102. Phone  Book window.  The next few sections provide a brief overview  of  how
  103. Phone Books are created and changed.
  104.  
  105. ┌─────────────────────────────────┐
  106. │ 4.4.1 Creating A New Phone Book │
  107. └─────────────────────────────────┘
  108.  
  109.   If you  wish to create your own Phone Book, you can do so from  any  Phone
  110.   Book  currently  opened or from the Controller Panel (see  The  Controller
  111.   Panel  later in this Chapter).  To request the dialog for creating  a  new
  112.   Phone  Book, request New from the Phone Book pull down menu.  Once you  do
  113.   this, you will see the "Create a New Phone Book" dialog.
  114.  
  115.   In this dialog, you will:
  116.  
  117.    - Provide a description for the new Phone Book to appear as the Title  on
  118.      the Phone Book Window.
  119.  
  120.    - Provide  an  8 character name to be used to save the  Phone  Book  file
  121.      (the  extension will be .PBK and will automatically be appended to  the
  122.      name).  The new Phone Book file will be saved in the TalkThru  SESSIONS
  123.      directory.
  124.  
  125.   Once  you  have done this, you will be presented with a blank  Phone  Book
  126.   window.
  127.  
  128.   From  here, you can use Add Item, Change Item, and Delete Item   from  the
  129.   Phone Book pull down menu to maintain the Phone Book.
  130.  
  131.   REMEMBER:
  132.        If you  wish  to have this Phone Book OPENED automatically  the  next
  133.        time  TalkThru is invoked, you must specify its 8 character  name  on
  134.        the TalkThru command line.
  135.  
  136. ┌───────────────────────────────────────┐
  137. │ 4.4.2 Adding Sessions To A Phone Book │
  138. └───────────────────────────────────────┘
  139.  
  140.   Phone  Book Entries are added to an existing Phone Book by requesting  Add
  141.   Item  from  the Phone Book pull down menu.  If you request Add  Item,  you
  142.   will see the "Add a Phone Book Listing" dialog:
  143.  
  144.   Below is a description of each Entry Field in this window:
  145.  
  146.  
  147.   Title
  148.    This  is the title for this Phone Book Entry.  This title will appear  on
  149.    the Phone Book window to represent this session and will be the title  of
  150.    the Terminal Emulation window once the session is started.
  151.  
  152.  
  153.   Unique Session Name ...
  154.    This  name will become the 1 to 8 character file name for the Phone  Book
  155.    Entry Definition which will be created to represent this session.   Refer
  156.    to the  Section, Phone Book Entry Definitions later in this  Chapter  for
  157.    more  information  on what these files contain and how they  are  further
  158.    modified.
  159.  
  160.  
  161.   Choose a Model ...
  162.    This  field allows you to identify the Model Phone Book Entry  Definition
  163.    that  most  closely represents the session you are adding  to  the  Phone
  164.    Book.
  165.  
  166.    WARNING:
  167.         Not all  Phone  Book Entry Definitions are models.  If you  wish  to
  168.         make a Phone Book Entry Definition a MODEL, refer to Making A  Model
  169.         Phone Book Entry later in this chapter.
  170.  
  171.    HINT:
  172.      Since  the Title is how you select Models, it is recommended  that  you
  173.      make  the Title field for each Model Phone Book Entry  Definition  very
  174.      clear as to the session being defined.
  175.  
  176.    You may  press the Down Arrow Key and Up Arrow Key to scroll through  the
  177.    list  of  Models.  To see all of the Models in a list, use the  MOUSE  to
  178.    click  on the down arrow to the right of the field or press the  ALT  Key
  179.    and Down Arrow Key simultaneously while positioned on this field.
  180.  
  181.  
  182.   Customized Icon ...
  183.  
  184.    This  field  contains  the first Icon in the list of Icon  files  in  the
  185.    TalkThru  ICONS directory.  Also, the Icon that this file  represents  is
  186.    displayed to the right of the field.
  187.  
  188.    NOTE:
  189.       The files  listed  here all have an extension of .ICO  and  have  been
  190.       built  using  the  OS/2 Icon Editor  (ICONEDIT).   Several  Icons  are
  191.       provided  with TalkThru, but if you wish to provide your  own,  merely
  192.       copy  them  into  the    TalkThru    ICONS  directory  and  they  will
  193.       automatically appear on this list.
  194.  
  195.    You may  press the Down Arrow Key and Up Arrow Key to scroll through  the
  196.    list  of  Icons.  To see just the file name of all the Icons in  a  list,
  197.    use the  MOUSE  to click on the down arrow to the right of the  field  or
  198.    press  the ALT Key and Down Arrow Key simultaneously while positioned  on
  199.    this field.
  200.  
  201.    The Icon you select from this list will appear next to the session  Title
  202.    on the Phone Book and will be used when this session is MINIMIZED.
  203.  
  204.  
  205.   Initialization Script ...
  206.  
  207.    Optionally,  you can ask TalkThru to run a script program when a  session
  208.    is started.  The type of script that this field represents is  determined
  209.    by the file's extension:
  210.  
  211.      .EXE
  212.         - this script represents an OS/2 program to be run
  213.  
  214.      .EBI
  215.         - this  is  a script program written in EASEL and  EASEL  should  be
  216.           invoked to run it
  217.  
  218.      .SCR
  219.         - this is a TalkThru AUTOPILOT script to be run
  220.  
  221.  
  222.   EHLLAPI Session ID
  223.  
  224.    This  allows you to specify the single letter to be used by your  EHLLAPI
  225.    programs to refer to this session.
  226.  
  227.  
  228.    WARNING:
  229.         This  field is REQUIRED if you intend to use any EHLLAPI program  to
  230.         access  this  session.   Also, this field must be  unique  from  any
  231.         other  TalkThru  or Communications Manager sessions  that  might  be
  232.         active at any one time.
  233.  
  234.    REMEMBER:
  235.         AUTOPILOT  uses EHLLAPI for it's communications. Therefore,  if  you
  236.         are going  to use the AUTOPILOT programming language to script  host
  237.         sessions, you will need to assign an EHLLAPI Session Id and make  it
  238.         active (see next item) before AUTOPILOT will work.
  239.  
  240.  
  241.  
  242.   Make session available for EHLLAPI ...
  243.  
  244.    Only  used  for EHLLAPI.  If this button is checked,  this  session  will
  245.    automatically  be  Created whenever TalkThru is  initialized   When  this
  246.    happens, this means that it will be available for EHLLAPI  communications
  247.    but will not have a Terminal Emulator window.
  248.  
  249.  
  250.   Start terminal for this session ...
  251.  
  252.    If this  button  is checked, this session will  automatically  be  Opened
  253.    when  TalkThru is initialized.  When this happens, both  EHLLAPI  support
  254.    and an active Terminal Emulator are initiated.
  255.  
  256.  
  257.   Always prompt for initial settings ...
  258.  
  259.    If this  button is checked, the Start Terminal Emulation  Options  dialog
  260.    will  be  displayed  each time  this session  is Opened.  This allows any 
  261.    last minute changes to this session to be made prior to session START.
  262.  
  263.  
  264.   Once you have completed the Add Item dialog and pressed "Accept", you will
  265.   now see the "Session" dialog.
  266.  
  267.   This  dialog  is very similar to the Sessions dialog  available  from  the
  268.   Settings pull down menu.  This screen allows you confirm the Terminal  and
  269.   Device information obtained from the Model Phone Book Entry Definition.
  270.  
  271.   Press  Enter or  Ok and you  will  then  see  the "TalkThru Start Terminal
  272.   Emulation Options" dialog:
  273.  
  274.   This  again allows you to confirm basic device information  obtained  from
  275.   the Model  Phone Book Entry Definition.  This dialog is the same one  that
  276.   you will  see  each time you START this session if you  requested  Initial
  277.   Settings Prompt when you Added this item.
  278.  
  279. ┌──────────────────────────────────────────┐
  280. │ 4.4.3 Modifying Sessions In A Phone Book │
  281. └──────────────────────────────────────────┘
  282.  
  283.   Once  a Phone Book session has been created, the information is  logically
  284.   divided into two components:
  285.  
  286.    - Phone Book information regarding how the session appears and initiates
  287.  
  288.    - Session  information  about  the   technical  specifics  regarding  the
  289.      communications session it represents
  290.  
  291.   The Phone  Book  information  relating   to   a  session  is  modified  by
  292.   positioning  the Selector Bar over the item to be modified  and  selecting
  293.   the Change Item choice from the Phone Book pull down menu.
  294.  
  295.   Once you  have done  this,  you  will  see the  "Change Phone Book Listing
  296.   Information" dialog.
  297.  
  298.   This  dialog is very similar to the one used to add a Phone  Book  session
  299.   and allows  you  to  modify all the same  information.   Refer  to  Adding
  300.   Sessions  To A Phone Book if you have any questions about specific  fields
  301.   on this screen.
  302.  
  303.   The technical  aspects  of  a Session are stored in  a  Phone  Book  Entry
  304.   Definition.    For  more information on these entries  and  how  they  are
  305.   modified,  refer  to the Section, Phone Book Entry  Definitions  later  in
  306.   this chapter.
  307.  
  308. ┌───────────────────────────────────────────┐
  309. │ 4.4.4 Deleting Sessions From A Phone Book │
  310. └───────────────────────────────────────────┘
  311.  
  312.   If you  wish  to  delete  a  session from a  Phone  Book,  you  do  so  by
  313.   positioning  the  Selector  Bar over the session you wish  to  delete  and
  314.   selecting the Delete Item choice from the Phone Book pull down menu.
  315.  
  316.   If you do this, you will see the "Delete Phone Book Listing" dialog:
  317.  
  318.   REMEMBER:
  319.         When  you delete a session from a Phone Book, the Phone  Book  Entry
  320.         Definition associated with it will also be deleted.
  321.  
  322.  
  323.  
  324.  
  325.                           4.5 The Controller Panel                          
  326.  
  327.  
  328. The TalkThru Sessions Controller panel is normally hidden from the  desktop.
  329. It is available, though, from any Phone Book by requesting Controller  Panel
  330. from  the Utilities pull down menu.  The Sessions Controller Panel  contains
  331. information about ALL the TalkThru and Communications Manager sessions  that
  332. are CURRENTLY ACTIVE.
  333.  
  334. This panel will list, not only the currently active TalkThru  sessions,  but
  335. also  all  of  the  sessions reported  by  the  Communications  Manager  (if
  336. present) through the QUERY SESSIONS EHLLAPI call.
  337.  
  338. TalkThru sessions present on this list may be active in one of two  possible
  339. states:
  340.  
  341.  Created
  342.       - activated for EHLLAPI support without Terminal Emulation
  343.  
  344.  Opened
  345.       - EHLLAPI support and Terminal Emulation are both active
  346.  
  347. From this panel you may:
  348.  
  349.  
  350. Create a New Phone Book
  351.  
  352.  By selecting  New from the Phone Book pull down menu, you can create a  new
  353.  Phone  Book  exactly as you might from any open Phone Book.  Refer  to  the
  354.  Section Phone Book Maintenance in this Chapter for more information.
  355.  
  356.  
  357. Open A Phone Book
  358.  
  359.  By selecting Open from the Phone Book pull down menu, you can Open a  Phone
  360.  Book.
  361.  
  362.  WARNING:
  363.       Opening a new Phone Book WILL NOT automatically close any Phone  Books
  364.       currently  open.  If you want to close the current ones you will  have
  365.       to do so specifically once the new Phone Book has been opened.
  366.  
  367.  
  368. Review Session Status
  369.  
  370.  There  are  two  types  of session status that can  be  obtained  from  the
  371.  TalkThru Sessions Controller panel.
  372.  
  373.  You may  review  the  current  status of  each  active  session  by  Double
  374.  Clicking  the  Left  MOUSE button on the session desired  or  by  selecting
  375.  Status from the Sessions pull down menu.
  376.  
  377.  By Double  Clicking  the Right MOUSE button on the  session  desired,  more
  378.  detailed status concerning the EHLLAPI use of this session is displayed.
  379.  
  380.  
  381. Start A Session
  382.  
  383.  You may,  by  selecting Start from the Sessions pull down menu,  Start  any
  384.  TalkThru  session that is Created for EHLLAPI support but does not have  an
  385.  active  Terminal Emulator window.  This process is identical  to  selecting
  386.  the item from the Phone Book.
  387.  
  388.  
  389. Stop A Session
  390.  
  391.  By selecting  Stop  from  the Sessions pull down menu,  you  may  Stop  any
  392.  TalkThru session for which there is an active Terminal Emulator window.
  393.  
  394.  
  395. Remove A Session
  396.  
  397.  By selecting  the Remove option from the Sessions pull down menu,  you  may
  398.  remove  a  session Created for EHLLAPI support, but for which there  is  no
  399.  Terminal  Emulator  window.   Created Sessions are Sessions  for  which  no
  400.  Terminal Emulation is required, but EHLLAPI support is.
  401.  
  402.  
  403. Close The Sessions Controller Panel
  404.  
  405.  The TalkThru  Sessions Controller panel can be hidden from the  desktop  by
  406.  selecting Exit from the Phone Book pull down menu.
  407.  
  408.  
  409.  
  410.  
  411.                       4.6 Phone Book Entry Definitions                      
  412.  
  413.  
  414.  
  415. ┌────────────────┐
  416. │ 4.6.1 Overview │
  417. └────────────────┘
  418.  
  419.   Phone  Book  Entry  Definitions  are OS/2  text  files  which  describe  a
  420.   TalkThru  session.   These files are maintained in the  TalkThru  SESSIONS
  421.   directory  (usually named C:\TALKTHRU\SESSIONS) and have an  extension  of
  422.   .DEF.    The  information maintained in these files is  divided  into  two
  423.   categories:
  424.  
  425.      Session Parameters
  426.      Session Aesthetics
  427.  
  428.   Session  Parameters  represent  the technical  aspects  of  this  specific
  429.   communications session and include information such as:
  430.  
  431.    - The  device being used. This will be The OS/2 Standard COM Driver,  the
  432.      Communications  Manager  ACDI  or IBM's TCP/IP for  OS/2.  If  the  COM
  433.      Driver  or  ACDI  is  specified,  the modem  attached  to  it  must  be
  434.      ASSOCIATED  to  a  Modem Configuration File  (see  the  Chapter,  Modem
  435.      Configuration Files).
  436.  
  437.    - The specific Terminal Protocol to be used for this session.
  438.  
  439.    - Whether  the  connection  requires a DIAL  operation,  what  the  phone
  440.      number is, should it retry, how often, etc.
  441.  
  442.    - Whether the connection should occur automatically at startup.
  443.  
  444.    - The    timing adjustments that are associated with  the  Clipboard  and
  445.      File Transfer.
  446.  
  447.    - The  mapping  of the PC Keyboard to the host keys including  the  ASCII
  448.      escape sequences that represent the host keys.
  449.  
  450.    - The  definition  of  Emulator Buttons and the  activities  they  should
  451.      perform.
  452.  
  453.   Session  Aesthetics  represent   information regarding  how  this  session
  454.   appears to the user.  This information includes:
  455.  
  456.    - A description for this session used to represent it in the Phone Book.
  457.  
  458.    - How the MOUSE should react while in Terminal Emulation.  This  includes
  459.      what  activity  should  occur  when the Left  mouse  button  is  Double
  460.      Clicked  and  when  the  Right mouse button  is  Single  Clicked.   The
  461.      activities that can occur include:
  462.  
  463.           positioning the cursor
  464.           sending the Enter Key
  465.           sending the character under the cursor
  466.           sending the character plus Enter
  467.           sending the word under the cursor
  468.           sending the word plus Enter
  469.           sending the host key indicated by the word (i.e. PF1)
  470.  
  471.    - The  aesthetic  appearance  of  the  Terminal  Emulator  screen.   This
  472.      includes:
  473.  
  474.           how the cursor should appear
  475.           should a click occur when keys are pressed
  476.           whether Vertical/Horizontal Scroll Bars should appear
  477.  
  478.    - What information should appear on the Status Line.
  479.  
  480.    - A mapping  of  Foreground/Background colors to the various  host  field
  481.      attribute bytes supported by this particular protocol.
  482.  
  483.    - An  indication  of  the Fixed FONT to use  for  the  Terminal  Emulator
  484.      Screen.
  485.  
  486.  
  487.   The accuracy  of  the  information  contained  in  the  Phone  Book  Entry
  488.   Definitions  is  critical to the successful operation of  TalkThru.  Since
  489.   there  is  so  much  variation in  the  combination  of  devices,  modems,
  490.   terminal  protocols,  and  protocol   converters,  it  is  impossible  for
  491.   TalkThru  to  be  distributed  with a complete set  of  Phone  Book  Entry
  492.   Definitions  for  your specific needs.  Also, it would be  very  difficult
  493.   for you to have to build one from scratch.
  494.  
  495.   To help  you  in building the necessary Phone Book Entry  Definitions  for
  496.   your  needs, TalkThru is provided using the concept of  Model  Descriptors
  497.   and several MODELS are distributed with the product.  Each time you add  a
  498.   new item  to your Phone Book, you will be asked to specify a  Model  Phone
  499.   Book  Entry Definition.  This allows you to see the description field  for
  500.   each Phone Book Entry Definition which has been defined as a MODEL and  to
  501.   select the one which Best Represents the session you want to add.
  502.  
  503.   IMPORTANT:
  504.        Not all  Phone Book Entry Definitions are considered MODELS.  If  you
  505.        wish  to make a Phone Book Entry Definition a model, refer to  Making
  506.        A Model Phone Book Entry later in this chapter.
  507.  
  508. ┌──────────────────────────────────────────────┐
  509. │ 4.6.2 Modifying Phone Book Entry Definitions │
  510. └──────────────────────────────────────────────┘
  511.  
  512.   Phone  Book Entry Definitions are modified through dialogs  provided  with
  513.   TalkThru.    These  dialogs can be accessed  from  several  places  within
  514.   TalkThru:
  515.  
  516.    - When  you  add a session to a Phone Book, some  initial  questions  are
  517.      asked regarding this session.
  518.  
  519.    - From  the  Phone Book window, request the Settings pull down  menu  and
  520.      you  may  modify the Phone Book Entry Definition  currently  under  the
  521.      Selector Bar.
  522.  
  523.    - From the Terminal Emulator window, request the Settings pull down  menu
  524.      to modify the settings for the current session.
  525.  
  526.   Help  for  the  individual  fields on each  of  the  Settings  dialogs  is
  527.   available  by positioning the cursor over the desired field  and  pressing
  528.   F1 or pressing the Help button with the MOUSE.
  529.  
  530.  
  531.  
  532.  
  533.                     4.7 Making A Model Phone Book Entry                     
  534.  
  535.  
  536. There  is currently no dialog within TalkThru to assign or unassign a  Phone
  537. Book  Entry Definition as a MODEL.  Currently, if you wish to do  this,  you
  538. must perform the following steps:
  539.  
  540. 1. Request an OS/2 Full Screen session.
  541.  
  542. 2. Change  the  directory  to   the  TalkThru  SESSIONS  directory  (usually
  543.    C:\TALKTHRU\SESSIONS).
  544.  
  545. 3. Edit the Phone Book Entry Definition file you wish to make a Model.   The
  546.    name  consists of the eight character name you provided when you  created
  547.    it and the extension .DEF.
  548.  
  549. 4. Add or Delete the following line as the first record in the file:
  550.    
  551.    MODEL=YES
  552.