home *** CD-ROM | disk | FTP | other *** search
/ Power-Programmierung / CD1.mdf / pascal / library / dos / pibsoft / terminal / doc / pt41guid.doc < prev    next >
Encoding:
Text File  |  1988-02-28  |  533.9 KB  |  9,892 lines

  1.  
  2.  
  3.  
  4.  
  5.  
  6.  
  7.             
  8.             
  9.             
  10.             
  11.             
  12.             
  13.             
  14.             
  15.             
  16.             
  17.             
  18.             
  19.             
  20.             
  21.             
  22.             
  23.             
  24.             
  25.             
  26.             
  27.             
  28.             
  29.             
  30.                 +=================================================+
  31.                 +=================================================+
  32.                 |      A Guide To PibTerm v4.1 At Northwestern    |
  33.                 |      A Guide To PibTerm v4.1 At Northwestern    |
  34.                 +=================================================+
  35.                 +=================================================+
  36.                                           
  37.                                           
  38.                                           
  39.                                           
  40.             
  41.             
  42.             
  43.             
  44.             
  45.             
  46.             
  47.             
  48.             
  49.             
  50.             
  51.             
  52.             
  53.             
  54.             
  55.             
  56.                   Copyright (c) February, 1988 by Philip R. Burns
  57.                   Copyright (c) February, 1988 by Philip R. Burns
  58.  
  59.  
  60.                                                                         i
  61.  
  62.  
  63.             
  64.             What Is PibTerm? ......................................    1
  65.             What Is PibTerm? ......................................    1
  66.             What Is Terminal Emulation? ...........................    1
  67.             What Is Terminal Emulation? ...........................    1
  68.                 What is a terminal? ...............................    1
  69.                 Types of terminals ................................    1
  70.                     Dumb ..........................................    1
  71.                     Smart .........................................    1
  72.                 Terminals emulated by PibTerm .....................    1
  73.                     Dec VT100 -- for all ACNS mainframe use .......    1
  74.                     Tektronix 4010 -- for graphics display ........    1
  75.             What Is A File Transfer? ..............................    2
  76.             What Is A File Transfer? ..............................    2
  77.             PibTerm Features ......................................    2
  78.             PibTerm Features ......................................    2
  79.                 Dialing Directory .................................    3
  80.                 Menu Selection ....................................    4
  81.             Getting A Copy Of PibTerm .............................    4
  82.             Getting A Copy Of PibTerm .............................    4
  83.             System Requirements For PibTerm .......................    4
  84.             System Requirements For PibTerm .......................    4
  85.             Installing PibTerm ....................................    4
  86.             Installing PibTerm ....................................    4
  87.                 Using the INSTALL program .........................    5
  88.             Starting Up PibTerm ...................................    5
  89.             Starting Up PibTerm ...................................    5
  90.             PibTerm Commands ......................................    6
  91.             PibTerm Commands ......................................    6
  92.                 PibTerm commands have form <ALT>letter ............    6
  93.                 Displaying <ALT>key commands  -- <ALT>I ...........    6
  94.             Making Menu Selections ................................    6
  95.             Making Menu Selections ................................    6
  96.                 Using arrow keys to move within a menu ............    6
  97.                 Using Enter to select a menu item .................    6
  98.                 Using ESC to exit a menu ..........................    7
  99.             Using A Mouse With PibTerm ............................    7
  100.             Using A Mouse With PibTerm ............................    7
  101.                 Why use a mouse ...................................    7
  102.                 Loading the mouse menu PIBTERM.MNU ................    7
  103.                 Customizing the mouse menu in PIBTERM.DEF .........    7
  104.                 What the mouse buttons do .........................    7
  105.                     Left button -- select menu item ...............    8
  106.                     Right button -- Enter .........................    8
  107.                     Both buttons together -- ESC ..................    8
  108.                     Using mouse in place of arrow keys ............    8
  109.                 What the mouse menu looks like ....................    8
  110.             Changing PibTerm Parameters -- <ALT>P .................    8
  111.             Changing PibTerm Parameters -- <ALT>P .................    8
  112.                 The PIBTERM.CNF configuration file ................    9
  113.                 Primary parameter display using <ALT>P ............   10
  114.                 Brief description of <ALT>P submenus ..............   10
  115.                 Communications parameters submenu .................   11
  116.                 Baud rate sub-sub-menu ............................   12
  117.                 Writing a new parameter file ......................   13
  118.                 Reading a new parameter file ......................   13
  119.             Keyboard Editing ......................................   14
  120.             Keyboard Editing ......................................   14
  121.                 Editing an existing value .........................   14
  122.                 Insert mode versus overstrike mode ................   15
  123.                 Using the <CTRL>P key to enter control codes ......   15
  124.                 Using the ^ key to enter control codes ............   15
  125.                 Using DOS For Keyboard Editing ....................   16
  126.             Connecting To A Remote System With PibTerm ............   16
  127.             Connecting To A Remote System With PibTerm ............   16
  128.                 Hard-wired access .................................   16
  129.                 Modem access ......................................   16
  130.                 Types of modems ...................................   16
  131.  
  132.  
  133.                                                                         ii
  134.  
  135.  
  136.                     Acoustic coupler modem ........................   16
  137.                     Direct connect modem ..........................   17
  138.                         Higher transmission speeds ................   17
  139.                         Hayes "AT" command set ....................   17
  140.                 DIU access ........................................   17
  141.             Communications Parameters .............................   17
  142.             Communications Parameters .............................   17
  143.                 Characters, bits, and bytes .......................   17
  144.                 Serial communications .............................   18
  145.                     Asynchronous communications ...................   18
  146.                     Synchronous communications ....................   18
  147.                 Baud Rate or Speed of connection ..................   18
  148.                 Data Bits .........................................   18
  149.                     ASCII character set ...........................   18
  150.                     Extended Ascii character set ..................   19
  151.                     EBCDIC character set ..........................   19
  152.                 Parity ............................................   19
  153.                     Parity Check ..................................   19
  154.                         Space Parity ..............................   19
  155.                         Mark Parity ...............................   19
  156.                         Even Parity ...............................   19
  157.                         Odd Parity ................................   19
  158.                         No Parity .................................   20
  159.                 Stop Bits .........................................   20
  160.             Parameters For Commonly Accessed Systems ..............   20
  161.             Parameters For Commonly Accessed Systems ..............   20
  162.                 Parameters for ACNS mainframes ....................   20
  163.                 Parameters for micro-to-micro connections .........   20
  164.                 Changing parameters quickly -- <ALT>N .............   21
  165.                     Automatic dialing speed adjustments ...........   21
  166.                 Local versus Remote Echo -- <ALT>E ................   21
  167.                     Duplicate or "stuttered" characters ...........   22
  168.             Flow Control ..........................................   22
  169.             Flow Control ..........................................   22
  170.                 Xon/Xoff ..........................................   22
  171.                 Clear-to-send (CTS/RTS) ...........................   23
  172.                 Dataset Ready (DSR/DTR) ...........................   23
  173.             Setting Up A Modem For Use With PibTerm ...............   23
  174.             Setting Up A Modem For Use With PibTerm ...............   23
  175.                 Carrier Detect Line ...............................   24
  176.                 Data Terminal Ready (DTR) Line ....................   24
  177.                 MNP error correction ..............................   25
  178.                     Disabling MNP on Hayes-compatible modems ......   25
  179.                 Hard-Wired Access .................................   26
  180.                     Gaining attention of the PACX .................   26
  181.                         Sending a break using <ALT>B ..............   26
  182.                     Indicating a connection is hard-wired .........   26
  183.                 DIU/AILU Access ...................................   26
  184.             Setting Up And Using The Dialing Directory ............   27
  185.             Setting Up And Using The Dialing Directory ............   27
  186.                 Dialing directory file PIBTERM.FON ................   27
  187.                 Dialing directory is memory resident ..............   27
  188.                 Sections of the dialing directory .................   29
  189.                 Revising a dialing entry ..........................   32
  190.                 Dialing prefixes and suffixes .....................   32
  191.                     Default prefix and suffix .....................   33
  192.                 Redialing the last number dialed -- <ALT>Q ........   34
  193.                 Dialing a list of numbers .........................   34
  194.                 Using The Short Dialing Prompt ....................   34
  195.  
  196.  
  197.                                                                         iii
  198.  
  199.  
  200.                 Dialing A System By Name ..........................   35
  201.                 Backing up PIBTERM.FON ............................   35
  202.                 Automatic Dialing Speed Adjustment ................   36
  203.                 Modem Pools .......................................   36
  204.                     Preventing line drops during dialing attempts .   37
  205.                     Setting carrier detect always high ............   37
  206.                 Dialing Problems ..................................   38
  207.                     Modem timeout too small .......................   38
  208.                     Making sure the port is correct ...............   38
  209.                     Touch-Tone versus Rotary Dial lines ...........   38
  210.                     Carrier detect line problems ..................   39
  211.                     Characters dropped when dialing ...............   39
  212.             VT100 Terminal Emulation ..............................   41
  213.             VT100 Terminal Emulation ..............................   41
  214.                 VT100 is default ..................................   41
  215.                 Changes required for different ACNS systems .......   41
  216.                     Backspace key .................................   41
  217.                     Keypad definitions ............................   41
  218.                     Scripts to set the parameters .................   41
  219.                 The Backspace key .................................   41
  220.                 VT100 keypad definitions ..........................   42
  221.                     Types of IBM keyboards ........................   42
  222.                     Loading a function key definition file ........   43
  223.                     Using PibTerm with VAX/VMS ....................   43
  224.                     Using PibTerm with IBM CMS ....................   46
  225.                     Using PibTerm with NOS ........................   47
  226.                 Automatic Loading of Function Key Definitions .....   48
  227.                 Switching Between VT100 Keypad Modes ..............   48
  228.                 The PibTerm Status Line ...........................   49
  229.                 The Scroll Lock Key ...............................   51
  230.                 Resetting the Terminal -- <SHIFT>TAB ..............   51
  231.                 Clearing the Screen -- <ALT>C .....................   51
  232.                 What Doesn't Work in VT100 emulation ..............   51
  233.                     132 column mode ...............................   51
  234.                     Double high, double wide characters ...........   51
  235.                         132 column support with ATI EGA/VGA .......   52
  236.                         Simulated double size characters ..........   52
  237.             Other Text Terminal Emulation Modes ...................   52
  238.             Other Text Terminal Emulation Modes ...................   52
  239.                 ADM3a, ADM5, TV925, VT52 ..........................   52
  240.                 ANSI/BBS ..........................................   52
  241.                 Dumb terminal mode ................................   52
  242.                     Dumb terminal output through MS DOS ...........   52
  243.             Gossip Mode ...........................................   53
  244.             Gossip Mode ...........................................   53
  245.                 Split-screen mode .................................   53
  246.                 Line mode versus character mode ...................   53
  247.                 Gossip mode for transferring files ................   54
  248.                 Adding line feeds .................................   54
  249.             Graphics Terminal Emulation -- Tek 4010 ...............   54
  250.             Graphics Terminal Emulation -- Tek 4010 ...............   54
  251.             File Transfers ........................................   55
  252.             File Transfers ........................................   55
  253.                 How Protocols Work ................................   56
  254.                 Kermit ............................................   57
  255.                     Performance Considerations With Kermit ........   58
  256.                 Types of Files ....................................   59
  257.                     Text files ....................................   59
  258.                     Binary files ..................................   59
  259.  
  260.  
  261.                                                                         iv
  262.  
  263.  
  264.                 Uploading versus Downloading ......................   60
  265.                     <ALT>S -- Sending a file ......................   60
  266.                     <ALT>R -- Receiving a file ....................   60
  267.                 Using the Kermit protocol .........................   60
  268.                 Steps in performing a Kermit transfer .............   60
  269.                     Getting files on the Cyber ....................   60
  270.                     Executing Kermit on the mainframe .............   60
  271.                     Indicating the type of file to be transferred.    60
  272.                         SET FILE BINARY for SPSSX export files. ...   61
  273.                     Turning on the long blocks option .............   61
  274.                     Placing the remote Kermit in server mode. .....   61
  275.                     Asking PibTerm to receive a file -- PgDn ......   61
  276.                     Asking PibTerm to send a file -- PgUp .........   61
  277.                         Using <ALT>R to receive a file ............   62
  278.                         Using <ALT>S to send a file ...............   62
  279.                         Selecting a file transfer protocol. .......   62
  280.                     Selecting the file name to be transmitted .....   63
  281.                     Getting out of Kermit server mode .............   63
  282.                     Quitting Kermit ...............................   63
  283.                     Saving files on the Cyber .....................   64
  284.                 Kermit autodownload ...............................   64
  285.                 Kermit between IBM PC and Apple Macintosh .........   64
  286.                 Kermit Protocol Parameters ........................   66
  287.                 Setting a download directory ......................   66
  288.                 Transfer Statistics ...............................   66
  289.             File Transfer Trouble-Shooting With Kermit ............   67
  290.             File Transfer Trouble-Shooting With Kermit ............   67
  291.                 File transfer never begins ........................   67
  292.                 Kermit aborts during a transfer ...................   68
  293.                 Host doesn't respond to FINISH server request .....   69
  294.             Other File Transfer Protocols .........................   70
  295.             Other File Transfer Protocols .........................   70
  296.                 Xmodem family .....................................   70
  297.                     Xmodem ........................................   70
  298.                     Xmodem 1K .....................................   71
  299.                     Modem7 ........................................   71
  300.                     Ymodem ........................................   71
  301.                     Telink protocol ...............................   72
  302.                     Mahoney BBS batch protocol ....................   72
  303.                     Other Xmodem family protocols .................   73
  304.                 Zmodem ............................................   73
  305.                     DSZ program ...................................   73
  306.                     Autodownload with Zmodem ......................   74
  307.                 Compuserve B Protocol .............................   74
  308.                 Automatic File Name Extraction For Transfers ......   75
  309.             Non-Protocol File Transfers ...........................   75
  310.             Non-Protocol File Transfers ...........................   75
  311.             External File Transfer Protocols ......................   78
  312.             External File Transfer Protocols ......................   78
  313.                 Steps in Adding a User-Defined Protocol ...........   78
  314.                     Step 1 -- Find a suitable auxilliary program. .   78
  315.                     Step 2 -- Add protocol to configuration file. .   79
  316.                     Step 3 -- Write batch files for send/receive ..   82
  317.             Hanging Up The Phone -- <ALT>H ........................   83
  318.             Hanging Up The Phone -- <ALT>H ........................   83
  319.             Exiting PibTerm -- <ALT>X .............................   83
  320.             Exiting PibTerm -- <ALT>X .............................   83
  321.             On Being A Host -- <ALT>W .............................   84
  322.             On Being A Host -- <ALT>W .............................   84
  323.                 What is host mode? ................................   84
  324.                 Single-user and multiple-user access ..............   84
  325.  
  326.  
  327.                                                                         v
  328.  
  329.  
  330.             Using Host Mode In Single User Access .................   84
  331.             Using Host Mode In Single User Access .................   84
  332.                 Entering a name and password ......................   85
  333.                 Superusers versus ordinary users ..................   85
  334.                 Initial host mode messages ........................   85
  335.                 The status line in host mode ......................   85
  336.                 Starting a host-mode session ......................   86
  337.                 Welcome message in host mode ......................   86
  338.                 Entering user name and password ...................   87
  339.                 Main host-mode menu ...............................   87
  340.                     Gossip mode ...................................   88
  341.                 Host mode file transfer menu ......................   89
  342.                 What programs can be executed remotely ............   89
  343.                 Alternate CTTY drivers ............................   89
  344.             Setting up multiple-user host mode ....................   90
  345.             Setting up multiple-user host mode ....................   90
  346.             Scripts -- Tailored Task Handling .....................   91
  347.             Scripts -- Tailored Task Handling .....................   91
  348.                 The script language -- a programming language .....   91
  349.                     PibTerm Script Language Reference Guide .......   92
  350.                 A sample script -- logging into the Vax ...........   92
  351.                     SText -- send text to remote system ...........   92
  352.                     WaitString -- wait for text from remote system    93
  353.                     Repeat/Until loop .............................   93
  354.                 Executing a script ................................   94
  355.                 Terminating script execution -- <ALT>X ............   94
  356.                 Security considerations with login scripts ........   94
  357.                 Script learn feature ..............................   95
  358.                     Learning a script to log into the ACNS Vax ....   95
  359.                 Script Memory Problems ............................   97
  360.                     Unloading scripts from memory .................   98
  361.                 Another Sample Script -- Dialing By Name ..........   98
  362.             Access To The Operating System -- <ALT>J ..............  101
  363.             Access To The Operating System -- <ALT>J ..............  101
  364.             Manipulating DOS Files From PibTerm -- <ALT>F .........  102
  365.             Manipulating DOS Files From PibTerm -- <ALT>F .........  102
  366.                 Active directory change ...........................  102
  367.                 Copy file .........................................  102
  368.                 Directory display .................................  102
  369.                 Editing a file ....................................  102
  370.                 Free space on drive ...............................  102
  371.                 Logged drive change ...............................  102
  372.                 Print a file ......................................  102
  373.                 View a file .......................................  102
  374.                 Zap (erase) a file ................................  102
  375.             Editing a file ........................................  103
  376.             Editing a file ........................................  103
  377.                 Maximum size file which can be edited .............  104
  378.                 Editing Commands ..................................  104
  379.                     Cursor Movement ...............................  104
  380.                     Insert and Delete .............................  105
  381.                     Block Commands ................................  105
  382.                     Search and Replace ............................  105
  383.                     Quitting the Editor ...........................  106
  384.                     Miscellaneous .................................  106
  385.                 Invoking an External Editor .......................  106
  386.             Viewing a file ........................................  107
  387.             Viewing a file ........................................  107
  388.                 Invoking an External File Viewer ..................  108
  389.             Defining Function Keys -- <ALT>K ......................  109
  390.             Defining Function Keys -- <ALT>K ......................  109
  391.                 Displaying current key definitions ................  109
  392.  
  393.  
  394.                                                                         vi
  395.  
  396.  
  397.                 Reading key definitions from a file ...............  109
  398.                 Entering key definitions at keyboard ..............  110
  399.                 Requesting extended keypad handling ...............  111
  400.                 Writing key definitions to a file .................  111
  401.                 Quitting key definition mode ......................  112
  402.                 Contents of key definition strings ................  112
  403.                 Intercharacter Delays in Function Key Definitions .  113
  404.                 Attaching PibTerm commands to function keys .......  113
  405.                 Attaching a Script to a Function Key ..............  114
  406.                 Setting a function key subdirectory ...............  114
  407.             Session Logging .......................................  115
  408.             Session Logging .......................................  115
  409.                 Logging session to printer -- <ALT>L ..............  115
  410.                     Printer setup string ..........................  115
  411.                 Capture session to disk -- <ALT>O .................  115
  412.                     Edited and unedited captures ..................  116
  413.                     Special information lines .....................  116
  414.                 Activating PIBTERM.LOG file .......................  116
  415.             Screen Dumps Using <ALT>U .............................  116
  416.             Screen Dumps Using <ALT>U .............................  116
  417.                 Text images to file SCRNDUMP.DAT ..................  116
  418.                 Tek 4010 images to file GSCRNDUM.DAT ..............  117
  419.             Scanning the Review Buffer -- <ALT>V ..................  117
  420.             Scanning the Review Buffer -- <ALT>V ..................  117
  421.                 Changing review buffer size .......................  117
  422.                 Moving around in the review buffer ................  117
  423.             Mute Mode -- <ALT>M ...................................  118
  424.             Mute Mode -- <ALT>M ...................................  118
  425.                 ANSI/BBS music ....................................  118
  426.                 Host mode GOSSIP ..................................  118
  427.             Translate Table -- <ALT>T .............................  118
  428.             Translate Table -- <ALT>T .............................  118
  429.             Editing A Line On The Screen -- <ALT>A ................  118
  430.             Editing A Line On The Screen -- <ALT>A ................  118
  431.             Displaying Session Timers -- <ALT>Y ...................  119
  432.             Displaying Session Timers -- <ALT>Y ...................  119
  433.             Finding An Area Code -- <ALT>Z ........................  120
  434.             Finding An Area Code -- <ALT>Z ........................  120
  435.             PibTerm Program Parameters ............................  120
  436.             PibTerm Program Parameters ............................  120
  437.             Speeding Up PibTerm Access ............................  121
  438.             Speeding Up PibTerm Access ............................  121
  439.                 Placing PibTerm files on a RAM disk ...............  121
  440.                 Using expanded memory for PibTerm overlay file ....  121
  441.                 Cutting down size of dialing directory ............  121
  442.             Changing Colors in PibTerm ............................  121
  443.             Changing Colors in PibTerm ............................  121
  444.                 VT100 colors ......................................  122
  445.             Changing Screen Display Size on EGA/VGA Adapters ......  122
  446.             Changing Screen Display Size on EGA/VGA Adapters ......  122
  447.             Command Line Mode .....................................  123
  448.             Command Line Mode .....................................  123
  449.                 Command mode key definition .......................  123
  450.                 Script Commands allowed in command line mode ......  123
  451.             PibTerm And MultiTasking Software .....................  124
  452.             PibTerm And MultiTasking Software .....................  124
  453.                 Supported multitaskers ............................  124
  454.                     PIBTERM.DVP file for DesqView .................  125
  455.                     TASKVIEW.NOT file for TaskView ................  125
  456.                 Turning off direct screen writes ..................  125
  457.             Programs Which Conflict With PibTerm ..................  125
  458.             Programs Which Conflict With PibTerm ..................  125
  459.             General Trouble-Shooting Hints ........................  126
  460.             General Trouble-Shooting Hints ........................  126
  461.                 PibTerm hangs upon startup ........................  126
  462.                 PibTerm doesn't clear menus correctly .............  127
  463.                 Overlay file not found. ...........................  127
  464.                 No communications .................................  127
  465.                 Jump to DOS fails .................................  129
  466.                 Communications proceed, but VERY slowly. ..........  129
  467.  
  468.  
  469.                                                                         vii
  470.  
  471.  
  472.                 Screen display "snows" badly ......................  130
  473.                 Many characters dropped in screen display. ........  130
  474.                 Saving changed parameters .........................  131
  475.             A Final Word From The Author ..........................  131
  476.             A Final Word From The Author ..........................  131
  477.             Appendix A -- Installing PibTerm ......................  133
  478.             Appendix A -- Installing PibTerm ......................  133
  479.                 Hard Disk Installation ............................  133
  480.                 Single-floppy (>360K) system ......................  136
  481.                 Dual-floppy system ................................  138
  482.                 Single-floppy system, 360K only ...................  141
  483.             Index .................................................  143
  484.             Index .................................................  143
  485.  
  486.  
  487.  
  488.  
  489.  
  490.             
  491.             
  492.             
  493.             What Is PibTerm?
  494.             What Is PibTerm?
  495.             
  496.             PibTerm   is   a   flexible   terminal  emulation  and  file
  497.             transfer software  package for  the  IBM/PC  and  compatible
  498.             machines.   PibTerm lets your PC emulate a VT100 terminal on
  499.             both the   Cyber  and   VAX.   You  can  also perform Kermit
  500.             protocol  file   transfers  without   exiting  the  program.
  501.             PibTerm is fully  menu  driven.
  502.             
  503.             This guide  provides an  introduction to  the use of PibTerm
  504.             with the ACNS mainframe computers.  You may also want to get
  505.             two  associated   documents:  the  PibTerm  Script  Language
  506.                                                PibTerm  Script  Language
  507.             Reference  Manual   and  the  PibTerm  Parameters  Reference
  508.             Reference  Manual             PibTerm  Parameters  Reference
  509.             Manual.
  510.             Manual 
  511.             
  512.             
  513.             What Is Terminal Emulation?
  514.             What Is Terminal Emulation?
  515.             
  516.             A terminal  is a  peripheral device  that allows access to a
  517.               terminal                                                  
  518.             computer system.   Terminals  generally  have  a  screen  or
  519.             printer  for  displaying  information  and  a  keyboard  for
  520.             entering information.  Different brands of terminals possess
  521.             different  attributes   that  are  recognized  by  the  host
  522.             machine: for  example, a  specific keyboard layout or screen
  523.             display format.  Some terminals  are "dumb:" they are slaves
  524.                                                   dumb                  
  525.             of the  host computer  to which  they are  attached.  A dumb
  526.             terminal provides  for simple  input and  output and  cannot
  527.             process information  or  transfer  files.    Most  terminals
  528.             nowadays are  "smart:"   they are  capable of processing and
  529.                            smart                                        
  530.             storing information on their own tapes, disks, and printers.
  531.             
  532.             A microcomputer  also has  a display  screen and a keyboard.
  533.             These provide access to the built-in microprocessor.  But it
  534.             is also  possible to  use the  microcomputer  as  a  "smart"
  535.             terminal  because  of  the  power  of  that  microprocessor.
  536.             Usually micro-computers are programmed to mimic or "emulate"
  537.             one of  the "real"  dumb or smart terminal types in order to
  538.             access another remote computer that is designed to work with
  539.             that kind  of terminal.   Using  a microcomputer to mimic or
  540.             emulate a terminal in this way is called terminal emulation.
  541.             emulate                                  terminal emulation 
  542.             
  543.             Pibterm  effectively   turns  an   IBM  PC   or   compatible
  544.             microcomputer into  several different  terminal types.  Most
  545.             importantly for  use at  Northwestern,  PibTerm  emulates  a
  546.             Digital Equipment  Corporation VT100  terminal, which is the
  547.             standard for  all ACNS  mainframe systems and many others as
  548.             well. PibTerm  also emulates  other Dec,  Televideo, and ADM
  549.             terminals.
  550.             
  551.             In addition  to these standard "text" terminals, PibTerm can
  552.             emulate  the   display  facilities  of  the  Tektronix  4010
  553.  
  554.  
  555.             A Guide to PibTerm v4.1 at Northwestern               Page 2
  556.             A Guide to PibTerm v4.1 at Northwestern               Page 2
  557.  
  558.  
  559.             graphics terminal.  This  allows  you  to  preview  graphics
  560.             output from  mainframe packages like DI 3000 or SAS/GRAPH on
  561.             your microcomputer  before sending  the graphics output to a
  562.             hardcopy plotter.   You  need a  graphics display  card  and
  563.             monitor to use Tektronix 4010 emulation.
  564.             
  565.             
  566.             What Is A File Transfer?
  567.             What Is A File Transfer?
  568.             
  569.             Data communication  is the passing of information from point
  570.             to  point.     Pibterm,   regardless  of   all   its   other
  571.             capabilities, would  be of little value if it didn't provide
  572.             for the  safe and  reliable transport  of data files between
  573.             computers.   By providing  access to  standard file transfer
  574.             protocols like Kermit and Xmodem (among many others), it not
  575.             only satisfies  this need  but maximizes  the number of host
  576.             systems with which  it can share file transfer capabilities.
  577.             
  578.             
  579.             PibTerm Features
  580.             PibTerm Features
  581.             
  582.             PibTerm sports  many other  features that    may    be    of
  583.             interest once you're comfortable with the basics:
  584.             
  585.                - A variety of file transfer protocols besides Kermit
  586.                - Script file usage
  587.                - DOS file manipulation without leaving PibTerm
  588.                - Built-in full-screen editor for small files
  589.                - Session logging to a disk or printer
  590.                - Review buffer for current session
  591.                - Host mode capabilities
  592.                - Runs in background with popular multitasking software
  593.             
  594.             The Kermit  protocol is  standard for all ACNS machines, and
  595.             for microcomputer  to microcomputer  transfers (for example,
  596.             IBM PC  to IBM  PC or  IBM PC  to MacIntosh computers).  But
  597.             there are  also many other transfer protocols in common use.
  598.             The Christensen protocol -- often called the Xmodem protocol
  599.             -- is very popular for file transfers between microcomputers
  600.             (for example, Xmodem is the only transfer protocol supported
  601.             by MacTerminal).   PibTerm incorporates a variety of Xmodem-
  602.             based protocols  and also  allows you to hook in externally-
  603.             defined protocols.   But  for ACNS  use, and  most micro-to-
  604.             micro transfers, all you'll need is Kermit.
  605.             
  606.             PibTerm provides  a comprehensive script writing utility.  A
  607.             script is  a series of commands to PibTerm which can be used
  608.             to automate  routine communications  tasks like dialing into
  609.             an ACNS  system.   See the section "Scripts -- Tailored Task
  610.             Handling."
  611.             
  612.             PibTerm allows  access to  the  DOS  operating  system  from
  613.             within a  PibTerm session,  so that  you don't have to leave
  614.  
  615.  
  616.             A Guide to PibTerm v4.1 at Northwestern               Page 3
  617.             A Guide to PibTerm v4.1 at Northwestern               Page 3
  618.  
  619.  
  620.             PibTerm to  execute a  DOS command.  See the section "Access
  621.             to the Operating System."
  622.             
  623.             PibTerm incorporates  a full-screen  editor so  you can edit
  624.             DOS files  right from  within  PibTerm.    See  the  section
  625.             "Editing a file."
  626.             
  627.             PibTerm can record an entire session with a host computer on
  628.             the printer or in a disk file.  This is useful for keeping a
  629.             record of what you did.  See the section "Session logging."
  630.             
  631.             PibTerm records the last few lines while you're connected to
  632.             a remote  system in  a special  review buffer.  You can scan
  633.             and search this review buffer, or write it to disk.  This is
  634.             helpful for  checking what commands you just typed but which
  635.             scrolled off  the screen,  or for  looking at  the output of
  636.             earlier commands.   See  the section  "Scanning  the  review
  637.             buffer."
  638.             
  639.             PibTerm can act as a host system, accepting calls from other
  640.             computers, and  provide remote  DOS access and file transfer
  641.             capabilities along  with password  security to  protect your
  642.             system from unauthorized callers.  See the section "On Being
  643.             a Host."
  644.             
  645.             PibTerm is designed to work effectively with several popular
  646.             multitasking environments.   This allows you to perform file
  647.             transfers as  a "background" process while you do other work
  648.             on  your   PC.    Supported  multitasking  environments  are
  649.             DoubleDos, DesqView, TopView, and TaskView.  See the section
  650.             "PibTerm and Multitasking Software" for more details.
  651.             
  652.             
  653.             Dialing Directory
  654.             Dialing Directory
  655.             
  656.             For convenience,  PibTerm provides  a dialing directory with
  657.             two hundred  entries.   (You can have a smaller directory if
  658.             you wish.)   Each entry contains all the data communications
  659.             information needed to complete a connection. A script may be
  660.             assigned to  each directory  entry, and  that script will be
  661.             executed upon  successful connection with the remote system.
  662.             Thus, you  can press  one or  two keys and PibTerm will dial
  663.             the remote computer, establish a connection, log you in, and
  664.             leave you ready to start work.
  665.             
  666.             PibTerm has  a mechanism  for  using  special  long-distance
  667.             dialing services,  which frequently  require you  to prepend
  668.             and or/append access codes to numbers you wish to call.
  669.             
  670.             The PibTerm  release  materials  include  a  sample  dialing
  671.             directory which lists phone numbers for ACNS systems.
  672.             
  673.             For more information, see the section "Setting Up And Using
  674.             The Dialing Directory."
  675.  
  676.  
  677.             A Guide to PibTerm v4.1 at Northwestern               Page 4
  678.             A Guide to PibTerm v4.1 at Northwestern               Page 4
  679.  
  680.  
  681.             
  682.             
  683.             Menu Selection
  684.             Menu Selection
  685.             
  686.             PibTerm is  a menu-driven  system. Once  you start  PibTerm,
  687.             you'll be  able to  familiarize yourself  with most  of  its
  688.             capabilities by  simply browsing  through the menus. You can
  689.             use a  command-line form  of control  for PibTerm,  but  the
  690.             menus are generally more convenient.
  691.             
  692.             You can also use a mouse to control PibTerm.  A sample mouse
  693.             menu setup  for the  Microsoft mouse  is provided as part of
  694.             the PibTerm release materials.
  695.             
  696.             
  697.             Getting A Copy Of PibTerm
  698.             Getting A Copy Of PibTerm
  699.             
  700.             Perhaps the  nicest feature  of all  is that PibTerm is free
  701.             software, with  no charge  for academic,  not-for-profit, or
  702.             personal use.  You can  get a copy of PibTerm by bringing in
  703.             three formatted  blank 5  1/4" MS DOS formatted diskettes to
  704.             the Information  Center in  the Vogelback  building  on  the
  705.             Evanston Campus,  or in the Chicago Campus Computer Facility
  706.             in Wieboldt Hall.
  707.             
  708.             
  709.             System Requirements For PibTerm
  710.             System Requirements For PibTerm
  711.             
  712.             In order  to run PibTerm, you need an IBM PC or clone system
  713.             with at  least 320K of RAM memory.  You should have at least
  714.                  at  least                                              
  715.             two 360K  diskette  drives,  or  one  720K  diskette  drive.
  716.             Larger capacity  disks (e.g., hard disks) are helpful.  Your
  717.             PC must  be equipped  with a  serial port.  If you intend to
  718.             dial in using PibTerm, you will need a modem -- preferably a
  719.             Hayes compatible  "AT" command  set  modem.    You  must  be
  720.             running DOS 2.0 or later to use PibTerm.
  721.             
  722.             It is  POSSIBLE to  run PibTerm  on  a  single  360K  floppy
  723.             diskette system,  but we  advise against  it --  the  floppy
  724.             shuffle that  results is  annoying.  If you have a full 640K
  725.             of memory,  then you  can create a RAMDisk and use that as a
  726.             second disk drive.
  727.             
  728.             
  729.             Installing PibTerm
  730.             Installing PibTerm
  731.             
  732.             PibTerm is  released for use at Northwestern on three 5 1/4"
  733.             MS DOS formatted diskettes.  The first two diskettes contain
  734.             the PibTerm  program and  configuration files, and the third
  735.             diskette contains  documentation.   Included  on  the  first
  736.             PibTerm diskette  is an  installation program which  assists
  737.             you in  setting  up  PibTerm  on  your  machine. To  install
  738.             PibTerm on  your machine,  boot up  DOS, and  then place the
  739.  
  740.  
  741.             A Guide to PibTerm v4.1 at Northwestern               Page 5
  742.             A Guide to PibTerm v4.1 at Northwestern               Page 5
  743.  
  744.  
  745.             first PibTerm  diskette into drive A: on your PC.  Then move
  746.             to drive A: and execute the installation program by typing:
  747.             
  748.                       A:
  749.                       INSTALL
  750.             
  751.             Follow the instructions that INSTALL displays and you should
  752.             end  up   with  a   correctly  installed  PibTerm  for  your
  753.             particular PC configuration.
  754.             
  755.             If you  are not  at Northwestern University then you did not
  756.             get the  special INSTALL and CONFIG programs.  In this case,
  757.             see Appendix A for instructions on how to install PibTerm on
  758.             your machine.
  759.             
  760.             
  761.             Starting Up PibTerm
  762.             Starting Up PibTerm
  763.             
  764.             To execute PibTerm after you have installed it, just type
  765.             
  766.                           PIBTERM
  767.             
  768.             at  the   DOS  prompt.   (There  are  optional  command-line
  769.             arguments for  PibTerm --  see the  section "PibTerm Command
  770.             Line Arguments" for details.)
  771.             
  772.             PibTerm begins  by reading  its configuration files.  During
  773.             that process PibTerm tells you which configuration files are
  774.             being read.   Then PibTerm displays a notice indicating that
  775.             it is ready for you to proceed:
  776.             
  777.             
  778.                       PibTerm Version 4.1 Production.
  779.                       Released February 26, 1988.
  780.                       Copyright (c) 1985, 1986, 1987, 1988 by Philip R. Burns.
  781.                       Hit Alt-I for command list.
  782.             
  783.             
  784.             You may  notice a  different version number or release date.
  785.             This is  because PibTerm  is constantly  being  updated  and
  786.             improved.
  787.             
  788.             Following the  messages above  may be another that indicates
  789.             that your modem is being initialized:
  790.             
  791.                       Modem initialization: ATZ|~ATX1|~ATS0=0|
  792.             
  793.             After initializing  the modem,  PibTerm may read in function
  794.             key definition files, set the terminal type, and execute any
  795.             defined start-up script.
  796.             
  797.             Finally, PibTerm is ready to accept your commands.
  798.             
  799.             
  800.  
  801.  
  802.             A Guide to PibTerm v4.1 at Northwestern               Page 6
  803.             A Guide to PibTerm v4.1 at Northwestern               Page 6
  804.  
  805.  
  806.             PibTerm Commands
  807.             PibTerm Commands
  808.             
  809.             All  PibTerm  keyboard commands  are entered by holding down
  810.             the <ALT> key and then pressing a letter key.
  811.             
  812.             Here is a complete list of PibTerm <ALT>-key commands:
  813.             
  814.                  <ALT>A :  Edit line on screen
  815.                  <ALT>B :  Send a break
  816.                  <ALT>C :  Clear screen
  817.                  <ALT>D :  Dialing directory
  818.                  <ALT>E :  Toggle local echo of characters to screen
  819.                  <ALT>F :  DOS file manipulation, including editing
  820.                  <ALT>G :  Script directory
  821.                  <ALT>H :  Hang up the phone
  822.                  <ALT>H :  Hang up the phone
  823.                  <ALT>I :  Display list of PibTerm <ALT>-key commands
  824.                  <ALT>I :  Display list of PibTerm <ALT>-key commands
  825.                  <ALT>J :  Jump to DOS
  826.                  <ALT>K :  Define special keys (to change function keys)
  827.                  <ALT>L :  Toggle printer logging
  828.                  <ALT>M :  Toggle mute mode
  829.                  <ALT>N :  Change communications parameters
  830.                  <ALT>O :  Toggle session capture to file
  831.                  <ALT>P :  Parameters menu (to modify parameters)
  832.                  <ALT>Q :  Redial last number dialed
  833.                  <ALT>R :  Receive a file from another computer
  834.                  <ALT>S :  Send a file to another computer
  835.                  <ALT>T :  Define character translation mapping
  836.                  <ALT>U :  Write current screen contents to file
  837.                  <ALT>V :  View text which scrolled off screen
  838.                  <ALT>W :  Enter host mode
  839.                  <ALT>X :  Exit PibTerm (or end script execution)
  840.                  <ALT>X :  Exit PibTerm (or end script execution)
  841.                  <ALT>Y :  Display session timing information
  842.                  <ALT>Z :  Search for a dialing area code
  843.             
  844.             You should learn the highlighted commands above first, since
  845.             they are  the most  useful  for  getting  help  and  leaving
  846.             PibTerm if things go wrong.
  847.             
  848.             
  849.             Displaying <ALT>-key commands  -- <ALT>I
  850.             Displaying <ALT>-key commands  -- <ALT>I
  851.             
  852.             If you  forget a  particular <ALT>-key  command, you can use
  853.             the <ALT>I  ("I-nformation") combination  inside of PibTerm,
  854.                           I                                             
  855.             which produces  a command  list like  the one  above.   Also
  856.             displayed at  <ALT>I is the PibTerm version number, which is
  857.             useful information  for consultants  to know if you run into
  858.             difficulties, and which allows you to determine if your copy
  859.             of PibTerm is up-to-date or not.
  860.             
  861.             
  862.             Making Menu Selections
  863.             Making Menu Selections
  864.             
  865.             PibTerm is  a menu-driven  system. When you hit an <ALT>-key
  866.             command, PibTerm  displays a menu box on the screen, writing
  867.  
  868.  
  869.             A Guide to PibTerm v4.1 at Northwestern               Page 7
  870.             A Guide to PibTerm v4.1 at Northwestern               Page 7
  871.  
  872.  
  873.             over the  previous screen contents.  You select an item from
  874.             any specific menu by first highlighting it and then pressing
  875.             the Return  or Enter  key. The highlighter is moved with the
  876.                 Return     Enter                                        
  877.             aid of  the up  and down  cursor keys (up arrow, down arrow)
  878.             and the  space bar.  You can also hit the first character of
  879.             a menu entry to select it.
  880.             
  881.             All menus  may be  exited by hitting the Escape key (usually
  882.             called  ESC   on  the   keyboard). After  you  make  a  menu
  883.                     ESC                                                 
  884.             selection, the  menu itself  disappears from the  screen and
  885.             the previous  screen contents  which were hidden by the menu
  886.             are restored.  
  887.             
  888.             
  889.             Using A Mouse With PibTerm
  890.             Using A Mouse With PibTerm
  891.             
  892.             Since PibTerm  incorporates such a large number of menus and
  893.             menu selections,  you may  find it convenient to use a mouse
  894.             to streamline access to important menu and sub-menu items. A
  895.             sample Microsoft  mouse menu  is provided  as  part  of  the
  896.             PibTerm release materials.  You can also use other mice, but
  897.             you will have to write the mouse menu driver yourself.
  898.             
  899.             If you  want to  use the  Microsoft mouse  with PibTerm, you
  900.             will need  to load  the mouse  menu before invoking PibTerm.
  901.             First, make sure you have correctly installed and configured
  902.             the mouse  hardware and  software for  your system.  Second,
  903.             install the PibTerm mouse menu by typing
  904.             
  905.                  MENU PIBTERM.MNU
  906.             
  907.             at the  DOS prompt.   "MENU"  is the Microsoft-supplied menu
  908.             loading  program   which  you  will  find  included  in  the
  909.             diskettes   of    software    accompanying    your    mouse.
  910.             "PIBTERM.MNU" is  the PibTerm mouse menu driver  included as
  911.              PIBTERM.MNU                                                
  912.             part of the PibTerm release materials.
  913.             
  914.             The file  PIBTERM.DEF  contains  the  source  for  the  menu
  915.                       PIBTERM.DEF                                       
  916.             definitions.   You can  alter PIBTERM.DEF to create your own
  917.             customized mouse  menu definitions  for  use  with  PibTerm.
  918.             Use the  Microsoft-supplied program MAKEMENU.COM to create a
  919.             new mouse  menu.   See the Microsoft Mouse documentation for
  920.             further details on modifying mouse menus.
  921.             
  922.             Once  you've   installed  the  mouse  menu  using  the  MENU
  923.             program, you  should invoke  PibTerm as  usual.   From  that
  924.             point on,  hitting the LEFT mouse button brings up the mouse
  925.                                    LEFT                                 
  926.             menu. Hitting the RIGHT mouse button sends a carriage return
  927.                               RIGHT                                     
  928.             character to  PibTerm. This  has the  same effect as hitting
  929.             the Enter  or Return  keys on  the keyboard.   Hitting  BOTH
  930.                 Enter     Return                                    BOTH
  931.             mouse buttons together sends an escape character to PibTerm,
  932.             and has  the same  effect as  hitting the  ESC  key  on  the
  933.             keyboard.  You select a mouse menu item by hitting the RIGHT
  934.             mouse button.   To  exit the  mouse menu  without  selecting
  935.  
  936.  
  937.             A Guide to PibTerm v4.1 at Northwestern               Page 8
  938.             A Guide to PibTerm v4.1 at Northwestern               Page 8
  939.  
  940.  
  941.             anything, move  the mouse pointer to the top bar of the menu
  942.             and hit the RIGHT mouse button.
  943.             
  944.             You can  use the  mouse to  move up and down through PibTerm
  945.             menus in  place of hitting the up and down arrow keys on the
  946.             keypad  --  just  physically  move  the  mouse  forward  and
  947.             backwards.   You can  also move  the mouse from side to side
  948.             horizontally in  place of  typing the  left and  right arrow
  949.             keys.   It takes a bit of practice to get familiar with just
  950.             how much  mouse movement you need.  To select a PibTerm menu
  951.             item, hit  the RIGHT  mouse button  (which is  the  same  as
  952.             hitting the  Enter or  Return key).  To exit a PibTerm menu,
  953.             hit BOTH  mouse buttons  at the same time (which is the same
  954.             as hitting the ESC key).
  955.             
  956.             
  957.             Here is what the sample mouse menu looks like:
  958.             
  959.             
  960.              ╔══════════════════════════════════════════════════════════════════════════╗
  961.              ║                                 PibTerm                                  ║
  962.              ╠══════════════╤══════════════╤══════════════╤══════════════╤══════════════╣
  963.              ║ File Transfer│   Toggles    │     DOS      │   Dialing    │   Goodies    ║
  964.              ╟--------------┼--------------┼--------------┼--------------┼--------------╢
  965.              ║  Kermit Get  │ BS sends BS  │ Jump To Dos  │     Dial     │ Show Review  ║
  966.              ║  Kermit Rcv  │ BS send DEL  │              │    Redial    │   Timers     ║
  967.              ║  Kermit Send │     Echo     │  Change Dir  │   Hang Up    │  Translate   ║
  968.              ║ Kermit Finish│   LineFeeds  │ Change Drive │              │  Edit Line   ║
  969.              ║              │    Muting    │   Directory  │ Change Port  │  Area Codes  ║
  970.              ║ Receive File │              │  Free Space  │ Change Speed │ Define Keys  ║
  971.              ║   Send File  │     CTS      │              │              │    Info      ║
  972.              ║              │   Xon/Xoff   │    Quit      │  Send Break  │  Set Params  ║
  973.              ╠══════════════╪══════════════╪══════════════╪══════════════╪══════════════╣
  974.              ║ File Actions │   Emulation  │    Capture   │   Scripts    │    Screen    ║
  975.              ╟--------------┼--------------┼--------------┼--------------┼--------------╢
  976.              ║  Copy File   │     VT100    │   To File    │   Execute    │ Clear Screen ║
  977.              ║  Delete File │    Tek 4010  │   To Log     │    Learn     │ Dump Screen  ║
  978.              ║  Edit File   │  Gossip Mode │  To Printer  │  Unload All  │ Reset Term   ║
  979.              ║  Print File  │   ANSI/BBS   │              │    Exit      │ Set Colors   ║
  980.              ║  View File   │      Host    │              │              │ VT100 Colors ║
  981.              ╚══════════════╧══════════════╧══════════════╧══════════════╧══════════════╝
  982.             
  983.             This menu  provides direct  access to the most commonly used
  984.             PibTerm features for ACNS access.
  985.             
  986.             
  987.             Changing PibTerm Parameters -- <ALT>P
  988.             Changing PibTerm Parameters -- <ALT>P
  989.             
  990.             PibTerm is  a highly  configurable  program  with  over  200
  991.             adjustable parameters.   Don't  worry, you  usually HAVE  to
  992.             change only  a few  of them,  and most of the important ones
  993.             will be set up for you by default or by the INSTALL program.
  994.             However, as  you gain  experience in using PibTerm, you will
  995.             probably find a number of program parameters that you'd like
  996.  
  997.  
  998.             A Guide to PibTerm v4.1 at Northwestern               Page 9
  999.             A Guide to PibTerm v4.1 at Northwestern               Page 9
  1000.  
  1001.  
  1002.             to change  to reflect  your own  particular needs. There are
  1003.             also some  parameters which  you must  change depending upon
  1004.             what remote  system you  access.    We  will  discuss  those
  1005.             parameters later in the section on terminal emulation.
  1006.             
  1007.             
  1008.             The PIBTERM.CNF configuration file
  1009.             The PIBTERM.CNF configuration file
  1010.             
  1011.             <ALT>P allows  you to  modify program parameters. The values
  1012.             of  these   parameters   are   initially   read   from   the
  1013.             configuration file   PIBTERM.CNF.    If   PIBTERM.CNF   does
  1014.                                  PIBTERM.CNF                            
  1015.             NOT exist when  PibTerm  is  invoked,  then  PibTerm  cycles
  1016.             through the  menus in the  <ALT>P series. (If  you  use  the
  1017.             INSTALL program, then INSTALL creates a PIBTERM.CNF file for
  1018.             you.)
  1019.             
  1020.             The general format of each line of the PIBTERM.CNF file is:
  1021.             
  1022.                  pa=value
  1023.             
  1024.             where pa  is a two-letter name for a parameter, and value is
  1025.                   pa                                            value   
  1026.             the value of the parameter.
  1027.             
  1028.             The meanings  of all  the parameters,  along  with  detailed
  1029.             technical information  about each  of them,  can be found in
  1030.             the "PibTerm Parameters Reference Manual."
  1031.             
  1032.             It is  possible to  edit PIBTERM.CNF  with a  text editor to
  1033.             make changes  to  PibTerm  parameter  values,  but  this  is
  1034.             generally unnecessary  since all  changes can  be made using
  1035.             the menus  at <ALT>P  from within  PibTerm itself. (The only
  1036.             time it is necessary is if you have an incorrect serial port
  1037.             number specified.  You can change the PO= parameter value in
  1038.             PIBTERM.CNF to  fix this,  or better,  use the ACNS-supplied
  1039.             CONFIG.COM program to respecify the correct serial port.)
  1040.  
  1041.  
  1042.             A Guide to PibTerm v4.1 at Northwestern               Page 10
  1043.             A Guide to PibTerm v4.1 at Northwestern               Page 10
  1044.  
  1045.  
  1046.             
  1047.             Primary parameter display using <ALT>P
  1048.             Primary parameter display using <ALT>P
  1049.             
  1050.             This is what PibTerm displays when you hit <ALT>P:
  1051.             
  1052.                                      ╒[ Set Parameters:  ]═══════╕
  1053.                                      │ C)ommunications           │
  1054.                                      │ F)ile transfer            │
  1055.                                      │ H)ost mode                │
  1056.                                      │ I)nput                    │
  1057.                                      │ K)ermit                   │
  1058.                                      │ M)odem and dialing        │
  1059.                                      │ O)dds and ends            │
  1060.                                      │ P)aths for special files  │
  1061.                                      │ R)ead config file         │
  1062.                                      │ T)erminal emulation       │
  1063.                                      │ V)ideo mode and colors    │
  1064.                                      │ W)rite config file        │
  1065.                                      │ Q)uit setup               │
  1066.                                      ╘═══════════════════════════╛
  1067.             
  1068.             Selecting  each  of  the  menu  entries  in  turn  calls  up
  1069.             a submenu which  allows you to set the corresponding program
  1070.             parameters. (Hitting Q  or the  ESC key  takes  you  out  of
  1071.                                  Q          ESC                         
  1072.             <ALT>P mode.)
  1073.             
  1074.             
  1075.             Brief description of <ALT>P submenus
  1076.             Brief description of <ALT>P submenus
  1077.             
  1078.             Here is  a brief  description of  what each  of  the  <ALT>P
  1079.             submenus refers to:
  1080.             
  1081.                  C)ommunications:    Communications-related   parameters
  1082.                  C)ommunications:                                       
  1083.                                      like serial port hardware settings,
  1084.                                      flow control and serial port buffer
  1085.                                      sizes.
  1086.                  
  1087.                  F)ile transfer:     File  transfer-related   parameters
  1088.                  F)ile transfer:                                        
  1089.                                      like  the   default  file  transfer
  1090.                                      protocol  and   external   protocol
  1091.                                      definitions.
  1092.                  
  1093.                  H)ost mode:         Host mode  parameters  like  upload
  1094.                  H)ost mode:                                            
  1095.                                      and download paths for host mode.
  1096.                  
  1097.                  I)nput:             Keyboard-related  parameters   like
  1098.                  I)nput:                                                
  1099.                                      the type  of keyboard, command mode
  1100.                                      key definition, and use of extended
  1101.                                      keypad definitions.
  1102.                  
  1103.                  K)ermit:            Kermit protocol  parameter settings
  1104.                  K)ermit:                                               
  1105.                                      including packet  sizes and options
  1106.                                      like  sliding   windows  and   long
  1107.                                      blocks.
  1108.  
  1109.  
  1110.             A Guide to PibTerm v4.1 at Northwestern               Page 11
  1111.             A Guide to PibTerm v4.1 at Northwestern               Page 11
  1112.  
  1113.  
  1114.                  
  1115.                  M)odem and dialing: Parameters related  to dialing like
  1116.                  M)odem and dialing:                                    
  1117.                                      modem initialization, modem dialing
  1118.                                      command, dialing timeout.
  1119.                  
  1120.                  O)dds and ends:     Parameters which  don't  quite  fit
  1121.                  O)dds and ends:                                        
  1122.                                      anyplace else appear here.
  1123.                  
  1124.                  P)aths for files:   Paths   for    script    directory,
  1125.                  P)aths for files:                                      
  1126.                                      function key directory.
  1127.                  
  1128.                  R)ead config file:  Reads in a configuration file.
  1129.                  R)ead config file:                                
  1130.                  
  1131.                  T)erminal:          Terminal parameters  like emulation
  1132.                  T)erminal:                                             
  1133.                                      type, VT100  settings, status  line
  1134.                                      options.
  1135.                  
  1136.                  V)ideo mode:        Parameters to  choose display type,
  1137.                  V)ideo mode:                                           
  1138.                                      colors, BIOS  versus direct  screen
  1139.                                      memory writes.
  1140.                  
  1141.                  W)rite config file: Writes a configuration file.
  1142.                  W)rite config file:                             
  1143.                  
  1144.                  
  1145.             Example:  C)ommunication parameters submenu
  1146.             Example:  C)ommunication parameters submenu
  1147.             
  1148.             As an  example, assume that  we select  C)ommunications. The
  1149.             following submenu box appears:  
  1150.             
  1151.             ╒[ Communications parameters ]═════════════════════════════════════════════════╕
  1152.             │                                                                              │
  1153.             │ a) Serial port                     : 2                                       │
  1154.             │ b) Baud rate                       : 2400                                    │
  1155.             │ c) Parity                          : E (Ascii 69)                            │
  1156.             │ d) Data bits                       : 7                                       │
  1157.             │ e) Stop bits                       : 1                                       │
  1158.             │ f) Add linefeeds to incoming CRs   : No                                      │
  1159.             │ g) Add linefeeds to outgping CRs   : No                                      │
  1160.             │ h) Check Clear To Send             : No                                      │
  1161.             │ i) Check Data Set Ready            : No                                      │
  1162.             │ j) Hard-wired connection           : No                                      │
  1163.             │ k) Break length in 1/100 seconds   : 50                                      │
  1164.             │ l) Drop DTR at end                 : No                                      │
  1165.             │ m) Close port on jump to DOS       : Yes                                     │
  1166.             │ n) Do XON/XOFF flow control        : Yes                                     │
  1167.             │ o) Strip high bit in terminal mode : No                                      │
  1168.             │ p) Comm buffer input size          : 4096                                    │
  1169.             │ q) Comm buffer output size         : 1200                                    │
  1170.             │ r) Local echo                      : No                                      │
  1171.             │ s) Serial port hardware settings                                             │
  1172.             │                                                                              │
  1173.             │ Enter letter of item to revise or hit ESC to quit:                           │
  1174.             ╘══════════════════════════════════════════════════════════════════════════════╛
  1175.             
  1176.  
  1177.  
  1178.             A Guide to PibTerm v4.1 at Northwestern               Page 12
  1179.             A Guide to PibTerm v4.1 at Northwestern               Page 12
  1180.  
  1181.  
  1182.             This appears  to be  a  formidable  list  of  communications
  1183.             parameters, but  most of them you will never have to change.
  1184.             Note that  PibTerm displays  the current  values of  all the
  1185.             parameters.
  1186.             
  1187.             Suppose you  want to  change the  baud rate  or speed of the
  1188.                                               baud rate     speed       
  1189.             connection.   (We'll discuss  what baud  rate means  in  the
  1190.             section on communications parameters later on.)  Select b to
  1191.                                                                     b   
  1192.             select the  baud rate  display.  You can select b by hitting
  1193.                                                             b           
  1194.             the letter  b on  the keyboard,  or using the arrows (or the
  1195.             mouse) to  cycle through the letter entries and then hitting
  1196.             the Return key (or right button on the mouse).   A baud rate
  1197.                 Return                                                  
  1198.             sub-sub-menu appears, overwriting the right-hand part of the
  1199.             C)ommunications menu:
  1200.             
  1201.             ╒[ Communications parameters ]═════════════════════════════════════════════════╕
  1202.             │                                                                              │
  1203.             │ a) Serial port                     : 2                                       │
  1204.             │ b) Baud rate                       : 2400                                    │
  1205.             │ c) Parity                          : E (Ascii 69)                            │
  1206.             │ d) Data bits                       : 7                                       │
  1207.             │ e) Stop bits                       : 1                                       │
  1208.             │ f) Add linefeeds to incoming CRs   : No                                      │
  1209.             │ g) Add linefeeds to outgoing CRs   : No        ╒[ Baud Rate:  ]╕             │
  1210.                                                              ╒[ Baud Rate:  ]╕              
  1211.             │ h) Check Clear To Send             : No        │ a) 110        │             │
  1212.                                                              │               │              
  1213.             │ i) Check Data Set Ready            : No        │ b) 150        │             │
  1214.                                                              │               │              
  1215.             │ j) Hard-wired connection           : No        │ c) 300        │             │
  1216.                                                              │               │              
  1217.             │ k) Break length in 1/100 seconds   : 50        │ d) 600        │             │
  1218.                                                              │               │              
  1219.             │ l) Drop DTR at end                 : No        │ e) 1200       │             │
  1220.                                                              │               │              
  1221.             │ m) Close port on jump to DOS       : Yes       │ f) 2400       │             │
  1222.                                                              │ f) 2400       │              
  1223.             │ n) Do XON/XOFF flow control        : Yes       │ g) 4800       │             │
  1224.                                                              │               │              
  1225.             │ o) Strip high bit in terminal mode : No        │ h) 9600       │             │
  1226.                                                              │               │              
  1227.             │ p) Comm buffer input size          : 4096      │ i) 19200      │             │
  1228.                                                              │               │              
  1229.             │ q) Comm buffer output size         : 1200      │ j) 38400      │             │
  1230.                                                              │               │              
  1231.             │ r) Local echo                      : No        │ k) 57600      │             │
  1232.                                                              │               │              
  1233.             │ s) Comm port hardware settings                 ╘═══════════════╛             │
  1234.                                                              ╘═══════════════╛              
  1235.             │                                                                              │
  1236.             │ Enter letter of item to revise or hit ESC to quit:                           │
  1237.             ╘══════════════════════════════════════════════════════════════════════════════╛
  1238.             
  1239.             The default  baud rate will be highlighted in inverse video.
  1240.             You can either enter one of the letters to select a new baud
  1241.             rate, or  use the arrow  keys to move to a new baud rate and
  1242.             then hit  the enter  key. For example,  hitting the  "h" key
  1243.             would select 9600 baud.
  1244.             
  1245.             Once you've  selected the  new baud rate, the baud-rate sub-
  1246.             sub-menu disappears, putting you back at the C)ommunications
  1247.             sub-menu.   You can  hit the  ESC or Enter keys to return to
  1248.             the top-level <ALT>P menu, and then hit the ESC or Enter key
  1249.             once again to remove the <ALT>P menu display.
  1250.             
  1251.  
  1252.  
  1253.             A Guide to PibTerm v4.1 at Northwestern               Page 13
  1254.             A Guide to PibTerm v4.1 at Northwestern               Page 13
  1255.  
  1256.  
  1257.             You should  look through  the <ALT>P submenus to familiarize
  1258.             yourself with  the location  of parameters that you may need
  1259.             to change later on.
  1260.             
  1261.             
  1262.             Writing a new parameter file
  1263.             Writing a new parameter file
  1264.             
  1265.             Changes you  make to  the  configuration  parameters  retain
  1266.             their effect only  during the  current PibTerm  session.  To
  1267.             make the  changes permanent you  need to  write  an  updated
  1268.             configuration file.  To do this, choose
  1269.             
  1270.                  <ALT>P,
  1271.                       W)rite config file.
  1272.             
  1273.             You'll see a prompt box that looks like this:
  1274.             
  1275.             
  1276.                      ╒[ Write configuration file ]═══════════════════════════════╕
  1277.                      │Enter configuration file name:                             │
  1278.                      │>PIBTERM.CNF                                               │
  1279.                      │                                                           │
  1280.                      │                                                           │
  1281.                      ╘═══════════════════════════════════════════════════════════╛
  1282.             
  1283.             
  1284.             Since PIBTERM.CNF  is the default configuration, and the one
  1285.             you'll most likely want to change, just hit the Enter key to
  1286.             save the revised  parameter settings  back  to  PIBTERM.CNF.
  1287.             Then the  next time you enter PibTerm these revised settings
  1288.             will be used.  
  1289.             
  1290.             
  1291.             Reading a new parameter file
  1292.             Reading a new parameter file
  1293.             
  1294.             You can read in a new parameter file if you choose
  1295.             
  1296.                  <ALT>P,
  1297.                       R)ead config file
  1298.             
  1299.             This is  useful if  you want to change several parameters at
  1300.             one time  and you have previously prepared the new parameter
  1301.             file. You  will be  prompted for  the name  of the parameter
  1302.             file in  the same way as for the "W)rite config file" above.
  1303.             You can  most  easily  prepare  the  new  file  by  entering
  1304.             PibTerm, making all the changes you want at <ALT>P submenus,
  1305.             and then  using   "W)rite config  file" to  create  the  new
  1306.             parameter file.
  1307.             
  1308.             
  1309.  
  1310.  
  1311.             A Guide to PibTerm v4.1 at Northwestern               Page 14
  1312.             A Guide to PibTerm v4.1 at Northwestern               Page 14
  1313.  
  1314.  
  1315.             Keyboard Editing
  1316.             Keyboard Editing
  1317.             
  1318.             Keypad  editing   is  available   for  almost  all  keyboard
  1319.             input WHICH IS  NOT BEING  SENT TO  A REMOTE  SYSTEM.   This
  1320.             includes input in the <ALT>P parameter setting section.
  1321.             
  1322.             To  accomodate   machines   like   laptops   which may   not
  1323.             conveniently   provide    the   IBM-style    keypad, editing
  1324.             facilities  can  be  accessed  using  WordStar-like  control
  1325.             keys. 
  1326.             
  1327.             Here is a list of the control characters used (including IBM
  1328.             PC function keys): 
  1329.             
  1330.               ^A   Move back 1 word, nondestructive [Ctrl-LeftArrow]
  1331.               ^B   Save current buffer in undo buffer
  1332.               ^D   Move forward one [RightArrow]
  1333.               ^F   Move forward 1 word [Ctrl-RightArrow]
  1334.               ^G   Delete character forward [DEL]
  1335.               ^H   Move back 1, destructive (same as ASCII BS) [BackSpace]
  1336.               ^J   End of input; accept current text [Ctrl-Enter]
  1337.               ^L   Look for char: reads character, advances cursor to match
  1338.               ^M   End of input; accept current text [Enter]
  1339.               ^P   Accept next character as-is (control character prefix)
  1340.               ^Q   Move to beginning of line, nondestructive [Home]
  1341.               ^R   Move to end of line [End]
  1342.               ^S   Move back 1, nondestructive [LeftArrow]
  1343.               ^T   Delete line forward cursor to end [Ctrl-End]
  1344.               ^U   Copy undo buffer into current buffer (undo) [PgUp]
  1345.               ^V   Insert on/off [INS]
  1346.               ^Y   Delete line [PgDn]
  1347.               DEL  Move back 1, destructive (same as ^H) (ASCII DEL)
  1348.                    [Ctrl-BackSpace]
  1349.               ESC  End of input; return null string as result.
  1350.             
  1351.             The "^"  symbol preceding  characters above  means that  you
  1352.             hold down  the <CTRL>  key while  depressing  the  following
  1353.             letter.
  1354.             
  1355.             When string  editing is  in effect,  these  key  definitions
  1356.             OVERRIDE any user-defined  definitions for  the keypad keys.
  1357.             (User key  definitions are  discussed later  in the  section
  1358.             "Defining function keys.")  Striking any keypad key which is
  1359.             NOT one  of the above  editing  keys  elicits  a  beep  from
  1360.             PibTerm,  and   nothing   is   entered   into   the   string
  1361.             being edited.
  1362.             
  1363.             In some  places --  particularly parameter  entry -- PibTerm
  1364.             displays the previous  string values  and you  can just edit
  1365.             them into  new  values,  rather than  having  to  re-type  a
  1366.             completely new  string.   To edit an existing value, use one
  1367.             of the  editing keys above to start things off (for example,
  1368.             the right  arrow).   If you just  start typing  a new value,
  1369.  
  1370.  
  1371.             A Guide to PibTerm v4.1 at Northwestern               Page 15
  1372.             A Guide to PibTerm v4.1 at Northwestern               Page 15
  1373.  
  1374.  
  1375.             then the  previous value is cleared and the new one you type
  1376.             replaces it.  
  1377.             
  1378.             You can  choose to  start editing in either insert mode (the
  1379.                                                         insert mode     
  1380.             default) or in overstrike mode.  In overstrike mode, PibTerm
  1381.                            overstrike mode                              
  1382.             replaces or  overwrites the  old  characters  with  the  new
  1383.             characters you type.  In insert mode, the current characters
  1384.             are moved  to the  right and the new characters are inserted
  1385.             into the string.
  1386.             
  1387.             To set overstrike mode as the default, set the parameter at
  1388.             
  1389.                  <ALT>P,
  1390.                       I)nput,
  1391.                            g) Start editing in insert mode
  1392.             
  1393.             to YES.
  1394.             
  1395.             You can switch from overstrike to insert mode and back again
  1396.             during the  course of  editing a  string by  typing ^V or by
  1397.                                                                 ^V      
  1398.             hitting the Ins key.
  1399.                         Ins     
  1400.             
  1401.             PibTerm changes  the cursor  from an  underline to  a  block
  1402.             whenever overstrike mode is in effect.
  1403.             
  1404.             You  need  to  understand  the  role  of  the  <CTRL>P  key.
  1405.             Sometimes you want to enter one of the editing control codes
  1406.             defined above  into a string you are defining.  For example,
  1407.             suppose you want to enter the Ascii code for "delete" into a
  1408.             string.   This is Ascii 127, which is defined by hitting the
  1409.             <CTRL>Backspace on  the PC  keyboard.   Since delete  is  an
  1410.             editing key,  if you just hit the <CTRL>Backspace key on the
  1411.             keyboard, a  delete will NOT be inserted into the string you
  1412.             are defining,  but instead  the character at the cursor will
  1413.             be deleted.   To  get the  actual delete  character inserted
  1414.             into  the   string,   hit   <CTRL>P   and   THEN   hit   the
  1415.             <CTRL>Backspace key.    Since  the  <CTRL>Backspace  follows
  1416.             <CTRL>P, it  is interpreted  as a  literal Ascii  127 delete
  1417.             character and inserted into the string.
  1418.             
  1419.             You can  also insert  control characters  into a  string  by
  1420.             entering  the   "^"  character   followed  by   the   letter
  1421.             corresponding to  the control  code.  "^" is the Ascii caret
  1422.             character (usually <Shift>6 on PC keyboards), which is Ascii
  1423.             character 94.   For  example,  to  insert  a  literal  Ascii
  1424.             backspace character  into a string (Ascii 8), you can follow
  1425.             the procedure for entering a delete character above, but you
  1426.             hit the  Backspace key  on  the  PC's  keyboard  instead  of
  1427.             <CTRL>Backspace.     Or,  you  can  enter  the  Ascii  caret
  1428.             following by H:  ^H.
  1429.             
  1430.             If you  aren't familiar  with Ascii,  see the  section "Data
  1431.             Bits" which discusses character sets.
  1432.             
  1433.  
  1434.  
  1435.             A Guide to PibTerm v4.1 at Northwestern               Page 16
  1436.             A Guide to PibTerm v4.1 at Northwestern               Page 16
  1437.  
  1438.  
  1439.             
  1440.             Using DOS For Keyboard Editing
  1441.             Using DOS For Keyboard Editing
  1442.             
  1443.             Rather  than  using  the  PibTerm  line  editing  facilities
  1444.             described above,  you may  prefer to  use the  standard  DOS
  1445.             facilities for  editing strings.   (See  your DOS manual for
  1446.             details.)  You can do that by setting the parameter at
  1447.             
  1448.                  <ALT>P,
  1449.                       I)nput,
  1450.                            h) Use DOS function $0A for input
  1451.             
  1452.             to YES.
  1453.             
  1454.             DOS does  not pay  attention to any windows that PibTerm has
  1455.             set, so  the cursor location when you finally press Enter or
  1456.                                                                 Enter   
  1457.             Return may not be correct.  Don't worry, PibTerm will adjust
  1458.             Return                                                      
  1459.             as you type further.
  1460.             
  1461.             The principal  reason for  using DOS function $0A for string
  1462.             input rather than the standard PibTerm facilities is so that
  1463.             keyboard enhancers  like Chris  Dunford's CED  and PCED will
  1464.                                                       CED      PCED     
  1465.             work inside of PibTerm.
  1466.             
  1467.             
  1468.             Connecting To A Remote System With PibTerm
  1469.             Connecting To A Remote System With PibTerm
  1470.             
  1471.             There are  several ways  in which you can connect your PC to
  1472.             a remote computer  system.   The two  most  common  ways  of
  1473.             establishing a connection are  through a  direct  hard-wired
  1474.                                                       direct  hard-wired
  1475.             connection or  by phone  through a  modem.   Both  types  of
  1476.             connection                          modem                   
  1477.             connections are made through a serial port in your PC.
  1478.                                            serial port            
  1479.             
  1480.             With a  hard-wired connection  your PC is directly connected
  1481.                     hard-wired                                          
  1482.             via a cable to the host system.  This is the way that PCs in
  1483.             the microcomputer  labs on the Evanston campus are connected
  1484.             to the  ACNS mainframes.   This is also one way in which you
  1485.             can connect two microcomputers -- for example, an IBM PC and
  1486.             a Macintosh  -- for  purposes of transferring files from one
  1487.             machine to another.
  1488.             
  1489.             A modem  translates the  digital computer  signals generated
  1490.             by your PC  and the  host computer into analog signals which
  1491.             can be transmitted  through a  phone line.   You can use the
  1492.             dialing facilities of PibTerm to dial up a remote system and
  1493.             establish a connection.
  1494.             
  1495.             There are  two kinds  of modems  in common  use.   The older
  1496.             style  of   modem  is  the  acoustic  coupler  modem,  which
  1497.                                         acoustic  coupler  modem        
  1498.             communicates through  the telephone  handset.   A microphone
  1499.             picks up  tones from the handset speaker and translates them
  1500.             into the  digital signals  which can  be understood  by  the
  1501.             receiving  computer.     The  acoustic  coupler  modem  also
  1502.             translates digital  signals from  the computer  into audible
  1503.  
  1504.  
  1505.             A Guide to PibTerm v4.1 at Northwestern               Page 17
  1506.             A Guide to PibTerm v4.1 at Northwestern               Page 17
  1507.  
  1508.  
  1509.             tones, which are picked up by the telephone's microphone and
  1510.             sent out  over the  phone line.    Acoustic  coupler  modems
  1511.             aren't used much anymore, but they are still useful in other
  1512.             countries where  direct connect  modems are illegal or can't
  1513.             be  used   effectively  --   like  in  hotel  rooms.    Data
  1514.             transmission rates  are  quite  slow  for  acoustic  coupler
  1515.             modems:  generally 30 characters per second or less.
  1516.             
  1517.             A direct  connect modem  by contrast  plugs directly  into a
  1518.               direct  connect modem                                     
  1519.             telephone outlet, bypassing the handset.  This type of modem
  1520.             enables  the   computer  to   communicate  directly  through
  1521.             telephone lines  without going  through a telephone handset.
  1522.             Very high  data transmission rates are possible:  up to 1920
  1523.             characters per  second using  current technology.   However,
  1524.             the most  common direct connect modem speeds are 120 and 240
  1525.             characters per second.
  1526.             
  1527.             In addition  to higher  transmission speeds,  direct connect
  1528.             modems also  can process  a  variety  of  commands.  Typical
  1529.             commands include  hanging up  the  phone,  dialing  a  phone
  1530.             number, and redialing a busy number.  While the command sets
  1531.             for modems  differ among brands, many modems accept the "AT"
  1532.             command set  introduced by  Hayes, a  major manufacturer  of
  1533.             modems.   The Hayes  command set  is called the "AT" command
  1534.             set because  nearly all  the modem  commands begin  with the
  1535.             letters "AT."  This AT command set is the industry standard,
  1536.             and PibTerm is designed to work with Hayes-compatible modems
  1537.             by default.
  1538.             
  1539.             With a  digital phone system like NTS at Northwestern, it is
  1540.             possible to  send digital  signals directly over  the  phone
  1541.             line using a device called a Digital Interface Unit (DIU for
  1542.                                          Digital Interface Unit  DIU    
  1543.             short) or  an Asynchronous  Interface Line Unit (or AILU for
  1544.                           Asynchronous  Interface Line Unit     AILU    
  1545.             short).   These devices  take the place of modems, since the
  1546.             analog-to-digital   conversion   process   isn't   required.
  1547.             However, you must be on campus and using a campus phone line
  1548.             to use a DIU or AILU -- you can't use one from off-campus.
  1549.             
  1550.             Of course, you can also use a modem on a campus phone line.
  1551.             
  1552.             
  1553.             Communications Parameters
  1554.             Communications Parameters
  1555.             
  1556.             All information  is exchanged  between computers in terms of
  1557.             electronic signals which represent the basic binary values 0
  1558.             and 1,  or ON  and OFF.   A  series of  six, seven, or eight
  1559.             consecutive binary values or bits forms a character or byte.
  1560.                                          bits         character    byte 
  1561.             These characters  are numeric  encodings of letters, digits,
  1562.             symbols like  the asterisk  or left parenthesis, and control
  1563.             codes like  line feeds  or backspaces.   Most  computers use
  1564.             eight-bit  characters  --  this  is  true  of  the  PC,  the
  1565.             Macintosh, the  Vax, and  the IBM 4361.  The Cyber under NOS
  1566.             uses several  different character sizes: 6-bits; mixed 6 and
  1567.             12 bits;  or 12  bits.   (This is a reflection of the age of
  1568.  
  1569.  
  1570.             A Guide to PibTerm v4.1 at Northwestern               Page 18
  1571.             A Guide to PibTerm v4.1 at Northwestern               Page 18
  1572.  
  1573.  
  1574.             the Cyber's  technology under  NOS.) Under NOS/VE, the Cyber
  1575.             uses eight bit characters.
  1576.             
  1577.             Basically,  data   communication  consists  of  transferring
  1578.             characters -- expressed as a series of binary digits -- from
  1579.             one machine  to another.   There  are a  number of different
  1580.             ways in  which these characters can be sent from one machine
  1581.             to another.   The  method supported  by  PibTerm  is  called
  1582.             asynchronous serial  communication, in  which one  bit of  a
  1583.             asynchronous serial  communication                          
  1584.             character is  transmitted at  a time  without regard  to the
  1585.             amount of  time which  elapses between  the sending  of each
  1586.             bit.    In  serial communications,  a start  bit  marks  the
  1587.             beginning of  a character;   then  follow the  bits  of  the
  1588.             character itself, and finally a stop bit is sent marking the
  1589.             end of the character.
  1590.             
  1591.             Another popular  form of  data transmission  is  synchronous
  1592.                                                              synchronous
  1593.             communication in  which the  timing  of  each  data  bit  is
  1594.             communication                                               
  1595.             precisely controlled.   PibTerm does not support synchronous
  1596.             communication.
  1597.             
  1598.             There are  a number  of important  communications parameters
  1599.                                                communications parameters
  1600.             which  reflect   the  way   in  which  this  binary  digital
  1601.             information is to be exchanged.  These are:
  1602.             
  1603.                  1.   Baud Rate
  1604.                       Baud Rate
  1605.                  
  1606.                       The Baud  Rate or  Speed of  the connection  is an
  1607.                           Baud  Rate     Speed                          
  1608.                       indication of  how fast  the binary information is
  1609.                       transferred between  machines.   Dividing the baud
  1610.                       rate by  ten  gives  (approximately)  the  maximum
  1611.                       number of  characters transferred between machines
  1612.                       every second.  The  actual  number  of  characters
  1613.                       transferred may be much lower, as for example when
  1614.                       the remote system is very busy.
  1615.                       
  1616.                       Common baud  rates are  1200 and  2400  for  modem
  1617.                       access and  9600 for  DIU,  AILU,  and  hard-wired
  1618.                       access.
  1619.                       
  1620.                  2.   Data Bits
  1621.                       Data Bits
  1622.                  
  1623.                       As mentioned  above, most  machines use  eight-bit
  1624.                       characters to  store information.   However,  many
  1625.                       machines only  use seven  out of the eight bits to
  1626.                       encode  letters,  numbers,  symbols,  and  control
  1627.                       codes.  One of the most popular seven-bit encoding
  1628.                       schemes is  called ASCII,  and that scheme is used
  1629.                                          ASCII                          
  1630.                       by the Vax, the PC, and the Macintosh.  Seven bits
  1631.                       allow 128  different characters to be represented.
  1632.                       The Cyber  has a  variety of  encoding mechanisms,
  1633.                       but for  purposes of  telecommunications, it  uses
  1634.                       seven-bit Ascii.
  1635.                       
  1636.  
  1637.  
  1638.             A Guide to PibTerm v4.1 at Northwestern               Page 19
  1639.             A Guide to PibTerm v4.1 at Northwestern               Page 19
  1640.  
  1641.  
  1642.                       There are  a number  of extended  ASCII  character
  1643.                       sets.   For example,  the  PC  uses  an  eight-bit
  1644.                       extension of ASCII.  So does the Macintosh, but it
  1645.                       is a  different extension.  However, all the ASCII
  1646.                       versions agree  on the  first 128  characters,  so
  1647.                       seven-bit ASCII is the most commonly used code set
  1648.                       for data communications.
  1649.                       
  1650.                       IBM mainframes use an eight-bit encoding mechanism
  1651.                       called  EBCDIC.     Eight  bits  provide  for  256
  1652.                               EBCDIC                                    
  1653.                       different characters  to be represented.  However,
  1654.                       the ACNS  IBM 4361 has a front-end computer called
  1655.                       the IBM  7171 protocol  converter that  translates
  1656.                       seven-bit Ascii  to  eight-bit  EBCDIC  on-the-fly
  1657.                       during a communications session.
  1658.                  
  1659.                  3.   Parity
  1660.                       Parity
  1661.                  
  1662.                       If only  seven out of eight bits are actually used
  1663.                       when transmitting  data, what is the eighth unused
  1664.                       bit set  to?  The usual solution is to set the bit
  1665.                       using a  rule called  a Parity Check. In this case
  1666.                                               Parity Check              
  1667.                       the eighth  bit is  called a parity bit. There are
  1668.                                                    parity bit           
  1669.                       five different  ways to  set the  parity bit,  and
  1670.                       PibTerm allows them all:
  1671.                       
  1672.                            1.   Space Parity
  1673.                                 Space Parity
  1674.                            
  1675.                                 Always set the parity bit to zero.
  1676.                            
  1677.                            2.   Mark Parity
  1678.                                 Mark Parity
  1679.                            
  1680.                                 Always set the parity bit to one.
  1681.                            
  1682.                            3.   Even Parity
  1683.                                 Even Parity
  1684.                            
  1685.                                 Set the  parity bit so that there are an
  1686.                                 even number of one bits in the resulting
  1687.                                 eight-bit character.
  1688.                                 
  1689.                            4.   Odd Parity
  1690.                                 Odd Parity
  1691.                            
  1692.                                 Set the  parity bit so that there are an
  1693.                                 odd number  of one bits in the resulting
  1694.                                 eight-bit character.
  1695.                            
  1696.                            5.   No parity
  1697.                                 No parity
  1698.                            
  1699.                                 If the eighth bit is actually being used
  1700.                                 as a  genuine data  bit in transmission,
  1701.                                 its value  should not be changed, and it
  1702.                                 should not be used as a parity bit. A no
  1703.                                 parity setting  leaves  the  eighth  bit
  1704.                                 untouched.
  1705.  
  1706.  
  1707.             A Guide to PibTerm v4.1 at Northwestern               Page 20
  1708.             A Guide to PibTerm v4.1 at Northwestern               Page 20
  1709.  
  1710.  
  1711.                            
  1712.                       Parity checking provides a very rudimentary method
  1713.                       of detecting communications errors caused by noisy
  1714.                       transmission  lines.    However,  parity  checking
  1715.                       alone   isn't    sufficient   to    assure    good
  1716.                       communications,  especially  for  file  transfers.
  1717.                       Parity checking  doesn't address  the  problem  of
  1718.                       dropped or extra characters, or the problem of two
  1719.                       bits  within   a   character   being   transmitted
  1720.                       incorrectly.  Such problems require a more complex
  1721.                       and higher-level  approach.  See  the  section  on
  1722.                       "File Transfers"  for more  information on  error-
  1723.                       checking methods.
  1724.                       
  1725.                  4.   Stop Bits
  1726.                       Stop Bits
  1727.                  
  1728.                       The number  of stop  bits should be set to one for
  1729.                       modern   telecommunications   equipment.      This
  1730.                       includes accessing the ACNS mainframes, as well as
  1731.                       microcomputer-to-microcomputer access.  Some older
  1732.                       equipment required two stop bits.
  1733.                  
  1734.                  
  1735.             Parameters For Commonly Accessed Systems
  1736.             Parameters For Commonly Accessed Systems
  1737.             
  1738.             This section  lists the  communications settings to use with
  1739.             systems  you   are  likely   to  encounter  at  Northwestern
  1740.             University.
  1741.             
  1742.                  Parameters for ACNS mainframes
  1743.                  Parameters for ACNS mainframes
  1744.                  
  1745.                  When accessing  any of  the ACNS  mainframes,  use  the
  1746.                  following communications parameters:
  1747.                  
  1748.                       Parity:         Even
  1749.                       Data Bits:      7
  1750.                       Stop Bits:      1
  1751.                       Baud Rate:      1200 or 2400 (modem)
  1752.                                       9600 (hard-wired or DIU/AILU)
  1753.                  
  1754.                  Usually you  set the  baud rate  to the  maximum  speed
  1755.                  which your connection method allows.  With a hard-wired
  1756.                  connection or a DIU, you should be able to set the baud
  1757.                  rate to  9600.  With a modem, you should be able to set
  1758.                  the baud  rate to  1200 or  2400, depending  upon  your
  1759.                  modem brand.   However,  if you encounter problems with
  1760.                  line noise or dropped characters, you may want to try a
  1761.                  lower speed.
  1762.                  
  1763.                  Parameters for micro-to-micro connections
  1764.                  Parameters for micro-to-micro connections
  1765.                  
  1766.                  For microcomputer  -  to  -  microcomputer  connections
  1767.                  (including IBM  PC to  IBM PC  and Macintosh to IBM PC)
  1768.                  you generally use these settings:
  1769.  
  1770.  
  1771.             A Guide to PibTerm v4.1 at Northwestern               Page 21
  1772.             A Guide to PibTerm v4.1 at Northwestern               Page 21
  1773.  
  1774.  
  1775.                  
  1776.                       Parity:         None
  1777.                       Data Bits:      8
  1778.                       Stop Bits:      1
  1779.                       Baud Rate:      1200 or 2400 (modem)
  1780.                                       9600 (hard-wired connection)
  1781.                  
  1782.                  Some microcomputer  systems acting  as remote  bulletin
  1783.                  board systems  (BBSs) also allow 9600 baud access using
  1784.                  special modems.   These modems are not yet very popular
  1785.                  because of  their high  cost and  the lack  of a widely
  1786.                  accepted standard for 9600 baud modem transmissions.
  1787.                  
  1788.                  
  1789.             Changing parameters quickly -- <ALT>N
  1790.             Changing parameters quickly -- <ALT>N
  1791.             
  1792.             <ALT>N allows  you to  quickly change  the  three  principal
  1793.             communications parameters  all at once -- Baud Rate, Parity,
  1794.             and Data  Bits.   Hitting <ALT>N  brings  up  the  following
  1795.             display:
  1796.             
  1797.             ╒[ Change communications settings ]═══════════════════════════════════════════╕
  1798.             │ a)   300,8,N,1 f)  1200,8,N,1 k)  2400,8,N,1 p)  9600,8,N,1 u) 19200,8,N,1  │
  1799.             │ b)   300,7,E,1 g)  1200,7,E,1 l)  2400,7,E,1 q)  9600,7,E,1 v) 19200,7,E,1  │
  1800.             │ c)   300,7,O,1 h)  1200,7,O,1 m)  2400,7,O,1 r)  9600,7,O,1 w) 19200,7,O,1  │
  1801.             │ d)   300,7,M,1 i)  1200,7,M,1 n)  2400,7,M,1 s)  9600,7,M,1 x) 19200,7,M,1  │
  1802.             │ e)   300,7,S,1 j)  1200,7,S,1 o)  2400,7,S,1 t)  9600,7,S,1 y) 19200,7,S,1  │
  1803.             │                                                                             │
  1804.             │ Enter letter corresponding to new parameters or ESC to quit:                │
  1805.             │                                                                             │
  1806.             ╘═════════════════════════════════════════════════════════════════════════════╛
  1807.             
  1808.             Press the  letter corresponding to the new set of parameters
  1809.             you want.
  1810.             
  1811.             <ALT>N is useful with "dumb" modems that don't set the speed
  1812.             to match  the system  called automatically.   However,  most
  1813.             Hayes-compatible modems  will set the speed to match that of
  1814.             the system  called, and  will inform  PibTerm of  the proper
  1815.             speed.   PibTerm automatically  adjusts  the  speed  the  PC
  1816.             expects in order to match what the modem reports.  There are
  1817.             times when  you may want to prevent PibTerm from doing this;
  1818.             see the  section "Automatic  Dialing Speed  Adjustment"  for
  1819.             details.
  1820.             
  1821.             
  1822.             Local versus Remote Echo -- <ALT>E
  1823.             Local versus Remote Echo -- <ALT>E
  1824.             
  1825.             Some remote  systems echo  back each  character you  send to
  1826.             that remote  system.  Such systems are called remote echo or
  1827.                                                           remote echo   
  1828.             full-duplex  systems.     Some  systems  do  NOT  echo  back
  1829.             full-duplex                                                 
  1830.             characters you send, and therefore the terminal must display
  1831.             characters locally   in  order for  you to  see what you are
  1832.  
  1833.  
  1834.             A Guide to PibTerm v4.1 at Northwestern               Page 22
  1835.             A Guide to PibTerm v4.1 at Northwestern               Page 22
  1836.  
  1837.  
  1838.             typing.   Systems which  do not  echo characters  are called
  1839.             local echo or half-duplex systems.
  1840.             local echo    half-duplex         
  1841.             
  1842.             All of  the ACNS  systems provide  remote echo. However, you
  1843.             may encounter  other systems  which do  not echo characters.
  1844.             You'll know  you've found  one when  the characters you type
  1845.             aren't displayed.   To fix that in PibTerm, hit <ALT>E which
  1846.                                                             <ALT>E      
  1847.             toggles local  echo.   If local  echo is  ON,  PibTerm  will
  1848.             display the  characters you send to the remote system as you
  1849.             type them.
  1850.             
  1851.             Even full  duplex systems don't always echo back characters.
  1852.             For example,  many systems don't echo what you type when you
  1853.             are typing in a password. This doesn't mean that you need to
  1854.             set local echo on.
  1855.             
  1856.             If after  connecting to a remote system, the characters that
  1857.             you  type   are  displayed  twice,  then  you  probably  are
  1858.             accessing a  remote-echoing system  and you  have also  left
  1859.             PibTerm in local echo mode.  This "stuttering" of characters
  1860.             appears something like this:
  1861.             
  1862.                  Username: MMYYNNAAMMEE
  1863.                  Username: MMYYNNAAMMEE
  1864.             
  1865.             where you simply typed MYNAME.
  1866.                                    MYNAME.
  1867.             
  1868.             You should turn off local echo by pressing <ALT>E.
  1869.             
  1870.             If you  have  turned  off  local  echo  and  you  still  see
  1871.             stuttered characters,  then most  likely your  modem is  the
  1872.             culprit.   Check your modem manual for the command or switch
  1873.             setting to  suppress echoing.   For  many Hayes  command set
  1874.             modems, you  can type the following modem command to prevent
  1875.             the modem from echoing characters:
  1876.             
  1877.                  ATE0           (ATE1 turns modem local echo back on)
  1878.                  ATE0            ATE1                                
  1879.             
  1880.             
  1881.             Flow-Control
  1882.             Flow-Control
  1883.             
  1884.             There are times when two computers are communicating when it
  1885.             is necessary  for one  computer to  tell the  other to  stop
  1886.             sending information.   This  can happen because the receiver
  1887.             is too  busy to  process the  data as  quickly as it arrives
  1888.             from the  sender, or  because the  receiver must handle some
  1889.             higher-priority task,  or because  the received data must be
  1890.             written to disk in order to make room in memory for new data
  1891.             to arrive, and so on.  After telling the sender to stop, the
  1892.             receiver must  also be  able to  tell the  sender  to  start
  1893.             transmitting again.  This start-and-stop process between two
  1894.             communicating computers is call flow control.
  1895.                                             flow control.
  1896.             
  1897.             The most common form of software-implemented flow control is
  1898.             called the  XON/XOFF or  DC1/DC3 protocol.   When  the first
  1899.  
  1900.  
  1901.             A Guide to PibTerm v4.1 at Northwestern               Page 23
  1902.             A Guide to PibTerm v4.1 at Northwestern               Page 23
  1903.  
  1904.  
  1905.             computer wants  the second to stop sending information for a
  1906.             while, the  first computer  sends  an  Ascii  DC3  character
  1907.             (called XOFF  -- also  known as ^S) to the second.  When the
  1908.             first computer  is ready  to accept  data again,  the  first
  1909.             computer sends  an Ascii  DC1 character  (called XON -- also
  1910.             known as ^Q).
  1911.             
  1912.             All of the ACNS mainframe systems use the XON/XOFF protocol,
  1913.             so you  leave it  active (which  it is  by default).  If you
  1914.             need to  turn  off  Xon/Xoff  flow  control  (when  you  are
  1915.             accessing another system, for example), then you can do that
  1916.             at   
  1917.             
  1918.                  <ALT>P,
  1919.                       C)ommunications,
  1920.                            j) Do Xon/Xoff flow control.
  1921.             
  1922.             
  1923.             Another common  flow-control mechanism  is called  Clear-To-
  1924.             Send checking.   This uses the Clear-To-Send and Request-To-
  1925.             Send hardware  lines. Clear-To-Send  is not  needed with the
  1926.             ACNS mainframes.   However, you may find that some modems --
  1927.             especially those  with MNP error correction built-in -- need
  1928.             to have  Clear-To-Send activated when you are accessing non-
  1929.             ACNS systems. You can activate Clear-To-Send checking at
  1930.             
  1931.                  <ALT>P,
  1932.                       C)ommunications,
  1933.                            h) Check Clear To Send
  1934.             
  1935.             MNP error  correction is  discussed in  the next  section on
  1936.             "Setting Up A Modem For Use With PibTerm."
  1937.             
  1938.             
  1939.             Another hardware  flow-control method uses the Dataset Ready
  1940.             and Data  Terminal Ready  hardware lines.   This protocol is
  1941.             rarely  used   for   computer-to-computer   connections   or
  1942.             computer-to-modem connections.  Most commonly it is used for
  1943.             computer-to-printer or computer-to-other device connections.
  1944.             
  1945.             You can set DSR/DTR checking at:
  1946.             
  1947.                  <ALT>P,
  1948.                       C)ommunications,
  1949.                            i) Check Data Set Ready
  1950.             
  1951.             DSR/DTR flow  control is  not required  for any  of the ACNS
  1952.             mainframes.  You should not set it when using a modem.
  1953.             
  1954.             
  1955.             Setting Up A Modem For Use With PibTerm
  1956.             Setting Up A Modem For Use With PibTerm
  1957.             
  1958.             There are  three hardware  settings on  your modem which you
  1959.             may need to set to use PibTerm.
  1960.  
  1961.  
  1962.             A Guide to PibTerm v4.1 at Northwestern               Page 24
  1963.             A Guide to PibTerm v4.1 at Northwestern               Page 24
  1964.  
  1965.  
  1966.             
  1967.                  The Carrier Detect Line
  1968.                  The Carrier Detect Line
  1969.                  
  1970.                  A modem  tells  the  PC  if  a  phone  line carrier  is
  1971.                  detected, indicating  that   PibTerm is  connected to a
  1972.                  remote computer,  by  using  the  carrier  detect line.
  1973.                                                    carrier  detect line 
  1974.                  Usually there  is a  switch inside  the modem or on the
  1975.                  bottom of  the modem which indicates whether or not the
  1976.                  modem should  tell the  PC if  a carrier  is  detected.
  1977.                  When this  switch is  set HIGH,  the modem tells the PC
  1978.                  that the  carrier is  present  even  when  it  is  not.
  1979.                  Setting the  switch NORMAL causes the modem to tell the
  1980.                  PC the  truth about  the carrier  status.  For use with
  1981.                  PibTerm, you  should set your modem so that the carrier
  1982.                  detect line is set NORMAL.
  1983.                  
  1984.                  Regrettably, many  modems are  shipped from the factory
  1985.                  with the carrier  detect line  switch set HIGH, so that
  1986.                  PibTerm will  think that a  session is in progress even
  1987.                  when it  is not.   Consult  the documentation for  your
  1988.                  modem to  see how  to fix that.   Some modems allow you
  1989.                  to override  switch settings and set the carrier detect
  1990.                  line handling  with a  command.   For example, with the
  1991.                  Hayes 2400 baud modem (but NOT most other 2400 baud and
  1992.                  1200 baud  modems), you can issue the following command
  1993.                  to set carrier detect NORMAL:
  1994.                  
  1995.                       AT&C1
  1996.                       AT&C1
  1997.                  
  1998.                  You may  want to  add this command to the PibTerm modem
  1999.                  initialization string at
  2000.                  
  2001.                       <ALT>P,
  2002.                            M)odem and dialing,
  2003.                                 a) Initialization string
  2004.                  
  2005.                  so that  you don't have to enter it manually every time
  2006.                  you execute PibTerm.
  2007.                  
  2008.                  A second problem  is that  many serial  cables  do  not
  2009.                  correctly  transmit the  carrier  detect  line  to  the
  2010.                  computer.   We suggest buying a cable with ALL pins and
  2011.                  ALL  lines   provided.     The  extra   expense reduces
  2012.                  headaches in the long run. 
  2013.                  
  2014.                  The Data Terminal Ready (DTR) Line
  2015.                  The Data Terminal Ready (DTR) Line
  2016.                  
  2017.                  Another important signal line between the modem and the
  2018.                  PC is  the Data  Terminal Ready  or DTR line. This line
  2019.                             Data  Terminal Ready                        
  2020.                  informs the modem that your PC is ready to communicate.
  2021.                  If you  are using  a modem, you  should most likely set
  2022.                  DTR   NORMAL. Unfortunately, some  modems hang  up  the
  2023.                  phone when  communication  parameters  like  baud  rate
  2024.  
  2025.  
  2026.             A Guide to PibTerm v4.1 at Northwestern               Page 25
  2027.             A Guide to PibTerm v4.1 at Northwestern               Page 25
  2028.  
  2029.  
  2030.                  are changed if  DTR is  set NORMAL.   In this case, you
  2031.                  may want to set the modem DTR to be always HIGH.
  2032.             
  2033.                  Many modems  are shipped  from the factory with DTR set
  2034.                  HIGH instead of NORMAL.  Consult your modem's reference
  2035.                  manual to find out how to set DTR to NORMAL.  If DTR is
  2036.                  always HIGH,  PibTerm may  not be  able to  hang up the
  2037.                  phone when you ask it to.
  2038.                  
  2039.                  For example,  with the  Hayes 2400  baud modem (but NOT
  2040.                  most other  2400 baud  and 1200  baud modems),  you can
  2041.                  issue the  following command to set data terminal ready
  2042.                  NORMAL:
  2043.                  
  2044.                       AT&D1
  2045.                       AT&D1
  2046.             
  2047.                  You may  also want  to add  this command  to the  modem
  2048.                  initialization string.
  2049.             
  2050.                  MNP error correction
  2051.                  MNP error correction
  2052.                  
  2053.                  Some  modems   incorporate  hardware-implemented  error
  2054.                  checking protocol  to filter  out line  noise and other
  2055.                  communications problems.   If  the two  modems on  both
  2056.                  ends of  a connection  provide the  same kind of error-
  2057.                  checking, then  this can  result in  a  much  "cleaner"
  2058.                  session.  The two modems exchange error-correction data
  2059.                  as well  as the "real" data.  If the "real" data appear
  2060.                  to be incorrectly transmitted, then the two modems will
  2061.                  negotiate resending  the data  which did  not  transmit
  2062.                  correctly.   The modem  will not pass on the characters
  2063.                  to the  PC until  it appears  that they  are  correctly
  2064.                  received.
  2065.                  
  2066.                  The  most  common  hardware  error-correction  protocol
  2067.                  built into  modems is  the Microcom Networking Protocol
  2068.                                             Microcom Networking Protocol
  2069.                  or MNP  for short.   This  protocol  was  developed  by
  2070.                     MNP                                                 
  2071.                  Microcom, a  major modem  manufacturer.   MNP has  been
  2072.                  adopted by many other modem manufacturers as well.
  2073.                  
  2074.                  If your  modem has  MNP capabilities,  you must disable
  2075.                  those capabilities  in order  to achieve  a  successful
  2076.                  connection with  the ACNS  mainframes.  This is because
  2077.                  the mainframe  modems do NOT have MNP capabilities, and
  2078.                  they become quite confused when an MNP modem dials into
  2079.                  them.   The result  is non-connection, loss of carrier,
  2080.                  or just plain garbage displayed on the screen.
  2081.                  
  2082.                  Some modems  provide a  hardware switch to disable MNP.
  2083.                  On others you can issue a modem command to disable MNP,
  2084.                  which is  more convenient  than  setting  the  hardware
  2085.                  switch since  you  may  still  wish  to  call  non-ACNS
  2086.                  systems that  provide MNP on the remote end.  The usual
  2087.  
  2088.  
  2089.             A Guide to PibTerm v4.1 at Northwestern               Page 26
  2090.             A Guide to PibTerm v4.1 at Northwestern               Page 26
  2091.  
  2092.  
  2093.                  commands to  disable and enable MNP on Hayes-compatible
  2094.                  modems are:
  2095.                  
  2096.                       Enable MNP:    AT&M4
  2097.                       Enable         AT&M4
  2098.                       Disable MNP:   AT&M0
  2099.                       Disable        AT&M0
  2100.                  
  2101.                  Just type  AT&M0 on the keyboard before dialing an ACNS
  2102.                             AT&M0                                       
  2103.                  system to  disable MNP.   You can re-enable MNP for use
  2104.                  with non-ACNS systems by typing AT&M4.
  2105.                                                  AT&M4 
  2106.             
  2107.             In summary,  if you are using PibTerm with a modem, then set
  2108.             the modem characteristics as follows:
  2109.             
  2110.                  --   Set carrier detect NORMAL.
  2111.                                          NORMAL 
  2112.                  --   Set data set ready NORMAL.
  2113.                                          NORMAL.
  2114.                  --   Set MNP mode OFF for ACNS mainframes.
  2115.                                    OFF                     
  2116.             
  2117.             Remember:  "Honest" modems make PibTerm happiest.
  2118.             
  2119.             
  2120.             Hard-Wired Access
  2121.             Hard-Wired Access
  2122.             
  2123.             If your  PC is  directly connected to the remote system by a
  2124.             hard-wired cable then you  may be automatically connected as
  2125.             soon as  you execute PibTerm and the configuration files are
  2126.             read.   In other  cases you may have to do something to wake
  2127.             up the remote system.  With the ACNS machines, connection to
  2128.             the mainframes  occurs through a front-end device called the
  2129.             PACX.   To gain  the attention  of the PACX, you must send a
  2130.             break to the remote system:  in PibTerm, press <ALT>B.  Then
  2131.             hit the  Enter or Return key a couple of times.  This should
  2132.             get you the familiar "ENTER CLASS" message.
  2133.             
  2134.             If you  are using  a hard-wired  line, you  need  to  inform
  2135.             PibTerm of  that so  PibTerm won't look for a carrier detect
  2136.             line. If  you didn't do this when installing PibTerm, or you
  2137.             want to change your mind, you can do this at:
  2138.             
  2139.                   <ALT>P
  2140.                       C)ommunications
  2141.                            j) Hard-wired connection
  2142.             
  2143.             Set this parameter value to YES.
  2144.             
  2145.             To ease  the use of PibTerm with a hard-wired line, there is
  2146.             a script called HARDWIRE.SCR provided as part of the PibTerm
  2147.                             HARDWIRE.SCR                                
  2148.             release materials.   This  script prompts  you for  the ACNS
  2149.             system you  want to  access,   sets the  parameters for that
  2150.             system appropriately,  and then  gets you  past  the  "Enter
  2151.             Class" message.
  2152.             
  2153.             
  2154.             DIU/AILU access
  2155.             DIU/AILU access
  2156.             
  2157.  
  2158.  
  2159.             A Guide to PibTerm v4.1 at Northwestern               Page 27
  2160.             A Guide to PibTerm v4.1 at Northwestern               Page 27
  2161.  
  2162.  
  2163.             Regrettably, DIUs  and AILUs do NOT incorporate the Hayes AT
  2164.             command set.   To  use a DIU with the ACNS systems, you need
  2165.             to manually dial the phone number of the system to which you
  2166.             wish to  connect.   (AILUs work the same way.)  Then you can
  2167.             invoke a dialing script manually using <ALT>G.
  2168.             
  2169.             
  2170.             Setting Up And Using The Dialing Directory
  2171.             Setting Up And Using The Dialing Directory
  2172.             
  2173.             If you want to dial into a remote system, you can access the
  2174.             Dialing menu with  <ALT>D. Then  you  can    either  use the
  2175.             directory for  automatic dialing  or   press   M  and  enter
  2176.                                                            M            
  2177.             the number   manually.    Proceed   with  the  normal  login
  2178.             procedure for the remote system when the connection takes.
  2179.             
  2180.             The release  materials for PibTerm v4.1 contain a customized
  2181.             dialing  directory   with  relevant  ACNS  computer  numbers
  2182.             already defined  for you.   You may want to add more numbers
  2183.             to your  dialing directory,  or  change  the  communications
  2184.             parameters for the numbers provided.
  2185.             
  2186.             
  2187.             Dialing directory file PIBTERM.FON
  2188.             Dialing directory file PIBTERM.FON
  2189.             
  2190.             The dialing directory resides in the file PIBTERM.FON.  This
  2191.                                                       PIBTERM.FON       
  2192.             file, like  all the other PibTerm configuration files, is an
  2193.             ordinary Ascii  text  file.    The  format  of  the  dialing
  2194.             directory is  documented in the PibTerm Parameters Reference
  2195.                                             PibTerm Parameters Reference
  2196.             Manual.
  2197.             Manual.
  2198.             
  2199.             When PibTerm  starts execution,  the contents of the dialing
  2200.             directory PIBTERM.FON  is read into memory.  When you finish
  2201.             PibTerm,  an   updated  directory   is   written   back   to
  2202.             PIBTERM.FON.   During the  execution of  PibTerm,  only  the
  2203.             memory-resident dialing directory entries are referenced.
  2204.             
  2205.             If you  hit <ALT>D  with the ACNS-supplied PIBTERM.FON file,
  2206.             this is what you will see:
  2207.             
  2208.             
  2209.             ╒[ Dialing Directory ]════════════════════════════════════════════════════════╕
  2210.             │No.  --------- Name ----------   --- Number ---   -Baud- -Bits- -Par- -Stp-  │
  2211.             │  1  ACNS Vax 785, 2400 baud           491 3764    2400    7      E     1    │
  2212.             │  2  ACNS Vax 785, 1200 baud           491 5471    2400    7      E     1    │
  2213.             │  3  ACNS Cyber 845, 2400 baud         491 7471    2400    7      E     1    │
  2214.             │  4  ACNS Cyber 845, 1200 baud         491 5055    2400    7      E     1    │
  2215.             │  5  KGSM IBM 4361, 1200 baud          491 8531    1200    7      E     1    │
  2216.             │  6  LUIS, 1200 baud                   491 3070    1200    7      E     1    │
  2217.             │  7  IBM bulletin board                491 3892    2400    8      N     1    │
  2218.             │  8  Macintosh bulletin board          491 4962    2400    8      E     1    │
  2219.             │  9  -------------------------   # ### ###-####    2400    7      E     1    │
  2220.             │ 10  -------------------------   # ### ###-####    2400    7      E     1    │
  2221.             │ 11  -------------------------   # ### ###-####    2400    7      E     1    │
  2222.             │ 12  -------------------------   # ### ###-####    2400    7      E     1    │
  2223.  
  2224.  
  2225.             A Guide to PibTerm v4.1 at Northwestern               Page 28
  2226.             A Guide to PibTerm v4.1 at Northwestern               Page 28
  2227.  
  2228.  
  2229.             │ 13  -------------------------   # ### ###-####    2400    7      E     1    │
  2230.             │ 14  -------------------------   # ### ###-####    2400    7      E     1    │
  2231.             │ 15  -------------------------   # ### ###-####    2400    7      E     1    │
  2232.             │                                                                             │
  2233.             │ -->     R Revise entry    P Revise prefix    C Clear entry    Q Redial      │
  2234.             │         PgUp/PgDn Page    Esc Exit           /// Scroll   H Hang up     │
  2235.             │         M Manual dial     Home First page    End Last page    G Goto page   │
  2236.             │         Entry to dial     ENTER dials highlighted entry       L Dial list   │
  2237.             │         S Search          O Order entries                                   │
  2238.             ╘═════════════════════════════════════════════════════════════════════════════╛
  2239.             
  2240.  
  2241.  
  2242.             A Guide to PibTerm v4.1 at Northwestern               Page 29
  2243.             A Guide to PibTerm v4.1 at Northwestern               Page 29
  2244.  
  2245.  
  2246.             
  2247.             To dial  an entry,  simply type  the number of the entry and
  2248.             hit the  Enter or  Return key.   You can also use the Up and
  2249.                      Enter     Return                             Up    
  2250.             Down arrow  keys to highlight a new number, and then hit the
  2251.             Down                                                        
  2252.             Enter or  Return key to dial the highlighted number.  If you
  2253.             Enter     Return                                            
  2254.             want to dial a number not in the directory, hit M to start a
  2255.                                                             M           
  2256.             manual dial.   PibTerm  will prompt  you for  the number  to
  2257.             dial.
  2258.             
  2259.             You can  page through  the dialing  directory using the PgUp
  2260.                                                                     PgUp
  2261.             and PgDn keys, or you can scroll up and down one number at a
  2262.                 PgDn                                                    
  2263.             time by using the up and down arrow keys.  Home takes you to
  2264.                                                        Home             
  2265.             the top  of the  directory, End  takes you to the end of the
  2266.                                         End                             
  2267.             directory, and ESC takes you out of dialing mode.
  2268.                            ESC                               
  2269.             
  2270.             L allows  PibTerm to  try dialing  several numbers  until it
  2271.             L                                                           
  2272.             connects to  one of  the numbers (see the section "Dialing a
  2273.             list of  numbers").   S allows you to search for a directory
  2274.                                   S                                     
  2275.             entry by name or number.  Q redials the last number dialed.
  2276.                                       Q                                
  2277.             
  2278.             W writes  the memory-resident  dialing entries  back to  the
  2279.             W                                                           
  2280.             file PIBTERM.FON.  This is useful if you've made a number of
  2281.             changes to the dialing directory and you want to be sure the
  2282.             changes appear  in the  PIBTERM.FON file.   Normally PibTerm
  2283.             writes  a   revised  PIBTERM.FON   at  the  end  of  PibTerm
  2284.             execution, but  should PibTerm  encounter an error and abort
  2285.             then the  dialing directory  changes will  NOT  be  written.
  2286.             It's better  to be  safe than  sorry if  you've made lots of
  2287.             changes.
  2288.             
  2289.             The top  line of the dialing entry is highlighted.  As noted
  2290.             above, if you hit the Enter or Return key, PibTerm will dial
  2291.             that highlighted entry.  When using a mouse, the highlighted
  2292.             entry feature  is useful  because you can scroll through the
  2293.             directory entries  and dial  the highlighted  entry  without
  2294.             having to type the entry number.
  2295.             
  2296.             
  2297.             Sections of the dialing directory
  2298.             Sections of the dialing directory
  2299.             
  2300.             There are  three sections to the dialing directory.  Use the
  2301.             left and  right arrows  on the PC's keypad to move among the
  2302.             sections.   The  first  section  above  contains  the  phone
  2303.             numbers and  communications line parameters for each number.
  2304.             The second  section, shown  below, indicates  whether or not
  2305.             local echo  should be  turned on,  whether the backspace key
  2306.             should send  a backspace  or a  delete, whether  or not line
  2307.             feeds should  be added  to carriage  returns,  the  terminal
  2308.             type, and  the default  transfer type.  For  ACNS  mainframe
  2309.             systems these should be set as follows:
  2310.             
  2311.                       Echo:           N (No)
  2312.                       Backspace:      BS for Cyber;
  2313.                                       DEL for Vax;
  2314.  
  2315.  
  2316.             A Guide to PibTerm v4.1 at Northwestern               Page 30
  2317.             A Guide to PibTerm v4.1 at Northwestern               Page 30
  2318.  
  2319.  
  2320.                                       blank for IBM
  2321.                       Add line feeds: N (No)
  2322.                       Terminal type:  VT100
  2323.                       Transfer type:  Kermit
  2324.  
  2325.  
  2326.             A Guide to PibTerm v4.1 at Northwestern               Page 31
  2327.             A Guide to PibTerm v4.1 at Northwestern               Page 31
  2328.  
  2329.  
  2330.             
  2331.             ╒[ Dialing Directory ]════════════════════════════════════════════════════════╕
  2332.             │No.  --------- Name ---------- -Echo-  -BS-  -Add LF-  -Terminal-    -Xfer-  │
  2333.             │  1  ACNS Vax 785, 2400 baud      N     DEL     N        VT100       Kermit  │
  2334.             │  2  ACNS Vax 785, 1200 baud      N     DEL     N        VT100       Kermit  │
  2335.             │  3  ACNS Cyber 845, 2400 baud    N     BS      N        VT100       Kermit  │
  2336.             │  4  ACNS Cyber 845, 1200 baud    N     BS      N        VT100       Kermit  │
  2337.             │  5  KGSM IBM 4361, 1200 baud     N     BS      N        VT100       Kermit  │
  2338.             │  6  LUIS, 1200 baud              N     BS      N        VT100         None  │
  2339.             │  7  IBM bulletin board           N     BS      N        ANSI        Kermit  │
  2340.             │  8  Macintosh bulletin board     N     DEL     N        ANSI        Kermit  │
  2341.             │  9  -------------------------    N     DEL     N        VT100       Kermit  │
  2342.             │ 10  -------------------------    N     DEL     N        VT100       Kermit  │
  2343.             │ 11  -------------------------    N     DEL     N        VT100       Kermit  │
  2344.             │ 12  -------------------------    N     DEL     N        VT100       Kermit  │
  2345.             │ 13  -------------------------    N     DEL     N        VT100       Kermit  │
  2346.             │ 14  -------------------------    N     DEL     N        VT100       Kermit  │
  2347.             │ 15  -------------------------    N     DEL     N        VT100       Kermit  │
  2348.             │                                                                             │
  2349.             │ -->     R Revise entry    P Revise prefix    C Clear entry    Q Redial      │
  2350.             │         PgUp/PgDn Page    Esc Exit           /// Scroll   H Hang up     │
  2351.             │         M Manual dial     Home First page    End Last page    G Goto page   │
  2352.             │         Entry to dial     ENTER dials highlighted entry       L Dial list   │
  2353.             │         S Search          O Order entries    W Write directory              │
  2354.             ╘═════════════════════════════════════════════════════════════════════════════╛
  2355.             
  2356.             
  2357.             The third  section contains  the name  of the  script to  be
  2358.             executed if  a successful connection is made, as well as the
  2359.             last date  and  time  that  phone  number  was  successfully
  2360.             connected to.   The date and time allow you to keep track of
  2361.             the last time you logged in to a system.
  2362.             
  2363.             
  2364.             ╒[ Dialing Directory ]════════════════════════════════════════════════════════╕
  2365.             │No.  --------- Name ----------  -Script-  -Last Date-  -Last Time-           │
  2366.             │  1  ACNS Vax 785, 2400 baud    VAX                                          │
  2367.             │  2  ACNS Vax 785, 1200 baud    VAX                                          │
  2368.             │  3  ACNS Cyber 845, 2400 baud  CYBER                                        │
  2369.             │  4  ACNS Cyber 845, 1200 baud  CYBER                                        │
  2370.             │  5  KGSM IBM 4361, 1200 baud   IBM                                          │
  2371.             
  2372.                                           .
  2373.                                           .
  2374.                                           .
  2375.             │                                                                             │
  2376.             │ -->     R Revise entry    P Revise prefix    C Clear entry    Q Redial      │
  2377.             │         PgUp/PgDn Page    Esc Exit           /// Scroll   H Hang up     │
  2378.             │         M Manual dial     Home First page    End Last page    G Goto page   │
  2379.             │         Entry to dial     ENTER dials highlighted entry       L Dial list   │
  2380.             │         S Search          O Order entries                                   │
  2381.             ╘═════════════════════════════════════════════════════════════════════════════╛
  2382.             
  2383.             
  2384.             Revising a dialing entry
  2385.             Revising a dialing entry
  2386.  
  2387.  
  2388.             A Guide to PibTerm v4.1 at Northwestern               Page 32
  2389.             A Guide to PibTerm v4.1 at Northwestern               Page 32
  2390.  
  2391.  
  2392.             
  2393.             To revise  a dialing  entry, hit  the R key.  You will see a
  2394.             box appear  requesting the number of the dialing entry to be
  2395.             modified:
  2396.                                          ╒[ Revise Dialing Entry ]╕
  2397.                                          │Entry to revise ? 9     │
  2398.                                                             9      
  2399.                                          │                        │
  2400.                                          │                        │
  2401.                                          ╘════════════════════════╛
  2402.             
  2403.             
  2404.             For example,  assume we  want to add a new number at dialing
  2405.             slot nine.  Then enter a 9 as the number to be revised.  The
  2406.                                      9                                  
  2407.             following menu appears:
  2408.             
  2409.             
  2410.                                      ╒[ Revise Dialing Entry 9 ]══════╕
  2411.                                      │ a) All entries                 │
  2412.                                      │ b) Name                        │
  2413.                                      │ c) Number                      │
  2414.                                      │ d) Baud Rate                   │
  2415.                                      │ e) Parity                      │
  2416.                                      │ f) Data Bits                   │
  2417.                                      │ g) Stop Bits                   │
  2418.                                      │ h) Local Echo                  │
  2419.                                      │ i) Backspace                   │
  2420.                                      │ j) Add Linefeeds               │
  2421.                                      │ k) Terminal Type               │
  2422.                                      │ l) Transfer Type               │
  2423.                                      │ m) Script Name                 │
  2424.                                      │ q) Quit                        │
  2425.                                      ╘════════════════════════════════╛
  2426.             
  2427.             
  2428.             Hit a  to revise all entries.  You will be prompted for each
  2429.                 a                                                       
  2430.             item in turn.
  2431.             
  2432.             To revise  a current  entry, follow  the same  procedure and
  2433.             choose only  those entries  in  the  above  menu  which  you
  2434.             actually want to modify.
  2435.             
  2436.             
  2437.             Dialing prefixes and suffixes
  2438.             Dialing prefixes and suffixes
  2439.             
  2440.             The numbers  in the  dialing directory aren't long enough to
  2441.             allow for  the long  distance codes of companies like Sprint
  2442.             or MCI.   To  accommodate such dialing codes, PibTerm allows
  2443.             you to  define five  prefix and  postfix strings,  which are
  2444.             stored in  the file  PIBTERM.PRE. You  define a   prefix  or
  2445.             postfix string  with one  of the  five prefix  characters by
  2446.             striking P. These characters are:
  2447.                      P                       
  2448.             
  2449.                  '+', '-', '!', '@', '#'.
  2450.             
  2451.  
  2452.  
  2453.             A Guide to PibTerm v4.1 at Northwestern               Page 33
  2454.             A Guide to PibTerm v4.1 at Northwestern               Page 33
  2455.  
  2456.  
  2457.             Suppose you want to access the ACNS machines from out of the
  2458.             312 area  code.  If you use SPRINT then you need to dial the
  2459.             local SPRINT  access number,  followed by your SPRINT access
  2460.             code, followed  by the  actual number.   For  clarity  let's
  2461.             assume that  the local SPRINT access number is 888 8888, and
  2462.             your Sprint  access code  is 1234567.  You could  define the
  2463.             prefix string for '+' to be
  2464.             
  2465.                  8888888,,,1234567
  2466.             
  2467.             where each comma results in a slight pause to provide SPRINT
  2468.             enough time to answer the call and request the access code.
  2469.             
  2470.             Let's assume that you have used the P command to define that
  2471.             prefix for  the '+'  key. Also, assume that you've added the
  2472.             312 area code to the front of the ACNS Vax 785 dialing entry
  2473.             (entry 1).
  2474.             
  2475.             If you  enter +1  to dial,  then PibTerm prefixes the number
  2476.             for the  ACNS Vax  785 from  the dialing  directory with the
  2477.             string associated with '+' and dials:
  2478.             
  2479.                  888888,,,,1234567 1 312 491 3764
  2480.             
  2481.             
  2482.             Default prefix and suffix
  2483.             Default prefix and suffix
  2484.             
  2485.             You can  also set  a default  prefix and  postfix at  the  P
  2486.                                                                        P
  2487.             entry.   These will  be automatically added to the front and
  2488.             back of  a highlighted  phone number if the number is longer
  2489.             than seven digits.  For example, say that you define the '+'
  2490.             prefix as above, and then make '+' the default prefix.  Then
  2491.             suppose that you use the up and down arrow keys to highlight
  2492.             the phone  number for  the ACNS  Vax 785  to which  you have
  2493.             already added  the initial  312 area code as above.  Then if
  2494.             you hit  Enter or  Return, the prefix string associated with
  2495.             '+' is  automatically added  in front  of the ACNS Vax phone
  2496.             number.
  2497.             
  2498.             Likewise, you can define a default suffix character, and the
  2499.             contents of  the associated  suffix string  will be added to
  2500.             the end  of a  number dialed  by selecting  its  highlighted
  2501.             entry.  You may also define both a default prefix and suffix
  2502.             string at  the same  time, so that the corresponding strings
  2503.             will be  added to  the front (prefix) and back (suffix) of a
  2504.             highlighted number.
  2505.             
  2506.             The default  prefix/suffix facility  makes it  easier to use
  2507.             long-distance services without having to explicitly type the
  2508.             prefix and suffix characters -- especially with a mouse.
  2509.             
  2510.             
  2511.  
  2512.  
  2513.             A Guide to PibTerm v4.1 at Northwestern               Page 34
  2514.             A Guide to PibTerm v4.1 at Northwestern               Page 34
  2515.  
  2516.  
  2517.             Redialing the last number dialed -- <ALT>Q
  2518.             Redialing the last number dialed -- <ALT>Q
  2519.             
  2520.             You can  cause PibTerm  to redial the last number dialed (if
  2521.             any) by  hitting Q.  If no number has been previously dialed
  2522.                              Q.                                         
  2523.             in the current session, then you will be placed in the usual
  2524.             dialing  directory.     Using  <ALT>Q  outside  the  dialing
  2525.             directory is just like using Q inside the dialing directory.
  2526.                                          Q                              
  2527.             
  2528.             
  2529.             Dialing a list of numbers
  2530.             Dialing a list of numbers
  2531.             
  2532.             You can  create a  list of numbers to be dialed by hitting L
  2533.                                                                        L
  2534.             in the  dialing menu.   You  may enter  up  to  ten  dialing
  2535.             directory entries.   These  will be  called in  turn until a
  2536.             successful connection  is made  to one  of the  numbers,  or
  2537.             until you  hit the  ESC  key.    Once  PibTerm  successfully
  2538.             connects to  a number  in the  list, that  number is removed
  2539.             from the dialing list.
  2540.             
  2541.             After finishing  a session with one of the numbers specified
  2542.             in the  list, you  can  hit  <ALT>Q  to  begin  dialing  the
  2543.             remaining numbers  in the  list in  turn.   Once again, if a
  2544.             successful connection  is made,  then that  number  will  be
  2545.             removed from the list.
  2546.             
  2547.             Pressing  <ALT>D  clears  any  remaining  numbers  from  the
  2548.             dialing queue.
  2549.             
  2550.             
  2551.             Using The Short Dialing Prompt
  2552.             Using The Short Dialing Prompt
  2553.             
  2554.             Normally when  you hit  <ALT>D you get the long dialing menu
  2555.             described above.   If  you have a good memory, you can avoid
  2556.             getting this  display by requesting the short dialing prompt
  2557.             as follows:
  2558.             
  2559.                  <ALT>P,
  2560.                       M)odem and dialing,
  2561.                            p) Use short dialing menu
  2562.             
  2563.             If you set this feature to YES, then hitting <ALT>D issues a
  2564.             simple one-line prompt:
  2565.             
  2566.                  Dialing Command -->
  2567.             
  2568.             You can  then enter  the dialing  entry number  you wish  to
  2569.             dial, or  you can  hit the  Enter key  to bring  up the full
  2570.             dialing directory  menu display,  or  you  can  hit  another
  2571.             dialing command  letter like  S for  search or  L to start a
  2572.                                           S                 L           
  2573.             list dial.
  2574.             
  2575.             
  2576.  
  2577.  
  2578.             A Guide to PibTerm v4.1 at Northwestern               Page 35
  2579.             A Guide to PibTerm v4.1 at Northwestern               Page 35
  2580.  
  2581.  
  2582.             Dialing A System By Name
  2583.             Dialing A System By Name
  2584.             
  2585.             PibTerm does  not directly  support dialing a system by name
  2586.             instead  of  entry  number,  but  there  are  at  least  two
  2587.             different ways to dial by name indirectly.
  2588.             
  2589.             The first is to use the Search facility of the dialing menu.
  2590.             First enter  the dialing  menu by hitting <ALT>D.   Then hit
  2591.             S.  You will be prompted for a search string.  PibTerm scans
  2592.             S                                                           
  2593.             the name  and phone  number fields  of the dialing directory
  2594.             for a  match to  the search string you specified. The search
  2595.             is not  sensitive to  case, and  proceeds from  the  current
  2596.             highlighted position  to the  end of  the dialing directory,
  2597.             and then  wraps around  starting at the first dialing entry.
  2598.             If a  matching entry is found, then PibTerm  highlights that
  2599.             entry, and you can dial it by simply hitting the Enter key.
  2600.             
  2601.             For example,  suppose you  wish to  dial the  Cyber at  2400
  2602.             baud.   You could hit S to initiate a search and enter Cyber
  2603.                                   S                                Cyber
  2604.             as a  search string.     The third entry (which is the first
  2605.             entry with  the word  Cyber in  the  name  field)  would  be
  2606.             highlighted.  Just hitting Enter would then cause PibTerm to
  2607.             dial the Cyber.
  2608.             
  2609.             If the  first entry  located by the search isn't the one you
  2610.             want, then  hit S  again and  do the search over starting at
  2611.                             S                                           
  2612.             the new location in the dialing directory..
  2613.             
  2614.             A second  method for  dialing a  system by name is to define
  2615.             your own  special dialing  command using  a script.   Such a
  2616.             script is  presented as  an example  in the section "Another
  2617.             Sample Script -- Dialing By Name."
  2618.             
  2619.             
  2620.             Backing up PIBTERM.FON
  2621.             Backing up PIBTERM.FON
  2622.             
  2623.             PibTerm rewrites  the ENTIRE dialing directory at the end of
  2624.             execution  whenever  any  changes  have  been  made  to  the
  2625.             directory.   These changes include explicit modifications to
  2626.             dialing entries,  as well  as  implicit  modifications  like
  2627.             updating the  date/time of  last access  to any successfully
  2628.             dialed systems.
  2629.             
  2630.             You should make a backup copy of PIBTERM.FON every couple of
  2631.             days to  avoid problems  in case  PibTerm cannot  write  the
  2632.             updated directory  -- for  example, because  of lack of disk
  2633.             space.  You can use the DOS COPY command to do this:
  2634.             
  2635.                  COPY PIBTERM.FON BACKUP.FON
  2636.             
  2637.             where  BACKUP.FON   becomes  a  backup  copy  of  the  phone
  2638.             directory.
  2639.             
  2640.  
  2641.  
  2642.             A Guide to PibTerm v4.1 at Northwestern               Page 36
  2643.             A Guide to PibTerm v4.1 at Northwestern               Page 36
  2644.  
  2645.  
  2646.             Should PIBTERM.FON  be damaged, you can copy the backup file
  2647.             as follows:
  2648.             
  2649.                  COPY BACKUP.FON PIBTERM.FON
  2650.             
  2651.             
  2652.             Automatic Dialing Speed Adjustment
  2653.             Automatic Dialing Speed Adjustment
  2654.             
  2655.             Most Hayes-compatible modems set the speed of the connection
  2656.             to match  that of  the system  called when  dialing. PibTerm
  2657.             automatically adjusts  the speed  the PC expects in order to
  2658.             match what the modem reports.
  2659.             
  2660.             However, there  are times  when you  may not want PibTerm to
  2661.             perform this  automatic speed  adjustment.  For example, you
  2662.             may have  a modem  which allows  a constant  high speed like
  2663.             9600 baud  between the  modem and  the PC,  while the  modem
  2664.             itself handles  any "slowdown"  required for  accessing  the
  2665.             remote system on its own.
  2666.             
  2667.             In this  case, you  should make  sure to  always specify the
  2668.             highest  possible   speed  (say,   9600)  in   your  dialing
  2669.             directory, and  then turn OFF the automatic speed adjustment
  2670.             by setting the parameter at
  2671.             
  2672.                  <ALT>P,
  2673.                       M)odem and dialing,
  2674.                            n) Match speed of called system
  2675.             
  2676.             to NO.
  2677.             
  2678.             In many cases, you also need to set CTS checking to YES at
  2679.             
  2680.                  <ALT>P,
  2681.                       C)ommunications,
  2682.                            h) Check clear to send
  2683.             
  2684.             when using  a constant  high speed  between the  PC and  the
  2685.             modem.   Check  the  manufacturer's  instructions  for  your
  2686.             modems for details.
  2687.             
  2688.             
  2689.             Modem Pools
  2690.             Modem Pools
  2691.             
  2692.             Sometimes it is convenient to attach a number of modems with
  2693.             the ability  to place  outgoing calls, as well as to receive
  2694.             incoming calls,  to a  computer system.   Such  a modem pool
  2695.                                                               modem pool
  2696.             allows you  to dial  the remote  computer and  then use  the
  2697.             modem pool modems to place calls through that remote system.
  2698.             When you  use a  modem pool, you have to consider that modem
  2699.             responses to  modem commands  may be  issued either  by  the
  2700.             local modem  attached to  your PC  OR the  remote modem pool
  2701.             modem.
  2702.             
  2703.  
  2704.  
  2705.             A Guide to PibTerm v4.1 at Northwestern               Page 37
  2706.             A Guide to PibTerm v4.1 at Northwestern               Page 37
  2707.  
  2708.  
  2709.             Among the  most commonly used modem pools are those provided
  2710.             by the commercial Telenet and PC Pursuit services.
  2711.             
  2712.             Using a  modem pool  can be  a  bit  confusing.    When  you
  2713.             initially dial  the remote  system which  provides the modem
  2714.             pool, you  get the  usual "CONNECT"  message from  the modem
  2715.                                        CONNECT                          
  2716.             attached to  your PC.   When you dial another system THROUGH
  2717.             the remote  modem pool  modem, you  may also see a "CONNECT"
  2718.                                                                 CONNECT 
  2719.             message issued by the modem pool modem. Likewise other modem
  2720.             status messages like BUSY or NO CARRIER may be issued either
  2721.                                  BUSY    NO CARRIER                     
  2722.             by your local modem or by the remote modem.
  2723.             
  2724.             PibTerm has  no way  of distinguishing  between modem status
  2725.             messages issued  by your  local modem  and the remote modem.
  2726.             Normally, when  you use  the dialing  facilties  at  <ALT>D,
  2727.             PibTerm hangs  up the  phone line when a status message like
  2728.             BUSY or  NO CARRIER  is received.   (BUSY indicates that the
  2729.             BUSY     NO CARRIER                  BUSY                   
  2730.             phone line  is busy, and NO CARRIER indicates that the phone
  2731.                                      NO CARRIER                         
  2732.             line carrier has dropped.)  This ensures that the phone line
  2733.             is ready  for the  next dialing  attempt.  However,  if  the
  2734.             remote modem  pool modem issues the message, then you do NOT
  2735.             want PibTerm to hang up the phone, since then you would need
  2736.             to dial the modem pool again.
  2737.             
  2738.             To prevent  PibTerm from hanging up the phone when a message
  2739.             like BUSY or NO CARRIER is received during an <ALT>D dialing
  2740.             sequence, set the parameter at
  2741.             
  2742.                  <ALT>P,
  2743.                       M)odem and dialing,
  2744.                            s) Hold line after abortive dial
  2745.             
  2746.             to YES.   You  should set  this ONLY  when accessing a modem
  2747.             pool, and  then reset  it back  to NO  when you are finished
  2748.             with the modem pool.
  2749.             
  2750.             Another problem  is that  the remote modem pool modem cannot
  2751.             return a carrier detect signal back to your PC.  The carrier
  2752.             detect status is based only upon the connection between your
  2753.             local modem  and the  remote system  to which the modem pool
  2754.             modem is attached, NOT the connection between the modem pool
  2755.             modem and  whatever system you dialed through the modem pool
  2756.             modem.
  2757.             
  2758.             To get around this problem set the parameter at
  2759.             
  2760.                  <ALT>P,
  2761.                       M)odem and dialing,
  2762.                            m) Carrier line always high
  2763.             
  2764.             to YES.   Again, you should set this ONLY when accessing the
  2765.             modem pool (or if your modem requires this setting anyway).
  2766.             
  2767.             
  2768.  
  2769.  
  2770.             A Guide to PibTerm v4.1 at Northwestern               Page 38
  2771.             A Guide to PibTerm v4.1 at Northwestern               Page 38
  2772.  
  2773.  
  2774.             Dialing Problems
  2775.             Dialing Problems
  2776.             
  2777.             There are  a number of problems which can occur when you try
  2778.             to dial  a number.   Assuming  that your  hardware setup  is
  2779.             correct,  the   most  common  dialing  problems  arise  from
  2780.             incorrect  settings  of  the  modem  parameters.  The  modem
  2781.             parameters can be found at
  2782.             
  2783.                  <ALT>P,
  2784.                       M)odem and dialing.
  2785.             
  2786.             Problem:       The modem  starts to  dial,  but  immediately
  2787.             Problem                                                     
  2788.                            after  the   number  is  dialed  the  dialing
  2789.                            directory display  reappears, and the dialing
  2790.                            stops.
  2791.             
  2792.             Solution:      The modem timeout is set too small.  Go to   
  2793.             Solution                                                    
  2794.             
  2795.                                 <ALT>P,
  2796.                                      M)odem and dialing,
  2797.                                           i) Dialing Timeout.
  2798.             
  2799.                            You'll probably  see that  the value is zero.
  2800.                            Set  it  to  something  reasonable,  like  30
  2801.                            seconds.   This is the amount of time PibTerm
  2802.                            waits for  the remote  system to  answer  the
  2803.                            phone before PibTerm cancels the call.
  2804.             
  2805.             Problem:       The modem  appears to dial -- the dialing box
  2806.             Problem                                                     
  2807.                            appears --  but nothing actually happens.  It
  2808.                            looks as if the modem never placed the call.
  2809.             
  2810.             Solution:      Make sure  that you  have  chosen the correct
  2811.             Solution                                                    
  2812.                            serial port  for your  modem.  You can change
  2813.                            the serial port at
  2814.             
  2815.                                 <ALT>P,
  2816.                                      C)ommunications,
  2817.                                           a) Serial port.
  2818.             
  2819.                            If you have the correct serial port, check if
  2820.                            you have  a touch-tone  or rotary-dial  phone
  2821.                            system.  PibTerm is configured by default for
  2822.                            a touch-tone  phone line.    If  you  have  a
  2823.                            rotary-dial phone line, then you will have to
  2824.                            change the dialing command at:
  2825.             
  2826.                                 <ALT>P,
  2827.                                      M)odem and dialing,
  2828.                                           b) Dialing command prefix
  2829.             
  2830.                            from ATDT (for touch-tone lines) to ATDP (for
  2831.                                 ATDT                           ATDP     
  2832.                            rotary-dial phone lines).
  2833.             
  2834.  
  2835.  
  2836.             A Guide to PibTerm v4.1 at Northwestern               Page 39
  2837.             A Guide to PibTerm v4.1 at Northwestern               Page 39
  2838.  
  2839.  
  2840.             Problem:       PibTerm   dials    successfully,   but   then
  2841.             Problem                                                     
  2842.                            immediately  reports  that  a  connection  is
  2843.                            made, even  before the  phone is  answered by
  2844.                            the remote computer.
  2845.             
  2846.             Solution:      The problem  is that  your modem  is set  for
  2847.             Solution                                                    
  2848.                            carrier detect always HIGH instead of carrier
  2849.                            detect NORMAL.    If  possible,  change  your
  2850.                            modem settings  so that  the  carrier  detect
  2851.                            line is  NORMAL.   If you  can't do that, set
  2852.                            PibTerm to  ignore the  carrier line and wait
  2853.                            for the  modem to  tell it  that a connection
  2854.                            has been  established using  a modem response
  2855.                            string  ("CONNECT"  in  the  case  of  Hayes-
  2856.                            compatible modems).  You do this at:
  2857.             
  2858.                                 <ALT>P,
  2859.                                      M)odem and dialing,
  2860.                                           m) Carrier line always high
  2861.             
  2862.                            Set this  to YES  if  your  modem  keeps  the
  2863.                            carrier line always HIGH.
  2864.             
  2865.                            This carrier-detect-always-high  problem also
  2866.                            arises if  you   use an  outbound modem  pool
  2867.                            through a  hard-wired connection.   That  is,
  2868.                            your PC  is hard-wired  to a  device like the
  2869.                            PACX and one of the possible class selections
  2870.                            is a  modem pool  (see the  section on "Modem
  2871.                            Pools" above).
  2872.             
  2873.                            The modem  pool modem  will not  be  able  to
  2874.                            correctly signal  carrier detect  to you, and
  2875.                            so you set BOTH the hard-wired line option at
  2876.             
  2877.                                 <ALT>P,
  2878.                                      C)ommunications,
  2879.                                           j) Hard-wired connection
  2880.             
  2881.                            AND the  carrier line  always high  option to
  2882.                            YES.
  2883.             
  2884.             Problem:       Dialing commands aren't correctly interpreted
  2885.             Problem                                                     
  2886.                            (perhaps digits  are dropped),  or the  modem
  2887.                            initialization string  appears to be ignored,
  2888.                            etc.
  2889.             
  2890.             Solution:      This usually indicates that your modem cannot
  2891.             Solution                                                    
  2892.                            accept commands  at the  full  speed  of  the
  2893.                            connection,  and/or    that  your  modem  may
  2894.                            require extra  delays  between  reception  of
  2895.                            individual modem commands.
  2896.             
  2897.  
  2898.  
  2899.             A Guide to PibTerm v4.1 at Northwestern               Page 40
  2900.             A Guide to PibTerm v4.1 at Northwestern               Page 40
  2901.  
  2902.  
  2903.                            To slow down the speed at which PibTerm sends
  2904.                            modem commands  (including dialing  commands)
  2905.                            to the modem, set the parameter at
  2906.             
  2907.                                 <ALT>P,
  2908.                                      M)odem and dialing,
  2909.                                           l) intercharacter delay
  2910.             
  2911.                            to a  non-zero value.   Usually a value of 50
  2912.                            (which  means   introduce  a   delay  of   50
  2913.                            milliseconds between  sending each character)
  2914.                            works well.
  2915.             
  2916.                            You  can   also  introduce  extra  one-second
  2917.                            delays into  the modem  command strings.  For
  2918.                            example, many  modems require an extra one or
  2919.                            two seconds  of delay  after receiving an ATZ
  2920.                                                                      ATZ
  2921.                            (reset  modem)   command  before  another  AT
  2922.                            command will  be processed.   You can use the
  2923.                            '~' to  add as  many one-second delays into a
  2924.                            modem  command  string  as  necessary.    For
  2925.                            example, you  might need  to alter  the modem
  2926.                            initialization string at
  2927.             
  2928.                                 <ALT>P,
  2929.                                      M)odem and dialing,
  2930.                                           a) Initialization string
  2931.             
  2932.                            from the default
  2933.             
  2934.                                 ATZ|~ATX1|
  2935.             
  2936.                            to something like
  2937.             
  2938.                                 ATZ|~~~ATX1|
  2939.             
  2940.                            for a  modem which  requires  more  than  one
  2941.                            second to execute the ATZ.
  2942.                                                  ATZ 
  2943.             
  2944.             Problem:       Junk characters  appear after  connecting  to
  2945.             Problem                                                     
  2946.                            the remote  system.   Some of  the characters
  2947.                            are correct, others are incorrect.
  2948.             
  2949.             Solution:      This  is  almost  always  the  result  of  an
  2950.             Solution                                                    
  2951.                            incorrect parity  setting.   Check  that  the
  2952.                            dialing directory  entry has the correct data
  2953.                            bits, stop  bits, and  parity setting for the
  2954.                            remote system  being dialed.  Also check that
  2955.                            any  attached  script  does  not  incorrectly
  2956.                            reset the  parity.  Remember that the entries
  2957.                            in the  dialing directory -- NOT the settings
  2958.                            before you  dial --  are used when connecting
  2959.                            to the remote system.
  2960.             
  2961.  
  2962.  
  2963.             A Guide to PibTerm v4.1 at Northwestern               Page 41
  2964.             A Guide to PibTerm v4.1 at Northwestern               Page 41
  2965.  
  2966.  
  2967.                            Some resident  programs interfere with proper
  2968.                            operation of the parity and data bit settings
  2969.                            in PibTerm.   For  example, some  of the OPUS
  2970.                            BBS communications drivers cause interference
  2971.                            with   other   communications   programs   in
  2972.                            peculiar ways.   Sometimes you can get around
  2973.                            these    problems     by    using     unusual
  2974.                            databits/parity/stop bit settings.
  2975.             
  2976.             
  2977.             VT100 Terminal Emulation
  2978.             VT100 Terminal Emulation
  2979.             
  2980.             PibTerm defaults  to VT100  terminal emulation  mode.  VT100
  2981.             emulation is  the one  to use when accessing the ACNS Vax or
  2982.             Cyber, or the Kellogg/Econ IBM.
  2983.             
  2984.             To use  each of  these machines, a few parameter changes are
  2985.             necessary to  accomodate differences  in the way each system
  2986.             interprets the  VT100 keyboard.   These  differences concern
  2987.             the backspace key and the VT100 keypad definitions.
  2988.             
  2989.             The change  in the  backspace key  can be handled by setting
  2990.             the dialing  directory correctly  when you are using a modem
  2991.             to access  the ACNS  machines.   The change  in  the  keypad
  2992.             definitions can  be handled  by an  associated script  which
  2993.             sets the keypad key definitions correctly after a successful
  2994.             dial-in is  completed.   The sample  directory provided with
  2995.             the PibTerm  release materials  sets the backspace correctly
  2996.             for the  various ACNS  systems.  Also,  each  dialing  entry
  2997.             refers to  a script which sets the keypad keys correctly for
  2998.             each of the mainframes.  The script names are:
  2999.             
  3000.                  VAX.SCR        for the VAX 785
  3001.                  VAX.SCR                       
  3002.                  CYBER.SCR      for the Cyber 845 under NOS or NOS/VE
  3003.                  CYBER.SCR                                           
  3004.                  IBMCMS.SCR     for the Econ/KGSM IBM 4361 system
  3005.                  IBMCMS.SCR                                      
  3006.                  LUIS.SCR       for the Library information system
  3007.                  LUIS.SCR                                         
  3008.             
  3009.             If you  are making  a hard-wired  connection,  then  another
  3010.             script called HARDWIRE.SCR will set the parameters correctly
  3011.                           HARDWIRE.SCR                                  
  3012.             for each system.
  3013.             
  3014.             Let's look  at the  backspace and keypad definitions in more
  3015.             detail so  that you  will understand what the scripts do for
  3016.             you.
  3017.             
  3018.             
  3019.             The Backspace key
  3020.             The Backspace key
  3021.             
  3022.             For the  Vax, you  should set  the backspace key to send the
  3023.             Ascii DEL  (delete character).   This is Ascii code 127. For
  3024.             the Cyber, you should set the backspace key to send an ASCII
  3025.             BS (backspace character). This is Ascii code 8.  For the IBM
  3026.             systems (either  KGSM/Econ  or  LUIS),  you  should set  the
  3027.             backspace to send the escape sequence <ESC>[OA, which should
  3028.  
  3029.  
  3030.             A Guide to PibTerm v4.1 at Northwestern               Page 42
  3031.             A Guide to PibTerm v4.1 at Northwestern               Page 42
  3032.  
  3033.  
  3034.             also be  the same  sequence sent  by the left-arrow  on  the
  3035.             keypad (as defined in IBMCMS.FNC, see below).
  3036.                                   IBMCMS.FNC             
  3037.             
  3038.             You can change the behavior of the backspace key at
  3039.             
  3040.                  <ALT>P,
  3041.                       I)nput
  3042.                  
  3043.             
  3044.             For the Cyber, choose option
  3045.             
  3046.                            c) Backspace key sends BS, <CTRL>BS sends DEL
  3047.             
  3048.             For the Vax, choose option
  3049.             
  3050.                            d) Backspace key sends DEL, <CTRL>BS sends BS
  3051.             
  3052.             For LUIS  and the  KGSM/Econ IBM  4361, explicitly enter the
  3053.             escape sequence <ESC>[OA by choosing
  3054.             
  3055.                            a) Backspace key sends
  3056.             
  3057.             and then  entering the backspace string as  ^[[OA, using the
  3058.                                                         ^[[OA           
  3059.             special two-character ^ + [ combination to represent the ESC
  3060.                                                                      ESC
  3061.             character  (Ascii  27).    (See  the  section  on  "Keyboard
  3062.             Editing" for more details.)
  3063.             
  3064.             The correct  backspace values  for the Cyber and Vax will be
  3065.             set for you by the dialing directory if you dial in using  a
  3066.             modem.   You will  need to  set the backspace explicitly for
  3067.             the CMS  machines, or  add a  command to a dialing script to
  3068.             set  the  backspace.    The  HARDWIRE.SCR  script  sets  the
  3069.                                          HARDWIRE.SCR                   
  3070.             backspace correctly for all the systems.
  3071.             
  3072.             
  3073.             VT100 keypad definitions
  3074.             VT100 keypad definitions
  3075.             
  3076.             There are  several different IBM keyboards for PCs.  Earlier
  3077.             models and  many PC  clones used  an 83  or 84 key keyboard,
  3078.             with two  rows of  five function  keys  arranged  vertically
  3079.             along the  left-hand side  of the  keyboard.  The latest IBM
  3080.             PCs and  clones exhibit  a quite  different keyboard layout,
  3081.             somewhat  euphemistically  referred  to  as  the  "enhanced"
  3082.             keyboard.   This keyboard  displays twelve  function keys F1
  3083.             through F12  along the  top row  of the  keyboard, and  also
  3084.             features  a   separate  cursor  pad  and  direction  keypad.
  3085.             PibTerm allows  you to  use the  extra cursor,  keypad,  and
  3086.             function keys  of the enhanced keyboard both as defined keys
  3087.             and for  routine use  in doing things like scrolling through
  3088.             the dialing directory.
  3089.             
  3090.             None of  these IBM  PC keyboards    provides  for  a  direct
  3091.             mapping of  the VT100  keypad,   so PibTerm  allows  you  to
  3092.             define a  variety of  PC keys  to act like VT100 keys. It is
  3093.  
  3094.  
  3095.             A Guide to PibTerm v4.1 at Northwestern               Page 43
  3096.             A Guide to PibTerm v4.1 at Northwestern               Page 43
  3097.  
  3098.  
  3099.             convenient to use different definitions (or mappings) of the
  3100.             VT100 keys  onto the  PC keys,  depending upon  which remote
  3101.             system you  are accessing  and which  PC keyboard  you have.
  3102.             Sample mappings for each of the ACNS systems are provided as
  3103.             part of the PibTerm release materials.
  3104.             
  3105.             To  select  one of these definitions,  access  the  Function
  3106.             Key Definition menu:
  3107.             
  3108.                   <ALT>K),
  3109.                       R)ead definitions from file
  3110.             
  3111.             to read  the definitions  from  a  file  and    enter    the
  3112.             appropriate file name:
  3113.             
  3114.                  For the Vax:   DECVAX.FNC     (84 key keyboards)
  3115.                                 DECVAX.FNC                       
  3116.                                 DECVAXE.FNC    (101 key keyboards)
  3117.                                 DECVAXE.FNC                       
  3118.                  
  3119.                  For the Cyber: CDCNOS.FNC
  3120.                                 CDCNOS.FNC
  3121.                  
  3122.                  For the IBM:   IBMCMS.FNC     (84 key keyboards)
  3123.                                 IBMCMS.FNC                       
  3124.                                 IBMCMSE.FNC    (101 key keyboards)
  3125.                                 IBMCMSE.FNC                       
  3126.             
  3127.             Regardless of  which type  of keyboard  your PC has, you may
  3128.             want  to   redefine  the  keypad  definitions yourself.    A
  3129.             description of  how to  do that appears later in the section
  3130.             on "Defining Function Keys." 
  3131.             
  3132.             If you  are using  the supplied  dialing directory, then the
  3133.             scripts attached to the dialing entries for the machines can
  3134.             supply the  correct function  key definitions automatically.
  3135.             If  you   are  using   a  hard-wired  connection,  then  the
  3136.             HARDWIRE.SCR script  will supply  the  proper  function  key
  3137.             HARDWIRE.SCR                                                
  3138.             definitions.
  3139.             
  3140.             
  3141.             To use PibTerm with VAX/VMS:
  3142.             To use PibTerm with VAX/VMS:
  3143.             
  3144.             Enter the VMS command
  3145.             
  3146.                SET TERMINAL/VT100
  3147.                SET TERMINAL/VT100
  3148.             
  3149.             which tells  VMS that  you're using a VT100 terminal. If you
  3150.             know that  you will  always be  logging in  to the Vax using
  3151.             PibTerm or  another VT100-compatible  terminal or  emulation
  3152.             program, you  should  place  the  "SET"  statement  in  your
  3153.             login.com file  on the  Vax. That  way it  will be  executed
  3154.             login.com                                                   
  3155.             automatically each time you log in.
  3156.             
  3157.             The keyboard  file DECVAX.FNC  defines F1 through  F10 to be
  3158.                                DECVAX.FNC                               
  3159.             the left half  of the  VT100 keypad,  and Shift  F1  through
  3160.             Shift F10 to  be the  right half  of the VT100 keypad.  That
  3161.             is, the mapping looks like this: 
  3162.             
  3163.  
  3164.  
  3165.             A Guide to PibTerm v4.1 at Northwestern               Page 44
  3166.             A Guide to PibTerm v4.1 at Northwestern               Page 44
  3167.  
  3168.  
  3169.             
  3170.                    Standard VT100 Keypad
  3171.             
  3172.             ┌--------┬--------┬--------┬--------┐
  3173.             │        │        │        │        │
  3174.             │  PF 1  │  PF 2  │  PF 3  │  PF 4  │
  3175.             │        │        │        │        │
  3176.             ├--------┼--------┼--------┼--------┤
  3177.             │        │        │        │        │
  3178.             │    7   │    8   │    9   │    -   │
  3179.             │        │        │        │        │
  3180.             ├--------┼--------┼--------┼--------┤
  3181.             │        │        │        │        │
  3182.             │    4   │    5   │    6   │    ,   │
  3183.             │        │        │        │        │
  3184.             ├--------┼--------┼--------┼--------┤
  3185.             │        │        │        │        │
  3186.             │    1   │    2   │    3   │    E   │
  3187.             │        │        │        │    N   │
  3188.             ├--------┴--------┼--------┤    T   │
  3189.             │                 │        │    E   │
  3190.             │        0        │    .   │    R   │
  3191.             │                 │        │        │
  3192.             └-----------------┴--------┴--------┘
  3193.             
  3194.             
  3195.              IBM PC Function Keys from DECVAX.FNC
  3196.             
  3197.             ┌--------┬--------┐ ┌--------┬--------┐
  3198.             │        │        │ │ Shift  │ Shift  │
  3199.             │   F1   │   F2   │ │   F1   │   F2   │
  3200.             │        │        │ │        │        │
  3201.             ├--------┼--------┤ ├--------┼--------┤
  3202.             │        │        │ │ Shift  │ Shift  │
  3203.             │   F3   │   F4   │ │   F3   │   F4   │
  3204.             │        │        │ │        │        │
  3205.             ├--------┼--------┤ ├--------┼--------┤
  3206.             │        │        │ │ Shift  │ Shift  │
  3207.             │   F5   │   F6   │ │   F5   │   F6   │
  3208.             │        │        │ │        │        │
  3209.             ├--------┼--------┤ ├--------┼--------┤
  3210.             │        │        │ │ Shift  │ Shift  │
  3211.             │   F7   │   F8   │ │   F7   │   F8   │
  3212.             │        │        │ │        │        │
  3213.             ├--------┼--------┤ ├--------┼--------┤
  3214.             │        │        │ │ Shift  │ Shift  │
  3215.             │   F9   │   F10  │ │   F9   │   F10  │
  3216.             │        │        │ │        │        │
  3217.             └--------┴--------┘ └--------┴--------┘
  3218.             
  3219.             
  3220.             To get  the shifted version of a function key, hold down the
  3221.             shift key while striking the function key.
  3222.             
  3223.  
  3224.  
  3225.             A Guide to PibTerm v4.1 at Northwestern               Page 45
  3226.             A Guide to PibTerm v4.1 at Northwestern               Page 45
  3227.  
  3228.  
  3229.             The VT100  arrow keys  are mapped onto the arrow keys of the
  3230.             right-hand PC Keypad.
  3231.             
  3232.             The definitions  in DECVAXE.FNC,  for use  with the enhanced
  3233.                                 DECVAXE.FNC                             
  3234.             keyboard, provide  a different  mapping scheme,  since it is
  3235.             possible to  match the  VT100 keypad  more closely  with the
  3236.             extended PC keyboard.
  3237.             
  3238.             
  3239.             The cursor  keys in  DECVAXE.FNC are  mapped to the separate
  3240.                                  DECVAXE.FNC                            
  3241.             cursor keypad.  The PF keys are mapped as follows:
  3242.             
  3243.                  PF1 = main keypad /
  3244.                  PF2 = extra keypad Page Up
  3245.                  PF3 = extra keypad Page Dn
  3246.                  PF4 = main keypad *
  3247.             
  3248.             The reason  for defining  the PF  keys  "out  of  order"  is
  3249.             because access  to PF1  + other  main keypad  keys is easier
  3250.             that way.   PF1  is the "gold" key for editors like EDT, and
  3251.             it is  a less  awkward stretch  to put  it on  the  main  PC
  3252.             keypad.
  3253.             
  3254.             The rest  of the main PC keypad acts just like VT100 keypad,
  3255.             except that  the '+'  on the  PC keypad acts like the ',' on
  3256.             the VT100 keypad.
  3257.             
  3258.             Symbolically, here  are the  correspondences,  with  the  PC
  3259.             keyboard key  name on top and the VT100 keyboard key name on
  3260.             the bottom.
  3261.             
  3262.             +---------+--------+--------+
  3263.             |         |        |        |
  3264.             | Insert  |  Home  | Page Up|
  3265.             |         |        | (PF2)  |
  3266.             +---------+--------+--------+
  3267.             |         |        |        |
  3268.             | Delete  |  End   | Page Dn|
  3269.             |         |        | (PF3)  |
  3270.             +---------+--------+--------+
  3271.             
  3272.                       +--------+
  3273.                       |        |
  3274.                       |   Up   |
  3275.                       |  (Up)  |
  3276.             +---------+--------+--------+
  3277.             |         |        |        |
  3278.             |  Left   |  Down  | Right  |
  3279.             | (Left)  | (Down) | (Right)|
  3280.             +---------+--------+--------+
  3281.             
  3282.  
  3283.  
  3284.             A Guide to PibTerm v4.1 at Northwestern               Page 46
  3285.             A Guide to PibTerm v4.1 at Northwestern               Page 46
  3286.  
  3287.  
  3288.             +---------+--------+--------+--------+
  3289.             |         |        |        |        |
  3290.             | Num Lock|  /     |   *    |   -    |
  3291.             |         |  (PF1) | (PF4)  |  (-)   |
  3292.             +---------+--------+--------+--------+
  3293.             |         |        |        |        |
  3294.             |    7    |   8    |   9    |        |
  3295.             |   (7)   |  (8)   |  (9)   |   +    |
  3296.             +---------+--------+--------+        |
  3297.             |         |        |        |        |
  3298.             |    4    |   5    |   6    |  (,)   |
  3299.             |   (4)   |  (5)   |  (6)   |        |
  3300.             +---------+--------+--------+--------+
  3301.             |         |        |        |        |
  3302.             |    1    |   2    |   3    |        |
  3303.             |   (1)   |  (2)   |  (3)   | Enter  |
  3304.             +---------+--------+--------+        |
  3305.             |                  |        |        |
  3306.             |    0             |   .    |(Enter) |
  3307.             |   (0)            |  (.)   |        |
  3308.             +---------+--------+--------+--------+
  3309.             
  3310.             
  3311.             To use PibTerm with IBM CMS:
  3312.             To use PibTerm with IBM CMS:
  3313.             
  3314.             Enter VT100  as the  terminal name when prompted to do so by
  3315.                   VT100                                                 
  3316.             the IBM  system.   If you  use the  supplied script IBM.SCR,
  3317.                                                                 IBM.SCR 
  3318.             then this will be done for you automatically.
  3319.             
  3320.             The function  keys for CMS are mapped quite differently than
  3321.             for the  Vax.   Rather than  attempt to  emulate the  keypad
  3322.             layout  of  the  VT100,  the  function  key  definitions  in
  3323.             IBMCMS.FNC attempt  to match  the key assignments of the IBM
  3324.             IBMCMS.FNC                                                  
  3325.             3270 family terminals.  Here is the mapping:
  3326.             
  3327.                       PC keys                          3270 keys
  3328.                       PC keys                          3270 keys
  3329.             
  3330.                       F1 -> F10                        PFK1 -> PFK10
  3331.                       <Shift>F1 -> <SHIFT>F10          PFK11 -> PFK20
  3332.                       <CTRL>F1 -> <CTRL>F10            PFK21 -> PFK31
  3333.                       <ALT>F1 -> <ALT>F5               PFK32 -> PFK36
  3334.                       <ALT>F8                          PA1
  3335.                       <ALT>F9                          PA2
  3336.                       <ALT>F10                         PA3
  3337.             
  3338.             
  3339.             IBMCMSE.FNC uses a similar mapping:
  3340.             IBMCMSE.FNC                        
  3341.             
  3342.                       PC keys                          3270 keys
  3343.                       PC keys                          3270 keys
  3344.             
  3345.                       F1 -> F12                        PFK1 -> PFK12
  3346.                       <Shift>F1 -> <SHIFT>F12          PFK13 -> PFK24
  3347.                       <CTRL>F1 -> <CTRL>F12            PFK25 -> PFK36
  3348.                       <ALT>F1                          PA1
  3349.  
  3350.  
  3351.             A Guide to PibTerm v4.1 at Northwestern               Page 47
  3352.             A Guide to PibTerm v4.1 at Northwestern               Page 47
  3353.  
  3354.  
  3355.                       <ALT>F2,Keypad Enter             PA2
  3356.                       <ALT>F3                          PA3
  3357.             
  3358.             
  3359.             To use PibTerm with NOS:
  3360.             To use PibTerm with NOS:
  3361.             
  3362.             After logging in to NOS, enter the command:
  3363.             
  3364.                SCREEN,VT100.
  3365.                SCREEN,VT100.
  3366.             
  3367.             CDCNOS.FNC contains  another mapping  of the  VT100 keys for
  3368.             CDCNOS.FNC                                                  
  3369.             use with  Control Data's  NOS and  NOS/VE operating systems.
  3370.             The key  mapping is  as follows:   use F1 through F8 for the
  3371.                                                    F1         F8        
  3372.             lower row of "tombstones" displayed by NOS, and use Shift F1
  3373.                                                                 Shift F1
  3374.             through Shift  F8 for  the upper row of tombstones.  Use the
  3375.                     Shift  F8                                           
  3376.             arrow keys on the PC's numeric keypad.
  3377.             
  3378.             Suppose you  invoke the  FSE  editor  for  an  existing file
  3379.             called BOGUSCO: 
  3380.             
  3381.                FSE,BOGUSCO.
  3382.                FSE,BOGUSCO.
  3383.             
  3384.             Then you should see a screen something like the following:
  3385.             
  3386.             
  3387.             -----------------------------------------------------------------------------------
  3388.                NOS FULL SCREEN EDITOR
  3389.                Upper Case File BOGUSCO  Lines 1 - 19 Size 21
  3390.                LINE 1 OF BOGUSCO
  3391.                LINE 2 OF BOGUSCO
  3392.                LINE 3 OF BOGUSCO
  3393.                LINE 4 OF BOGUSCO
  3394.                LINE 5 OF BOGUSCO
  3395.                LINE 6 OF BOGUSCO
  3396.                LINE 7 OF BOGUSCO
  3397.                LINE 8 OF BOGUSCO
  3398.                LINE 9 OF BOGUSCO
  3399.                LINE 10 OF BOGUSCO
  3400.                LINE 11 OF BOGUSCO
  3401.                LINE 12 OF BOGUSCO
  3402.                LINE 13 OF BOGUSCO
  3403.                LINE 14 OF BOGUSCO
  3404.                LINE 15 OF BOGUSCO
  3405.                LINE 16 OF BOGUSCO
  3406.                LINE 17 OF BOGUSCO
  3407.                LINE 18 OF BOGUSCO
  3408.                LINE 19 OF BOGUSCO
  3409.                    BKW      LINEDN     DELC      DELL      UNDO      COPY      HOME     CLEAR
  3410.                    BKW      LINEDN     DELC      DELL      UNDO      COPY      HOME     CLEAR
  3411.                F1  FWD   F2 LINEUP F3  INSC  F4  INSL  F5  MARK  F6  MOVE  F7  HELP  F8  QUIT
  3412.                    FWD      LINEUP     INSC      INSL      MARK      MOVE      HELP      QUIT
  3413.             -----------------------------------------------------------------------------------
  3414.             
  3415.             You can  move forward  in the  file by hitting the F1 key on
  3416.             the PC.   To move  backward,  hit  the  Shift  and  F1  keys
  3417.                                                     Shift       F1      
  3418.             together.   You do  NOT have to  hit the Enter key;  PibTerm
  3419.                                                      Enter              
  3420.  
  3421.  
  3422.             A Guide to PibTerm v4.1 at Northwestern               Page 48
  3423.             A Guide to PibTerm v4.1 at Northwestern               Page 48
  3424.  
  3425.  
  3426.             automatically adds  the carriage  return. This makes editing
  3427.             on NOS a bit more convenient than on a real VT100 terminal. 
  3428.             
  3429.             The keypad definitions in CDCNOS.FNC are still useful on the
  3430.                                       CDCNOS.FNC                        
  3431.             enhanced keyboard.
  3432.             
  3433.             
  3434.             Automatic Loading of Function Key Definitions
  3435.             Automatic Loading of Function Key Definitions
  3436.             
  3437.             You may request PibTerm to search the function key directory
  3438.             for a  .FNC file which corresponds to the currently selected
  3439.             terminal emulation.   (See  the section  "Setting a function
  3440.             key subdirectory"  which descibes  how to set a function key
  3441.             directory.) To do this, set the parameter at:
  3442.             
  3443.                  <ALT>P,
  3444.                       T)erminal emulation,
  3445.                            j) Autoload function keys
  3446.             
  3447.             If the  .FNC file  is found,  the function  key  definitions
  3448.             therein are  loaded when  the selected emulation is started,
  3449.             just as  if <ALT>K  were used to read in the file.  (See the
  3450.                         <ALT>K                                          
  3451.             section "Defining function keys -- <ALT>K".)
  3452.             
  3453.             Currently, the following file names are used:
  3454.             
  3455.                       Emulation       .FNC file name
  3456.                       Emulation       .FNC file name
  3457.                       
  3458.                       VT100           VT100.FNC
  3459.                       Ansi/BBS        ANSI.FNC
  3460.                       VT52            VT52.FNC
  3461.                       Tek 4010        TEK4010.FNC
  3462.                       Dumb            DUMB.FNC
  3463.             
  3464.             and so on.
  3465.             
  3466.             This option  is most  useful if you plan to use the same set
  3467.             of  function   key  definitions   for  a  specific  terminal
  3468.             emulation type on several different systems.
  3469.             
  3470.             
  3471.             Switching Between VT100 Keypad Modes
  3472.             Switching Between VT100 Keypad Modes
  3473.             
  3474.             The VT100  terminal provides  for switching  between numeric
  3475.             keypad mode  and  applications  keypad  mode  under  program
  3476.             control.     On  the  PC  this  distinction  is  essentially
  3477.             irrelevant because  you can  always use <SHIFT>keypad-key to
  3478.                                                     <SHIFT>keypad-key   
  3479.             get a numeric digit on the right-hand numeric keypad.
  3480.             
  3481.             However,  you   may  still   want  to   load  different  key
  3482.             definitions depending  upon whether  the VT100  keypad is in
  3483.             numeric mode  or in applications mode.  The principal reason
  3484.             is that  the cursor  key definitions  -- that is, the escape
  3485.             sequences which  are to  be sent  to the  remote system when
  3486.  
  3487.  
  3488.             A Guide to PibTerm v4.1 at Northwestern               Page 49
  3489.             A Guide to PibTerm v4.1 at Northwestern               Page 49
  3490.  
  3491.  
  3492.             an arrow  key is struck -- are different in numeric mode and
  3493.             applications mode.  Here is a table of the differences:
  3494.             
  3495.                       Key             Numeric mode     Applications mode
  3496.                       Key             Numeric mode     Applications mode
  3497.             
  3498.                       Up arrow        ESC [A           ESC [O A
  3499.                       Down arrow      ESC [B           ESC [O B
  3500.                       Right arrow     ESC [C           ESC [O C
  3501.                       Left arrow      ESC [D           ESC [O D
  3502.             
  3503.             You can  request that  PibTerm should  load new function key
  3504.             files when  it receives  the VT100 set or reset applications
  3505.             keypad mode escape sequences by setting the parameter at
  3506.             
  3507.                  <ALT>P,
  3508.                       T)erminal emulation,
  3509.                            b) VT100 settings,
  3510.                                 g) do VT100 applic/numeric keypad switch
  3511.             
  3512.             to YES.
  3513.             
  3514.             You can  specify the  names of  the .FNC  files to be loaded
  3515.             when  PibTerm   receives  either  the  VT100  set  or  reset
  3516.             applications keypad mode escape sequences at
  3517.             
  3518.                  <ALT>P,
  3519.                       T)erminal emulation,
  3520.                            b) VT100 settings,
  3521.                                 h) Key file for VT100 applic mode
  3522.                                 i) Key file for VT100 numeric mode
  3523.             
  3524.             When accessing  the ACNS mainframe systems, you should leave
  3525.             the "do VT100 applic/numeric keypad switch" parameter set to
  3526.             NO, and also leave the key file names blank.
  3527.             
  3528.             
  3529.             The PibTerm Status Line
  3530.             The PibTerm Status Line
  3531.             
  3532.             The bottom  line of  the display  in VT100 mode is a special
  3533.             status line which  indicates the current values of important
  3534.             communications variables. 
  3535.             
  3536.             The contents of the status line look like this:
  3537.             
  3538.               Scriptname HH:MM -CA -PR -LO -LF -LE -XO -CT -CD COMn  baudpdb  message
  3539.             
  3540.             The items are:
  3541.             
  3542.               Scriptname   ---  indicates the name of a currently executing script,
  3543.                                 if any, or the name of the terminal emulation in use.
  3544.               HH:MM        ---  is the time of day.
  3545.               CA           ---  Capture file status:  -CA means no capture file open,
  3546.                                 +CA means capture file open.
  3547.               PR           ---  Printer file status:  -PR means no printer file open,
  3548.  
  3549.  
  3550.             A Guide to PibTerm v4.1 at Northwestern               Page 50
  3551.             A Guide to PibTerm v4.1 at Northwestern               Page 50
  3552.  
  3553.  
  3554.                                 +PR means printer file open.
  3555.               LO           ---  Logging file status:  -LO means no logging file open,
  3556.                                 +LO means logging file open.
  3557.               LF           ---  Line feed status:  -LF means no line feeds added to
  3558.                                 incoming carriage returns,
  3559.                                 +LF means line feeds added.
  3560.               LE           ---  Local echo status  :  -LE means remote echo,
  3561.                                 +LE means local echo.
  3562.               XO           ---  XON/XOFF status:      -XO means no XON/XOFF flow control,
  3563.                                 +XO means XON/XOFF flow control turned on.
  3564.               CT           ---  Clear-to-send status: -CT means no CTS checking,
  3565.                                 +CT means CTS checking turned on.
  3566.               CD           ---  Carrier detect status: +CD means carrier line high,
  3567.                                 -CD means carrier dropped.
  3568.               COMn         ---  indicates which serial port is currently in use.
  3569.               baud,p,d,b   ---  baud rate, parity, data bits, and stop bits.
  3570.               message      ---  messages are displayed to indicate unusual
  3571.                                 problems in communication.
  3572.             
  3573.             For example, consider the following status line:
  3574.             
  3575.              VT100      14:43 -CA -PR -LO -LF -LE +XO -CT -CD COM1  9600E71
  3576.             
  3577.             This indicates:
  3578.             
  3579.                -- VT100 emulation is in effect.
  3580.                -- The time is 14:43 or 2:43 pm.
  3581.                -- Capture file logging is off.
  3582.                -- Printer logging is off.
  3583.                -- Log file logging is off.
  3584.                -- Line feeds are not added to carriage returns.
  3585.                -- Local echo is off.
  3586.                -- XON/XOFF flow control is in effect.
  3587.                -- CTS flow control is off.
  3588.                -- No carrier detected.
  3589.                -- Port 1 (COM1:) is used for communications.
  3590.                -- The speed of the connection is 9600 baud; even
  3591.                   parity; seven-bit data bytes; one stop bit.
  3592.             
  3593.             Sometimes you may want to turn off the display of the status
  3594.             line.   You might  do this  if you  are accessing  a  remote
  3595.             system which needs to write to the bottom line of the screen
  3596.             where the  status line  normally resides.   Or, you may find
  3597.             the status  line unesthetic.  To turn OFF the display of the
  3598.             status line, change the value at:
  3599.             
  3600.                  <ALT>P,
  3601.                       T)erminal,
  3602.                            e) Display status line
  3603.             
  3604.             to be NO.
  3605.             
  3606.             If you disable the display of the status line, then you WILL
  3607.             NOT SEE  any error  messages that PibTerm  normally shows in
  3608.  
  3609.  
  3610.             A Guide to PibTerm v4.1 at Northwestern               Page 51
  3611.             A Guide to PibTerm v4.1 at Northwestern               Page 51
  3612.  
  3613.  
  3614.             case of  problems.  Therefore, you should enable the  status
  3615.             line display whenever possible.
  3616.             
  3617.             The status line is NOT displayed in Tek4010 emulation mode.
  3618.             
  3619.             
  3620.             The Scroll Lock Key
  3621.             The Scroll Lock Key
  3622.             
  3623.             In all terminal modes except gossip mode you can IMMEDIATELY
  3624.             halt the screen  display from  advancing by  depressing  the
  3625.             Scroll Lock  key.   The screen freezes  until  you  hit  the
  3626.             Scroll Lock                                                 
  3627.             Scroll Lock  key again.   The status line indicates that the
  3628.             Scroll Lock key has been depressed by displaying the message
  3629.             Scroll Lock ON.
  3630.             Scroll Lock ON.
  3631.             
  3632.             
  3633.             Resetting the Terminal -- <SHIFT>TAB
  3634.             Resetting the Terminal -- <SHIFT>TAB
  3635.             
  3636.             Sometimes the  terminal display  may go haywire because line
  3637.             noise  causes  PibTerm  to  switch  to  the  VT100  graphics
  3638.             character set  incorrectly.   You  can  reset  the  terminal
  3639.             emulation by  hitting the  <SHIFT>TAB keys  together.   This
  3640.             clears the screen and resets all terminal attributes.
  3641.             
  3642.             
  3643.             Clearing the Screen -- <ALT>C
  3644.             Clearing the Screen -- <ALT>C
  3645.             
  3646.             To clear  the screen  display without resetting the terminal
  3647.             emulation, hit <ALT>C.
  3648.             
  3649.             
  3650.             What Doesn't Work in VT100 emulation
  3651.             What Doesn't Work in VT100 emulation
  3652.             
  3653.             The VT100 emulation in PibTerm is good enough for nearly all
  3654.             the software commonly used on any of the ACNS machines.  The
  3655.             principal VT100 features lacking in PibTerm are:
  3656.             
  3657.                  --   132 column mode
  3658.                  --   Double high, double wide characters
  3659.             
  3660.             If you  have an  ATI EGA Wonder or ATI VIP VGA graphics card
  3661.             installed in  your PC,  then PibTerm can display 132 columns
  3662.             correctly.   (Both are  products of  ATI Technologies  Inc.)
  3663.             You should  tell PibTerm  that you have an ATI EGA Wonder or
  3664.             ATI VIP:
  3665.             
  3666.                  <ALT>P,
  3667.                       V)ideo mode,
  3668.                            r) ATI EGA Wonder/ ATI VIP VGA installed.
  3669.             
  3670.             Incoming characters  from the  remote system  may be dropped
  3671.             when switching  between 132  column mode  and 80 column mode
  3672.             with  the  ATI  cards  unless  the  remote  system  supports
  3673.             XON/XOFF protocol,  so don't be surprised when that happens.
  3674.  
  3675.  
  3676.             A Guide to PibTerm v4.1 at Northwestern               Page 52
  3677.             A Guide to PibTerm v4.1 at Northwestern               Page 52
  3678.  
  3679.  
  3680.             This should  not occur  with the  ACNS systems, all of which
  3681.             support XON/XOFF.
  3682.             
  3683.             Most multitaskers  cannot support  the 132  column mode,  so
  3684.             make sure that this "ATI installed" option is set to NO when
  3685.             you are running under a multitasker unless you are sure that
  3686.             the 132 column mode is supported.
  3687.             
  3688.             PibTerm  simulates  double-width  characters  by  displaying
  3689.             normal-sized characters  with an  extra  space  in  between.
  3690.             Some of  the line-drawing  characters are doubled, so that a
  3691.             continuous horizontal  line will  not be broken up.  Double-
  3692.             high characters  (which are also double-width) are simulated
  3693.             by repeating the same characters on two adjacent lines.
  3694.             
  3695.             
  3696.             Other Text Terminal Emulation Modes
  3697.             Other Text Terminal Emulation Modes
  3698.             
  3699.             PibTerm provides several other text terminal emulation modes
  3700.             besides VT100.   The  ADM3A, ADM5,  and VT52  emulations are
  3701.             most useful  for some  older  systems  which  don't  support
  3702.             VT100, or  when you  are running at a slow baud rate so that
  3703.             the simpler  escape sequences  used by  those terminals (for
  3704.             facilities like  cursor  positioning)  increase  throughput.
  3705.             The TV925  emulation is  not complete and was designed for a
  3706.             very specific  need.  It will not work well on other systems
  3707.             (like Unix) that require a more complete TV925 emulation.
  3708.             
  3709.             ANSI/BBS emulation is a subset of VT100 with some extensions
  3710.             for color  and music playing.  This is the mode supported by
  3711.             most remote  bulletin board  systems, and  you should use it
  3712.             rather than  VT100 when  dialing into  such a  system.   For
  3713.             example, you  should select  ANSI/BBS when  dialing into the
  3714.             ACNS IBM PC bulletin board system.
  3715.             
  3716.             Dumb terminal  mode acts like a very stupid "glass TTY."  No
  3717.             escape sequences  are interpreted.   Dumb terminal emulation
  3718.             is useful  with remote systems that do not provide any full-
  3719.             screen facilities  and which do not work properly when VT100
  3720.             emulation is set in PibTerm.
  3721.             
  3722.             There is  another use  for dumb terminal mode.  Normally all
  3723.             the emulation  modes --  including  dumb  terminal  mode  --
  3724.             display characters  received from  the remote  system on the
  3725.             PC's screen using either direct screen writes or system BIOS
  3726.             calls.   These methods bypass the standard MS DOS facilities
  3727.             and both  are much faster and more flexible than invoking MS
  3728.             DOS.
  3729.             
  3730.             However, dumb  terminal mode  can optionally  perform screen
  3731.             output using  the MS DOS facilities.  This causes the screen
  3732.             output to  be handled  by any  resident screen  driver (like
  3733.             ANSI.SYS).   This option  is especially useful because there
  3734.             ANSI.SYS                                                    
  3735.             are a number of commercially-available programs which can be
  3736.  
  3737.  
  3738.             A Guide to PibTerm v4.1 at Northwestern               Page 53
  3739.             A Guide to PibTerm v4.1 at Northwestern               Page 53
  3740.  
  3741.  
  3742.             installed as  MS DOS  device drivers  and which will provide
  3743.             emulation of graphics terminals like the Tek4014 or Tek4105.
  3744.             All you  need to do to use these drivers with PibTerm is  to
  3745.             set PibTerm to use MS DOS style output, as follows:
  3746.             
  3747.                  <ALT>P,
  3748.                       T)erminal emulation,
  3749.                            a) Terminal to emulate,
  3750.                                 a) Dumb
  3751.                            m) Use DOS console output
  3752.             
  3753.             If "Use  DOS console  output" is  set to  YES, any  resident
  3754.             driver installed  for the  screen display  will be used.  If
  3755.             "Use DOS  console output"  is set  to NO  then any  resident
  3756.             driver installed  for the  screen  display  is  IGNORED  and
  3757.             PibTerm handles screen display by itself.
  3758.             
  3759.             
  3760.             Gossip Mode
  3761.             Gossip Mode
  3762.             
  3763.             Gossip mode  is a  special split-screen mode that allows you
  3764.             to chat  with  another  remote  user  using  PibTerm.    The
  3765.             current display is  split into  two pieces:    the  top  for
  3766.             characters received from  the remote  system, and the bottom
  3767.             for characters you type.  This allows a conversation to take
  3768.             place electronically in  a full-duplex  fashion, i.e.,  both
  3769.             you and  the remote  system user can be entering text at the
  3770.             same time.
  3771.             
  3772.             You can  also use gossip mode to separate what you type from
  3773.             what the remote system sends.
  3774.             
  3775.             Gossip mode  is a dumb terminal mode -- escape sequences are
  3776.             NOT processed.
  3777.             
  3778.             To enter gossip mode, press
  3779.             
  3780.                  <ALT>P,
  3781.                       T)erminal,
  3782.                            a) Terminal to emulate,
  3783.                                 e) Turn ON gossip mode.
  3784.             
  3785.             You  exit  gossip  mode  by  typing  the  same  sequence  of
  3786.             characters.
  3787.             
  3788.             There are two types of gossip mode.  In character mode, each
  3789.                                                     character mode      
  3790.             character is sent to the remote system immediately after you
  3791.             type it.  This is the way the other terminal emulation modes
  3792.             operate as well.
  3793.             
  3794.             In line  mode, an entire line of text is read, which you can
  3795.                line  mode                                               
  3796.             edit using  the keypad editing features as much as you like,
  3797.             up to  the point at which you enter the Enter or Return key.
  3798.                                                     Enter    Return     
  3799.             This text will only be sent when either
  3800.  
  3801.  
  3802.             A Guide to PibTerm v4.1 at Northwestern               Page 54
  3803.             A Guide to PibTerm v4.1 at Northwestern               Page 54
  3804.  
  3805.  
  3806.             
  3807.                  1.   the cursor in the top half of the screen (for text
  3808.                       received from  the remote  system) lands in column
  3809.                       one, or
  3810.                  
  3811.                  2.   you hit the Enter or Return key again.
  3812.                                   Enter    Return           
  3813.                  
  3814.             Line mode  is nice  for online conferences -- you can easily
  3815.             distinguish what you type from what the other callers type.
  3816.             
  3817.             To select which gossip mode PibTerm is to use, press
  3818.             
  3819.                  <ALT>P,
  3820.                       T)erminal emulation,
  3821.                            f) Use gossip line mode
  3822.             
  3823.             If "Use  gossip line mode" is NO, then the character mode is
  3824.             used.
  3825.             
  3826.             Another good  use for  Gossip mode  is when you and a remote
  3827.             caller want  to exchange  files when you are both sitting at
  3828.             your PCs.   (Host  mode is  more convenient  for  unattended
  3829.             transfers or lengthy transfers.)
  3830.             
  3831.             When you  are using gossip mode, you may find that each line
  3832.             received from  the remote  system  overwrites  the  previous
  3833.             lines on  the screen.   This is because the remote system is
  3834.             not sending  a line feed after each carriage return.  To fix
  3835.             that, press
  3836.             
  3837.                  <ALT>P,
  3838.                       C)ommunications,
  3839.                            g) Add linefeeds to incoming CRs
  3840.             
  3841.             Setting "Add  linefeeds" to  YES causes  PibTerm to  add the
  3842.             linefeeds to  each incoming  carriage  return.    That  will
  3843.             correct the display overwrite problem.
  3844.             
  3845.             
  3846.             Graphics Terminal Emulation -- Tek 4010
  3847.             Graphics Terminal Emulation -- Tek 4010
  3848.             
  3849.             PibTerm can  emulate the  display facilities  of a Tektronix
  3850.             4010 graphics  terminal.    PibTerm  does  NOT  emulate  the
  3851.             graphics input facilities of a Tektronix 4010 terminal.
  3852.             
  3853.             To enable graphics emulation, type the sequence
  3854.             
  3855.                  <ALT>P,
  3856.                       T)erminal,
  3857.                            a) Terminal to emulate,
  3858.                                 g) Tektronix 4010.
  3859.             
  3860.             You must  have a CGA (color graphics adapter), EGA (enhanced
  3861.             graphics adapter),  or VGA  (video graphics array) installed
  3862.  
  3863.  
  3864.             A Guide to PibTerm v4.1 at Northwestern               Page 55
  3865.             A Guide to PibTerm v4.1 at Northwestern               Page 55
  3866.  
  3867.  
  3868.             to request  Tektronix 4010  mode.  Hercules graphics are NOT
  3869.                                                Hercules graphics are NOT
  3870.             supported by PibTerm.
  3871.             supported by PibTerm.
  3872.             
  3873.             Tektronix  4010   emulation  is   supported  by  nearly  all
  3874.             mainframe graphics packages, including DI 3000 and SAS/GRAPH
  3875.             on the ACNS mainframes.
  3876.             
  3877.             The status line is not displayed in Tektronix 4010 emulation
  3878.             mode.
  3879.             
  3880.             Incidentally, PibTerm  menus are displayed in text mode even
  3881.             when Tek  4010 graphics  mode is active.  This often results
  3882.             in strange  pyrotechnics on your screen in back of the menus
  3883.             or while switching from graphics mode to text mode.  That is
  3884.             perfectly normal, so don't be alarmed when it happens.
  3885.             
  3886.             Most multitaskers  don't support  running  graphics  in  the
  3887.             background, so  you should  only activate Tek 4010 emulation
  3888.             mode  when  Pibterm  is  running  as  the  foreground  task.
  3889.             However, DesqView will run CGA, but NOT EGA or VGA, graphics
  3890.             in the  background on  a  PC  equipped  with  an  Intel  386
  3891.             processor.   To support this, PibTerm allows you disable use
  3892.             of  EGA/VGA  graphics  in  Tek  4010  mode  by  setting  the
  3893.             parameter at
  3894.             
  3895.                  <ALT>P,
  3896.                       V)ideo mode and colors;
  3897.                            s) Allow EGA graphics mode
  3898.             
  3899.             to NO.   CGA  graphics will  be used  instead, which reduces
  3900.             resolution but  which will run in the background in DesqView
  3901.             on a 386-equipped PC.
  3902.             
  3903.             
  3904.             File Transfers
  3905.             File Transfers
  3906.             
  3907.             PibTerm performs  a wide variety of protocol file transfers.
  3908.             A protocol  transfer sends error-checking  information along
  3909.               protocol  transfer                                        
  3910.             with the  data of  the file  being transmitted in  order  to
  3911.             provide as  error-free a  transmission  as  possible.  (This
  3912.             information is  not stored in the file on the receiving end;
  3913.             it is  only used  to check  that the  transmission  occurred
  3914.             correctly.)   A non-protocol  transfer sends  only the data,
  3915.             without  any  error-checking  information.    While  a  non-
  3916.             protocol transfer will generally proceed more quickly than a
  3917.             protocol transfer,  the integrity  of the  transfer  can  be
  3918.             compromised by less-than-ideal communications circumstances,
  3919.             such as  telephone line  noise, added  or dropped characters
  3920.             resulting from  device overruns,  and so  on.    YOU  SHOULD
  3921.                                                              YOU  SHOULD
  3922.             ALWAYS USE A PROTOCOL FILE TRANSFER WHEN SENDING FILES TO OR
  3923.             ALWAYS USE A PROTOCOL FILE TRANSFER WHEN SENDING FILES TO OR
  3924.             RECEIVING FILES FROM THE ACNS MAINFRAMES.
  3925.             RECEIVING FILES FROM THE ACNS MAINFRAMES.
  3926.             
  3927.             
  3928.  
  3929.  
  3930.             A Guide to PibTerm v4.1 at Northwestern               Page 56
  3931.             A Guide to PibTerm v4.1 at Northwestern               Page 56
  3932.  
  3933.  
  3934.             How Protocols Work
  3935.             How Protocols Work
  3936.             
  3937.             In a  file  transfer  protocol  there  is  a  sender  and  a
  3938.                                                           sender        
  3939.             receiver.   The sender  is the  computer sending a file, and
  3940.             receiver                                                    
  3941.             the receiver  is the  computer which  is receiving it.  Both
  3942.             the sender and receiver must understand the same protocol in
  3943.             order for the communication (the file transfer) to proceed.
  3944.             
  3945.             A file  transfer protocol  usually adds  two types of error-
  3946.             checking information to the data of the file itself:
  3947.             
  3948.                  (1)  Sequence information, like a block number;
  3949.                       Sequence information                      
  3950.                  (2)  Integrity information, like a checksum or CRC.
  3951.                       Integrity information                         
  3952.             
  3953.             The sender splits the file to be sent into a series of small
  3954.             pieces, usually  called blocks  or packets.   Each  block is
  3955.             assigned  an  identification  number,  and  the  data  which
  3956.             comprises the  block is  subjected  to  a  checksum  or  CRC
  3957.                                                        checksum      CRC
  3958.             (Cyclic redundancy  check) operation.    The  block  number,
  3959.             (Cyclic redundancy  check)                                  
  3960.             actual data,  and file checksum or CRC are combined into one
  3961.             larger block and sent.
  3962.             
  3963.             The receiver  looks at  the block number and ensures that it
  3964.             is the  next one  expected.   Then the receiver performs the
  3965.             same checksum/CRC  operation on the data block as the sender
  3966.             performed.   If the  block number  is wrong, or the receiver
  3967.             does not  get the same error check value as the sender sent,
  3968.             then the  receiver  sends  back  a  message  to  the  sender
  3969.             indicating that  that block  was not  received and  requests
  3970.             retransmission.
  3971.             
  3972.             The  sender   retransmits  each  block  until  the  receiver
  3973.             acknowledges its  correct reception,  or until  a  specified
  3974.             error threshhold is reached.
  3975.             
  3976.             When the  block is  correctly received,  the receiver writes
  3977.             the  data  portion  to  its  copy  of  the  file,  sends  an
  3978.             acknowledgement to  the sender  that the block was correctly
  3979.             received, and waits for the next block be sent.
  3980.             
  3981.             This amounts  to a conversation between the sending computer
  3982.             and the  receiving computer.  The sender transmits a part of
  3983.             the file  (a block)  and asks the receiver, "OK, did you get
  3984.             that block?"   If  the receiver says "Yes, I got that block,
  3985.             send me  the next  one" then  the sender  transmits the next
  3986.             block.   If instead the receiver says "No, I didn't get that
  3987.             block, send  it to me again" then the sender retransmits the
  3988.             same block until the receiver gets it correctly.
  3989.             
  3990.             Eventually the  sender transmits an indication that the file
  3991.             is complete.   In  response to  that, the receiver indicates
  3992.             that it has received the entire file correctly.
  3993.             
  3994.  
  3995.  
  3996.             A Guide to PibTerm v4.1 at Northwestern               Page 57
  3997.             A Guide to PibTerm v4.1 at Northwestern               Page 57
  3998.  
  3999.  
  4000.             Note the start-and-stop nature of the file transfer process:
  4001.             the  sender  sends  a  block,  waits  for  the  receiver  to
  4002.             acknowledge it,  and then  sends the next block.  This is an
  4003.             example of  a  half-duplex  protocol:    only  one  side  is
  4004.                            half-duplex  protocol                        
  4005.             "talking" at a time.
  4006.             
  4007.             Sometimes the  delay between  blocks can  grow quite  large.
  4008.             This occurs  when the  transmission is going through packet-
  4009.             switching  networks,  satellites,  or  other  communications
  4010.             links in  which the  turnaround time  for a  message can  be
  4011.             several seconds.   In  such cases,  the amount of time spent
  4012.             waiting for block acknowledgements can exceed the time spent
  4013.             actually transmitting file data!
  4014.             
  4015.             To counter this, a number of full-duplex protocols have been
  4016.                                          full-duplex protocols          
  4017.             developed.     In  these  protocols,  the  sender  transmits
  4018.             information continuously  -- still in blocks, but the blocks
  4019.             are sent  without waiting  for the  receiver to  acknowledge
  4020.             each of  them.   The receiver gets a block and checks it for
  4021.             correctness as  before; the  receiver still returns an error
  4022.             indicator to  the sender  if a  block is  bad. However,  the
  4023.             receiver overlaps  sending back its reply with the reception
  4024.             of new  data blocks.   Both  the sender and the receiver can
  4025.             therefore be "talking" to each other at the same time.
  4026.             
  4027.             In a  full-duplex protocol,  the sender  may be  many blocks
  4028.             ahead by the time the receiver signals that a previous block
  4029.             was not  received correctly.   In this case, the sender must
  4030.             back up  in the  file being  transmitted and  resend the bad
  4031.             block.  Some protocols resend only the block in error. Other
  4032.             protocols send the block in error and all subsequent blocks,
  4033.             even if  those were  previously received  correctly  by  the
  4034.             receiver.
  4035.             
  4036.             Most file  transfer protocols  have traditionally been half-
  4037.             duplex protocols.   Perhaps  the most  famous of  the  half-
  4038.             duplex protocols  are   Xmodem and Kermit, both of which are
  4039.             discussed below.
  4040.             
  4041.             The most  popular full-duplex  protocols for  PCs are Zmodem
  4042.             and sliding  windows Kermit,  which is a full-duplex variant
  4043.             of the traditional half-duplex Kermit protocol.
  4044.             
  4045.             
  4046.             Kermit
  4047.             Kermit
  4048.             
  4049.             One of  the most  popular protocol  file transfer methods is
  4050.             Kermit.   Kermit was developed at Columbia University in New
  4051.             York. Programs  implementing the  Kermit protocol  exist for
  4052.             nearly all  computers, regardless  of size.   Kermit  is the
  4053.             standard protocol  for file  transfers on the ACNS mainframe
  4054.             systems. You  can also  use Kermit  for  transferring  files
  4055.  
  4056.  
  4057.             A Guide to PibTerm v4.1 at Northwestern               Page 58
  4058.             A Guide to PibTerm v4.1 at Northwestern               Page 58
  4059.  
  4060.  
  4061.             between microcomputers,  such as  one IBM  PC to another, or
  4062.             between the IBM PC and the Apple Macintosh.
  4063.             
  4064.             Kermit is  the  only  protocol  available  in  PibTerm  that
  4065.             provides for  transferring 8-bit  binary files even when the
  4066.             transmission parameters  are set  for 7  bits.   Kermit does
  4067.             this though  the use  of a "quoting" mechanism so that an 8-
  4068.             bit character  is transmitted  as a special marker character
  4069.             indicating the  high-order bit  is turned  on and  a  second
  4070.             character containing  the other  seven bits.    Kermit  also
  4071.             includes  a   simple  data   compression   algorithm   which
  4072.             compresses repeated  sequences of  the same  character to  a
  4073.             single character and repeat count. This lessens the transfer
  4074.             time for  files with large runs of similar characters -- for
  4075.             example, blanks in PASCAL or FORTRAN program files.
  4076.             
  4077.             Kermit can  transmit a  single file or a group of files. The
  4078.             version implemented  in PibTerm  can be  used with  a remote
  4079.             server, but PibTerm itself does not act as a Kermit server.
  4080.             
  4081.             
  4082.             Performance Considerations With Kermit
  4083.             Performance Considerations With Kermit
  4084.             
  4085.             Originally, Kermit was a half-duplex protocol that used very
  4086.             short (less then 94 characters) blocks. This rendered Kermit
  4087.             inefficient for  transferring files  between some  types  of
  4088.             systems,  such   as  microcomputers   and  some  mainframes.
  4089.             Recently, the  Kermit protocol  has been extended to provide
  4090.             two ways of improving Kermit's performance:
  4091.             
  4092.                  (1)  Allow longer blocks;
  4093.                  (2)  Allow full-duplex transmission through sliding     
  4094.                       windows.
  4095.             
  4096.             PibTerm implements  both of  these extensions  to the  basic
  4097.             Kermit protocol,  although only  one can  be in  effect at a
  4098.             time --  PibTerm does not do long blocks sliding windows. If
  4099.             the remote  Kermit indicates that it can do both long blocks
  4100.             and sliding  windows,  PibTerm  will  elect  to  do  sliding
  4101.             windows in preference to long blocks.
  4102.             
  4103.             Long blocks may be used on both the Cyber under NOS (but not
  4104.             NOS/VE) and  the KGSM  4361.  Long blocks are also available
  4105.             in the  standard MSDOS  MSKERMIT.EXE program  and  MacKermit
  4106.             (v0.9 or later).
  4107.             
  4108.             Sliding windows Kermit (sometimes called SuperKermit) may be
  4109.             used on  many remote bulletin board systems, as well as with
  4110.             the Source (a commercial time-sharing service).
  4111.             
  4112.             To activate  sliding windows  Kermit  in  PibTerm,  set  the
  4113.             parameter at
  4114.             
  4115.                  <ALT>P,
  4116.  
  4117.  
  4118.             A Guide to PibTerm v4.1 at Northwestern               Page 59
  4119.             A Guide to PibTerm v4.1 at Northwestern               Page 59
  4120.  
  4121.  
  4122.                       K)ermit,
  4123.                            m) Sliding windows size
  4124.             
  4125.             to a  value greater than 0.  The maximum sliding window size
  4126.             allowed is 31.
  4127.             
  4128.             To activate long blocks Kermit, set the parameter at
  4129.             
  4130.                  <ALT>P,
  4131.                       K)ermit,
  4132.                            n) Maximum long block size
  4133.             
  4134.             to a value greater than 0 and less than or equal to 1000.
  4135.             
  4136.             If these  values are set to zero, PibTerm will not negotiate
  4137.             sliding windows or long blocks.
  4138.             
  4139.             
  4140.             Types of Files
  4141.             Types of Files
  4142.             
  4143.             Most of  the time  you will  be transferring text files from
  4144.             one  machine  to  another.    Text  files  contain  standard
  4145.                                           Text  files                   
  4146.             readable text.   Typical  text files  are letters,  reports,
  4147.             paper, source  code for programs, and data files --  AS LONG
  4148.             AS THESE FILES DO NOT CONTAIN NON-STANDARD OR CONTROL CODES.
  4149.             Text files  can be  read, understood,  and processed on both
  4150.             the originating machine and the receiving machine.
  4151.             
  4152.             Binary files  are any  files which  can't be considered text
  4153.             Binary files                                                
  4154.             files.   Examples of  binary files  are executable  code, or
  4155.             files produced  by word  processors saved  in internal word-
  4156.             processing format.   In  general, binary  files do  not make
  4157.             sense to,  and cannot  be processed  on, any type of machine
  4158.             other than that on which the file was created.  For example,
  4159.             the Cyber  cannot process  a WordPerfect  document file, nor
  4160.             can a PC process a Cyber executable program binary file.
  4161.             
  4162.             When transferring  files, you  will need  to specify  that a
  4163.             file is a binary file or a text file to BOTH the sending and
  4164.             receiving  machines.     By  default,  Kermit  on  the  ACNS
  4165.             mainframes assumes  that you are transferring text files, so
  4166.             you don't have to explicitly indicate that if you are indeed
  4167.             transferring a  text file.   Occasionally, however, you will
  4168.             be transferring  a binary  file.   The most  common type  of
  4169.             binary file  transferred on the ACNS mainframes is the SPSSX
  4170.             Export format file on the Cyber under NOS.
  4171.             
  4172.             Sending or  receiving text  files as  binary files on the PC
  4173.             works just  fine --  MS DOS  doesn't really distinguish text
  4174.             from binary  files.   However, each  of the  ACNS  mainframe
  4175.             systems do,  and it  is VERY IMPORTANT that the file type on
  4176.             the mainframes be set correctly.
  4177.             
  4178.             
  4179.  
  4180.  
  4181.             A Guide to PibTerm v4.1 at Northwestern               Page 60
  4182.             A Guide to PibTerm v4.1 at Northwestern               Page 60
  4183.  
  4184.  
  4185.             Uploading versus Downloading
  4186.             Uploading versus Downloading
  4187.             
  4188.             The process  of receiving  a file  from a  remote system  is
  4189.             called downloading  the file.  The process of sending a file
  4190.                    downloading                                          
  4191.             to a remote system is call uploading the file.
  4192.                                        uploading          
  4193.             
  4194.             To perform  a protocol  file transfer, set the remote system
  4195.             to understand the  selected type  of transfer.   Then  press
  4196.             <ALT>R to  receive a  file and select the corresponding type
  4197.             of protocol  from the  PibTerm menu.   To send a file to the
  4198.             remote  system,   press  <ALT>S   and  select   the   proper
  4199.             protocol. You  will   be  prompted   for   file   names   as
  4200.             necessary.  
  4201.             
  4202.             
  4203.             Using the Kermit protocol
  4204.             Using the Kermit protocol
  4205.             
  4206.             On the  various ACNS  machines,  you  should  always  select
  4207.             Kermit as  the protocol  of  choice  (this  is  the  default
  4208.             protocol in  PibTerm). To simplify  choosing Kermit  as  the
  4209.             transfer method,  the version  of PibTerm  provided by  ACNS
  4210.             defines the IBM keypad PgUp key to be a request for a Kermit
  4211.                                    PgUp                                 
  4212.             send file,  and the  IBM keypad  PgDn key  to  be  a  Kermit
  4213.                                              PgDn                       
  4214.             receive file  transaction.   To perform a transfer using the
  4215.             Kermit protocol, do the following: 
  4216.             
  4217.             1.   On the  Cyber, use GET or ATTACH to make local files of
  4218.                                     GET    ATTACH                       
  4219.                  all the  files you  wish to  download.  GET is used for
  4220.                                                          GET            
  4221.                  indirect files, and ATTACH is used for direct files.
  4222.                                      ATTACH                          
  4223.             
  4224.             2.   Execute Kermit  on the  remote system.  On all the ACNS
  4225.                  machines, you only need to enter:
  4226.             
  4227.                      KERMIT
  4228.                      KERMIT
  4229.             
  4230.                  when the  operating system  asks  for  a  command.  For
  4231.                  example, on  a VAX/VMS system you usually invoke Kermit
  4232.                  as follows:
  4233.             
  4234.                      $ kermit
  4235.                        kermit
  4236.                      VMS Kermit-32 version 3.3.111
  4237.                      Default terminal for transfers is: _VTA2192:
  4238.                      Kermit-32>
  4239.             
  4240.                  Vax Kermit  is now  awaiting  keyboard  input  to  tell
  4241.                  it what to do.
  4242.             
  4243.             3.   Most mainframe Kermit programs default to Ascii or text
  4244.                  files as  the type  of file to be transferred.  This is
  4245.                  true  of   all  the   ACNS  mainframes.    If  you  are
  4246.                  transferring text-only  files, then  you do not need to
  4247.                  tell the  mainframes that you will sending or receiving
  4248.                  text files -- that is understood by default.
  4249.             
  4250.  
  4251.  
  4252.             A Guide to PibTerm v4.1 at Northwestern               Page 61
  4253.             A Guide to PibTerm v4.1 at Northwestern               Page 61
  4254.  
  4255.  
  4256.                       However, some  types of  files  must  be
  4257.                       transferred as  binary  files,  and  you
  4258.                       must inform  the mainframe  of that.   A
  4259.                       common example  is the transfer of SPSSX
  4260.                       export files between the Cyber under NOS
  4261.                       and the  PC.   To tell Cyber Kermit that
  4262.                       you will  be transferring  a binary file
  4263.                       like an  SPSSX export  file,  issue  the
  4264.                       following command to Cyber Kermit:
  4265.                  
  4266.                            SET FILE BINARY
  4267.                            SET FILE BINARY
  4268.                  
  4269.                       You must  run CYTOPC on the SPSSX export
  4270.                       file before downloading it, or PCTOCY on
  4271.                       the uploaded export file before using it
  4272.                       with SPSSX.   See ACNS document #605 for
  4273.                       further details on SPSSX export files on
  4274.                       the Cyber.
  4275.                       
  4276.                       
  4277.             4.   Next you should activate the remote Kermit's ability to
  4278.                  use long  blocks if  you have a clean phone line or you
  4279.                  are  using  a  hard-wired  connection.    This  greatly
  4280.                  improves the  file transfer speed.  At this time, Cyber
  4281.                  Kermit under  NOS and IBM CMS Kermit allow long blocks;
  4282.                  the Vax  does not.   On  the Cyber under NOS, issue the
  4283.                  following commands  to Cyber  Kermit to  activate  long
  4284.                  blocks:
  4285.             
  4286.                       SET SEND PACKET 1000
  4287.                       SET RECEIVE PACKET 1000
  4288.             
  4289.                  On the  IBM 4361  under CMS, you only need to issue one
  4290.                  command to CMS Kermit:
  4291.             
  4292.                       SET RECEIVE PACKET 1000
  4293.                  
  4294.             5.   Place the remote system's Kermit into "Server Mode". By
  4295.                  doing this  you will be able to send or receive several
  4296.                  files without restarting Kermit.  To start server mode,
  4297.                  type "server" to the remote Kermit.
  4298.                  
  4299.                  For  example,  with  Vax/VMS  Kermit,  typing  "server"
  4300.                  results in a note like this:
  4301.             
  4302.                      VMS Kermit-32 version 3.3.111
  4303.                      Default terminal for transfers is: _VTA2192:
  4304.                      Kermit-32>server
  4305.                                server
  4306.                      Kermit Server running on VAX/VMS host.  Please type your escape
  4307.                      sequence to return to your local machine.  Shut down the server
  4308.                      by typing the Kermit BYE
  4309.             
  4310.             6.   Press PgDn to receive a file from the remote system, or
  4311.                        PgDn                                             
  4312.                  PgUp to  send a  file to  the remote  system.  Pressing
  4313.                  PgUp                                                   
  4314.  
  4315.  
  4316.             A Guide to PibTerm v4.1 at Northwestern               Page 62
  4317.             A Guide to PibTerm v4.1 at Northwestern               Page 62
  4318.  
  4319.  
  4320.                  PgUp and  PgDn automatically  invokes Kermit  using the
  4321.                  ACNS-supplied key  definitions files. You can skip down
  4322.                  to step 8 if you hit PgUp or PgDn.
  4323.             
  4324.                  More generally,  you can  press   <ALT>R   to receive a
  4325.                  file from  the remote  system, or <ALT>S to send a file
  4326.                  to the  remote system.   You  will see  a menu like the
  4327.                  following appear (this one is for <Alt>R): 
  4328.             
  4329.                      ╒[ Choose file transfer protocol for receive: ]══════╕
  4330.                      │ a) Ascii                                           │
  4331.                      │ b) Xmodem (Checksum)                               │
  4332.                      │ c) Xmodem (CRC)                                    │
  4333.                      │ d) Kermit                                          │
  4334.                        d) Kermit                                           
  4335.                      │ e) Telink                                          │
  4336.                      │ f) Modem7 (Checksum)                               │
  4337.                      │ g) Modem7 (CRC)                                    │
  4338.                      │ h) Xmodem 1K                                       │
  4339.                      │ i) Xmodem 1K G                                     │
  4340.                      │ j) Ymodem Batch                                    │
  4341.                      │ k) Ymodem G batch                                  │
  4342.                      │ l) Zmodem                                          │
  4343.                      │ m) WXmodem                                         │
  4344.                      │ n) Rlink                                           │
  4345.                      │ o) SEALink                                         │
  4346.                      │ p) YTerm                                           │
  4347.                      │                                                    │
  4348.                      │                                                    │
  4349.                      │                                                    │
  4350.                      │                                                    │
  4351.                      │                                                    │
  4352.                      ╘════════════════════════════════════════════════════╛
  4353.             
  4354.             7.   Hit "d"  to select  Kermit.   You will  then see a menu
  4355.                  like the following:
  4356.             
  4357.             
  4358.                            ╒[ Choose Kermit function:  ]══════════════╕
  4359.                            │ a) GET Text File                         │
  4360.                              a) GET Text File                          
  4361.                            │ b) GET Binary file                       │
  4362.                            │ c) RECEIVE Text File                     │
  4363.                            │ d) RECEIVE Binary File                   │
  4364.                            │ e) Use PCKERMIT.EXE (now NO)             │
  4365.                            │ f) Finish Remote Server                  │
  4366.                            │ l) Logout Remote Server                  │
  4367.                            │ r) Remote Server Commands                │
  4368.                            │ t) Transfer to Send File Menu            │
  4369.                            │ q) Quit Kermit                           │
  4370.                            ╘══════════════════════════════════════════╛
  4371.             
  4372.             
  4373.                  Hit "a"  to receive  an Ascii text file from the remote
  4374.                  system, or "b" to receive a binary file.
  4375.             
  4376.  
  4377.  
  4378.             A Guide to PibTerm v4.1 at Northwestern               Page 63
  4379.             A Guide to PibTerm v4.1 at Northwestern               Page 63
  4380.  
  4381.  
  4382.             8.   You will then see a box like the following:
  4383.             
  4384.                      ╒═══════════════════════════════════════════════════════════════════╕
  4385.                      │ File to receive:                                                  │
  4386.                      │                                                                   │
  4387.                      ╘═══════════════════════════════════════════════════════════════════╛
  4388.             
  4389.             
  4390.                  At this point, type the name of the file that you would
  4391.                  like to  receive.   For example,  suppose the  file you
  4392.                  want is called  GAZORP.GOOMBLA on  the Vax.   You  type
  4393.                  that name at  this point  and hit the Enter (or Return)
  4394.                  key.   The Kermit transfer  begins and  you will  see a
  4395.                  status box like the following:
  4396.             
  4397.             
  4398.                   ╒[ Receive file gazorp.goombla using Kermit ]══════════════════╕
  4399.                   │ Packets received     :                                       │
  4400.                   │ Bytes received       :                                       │
  4401.                   │ Retries              :                                       │
  4402.                   │ Bytes to receive     :                                       │
  4403.                   │ Current block window :                                       │
  4404.                   │ 8th bit quoting      :                                       │
  4405.                   │ Block check type     :                                       │
  4406.                   │ Compression          :                                       │
  4407.                   │ Sliding windows      :                                       │
  4408.                   │ Long blocks          :                                       │
  4409.                   │ Last status message  :                                       │
  4410.                   │                                                              │
  4411.                   │                                                              │
  4412.                   │ ^F=abort file   ^B=abort batch   ^K=abort Kermit   ^R=retry  │
  4413.                   ╘══════════════════════════════════════════════════════════════╛
  4414.             
  4415.                  Since "gazorp.goombla"  isn't a legal MS DOS file name,
  4416.                  PibTerm  will   truncate  the   name  to  "gazorp.goo."
  4417.                  Whenever  PibTerm  renames  a  file  in  this  way,  it
  4418.                  displays the  revised name on one of the  message lines
  4419.                  in the status box.
  4420.             
  4421.                  Kermit is  a batch  file transfer protocol.  That means
  4422.                               batch  file transfer protocol             
  4423.                  that Kermit  can send  or receive  several files at one
  4424.                  time.   For example,  you could have requested the file
  4425.                  "gazorp.*", and  the remote  Kermit would have sent all
  4426.                  files beginning with "gazorp."
  4427.             
  4428.             9.   When you've finished transferring all the files, select
  4429.                  the "f) Finish  Remote Server"  menu item.   This  will
  4430.                  close down  the remote Kermit.   You  will see a status
  4431.                  box like  the one  above indicating the progress of the
  4432.                  "finish server" operation.
  4433.             
  4434.             10.  Select  the   "q)  Quit   Kermit"  item   on  PibTerm's
  4435.                  Kermit menu.   This will  return you  to terminal mode.
  4436.  
  4437.  
  4438.             A Guide to PibTerm v4.1 at Northwestern               Page 64
  4439.             A Guide to PibTerm v4.1 at Northwestern               Page 64
  4440.  
  4441.  
  4442.                  You may  then need  to type EXIT  or QUIT  to cause the
  4443.                  Kermit on the remote system to stop executing.
  4444.             
  4445.                  In the case of the Vax, type:
  4446.             
  4447.                      Kermit-32>exit
  4448.                                exit
  4449.             
  4450.             11.  On the  Cyber, files  are not  automatically  saved  as
  4451.                  permanent files by Kermit.  You will need to issue SAVE
  4452.                  statements to make the files you've uploaded permanent.
  4453.                  To see  what names  Cyber Kermit  has given your files,
  4454.                  use the
  4455.             
  4456.                            ENQUIRE,F.
  4457.             
  4458.                  control statement.   Generally,  Cyber Kermit truncates
  4459.                  all  of   your  DOS  file  names  to  the  first  seven
  4460.                  characters ignoring the period.
  4461.             
  4462.             
  4463.             Kermit Autodownload
  4464.             Kermit Autodownload
  4465.             
  4466.             It is  possible to  set up Kermit for autodownloading.  What
  4467.             this means  is that  you can  start a Kermit transfer on the
  4468.             remote system  using Kermit  SEND, and  PibTerm, running  in
  4469.                                          SEND                           
  4470.             terminal  emulation   mode,  will  start  a  Kermit  receive
  4471.             automatically.   You need not explicitly type <ALT>R or PgDn
  4472.                                                           <ALT>R    PgDn
  4473.             to begin the receive.
  4474.             
  4475.             To activate Kermit autodownloading, set the parameter at
  4476.             
  4477.                  <ALT>P,
  4478.                       K)ermit,
  4479.                            p) Allow Kermit autodownload
  4480.             
  4481.             to YES.
  4482.             
  4483.             When you  use autodownloading,  the remote Kermit should NOT
  4484.             be placed  in server  mode.   Instead, use  SEND commands to
  4485.                                                         SEND            
  4486.             get the remote Kermit to send files.
  4487.             
  4488.             You  should  not  activate  autodownloading  on  poor  phone
  4489.             connections because  line noise  can appear  as  the  marker
  4490.             character (Ascii  01 = SOH) indicating the start of a Kermit
  4491.             autodownload.  This can result in PibTerm initiating a bogus
  4492.             Kermit receive.
  4493.             
  4494.             
  4495.             Kermit between IBM PC and Apple Macintosh
  4496.             Kermit between IBM PC and Apple Macintosh
  4497.             
  4498.             You can use PibTerm on the PC and MacKermit on the Macintosh
  4499.             to transfer text files between the Macintosh and the IBM PC.
  4500.             If you  have a  Mac II,  you'll  need  to  have  a  copy  of
  4501.             MacKermit v0.9 or later; earlier versions of MacKermit don't
  4502.  
  4503.  
  4504.             A Guide to PibTerm v4.1 at Northwestern               Page 65
  4505.             A Guide to PibTerm v4.1 at Northwestern               Page 65
  4506.  
  4507.  
  4508.             run on  the Mac  II.   You can  also use any other Macintosh
  4509.             communications program  which  supports  Kermit,  e.g.,  Red
  4510.             Ryder or  VersaTerm Pro.   However,  MacKermit is especially
  4511.             useful because it will act as a Kermit server.
  4512.             
  4513.             You will  also need  a special  cable to  connect the serial
  4514.             port of the IBM PC to the phone port of the Macintosh.  Such
  4515.             a cable  is called  a null  modem adapter.  The  null  modem
  4516.                                   null  modem adapter                   
  4517.             allows two  computers  to  be  directly  connected  together
  4518.             without the  use of a modem.  This is necessary because both
  4519.             computers would  otherwise be  trying to  transmit  to  each
  4520.             other's transmit  line, and  the receive  lines would not be
  4521.             receiving anything.   The  null modem  reverses the transmit
  4522.             and receive lines on one end of the serial cable so that the
  4523.             two computers can communicate.
  4524.             
  4525.             After connecting  the Macintosh and the IBM PC serial ports,
  4526.             execute MacKermit  on the Macintosh.  Set the communications
  4527.             parameters as follows:
  4528.             
  4529.                       Speed:          9600 baud
  4530.                       Parity:         None
  4531.                       Data Bits:      8
  4532.                       Stop Bits:      1
  4533.             
  4534.             Also set  the packet  size to be 1000 -- this activates long
  4535.             blocks for  MacKermit, and will greatly enhance the transfer
  4536.             speed between the Mac and the PC.
  4537.             
  4538.             Set MacKermit to act as a Kermit server.
  4539.             
  4540.             On the  PC, set  the PibTerm  communications  parameters  as
  4541.             follows:
  4542.             
  4543.                       Speed:          9600 baud
  4544.                       Parity:         None
  4545.                       Data Bits:      8
  4546.                       Stop Bits:      1
  4547.                       Hard-wired:     Yes
  4548.             
  4549.             Alternatively,  you   can  execute   the  script   TOMAC.SCR
  4550.                                                                TOMAC.SCR
  4551.             (provided in  the PibTerm  release materials) which will set
  4552.             these parameters  for you.   TOMAC  will also prompt you for
  4553.             the name of the file to send to the Macintosh, and will then
  4554.             execute  the   Kermit  transfer.     The   supplied   script
  4555.             FROMMAC.SCR  performs   a  reception  of  a  file  from  the
  4556.             FROMMAC.SCR                                                 
  4557.             Macintosh.
  4558.             
  4559.             After you  are finished  with the  transfers,  you  can  end
  4560.             server mode on the Macintosh -- there's no need to issue the
  4561.             FINISH command from PibTerm to MacKermit.
  4562.             
  4563.             
  4564.  
  4565.  
  4566.             A Guide to PibTerm v4.1 at Northwestern               Page 66
  4567.             A Guide to PibTerm v4.1 at Northwestern               Page 66
  4568.  
  4569.  
  4570.             Kermit Protocol Parameters
  4571.             Kermit Protocol Parameters
  4572.             
  4573.             There are  a number  of  other  parameters  for  the  Kermit
  4574.             protocol which you can set at
  4575.             
  4576.                  <ALT>P,
  4577.                       K)ermit
  4578.             
  4579.             besides those  mentioned above.  Usually you should not need
  4580.             to change  any of  the specified parameter values.  However,
  4581.             if you  are accessing  Kermit  on  a  non-ACNS  machine,  or
  4582.             through a  network, you  may find it necessary to alter some
  4583.             of the parameters.  Some older Kermit programs on mainframes
  4584.             may not like to see long blocks or sliding windows requests,
  4585.             so you should set both
  4586.             
  4587.                  <ALT>P,
  4588.                       K)ermit,
  4589.                            m) sliding windows size
  4590.                            n) long blocks size
  4591.             
  4592.             to zero  when accessing such systems.  This prevents PibTerm
  4593.             from trying  to negotiate  either  long  blocks  or  sliding
  4594.             windows.
  4595.             
  4596.             Incidentally, the maximum sliding window size is 31, and the
  4597.             maximum  long  block  size  supported  by  PibTerm  is  1000
  4598.             characters.  PibTerm reduces any larger parameter values you
  4599.             enter to those values.
  4600.             
  4601.             
  4602.             Setting a download directory
  4603.             Setting a download directory
  4604.             
  4605.             You can  instruct PibTerm to place all files received from a
  4606.             remote system  into a specified subdirectory.  This makes it
  4607.             easy to distinguish downloaded files from other files. It is
  4608.             also useful  when  you  are  downloading  to  another  drive
  4609.             besides the current logged drive.
  4610.             
  4611.             To set the download directory path, press
  4612.             
  4613.                   <ALT>P,
  4614.                       P)aths,
  4615.                            e) Download directory.
  4616.             
  4617.             
  4618.             Transfer Statistics
  4619.             Transfer Statistics
  4620.             
  4621.             PibTerm writes  status  messages  to  the  display  while  a
  4622.             transfer is  in progress,  as noted  above.    In  addition,
  4623.             PibTerm also  writes any  error indications  to  the  review
  4624.             buffer (see the section "Scanning the review buffer") and to
  4625.             the various  log files  (see the section "Session Logging").
  4626.  
  4627.  
  4628.             A Guide to PibTerm v4.1 at Northwestern               Page 67
  4629.             A Guide to PibTerm v4.1 at Northwestern               Page 67
  4630.  
  4631.  
  4632.             This allows  you to determine if a transfer succeeded or not
  4633.             without watching the entire transfer.
  4634.             
  4635.             For example,  the log  entries for  a sample Kermit transfer
  4636.             might appear as follows:
  4637.             
  4638.             >>  88/01/18 02:39:41 Send file using Kermit
  4639.             >>+ 88/01/18 02:39:43 Sending file PIBTERM.PAS
  4640.             >>+ 88/01/18 02:39:43 Sending PIBTERM.PAS
  4641.             >>+ 88/01/18 02:40:49 NAK for packet 9 received.
  4642.             >>+ 88/01/18 02:41:17 Send completed.
  4643.             >>+ 88/01/18 02:41:17 Effective transfer rate was 78 CPS.
  4644.             >>+ 88/01/18 02:41:17 Actual transfer rate was 42 CPS.
  4645.             >>  88/01/18 02:41:27 FINISH remote server.
  4646.             >>+ 88/01/18 02:41:27 Remote server stopped.
  4647.             
  4648.             Here the  file PIBTERM.PAS  is being sent from the PC to the
  4649.             Vax.   A line  noise problem  prevented packet  9 from being
  4650.             received correctly the first couple of times.  The length of
  4651.             time before  the error  indication is  indicative of the Vax
  4652.             having received  a  spurious  XOFF  flow  control  character
  4653.             caused by  the line  noise.  Eventually PibTerm decided that
  4654.             this must  be the problem and sent an XON to uncork the line
  4655.             again, at which point the transfer proceeded onwards towards
  4656.             completion.  Note the low transfer rate because of the delay
  4657.             engendered by the faulty line conditions.
  4658.             
  4659.             
  4660.             File Transfer Trouble-Shooting With Kermit
  4661.             File Transfer Trouble-Shooting With Kermit
  4662.             
  4663.             Here are  some of  the most  common reasons  for Kermit file
  4664.             transfer failures.
  4665.             
  4666.             Problem: The file transfer never begins.
  4667.             Problem:                                
  4668.             
  4669.             What to do:    
  4670.             What to do:    
  4671.                  
  4672.                  a)   Abort the  transfer on  PibTerm's end  by  hitting
  4673.                       <CTRL>F.   Wait a  few seconds.   If  that doesn't
  4674.                       seem to stop the transfer, try hitting <CTRL>K.
  4675.                  
  4676.                  b)   If you  see the  message "XOFF  received"  on  the
  4677.                       status line,  hit the  ESC key  a couple  of times
  4678.                       until  the  message  disappears.    Then  try  the
  4679.                       transfer again.
  4680.                  
  4681.                  c)   If  you  are  using  the  PibTerm  "GET  filename"
  4682.                       function (or you are hitting the PgUp or PgDn keys
  4683.                       to transfer  a file),  then make  sure that you've
  4684.                       placed the mainframe Kermit in server mode.
  4685.                  
  4686.                  d)   Check that  you've spelled the name of the file to
  4687.                       be transferred  correctly.   When sending  a file,
  4688.  
  4689.  
  4690.             A Guide to PibTerm v4.1 at Northwestern               Page 68
  4691.             A Guide to PibTerm v4.1 at Northwestern               Page 68
  4692.  
  4693.  
  4694.                       you specify  the MS DOS file name.  When receiving
  4695.                       a file, you specify the name ON THE REMOTE SYSTEM.
  4696.                  
  4697.                  e)   On the  Cyber, make sure that you've made the file
  4698.                       a local  file using  GET (for  indirect files)  or
  4699.                       ATTACH (for direct files).
  4700.                  
  4701.                  f)   Try the transfer again a couple of times.
  4702.             
  4703.             
  4704.             Problem: Kermit aborts while performing a transfer.
  4705.             Problem:                                           
  4706.             
  4707.             What to do:    
  4708.             What to do:    
  4709.             
  4710.             a)   If this  is the  first time  in a  session that  you're
  4711.                  using Kermit,  and you  get a  message  "illegal  ASCII
  4712.                  character" (or  "block sequence  error" on  the  Cyber)
  4713.                  then the  transfer will  not work.   This  indicates  a
  4714.                  mismatch in the file type between the mainframe and the
  4715.                  microcomputer.   If you are transferring a binary file,
  4716.                  make sure  that you tell PibTerm to get/receive or send
  4717.                  a binary file, and also tell the remote Kermit that the
  4718.                  file type  is  binary.    If  you  don't  think  you're
  4719.                  transferring a binary file, then you may have given the
  4720.                  wrong file  name, or  you may  not understand  what the
  4721.                  format really  is.   See the  previous section  on file
  4722.                  types for more details.
  4723.             
  4724.                  A common mistake is to try to send a file containing an
  4725.                  extended Ascii  character (one  whose numeric  value is
  4726.                  greater than  127) as a text file.  Such characters are
  4727.                  commonly used  on the  PC for  drawing lines  or boxes.
  4728.                  While these  extended Ascii  characters are  considered
  4729.                  legal text  by the  PC, they  are NOT  considered legal
  4730.                  text by the mainframes.
  4731.             
  4732.             b)   If you  didn't get  the "illegal  ASCII  character"  or
  4733.                  "block sequence error" messages, then check that you've
  4734.                  named the  file correctly. Also ensure that the file is
  4735.                  a local  file if you're downloading from the Cyber. And
  4736.                  check that  you have  enough disk  space on  the PC  to
  4737.                  receive a  file when  downloading.  When sending to the
  4738.                  Vax, make  sure you  have enough  disk space  there  to
  4739.                  receive the  file from  the PC.  (If you  get a message
  4740.                  from Vax  Kermit like  "ACP File  Extend Failed",  then
  4741.                  you've run out of disk space on the Vax.)
  4742.             
  4743.             c)   If the  second transfer attempt fails at the same point
  4744.                  as the  first transfer,  then the file you're trying to
  4745.                  send or  receive may  contain a character that can't be
  4746.                  transferred.  You may want to try the transfer one more
  4747.                  time just  to verify  that it  will indeed fail a third
  4748.                  time at  the same  place.   You'll need  to  check  the
  4749.  
  4750.  
  4751.             A Guide to PibTerm v4.1 at Northwestern               Page 69
  4752.             A Guide to PibTerm v4.1 at Northwestern               Page 69
  4753.  
  4754.  
  4755.                  contents of  the file  to figure out what the character
  4756.                  is that's causing the problem.
  4757.             
  4758.             d)   If the  transfer aborts  at different places each time,
  4759.                  then the  problem may  be that  the mainframe system is
  4760.                  simply too  busy.  The Kermit protocol imposes a number
  4761.                  of internal  timeout checks  to prevent  transfers from
  4762.                  hanging.   On a busy system, the timeout periods may be
  4763.                  exceeded and  therefore Kermit  will fail.   You should
  4764.                  try the  transfer  again  at  a  later  time  when  the
  4765.                  mainframe system isn't so busy.
  4766.             
  4767.             e)   If you're  running a  multitasking system on your PC --
  4768.                  for example,  DesqView or  TaskView  --  then  try  the
  4769.                  transfer again  with PibTerm the foreground task and NO
  4770.                  other tasks  running concurrently.   You  can also  run
  4771.                  into problems  trying to transfer files if you're using
  4772.                  a print  spooler or  if you are using a program (like a
  4773.                  DOS visual  shell) that  displays a running time-of-day
  4774.                  clock.   These programs  "steal" time  from the  serial
  4775.                  communications handler  for long enough periods of time
  4776.                  that PibTerm  misses seeing  some characters.   See the
  4777.                  sections  "PibTerm   and  multitasking   software"  and
  4778.                  "Programs  which   conflict  with   PibTerm"  for  more
  4779.                  details.
  4780.             
  4781.             
  4782.             Problem: Host won't respond to FINISH server request
  4783.             Problem:                                            
  4784.             
  4785.             What to do:    
  4786.             What to do:    
  4787.             
  4788.             a)   If the  Cyber is  the host machine, then q) quit Kermit
  4789.                  to get  back to NOS.  Enter <CTRL>T followed by return.
  4790.                  If this  doesn't work  the first  time, try  it again a
  4791.                  couple of  times.   If this doesn't work, hit <CTRL>Q a
  4792.                  couple of  times.   Then try  <CTRL>T again.   If  this
  4793.                  still doesn't work, you may need to detach and drop the
  4794.                  job. Hit the sequence ESC, <CTRL>A, <CTRL>T to end your
  4795.                  current CDCNET  session.  That will allow you to log in
  4796.                  a new  job.   Use the ENQUIRE,JSN and DROP,JSN commands
  4797.                                        ENQUIRE,JSN     DROP,JSN         
  4798.                  to get  rid of  the hung Kermit job (see the NOS manual
  4799.                  for details).  Any files  that you  uploaded and didn't
  4800.                  get a  chance to  SAVE will be lost, and you'll have to
  4801.                  transfer them again.
  4802.             
  4803.             b)   If the  Vax is the host machine, then q) quit Kermit to
  4804.                  get back to VMS.  Enter <CTRL>Y several times.  If that
  4805.                  doesn't work, you'll have to terminate the VMS session.
  4806.                  Any files  you uploaded  prior to the problem file will
  4807.                  be saved.   To  terminate your  session, log in another
  4808.                  job and  use the  DCL command  STOP /ID=n, where "n" is
  4809.                                                 STOP /ID=n              
  4810.                  the process identifier of the hung Kermit job.  See the
  4811.                  Vax  command   language  reference   manual  for   more
  4812.                  information about the STOP command
  4813.  
  4814.  
  4815.             A Guide to PibTerm v4.1 at Northwestern               Page 70
  4816.             A Guide to PibTerm v4.1 at Northwestern               Page 70
  4817.  
  4818.  
  4819.             
  4820.             
  4821.             Other File Transfer Protocols
  4822.             Other File Transfer Protocols
  4823.             
  4824.             PibTerm provides  a variety  of other  transfer protocols in
  4825.             addition to  Kermit.   These include  several Xmodem-derived
  4826.             protocols, as  well as  non-protocol (Ascii) transfers.  You
  4827.             may also  connect external  drivers for  other protocols  to
  4828.             PibTerm.
  4829.             
  4830.             
  4831.             Xmodem family
  4832.             Xmodem family
  4833.             
  4834.             Ward Christensen  originated the  Xmodem protocol many years
  4835.             ago as  a simple  solution to transferring files between two
  4836.             computer systems.   Over  the  years,  the  Xmodem  protocol
  4837.             developed into  the de-facto  standard  for  file  transfers
  4838.             between  microcomputers.     Recently,  many  Xmodem-derived
  4839.             protocols have  appeared  which  address  a  number  of  the
  4840.             limitations and  performance problems of the original Xmodem
  4841.             protocol.
  4842.             
  4843.             
  4844.             Xmodem
  4845.             Xmodem
  4846.             
  4847.             Xmodem Checksum  and Xmodem  CRC  are  two  common  transfer
  4848.             methods for  use with remote bulletin board systems and many
  4849.             mini-computer  systems.    These  are  single-file-at-a-time
  4850.             transfer methods.   Files  are transmitted  in 128 character
  4851.             blocks along  with the  block number  and checksum or cyclic
  4852.             redundancy  check   (CRC)  information.   This  allows   the
  4853.             receiving  system   to  ensure  that  the  transmission  has
  4854.             occurred correctly  to a  very high  degree of  probability.
  4855.             The CRC  error-checking method  is superior  to the Checksum
  4856.             method, so  you should  always use  the CRC  method  if  the
  4857.             remote system  to which you are connected accepts it.  RCPM,
  4858.             Fido, RBBS,  PC Board, DBBS, TCOMM, RBBS, OPUS, PC Host, and
  4859.             many other bulletin board systems support Xmodem CRC.
  4860.             
  4861.             "Standard" Xmodem  imposes very severe timing constraints on
  4862.             inter-character and  inter-block transmission  delays.  Some
  4863.             systems which  implement Xmodem  require that  these  timing
  4864.             constraints  be   relaxed.     You  can  change  the  timing
  4865.             parameters for Xmodem at
  4866.             
  4867.                  <ALT>P,
  4868.                       F)ile transfer,
  4869.                            j) Xmodem parameters
  4870.             
  4871.             Few mainframe  systems support  Xmodem; CDC's NOS and NOS/VE
  4872.             are two  that do.  However, Kermit  is still the protocol of
  4873.             choice for the CDC operating systems.
  4874.             
  4875.             
  4876.  
  4877.  
  4878.             A Guide to PibTerm v4.1 at Northwestern               Page 71
  4879.             A Guide to PibTerm v4.1 at Northwestern               Page 71
  4880.  
  4881.  
  4882.             Xmodem 1K
  4883.             Xmodem 1K
  4884.             
  4885.             Xmodem 1K  is an Xmodem variant which provides for long 1024
  4886.             character blocks  -- more  efficient for  higher baud  rates
  4887.             like 2400, 4800, and 9600 baud.  Like Xmodem and Xmodem CRC,
  4888.             Xmodem 1K  only provides  for the  transfer of one file at a
  4889.             time.
  4890.             
  4891.             Because of  some confusion  over terminology,  Xmodem 1K  is
  4892.             sometimes  referred  to  as  Ymodem.    However,  Ymodem  is
  4893.             actually a  batch protocol  that allows  several files to be
  4894.             transmitted in  sequence. See the discussion of Ymodem below
  4895.             for details.
  4896.             
  4897.             A variant  of Xmodem  1K, called Xmodem 1K G in PibTerm, has
  4898.             been suggested  for use  with error-correcting modems.  This
  4899.             protocol operates  just like regular Xmodem but allows for a
  4900.             continuous flow  of blocks  to be transmitted by the sending
  4901.             computer.  XON/XOFF flow control and/or CTS flow control are
  4902.             used to synchronize the two computer systems.  This protocol
  4903.             relies on  the two  error-correcting modems  to provide  the
  4904.             necessary block  retransmissions in case of error.  However,
  4905.             if an  error occurs  between the modem and the microcomputer
  4906.             (which does  happen), then Xmodem 1K G has to give up, since
  4907.             there is no provision for resending bad blocks under program
  4908.             control.
  4909.             
  4910.             In general,  the Zmodem  protocol  (described  below)  is  a
  4911.             better choice  for a  protocol to  use with error-correcting
  4912.             modems, since it provides the streaming speed of Xmodem 1K G
  4913.             with error  recovery and  retransmission of bad blocks under
  4914.             program control.
  4915.             
  4916.             
  4917.             Modem7
  4918.             Modem7
  4919.             
  4920.             Modem7 batch protocol is a variant of Xmodem which sends the
  4921.             file name before the file itself.  This provides for sending
  4922.             a batch  of files all at one time.  Each file is preceded by
  4923.             the file name.  Either checksum or CRC error-checking can be
  4924.             used with  Modem7.   BBS systems like RCP/M and Fido support
  4925.             Modem7 transfers, as do many Unix systems.
  4926.             
  4927.             
  4928.             Ymodem
  4929.             Ymodem
  4930.             
  4931.             Ymodem is another Xmodem variant  which provides for sending
  4932.             the file  name, creation time and date, and exact file size.
  4933.             This information  is contained  in a special "block 0" which
  4934.             is prepended  to the actual data of the file itself.  Ymodem
  4935.             allows for  the transfer  of several  files  at  once.    In
  4936.             general, the actual data part of a file is sent using Xmodem
  4937.             1K-style long blocks with CRC error checking.
  4938.             
  4939.  
  4940.  
  4941.             A Guide to PibTerm v4.1 at Northwestern               Page 72
  4942.             A Guide to PibTerm v4.1 at Northwestern               Page 72
  4943.  
  4944.  
  4945.             Ymodem was  devised by Chuck Forsberg, who later devised the
  4946.             Zmodem protocol (see the section on Zmodem below).
  4947.             
  4948.             A variant of Ymodem, called Ymodem G in PibTerm, uses Xmodem
  4949.             1K G  (described above)  to send  files.   It should only be
  4950.             used when  error-correcting modems  are present on both ends
  4951.             of the computer link.  If any error occurs during a Ymodem G
  4952.             transfer, then the transfer is aborted.
  4953.             
  4954.             
  4955.             Telink
  4956.             Telink
  4957.             
  4958.             Telink is  a variant of Modem7 proposed by Tom Jennings that
  4959.             adds information  on file size and file creation time to the
  4960.             file name.  PibTerm will use the file size and creation time
  4961.             information from  Telink if  it appears.    Telink  is  most
  4962.             useful with  FIDO bulletin  board systems.   PibTerm  always
  4963.             requests the CRC version of Telink, since there is no reason
  4964.             to use the Checksum version.
  4965.             
  4966.             Incidentally, if you enter the wrong Xmodem variant protocol
  4967.             name, PibTerm will try and adjust as it receives blocks from
  4968.             the remote  system.   In other  words, if  the remote system
  4969.             decides to  send the  file using  Telink, but  you just  say
  4970.             Modem7, PibTerm  will adjust to Telink anyway.  Likewise, an
  4971.             Xmodem 1K  1024-character block is automatically handled, as
  4972.             is the  Ymodem header block if any, even if you say that you
  4973.             want an Xmodem transfer.  Since PibTerm cannot always adjust
  4974.             properly, so  it's best  to tell it the proper transfer type
  4975.             to avoid problems.
  4976.             
  4977.             
  4978.             Mahoney BBS batch protocol
  4979.             Mahoney BBS batch protocol
  4980.             
  4981.             Bob Mahoney  runs one  of the  largest BBSs (remote bulletin
  4982.             board systems)  in the  world  out  of  suburban  Milwaukee,
  4983.             Wisconsin.   Several years back Bob added a batch version of
  4984.             Xmodem --  different from  Modem 7  or Telink  -- to his BBS
  4985.             software.   This "autodownload"  protocol  is  supported  by
  4986.             PibTerm if you set the parameter at
  4987.             
  4988.                  <ALT>P,
  4989.                       F)ile transfer,
  4990.                            b) Do EXEC PC BBS commands
  4991.             
  4992.             to YES.
  4993.             
  4994.             Since  the   EXEC  PC  BBS  software  now  recognizes  other
  4995.             protocols  including  Ymodem  batch  for  autodownload,  you
  4996.             should  use   Ymodem  batch  in  preference  to  this  older
  4997.             autodownload protocol because Ymodem is considerably faster.
  4998.             
  4999.             
  5000.  
  5001.  
  5002.             A Guide to PibTerm v4.1 at Northwestern               Page 73
  5003.             A Guide to PibTerm v4.1 at Northwestern               Page 73
  5004.  
  5005.  
  5006.             Other Xmodem family protocols
  5007.             Other Xmodem family protocols
  5008.             
  5009.             There are  other Xmodem-derived protocols.  Recently several
  5010.             variants  of  Xmodem  which  provide  sliding  windows  like
  5011.             sliding windows  Kermit have  appeared.   PibTerm  does  not
  5012.             incorporate these  newer protocols directly, but you may add
  5013.             them using  the facilities  for defining external protocols.
  5014.             See the  "PibTerm  Parameters  Reference  Manual"  for  more
  5015.             details.
  5016.             
  5017.             
  5018.             Zmodem
  5019.             Zmodem
  5020.             
  5021.             An increasing number of bulletin board systems -- as well as
  5022.             Unix systems  -- provide  the Zmodem  protocol.  Zmodem is a
  5023.             full-duplex protocol  that provides excellent throughput and
  5024.             exceptional error-recovery even on poor connections.  Zmodem
  5025.             also allows  you to  restart a  file transfer  that  aborted
  5026.             because of a dropped carrier.  For example, suppose that you
  5027.             were transferring  a 200K  file, and  after 120K the carrier
  5028.             dropped.  With other file transfer protocols, you would need
  5029.             to restart  the transfer from the beginning.  With Zmodem it
  5030.             is possible  to reconnect  to the  remote system and pick up
  5031.             the transfer  where it  left off, so that only the remaining
  5032.             80K of  the file  needs to  be sent,  rather than the entire
  5033.             200K all over again.
  5034.             
  5035.             PibTerm does  not directly  incorporate the Zmodem protocol.
  5036.             Instead, PibTerm  interfaces to  the standard  DSZ  transfer
  5037.                                                            DSZ          
  5038.             module written  by Chuck  Forsberg, the author of the Zmodem
  5039.             protocol.   This interface  is provided  through  two  batch
  5040.             files,  RECZMOD.BAT  and  SENDZMOD.BAT,  using  the  PibTerm
  5041.                     RECZMOD.BAT       SENDZMOD.BAT                      
  5042.             facility for  adding external file transfer protocol drivers
  5043.             to the  standard <ALT>R and <ALT>S transfer menus.  (See the
  5044.             section "Adding  your own  protocols" below.)   These  batch
  5045.             files are included as part of the PibTerm release materials.
  5046.             However, the  DSZ program is NOT included.  You can obtain a
  5047.             copy of  DSZ from  most of the better bulletin board systems
  5048.             or directly from the author at:
  5049.             
  5050.                  Omen Technology
  5051.                  P.O. Box 4681
  5052.                  Portland, Oregon  97208
  5053.             
  5054.             If you  order directly  from  Omen  Technology  then  please
  5055.             include a  check for $20 (US funds). (Credit card orders are
  5056.             also accepted for $25.)  The $20 registers your copy of DSZ.
  5057.             DSZ is a shareware product, and you are expected to register
  5058.             it if  you use  it.   DSZ is NOT free software!  Even if you
  5059.                                          NOT                            
  5060.             download DSZ  from a  bulletin board system, you should send
  5061.             in the $20 registration fee.
  5062.             
  5063.             The registration diskette also contains Unix versions of the
  5064.             Zmodem protocol programs (SZ and RZ).
  5065.  
  5066.  
  5067.             A Guide to PibTerm v4.1 at Northwestern               Page 74
  5068.             A Guide to PibTerm v4.1 at Northwestern               Page 74
  5069.  
  5070.  
  5071.             
  5072.             It is  possible to  set up Zmodem for autodownloading.  What
  5073.             this means  is that  you can  start a Zmodem transfer on the
  5074.             remote system  and PibTerm,  running in  terminal  emulation
  5075.             mode,  will  recognize  that  a  Zmodem  receive  should  be
  5076.             started.   (This  is  similar  to  the  Kermit  autodownload
  5077.             facility.)  You do not explicitly need to issue an <ALT>R to
  5078.             begin the receive.
  5079.             
  5080.             To activate Zmodem autodownloading, set the parameter at
  5081.             
  5082.                  <ALT>P,
  5083.                       F)ile transfer,
  5084.                            h) Allow Zmodem autodownload
  5085.             
  5086.             to YES.
  5087.             
  5088.             You should  not  activate  autodownloading  on  noisy  lines
  5089.             because line noise can appear as the marker character (Ascii
  5090.             24 = CAN) indicating the start of an autodownload.
  5091.             
  5092.             
  5093.             Compuserve B Protocol
  5094.             Compuserve B Protocol
  5095.             
  5096.             Pibterm also  incorporates the Compuserve B protocol (called
  5097.             CISB protocol for short) for use with CompuServe Information
  5098.             Services (CIS).   PibTerm  provides  the  latest  "quick  B"
  5099.             protocol which  is a  full-duplex sliding windows version of
  5100.             the B  protocol.   CompuServe B  protocol  is  activated  by
  5101.             special commands  (escape sequences) sent from CompuServe to
  5102.             the PC.   However,  by default,  PibTerm does  not recognize
  5103.             those commands, since line noise can also cause Compuserve B
  5104.             protocol to  be invoked  falsely, and  because in VT100 mode
  5105.             the  escape   sequences  may  invoke  the  VT100  answerback
  5106.             facility.
  5107.             
  5108.             To activate Compuserve B protocol, press
  5109.             
  5110.                  <ALT>P,
  5111.                       F)ile transfer,
  5112.                            c) Do CompuServe B protocol
  5113.             
  5114.             and set  the parameter  value to  YES.  You should make sure
  5115.             that the  "prompt for  Vidtex"  option  at  GO  TERMINAL  on
  5116.             CompuServe is  set to  NO, or  CompuServe will  issue Vidtex
  5117.             prompts which  look like B protocol requests when you log in
  5118.             to CompuServe.   This  can result in a bogus display, or the
  5119.             start of a spurious file transfer.
  5120.             
  5121.             The CompuServe  B Protocol  code in PibTerm is based in part
  5122.             upon an  implementation written  by Russ  Ranshaw, which  in
  5123.             turn was  based upon  an  implementation  written  by  Steve
  5124.             Wilhite.
  5125.             
  5126.  
  5127.  
  5128.             A Guide to PibTerm v4.1 at Northwestern               Page 75
  5129.             A Guide to PibTerm v4.1 at Northwestern               Page 75
  5130.  
  5131.  
  5132.             
  5133.             Automatic File Name Extraction For Transfers
  5134.             Automatic File Name Extraction For Transfers
  5135.             
  5136.             When you  send a  file to  a remote system, you need to tell
  5137.             PibTerm the name of the file to be transferred. For the non-
  5138.             batch protocols,  you also  need to tell PibTerm the name of
  5139.             the  file   you  are   receiving  from   a  remote   system.
  5140.             Additionally, you  may need  to tell  the remote system what
  5141.             file name  to send  or receive.   Frequently this means that
  5142.             you type  the file  name twice:   once  to inform the remote
  5143.             system of  the file name, and again to inform PibTerm of the
  5144.             file name.
  5145.             
  5146.             As a  convenience,  PibTerm  scans  what  you've  typed  and
  5147.             extracts what  it believes to be the file name you presented
  5148.             to the  remote system.  It does this by choosing as the file
  5149.             name a  character sequence  of  the  form  "name.ext"  where
  5150.             ".ext" is  not all  digits.   PibTerm displays this possible
  5151.             file name  as the  default choice  at the  "Choose protocol"
  5152.             menus or "Choose file name" menu in Kermit.
  5153.             
  5154.             If you  want to disable this automatic file name recognition
  5155.             facility, change the parameter at
  5156.             
  5157.                  <ALT>P,
  5158.                       F)ile transfer,
  5159.                            g) Auto find file names
  5160.             
  5161.             to NO.
  5162.             
  5163.             
  5164.             Non-Protocol File Transfers
  5165.             Non-Protocol File Transfers
  5166.             
  5167.             PibTerm also provides non-protocol file transfers, sometimes
  5168.             called Ascii  file transfers.   A non-protocol transfer does
  5169.             NOT send  any error checking information along with the data
  5170.             being transmitted,  so that  any errors encountered will NOT
  5171.             be detected  or corrected.   Hence,  you should NOT use such
  5172.             transfers when  the  remote  system  provides  for  protocol
  5173.             transfers.  Since all of the ACNS systems provide (at least)
  5174.             the Kermit  protocol, you  should use Kermit for all of your
  5175.             file transfers to and from ACNS systems.
  5176.             
  5177.             However, there  are  other  systems  which  do  not  provide
  5178.             protocol transfers.  On these systems non-protocol transfers
  5179.             are the  only means of transferring data. Also, non-protocol
  5180.             transfers are  useful for  driving devices  like plotters or
  5181.             linotype  machines   which  do   not   understand   protocol
  5182.             transfers. (These  devices may  require  flow  control  like
  5183.             Xon/Xoff or CTS/RTS, however.)
  5184.             
  5185.             Another common  use for  a non-protocol  transfer is to send
  5186.             short messages  to the  message facility  of a remote system
  5187.             which does  not allow  protocol  transfers  in  the  message
  5188.  
  5189.  
  5190.             A Guide to PibTerm v4.1 at Northwestern               Page 76
  5191.             A Guide to PibTerm v4.1 at Northwestern               Page 76
  5192.  
  5193.  
  5194.             system.   For example,  many remote BBS systems allow you to
  5195.             leave messages,  but very  few allow  you to upload messages
  5196.             using a protocol.
  5197.             
  5198.             To perform  a non-protocol  transfer, choose  Ascii  as  the
  5199.                                                           Ascii         
  5200.             transfer type at the <ALT>R or <ALT>S menus.
  5201.             
  5202.             There are  a number of parameters which affect the manner in
  5203.             which  a   non-protocol  transfer   is  performed.     These
  5204.             parameters appear at
  5205.             
  5206.                  <ALT>P,
  5207.                       F)ile transfer,
  5208.                            i) Ascii transfer parameters
  5209.             
  5210.             Here is the resulting display:
  5211.             
  5212.             ╒[ Ascii transfer settings ]═══════════════════════════════════════════════════╕
  5213.             │                                                                              │
  5214.             │ a) Intercharacter delay               : 0                                    │
  5215.             │ b) Interline delay                    : 0                                    │
  5216.             │ c) Pacing character                   :   (Ascii 32)                         │
  5217.             │ d) Byte stream transfer               : No                                   │
  5218.             │ e) Maximum text line size             : 255                                  │
  5219.             │ f) Send CR/LF sequence at end of line : No                                   │
  5220.             │ g) Send empty line as blank           : No                                   │
  5221.             │ h) Send <CTRL>Z at end of transfer    : Yes                                  │
  5222.             │ i) Display text during transfer       : No                                   │
  5223.             │ j) Translate incoming characters      : No                                   │
  5224.             │                                                                              │
  5225.             │ Enter letter of item to revise or hit ESC to quit:                           │
  5226.             │                                                                              │
  5227.             ╘══════════════════════════════════════════════════════════════════════════════╛
  5228.             
  5229.             
  5230.             The a) intercharacter delay and b) interline delay allow you
  5231.                 a) intercharacter delay     b) interline delay          
  5232.             to slow down the transfer to accomodate remote systems which
  5233.             have difficulty accepting large batches of characters all at
  5234.             once.  By default, PibTerm sets both delays to zero, so that
  5235.             characters are sent at full speed to the remote system.
  5236.             
  5237.             The c)  pacing character instructs PibTerm to wait until the
  5238.                 c)  pacing character                                    
  5239.             selected character  appears from  the remote  system  before
  5240.             sending the  next line  of text.   Specifying a blank as the
  5241.             pacing character  (the default)  indicates that no pacing is
  5242.             desired.
  5243.             
  5244.             Normally an  Ascii file  on MSDOS  contains a series of text
  5245.             lines, each  of which  ends with  carriage return (Ascii 13)
  5246.             and line feed (Ascii 10) characters.  You may want to send a
  5247.             file that does not have that format.  Setting d) byte stream
  5248.                                                           d) byte stream
  5249.             transfer  to  YES  causes  PibTerm  to  send  a  file  as  a
  5250.             transfer                                                    
  5251.             continuous stream of characters, without regard to text line
  5252.             boundaries.   This option is useful when sending a file to a
  5253.  
  5254.  
  5255.             A Guide to PibTerm v4.1 at Northwestern               Page 77
  5256.             A Guide to PibTerm v4.1 at Northwestern               Page 77
  5257.  
  5258.  
  5259.             plotter, linotype,  or real-time  data  acquisition  device.
  5260.             You can  also receive  a file as a byte stream transfer from
  5261.             such a  device using this option.  Generally you need to set
  5262.             some kind  of hardware  or software flow control, or use the
  5263.             intercharacter/interline   delays,    or   specify    pacing
  5264.             character.
  5265.             
  5266.             The e)  maximum text  line size  which PibTerm allows is 255
  5267.                 e)  maximum text  line size                             
  5268.             characters per line.  If you are sending or receiving a file
  5269.             with lines  longer than  255 characters,  set  the  d)  byte
  5270.                                                                 d)  byte
  5271.             stream transfer  to YES and leave the maximum text line size
  5272.             stream transfer                                             
  5273.             at 255.
  5274.             
  5275.             When receiving  an Ascii  text  file,  most  remote  systems
  5276.             automatically append  line feeds  to  carriage  returns.  It
  5277.             isn't necessary to explicitly send the carriage return AND a
  5278.             line feed  at the end of each text line -- only the carriage
  5279.             return is  needed. If  the remote system DOES require both a
  5280.             carriage return  and a  line feed,  then set the value of f)
  5281.                                                                       f)
  5282.             Send CR/LF sequence at end of line to YES.
  5283.             Send CR/LF sequence at end of line        
  5284.             
  5285.             Some remote  systems like  CompuServe or  NOS  interpret  an
  5286.             empty line -- one consisting of just a carriage return -- as
  5287.             an end-of-input  indicator.   For those systems you may want
  5288.             to have  PibTerm change  empty lines  to lines  containing a
  5289.             blank, which  avoids the  end-of-input problem.  To do this,
  5290.             set the value of g) Send empty line as blank to YES.
  5291.                              g) Send empty line as blank        
  5292.             
  5293.             Some systems  like the  Vax will accept a <CTRL>Z as an end-
  5294.             of-file marker.   (MSDOS  programs often do as well for text
  5295.             files.)   If the  remote system  wants a <CTRL>Z to mark the
  5296.             end-of-file, then  set h) Send <CTRL>Z at end of transfer to
  5297.                                    h) Send <CTRL>Z at end of transfer   
  5298.             YES.
  5299.             
  5300.             To see  the transfer  in progress set i) Display text during
  5301.                                                   i) Display text during
  5302.             transfer to  YES.   Note, however,  that this option assumes
  5303.             transfer                                                    
  5304.             that the  remote  system  is  echoing  back  the  characters
  5305.             PIbTerm sends.   If  that is  not the  case, you  should use
  5306.             <ALT>E to  toggle local  echo ON  during the transfer.  Also
  5307.             note that  turning on  the display  slows down  the transfer
  5308.             considerably.
  5309.             
  5310.             When PibTerm  is receiving  an Ascii  file, you will need to
  5311.             use  <ALT>R  to  stop  the  transfer  when  it  is  actually
  5312.             complete.   PibTerm cannot  do this  automatically since  it
  5313.             does not  know where the actual end of the received data is.
  5314.             When sending a file, PibTerm stops at the end of the file on
  5315.             the PC.
  5316.             
  5317.             Because of  the buffering  that both PibTerm and many modems
  5318.             use when sending files, you may find that the Ascii transfer
  5319.             display disappears  before the  remote system  has  actually
  5320.             received the  entire file.  This is because the last part of
  5321.             the file  to be sent is still sitting in the outbound serial
  5322.  
  5323.  
  5324.             A Guide to PibTerm v4.1 at Northwestern               Page 78
  5325.             A Guide to PibTerm v4.1 at Northwestern               Page 78
  5326.  
  5327.  
  5328.             port buffer  or the  modem's buffer.   This  is  normal  and
  5329.             should not be cause for alarm.
  5330.             
  5331.             If you  want the current translate table (defined at <ALT>T)
  5332.             to affect  Ascii file  receives, set  j) Translate  incoming
  5333.                                                   j) Translate  incoming
  5334.             characters to  YES.   Normally, Ascii  file transfers IGNORE
  5335.             characters                                                  
  5336.             the current  translate table  setting.   And, the  translate
  5337.             table has not effect when sending a file.
  5338.             
  5339.             
  5340.             External File Transfer Protocols
  5341.             External File Transfer Protocols
  5342.             
  5343.             An external  file transfer  protocol is  one  which  is  not
  5344.             built-in to PibTerm itself, but can be accessed by executing
  5345.             an auxilliary program which performs the transfer.  A number
  5346.             of such auxilliary programs currently exist:  DSZ for Zmodem
  5347.             (and  Xmodem   and  Ymodem  too);  MLINK.COM  for  MegaLink;
  5348.             CLINK.COM for  SEALink;  PCKERMIT.EXE  for  sliding  windows
  5349.             Kermit; and so on.
  5350.             
  5351.             There are two ways to add an external file transfer protocol
  5352.             to PibTerm.   The  first is to write a script to be executed
  5353.             when the  external protocol  is invoked.   The  second is to
  5354.             write a batch file to be executed when the external protocol
  5355.             is invoked.   The  script approach  allows more flexibility,
  5356.             but is  much more  work  to  set  up.    This  section  only
  5357.             describes the  batch file  approach; see the "PibTerm Script
  5358.             Language  Reference   Manual"  for  details  on  the  script
  5359.             approach.
  5360.             
  5361.             Once you  have added  the external  protocol to PibTerm, you
  5362.             can access  it at  <ALT>R and  <ALT>S just like the built-in
  5363.                                <ALT>R      <ALT>S                       
  5364.             protocols.  You can also specify an external protocol should
  5365.             be the  default protocol  for a  specific dialing  directory
  5366.             entry,  just   as  you  can  specify  one  of  the  built-in
  5367.             protocols.   In other  words, there is no difference between
  5368.             using a  built-in protocol  and using  an external  protocol
  5369.             once you  have defined  the external  protocol  properly  to
  5370.             PibTerm.
  5371.             
  5372.             
  5373.             Steps in Adding a User-Defined Protocol
  5374.             Steps in Adding a User-Defined Protocol
  5375.             
  5376.             Here are  the steps  in adding  an  external  file  transfer
  5377.             protocol to PibTerm.
  5378.             
  5379.             Step 1:   Find a suitable auxilliary program.
  5380.             Step 1:   Find a suitable auxilliary program.
  5381.             
  5382.             For illustration,  the MegaLink  protocol  module  MLINK.COM
  5383.             written by  Paul Meiners  will be  used here.  The MLINK.COM
  5384.             module is  available on  a many  bulletin boards;  it is NOT
  5385.             included as part of the PibTerm release materials. MLINK.COM
  5386.             is a shareware product.
  5387.             
  5388.  
  5389.  
  5390.             A Guide to PibTerm v4.1 at Northwestern               Page 79
  5391.             A Guide to PibTerm v4.1 at Northwestern               Page 79
  5392.  
  5393.  
  5394.             Step 2:   Construct configuration file entry for protocol
  5395.             Step 2:   Construct configuration file entry for protocol
  5396.             
  5397.             Do an
  5398.             
  5399.                  <Alt>P,
  5400.                       F)ile transfer,
  5401.                            n) external protocol definitions.
  5402.             
  5403.             You will see a display like this one:
  5404.             
  5405.             
  5406.             ╒[ External transfer protocol definitions ]════════════════════════════════════╕
  5407.             │                                                                              │
  5408.             │   Protocol Name  Abbrev.  Batch Mode  Host Mode  Receive Script  Send Script │
  5409.             │                                                                              │
  5410.             │ a)       Zmodem    ZM        YES         YES     RECZMOD.BAT     SENDZMOD.BAT│
  5411.             │ b) ** Unused **                                                              │
  5412.             │ c) ** Unused **                                                              │
  5413.             │ d) ** Unused **                                                              │
  5414.             │ e) ** Unused **                                                              │
  5415.             │ f) ** Unused **                                                              │
  5416.             │ g) ** Unused **                                                              │
  5417.             │ h) ** Unused **                                                              │
  5418.             │ i) ** Unused **                                                              │
  5419.             │ j) ** Unused **                                                              │
  5420.             │                                                                              │
  5421.             │ Enter letter of item to revise or hit ESC to quit:                           │
  5422.             │                                                                              │
  5423.             ╘══════════════════════════════════════════════════════════════════════════════╛
  5424.             
  5425.             
  5426.             One external  protocol is  pre-defined in  the ACNS  release
  5427.             materials for PibTerm -- Zmodem.  This leaves nine available
  5428.             slots for other protocols.
  5429.             
  5430.             There are  six items needed to define an external  protocol,
  5431.             as indicated by the six columns in the menu display above.
  5432.             
  5433.             First is  the protocol  name -- in this case, MegaLink. This
  5434.             First                                                       
  5435.             is the  name which  will be displayed at <ALT>R or <ALT>S in
  5436.                                                      <ALT>R    <ALT>S   
  5437.             the file  transfer protocol  menu and  in section two of the
  5438.             dialing directory display.
  5439.             
  5440.             Second is  a two-letter  abbreviation for  the protocol. The
  5441.             Second                                                      
  5442.             abbreviation MUST  have two  non-blank characters.   This is
  5443.             the abbreviation which is used in the dialing directory file
  5444.             PIBTERM.FON and in the script commands Send and Receive (see
  5445.                                                    Send     Receive     
  5446.             the "PibTerm Script Language Reference Manual" for details).
  5447.             
  5448.             The following two-letter abbreviations are already taken and
  5449.             can't be used:
  5450.             
  5451.                  AS, XK, XC, KE, TE, MK, M7, X1, XG, YB, YG, NO
  5452.             
  5453.  
  5454.  
  5455.             A Guide to PibTerm v4.1 at Northwestern               Page 80
  5456.             A Guide to PibTerm v4.1 at Northwestern               Page 80
  5457.  
  5458.  
  5459.             In addition,  ZM is  taken by the Zmodem definition supplied
  5460.                           ZM                                            
  5461.             with the PibTerm release materials.
  5462.             
  5463.             We'll choose the letters ML for MegaLink.
  5464.                                      ML              
  5465.             
  5466.             Third, we  need to  indicate if  the  protocol  is  a  batch
  5467.             Third                                                       
  5468.             protocol which  sends the file names as part of the transfer
  5469.             when a  receive from  the remote  system is  done.   If  so,
  5470.             PibTerm does  not need  to prompt for the file name when the
  5471.             external protocol  is chosen.  (For example, PibTerm doesn't
  5472.             prompt for the filename to receive for the built-in protocol
  5473.             Ymodem batch.)
  5474.             
  5475.             Fourth, we  need to indicate whether or not the protocol can
  5476.             Fourth                                                      
  5477.             be executed  by a non-privileged user in host mode. Internal
  5478.             protocols built-in  to PibTerm  check file transfer requests
  5479.             against entries  in the  PIBTERM.XFR file.  (See the section
  5480.                                      PIBTERM.XFR                        
  5481.             "On Being  A Host"  for more  details  about  host  mode  in
  5482.             PibTerm.)   External protocols  do not  perform  this  check
  5483.             since they  don't know  anything about the PIBTERM.XFR file.
  5484.                                                        PIBTERM.XFR      
  5485.             These external  protocols should  not be  allowed to execute
  5486.             from host  mode to  avoid security  problems, and you should
  5487.             answer N to the question "Allow this protocol in host mode?"
  5488.                    N                                                    
  5489.             However,  some   external  protocol  modules  do  provide  a
  5490.             facility for  restricting  files  to  be  transferred  to  a
  5491.             specific subdirectory.   If  you specify  a host mode upload
  5492.             directory and  a  host  mode  download  directory,  and  the
  5493.             external protocol  handler allows  you to  specify transfers
  5494.             to/from only  those subdirectories,  then you  can allow the
  5495.             external  protocols   to  execute   in  host  mode  with  an
  5496.             acceptable level  of security.   As it happens, the Megalink
  5497.             driver MLINK.COM  does allow you to specify the subdirectory
  5498.             in which  to place  received files,  but MLINK.COM  does NOT
  5499.             allow you  to specify  a directory  to restrict  files to be
  5500.             sent.   So we answer "N" to the "Allow this protocol in host
  5501.             mode?" question.     (Incidentally, a  privileged  user  can
  5502.             execute any  of the defined protocols without regard to this
  5503.             setting.)
  5504.             
  5505.             Fifth, we  need to  provide the  name of a PibTerm script or
  5506.             Fifth                                                       
  5507.             batch file to be executed when a file is to be received from
  5508.             a remote  system with  the external protocol.  The script or
  5509.             batch  file  contains  all  the  necessary  instructions  to
  5510.             execute the  external protocol  module.   WE MUST WRITE THIS
  5511.             SCRIPT/BATCH FILE OUTSELVES.  For Megalink, we will call the
  5512.             receive file batch file RECMLINK.BAT.
  5513.                                     RECMLINK.BAT 
  5514.             
  5515.             Sixth, we  need to  provide the  name of a PibTerm script or
  5516.             Sixth                                                       
  5517.             batch file  to be  executed when a file is to be sent to the
  5518.             remote system.  Again, we need to write this script or batch
  5519.             file ourselves.  For MegaLink,  we will  call the  send file
  5520.             batch file SENDMLIN.BAT.
  5521.                        SENDMLIN.BAT 
  5522.             
  5523.  
  5524.  
  5525.             A Guide to PibTerm v4.1 at Northwestern               Page 81
  5526.             A Guide to PibTerm v4.1 at Northwestern               Page 81
  5527.  
  5528.  
  5529.             Referring back  to the  menu display  above, hitting  'b' to
  5530.             choose the first empty slot produces the following sub-menu:
  5531.             
  5532.                                     ╒[ Revise Protocol:  ]╕
  5533.                                     │ P)rotocol name      │
  5534.                                     │ A)bbreviation       │
  5535.                                     │ B)atch mode         │
  5536.                                     │ H)ost mode allowed  │
  5537.                                     │ R)eceive script     │
  5538.                                     │ S)end script        │
  5539.                                     ╘═════════════════════╛
  5540.             
  5541.             Select each  item in  turn and enter the six required pieces
  5542.             of information:
  5543.             
  5544.                  P)rotocol name      --- MegaLink
  5545.                  A)bbreviation       --- ML
  5546.                  B)atch  mode        --- Yes
  5547.                  H)ost mode               --- No
  5548.                  R)eceive script          --- RECMLINK.BAT
  5549.                  S)end script        --- SENDMLIN.BAT
  5550.             
  5551.             Even though  the prompts  are for  R)eceive script and S)end
  5552.                                                R)eceive script     S)end
  5553.             script, you  enter the  names of the batch files.  If you do
  5554.             script                                                      
  5555.             not explicitly  enter the  .BAT ending, then PibTerm assumes
  5556.             that you are going to use scripts instead of batch files.
  5557.             
  5558.             Hit the  ESC key  to get  out of  this  menu  when  all  the
  5559.             information  is   stored.  (You  can  also  update  existing
  5560.             information using  this menu.   For  example, you can change
  5561.             the definition of Zmodem if you like.)
  5562.             
  5563.             After adding the information, the screen looks like this:
  5564.             
  5565.             ╒[ External transfer protocol definitions ]════════════════════════════════════╕
  5566.             │                                                                              │
  5567.             │   Protocol Name  Abbrev.  Batch Mode  Host Mode  Receive Script  Send Script │
  5568.             │                                                                              │
  5569.             │ a)       Zmodem    ZM        YES         YES         RECZMOD      SENDZMOD   │
  5570.             │ b)     Megalink    ML        YES         YES        RECMLINK      SENDMLIN   │
  5571.             │ c) ** Unused **                                                              │
  5572.             │ d) ** Unused **                                                              │
  5573.             │ e) ** Unused **                                                              │
  5574.             │ f) ** Unused **                                                              │
  5575.             │ g) ** Unused **                                                              │
  5576.             │ h) ** Unused **                                                              │
  5577.             │ i) ** Unused **                                                              │
  5578.             │ j) ** Unused **                                                              │
  5579.             │                                                                              │
  5580.             │ Enter letter of item to revise or hit ESC to quit:                           │
  5581.             │                                                                              │
  5582.             ╘══════════════════════════════════════════════════════════════════════════════╛
  5583.             
  5584.  
  5585.  
  5586.             A Guide to PibTerm v4.1 at Northwestern               Page 82
  5587.             A Guide to PibTerm v4.1 at Northwestern               Page 82
  5588.  
  5589.  
  5590.             Line b)  now reflects  the MegaLink  definition.  Hit ESC to
  5591.                  b)                                                     
  5592.             get out  of this menu, hit ESC again to get out of the F)ile
  5593.                                                                    F)ile
  5594.             transfer submenu,  and choose  W)rite config file to write a
  5595.             transfer                       W)rite config file           
  5596.             new configuration  file  which  will  contain  the  MegaLink
  5597.             definition.
  5598.             
  5599.             
  5600.             Step 3:   Write Batch Files For Send and Receive Operations
  5601.             Step 3:   Write Batch Files For Send and Receive Operations
  5602.             
  5603.             The parameters  to batch files for external transfers are as
  5604.             follows:
  5605.             
  5606.                  %1   ---  serial port number  (1, 2)
  5607.                  %2   ---  speed of connection (2400, 9600, etc.)
  5608.                  %3   ---  parity (N, E, etc.)
  5609.                  %4   ---  data bits (7,8)
  5610.                  %5   ---  transfer directory
  5611.                  %6   ---  file spec for transfer
  5612.             
  5613.             The same  parameters are  passed for all protocols, both for
  5614.             sending files and receiving files.
  5615.             
  5616.             When PibTerm  executes the batch file, the current directory
  5617.             is saved  before the  transfer and  restored after it.  If a
  5618.             specific upload/download  directory is  used,  then  PibTerm
  5619.             moves to it before executing the batch file.  (The directory
  5620.             choice takes  account of  whether or not the current PibTerm
  5621.             session is  in host  mode or not.)  Because Pibterm moves to
  5622.                                                 Because Pibterm moves to
  5623.             the upload  or download directory, it is extremely important
  5624.             the upload  or download directory, it is extremely important
  5625.             that both  the external  protocol program  (e.g., MLINK.COM)
  5626.             that both  the external  protocol program  (e.g., MLINK.COM)
  5627.             and the  batch  files  to  invoke  it  (e.g.,  RECMLINK.BAT,
  5628.             and the  batch  files  to  invoke  it  (e.g.,  RECMLINK.BAT,
  5629.             SENDMLIN.BAT) be  placed in  subdirectories  along  the  DOS
  5630.             SENDMLIN.BAT) be  placed in  subdirectories  along  the  DOS
  5631.             PATH=.
  5632.             PATH=.
  5633.             
  5634.             To write  the batch  files for  MegaLink we need to know the
  5635.             parameters expected  by the  external protocol module.   The
  5636.             MLINK.COM program takes argument of the form:
  5637.             
  5638.                  MLINK PORT n SPEED s RM download_directory
  5639.                  MLINK PORT n SPEED s SM
  5640.             
  5641.             where 'n' is the communications port number, 's' is the baud
  5642.             rate  of  the  connection,  RM  indicates  files  are  being
  5643.             received,  SM   indicates  files   are   being   sent,   and
  5644.             'download_directory' is  the name  of the  PibTerm  download
  5645.             directory.
  5646.             
  5647.             For example,  to receive files at 2400 baud over port 1, the
  5648.             MLINK.COM invocation should be:
  5649.             
  5650.                  MLINK PORT 1 SPEED 2400 RM C:\DOWNLOAD
  5651.             
  5652.  
  5653.  
  5654.             A Guide to PibTerm v4.1 at Northwestern               Page 83
  5655.             A Guide to PibTerm v4.1 at Northwestern               Page 83
  5656.  
  5657.  
  5658.             assuming   that    the   PibTerm   download   directory   is
  5659.             'C:\DOWNLOAD', while  to send files over port 2 at 1200 baud
  5660.             the MLINK.COM invocation should be:
  5661.             
  5662.                  MLINK PORT 2 SPEED 1200 SM
  5663.             
  5664.             Given this  information, the  receive .BAT file for MegaLink
  5665.             can be written as:
  5666.             
  5667.                  MLINK PORT %1 SPEED %2 RM %5
  5668.             
  5669.             and the send .BAT file can be written as
  5670.             
  5671.                  MLINK PORT %1 SPEED %2 SM
  5672.             
  5673.             
  5674.             
  5675.             Hanging Up The Phone -- <ALT>H
  5676.             Hanging Up The Phone -- <ALT>H
  5677.             
  5678.             Generally you  need not  hang up the phone explicitly (using
  5679.             <ALT>H) at  the end  of a PibTerm session, since most remote
  5680.             systems (including  ACNS systems) hang up the phone on their
  5681.             end when  you log  out.  However, sometimes you may run into
  5682.             trouble if,  for example,  the remote  system fails but does
  5683.             not hang  up the phone.  In this case you need to explicitly
  5684.             hang up the phone.  To do that, hit the <ALT>H.
  5685.             
  5686.             When you  strike <ALT>H,  PibTerm first  attempts to hang up
  5687.             the phone  by dropping the DTR line.  If that fails, PibTerm
  5688.             then tries sending the "Modem hang up string" defined at
  5689.             
  5690.                  <ALT>P,
  5691.                       M)odem and dialing,
  5692.                            h) Hang Up string
  5693.             
  5694.             For Hayes-style modems, the hang up string is ATH0.
  5695.                                                           ATH0 
  5696.             
  5697.             
  5698.             Exiting PibTerm -- <ALT>X
  5699.             Exiting PibTerm -- <ALT>X
  5700.             
  5701.             Before exiting  PibTerm, make  sure to  log off  the  remote
  5702.             system to which you are connected. Then press <ALT>X to exit
  5703.             PibTerm. Note that  PibTerm doesn't  necessarily hang up the
  5704.             phone when  you press <ALT>X.   You may configure PibTerm to
  5705.             hang up  the phone  automatically when you leave PibTerm, or
  5706.             you may hang up the phone by pressing <ALT>H before pressing
  5707.             <ALT>X.
  5708.             
  5709.             To configure PibTerm to hang up the phone automatically when
  5710.             you exit, press
  5711.             
  5712.                  <ALT>P,
  5713.                       C)ommunications,
  5714.                            l) Drop DTR at end.
  5715.  
  5716.  
  5717.             A Guide to PibTerm v4.1 at Northwestern               Page 84
  5718.             A Guide to PibTerm v4.1 at Northwestern               Page 84
  5719.  
  5720.  
  5721.             
  5722.             If you have the DTR (data terminal ready) line on your modem
  5723.             set NORMAL (as it should be), setting the above parameter to
  5724.             YES will  cause PibTerm  to hang  up the phone automatically
  5725.             when you  hit <ALT>X  to quit  PibTerm.  If you have the DTR
  5726.             line set  HIGH, then  PibTerm may not be able to hang-up the
  5727.             phone line.
  5728.             
  5729.             If you  are in  the middle  of executing a script, note that
  5730.             you will  have to  type <ALT>X  twice --  once to  exit  the
  5731.             script, and a second time to exit PibTerm.
  5732.             
  5733.             
  5734.             On Being A Host -- <ALT>W
  5735.             On Being A Host -- <ALT>W
  5736.             
  5737.             PibTerm provides  simple host  mode  facilities  for message
  5738.             exchange and  file transfer.   PibTerm  can  be  used  as  a
  5739.             very simple remote  bulletin board,  or it  can provide  you
  5740.             with limited remote access to your PC.  PibTerm incorporates
  5741.             password security  to prevent unauthorized callers, but this
  5742.             security is  not as  extensive as that provided by dedicated
  5743.             bulletin-board   programs. PibTerm   host   mode   is really
  5744.             intended to  cover the need for a simple remote facility for
  5745.             an individual  or a small private group of users who are all
  5746.             "nice people." 
  5747.             
  5748.             PibTerm host mode assumes a Hayes-compatible modem.
  5749.             
  5750.             To  invoke   host   mode   after   entering   PibTerm,   hit
  5751.             <ALT>W. PibTerm always logs the activity in host mode to the
  5752.             file PIBTERM.LOG so you have a record of what went on during
  5753.                  PIBTERM.LOG                                            
  5754.             a host session.
  5755.             
  5756.             
  5757.             Single-user and multiple-user access
  5758.             Single-user and multiple-user access
  5759.             
  5760.             There are  two ways to use host mode.  The first is to enter
  5761.             <ALT>W without  creating any  special host mode files.  This
  5762.             initiates single-user  host mode.   The  second is to create
  5763.             the host mode files so that multiple callers can access your
  5764.             machine.  This initiates multiple-user host mode.
  5765.             
  5766.             
  5767.             Using Host Mode In Single User Access
  5768.             Using Host Mode In Single User Access
  5769.             
  5770.             Hit <ALT>W  to enter  host mode without creating any special
  5771.             host-mode configuration  files.   When you  do this, PibTerm
  5772.             responds by displaying the following:
  5773.             
  5774.                       No user file present, single user mode assumed.
  5775.                       Enter first name:
  5776.             
  5777.             The first message indicates that you have not created a user
  5778.             file for host mode.  (We'll discuss this momentarily when we
  5779.  
  5780.  
  5781.             A Guide to PibTerm v4.1 at Northwestern               Page 85
  5782.             A Guide to PibTerm v4.1 at Northwestern               Page 85
  5783.  
  5784.  
  5785.             talk about  multiple users for host mode.) Then PibTerm asks
  5786.             you for  the name  with which  you will  be calling  it from
  5787.             another computer.   So, enter your first name.  PibTerm will
  5788.             then prompt  for your  last name  and then  a password.  You
  5789.             will need to provide PibTerm with the password when you call
  5790.             in from another system.  This provides some security against
  5791.             unauthorized access  to your  PC when  it is running in host
  5792.             mode.
  5793.             
  5794.             
  5795.             Entering a name and password
  5796.             Entering a name and password
  5797.             
  5798.                       Enter first name: Philip
  5799.                                         Philip
  5800.                       Enter last name:  Burns
  5801.                                         Burns
  5802.                       Enter password:   mypass
  5803.                                         mypass
  5804.                       
  5805.                       Allow superuser privileges (Y/N)?
  5806.                       
  5807.             
  5808.             
  5809.             Superusers versus ordinary users
  5810.             Superusers versus ordinary users
  5811.             
  5812.             There are  two kinds  of users allowed by PibTerm host mode:
  5813.             ordinary users,  whose access to your system in host mode is
  5814.             fairly restricted,  and superusers,  who can  do just  about
  5815.             whatever they  want to  do, to  your system  from  a  remote
  5816.             machine. If  you intend  to be the only user, or you need to
  5817.             access DOS from a remote machine, then type Y in response to
  5818.                                                         Y               
  5819.             the "Allow superuser privileges" question.
  5820.             
  5821.             
  5822.             Initial host mode messages
  5823.             Initial host mode messages
  5824.             
  5825.             After you  respond to the superuser question, PibTerm resets
  5826.             the modem  to answer an incoming call, and then displays the
  5827.             following set of messages:
  5828.             
  5829.                       No messages in message base.
  5830.                       
  5831.                       Waiting for phone to ring.
  5832.                       Hit ESC key to return to terminal mode.
  5833.                       F1 starts/stops chat mode.
  5834.                       F2 immediately logs out remote user.
  5835.                       F3 jumps to DOS.
  5836.                       F4 undims screen afters it has been dimmed.
  5837.                       F5 gives name of current caller.
  5838.                       Hit any other key to start local host session.
  5839.                       
  5840.             
  5841.             
  5842.             The status line in host mode
  5843.             The status line in host mode
  5844.             
  5845.             The above  information also  appears on  the line  above the
  5846.             status line  in host  mode, to  remind you  of the  commands
  5847.  
  5848.  
  5849.             A Guide to PibTerm v4.1 at Northwestern               Page 86
  5850.             A Guide to PibTerm v4.1 at Northwestern               Page 86
  5851.  
  5852.  
  5853.             after they  have scrolled  off the  screen.  The status line
  5854.             itself will  display what  the current  function is  that is
  5855.             being performed in host mode.
  5856.             
  5857.             Here is a sample status line:
  5858.                       
  5859.                  ESC=quit  F1=chat  F2=logout  F3=DOS  F4=undim  F5=caller  CR=start local
  5860.                  Host Mode   2:34 -CA -PR +LO -LF -LE +XO -CT -CD COM2  2400N81 Wait for call
  5861.             
  5862.             At this  point PibTerm  is ready  for you  to dial  in  from
  5863.             another computer.
  5864.             
  5865.             
  5866.             Starting a host-mode session
  5867.             Starting a host-mode session
  5868.             
  5869.             Once PibTerm  is in host mode, NO PIBTERM <ALT>-key COMMANDS
  5870.                                            NO PIBTERM <ALT>-key COMMANDS
  5871.             are recognized.   You can hit the ESC (escape) key to return
  5872.             are recognized.                                             
  5873.             to terminal  emulation mode (between calls only), or you can
  5874.             hit the  Enter (Return)  key to  start  a  host-mode session
  5875.             right at your PC.  When a remote session is in progress, you
  5876.             can enter  data  at  the  keyboard,  which  will  appear  to
  5877.             PibTerm as if the remote user had typed the entry.
  5878.             
  5879.             You can call your machine from another remote machine.  When
  5880.             PibTerm  receives   a  call,  it  waits  for  the  modem  to
  5881.             answer the phone.    PibTerm  then  determines  the  calling
  5882.             characteristics (speed and parity) of the caller.
  5883.             
  5884.             
  5885.             Welcome message in host mode
  5886.             Welcome message in host mode
  5887.             
  5888.             After determining  the proper  transmission  speed,  PibTerm
  5889.             issues a short welcome message which looks like:
  5890.             
  5891.                       PibTerm Version 4.1 Production.
  5892.                       Released February 26, 1988.
  5893.                       Beginning Remote Communications
  5894.                       
  5895.                       Test if line feeds required ...
  5896.                       
  5897.                       Are these lines O V E R P R I N T I N G ?
  5898.                       
  5899.             
  5900.             The remote caller may see these lines as above, or the lines
  5901.             may be overprinting  on the  remote terminal.   If the lines
  5902.             are NOT overprinting,  then   N   should  be  entered  as  a
  5903.             response to the "... overprinting ?' question.  If the lines
  5904.             ARE overprinting, then   Y  should be entered.  PibTerm will
  5905.             then send line feeds as necessary to the remote user.
  5906.             
  5907.             
  5908.  
  5909.  
  5910.             A Guide to PibTerm v4.1 at Northwestern               Page 87
  5911.             A Guide to PibTerm v4.1 at Northwestern               Page 87
  5912.  
  5913.  
  5914.             Entering user name and password from remote system
  5915.             Entering user name and password from remote system
  5916.             
  5917.             Following this,  PibTerm prompts  for the  first name,  last
  5918.             name, and  password which  you entered  after first  hitting
  5919.             <ALT>W to enter host mode:
  5920.             
  5921.                       Enter first name: philip
  5922.                                         philip
  5923.                       Enter last name:  burns
  5924.                                         burns
  5925.                       Enter Password:   ......
  5926.             
  5927.             The entries  MUST be  made on  separate  lines;  you  CANNOT
  5928.             enter the first  and last  name on  one  line.    If  either
  5929.             the user name  or  password  is  incorrectly  entered,  then
  5930.             PibTerm issues the  prompt again,  a maximum of three times.
  5931.             If the information  is not  provided correctly  on the  last
  5932.             try, then PibTerm hangs up the phone. 
  5933.             
  5934.             The case  for the  first and  last names is  irrelevant; any
  5935.             combination of  upper and  lower case is  acceptable  (i.e.,
  5936.             Philip =  PHILIP  =  PhIlIp). However,  PASSWORDS  ARE  CASE
  5937.                                                     PASSWORDS  ARE  CASE
  5938.             SENSITIVE!! This  means that Mypass,  MYPASS, and MyPass are
  5939.             SENSITIVE!!                                                 
  5940.             ALL DIFFERENT PASSWORDS.
  5941.             
  5942.                  REPEATING:  Passwords ARE case-sensitive!
  5943.                  REPEATING:  Passwords ARE case-sensitive!
  5944.             
  5945.             PibTerm echoes  each character  in the  password with  a dot
  5946.             rather than  echoing the  actual characters of the password.
  5947.             This is a security feature.
  5948.             
  5949.             After successfully  entering the  password, you'll  see  the
  5950.             following messages:
  5951.             
  5952.                       Password OK
  5953.                       
  5954.                       
  5955.                       Scanning for personal messages ...
  5956.                       No messages in message file.
  5957.                       
  5958.                       Finished scanning messages, hit <CR> to continue:
  5959.                       
  5960.             
  5961.             If there  are any messages addressed to the caller, then the
  5962.             message headers  of those  message  are  displayed.  Usually
  5963.             there won't  be any  messages in single-user mode, since you
  5964.             generally don't send messages to yourself.
  5965.             
  5966.             
  5967.             Main host-mode menu
  5968.             Main host-mode menu
  5969.             
  5970.             Host mode  provides two  menu sections:   a  main  menu  for
  5971.             message entry, and a secondary menu for file transfers.  The
  5972.             main menu appears as follows:
  5973.             
  5974.  
  5975.  
  5976.             A Guide to PibTerm v4.1 at Northwestern               Page 88
  5977.             A Guide to PibTerm v4.1 at Northwestern               Page 88
  5978.  
  5979.  
  5980.                       ======================================================
  5981.                       =             PibTerm Host Mode Main Menu            =
  5982.                       ======================================================
  5983.                       
  5984.                            E=Enter message
  5985.                            R=Read message
  5986.                            S=Scan messages
  5987.                            P=Personal message scan
  5988.                            Q=Quit and logoff
  5989.                            F=File transfers
  5990.                            G=Gossip mode
  5991.                            X=Expert mode
  5992.                            C=Send comments
  5993.                            W=Read welcome message
  5994.                            J=Jump to DOS
  5995.                       
  5996.                       ======================================================
  5997.                       Enter command ?
  5998.             
  5999.             When you  see the "Enter command ?" you can enter one of the
  6000.             command letters.  No carriage return is needed.
  6001.             
  6002.                  E    enters a message in the message base.
  6003.                  E    enters                               
  6004.                  R    reads a message.
  6005.                  R    reads           
  6006.                  S    scans and lists message numbers and headers.
  6007.                  S    scans                                       
  6008.                  P    scans for private messages addressed to caller.
  6009.                  P              private                              
  6010.                  Q    quits the host session and logs off the caller.
  6011.                  Q    quits                                          
  6012.                  F    enters the file transfer section (see below).
  6013.                  F               file transfer                     
  6014.                  G    enters a "gossip" mode.
  6015.                  G             "gossip"      
  6016.                  X    turns on eXpert mode by suppressing long menus.
  6017.                  X             eXpert                                
  6018.                  C    sends private comment to the host system operator.
  6019.                  C                  comment                             
  6020.                  W    reads the initial welcome messages if any.
  6021.                  W                      welcome                 
  6022.                  J    jumps to DOS if superuser privileges are active.
  6023.                  J    jumps                                           
  6024.             
  6025.             
  6026.             Gossip Mode
  6027.             Gossip Mode
  6028.             
  6029.             "Gossip" mode  allows the  remote caller and the host system
  6030.             operator to  "chat" with  each other.   To  the host  system
  6031.             operator, this  appears as  a split-screen,  with the remote
  6032.             caller's text  going into  the upper half of the screen, and
  6033.             the host system operator's text going into the lower half of
  6034.             the screen.
  6035.             
  6036.             When a  remote caller  hits the  G to  initiate gossip mode,
  6037.                                              G                          
  6038.             then PibTerm  begins issuing  a stream  of beeps  for up  to
  6039.             thirty seconds  on the  host machine.   If  you want to chat
  6040.             with the  caller, you  can start typing and a gossip session
  6041.             will begin.  To end a gossip session, hit <CTRL>X.
  6042.             
  6043.             If you  want to disable gossip mode then you should set mute
  6044.             mode using  <ALT>M BEFORE  entering  host  mode.    See  the
  6045.             section "Mute mode" for more information.
  6046.             
  6047.  
  6048.  
  6049.             A Guide to PibTerm v4.1 at Northwestern               Page 89
  6050.             A Guide to PibTerm v4.1 at Northwestern               Page 89
  6051.  
  6052.  
  6053.             
  6054.             Host mode file transfer menu
  6055.             Host mode file transfer menu
  6056.             
  6057.             The file transfer menu appears when  F  is entered at the
  6058.                                                  F                   
  6059.             main host mode menu:
  6060.             
  6061.                       ======================================================
  6062.                       =        PibTerm Host Mode File Transfer Menu        =
  6063.                       ======================================================
  6064.                       
  6065.                            U=Upload file
  6066.                            D=Download file
  6067.                            L=List files for transfer
  6068.                            J=Jump to DOS
  6069.                            M=Return to main menu
  6070.                            Q=Quit and logoff
  6071.                            X=Expert mode
  6072.                       
  6073.                       ======================================================
  6074.                       Enter command ?
  6075.             
  6076.                  U    sends (uploads) a file to PibTerm.
  6077.                  U           uploads                    
  6078.                  D    receives (downloads) a file from PibTerm.
  6079.                  D              downloads                      
  6080.                  L    lists the files available for transfer.
  6081.                  L    lists                                  
  6082.                  J    jumps to DOS if superuser privileges are active.
  6083.                  J    jumps                                           
  6084.                  M    returns the caller to the main menu.
  6085.                  M                              main      
  6086.                  Q    quits the host session and logs off the caller.
  6087.                  Q    quits                                          
  6088.                  X    turns on eXpert mode and short prompts.
  6089.                  X             eXpert                        
  6090.             
  6091.             In host  mode, PibTerm  looks for input from either the host
  6092.             system keyboard  or the  remote system.  Thus, you can run a
  6093.             "remote" session  from the  host machine's  keyboard itself.
  6094.             This feature  also allows  you to enter commands to complete
  6095.             what a remote user has input. For example, if you see that a
  6096.             user has  trouble entering  the correct name of a file for a
  6097.             download, then you can type it in for him.
  6098.             
  6099.             If you  have ever  used bulletin  board systems like RBBS or
  6100.             IBBS, then  you should  have no trouble understanding how to
  6101.             use PibTerm host mode.
  6102.             
  6103.             
  6104.             What Programs Can Be Executed Remotely
  6105.             What Programs Can Be Executed Remotely
  6106.             
  6107.             Not all  programs can  be executed  remotely.  Only programs
  6108.             which do all of their screen I/O using standard MS DOS calls
  6109.             can be  run remotely  after you  jump to  DOS using J.  Such
  6110.                                                                 J.      
  6111.             programs include  most MS  DOS commands  and many utilities,
  6112.             but unfortunately,  very few  applications  programs.    For
  6113.             example, you  can not  run Lotus 123 or WordPerfect remotely
  6114.                      you  can not  run Lotus 123 or WordPerfect remotely
  6115.             using PibTerm.
  6116.             using PibTerm 
  6117.             
  6118.             PibTerm uses the MS DOS CTTY facilities to implement jump to
  6119.                                     CTTY                                
  6120.             DOS in  host mode.   The standard CTTY driver for the serial
  6121.  
  6122.  
  6123.             A Guide to PibTerm v4.1 at Northwestern               Page 90
  6124.             A Guide to PibTerm v4.1 at Northwestern               Page 90
  6125.  
  6126.  
  6127.             ports has  the disconcerting property of not letting you see
  6128.             what a  remote caller  is doing  when the  remote caller has
  6129.             jumped to DOS.  Nor can you enter any keyboard input.
  6130.             
  6131.             One way around this is to use an alternate CTTY driver.  Two
  6132.             popular alternatives  are the  IBMAUX drivers written by Gee
  6133.             Wong and  the GATEWAY  drivers written  by Hans  D. Kellner.
  6134.             (There are  other substitute drivers as well.)  Using either
  6135.             of these  drivers allows  you to see what a remote caller is
  6136.             doing after dropping to DOS, and you can also enter keyboard
  6137.             input which  is accepted  as if  the remote caller had typed
  6138.             it.     The  enhanced  security  and  flexibility  of  these
  6139.             alternate CTTY drivers makes them well worth acquiring.
  6140.             
  6141.             Both IBMAUX  and GATEWAY  are widely  available on  bulletin
  6142.             board systems.   You  install the drivers in your CONFIG.SYS
  6143.             file.   For details,  see the  documentation provided in the
  6144.             files containing the drivers.
  6145.             
  6146.             To get  PibTerm to use one of the alternate drivers you need
  6147.             to enter the name of the driver at
  6148.             
  6149.                  <ALT>P,
  6150.                       H)ost mode,
  6151.                            g) CTTY driver name prefix
  6152.             
  6153.             The default CTTY driver name COM invokes the standard MS DOS
  6154.                                          COM                            
  6155.             driver.   For Wong's IBMAUX, use the name AUX.  For Gateway,
  6156.                                                       AUX               
  6157.             use the name GATE.
  6158.                          GATE 
  6159.             
  6160.             The ACNS  release materials for PibTerm do NOT include these
  6161.             alternate  drivers,   since  they  are  not  ACNS  software.
  6162.             GATEWAY is  a shareware  product and you are expected to pay
  6163.             for it and register it if you use it.
  6164.             
  6165.             Incidentally, some  multitaskers and screen enhancers do not
  6166.             allow you to use CTTY.  In these cases, you will not be able
  6167.             to jump to DOS remotely in host mode.
  6168.             
  6169.             
  6170.             Setting Up Multiple-User Host Mode
  6171.             Setting Up Multiple-User Host Mode
  6172.             
  6173.             Setting up multiple-user host mode is quite straightforward.
  6174.             You  need   to  create   a  user  file  called  PIBTERM.USF.
  6175.                                                             PIBTERM.USF 
  6176.             PIBTERM.USF is a simple text file containing the first name,
  6177.             last name,  and password for each authorized user. This file
  6178.             can be  created using  any text  editor that  produces Ascii
  6179.             files, including the built-in PibTerm text editor.
  6180.             
  6181.             The format of PIBTERM.USF is:
  6182.             
  6183.                  firstname;lastname;password;class
  6184.             
  6185.  
  6186.  
  6187.             A Guide to PibTerm v4.1 at Northwestern               Page 91
  6188.             A Guide to PibTerm v4.1 at Northwestern               Page 91
  6189.  
  6190.  
  6191.             where semicolons  separate the  first name,  last name,  and
  6192.             password.   The class  field is  optional; if  specified,  a
  6193.                             class                                       
  6194.             capital S  indicates that  the user is a superuser.  If S is
  6195.                     S                                               S   
  6196.             not specified, then that user is not a superuser, and cannot
  6197.             jump to Dos remotely.
  6198.             
  6199.             You should  also define  the host  mode upload  and download
  6200.             paths at
  6201.             
  6202.                  <ALT>P,
  6203.                       P)aths,
  6204.                            h) Host mode upload directory
  6205.                            i) Host mode download directory
  6206.             
  6207.             The upload  path is the name of the subdirectory where files
  6208.                 upload  path                                            
  6209.             sent to  PibTerm in  host mode will be placed.  The download
  6210.                                                                 download
  6211.             path is  the name  of the  subdirectory which contains files
  6212.             path                                                        
  6213.             which PibTerm  will send to remote users. Only files in this
  6214.                                                       Only files in this
  6215.             download  path   are  accessible  to  callers  who  are  not
  6216.             download  path   are  accessible  to  callers  who  are  not
  6217.             superusers.
  6218.             superusers.
  6219.             
  6220.             The file  PIBTERM.XFR should  contain the names of the files
  6221.                       PIBTERM.XFR                                       
  6222.             in the  host mode download path which you are willing to let
  6223.             people receive.  If PIBTERM.XFR does not exist, PibTerm will
  6224.             create it for you.  Delete PIBTERM.XFR every time you add or
  6225.                                 Delete PIBTERM.XFR every time you add or
  6226.             delete files  from the  host mode download directory so that
  6227.             delete files  from the  host mode download directory so that
  6228.             PibTerm can  create an  up-to-date PIBTERM.XFR.  This is the
  6229.             PibTerm can  create an  up-to-date PIBTERM.XFR              
  6230.             file which PibTerm lists in response to the L command in the
  6231.                                                         L               
  6232.             file transfer menu.
  6233.             
  6234.             You can  create a text file which contains a welcome message
  6235.             of your own which will be displayed after the caller logs in
  6236.             successfully.  Place the text you want displayed in the file
  6237.             PIBTERM.WEL.
  6238.             PIBTERM.WEL 
  6239.             
  6240.             One caller  can send  a message to another by specifying the
  6241.             other caller's name when writing a message.
  6242.             
  6243.             
  6244.             Scripts:  Tailored Task Handling
  6245.             Scripts:  Tailored Task Handling
  6246.             
  6247.             PibTerm provides  an extended  script  file  facility  which
  6248.             allows you to create a file containing a set of instructions
  6249.             for PibTerm to execute. The script can dial a remote system,
  6250.             perform file  transfers, and  wait for  a specific  time  to
  6251.             initiate an event,  among many  other things.  Scripts allow
  6252.             you to  set up PibTerm to run in an unattended mode and take
  6253.             advantage of  off-hours rates  on host computer  systems, as
  6254.             well as  to automate  such chores  as logging  in to  remote
  6255.             systems.
  6256.             
  6257.             PibTerm's  script   language  is   a  programming   language
  6258.             specifically geared  towards communications  activities.  In
  6259.             this introductory  guide we  will only  discuss a few of the
  6260.  
  6261.  
  6262.             A Guide to PibTerm v4.1 at Northwestern               Page 92
  6263.             A Guide to PibTerm v4.1 at Northwestern               Page 92
  6264.  
  6265.  
  6266.             features of  scripts;  for  complete  details  on  the  full
  6267.             programming  language,  see  the  "PibTerm  Script  Language
  6268.             Reference Guide."
  6269.             
  6270.             As a  simple example,  let's  look  at  the  script  VAX.SCR
  6271.             supplied as  part of the PibTerm release materials.  VAX.SCR
  6272.             is designed  to be  attached to  the dialing entries for the
  6273.             ACNS Vax  785. VAX.SCR  provides automatic  login to the Vax
  6274.             after a  successful phone connection between your PC and the
  6275.             Vax has been negotiated.
  6276.             
  6277.             Here is the text of the script:
  6278.             
  6279.                       ****************************************************************
  6280.                       *                                                              *
  6281.                       *     VAX.SCR --- Login script for ACNS Vax 785                *
  6282.                       *                                                              *
  6283.                       *        Replace the userid and password with your username    *
  6284.                       *        and password where noted below.                       *
  6285.                       *                                                              *
  6286.                       ****************************************************************
  6287.                       *
  6288.                       *                                  Send CRs to wake up Vax.
  6289.                       *                                  Wait for "Username" prompt.
  6290.                       Repeat
  6291.                          SText "|"
  6292.                          WaitString "Username:" 2
  6293.                       Until ( WaitFound )
  6294.                       *                                  Send username -- replace with yours
  6295.                       SText "username|"
  6296.                       *                                  Wait for "Password" prompt
  6297.                       WaitString "Password:"
  6298.                       *                                  Send password -- replace with yours
  6299.                       SText "userpass|"
  6300.                       *                                  Set input keys
  6301.                       Key   "decvax.fnc"
  6302.             
  6303.             
  6304.             First of  all, note  that lines  beginning with  a  '*'  are
  6305.             comment lines.
  6306.             
  6307.             Second, note  that most  of the  script lines are either the
  6308.             SText command  or the WaitString command.  These are the two
  6309.             SText                 WaitString                            
  6310.             most heavily used commands in scripts.
  6311.             
  6312.             
  6313.             SText -- send text to remote system
  6314.             SText -- send text to remote system
  6315.             
  6316.             SText sends  text to the remote system.  The text to be sent
  6317.             SText                                                       
  6318.             is placed  in double  quotes.   If you want to send a double
  6319.             quote, then you need to repeat it twice to get it sent.  For
  6320.             example, to send
  6321.             
  6322.                  My text is "this"
  6323.  
  6324.  
  6325.             A Guide to PibTerm v4.1 at Northwestern               Page 93
  6326.             A Guide to PibTerm v4.1 at Northwestern               Page 93
  6327.  
  6328.  
  6329.             
  6330.             you would write
  6331.             
  6332.                  SText "My text is ""this"""
  6333.             
  6334.             Note that  a vertical bar "|" terminates the SText.  This is
  6335.             the character which represents a carriage return.
  6336.             
  6337.             
  6338.             WaitString -- wait for text from remote system
  6339.             WaitString -- wait for text from remote system
  6340.             
  6341.             WaitString causes  PibTerm to  pause in the execution of the
  6342.             WaitString                                                  
  6343.             script until  the specified  string arrives  from the remote
  6344.             system.   The text  to be  waited for  is placed  in  double
  6345.             quotes.   By default,  PibTerm will  wait 30 seconds for the
  6346.             text to  appear before  continuing script execution with the
  6347.             next statement after the WaitString.  You can alter the wait
  6348.             time by specifying a different time in seconds following the
  6349.             the string to be waited for.  For example,
  6350.             
  6351.                  WaitString "Username:" 2
  6352.             
  6353.             causes  PibTerm   to  wait   two  seconds   for  the  string
  6354.             "Username:" to appear.
  6355.             
  6356.             If the string specified on the WaitString arrives within the
  6357.             specified amount  of time,  an internal  PibTerm flag called
  6358.             the WaitFound  flag is  set true, otherwise it is set false.
  6359.                 WaitFound                                               
  6360.             This flag  allows us  to instruct  PibTerm to  do  different
  6361.             things  depending  upon  whether  or  not  the  wait  string
  6362.             appeared.   In the  case of  our  Vax  script,  we  use  the
  6363.             WaitFound to control a Repeat/Until loop.
  6364.             
  6365.             
  6366.             Repeat/Until loop
  6367.             Repeat/Until loop
  6368.             
  6369.             It takes  a variable  number of  carriage returns to wake up
  6370.             the Vax after dialing in.  We need to place the sending of a
  6371.             carriage return and the waiting for "Username:" in a loop so
  6372.             that we  can issue  as many carriage returns as necessary to
  6373.             wake up  the Vax.   This  is  the  purpose  of  the  initial
  6374.             Repeat/Until loop.
  6375.             Repeat/Until      
  6376.             
  6377.             Statements in  a Repeat/Until  loop are  executed until  the
  6378.             condition specified on the Until statement becomes true.  In
  6379.             this case,  we've specified  that the  loop should  continue
  6380.             until the  WaitFound flag  is set true.  As indicated above,
  6381.                        WaitFound                                        
  6382.             the  WaitFound   flag  will   only  be  set  true  when  the
  6383.             "Username:" text  arrives from the remote system.  Each time
  6384.             through the  Repeat/Until loop  we send  a carriage  return;
  6385.             wait two  seconds for "Username:" to appear; and if it does,
  6386.             we continue  with the  SText following  the Until.   If  the
  6387.             "Username:" text does NOT appear within two seconds, then we
  6388.  
  6389.  
  6390.             A Guide to PibTerm v4.1 at Northwestern               Page 94
  6391.             A Guide to PibTerm v4.1 at Northwestern               Page 94
  6392.  
  6393.  
  6394.             loop again,  sending another  carriage return,  waiting  for
  6395.             "Username:" for another two seconds, and so on.
  6396.             
  6397.             The Key command loads the function keys for the Vax.
  6398.                 Key                                             
  6399.             
  6400.             PibTerm's script language can get much more complicated than
  6401.             this,  but  for  many  purposes  all  you'll  need  are  the
  6402.             WaitString, SText, and Repeat/Until (WaitFound) constructs.
  6403.             
  6404.             
  6405.             Executing a script
  6406.             Executing a script
  6407.             
  6408.             To execute a script, hit <ALT>G to bring up the script menu.
  6409.             If you  remember the  name of  the script, just type it when
  6410.             prompted.   If you  don't remember  it, or  you're  using  a
  6411.             mouse, just  hit Enter  (or the right mouse button) to bring
  6412.             up the  display of available scripts.  You can use the arrow
  6413.             keys or mouse to move among the script names.  Hit the enter
  6414.             key (or  the right  mouse button)  to select the highlighted
  6415.             script name for execution.
  6416.             
  6417.             You may  find it convenient to place all your scripts in one
  6418.             subdirectory.   You  can  tell  PibTerm  the  name  of  that
  6419.             subdirectory at
  6420.             
  6421.                  <ALT>P,
  6422.                       P)aths,
  6423.                            f) Script directory.
  6424.             
  6425.             
  6426.             Terminating script execution -- <ALT>X
  6427.             Terminating script execution -- <ALT>X
  6428.             
  6429.             You may  want to  stop the  execution of  a script before it
  6430.             completes.   To do  this, hit  <ALT>X.   This  is  the  same
  6431.             command as  is used  to  exit  PibTerm  when  no  script  is
  6432.             executing.
  6433.             
  6434.             
  6435.             Security considerations with login scripts
  6436.             Security considerations with login scripts
  6437.             
  6438.             The sample scripts for logging into the various ACNS systems
  6439.             include script  commands for  sending your account password.
  6440.             If other  individuals have access to your PC, and you do not
  6441.             want them  to know  your passwords,  you  should  alter  the
  6442.             scripts to  remove the  passwords.  This means that you will
  6443.             need to manually intervene during the course of the login.
  6444.             
  6445.             For example,  in the  VAX.SCR script above, you could remove
  6446.             the final SText "password|" and enter the password manually.
  6447.                       SText "password|"                                 
  6448.             
  6449.             If you  are an  avid BBS  fan, you  may want to use the same
  6450.             basic login  script to access a number of different systems,
  6451.             each running  the same  remote bulletin  board software. For
  6452.             example, you can write a "generic" PC Board login script for
  6453.  
  6454.  
  6455.             A Guide to PibTerm v4.1 at Northwestern               Page 95
  6456.             A Guide to PibTerm v4.1 at Northwestern               Page 95
  6457.  
  6458.  
  6459.             accessing all  the  PC  Board  systems  you  normally  call.
  6460.             However, your password is probably different for each of the
  6461.             PC Board  systems.   You may  want to construct a file which
  6462.             provides the  passwords for  each of the remote systems, and
  6463.             then write  the generic PC Board login script to extract the
  6464.             correct password  for a particular system automatically from
  6465.             the password  file.   You can do this using scripts, and the
  6466.             "PibTerm Script Reference Manual" contains an example.
  6467.             
  6468.             Keeping a  password file  is not  a good  idea if your PC is
  6469.             accessible by  other individuals  who should  not know  your
  6470.             passwords.
  6471.             
  6472.             
  6473.             Script learn feature
  6474.             Script learn feature
  6475.             
  6476.             You don't  need to  know how  to program  to  create  simple
  6477.             scripts with  PibTerm because  of the  script learn feature.
  6478.                                                    script learn         
  6479.             PibTerm can write a script for you by watching a session and
  6480.             keeping track  of what  you type  and what the remote system
  6481.             sends.   The resulting learned script usually needs a little
  6482.             manual touching-up.
  6483.             
  6484.             As an example, let's consider the problem of logging in to
  6485.             the ACNS Vax.  What we hope to get is something similar to
  6486.             the script VAX.SCR which we just looked at.
  6487.             
  6488.             
  6489.             We start  by initiating  a "learn  script" session.   To  do
  6490.             this,  type  <ALT>G.    This  is  the  primary  command  for
  6491.             executing a  script.   If we were going to execute a script,
  6492.             we would  enter its  name at  this time  in response  to the
  6493.             prompt. The resulting display looks like this:
  6494.             
  6495.                      ╒[ Execute Script ]═════════════════════════════════════════════════╕
  6496.                      │Script name (hit ENTER for menu, ESC to quit)                      │
  6497.                      │>                                                                  │
  6498.                      │                                                                   │
  6499.                      │                                                                   │
  6500.                      │                                                                   │
  6501.                      │                                                                   │
  6502.                      │                                                                   │
  6503.                      │                                                                   │
  6504.                      │                                                                   │
  6505.                      ╘═══════════════════════════════════════════════════════════════════╛
  6506.             
  6507.             Since we  aren't executing a script, we hit the Enter key to
  6508.             bring up  the  main  script  menu,  which  might  appear  as
  6509.             follows:
  6510.             
  6511.  
  6512.  
  6513.             A Guide to PibTerm v4.1 at Northwestern               Page 96
  6514.             A Guide to PibTerm v4.1 at Northwestern               Page 96
  6515.  
  6516.  
  6517.             ╒[ Script Directory ]══════════════════════════════════════════════════════════╕
  6518.             │  EMULATE   IOTRY     KERMIT    KERMIT2   PIBTERM  &PIBTERM   RECKERM         │
  6519.             │  RECMLINK  RECRLINK  RECYTERM  RECZMOD   SENDKERM  SENDMLIN  SENDRLIN        │
  6520.             │  SENDYTER  SENDZMOD  SUB1      SUB2      SUB3      TRYMENU   TRYPARMS        │
  6521.             │  TRYPROCS  TRYSETS                                                           │
  6522.             │                                                                              │
  6523.             │                                                                              │
  6524.             │                                                                              │
  6525.             │                                                                              │
  6526.             │                                                                              │
  6527.             │                                                                              │
  6528.             │                                                                              │
  6529.             │                                                                              │
  6530.             │ * before script name means script resides in PIBTERM.SCL                     │
  6531.             │ & before script name means script already compiled to memory                 │
  6532.             │                                                                              │
  6533.             │ESC    Quit    /   Scroll     PgUp/PdDn  Page       Home/End  Top/bottom    │
  6534.             │S      Search  C     Compile    U          Unload     L         Learn         │
  6535.             │ENTER  execute A     Unload all O          Change search order (now DL)       │
  6536.             │                                                                              │
  6537.             ╘══════════════════════════════════════════════════════════════════════════════╛
  6538.             
  6539.             
  6540.             The names  of any  currently defined  menus are displayed at
  6541.             the top  of this  window.  The various script facilities are
  6542.             displayed at  the bottom  of the  screen.  We type "L" which
  6543.             begins a  script  learn  session.    After  typing  "L"  the
  6544.             following box appears:
  6545.             
  6546.             ╒[ Script Directory ]══════════════════════════════════════════════════════════╕
  6547.             │  EMULATE   IOTRY     KERMIT    KERMIT2   PIBTERM  &PIBTERM   RECKERM         │
  6548.             │  RECMLINK  RECRLINK  RECYTERM  RECZMOD   SENDKERM  SENDMLIN  SENDRLIN        │
  6549.             │  SENDYTER  SENDZMOD  SUB1      SUB2      SUB3      TRYMENU   TRYPARMS        │
  6550.             │  TRYPROCS  TRYSETS                                                           │
  6551.             │                                                                              │
  6552.             │        ╒[ Learn Script ]═══════════════════════════════════════════════════╕ │
  6553.             │        │Script name (hit ENTER for menu, ESC to quit)                      │ │
  6554.             │        │>vaxit                                                             │ │
  6555.                        vaxit                                                                
  6556.             │        │Enter maximum length for each WAITSTRING: 15                       │ │
  6557.                                                                 15                          
  6558.             │        │Enter maximum lines kept for WAITSTRING: 1                         │ │
  6559.                                                                1                            
  6560.             │        │                                                                   │ │
  6561.             │        │                                                                   │ │
  6562.             │ * befor│                                                                   │ │
  6563.             │ & befor│                                                                   │ │
  6564.             │        │                                                                   │ │
  6565.             │ESC    Q╘═══════════════════════════════════════════════════════════════════╛ │
  6566.             │S      Search  C     Compile    U          Unload     L         Learn         │
  6567.             │ENTER  execute A     Unload all O          Change search order (now DL)       │
  6568.             │                                                                              │
  6569.             ╘══════════════════════════════════════════════════════════════════════════════╛
  6570.             
  6571.             
  6572.             We'll call  our learned  script VAXIT.SCR.   We'll  assume a
  6573.             maximum wait  string length  of 15  characters (usually more
  6574.  
  6575.  
  6576.             A Guide to PibTerm v4.1 at Northwestern               Page 97
  6577.             A Guide to PibTerm v4.1 at Northwestern               Page 97
  6578.  
  6579.  
  6580.             than enough),  and we'll  only wait on the last line (again,
  6581.             usually that's enough).
  6582.             
  6583.             After entering  the above  information, PibTerm  returns  to
  6584.             terminal emulation  mode.  The status line shows the name of
  6585.             the script being learned preceded by a "-".
  6586.             
  6587.             We dial  the Vax system, and wait for the modems to connect.
  6588.             When the  connection is complete, we begin hitting the Enter
  6589.             key slowly.   Eventually the Vax responds with a "Username:"
  6590.             prompt.   We enter our username.  The Vax then prompts for a
  6591.             password.   We enter our password.  The Vax then proceeds to
  6592.             log us in.
  6593.             
  6594.             After the  login  is  complete,  hit  <ALT>G  again.    This
  6595.             terminates the script learn operation.
  6596.             
  6597.             The resulting  script in  VAXIT.SCR will look something like
  6598.             this:
  6599.             
  6600.                       SText "|"
  6601.                       SText "|"
  6602.                       SText "|"
  6603.                       SText "|"
  6604.                       WaitString "Username: "
  6605.                       SText "username|"
  6606.                       WaitString "Password: "
  6607.                       SText "userpass|"
  6608.                       WaitString "Center if you h"
  6609.                       SText "|"
  6610.             
  6611.             You can see from this that it took four tries to wake up the
  6612.             Vax after  the connection  was complete.   Whenever  you see
  6613.             something like this series of carriage returns, you normally
  6614.             replace it  with the  kind of  Repeat/Until  loop  described
  6615.             earlier.  The last few lines aren't important for the login,
  6616.             so we evict them.
  6617.             
  6618.             With those  minor changes,  you can  see  that  the  learned
  6619.             script is  very close  to the  VAX.SCR script  we looked  at
  6620.             earlier.
  6621.             
  6622.             
  6623.             Script Memory Problems
  6624.             Script Memory Problems
  6625.             
  6626.             When you  request script  execution,  PibTerm  converts  the
  6627.             script to  a series  of coded  instructions which  are  then
  6628.             stored in  RAM memory.   The  script can then be executed as
  6629.             many times  as you  like from  the "compiled" copy stored in
  6630.             memory -- scripts are not unloaded from memory automatically
  6631.             when they  finish executing.   If  there  isn't  enough  RAM
  6632.             memory to  store the  new script,  you'll receive  an  error
  6633.             message.
  6634.             
  6635.  
  6636.  
  6637.             A Guide to PibTerm v4.1 at Northwestern               Page 98
  6638.             A Guide to PibTerm v4.1 at Northwestern               Page 98
  6639.  
  6640.  
  6641.             If you  run out  of memory while trying to execute a script,
  6642.             you may  be able  to reclaim  some space  allocated to other
  6643.             unused scripts.   Bring  up the  <ALT>G box,  hit  Enter  or
  6644.                                                                Enter    
  6645.             Return to get the primary script menu display, and then look
  6646.             Return                                                      
  6647.             for script  names preceded by an &.  These are scripts which
  6648.                                              &.                         
  6649.             are currently  loaded into memory.  Move the cursor to those
  6650.             memory-resident scripts which you no longer need, and hit U
  6651.                                                                       U
  6652.             to unload them.
  6653.             
  6654.             You  can  also  unload  all  the  currently  memory-resident
  6655.             scripts by hitting A at the script menu.
  6656.                                A                    
  6657.             
  6658.             
  6659.             Another Sample Script -- Dialing By Name
  6660.             Another Sample Script -- Dialing By Name
  6661.             
  6662.             As mentioned  previously in  the section  "Dialing By Name",
  6663.             PibTerm does  not provide a direct means of dialing a system
  6664.             by name.   However,  we can write a script which prompts for
  6665.             the name  of the system and then dials that system.  We will
  6666.             name the script NAMEDIAL.SCR.
  6667.                             NAMEDIAL.SCR 
  6668.             
  6669.             The text  of the NAMEDIAL script follows.  NAMEDIAL displays
  6670.             a number  of advanced  PibTerm script  language features. If
  6671.             you  are   familiar  with   programming  in  an  algorithmic
  6672.             language, then  you will  probably be able to understand the
  6673.             script commands with no difficulty.
  6674.             
  6675.             **************************************************************************
  6676.             *                                                                        *
  6677.             *    This script demonstrates how to write a "dial by name" command.     *
  6678.             *    You can attach this script to a definable key using <ALT>K          *
  6679.             *    by entering this as the definition of that key:                     *
  6680.             *                                                                        *
  6681.             *         @G@/NAMEDIAL^M/                                                *
  6682.             *                                                                        *
  6683.             *    This allows you to dial systems by name rather than entry number    *
  6684.             *    simply hitting the defined key.                                     *
  6685.             *                                                                        *
  6686.             **************************************************************************
  6687.             *
  6688.             *                                  Holds name of system to dial
  6689.              Declare Name String
  6690.             *                                  Holds one directory entry
  6691.              Declare DirEnt String
  6692.             *                                  Number of dialing directory entries
  6693.              Declare NEntries Integer
  6694.             *                                  Number of dialing directory entries (string)
  6695.              Declare SEntries String
  6696.             *                                  Current entry number
  6697.              Declare IEntry   Integer
  6698.             *                                  Flag telling if we find emtry
  6699.              Declare Found    Integer
  6700.             *                                  Issue prompt for name of system to dial
  6701.             *                                  and read name.
  6702.  
  6703.  
  6704.             A Guide to PibTerm v4.1 at Northwestern               Page 99
  6705.             A Guide to PibTerm v4.1 at Northwestern               Page 99
  6706.  
  6707.  
  6708.             *
  6709.              Writeln " "
  6710.              Input   "System to dial? " Name
  6711.              Writeln " "
  6712.             *
  6713.             *                                  If name is null, exit this script.
  6714.             *
  6715.              If ( LENGTH( Name ) = 0 ) Then
  6716.                 Exit
  6717.              Endif
  6718.             *                                  Convert name to upper case
  6719.              Set Name = UpperCase( Name )
  6720.             *                                  Get number of dialing directory entries
  6721.              GetParam 'DS'  SEntries
  6722.             *                                  Convert from string to integer for looping
  6723.              Set NEntries = Number( SEntries )
  6724.             *                                  Make sure we have some entries, else quit.
  6725.             *
  6726.              If ( NEntries < 1 ) Then
  6727.                 Exit
  6728.              Endif
  6729.             *                                  Found = 0 means no entry found yet.
  6730.              Set Found = 0
  6731.             *                                  IEntry starts out pointing to first
  6732.             *                                  entry in dialing directory.
  6733.              Set IEntry = 1
  6734.             *                                  Scan dialing entries and look for match.
  6735.             *
  6736.              Repeat
  6737.             *                                  --- Get next dialing entry using
  6738.             *                                      "DialEntry" function.
  6739.             *
  6740.             *                                      Strip off stuff after name/number using
  6741.             *                                      the "Substr" function and convert the
  6742.             *                                      name/number to uppercase using the
  6743.             *                                      "UpperCase" function.
  6744.             *
  6745.                 Set DirEnt = UpperCase( Substr( DialEntry( IEntry ), 1, 40 ) )
  6746.             *
  6747.             *                                  --- Search for the desired name using the
  6748.             *                                      "Index" function.  If the search string
  6749.             *                                      is found in the current entry, then
  6750.             *                                      set Found to 1 so that the search loop
  6751.             *                                      will terminate.  If the name isn't found
  6752.             *                                      in the current entry, then increment
  6753.             *                                      "IEntry" to point to the next dialing
  6754.             *                                      directory entry.
  6755.             *
  6756.                 If ( Index( Name , DirEnt ) > 0 ) Then
  6757.                    Set Found = 1
  6758.                 Else
  6759.                    Set IEntry = IEntry + 1
  6760.                 Endif
  6761.             *
  6762.  
  6763.  
  6764.             A Guide to PibTerm v4.1 at Northwestern               Page 100
  6765.             A Guide to PibTerm v4.1 at Northwestern               Page 100
  6766.  
  6767.  
  6768.              Until ( ( Found = 1 ) OR ( IEntry > NEntries ) )
  6769.             *
  6770.             *                                  If entry not found, issue message and
  6771.             *                                  exit script.
  6772.             *
  6773.              If ( Found = 0 ) THEN
  6774.                 Writeln "Name not found."
  6775.                 Writeln " "
  6776.                 Exit
  6777.              Endif
  6778.             *                                  If entry found, dial it.   Note that
  6779.             *                                  dialing command wants the entry number
  6780.             *                                  as a string, so we must convert it to
  6781.             *                                  a string for use with the dialing command.
  6782.             *
  6783.             *                                  Note that you can do fancier processing
  6784.             *                                  at this point, like adding prefix/postfix
  6785.             *                                  codes, or checking for long distance
  6786.             *                                  area codes, and so on.  Just modify the
  6787.             *                                  value of  Name  to match your requirements.
  6788.              Set    Name = STRING( IEntry )
  6789.             *
  6790.              Dial   Name
  6791.             *
  6792.             
  6793.             This script  issues a  prompt requesting  the  name  of  the
  6794.             system to  be dialed (Input).  Then a search is made through
  6795.                                   Input                                 
  6796.             the dialing  directory for  a match  in the  name  or  phone
  6797.             number fields  (Repeat/Until).   Note that the search is not
  6798.                             Repeat/Until                                
  6799.             sensitive to case (UpperCase).
  6800.                                UpperCase  
  6801.             
  6802.             If a  successful match  is  encountered,  then  the  matched
  6803.             system is dialed (Dial).  Any script attached to that number
  6804.                               Dial                                      
  6805.             is executed.   If no system matches the specified name, then
  6806.             the message  "Name not found" is displayed and no dialing is
  6807.             performed.
  6808.             
  6809.             For example, suppose we strike the End key.  We will see the
  6810.                                                End                      
  6811.             prompt:
  6812.             
  6813.                  System to dial?
  6814.             
  6815.             If we enter Luis in response to this prompt:
  6816.                         Luis                            
  6817.             
  6818.                  System to dial? Luis
  6819.                                  Luis
  6820.             
  6821.             then the dialing directory entry for the Luis system will be
  6822.             found,  and   the  Luis   system  itself  dialed  using  the
  6823.             information in that dialing directory entry.
  6824.             
  6825.             
  6826.  
  6827.  
  6828.             A Guide to PibTerm v4.1 at Northwestern               Page 101
  6829.             A Guide to PibTerm v4.1 at Northwestern               Page 101
  6830.  
  6831.  
  6832.             Access To The Operating System -- <ALT>J
  6833.             Access To The Operating System -- <ALT>J
  6834.             
  6835.             <ALT>J causes  PibTerm to  invoke DOS,  the  PC's  operating
  6836.             system. If the  invocation succeeds,  then you may enter DOS
  6837.             or other  commands to your heart's content. Entering EXIT as
  6838.             a DOS  command returns  you to  PibTerm. Note  that  PibTerm
  6839.             stays loaded  during this  process, so  you have  much  less
  6840.             memory to  run programs  in than  you would  without PibTerm
  6841.             running.  This means that you may not be able to run another
  6842.             large program  like Lotus  123 or  WordPerfect  from  within
  6843.             PibTerm. However,  you may  be able  to circumvent  this  by
  6844.             using a  multitasker or by causing PibTerm to execute out of
  6845.             expanded (LIM/EMS/EEMS)  memory.   See the sections "PibTerm
  6846.             and multitasking  software" and "Speeding up PibTerm access"
  6847.             for more information.
  6848.             
  6849.             Before jumping to DOS, PibTerm changes the cursor shape from
  6850.             an underline to  a square  box.   This reminds  you that you
  6851.             jumped to  DOS from PibTerm.   Upon return to PibTerm (after
  6852.             you type  EXIT) the cursor  is set  back  to  an  underline.
  6853.             PibTerm also restores the screen image to what it was before
  6854.             DOS was invoked.
  6855.             
  6856.             You should  not jump  to DOS  in  the  middle  of  receiving
  6857.             characters from a  remote system,  as some characters may be
  6858.             lost. 
  6859.             
  6860.             A couple  of things  can cause  trouble with <ALT>J. Running
  6861.             another program  which commandeers  the same  communications
  6862.             port  that   PibTerm  is   using  may   cause  trouble,   as
  6863.             may executing a  program which  in turn calls up yet another
  6864.             copy of the  DOS command  processor.  You may need to reboot
  6865.             if your system locks up in either of these cases.  The worst
  6866.             offenders are  Basic programs, which nearly always reset the
  6867.             serial ports  even if  they don't  actually use  them.  This
  6868.             means that  you will  not be  able to  send  and/or  receive
  6869.             characters over the serial port after a DOS jump.
  6870.             
  6871.             You can  often solve  the problem of a program resetting the
  6872.             serial port by requesting that PibTerm close down the serial
  6873.             port before  the DOS  jump and  then reopen  it again  after
  6874.             returning from  the DOS  jump.   Normally PibTerm leaves the
  6875.             serial port  open so  that any  incoming characters received
  6876.             during the  DOS jump   --  up to the size of the serial port
  6877.             input buffer  -- will  not be lost.  To request that Pibterm
  6878.             close the  port before  the DOS  jump  and  then  reopen  it
  6879.             afterwards, set the parameter at
  6880.             
  6881.                  <ALT>P,
  6882.                       C)ommunications,
  6883.                            m) Close serial port on jump to DOS
  6884.             
  6885.             to YES.
  6886.             
  6887.  
  6888.  
  6889.             A Guide to PibTerm v4.1 at Northwestern               Page 102
  6890.             A Guide to PibTerm v4.1 at Northwestern               Page 102
  6891.  
  6892.  
  6893.             
  6894.             Manipulating DOS Files From PibTerm -- <ALT>F
  6895.             Manipulating DOS Files From PibTerm -- <ALT>F
  6896.             
  6897.             Pressing  <ALT>F   causes  PibTerm  to  display  a  menu  of
  6898.             file manipulation facilities.  The menu displayed is:
  6899.             
  6900.             
  6901.                  ╒[ Choose file function:  ]═╕
  6902.                  │ A)ctive directory change  │
  6903.                  │ C)opy file                │
  6904.                  │ D)irectory display        │
  6905.                  │ E)dit file                │
  6906.                  │ F)ree space on drive      │
  6907.                  │ L)ogged drive change      │
  6908.                  │ P)rint a file             │
  6909.                  │ V)iew a file              │
  6910.                  │ Z)ap (delete) file        │
  6911.                  │ Q)uit                     │
  6912.                  ╘═══════════════════════════╛
  6913.             
  6914.             You  can  use  these  file  manipulation  facilities  as  an
  6915.             alternative to jumping  to  DOS  using  <ALT>J.    The  menu
  6916.             entries are fairly self-explanatory for each item.
  6917.             
  6918.                  A)ctive directory  change  alters  the  current  logged
  6919.                  A)ctive directory  change                              
  6920.                  directory and/or drive.
  6921.             
  6922.                  C)opy file copies a file byte-by-byte.
  6923.                  C)opy file                            
  6924.             
  6925.                  D)irectory display  lists file  names, sizes,  creation
  6926.                  D)irectory display                                     
  6927.                  times  and   dates,  attributes,  and  transfer  times.
  6928.                  Wildcards  are   allowed  as   part  of  the  directory
  6929.                  specification.
  6930.             
  6931.                  E)dit file  either invokes  the built-in  PibTerm full-
  6932.                  E)dit file                                             
  6933.                  screen editor,  or an  external editor  of your choice.
  6934.                  See the section "Editing a file" for more details.
  6935.             
  6936.                  F)ree space  on drive  displays the  number of bytes of
  6937.                  F)ree space  on drive                                  
  6938.                  free (unused) space on a selected disk drive.
  6939.             
  6940.                  L)ogged drive change alters the current logged drive.
  6941.                  L)ogged drive change                                 
  6942.             
  6943.                  P)rint  a  file  starts  printing  a  file.    Printing
  6944.                  P)rint  a  file                                        
  6945.                  proceeds in tandem with other PibTerm operations.
  6946.             
  6947.                  V)iew a  file invokes the built-in PibTerm file viewer,
  6948.                  V)iew a  file                                          
  6949.                  or the  external file  viewer of  your choice.  See the
  6950.                  section"Viewing a file" for more details.
  6951.             
  6952.                  Z)ap a file deletes a file from a disk.
  6953.                  Z)ap a file                            
  6954.             
  6955.             
  6956.  
  6957.  
  6958.             A Guide to PibTerm v4.1 at Northwestern               Page 103
  6959.             A Guide to PibTerm v4.1 at Northwestern               Page 103
  6960.  
  6961.  
  6962.             Editing a file
  6963.             Editing a file
  6964.             
  6965.             E)dit file  prompts you for the name of a file to be edited.
  6966.             This may  be the  name of  an existing file or the name of a
  6967.             new file.   The  menu prompting you for the name of the file
  6968.             looks like this:
  6969.             
  6970.             
  6971.              ╒[Edit File]════════════════════════════════════════════════════════╕
  6972.              │Enter name of file to edit:                                        │
  6973.              │>PIBTERM.CNF                                                       │
  6974.                PIBTERM.CNF                                                        
  6975.              │                                                                   │
  6976.              ╘═══════════════════════════════════════════════════════════════════╛
  6977.             
  6978.             We've entered  the name of the primary PibTerm configuration
  6979.             file as the file to be edited.  The resulting  display might
  6980.             look something like this:
  6981.             
  6982.             Line    1  Col   1  Ins Indent   c:\modem\pibterm.cnf
  6983.             FC=|
  6984.             FD=~
  6985.             FW=`
  6986.             FM=^
  6987.             FS=@
  6988.             AB=1
  6989.             AC=0
  6990.             AD=0
  6991.             AE=^M
  6992.             AF=0
  6993.             AK=1
  6994.             AL=0
  6995.             AM=1
  6996.             AP=0
  6997.             AS=255
  6998.             AT=0
  6999.             AU=COM
  7000.             AW=1
  7001.             AX=0
  7002.             AZ=1
  7003.             BA=9600
  7004.             BB=8192
  7005.             BC=╒═╕│╛═╘│
  7006.             1Help 2Undo 3Find 4Replace 5SaveQuit 6InsLine 7DelLine 8Startblk 9Endblk 0Quit
  7007.             
  7008.             The top  line gives  the name  of the file being edited, the
  7009.             current line  and column  positions within the file, whether
  7010.             insert or  overwrite mode  is in  effect (Ins),  and whether
  7011.             automatic indentation is in effect (Indent).
  7012.             
  7013.             The bottom  line indicates  what pressing  the function keys
  7014.             will do.   For  example,  pressing  F1  will  display  help.
  7015.                                                 F1                      
  7016.             Pressing F2  will undo  changes to  the current  line  being
  7017.                      F2                                                 
  7018.             edited, and so on.
  7019.             
  7020.  
  7021.  
  7022.             A Guide to PibTerm v4.1 at Northwestern               Page 104
  7023.             A Guide to PibTerm v4.1 at Northwestern               Page 104
  7024.  
  7025.  
  7026.             Editing keys  work for the most part like the string editing
  7027.             elsewhere in  PibTerm, except  that the  PgUp and  PgDn keys
  7028.                                                      PgUp      PgDn     
  7029.             page  one   screenful  up   and  down   through  the   file,
  7030.             respectively.  There are other differences as well.  See the
  7031.             command list below for details.
  7032.             
  7033.             Two editing  commands you  should know right away:  pressing
  7034.             F5 leaves  the editor  after saving  the current text, while
  7035.             F5                                                          
  7036.             pressing F10 leaves the editor but does NOT save the current
  7037.                      F10                                                
  7038.             text.
  7039.             
  7040.             
  7041.             Maximum size file which can be edited
  7042.             Maximum size file which can be edited
  7043.             
  7044.             Only files with all lines less than 255 characters in length
  7045.             can be  edited.  The largest file size that can be edited is
  7046.             the minimum  of the available heap space (hit <ALT>Y to find
  7047.             out the available heap space) and 65520 characters.
  7048.             
  7049.             This editor is based upon one written by Sammy Mitchell, the
  7050.             author of  the excellent QEdit shareware editor.  If you are
  7051.             looking for  a good  general-purpose text  editor  that  can
  7052.             handle multiple  files simultaneously,  as  well  as  larger
  7053.             files than  the PibTerm  editor can  handle, then QEdit is a
  7054.             good  choice.    You  can  register  QEdit  or  obtain  more
  7055.             information about it by writing to:
  7056.             
  7057.                  SemWare
  7058.                  c/o Sammy Mitchell
  7059.                  730 Elk Cove Court
  7060.                  Kennesaw, GA  30144
  7061.             
  7062.             Registration for  QEdit is  $30; for  $45  you  also  get  a
  7063.             printed manual.
  7064.             
  7065.             
  7066.             Editing Commands
  7067.             Editing Commands
  7068.             
  7069.             A list  of the editing commands and key strokes follows.  If
  7070.             you have  previously used any WordStar-like editor, then the
  7071.             commands implemented  in the  PibTerm file  editor  will  be
  7072.             quite familiar.
  7073.             
  7074.             Cursor Movement
  7075.             Cursor Movement
  7076.             
  7077.             The cursor  movement commands  allow you  to move  about the
  7078.             screen, and also to move about in the file.
  7079.             
  7080.                  Character left           ^S        Left arrow
  7081.                  Character right          ^D        Right arrow
  7082.                  Word left                ^A        Ctrl left arrow
  7083.                  Word right               ^F        Ctrl right arrow
  7084.                  Line up                  ^E        Up arrow
  7085.                  Line down                ^X        Down arrow
  7086.  
  7087.  
  7088.             A Guide to PibTerm v4.1 at Northwestern               Page 105
  7089.             A Guide to PibTerm v4.1 at Northwestern               Page 105
  7090.  
  7091.  
  7092.                  Scroll up                ^W
  7093.                  Scroll down              ^Z
  7094.                  Page up                  ^R        PgUp
  7095.                  Page down                ^C        PgDn
  7096.                  Left end of line         ^Q^S      Home
  7097.                  Right end of line        ^Q^D      End
  7098.                  Top of file              ^Q^R      Ctrl PgUp
  7099.                  Bottom of file           ^Q^C      Ctrl PgDn
  7100.                  End of screen            ^Q^X      Ctrl Home
  7101.                  Top of screen            ^Q^E      Ctrl End
  7102.                  Start of marked block    ^Q^B
  7103.                  End of marked block      ^Q^K
  7104.                  Previous position        ^Q^P
  7105.             
  7106.             Insert and Delete
  7107.             Insert and Delete
  7108.             
  7109.             The insert and delete commands allow you to insert or delete
  7110.             characters or lines of text.
  7111.             
  7112.                  Insert mode on/off       ^V        Ins
  7113.                  Insert line              ^N        F6
  7114.                  Delete line              ^Y        F7
  7115.                  Delete to end of line    ^Q^Y
  7116.                  Delete right word        ^T
  7117.                  Delete char at cursor    ^G
  7118.                  Delete left char         ^H        <BS>
  7119.             
  7120.             Block Commands
  7121.             Block Commands
  7122.             
  7123.             The block  commands allow you to manipulate a range of lines
  7124.             as a  unit.   You can  read, write,  copy, move,  delete, or
  7125.             insert blocks of text.
  7126.             
  7127.                  Mark block start         ^K^B      F8
  7128.                  Mark block end           ^K^K      F9
  7129.                  Mark single word         ^K^T
  7130.                  Hide/show block          ^K^H
  7131.                  Copy block               ^K^C
  7132.                  Move block               ^K^V
  7133.                  Delete block             ^K^Y
  7134.                  Read block from file     ^K^R
  7135.                  Write block to file      ^K^W
  7136.             
  7137.             Search and Replace
  7138.             Search and Replace
  7139.             
  7140.             These  commands  allow  you  to  search  for  a  string  and
  7141.             optionally replace that string with another.
  7142.             
  7143.                  Find                     ^Q^F      F3
  7144.                  Find and replace         ^Q^A      F4
  7145.                  Repeat last find         ^L
  7146.             
  7147.  
  7148.  
  7149.             A Guide to PibTerm v4.1 at Northwestern               Page 106
  7150.             A Guide to PibTerm v4.1 at Northwestern               Page 106
  7151.  
  7152.  
  7153.             Quitting the Editor
  7154.             Quitting the Editor
  7155.             
  7156.             These commands allow you to leave the editor.
  7157.             
  7158.                  End edit (save file)     ^K^D      F5
  7159.                  Quit edit (no save)      ^K^X      F10
  7160.             
  7161.             Miscellaneous
  7162.             Miscellaneous
  7163.             
  7164.             Here are some miscellaneous editing commands.
  7165.             
  7166.                  Tab                      ^I        Tab
  7167.                  Auto tab on/off          ^Q^I
  7168.                  Restore line (undo)      ^Q^L      F2
  7169.                  Control char prefix      ^P
  7170.                  Help                               F1
  7171.             
  7172.             
  7173.             Invoking an External Editor
  7174.             Invoking an External Editor
  7175.             
  7176.             Rather than  use the  built-in PibTerm editor you may prefer
  7177.             to use  another one  with which  you are more familiar.  You
  7178.             can do  by using  leaving Pibterm using <ALT>X and returning
  7179.             to DOS  to execute  the editor.   This  can be inconvenient,
  7180.             since you  then need to start up PibTerm again.  You can use
  7181.             the <ALT>J  command to  jump to  DOS so that you can execute
  7182.             the editor  from within  PibTerm.   This is more convenient,
  7183.             but you  still have  to drop  to DOS  and call up the editor
  7184.             yourself.
  7185.             
  7186.             As an alternative, PibTerm can invoke the external editor of
  7187.             your choice  for you  automatically when  you  request  file
  7188.             editing at
  7189.             
  7190.                  <ALT>F,
  7191.                       E)dit file
  7192.             
  7193.             You must  provide PibTerm  the name  of  the  editor  to  be
  7194.             executed at:
  7195.             
  7196.                  <ALT>P,
  7197.                       P)aths,
  7198.                            a) Editor file name
  7199.             
  7200.             Place the  complete control statement required to invoke the
  7201.             editor.   Some editors  require that the name of the file to
  7202.             be edited  appear on  the editor control statement.  You can
  7203.             tell PibTerm to place the file name in the control statement
  7204.             by using '%F' to indicate where the file name goes.
  7205.                       %F                                       
  7206.             
  7207.             For example,  if you  want to invoke QEdit with a file name,
  7208.             then define the editor name parameter as:
  7209.             
  7210.                  QEDIT %F
  7211.  
  7212.  
  7213.             A Guide to PibTerm v4.1 at Northwestern               Page 107
  7214.             A Guide to PibTerm v4.1 at Northwestern               Page 107
  7215.  
  7216.  
  7217.             
  7218.             If you  need more  flexibility than this, you can define the
  7219.             editor name  to point  to a batch file (.BAT) which can then
  7220.             execute any additional control statements as required.
  7221.             
  7222.             
  7223.             Viewing a file
  7224.             Viewing a file
  7225.             
  7226.             V)iew a  file lets  you list  the contents of an Ascii file.
  7227.             You can request  that a non-Ascii file be displayed, but the
  7228.             resulting display is generally useless.
  7229.             
  7230.             PibTerm presents  you with a menu requesting the name of the
  7231.             file to be  viewed.  In this case, we request the viewing of
  7232.             the PIBTERM.CNF file:
  7233.             
  7234.             
  7235.              ╒[ View A File ]══════════════════════════════════════════════════════╕
  7236.              │                                                                     │
  7237.              │Enter name of file to list:                                          │
  7238.              │>PIBTERM.CNF                                                         │
  7239.                PIBTERM.CNF                                                          
  7240.              │                                                                     │
  7241.              ╘═════════════════════════════════════════════════════════════════════╛
  7242.             
  7243.             This is what the initial view of the file looks like:
  7244.             
  7245.             
  7246.             File: PIBTERM.CNF     Size: 1388       Date: 88/01/09   Time: 02:56:46
  7247.             FC=|
  7248.             FD=~
  7249.             FW=`
  7250.             FM=^
  7251.             FS=@
  7252.             AB=1
  7253.             AC=0
  7254.             AD=1
  7255.             AE=^M
  7256.             AF=1
  7257.             AK=1
  7258.             AL=0
  7259.             AM=1
  7260.             AP=
  7261.             AS=255
  7262.             AT=0
  7263.             AU=COM
  7264.             AW=1
  7265.             AX=0
  7266.             AZ=0
  7267.             BA=2400
  7268.             BB=8192
  7269.             BC=╒═╕│╛═╘│
  7270.              Line    23   Column    1              ////PgUp/PgDn/Home/End/S/N/<ESC>
  7271.             
  7272.             
  7273.  
  7274.  
  7275.             A Guide to PibTerm v4.1 at Northwestern               Page 108
  7276.             A Guide to PibTerm v4.1 at Northwestern               Page 108
  7277.  
  7278.  
  7279.             
  7280.             The top  line of  the display  provides the name of the file
  7281.             being viewed,  the size  of the  file in bytes, and the date
  7282.             and time of the file's creation.
  7283.             
  7284.             The last  line provides  the current line number of the last
  7285.             line on the screen and the first column displayed.
  7286.             
  7287.             You can  use the  up and down arrow keys to move up and down
  7288.             one line  in the  file.  The left and right arrow keys allow
  7289.             you to  scroll the  screen horizontally  one character  at a
  7290.             time to  view files which are more than 80 columns wide. You
  7291.             can use  the PgUp  and PgDn  keys to  toggle up  and down  a
  7292.                          PgUp      PgDn                                 
  7293.             screenful of  lines at a time through the file.  Hitting the
  7294.             Home key takes  you to  the top of the file, and hitting the
  7295.             Home                                                        
  7296.             End key takes you to the end of the file.
  7297.             End                                      
  7298.             
  7299.             Hitting S  allows  you  to  search  (in  a  case-insensitive
  7300.                     S                                                   
  7301.             manner) for  a string  in the file.  Hitting N allows you to
  7302.                                                          N              
  7303.             jump to a specific line number in the file.
  7304.             
  7305.             Press the ESC key to stop listing the file. 
  7306.                       ESC                               
  7307.             
  7308.             
  7309.             Invoking an External File Viewer
  7310.             Invoking an External File Viewer
  7311.             
  7312.             As with  the editor,  you can  request that an external file
  7313.             viewer be  invoked when  <ALT>F, V)iew  a file  is selected.
  7314.             Define the  name of  the program (which can be a batch file)
  7315.             at:
  7316.             
  7317.                  <ALT>P,
  7318.                       P)aths,
  7319.                            b) File browser name
  7320.             
  7321.             You can  use '%F' to indicate where in the control statement
  7322.                           %F                                            
  7323.             PibTerm should insert the name of the file when invoking the
  7324.             external file viewer.
  7325.             
  7326.             An excellent  choice for  an external  file viewer  is  Vern
  7327.             Buerg's shareware  LIST.COM program.  LIST is available from
  7328.                                LIST.COM                                 
  7329.             nearly any bulletin board system.  To define LIST.COM as the
  7330.             external viewer, enter
  7331.             
  7332.                  LIST %F
  7333.             
  7334.             as the viewer path parameter value above.
  7335.             
  7336.             Vern Buerg requests a donation of $15 if you use LIST.  You
  7337.             can send your donation to:
  7338.             
  7339.                  Vern Buerg
  7340.                  456 Lakeshire
  7341.                  Daly City, CA  94015
  7342.  
  7343.  
  7344.             A Guide to PibTerm v4.1 at Northwestern               Page 109
  7345.             A Guide to PibTerm v4.1 at Northwestern               Page 109
  7346.  
  7347.  
  7348.             
  7349.             
  7350.             Defining Function Keys -- <ALT>K
  7351.             Defining Function Keys -- <ALT>K
  7352.             
  7353.             <ALT>K allows  you to  define strings to be sent to the host
  7354.             system whenever any  one of  the function  keys (F1  through
  7355.             F12, Shift F1 through Shift F12, Alt F1 through Alt F12, and
  7356.             Ctrl F1 through  Ctrl F12),  or anyone  of the  keypad  keys
  7357.             (Home, Ins,  Del, PgUp, PgDn,  End, arrow keys, and Ctrl and
  7358.             Alt version  of those  keys) is depressed.  Strings up of to
  7359.             65 characters  can be  assigned to the  keys.  This facility
  7360.             provides  great   flexibility  in creating   logon  scripts,
  7361.             special command  sequences for  host  systems, and  terminal
  7362.             keypad values.
  7363.             
  7364.             NOTE:     If you  wish a  specific set of key definitions to
  7365.             NOTE:     If you  wish a  specific set of key definitions to
  7366.                       be  automatically   loaded  whenever   you  invoke
  7367.                       be  automatically   loaded  whenever   you  invoke
  7368.                       PibTerm then place  the definitions  in  the  file
  7369.                       PibTerm then place  the definitions  in  the  file
  7370.                       PIBTERM.FNC.
  7371.                       PIBTERM.FNC.
  7372.             
  7373.             When  you   hit  <ALT>K,  you  will  see  a  menu  with  the
  7374.             following entries:
  7375.             
  7376.                       ╒[ Function key definition:  ]══════╕
  7377.                       │ D)isplay current definitions      │
  7378.                       │ E)nter definitions from keyboard  │
  7379.                       │ R)ead definitions from file       │
  7380.                       │ W)rite definitions to file        │
  7381.                       │ Q)uit key definition              │
  7382.                       ╘═══════════════════════════════════╛
  7383.             
  7384.             
  7385.             Displaying current key definitions
  7386.             Displaying current key definitions
  7387.             
  7388.             D)isplay current definitions allows you to see the current
  7389.             key definitions.
  7390.             
  7391.             Not all  defined keys  may be usable on a given PC keyboard.
  7392.             For example, you cannot type F11 and F12 on a keyboard which
  7393.             does not  have those  keys, but  you can still assign string
  7394.             definitions to  those keys  anyway.    You  CAN  send  those
  7395.             definitions in  scripts (see  the "PibTerm  Script  Language
  7396.             Reference Manual" for details).
  7397.             
  7398.             
  7399.             Reading key definitions from a file
  7400.             Reading key definitions from a file
  7401.             
  7402.             R)ead definitions  from file  causes PibTerm  to ask you for
  7403.             the name of a file containing key definitions. You need only
  7404.             enter the  first part  of the  file name; the suffix .FNC is
  7405.             assumed.   For example,  if you enter  "MYKEYS" as  the file
  7406.             name, that  is the  same as  entering "MYKEYS.FNC." However,
  7407.             entering "MYKEYS." causes  PibTerm  to  look  for  the  file
  7408.             "MYKEYS" WITHOUT  the .FNC suffix.  Of course, you can enter
  7409.  
  7410.  
  7411.             A Guide to PibTerm v4.1 at Northwestern               Page 110
  7412.             A Guide to PibTerm v4.1 at Northwestern               Page 110
  7413.  
  7414.  
  7415.             the full  file name if you wish:  MYKEYS.FNC, or even a name
  7416.             like MYKEYS.DAT.
  7417.             
  7418.             When PibTerm  is initially invoked, the file PIBTERM.FNC, if
  7419.             it exists, is  read in order to set the default function key
  7420.             values.   You may enter  key definitions  at the keyboard as
  7421.             described in  the next  section and then write the resulting
  7422.             definitions to  PIBTERM.FNC so  that those definitions  will
  7423.             automatically exist when PibTerm is executed.
  7424.             
  7425.             
  7426.             Entering key definitions at keyboard
  7427.             Entering key definitions at keyboard
  7428.             
  7429.             E)nter  definitions   from  keyboard  is  used  to  set  the
  7430.             key definitions by  hand.   You can  use E)nter  to look  at
  7431.             keys you've already  defined, or to create a file to be used
  7432.             in a later session.
  7433.             
  7434.             After you hit E)nter you will see this menu display:
  7435.             
  7436.                 ╒[ Input key definition ]═════════════════════════════════════════════╕
  7437.                 │ Hit key to define or <ESC> to quit:                                 │
  7438.                 │                                                                     │
  7439.                 │                                                                     │
  7440.                 │                                                                     │
  7441.                 ╘═════════════════════════════════════════════════════════════════════╛
  7442.             
  7443.             To define  a key,  strike it.  If the key cannot be defined,
  7444.             then you will receive the following message:
  7445.             
  7446.                 ╒[ Input key definition ]═════════════════════════════════════════════╕
  7447.                 │ Hit key to define or <ESC> to quit:                                 │
  7448.                 │ *** Not a valid key                                                 │
  7449.                 │                                                                     │
  7450.                 │                                                                     │
  7451.                 ╘═════════════════════════════════════════════════════════════════════╛
  7452.             
  7453.             If you strike a key which CAN be defined -- for example, the
  7454.             HOME key  on the  IBM keypad  -- then  you will receive this
  7455.             message:
  7456.             
  7457.                 ╒[ Input key definition ]═════════════════════════════════════════════╕
  7458.                 │ Hit key to define or <ESC> to quit: Kpd 7 Home                      │
  7459.                 │ -->                                                                 │
  7460.                 │                                                                     │
  7461.                 │                                                                     │
  7462.                 ╘═════════════════════════════════════════════════════════════════════╛
  7463.             
  7464.             You may  now enter  the text  which you want assigned to the
  7465.             Home key.   From  this point  on, hitting  the Home key will
  7466.             Home                                           Home         
  7467.             cause PibTerm  to transmit  the assigned  text to the remote
  7468.             system.
  7469.             
  7470.  
  7471.  
  7472.             A Guide to PibTerm v4.1 at Northwestern               Page 111
  7473.             A Guide to PibTerm v4.1 at Northwestern               Page 111
  7474.  
  7475.  
  7476.             If the  Home key  had already been defined, then the text of
  7477.                     Home                                                
  7478.             that definition  would have  appeared for you to edit in the
  7479.             box above.
  7480.             
  7481.             
  7482.             Requesting extended keypad handling
  7483.             Requesting extended keypad handling
  7484.             
  7485.             Normally PibTerm  uses the  standard system  facilities  for
  7486.             reading  the  keyboard.    Unfortunately,  some  useful  key
  7487.             combinations are   "thrown  away"  by  the  system  so  that
  7488.             PibTerm never sees them.
  7489.             
  7490.             For example,  the <ALT>End key combination is thrown away by
  7491.                               <ALT>End                                  
  7492.             the system and therefore PibTerm doesn't recognize that  key
  7493.             combination if you press it.
  7494.             
  7495.             In order  to gain  access to  a number  of the  keyboard key
  7496.             combinations which  can theoretically  be defined at <ALT>K,
  7497.             PibTerm needs  to "take  over" a part of the system keyboard
  7498.             reading routine.   In  technical terms,  PibTerm commandeers
  7499.             interrupt $9.   By  doing this, PibTerm is able to recognize
  7500.             many more  key combinations  (especially on the older 83/84-
  7501.             key keyboards).
  7502.             
  7503.             You can  instruct PibTerm  to take  over keyboard  input  by
  7504.             setting the parameter at:
  7505.             
  7506.                  <ALT>P,
  7507.                       I)input,
  7508.                            e) Recognize extended keypad
  7509.             
  7510.             to YES.
  7511.             
  7512.             This setting  may NOT  work on all systems, and may NOT work
  7513.             under some  multitaskers.  You will need to experiment.  The
  7514.             easiest way to see if this option works on your system is to
  7515.             set it  to YES and then try to define one of the <ALT>keypad
  7516.             keys like  <ALT>End or  <ALT>PgDn using  "E)nter definitions
  7517.                        <ALT>End     <ALT>PgDn                           
  7518.             from keyboard"  above.   If PibTerm recognizes the key, then
  7519.             the extended  keypad option  works.  If it does not, or your
  7520.             system locks  up, then you won't be able to use the extended
  7521.             keypad keys.
  7522.             
  7523.             Since this  option makes  various  <ALT>keypad  combinations
  7524.             work, you  will need to hold down BOTH the <ALT> and <SHIFT>
  7525.             keys together  with a  keypad key  if you  wish to  use  the
  7526.             standard DOS  facility  for  generating  special  characters
  7527.             using the keypad.
  7528.             
  7529.             
  7530.             Writing key definitions to a file
  7531.             Writing key definitions to a file
  7532.             
  7533.             W)rite  definitions   to  file   causes  the   current   key
  7534.             definitions to be  written out.   These  can be  read  later
  7535.  
  7536.  
  7537.             A Guide to PibTerm v4.1 at Northwestern               Page 112
  7538.             A Guide to PibTerm v4.1 at Northwestern               Page 112
  7539.  
  7540.  
  7541.             using R)ead.   Again, you  need only enter the first part of
  7542.             the file name;  the suffix  .FNC is  automatically added  if
  7543.             none appears in the file name you specify.
  7544.             
  7545.             
  7546.             Quitting key definition mode
  7547.             Quitting key definition mode
  7548.             
  7549.             Q)uit leaves  key definition  mode and  returns to  terminal
  7550.             emulation mode.
  7551.             
  7552.             
  7553.             Contents of key definition strings
  7554.             Contents of key definition strings
  7555.             
  7556.             The actual  key definitions  are comprised of ordinary Ascii
  7557.             text. There are five special characters defined for use with
  7558.             the input key facility:
  7559.             
  7560.                  1.   A character  to represent a carriage return -- the
  7561.                       default is '|' (ascii 124).
  7562.                  
  7563.                  2.   A character  to cause  a one-second  delay --  the
  7564.                       default is '~' (ascii 126).
  7565.                  
  7566.                  3.   A character  to cause  PibTerm  to  wait  for  the
  7567.                       immediately following  character to be sent by the
  7568.                       remote system  before  sending  any  more  of  the
  7569.                       function key  string. The  default is  '`'  (ascii
  7570.                       96).
  7571.                  
  7572.                  4.   A character  to  mark  the  immediately  following
  7573.                       character as  a control character.  The default is
  7574.                       '^' (ascii  94).  For example, entering  '^G' in a
  7575.                       string (the  ascii characters 94, 71) results in a
  7576.                       single character  being  entered  in  the  string,
  7577.                       ascii 7 -- the bell character, control-G.
  7578.                  
  7579.                  5.   A character  to mark the following character(s) as
  7580.                       either PibTerm  commands or  text to be considered
  7581.                       the same as a keyboard entry. The default is '@'.
  7582.                            
  7583.                       If the character following the @ is a letter, then
  7584.                       the corresponding  <ALT>letter PibTerm  command is
  7585.                       executed.    Upper  and  lower  case  letters  are
  7586.                       treated the  same.  For  example,  if  the  string
  7587.                       entered is   @R  then the receive file facility is
  7588.                       invoked, just  as if  you entered  <ALT>R  at  the
  7589.                       keyboard.
  7590.                       
  7591.                       If the  letter following  the @  is NOT  a letter,
  7592.                       then that character is considered a delimeter, and
  7593.                       all characters  in the  string up  until the  next
  7594.                       occurrence of  that delimeter -- or the end of the
  7595.                       string --  are  stuffed  into  PibTerm's  keyboard
  7596.                       buffer.   PibTerm will  then act  just as if these
  7597.  
  7598.  
  7599.             A Guide to PibTerm v4.1 at Northwestern               Page 113
  7600.             A Guide to PibTerm v4.1 at Northwestern               Page 113
  7601.  
  7602.  
  7603.                       characters  had   been  entered  from  the  actual
  7604.                       keyboard.
  7605.                       
  7606.                  6.   If you  want to  literally use  one of the special
  7607.                       characters @,  |, ^,  ~, or  ` in  a function  key
  7608.                       definition, then  you need  to enter the following
  7609.                       special  character   sequences  instead   of   the
  7610.                       character itself:
  7611.             
  7612.                            To get,             use:
  7613.             
  7614.                            @                   ^'@
  7615.                            |                   ^'|
  7616.                            ^                   ^'^
  7617.                            ~                   ^'~
  7618.                            `                   ^'`
  7619.             
  7620.             
  7621.             Intercharacter Delays in Function Key Definitions
  7622.             Intercharacter Delays in Function Key Definitions
  7623.             
  7624.             Normally when you depress a function key the contents of the
  7625.             string assigned  to that  key are  transmitted to the remote
  7626.             system at  full speed.   Some  systems -- particularly those
  7627.             with front-end  protocol converters  -- may  not be  able to
  7628.             process incoming  escape sequences  at full  speed.  In that
  7629.             case you  may want  to tell PibTerm to insert a slight delay
  7630.             after each  character of  the string  is sent  to the remote
  7631.             system.  To set an intercharacter delay, go to
  7632.             
  7633.                  <ALT>P,
  7634.                       I)nput,
  7635.                            i) Function key intercharacter delay
  7636.             
  7637.             By default,  PibTerm sets  an intercharacter  delay  of  ten
  7638.             milliseconds, which appears to work well with many systems.
  7639.             
  7640.             
  7641.             Attaching PibTerm commands to function keys
  7642.             Attaching PibTerm commands to function keys
  7643.             
  7644.             The '@'  character allows  you to  attach quite  complicated
  7645.             sequences  of  PibTerm  commands  to  function  keys.    The
  7646.             definitions of  PgUp and  PgDn in the ACNS-supplied function
  7647.             key definition  files (DECVAX.FNC, etc.) are examples.  PgUp
  7648.             initiates a  Kermit send,  and PgDn  initiates a Kermit get.
  7649.             Here are  the definitions  of PgUp  and  PgDn  as  given  in
  7650.                                           PgUp       PgDn               
  7651.             DECVAX.FNC:
  7652.             
  7653.                       PgUp:     K9=@S@/db/
  7654.                       PgUp                
  7655.                       PgDn:     K3=@R@/db/
  7656.                       PgDn                
  7657.             
  7658.             @S indicates  the <ALT>  key command  <ALT>S for  sending  a
  7659.             @S                                                          
  7660.             file, and @R indicates the <ALT> key command for receiving a
  7661.                       @R                                                
  7662.             file.   @/db/ indicates  that  the  literal  characters  "d"
  7663.                     @/db/                                               
  7664.             followed by  "b" should be read as if they had been typed in
  7665.  
  7666.  
  7667.             A Guide to PibTerm v4.1 at Northwestern               Page 114
  7668.             A Guide to PibTerm v4.1 at Northwestern               Page 114
  7669.  
  7670.  
  7671.             by hand.   The  "d" selects Kermit from the <ALT>R or <ALT>S
  7672.             menu of  file transfer protocols, and "b" selects get binary
  7673.             file or  send binary  file, depending upon whether an <ALT>R
  7674.             or <ALT>S has been requested.
  7675.             
  7676.             
  7677.             Attaching a Script to a Function Key
  7678.             Attaching a Script to a Function Key
  7679.             
  7680.             Another use  for key  definition is  to attach a script to a
  7681.             function key.   For example, suppose that we want to execute
  7682.             the HARDWIRE.SCR  script for  selecting a  system to  access
  7683.                 HARDWIRE.SCR                                            
  7684.             from a  hard-wired terminal,  every time the Home keypad key
  7685.                                                          Home           
  7686.             is hit.  Then the string to assign using
  7687.             
  7688.                  <ALT>K,
  7689.                       E)nter definitions from keyboard
  7690.             
  7691.             would be:
  7692.             
  7693.                       @G@/HARDWIRE^M/
  7694.             
  7695.             Here the @G acts as if we hit the <ALT>G key to bring up the
  7696.                      @G                                                 
  7697.             script processor.   @/HARDWIRE^M/  provides the  name of the
  7698.                                 @/HARDWIRE^M/                           
  7699.             script to  be executed  and also  places a  carriage  return
  7700.             (Ascii ^M) in the keyboard buffer after the name.
  7701.             
  7702.             From this  point on,  when Home  is struck, the HARDWIRE.SCR
  7703.                                        Home                             
  7704.             script will be invoked.
  7705.             
  7706.             As another example, let's attach the script to dial a system
  7707.             by name  presented in  the previous  section "Another Script
  7708.             Example:   Dialing A  System By  Name."   The script name is
  7709.             NAMEDIAL.SCR.  Choose a key to attach this script to -- say,
  7710.             the End key on the keypad -- and hit
  7711.                 End                             
  7712.             
  7713.                  <ALT>K,
  7714.                       E)nter definitions from keyboard
  7715.             
  7716.             Hit the  End key when prompted for the key to define.  Enter
  7717.                      End                                                
  7718.             the definition for NAMEDIAL.SCR as:
  7719.             
  7720.                       @G@/NAMEDIAL^M/
  7721.             
  7722.             From that  point on,  if you  want to dial a system by name,
  7723.             just hit the End key.
  7724.                          End     
  7725.             
  7726.             
  7727.             Setting a function key subdirectory
  7728.             Setting a function key subdirectory
  7729.             
  7730.             You may find it convenient to set up a separate subdirectory
  7731.             to contain  all of  your key  definition files (*.FNC).  You
  7732.             can do that at
  7733.             
  7734.                  <ALT>P,
  7735.  
  7736.  
  7737.             A Guide to PibTerm v4.1 at Northwestern               Page 115
  7738.             A Guide to PibTerm v4.1 at Northwestern               Page 115
  7739.  
  7740.  
  7741.                       P)aths,
  7742.                            g) Function key directory
  7743.             
  7744.             After defining  a function  key subdirectory,  PibTerm  will
  7745.             always look  there for a function key file if you do provide
  7746.             an explicit path when reading or writing a function key file
  7747.             at <ALT>K.
  7748.             
  7749.             
  7750.             Session Logging
  7751.             Session Logging
  7752.             
  7753.             PibTerm provides  several different mechanisms for recording
  7754.             your session.   The  session may  be written to a printer or
  7755.             captured to  a disk  file, and useful auxilliary information
  7756.             can also be collected.
  7757.             
  7758.             
  7759.             Logging session to printer -- <ALT>L
  7760.             Logging session to printer -- <ALT>L
  7761.             
  7762.             
  7763.             <ALT>L  toggles   the  logging   of  your   session  to  the
  7764.             printer. Initially printer  logging is  turned off.   If you
  7765.             hit <ALT>L, PibTerm  starts recording  your session  to  the
  7766.             printer.   If you  hit <ALT>L again,  then  printer  logging
  7767.             stops.
  7768.             
  7769.             MAKE SURE  YOUR PRINTER  IS TURNED  ON BEFORE HITTING <ALT>L
  7770.             MAKE SURE  YOUR PRINTER  IS TURNED  ON BEFORE HITTING <ALT>L
  7771.             OR YOUR SYSTEM  MAY LOCK  UP.   PibTerm writes  to  the  DOS
  7772.             OR YOUR SYSTEM  MAY LOCK  UP.                               
  7773.             device PRN:.   PibTerm tries  to prevent  lock  ups  if  the
  7774.             printer is off-line or out of paper, but the methods used do
  7775.             not work for all systems.
  7776.             
  7777.             You can  define a  printer setup  string which  PibTerm will
  7778.             send the  printer right  after it  initializes the  modem at
  7779.             program start-up time.  To enter the string, press
  7780.             
  7781.                  <ALT>P,
  7782.                       O)dds and ends,
  7783.                            a) Printer setup string
  7784.             
  7785.             If this string is empty (which it is by default), nothing is
  7786.             sent to the printer at startup time.
  7787.             
  7788.             
  7789.             Capture session to disk -- <ALT>O
  7790.             Capture session to disk -- <ALT>O
  7791.             
  7792.             Alternatively, you  can use  the <ALT>O command to capture a
  7793.             session to disk  and print  it or process it later on as you
  7794.             desire.
  7795.             
  7796.             <ALT>O  toggles  the  capture  of  the  current  session  to
  7797.             disk. This  works   like  <ALT>L,  except  that  instead  of
  7798.             sending the session to the printer, the session is sent to a
  7799.             disk file.   PibTerm prompts  you for  the name  of the disk
  7800.  
  7801.  
  7802.             A Guide to PibTerm v4.1 at Northwestern               Page 116
  7803.             A Guide to PibTerm v4.1 at Northwestern               Page 116
  7804.  
  7805.  
  7806.             file. If it  exists, the captured session is appended to the
  7807.             end of the file.
  7808.             
  7809.             PibTerm asks  you if  you want  an  edited  or  an  unedited
  7810.             capture. The edited capture saves the edited screen image of
  7811.             each  line (up   to  132   characters)   rather   than   the
  7812.             unedited character stream  from the  remote system.   Edited
  7813.             captures are convenient when you are typing during a capture
  7814.             session;   the resulting file  will show  only  your  edited
  7815.             input.  An unedited capture will contain all the backspaces,
  7816.             deletes, and  other editing characters,  and  may  be  quite
  7817.             unreadable as a result.
  7818.             
  7819.             You  can   activate  printer   logging  and   capture   file
  7820.             logging together.
  7821.             
  7822.             Intermixed  with   the  output   received  from  the  remote
  7823.             system will be  PibTerm-supplied information  lines.   These
  7824.             lines all begin  with '>>'.   The  content  of  these  lines
  7825.             indicate conditions like  carrier drop, success/failure of a
  7826.             file transfer, what system has been dialed, and so on.  Each
  7827.             line has a time/date stamp.
  7828.             
  7829.             For example, you might see the following information line in
  7830.             your capture file when the carrier drops:
  7831.             
  7832.                >>  87/09/15 18:47:15 Carrier dropped.
  7833.             
  7834.             
  7835.             Activating PIBTERM.LOG file
  7836.             Activating PIBTERM.LOG file
  7837.             
  7838.             You may  want to  keep a  file which  contains  nothing  but
  7839.             the information lines  described above.   You can do that by
  7840.             turning on "log file logging" at
  7841.             
  7842.                  <ALT>P,
  7843.                       O)dds and ends,
  7844.                            p) Perform logging to log file.
  7845.             
  7846.             The log file  is PIBTERM.LOG.   Again, you can have log file
  7847.             logging active simultaneously  with capture file logging and
  7848.             printer logging.
  7849.             
  7850.             Log file logging is always active in host mode.
  7851.             
  7852.             
  7853.             Screen Dumps Using <ALT>U
  7854.             Screen Dumps Using <ALT>U
  7855.             
  7856.             <ALT>U writes  the text  of the currently  displayed  screen
  7857.             image  to  the  file  SCRNDUMP.DAT. Only  the  text  on  the
  7858.             screen is written  to the  file, not  the  attributes  (like
  7859.             color, or  blink). You can  only perform  a screen dump when
  7860.             you are  in terminal  mode, NOT  when  you  are  already  at
  7861.             another menu or in host mode. You can use <ALT>U repeatedly,
  7862.  
  7863.  
  7864.             A Guide to PibTerm v4.1 at Northwestern               Page 117
  7865.             A Guide to PibTerm v4.1 at Northwestern               Page 117
  7866.  
  7867.  
  7868.             and each  screen is  appended  to  the current  contents  of
  7869.             SCRNDUMP.DAT.
  7870.             
  7871.             In Tektronix  4010 emulation  mode, a  16K (for  CGA) or 28K
  7872.             (for EGA) bit-map of the screen image is written to the file
  7873.             GSCRNDUM.DAT.   This file  can be manipulated by programming
  7874.             languages, but  it cannot  be  listed  as  SCRNDUMP.DAT  can
  7875.             because GSCRNDUM.DAT is not a text file.
  7876.             
  7877.             
  7878.             Scanning the Review Buffer -- <ALT>V
  7879.             Scanning the Review Buffer -- <ALT>V
  7880.             
  7881.             PibTerm saves  the text of lines previously displayed on the
  7882.             screen in  a review  buffer.  A maximum of 254 characters is
  7883.             saved from  each line  --- extra characters are thrown away.
  7884.             The number of lines saved is determined by the length of the
  7885.             saved lines  and the size of the review buffer.  You can set
  7886.             the size of the review buffer at
  7887.             
  7888.                  <ALT>P,
  7889.                       V)ideo mode and colors,
  7890.                            l) Review buffer size
  7891.             
  7892.             The buffer  size is specified in characters (NOT lines).  If
  7893.             you set the buffer size to zero, then the review buffer will
  7894.             not be  active.   The maximum  review buffer  size is  32767
  7895.             characters.
  7896.             
  7897.             You can display  the saved  lines by  hitting <ALT>V.    The
  7898.             result will  be a split-screen display in which the top part
  7899.             of the  screen acts  as a window over the review buffer, and
  7900.             the bottom  of  the  screen  lists  the  available  commands
  7901.             and the  current  line  numbers  and  column  numbers  being
  7902.             viewed.
  7903.             
  7904.             The PC  keypad keys  control viewing. Use  the up  and  down
  7905.             arrows to  scroll up  and down  one line  at a  time through
  7906.             the saved lines. The  left and  right arrows  take  you  ten
  7907.             columns  left   or  right respectively  in  the  132  column
  7908.             display.   PgUp and  PgDn take  you up and down a page of 19
  7909.                        PgUp      PgDn                                   
  7910.             lines, respectively.   Home takes you to the first page, and
  7911.                                    Home                                 
  7912.             End takes you to the last page.  ESC exits the view mode.  W
  7913.             End                              ESC                       W
  7914.             writes the review buffer to disk, and S allows you to search
  7915.                                                   S                     
  7916.             the review  buffer for a specified string.  You can also use
  7917.             the mouse to scroll through the review buffer.
  7918.             
  7919.             The review buffer does NOT take account of escape sequences,
  7920.             so the resulting saved display for a full-screen session may
  7921.             not be very  intelligible.   Also, the  first  line  in  the
  7922.             review buffer may be truncated in the front. This is because
  7923.             the review  buffer will  chop the  front of  the first saved
  7924.             line in  order to  store the  last  (most  recent)  line  if
  7925.             necessary.
  7926.             
  7927.  
  7928.  
  7929.             A Guide to PibTerm v4.1 at Northwestern               Page 118
  7930.             A Guide to PibTerm v4.1 at Northwestern               Page 118
  7931.  
  7932.  
  7933.             
  7934.             Mute Mode -- <ALT>M
  7935.             Mute Mode -- <ALT>M
  7936.             
  7937.             Remote systems  frequently send  Ascii BEL  characters which
  7938.             cause PibTerm to issue beeping sounds.  Also, PibTerm itself
  7939.             may issue  various sound effects in cases of errors.  If you
  7940.             are using  your PC  in an environment where those sounds are
  7941.             disturbing to  others, or  you yourself don't like them, you
  7942.             may prefer  to toggle  mute mode  on by hitting <ALT>M. This
  7943.                                    mute mode                <ALT>M.     
  7944.             prevents PibTerm from issuing any beeps.
  7945.             
  7946.             In some  cases, PibTerm  will display  a flashing <ALERT> on
  7947.                                                               <ALERT>   
  7948.             the last  line of  the screen  instead of issuing beeps when
  7949.             mute mode is turned on.
  7950.             
  7951.             The  ANSI/BBS   terminal  emulation  mode  allows  specially
  7952.             encoded musical notation to be "played" by your PC.  You may
  7953.             find this  disconcerting, especially  in the  middle of  the
  7954.             night.   If mute  mode  is  set,  then  any  music  commands
  7955.             received by PibTerm are IGNORED.
  7956.             
  7957.             Also, you  can disable  the gossip  feature in  host mode by
  7958.             setting mute  mode.   You must  do this BEFORE invoking host
  7959.             mode using <ALT>W.
  7960.             
  7961.             
  7962.             Translate Table -- <ALT>T
  7963.             Translate Table -- <ALT>T
  7964.             
  7965.             PibTerm  provides   a  facility   for  translating  incoming
  7966.             characters into  other characters. You can use this facility
  7967.             to strip  out certain characters by indicating that you want
  7968.             the incoming  character to  be translated  to the  Ascii NUL
  7969.             character (Ascii  0).   By default,  incoming characters are
  7970.             left untranslated.   To  define  a  translation  table,  hit
  7971.             <ALT>T.
  7972.             
  7973.             If the  file PIBTERM.TRA  exists  in  your  default  PibTerm
  7974.             directory, then  the translate  table contained in that file
  7975.             is read in automatically when PibTerm starts up.
  7976.             
  7977.             
  7978.             Editing A Line On The Screen -- <ALT>A
  7979.             Editing A Line On The Screen -- <ALT>A
  7980.             
  7981.             When <ALT>A  is pressed, a highlighted bar appears at line 1
  7982.             if the  cursor is  currently  on  lines  2  through  25  (or
  7983.             whatever the bottom line on the screen is).  The highlighted
  7984.             bar appears  on the  bottom line if the cursor is on line 1.
  7985.             You may  then use  the keypad  arrow keys to move around the
  7986.             screen to  any displayed  line and  edit that line using the
  7987.             keypad keys  listed below.  Pressing  the  INS  key  toggles
  7988.                                                        INS              
  7989.             insertion mode (the default) and overwrite mode.  A carriage
  7990.             return causes  the text  of all  altered lines to be sent to
  7991.             the remote system, and <ALT>A mode is exited.
  7992.             
  7993.  
  7994.  
  7995.             A Guide to PibTerm v4.1 at Northwestern               Page 119
  7996.             A Guide to PibTerm v4.1 at Northwestern               Page 119
  7997.  
  7998.  
  7999.             In addition  to the  arrow keys, ^X moves down a line and ^E
  8000.             moves up  a line  on the  screen.   ^K is  used to  mark the
  8001.             beginning and  end of  a line  range to  be concatenated for
  8002.             editing purposes  (maximum  255  characters  in  the  joined
  8003.             text).   Horizontal scrolling will be used if necessary when
  8004.             the concatenated text exceeds the available display width.
  8005.             
  8006.             <ALT>A provides  a simple  block-mode feature  for use  with
  8007.             remote hosts  that do  not have  full-screen features. Since
  8008.             the editors  for all  the ACNS  mainframe systems  are full-
  8009.             screen editors,  <ALT>A isn't  especially useful  for  them.
  8010.             However, one good use for <ALT>A is to correct an improperly
  8011.             entered system  command for  those systems  without an edit-
  8012.             last-command feature.
  8013.             
  8014.             
  8015.             Displaying Session Timers -- <ALT>Y
  8016.             Displaying Session Timers -- <ALT>Y
  8017.             
  8018.             <ALT>Y invokes the display of session timers:
  8019.             
  8020.                 ╒[ Display session information ]══════════════════════════════════════╕
  8021.                 │Current host system : -------------------------                      │
  8022.                 │Current phone number: # ### ###-####                                 │
  8023.                 │                                                                     │
  8024.                 │Elapsed time since PibTerm started      :           00:01:07         │
  8025.                 │Elapsed time since current session began:           00:01:07         │
  8026.                 │Available heap space in bytes:    69664                              │
  8027.                 │                                                                     │
  8028.                 │Current time:      02:40:34                                          │
  8029.                 │Current date:      1987/10/29                                        │
  8030.                 │                                                                     │
  8031.                 │Current capture file name: *** None ***                              │
  8032.                 │Current script name      : *** None ***                              │
  8033.                 │                                                                     │
  8034.                 │Enter C to clear dialing session timer, hit ESC to continue ...      │
  8035.                 │                                                                     │
  8036.                 │                                                                     │
  8037.                 │                                                                     │
  8038.                 ╘═════════════════════════════════════════════════════════════════════╛
  8039.             
  8040.             If you  are in  the midst  of a  dialing  session  then  the
  8041.             "Current host  system" and  "Current phone number" will tell
  8042.             you what system you're connected to.
  8043.             
  8044.             The "Elapsed  time since  PibTerm began"  tells you how long
  8045.             you've been  in PibTerm.   The  "Elapsed time  since current
  8046.             session began"  tells you  how long you've been connected to
  8047.             the current  system. (This will be the same as "Elapsed time
  8048.             since PibTerm  began" before  you dial  any remote systems.)
  8049.             You may  want to  clear the  session  timer  value  to  zero
  8050.             manually when  you begin  a hard-wired session;  to do that,
  8051.             enter "C"  as prompted.
  8052.             
  8053.  
  8054.  
  8055.             A Guide to PibTerm v4.1 at Northwestern               Page 120
  8056.             A Guide to PibTerm v4.1 at Northwestern               Page 120
  8057.  
  8058.  
  8059.             The "Available heap space in bytes" shows you how much space
  8060.             PibTerm has available for loading scripts, file buffers, and
  8061.             so on.   If  this number drops under 16000 bytes (32000 when
  8062.             an EGA  graphics card is installed) then you may not be able
  8063.             to run Tektronix 4010 emulation.  If this number drops under
  8064.             8000 then  you may  have trouble  executing new  scripts  or
  8065.             performing file transfers.
  8066.             
  8067.             The "Current time" and "Current date" are obvious.  "Current
  8068.             capture file name" tells you the name of the current capture
  8069.             file opened  by <ALT>O.  "Current script name" tells you the
  8070.             name of the currently executing script from <ALT>G.
  8071.             
  8072.             
  8073.             Finding An Area Code -- <ALT>Z
  8074.             Finding An Area Code -- <ALT>Z
  8075.             
  8076.             <ALT>Z invokes  PibTerm's built-in  dialing area  directory.
  8077.             You can  enter a  dialing code,  a state,  or a  country and
  8078.             receive the  corresponding state, country, or dialing codes.
  8079.             For  domestic  area  codes,  you  also  receive  a  list  of
  8080.             representative cities and towns in that area.
  8081.             
  8082.             The dialing code data is kept on the file PIBTERM.ACO.  That
  8083.                                                       PIBTERM.ACO       
  8084.             file must be present in order for <ALT>Z to work.
  8085.             
  8086.             
  8087.             PibTerm Program Parameters
  8088.             PibTerm Program Parameters
  8089.             
  8090.             PibTerm  allows  several  parameter  specifications  on  the
  8091.             program invocation  statement.  Each  parameter  name  is  a
  8092.             single letter  and is preceded by a slash and followed by an
  8093.             equal sign and the parameter value:
  8094.             
  8095.                  /c   Name of configuration file to use (default is PIBTERM.CNF)
  8096.                  /d   Name of dialing directory (default is PIBTERM.FON)
  8097.                  /e   Dialing prefix file (default is PIBTERM.PRE)
  8098.                  /k   Function key file (default is PIBTERM.FNC)
  8099.                  /l   Log file name (default is PIBTERM.LOG)
  8100.                  /p   Serial port number (overrides port listed in PIBTERM.CNF)
  8101.                  /s   Script name to be executed upon entry to PibTerm
  8102.                       (default is PIBTERM.SCR)
  8103.                  /t   Translate file name (no translation by default)
  8104.                  /x   Use expanded memory (LIM/EMS/EEMS) for PibTerm overlays
  8105.                       if available. (No '=' is needed after '/x')
  8106.             
  8107.             Example:
  8108.             
  8109.                PIBTERM /c=PIBCOM2.CNF /s=HOSTIT.SCR /x
  8110.             
  8111.             Here the  configuration file PIBCOM2.CNF is used rather than
  8112.             PIBTERM.CNF, and  HOSTIT.SCR is  executed immediately  after
  8113.             the configuration files are read.   Overlays are loaded into
  8114.             (and executed from) expanded memory if it is available.
  8115.             
  8116.  
  8117.  
  8118.             A Guide to PibTerm v4.1 at Northwestern               Page 121
  8119.             A Guide to PibTerm v4.1 at Northwestern               Page 121
  8120.  
  8121.  
  8122.             
  8123.             Speeding Up PibTerm Access
  8124.             Speeding Up PibTerm Access
  8125.             
  8126.             PibTerm is  a fairly  large program,  and it  can be slow in
  8127.             swapping its  various program segments in and out of memory.
  8128.             One  way   to  speed  up  PibTerm  processing  is  to  place
  8129.             PIBTERM.EXE and PIBTERM.OVR files on a RAM disk, if you have
  8130.             enough memory.
  8131.             
  8132.             Another way  to speed  up PibTerm if you have a large amount
  8133.             of expanded  memory installed  is to tell PibTerm to execute
  8134.             out of  that expanded  memory.  To do that, include the "/x"
  8135.             switch when  you invoke PibTerm:
  8136.             
  8137.                  PIBTERM /x
  8138.                  PIBTERM /x
  8139.             
  8140.             Expanded memory  is provided  by a  number of  add-in boards
  8141.             like the  Intel Aboveboard  or the  AST RamPage.   Note that
  8142.             this must  be EXPANDED  memory, not EXTENDED memory (consult
  8143.             the documentation  for your  add-in  memory  board  for  the
  8144.             details).
  8145.             
  8146.             
  8147.             It takes  several seconds  to read a large dialing directory
  8148.             file (PIBTERM.FON),  and it  also takes time to write it out
  8149.             again with  any revisions at the end of the PibTerm session.
  8150.             One  way  to  reduce  the  read/write  time  for  the  phone
  8151.             directory is  to use  an editor  to remove  unused directory
  8152.             lines (usually  from the end of the directory). The built-in
  8153.             PibTerm editor  is fine  for this,  assuming you have enough
  8154.             memory.
  8155.             
  8156.             For example, if you are only using 10 numbers out of the 200
  8157.             you  normally  get  with  PibTerm,  then  edit  the  dialing
  8158.             directory and remove the last 190 entries.
  8159.             
  8160.             If you use the built-in PibTerm editor to do this, make sure
  8161.             you don't  place any  calls using  the directory during that
  8162.             editing session.   If  you do, then PibTerm will write out a
  8163.             revised directory  that will  ignore the  changes  you  made
  8164.             manually using the editor.
  8165.             
  8166.             
  8167.             Changing Colors in PibTerm
  8168.             Changing Colors in PibTerm
  8169.             
  8170.             PibTerm is  distributed with all the colors set to black and
  8171.             white.   This avoids  problems stemming from different types
  8172.             of display  adapters --  all adapters  can display black and
  8173.             white.  (Of course, if you have an amber screen, then  black
  8174.             and white  are displayed  as black  and amber; if you have a
  8175.             green screen,  then black  and white  are displayed as black
  8176.             and green; and so on.)
  8177.             
  8178.  
  8179.  
  8180.             A Guide to PibTerm v4.1 at Northwestern               Page 122
  8181.             A Guide to PibTerm v4.1 at Northwestern               Page 122
  8182.  
  8183.  
  8184.             However, PibTerm  does allow  you to set a variety of colors
  8185.             for menus  and terminal  emulation mode.   You  can set  the
  8186.             various color parameters at
  8187.             
  8188.                  <ALT>P,
  8189.                       V)ideo mode and colors.
  8190.             
  8191.             
  8192.             VT100 emulation  has its own set of colors which differ from
  8193.             those used  for other  emulations.  There is a separate menu
  8194.             item for setting VT100 colors under
  8195.             
  8196.                  <ALT>P,
  8197.                       V)ideo mode and colors,
  8198.                            i) VT100 colors.
  8199.             
  8200.             Setting the  parameters for  the colors  is straightforward.
  8201.             However, if you are already in VT100 mode, then you will not
  8202.             see any  change in  the colors displayed after selecting new
  8203.             VT100 colors  until you  perform a terminal reset.  That is,
  8204.             after changing  the terminal  emulation colors,  always  hit
  8205.             <Shift>Tab to reset the terminal so that the new colors take
  8206.             <Shift>Tab                                                  
  8207.             effect.
  8208.             
  8209.             
  8210.             Changing Screen Display Size On EGA/VGA Adapters
  8211.             Changing Screen Display Size On EGA/VGA Adapters
  8212.             
  8213.             Normally PibTerm  runs in  80 column, 25 line mode.  Line 25
  8214.             is usually used as a status line.
  8215.             
  8216.             If you  have an  EGA or  VGA, you  can change  the number of
  8217.             lines displayed.   On an EGA you can  select 25, 35, 43, and
  8218.             50 line  modes.  On a VGA you can select 25, 50, and 60 line
  8219.             modes.
  8220.             
  8221.             You can  set the  number of  lines PibTerm should use in the
  8222.             display at:
  8223.             
  8224.                  <ALT>P,
  8225.                       V)ideo mode and colors,
  8226.                            o) Maximum physical screen length
  8227.             
  8228.             If you  have an  ATI EGA  Wonder or ATI VIP VGA then you can
  8229.             also set the number of columns to 132.  You can do that at:
  8230.             
  8231.                  <ALT>P,
  8232.                       V)ideo mode and colors,
  8233.                            p) Maximum physical screen width
  8234.             
  8235.             Note that  PibTerm  will  automatically  switch  between  80
  8236.             column mode  and 132  column mode  in VT100 emulation if you
  8237.             have one  of the  ATI display  cards and  you have  set  the
  8238.             parameter
  8239.             
  8240.  
  8241.  
  8242.             A Guide to PibTerm v4.1 at Northwestern               Page 123
  8243.             A Guide to PibTerm v4.1 at Northwestern               Page 123
  8244.  
  8245.  
  8246.                  <ALT>P,
  8247.                       V)ideo mode and colors,
  8248.                            r) ATI EGA Wonder/ ATI VIP VGA installed
  8249.             
  8250.             to YES.
  8251.             
  8252.             
  8253.             Command Line Mode
  8254.             Command Line Mode
  8255.             
  8256.             You can  enter script  commands directly  from the keyboard.
  8257.             This allows  you to  use PibTerm in a command-driven fashion
  8258.             if you  dislike the  menus.  To do this you need to define a
  8259.             key which will invoke command mode.  This is done at the    
  8260.             
  8261.                  <ALT>P,
  8262.                       O)dds and ends,
  8263.                            b) command key definition submenu.
  8264.             
  8265.             You will  be asked to hit the key which will be subsequently
  8266.             used to  invoke command  mode.   This key must be one of the
  8267.             legal function  keys, keypad  keys, or Alt-number keys which
  8268.             are also available for definition by <Alt>K.  Don't choose a
  8269.                                                           Don't choose a
  8270.             key which is already defined as a terminal keypad key!
  8271.             key which is already defined as a terminal keypad key!
  8272.             
  8273.             There is  NO DEFAULT  value for  the command line key, i.e.,
  8274.                       NO DEFAULT  value                                 
  8275.             PibTerm does not provide command line mode by default.
  8276.                          not                                      
  8277.             
  8278.             Hitting the  command key  causes  the  status  line  of  the
  8279.             display to  show 'Command:  '.   You may then enter a script
  8280.             command which will be immediately executed.
  8281.             
  8282.             For example, you might enter the script command
  8283.             
  8284.                  Dial "1"
  8285.             
  8286.             to dial the first number in the dialing directory, or
  8287.             
  8288.                  SetParam "pa" "N"
  8289.             
  8290.             to set no parity.
  8291.             
  8292.             If the  command is  incorrectly entered, an error message is
  8293.             printed on the status line.
  8294.             
  8295.             You may  add  your  own  user-defined  commands.    See  the
  8296.             description  of   the  AddCommand   script  command  in  the
  8297.                                    AddCommand                           
  8298.             "PibTerm Script Language Reference Manual."
  8299.             
  8300.             
  8301.             Script commands allowed in command line mode
  8302.             Script commands allowed in command line mode
  8303.             
  8304.             The following subset of script commands can be used sensibly
  8305.             in command line mode:
  8306.             
  8307.  
  8308.  
  8309.             A Guide to PibTerm v4.1 at Northwestern               Page 124
  8310.             A Guide to PibTerm v4.1 at Northwestern               Page 124
  8311.  
  8312.  
  8313.                  Addlf     Alarm     Break     Capture   ChDir     
  8314.                  Clear     ComDrain  ComFlush  CopyFile  Delay     
  8315.                  Dial      Dos       Echo      EditFile  EraseFile 
  8316.                  Execute   Exit      ExitAll   FreeSpace GetDir    
  8317.                  GetParam  Hangup    Host      Input     Key       
  8318.                  KeyDef    KeyFlush  KeySend   Log       Message   
  8319.                  Mute      Param     PrintFile Quit      Receive   
  8320.                  Redial    RInput    ScreenDump          Send      
  8321.                  SetParam  SText     Suspend   Text      Translate 
  8322.                  ViewFile  Wait      WaitCount WaitList  WaitQuiet 
  8323.                  WaitString          WaitTime  When      WhenDrop  
  8324.                  WriteLog
  8325.                  
  8326.             Some of  the other commands may be accepted, but they aren't
  8327.             useful in command line mode.  Some of the commands (like IF,
  8328.             REPEAT, etc.) will NOT be accepted at all.
  8329.             
  8330.             For a description of these commands, see the "PibTerm Script
  8331.             Language Reference Manual."
  8332.             
  8333.             And of  course, any user-defined commands you specify can be
  8334.             executed in command-line mode as well.
  8335.             
  8336.             
  8337.             PibTerm And Multitasking Software
  8338.             PibTerm And Multitasking Software
  8339.             
  8340.             There are  a number of commercially available programs which
  8341.             extend standard MS DOS to provide multitasking, allowing you
  8342.             to run  more than one program simultaneously.  This is quite
  8343.             useful with a program like PibTerm:  you can be connected to
  8344.             a remote  system and  be performing  a long  file  transfer,
  8345.             while at  the same  time you  can be (for example) editing a
  8346.             document using  a word processor or compiling a program with
  8347.             Turbo Pascal.
  8348.             
  8349.             PibTerm may not run with all multitasking software.  It DOES
  8350.             run well with the following multitaskers:
  8351.             
  8352.                  DoubleDos (from SoftLogic)
  8353.                  DesqView  (from QuarterDeck)
  8354.                  TaskView  (from Sunny Hill Software)
  8355.                  TopView   (from IBM)
  8356.             
  8357.             PibTerm recognizes  that one of these multitaskers is active
  8358.             and  Pibterm   adjusts  itself   automatically  to   improve
  8359.             performance in the multitasking environment.
  8360.             
  8361.             Since  Microsoft   Windows  understands  TopView  emulation,
  8362.             PibTerm will run in a window under MS Windows.  However, the
  8363.             performance of PibTerm under Windows is generally poor.
  8364.             
  8365.             Note that  some features  of PibTerm  may not work correctly
  8366.             under multitaskers  (e.g., Tektronix 4010 mode or 132 column
  8367.             mode using  the ATI  EGA Wonder  card).   You will  need  to
  8368.  
  8369.  
  8370.             A Guide to PibTerm v4.1 at Northwestern               Page 125
  8371.             A Guide to PibTerm v4.1 at Northwestern               Page 125
  8372.  
  8373.  
  8374.             experiment to  find out what does and what does not work for
  8375.             a particular multitasker.
  8376.             
  8377.             The file  PIBTERM.DVP,  included  as  part  of  the  PibTerm
  8378.                       PIBTERM.DVP                                       
  8379.             release materials,  is a program definition file for PibTerm
  8380.             for use  with DesqView.   Recent  versions of  TaskView will
  8381.             also read  this file.  For earlier versions of TaskView, you
  8382.             can look  at TASKVIEW.NOT  in the  release materials,  which
  8383.                          TASKVIEW.NOT                                   
  8384.             shows what  settings you  should use  to run  PibTerm  under
  8385.             TaskView.
  8386.             
  8387.             Any other  multitasker which recognizes TopView calls should
  8388.             also work  properly with  PibTerm.   If it  does not, or the
  8389.             multitasker does  not recognize  TopView calls, then you may
  8390.             be able to get PibTerm to work with it by turning off direct
  8391.             screen writing.  To do this, press
  8392.             
  8393.                  <ALT>P,
  8394.                       V)ideo mode and colors,
  8395.                            j) Write directly to video memory
  8396.             
  8397.             If "Write directly" is NO, then standard BIOS calls are used
  8398.             for all  screen output.   This  slows  down  PibTerm  screen
  8399.             output considerably,  but it  should make PibTerm compatible
  8400.             with almost any multitasker.
  8401.             
  8402.             
  8403.             Programs Which Conflict With PibTerm
  8404.             Programs Which Conflict With PibTerm
  8405.             
  8406.             There are  some programs  which don't  like PibTerm and vice
  8407.             versa. The  worst offenders are any programs which alter the
  8408.             CPU timer  or which  spend a  lot of  time masking out other
  8409.             interrupts.  The major culprits are print spooling programs,
  8410.             on-screen time display programs, and keyboard enhancers.
  8411.             If you  find that  PibTerm is working erratically -- PibTerm
  8412.             drops characters  when you  are printing a file, or when you
  8413.             have a  timer display up -- then you should disable programs
  8414.             like those  mentioned above  when running  PibTerm.  PibTerm
  8415.             provides a  special pseudo-spooler  print mode which you can
  8416.             access at
  8417.             
  8418.                  <ALT>F
  8419.                       P)rint a file
  8420.             
  8421.             to help  make up  for one  of the  offenders, and the <ALT>Y
  8422.             command provides elapsed time to help make up for the other.
  8423.             Most  of  the  terminal  emulation  modes  also  feature  an
  8424.             optional status  line which  does have  a constantly updated
  8425.             hour:minutes time-of-day display.
  8426.             
  8427.             You may  also find  that Pibterm  doesn't like your favorite
  8428.             keyboard enhancer.   Since  PibTerm   allows you to define a
  8429.             plethora of  keys,   you may  be able  to avoid  having  the
  8430.             keyboard enhancer active if your only need is to send simple
  8431.  
  8432.  
  8433.             A Guide to PibTerm v4.1 at Northwestern               Page 126
  8434.             A Guide to PibTerm v4.1 at Northwestern               Page 126
  8435.  
  8436.  
  8437.             pre-defined strings  to remote  systems.  See the section on
  8438.             "Defining Function Keys" for more details.
  8439.             
  8440.             If you  are a  Sysop and  try to  run PibTerm  in  the  same
  8441.             machine in  which you have your BBS software loaded, you may
  8442.             find that one of the resident drivers for your BBS conflicts
  8443.             with PibTerm.   For example, some OPUS BBS drivers interfere
  8444.             with the  proper reception and transmission of characters in
  8445.             PibTerm.   You may  need to  remove those  drivers from your
  8446.             CONFIG.SYS file  or AUTOEXEC.BAT file before running PibTerm
  8447.             to avoid problems.
  8448.             
  8449.             
  8450.             General Trouble-Shooting Hints
  8451.             General Trouble-Shooting Hints
  8452.             
  8453.             PibTerm   defaults   to  a Hayes compatible modem setup, and
  8454.             PibTerm works  best with  a Hayes compatible modem.  If your
  8455.             modem isn't Hayes compatible, then you'll have to change the
  8456.             PibTerm parameters  related to  dialing. WE STRONGLY  ADVISE
  8457.                                                      WE STRONGLY  ADVISE
  8458.             YOU TO  PURCHASE ONLY  HAYES COMPATIBLE  MODEMS FOR USE WITH
  8459.             YOU TO  PURCHASE ONLY  HAYES COMPATIBLE  MODEMS FOR USE WITH
  8460.             PIBTERM. The  Hayes   "AT"  command   set  is  the  industry
  8461.             PIBTERM.                                                    
  8462.             standard. 
  8463.             
  8464.             This section  presents a  variety of  common  problems  that
  8465.             surface when using  PibTerm,  and  the  solutions  to  those
  8466.             problems.  Also  see the  sections on "File Transfer Trouble
  8467.             Shooting", "Dialing  problems", and "Programs which conflict
  8468.             with PibTerm."
  8469.             
  8470.             Problem:  After requesting  PibTerm to  start executing, the
  8471.             Problem:                                                    
  8472.                       PC hangs  while PibTerm  is  trying  to  read  its
  8473.                       configuration files.
  8474.             
  8475.             What to do:
  8476.             What to do:
  8477.             
  8478.                       This  usually   indicates  too  little  memory  to
  8479.                       execute PibTerm.   Run  the DOS  command CHKDSK to
  8480.                                                                CHKDSK   
  8481.                       see how much memory you actually have installed in
  8482.                       your  PC.    If  you  don't  have  at  least  280K
  8483.                       AVAILABLE for  use by  PibTerm, then PibTerm won't
  8484.                       run correctly.   This means that you need AT LEAST
  8485.                       320K of memory installed in your machine.
  8486.                       
  8487.                       Generally PibTerm will report that it may not have
  8488.                       enough memory to execute before it fails.
  8489.                       
  8490.                       Another possibility  is that  you've indicated the
  8491.                       wrong type  of monitor.   If you have a monochrome
  8492.                       adapter and  monitor MAKE  SURE that the parameter
  8493.                       at
  8494.                       
  8495.                            <ALT>P,
  8496.                                 V)ideo mode and colors,
  8497.                                      k) Wait for retrace
  8498.  
  8499.  
  8500.             A Guide to PibTerm v4.1 at Northwestern               Page 127
  8501.             A Guide to PibTerm v4.1 at Northwestern               Page 127
  8502.  
  8503.  
  8504.                       
  8505.                       is set  to NO.   If  you're caught  in a  Catch-22
  8506.                       because you  can't enter  PibTerm to  change  this
  8507.                       parameter, then  you can  use a  text editor which
  8508.                       produces PLAIN  ASCII files  to alter PIBTERM.CNF.
  8509.                                PLAIN  ASCII                             
  8510.                       Change the line
  8511.                       
  8512.                            WR=1
  8513.                       to
  8514.                            WR=0
  8515.                       
  8516.                       in PIBTERM.CNF.   While  you're at  it, change the
  8517.                       TM= parameter to read
  8518.                       
  8519.                            TM=M
  8520.                       
  8521.                       which indicates a monochrome display.
  8522.                       
  8523.             Problem:  PibTerm starts,  but then  the screen  fills  with
  8524.             Problem:                                                    
  8525.                       multi-colored junk, or menus do not disappear when
  8526.                       then should.
  8527.             
  8528.             What to do:
  8529.             What to do:
  8530.             
  8531.                       This also indicates insufficient RAM memory to run
  8532.                       PibTerm.
  8533.             
  8534.             Problem:  When I  execute PibTerm,  I  get  a  message  like
  8535.             Problem:                                                    
  8536.                       "Overlay file not available."
  8537.             
  8538.             What to do:
  8539.             What to do:
  8540.             
  8541.                  a)   Check that  you correctly  copied the  PIBTERM.OVR
  8542.                       file to  your PibTerm  subdirectory.   If you used
  8543.                       the ACNS  INSTALL program, then PIBTERM.OVR should
  8544.                       be correctly installed.
  8545.                  
  8546.                  b)   Make sure  that your  DOS PATH= includes the drive
  8547.                       name  and   subdirectory   name   in   which   the
  8548.                       PIBTERM.OVR file resides.
  8549.                  
  8550.             Problem:   PibTerm appears to execute correctly, but nothing
  8551.             Problem:                                                    
  8552.                       is sent  out my  modem -- no modem lights flicker,
  8553.                       no dialing  commands appear  to have  any  effect,
  8554.                       etc.
  8555.             
  8556.             What to do:
  8557.             What to do:
  8558.             
  8559.                  a)   If you  are using a modem, make sure your modem is
  8560.                       turned on.  If it  is an internal modem, make sure
  8561.                       that it  is correctly  installed and firmly seated
  8562.                       in a compatible expansion slot.
  8563.                  
  8564.  
  8565.  
  8566.             A Guide to PibTerm v4.1 at Northwestern               Page 128
  8567.             A Guide to PibTerm v4.1 at Northwestern               Page 128
  8568.  
  8569.  
  8570.                       If you are running a hard-wired line, you may need
  8571.                       to send some special sequence to the remote system
  8572.                       in order  to "wake  it up."  A common method is to
  8573.                       issue a break (<ALT>B).
  8574.                  
  8575.                  b)   Make sure  that the serial cable is plugged into a
  8576.                       serial port  outlet on  your PC  (on some machines
  8577.                       it's easy  to confuse  a parallel  port outlet  or
  8578.                       graphics display adapter outlet with a serial port
  8579.                       outlet).   Also ensure  that the  serial cable  is
  8580.                       correctly plugged into the modem.
  8581.                  
  8582.                  c)   Make sure  that your cable is the correct type for
  8583.                       your modem  or hardwired connection.  You may need
  8584.                       to  insert   a  null  modem  for  some  hard-wired
  8585.                       connections.   Also check  if  your  modem  has  a
  8586.                       switch specifying  whether pins  2 and 3 are to be
  8587.                       switched  or   not  --  that  switch  may  be  set
  8588.                       incorrectly.   Refer to the documentation for your
  8589.                       modem for further details.
  8590.                  
  8591.                  d)   Make sure  that the serial port itself is properly
  8592.                       installed.   If the  serial port  is located on an
  8593.                       add-in board,  or you are using an internal modem,
  8594.                       you  may  need  to  set  switches  or  jumpers  to
  8595.                       activate the  serial port/modem  correctly and  to
  8596.                       prevent conflicts  with other serial port(s) which
  8597.                       may already  be present  in your  system. Refer to
  8598.                       the documentation  for the  add-in board  or modem
  8599.                       for details.
  8600.                  
  8601.                  e)   Make sure that you have specified the correct port
  8602.                       in  the  PIBTERM.CNF  file.    The  PO=  parameter
  8603.                       indicates the  port.   If your serial port is at a
  8604.                       non-standard address  you may  need to set the IRQ
  8605.                       level and  port address.   You can set the correct
  8606.                       port at
  8607.                  
  8608.                            <ALT>P,
  8609.                                 C)ommunications,
  8610.                                      a) Serial port.
  8611.                  
  8612.                       If you are unable to run PibTerm at all because of
  8613.                       an incorrect  port setting,  you can  use the "/p"
  8614.                       command line  option of  PibTerm to  override  the
  8615.                       port number specified in the PIBTERM.CNF file.
  8616.                  
  8617.                       You can  also change  the  port  using  the  ACNS-
  8618.                       supplied CONFIG program, or by using a text-editor
  8619.                       to directly  change the  PIBTERM.CNF file.    Make
  8620.                                                                     Make
  8621.                       sure your text editor produces ordinary Ascii text
  8622.                       sure your text editor produces ordinary Ascii text
  8623.                       files, NOT word-processor files.
  8624.                       files, NOT word-processor files.
  8625.                  
  8626.  
  8627.  
  8628.             A Guide to PibTerm v4.1 at Northwestern               Page 129
  8629.             A Guide to PibTerm v4.1 at Northwestern               Page 129
  8630.  
  8631.  
  8632.                  f)   Make sure  that you have correctly set the dialing
  8633.                       parameters for  either a  touch-tone or  a rotary-
  8634.                       dial line.   See  the section  on  "Problems  with
  8635.                       Dialing" for more details.
  8636.                  
  8637.             Problem:  The Jump to DOS feature (<ALT>J) doesn't work.
  8638.             Problem:                                                
  8639.             
  8640.             What to do:
  8641.             What to do:
  8642.             
  8643.                  a)   Make sure  that you  have enough memory to run the
  8644.                       Jump to DOS.  You should have at least 35K of free
  8645.                       space.   You can  check this by hitting <ALT>Y and
  8646.                       checking the  available heap space.  If that value
  8647.                       isn't  at  least  35000,  the  Jump  to  DOS  will
  8648.                       probably fail.
  8649.                  
  8650.                  b)   Make sure  that you  have a  copy  of  COMMAND.COM
  8651.                       along the current DOS PATH=.  Alternatively, place
  8652.                       a copy of COMMAND.COM in the same directory as the
  8653.                       PibTerm files,  pointed to  by  the  SET  PIBTERM=
  8654.                       variable you  should have  set  according  to  the
  8655.                       instructions  displayed  by  the  PibTerm  INSTALL
  8656.                       program.  If you are not at Northwestern, then see
  8657.                       Appendix A  for instructions  on setting  the  DOS
  8658.                       PATH= for use with PibTerm.
  8659.                  
  8660.                       Also see  the section  "Access  to  the  Operating
  8661.                       System: <ALT>J" for other problem solutions.
  8662.                  
  8663.             Problem:  Communications proceed, but VERY slowly.
  8664.             Problem:                                          
  8665.             
  8666.                       You may  experience extremely slow communications,
  8667.                       where it  appears that only one character is being
  8668.                       sent out by PibTerm every five or six seconds, but
  8669.                       INCOMING characters are received correctly.
  8670.             
  8671.             What to do:
  8672.             What to do:
  8673.             
  8674.                       Either your  modem, serial  port, or  modem  cable
  8675.                       isn't  transmitting  the  Clear-To-Send  or  Data-
  8676.                       Set_Ready signals.  You can tell PibTerm to ignore
  8677.                       those signals at
  8678.                       
  8679.                            <ALT>P,
  8680.                                 C)ommunications,
  8681.                                      h) Check clear to send
  8682.                                      i) Check data set ready
  8683.                       
  8684.                       Try setting "Check clear to send" to NO first.  If
  8685.                       that doesn't  help, try  setting "Check  data  set
  8686.                       ready" to NO as well.
  8687.             
  8688.  
  8689.  
  8690.             A Guide to PibTerm v4.1 at Northwestern               Page 130
  8691.             A Guide to PibTerm v4.1 at Northwestern               Page 130
  8692.  
  8693.  
  8694.             Problem:  Screen display "snows" badly.
  8695.             Problem:                               
  8696.             
  8697.                       You may find that the screen display "snows" badly
  8698.                       every time  PibTerm writes anything on the screen.
  8699.                       This means  that multicolor  splotches appear  and
  8700.                       the  screen   flickers  in  a  very  disconcerting
  8701.                       manner.   This "snow"  stems from a design flaw in
  8702.                       the original  IBM color graphics adapter (CGA) and
  8703.                       some other  graphics cards  which seek  to emulate
  8704.                       the IBM CGA.
  8705.             
  8706.             What to do:
  8707.             What to do:
  8708.             
  8709.                       Tell  PibTerm  to  slow  down  screen  writing  by
  8710.                       writing  characters  to  the  screen  only  during
  8711.                       "safe" periods  when snow  won't occur.     To  do
  8712.                       this, press
  8713.                       
  8714.                            <ALT>P,
  8715.                                 V)ideo mode and colors,
  8716.                                      k) Wait for retrace
  8717.                       
  8718.                       This should eliminate most or all of the snow.
  8719.                       
  8720.                       The standard  IBM  color  graphics  adapter  (CGA)
  8721.                       blinks  the   screen  every  time  the  screen  is
  8722.                       scrolled  up.     You   can  circumvent   this  by
  8723.                       requesting that  PibTerm perform  the scrolling in
  8724.                       an alternate  manner that  eliminates flicker, but
  8725.                       which   slows   down   the   rate   of   scrolling
  8726.                       considerably. Press
  8727.                       
  8728.                            <ALT>P,
  8729.                                 V)ideo mode and colors,
  8730.                                      q) Use software scrolling
  8731.                       
  8732.             Problem:  Many characters dropped in screen display.
  8733.             Problem:                                            
  8734.             
  8735.                       You may  find that  some characters  are correctly
  8736.                       displayed, but  many more  are simply dropped from
  8737.                       the display and don't appear at all.
  8738.                       
  8739.             What to do:
  8740.             What to do:
  8741.             
  8742.             
  8743.                       There  are   many  possible  reasons  for  dropped
  8744.                       characters.
  8745.                       
  8746.                       a)   You are  running a  program  which  conflicts
  8747.                            with PibTerm  in some  way (see  the  section
  8748.                            above  on   "Programs  which   conflict  with
  8749.                            PibTerm").
  8750.                       
  8751.  
  8752.  
  8753.             A Guide to PibTerm v4.1 at Northwestern               Page 131
  8754.             A Guide to PibTerm v4.1 at Northwestern               Page 131
  8755.  
  8756.  
  8757.                       b)   You are  running at  too high a baud rate for
  8758.                            your PC  to keep  up with  the remote system.
  8759.                            Try using a lower baud rate.
  8760.                       
  8761.                       c)   Your serial  port or  cable is  damaged.  Try
  8762.                            replacing your cable, then try another serial
  8763.                            port in your machine if you have one.
  8764.                       
  8765.                       d)   Your modem is bad, or your phone line is bad.
  8766.                            Try another modem if you can, and try calling
  8767.                            the remote  system again.   Try another phone
  8768.                            line if you have access to one.
  8769.                       
  8770.                       e)   Your display adapter turns off interrupts for
  8771.                            too long  a time,  causing the serial port to
  8772.                            drop  incoming   characters.     Try  setting
  8773.                            PibTerm for direct screen writes with NO wait
  8774.                            for retrace at
  8775.                       
  8776.                                 <ALT>P,
  8777.                                      V)ideo mode and colors,
  8778.                                           j) Write directly
  8779.                                           k) Wait for retrace
  8780.                            
  8781.                            Also, turn off the status display during file
  8782.                            transfers by  hitting <SHIFT><TAB>  after the
  8783.                            transfer starts.
  8784.                            
  8785.                       
  8786.             Saving changed parameters
  8787.             Saving changed parameters
  8788.             
  8789.             Any parameter changes you make  can  be  saved   by pressing
  8790.             
  8791.                  <ALT>P,
  8792.                       W)rite config file
  8793.             
  8794.             This means  you only need  to reset  the parameters once and
  8795.             then you can save your changes for the next time. 
  8796.             
  8797.             
  8798.             A Final Word From The Author
  8799.             A Final Word From The Author
  8800.             
  8801.             PibTerm has  gone through  many changes  over the  past four
  8802.             years.  Nearly all of the changes and improvements have been
  8803.             implemented in response to the suggestions of PibTerm users.
  8804.             
  8805.             I'd  like   to  thank  collectively  all  of  you  who  have
  8806.             contributed so  many excellent  ideas to  the development of
  8807.             PibTerm:  PibTerm program users, especially the Northwestern
  8808.             University community;  Sysops whose  patience with  my using
  8809.             their  systems   to  communicate   with  my  testers  seemed
  8810.             inexhaustible; and  PibTerm program  testers,  without  whom
  8811.             PibTerm would probably never have run correctly on anything!
  8812.             
  8813.  
  8814.  
  8815.             A Guide to PibTerm v4.1 at Northwestern               Page 132
  8816.             A Guide to PibTerm v4.1 at Northwestern               Page 132
  8817.  
  8818.  
  8819.             Thank-you one and all!
  8820.             
  8821.             --   Phil "Pib" Burns
  8822.                  February, 1988
  8823.             
  8824.             
  8825.  
  8826.  
  8827.  
  8828.  
  8829.  
  8830.             
  8831.             
  8832.             Appendix A -- Installing PibTerm
  8833.             Appendix A -- Installing PibTerm
  8834.             
  8835.             ACNS provides  Northwestern University users of PibTerm with
  8836.             special customized  installation programs for PibTerm called
  8837.             INSTALL.COM and  CONFIG.COM.   These programs are located on
  8838.             INSTALL.COM      CONFIG.COM                                 
  8839.             Disk A  of the  Northwestern University  release set.  These
  8840.             installation  programs  are  NOT  PROVIDED  in  the  general
  8841.             PibTerm release for the rest of the universe.  If you are at
  8842.             Northwestern University,  but you  received your  copies  of
  8843.             PibTerm  elsewhere,   contact  the   Information  Center  in
  8844.             Academic Computing  about  getting  a  proper  ACNS  PibTerm
  8845.             release set.
  8846.             
  8847.             This appendix  discusses the  installation  of  PibTerm  for
  8848.             those individuals who are not at Northwestern University and
  8849.             therefore did  not receive  the special  INSTALL and  CONFIG
  8850.             programs.   The most  difficult part  of  using  PibTerm  is
  8851.             getting it installed in the first place!
  8852.             
  8853.             You need a system with AT LEAST 300K of AVAILABLE RAM memory
  8854.                                    AT LEAST 300K of AVAILABLE RAM memory
  8855.             (on top  of the  operating system  and resident programs) to
  8856.             run PibTerm.   You  also need  at least  two  360K  diskette
  8857.             drives, or a single drive with 720K or more space available,
  8858.             or (preferably)  a hard  disk.   While it is POSSIBLE to run
  8859.             PibTerm on  a single  360K floppy system, we don't recommend
  8860.             it.
  8861.             
  8862.             After you  get the  PibTerm files,  make sure  to  create  a
  8863.             backup  copy  of  the  files  on  whatever  medium  is  most
  8864.             convenient for you.
  8865.             
  8866.             Most of  the time, if you get PibTerm on diskettes, you will
  8867.             find a  copy of a dearchiving program like Vern Buerg's ARCE
  8868.             or Phil Katz's PKXARC has also been placed on each diskette.
  8869.             The installation  instruction below  assume that this is the
  8870.             case.
  8871.             
  8872.             
  8873.             Hard Disk Installation
  8874.             Hard Disk Installation
  8875.             
  8876.             This section describes the installation of PibTerm on a hard
  8877.             drive.   However, these  same instructions  can be  used  to
  8878.             install  PibTerm  on  a  high  capacity  floppy  drive  (1.2
  8879.             megabytes or greater).
  8880.             
  8881.             (1)  Create a  subdirectory  on  your  hard  drive  to  hold
  8882.                  PibTerm.  If you already have an old version of PibTerm
  8883.                  you should  back up  the old version and then erase the
  8884.                  old executables from your hard drive:
  8885.             
  8886.                       ERASE PIBTERM.COM
  8887.                       ERASE PT4*.CHN
  8888.  
  8889.  
  8890.             A Guide to PibTerm v4.1      Appendix A               Page 134
  8891.             A Guide to PibTerm v4.1      Appendix A               Page 134
  8892.  
  8893.  
  8894.                       ERASE PIBTERM.0*
  8895.             
  8896.                  Leave copies  of  your  current  PibTerm  configuration
  8897.                  files in  the directory.   These  include  PIBTERM.CNF,
  8898.                  PIBTERM.PRE, PIBTERM.FON, and so on.
  8899.             
  8900.                  For example,  if your  hard drive is drive C: you could
  8901.                  create a subdirectory PIBTERM as follows:
  8902.             
  8903.                       MKDIR C:\PIBTERM
  8904.                       CD      \PIBTERM
  8905.             
  8906.                  You  should   move  to  the  PibTerm  directory  before
  8907.                  extracting the files in step 2 below.
  8908.             
  8909.             (2)  Extract the  files in  PIBT41E1.ARC and PIBT41E2.ARC to
  8910.                  the  PibTerm   subdirectory.  Use   your  favorite  de-
  8911.                  archiver.   For  example,  if  drive  A:  contains  the
  8912.                  PIBT41E1.ARC file,  and you  have the  ARCE.COM program
  8913.                  installed on  your hard  drive, then  you could extract
  8914.                  the files as follows:
  8915.             
  8916.                       ARCE A:PIBT41E1
  8917.             
  8918.                  Likewise, extract the files from PIBT41E2.ARC:
  8919.             
  8920.                       ARCE A:PIBT4E2
  8921.             
  8922.                  You should  now have the following files (among others)
  8923.                  in the PibTerm subdirectory:
  8924.                  
  8925.                       PIBTERM.EXE     Main executable program
  8926.                       PIBTERM.OVR     Program overlays
  8927.                       PIBCOLOR.CNF    Color configuration file
  8928.                       PIBMONO.CNF     Mono configuration file
  8929.                       PIBBW.CNF       Black and white configuration file
  8930.                       CNFUPDAT.EXE    Config file updater
  8931.                  
  8932.                  CNFUPDAT.EXE  updates  pre-v4.1  PibTerm  configuration
  8933.                  files to v4.1 specifications.
  8934.                  
  8935.             (3)  If you  already have  existing configuration files from
  8936.                  an earlier version of PibTerm:
  8937.             
  8938.                       Execute  the   program  CNFUPDAT.EXE   which  will
  8939.                       convert  your   PIBTERM.CNF  file   from   earlier
  8940.                       versions of  PibTerm to  that required  for  v4.1.
  8941.                       For example,
  8942.                       
  8943.                            CNFUPDAT PIBTERM
  8944.                       
  8945.                       will convert  your old PIBTERM.CNF file to the new
  8946.                       format. (The  old file will be renamed PIBTERM.CNO
  8947.                       in case you want to keep a copy of it around.)
  8948.  
  8949.  
  8950.             A Guide to PibTerm v4.1      Appendix A               Page 135
  8951.             A Guide to PibTerm v4.1      Appendix A               Page 135
  8952.  
  8953.  
  8954.                       
  8955.                  If   you    don't   already   have   existing   PibTerm
  8956.                  configuration files:
  8957.                  
  8958.                       If you  have a  color graphics  adapter and  color
  8959.                       monitor, rename PIBCOLOR.CNF to PIBTERM.CNF.
  8960.                       
  8961.                       If you  have a  monochrome  adapter  and  monitor,
  8962.                       rename PIBMONO.CNF to PIBTERM.CNF.
  8963.                       
  8964.                       If  you  have  a  color  graphics  adapter  and  a
  8965.                       monochrome   monitor,    rename    PIBBW.CNF    to
  8966.                       PIBTERM.CNF.
  8967.                  
  8968.                  PibTerm will  create the remaining parameter files when
  8969.                  you execute it the first time.
  8970.                  
  8971.             (4)  Make sure  that your CONFIG.SYS file specifies AT LEAST
  8972.                  the following minimum FILES= and BUFFERS= sizes:
  8973.             
  8974.                       FILES=20
  8975.                       BUFFERS=30
  8976.             
  8977.                  If you  don't have  an existing  CONFIG.SYS file,  then
  8978.                  copy the  file CONFIG.PIB  provided as part of the ACNS
  8979.                  release materials  to the  root directory  of your boot
  8980.                  disk, and rename it CONFIG.SYS.
  8981.             
  8982.             (5)  If you  have an  existing AUTOEXEC.BAT  file,  add  the
  8983.                  following statement to it:
  8984.             
  8985.                       SET PIBTERM=C:\PIBTERM
  8986.             
  8987.                  where the directory name you enter is that in which you
  8988.                  installed PibTerm.
  8989.                  
  8990.                  If you  do not have an existing AUTOEXEC.BAT file, then
  8991.                  copy the  file AUTOEXEC.PIB  provided as  part  of  the
  8992.                  PibTerm release materials to the root directory of your
  8993.                  boot disk, and rename it AUTOEXEC.BAT.
  8994.                  
  8995.                  
  8996.             (6)  If  you   already  have   a  PATH   statement  in  your
  8997.                  AUTOEXEC.BAT file,  add the  PibTerm path  to  it.  For
  8998.                  example, if your path statement looks like this:
  8999.             
  9000.                       PATH C:;C:\DOS
  9001.             
  9002.                  then append the PibTerm subdirectory like this:
  9003.             
  9004.                       PATH C:;C:\DOS;C:\PIBTERM
  9005.             
  9006.  
  9007.  
  9008.             A Guide to PibTerm v4.1      Appendix A               Page 136
  9009.             A Guide to PibTerm v4.1      Appendix A               Page 136
  9010.  
  9011.  
  9012.                  If you  used  the  supplied  AUTOEXEC.PIB  file  (after
  9013.                  renaming it  to AUTOEXEC.BAT),  then you  may  need  to
  9014.                  modify the PATH statement therein to match your system.
  9015.             
  9016.             
  9017.             (7)  You should  now reboot  so that  the various CONFIG.SYS
  9018.                  and AUTOEXEC.BAT file changes take effect.
  9019.             
  9020.             (8)  To execute PibTerm, just type
  9021.             
  9022.                       PIBTERM
  9023.             
  9024.                  If you have around 300K of available expanded memory in
  9025.                  your system, you can type
  9026.                  
  9027.                       PIBTERM /x
  9028.                  
  9029.                  and PibTerm  will load its overlays into EMS or EEMS at
  9030.                  program starup  time, and  then load  them  from  there
  9031.                  during the  remainder of execution. This is much faster
  9032.                  than loading the overlays from disk. (However, even the
  9033.                  disk-resident v4.1 overlays will load much more quickly
  9034.                  than the previous v4.0.x .CHN-style overlays.)
  9035.             
  9036.             
  9037.             Single-floppy (>360K) system
  9038.             Single-floppy (>360K) system
  9039.             
  9040.             (1)  Format a new diskette (we'll call it the PibTerm Master
  9041.                  Diskette) with the operating system on it using the DOS
  9042.                  FORMAT command:
  9043.             
  9044.                       FORMAT A: /S
  9045.             
  9046.             (2)  Copy the  file PIBT41E2.ARC  onto  the  PibTerm  Master
  9047.                  Diskette using the DOS COPY command:
  9048.             
  9049.                       COPY B:PIBT41E2.ARC A: /V
  9050.             
  9051.                  DOS prompts you to enter the diskette with PIBT41E2.ARC
  9052.                  on it as drive B:.  DOS then asks you to swap diskettes
  9053.                  as needed until the copy is finished.
  9054.                  
  9055.                  If the  diskette with  the PIBT41E1.ARC file on it also
  9056.                  contains a  dearchiver, then  make sure  you  copy  the
  9057.                  dearchiver to the PibTerm Master Diskette as well.  For
  9058.                  example, assuming  that Vern  Buerg's program  ARCE  is
  9059.                  provided with the PibTerm archives:
  9060.                  
  9061.                       COPY B:ARCE.COM A: /V
  9062.                  
  9063.                  If the  the diskette from which you copied PIBT41E1.ARC
  9064.                  doesn't have  a dearchiver  on it,  then make  sure you
  9065.                  have another floppy handy that DOES have the dearchiver
  9066.  
  9067.  
  9068.             A Guide to PibTerm v4.1      Appendix A               Page 137
  9069.             A Guide to PibTerm v4.1      Appendix A               Page 137
  9070.  
  9071.  
  9072.                  on it,  and then  copy the  dearchiver from  the  other
  9073.                  diskette onto the PibTerm Master Diskette.
  9074.                  
  9075.             (3)  Extract the  contents of  PIBT41E2.ARC onto the PibTerm
  9076.                  Master Diskette  using the  dearchiving program.    For
  9077.                  example, using ARCE.COM:
  9078.             
  9079.                       A:
  9080.                       ARCE PIBT41E2
  9081.             
  9082.                  After the extraction completes, erase PIBT41E2.ARC from
  9083.                  the PibTerm Master Diskette.
  9084.             
  9085.             (4)  Repeat steps  2 and  3 above, except this time with the
  9086.                  diskette containing the PIBT41E1.ARC file.
  9087.             
  9088.                  You will now have all the required PibTerm files loaded
  9089.                  onto the PibTerm Master Diskette.
  9090.             
  9091.             (4)  Rename the file CONFIG.PIB to CONFIG.SYS.  You may need
  9092.                  to edit  CONFIG.SYS in  case you  have any extra device
  9093.                  drivers or special RAM boards in your system.
  9094.             
  9095.             (5)  If you  already have  existing configuration files from
  9096.                  an earlier version of PibTerm, then proceed as follows:
  9097.             
  9098.                       Copy the  old configuration files onto the PibTerm
  9099.                       Master Diskette  at this  time.   For example,  if
  9100.                       you've  previously  backed  up  your  old  PibTerm
  9101.                       configuration files to another diskette, then copy
  9102.                       these files  from  your  backup  diskette  to  the
  9103.                       PibTerm Master Diskette:
  9104.                  
  9105.                            COPY B:PIBTERM.FON A: /V
  9106.                            COPY B:PIBTERM.PRE A: /V
  9107.                            COPY B:PIBTERM.CNF A: /V
  9108.             
  9109.                       You can  also copy  any old  translate  tables  or
  9110.                       function key  files to the PibTerm Master Diskette
  9111.                       as well.
  9112.             
  9113.                       Execute  the   program  CNFUPDAT.EXE   which  will
  9114.                       convert  your   PIBTERM.CNF  file   from   earlier
  9115.                       versions of PibTerm to that required for v4.1.
  9116.                       
  9117.                       For example,
  9118.                       
  9119.                            CNFUPDAT PIBTERM
  9120.                       
  9121.                       converts your  old PIBTERM.CNF  file  to  the  new
  9122.                       format. (The  old file  is renamed  PIBTERM.CNO in
  9123.                       case you want to keep a copy of it.)
  9124.                       
  9125.  
  9126.  
  9127.             A Guide to PibTerm v4.1      Appendix A               Page 138
  9128.             A Guide to PibTerm v4.1      Appendix A               Page 138
  9129.  
  9130.  
  9131.                       Erase  CNFUPDAT.EXE   from  the   PibTerm   Master
  9132.                       diskette after you finish the conversion.
  9133.                       
  9134.                  If   you    don't   already   have   existing   PibTerm
  9135.                  configuration files:
  9136.                  
  9137.                       If you  have a  color graphics  adapter and  color
  9138.                       monitor, rename PIBCOLOR.CNF to PIBTERM.CNF.
  9139.                       
  9140.                       If you  have a  monochrome  adapter  and  monitor,
  9141.                       rename PIBMONO.CNF to PIBTERM.CNF.
  9142.                       
  9143.                       If  you  have  a  color  graphics  adapter  and  a
  9144.                       monochrome   monitor,    rename    PIBBW.CNF    to
  9145.                       PIBTERM.CNF.
  9146.                  
  9147.                  PibTerm will  create the remaining parameter files when
  9148.                  you first execute it.
  9149.                  
  9150.                  You can  erase any  unused .CNF  files from the PibTerm
  9151.                  Master Diskette at this time.
  9152.             
  9153.             (6)  You can  boot from  the PibTerm  Master Diskette.    To
  9154.                  execute PibTerm after rebooting, just type
  9155.             
  9156.                       PIBTERM
  9157.             
  9158.                  Any missing  configuration files  will be  created  the
  9159.                  first time you execute PibTerm.
  9160.             
  9161.             
  9162.             Dual-floppy system
  9163.             Dual-floppy system
  9164.             
  9165.             If one  of your  floppy drives  allows a capacity of 720K or
  9166.             greater, then  you can install PibTerm on it using the above
  9167.             instructions  for   a  high-capacity  single-floppy  system,
  9168.             except that  you won't  have to  physically swap floppies as
  9169.             often.
  9170.             
  9171.             For a  dual-floppy system  in which  each diskette  has only
  9172.             360K available, proceed as follows ot install PibTerm.
  9173.             
  9174.             (1)  Format TWO  new diskettes using the DOS FORMAT command.
  9175.                  Place the  operating system on one so that you can boot
  9176.                  from it:
  9177.             
  9178.                       FORMAT A: /S          <--- one with a system
  9179.                       FORMAT B:             <--- one without
  9180.             
  9181.                  We will call the diskette with the operating system the
  9182.                  PibTerm System  Diskette.   We will  call the  diskette
  9183.                  without the system the PibTerm Overlay Diskette.
  9184.                  
  9185.  
  9186.  
  9187.             A Guide to PibTerm v4.1      Appendix A               Page 139
  9188.             A Guide to PibTerm v4.1      Appendix A               Page 139
  9189.  
  9190.  
  9191.                  Copy the  file  COMMAND.COM  from  the  PibTerm  System
  9192.                  Diskette to  the PibTerm Overlay Diskette using the DOS
  9193.                  copy command:
  9194.                  
  9195.                       COPY A:COMMAND.COM B: /V
  9196.                  
  9197.             (2)  Remove the  PibTerm System  Diskette from  drive A: and
  9198.                  put the  diskette with  PIBT41E1.ARC in drive A:.  Most
  9199.                  of the  time the  diskette containing PIBT41E1.ARC will
  9200.                  also contain a dearchiving program like ARCE or PKXARC.
  9201.                  If it  doesn't, then  put a  copy of  a dearchiver onto
  9202.                  disk A:.  For simplicity  here, we'll  assume that  the
  9203.                  dearchiver is Buerg's ARCE.
  9204.             
  9205.                  Extract the  contents PIBT41E1  on drive A: to diskette
  9206.                  B:, the PibTerm Overlay Diskette:
  9207.             
  9208.                       B:
  9209.                       A:ARCE A:PIBT41E1
  9210.             
  9211.             (3)  Remove the  diskette with  PIBT41E1.ARC from  drive A:.
  9212.                  Put the PibTerm System Diskette back in drive A:.  Copy
  9213.                  the following  files from drive B: (the PibTerm Overlay
  9214.                  Diskette) to drive A:
  9215.             
  9216.                       COPY B:PIBTERM.EXE A: /V
  9217.                       COPY B:*.2FL A: /V
  9218.                       
  9219.                  Erase these  files from  drive B:,  along  with  a  few
  9220.                  others:
  9221.             
  9222.                       ERASE B:PIBTERM.EXE
  9223.                       ERASE B:*.2FL
  9224.                       ERASE B:*.PIB
  9225.             
  9226.             (4)  Rename the  file CONFIG.2FL,  now on the PibTerm System
  9227.                  Diskette, to CONFIG.SYS:
  9228.             
  9229.                       A:
  9230.                       RENAME CONFIG.2FL CONFIG.SYS
  9231.             
  9232.                  If you already have a CONFIG.SYS file that you normally
  9233.                  use, then  add  the  statements  from  CONFIG.2FL  that
  9234.                  aren't already  present in  your current  CONFIG.SYS to
  9235.                  your CONFIG.SYS  on the  PibTerm   IT IS IMPORTANT that
  9236.                                                     IT IS IMPORTANT     
  9237.                  the COMSPEC=  from CONFIG.2FL  be used  instead of  any
  9238.                  currently in your present CONFIG.SYS.
  9239.             
  9240.             (5)  Rename the file AUTOEXEC.2FL to AUTOEXEC.BAT.
  9241.             
  9242.                       RENAME AUTOEXEC.2FL AUTOEXEC.BAT
  9243.             
  9244.  
  9245.  
  9246.             A Guide to PibTerm v4.1      Appendix A               Page 140
  9247.             A Guide to PibTerm v4.1      Appendix A               Page 140
  9248.  
  9249.  
  9250.                  If you  already  use  an  AUTOEXEC.BAT,  then  add  the
  9251.                  statements   from    AUTOEXEC.2FL   to   your   regular
  9252.                  AUTOEXEC.BAT file.
  9253.             
  9254.             (6)  Remove the  PibTerm System  Diskette from  drive A: and
  9255.                  place the diskette which contains PIBT41E2.ARC in drive
  9256.                  A:.   Extract  the  contents  of  PIBT41E2.ARC  to  the
  9257.                  PibTerm Overlay Diskette in drive B:
  9258.             
  9259.                       B:
  9260.                       A:ARCE A:PIBT41E2
  9261.             
  9262.                  The only  file in  PIBT41E2 is PIBTERM.OVR, the PibTerm
  9263.                  overlay file.
  9264.             
  9265.             (7)  If you  already have  existing configuration files from
  9266.                  an earlier version of PibTerm, then proceed as follows:
  9267.             
  9268.                       Copy the  old configuration files onto the PibTerm
  9269.                       Overlay   Diskette at  this time.  For example, if
  9270.                       you've  previously  backed  up  your  old  PibTerm
  9271.                       configuration files to another diskette, then copy
  9272.                       these files  from  your  backup  diskette  to  the
  9273.                       PibTerm Master  diskette.  Place the diskette with
  9274.                       the old PibTerm configuration files in drive A:
  9275.                  
  9276.                            COPY A:PIBTERM.FON B: /V
  9277.                            COPY A:PIBTERM.PRE B: /V
  9278.                            COPY A:PIBTERM.CNF B: /V
  9279.             
  9280.                       You can  also copy  any old  translate  tables  or
  9281.                       function  keys   files  to   the  PibTerm  Overlay
  9282.                       Diskette as well.
  9283.             
  9284.                       Execute  the   program  CNFUPDAT.EXE   which  will
  9285.                       convert  your   PIBTERM.CNF  file   from   earlier
  9286.                       versions of  PibTerm to  that required  for  v4.1.
  9287.                       For example,
  9288.                       
  9289.                            CNFUPDAT PIBTERM
  9290.                       
  9291.                       converts your  old PIBTERM.CNF  file  to  the  new
  9292.                       format. (The  old file  is renamed  PIBTERM.CNO in
  9293.                       case you want to keep a copy of it.)
  9294.                       
  9295.                       Erase  CNFUPDAT.EXE   from  the   PibTerm  Overlay
  9296.                       diskette after you finish the conversion.
  9297.                       
  9298.                  If   you    don't   already   have   existing   PibTerm
  9299.                  configuration files:
  9300.                  
  9301.                       If you  have a  color graphics  adapter and  color
  9302.                       monitor, rename PIBCOLOR.CNF to PIBTERM.CNF.
  9303.                       
  9304.  
  9305.  
  9306.             A Guide to PibTerm v4.1      Appendix A               Page 141
  9307.             A Guide to PibTerm v4.1      Appendix A               Page 141
  9308.  
  9309.  
  9310.                       If you  have a  monochrome  adapter  and  monitor,
  9311.                       rename PIBMONO.CNF to PIBTERM.CNF.
  9312.                       
  9313.                       If  you  have  a  color  graphics  adapter  and  a
  9314.                       monochrome   monitor,    rename    PIBBW.CNF    to
  9315.                       PIBTERM.CNF.
  9316.                  
  9317.                  PibTerm will  create the remaining parameter files when
  9318.                  you first execute it.
  9319.                  
  9320.                  You can  erase any  unused .CNF  files from the PibTerm
  9321.                  Overlay diskette at this time.
  9322.             
  9323.             (8)  Replace the  PibTerm System  Diskette in  drive A:. You
  9324.                  can now  reboot by  striking <CTRL><ALT><DEL>.    After
  9325.                  rebooting, you can execute PibTerm by typing
  9326.             
  9327.                       PIBTERM
  9328.             
  9329.             This setup  allows you  to keep drive A: completely open for
  9330.             file transfers,  as only  drive B:  is needed by PibTerm for
  9331.             its overlays  and other  configuration files  after  initial
  9332.             program loading.
  9333.             
  9334.             
  9335.             Single-floppy system, 360K only
  9336.             Single-floppy system, 360K only
  9337.             
  9338.             As mentioned  above, PibTerm  is not  designed  for  use  on
  9339.             systems with  only a  single low-capacity  floppy drive.  If
  9340.             you really  want to use PibTerm on such a system, you need a
  9341.             full 640K  of RAM  installed, and preferably 704K.  (You CAN
  9342.             get 704K  of usable memory with some memory boards, assuming
  9343.             that you DO NOT have an EGA or VGA.)
  9344.             
  9345.             Obtain a copy of a RAM disk program and install the RAM disk
  9346.             as drive B: with a 360K size. There are a number of good RAM
  9347.             disk programs  available in  the public  domain, as  well as
  9348.             commercial and  shareware  RAM  disk  programs.  Follow  the
  9349.             installation procedure  given above for the two-floppy drive
  9350.             system, but  using the  RAM disk  as the second drive.  Copy
  9351.             the  RAM  disk  contents  to  real  diskettes  whenever  you
  9352.             "switch" the contents of the RAM disk with another diskette.
  9353.             
  9354.             To run  PibTerm, modify your AUTOEXEC.BAT file or CONFIG.SYS
  9355.             file (depending  upon your  RAM drive  software) to create a
  9356.             RAM disk  big enough  to hold  the PIBTERM.OVR  file.  (300K
  9357.             should be  enough.)   After booting, copy PIBTERM.OVR to the
  9358.             RAM disk.   Make sure the PATH statement in the AUTOEXEC.BAT
  9359.             file references both drive A: and the RAM drive B:
  9360.             
  9361.                  PATH A:;B:
  9362.             
  9363.  
  9364.  
  9365.             A Guide to PibTerm v4.1      Appendix A               Page 142
  9366.             A Guide to PibTerm v4.1      Appendix A               Page 142
  9367.  
  9368.  
  9369.             When you execute PibTerm from drive A:, the overlays will be
  9370.             loaded from  the RAM  disk.  You will have enough free space
  9371.             on drive A: to download small files.
  9372.             
  9373.             This setup is a VERY tight squeeze as regards RAM usage. You
  9374.             will need to reduce the sizes of PibTerm parameters like the
  9375.             review buffer size, file transfer buffer size, and input and
  9376.             output serial buffer size to an absolute minimum.
  9377.             
  9378.             
  9379.  
  9380.  
  9381.  
  9382.  
  9383.  
  9384.             
  9385.             
  9386.             
  9387.             /c -- program parameter,
  9388.                 configuration file name, 120
  9389.             /d -- program parameter,
  9390.                 dialing directory name, 120
  9391.             /e -- program parameter,
  9392.                 dialing prefix file name, 120
  9393.             /k -- program parameter,
  9394.                 function key file name, 120
  9395.             /l -- program parameter,
  9396.                 log file name, 120
  9397.             /p -- program parameter,
  9398.                 serial port number, 120
  9399.             /s -- program parameter,
  9400.                 script to be executed, 120
  9401.             /t -- program parameter,
  9402.                 translate file name, 120
  9403.             /x -- program parameter,
  9404.                 requests overlays be placed in expanded memory, 120
  9405.             /x -- program parameter,
  9406.                 requests overlays be placed in expanded memory, 121
  9407.             132 column support in VT100 mode, 52
  9408.                 requires ATI EGA/VGA card, 52
  9409.             <ALERT> -- displayed in mute mode in lieu of beep, 118
  9410.             <ALT> -- Starts PibTerm commands, 6
  9411.             <ALT>A -- Editing a line on screen, 118
  9412.             <ALT>B -- Sending a break, 26
  9413.             <ALT>C -- Clearing the screen, 51
  9414.             <ALT>D -- Dialing directory access, 27
  9415.             <ALT>E -- Toggling local/remote echo, 21
  9416.             <ALT>F -- File manipulation, 102
  9417.             <ALT>G -- Executing a script, 94
  9418.             <ALT>H -- Hanging up the phone, 83
  9419.             <ALT>I -- Displays PibTerm commands, 6
  9420.             <ALT>J -- Jump to DOS, 101
  9421.             <ALT>K -- Defining function keys, 109
  9422.             <ALT>K -- Manipulating function key definitions, 43
  9423.             <ALT>L -- Logging session to printer, 115
  9424.             <ALT>M -- Mute mode, 118
  9425.             <ALT>N -- Setting communications parameters quickly with, 21
  9426.             <ALT>O -- Capture session to disk, 115
  9427.             <ALT>P -- Changing PibTerm parameters, 8, 10
  9428.             <ALT>Q -- Redial last number dialed, 34
  9429.             <ALT>R -- Receive a file, 60
  9430.             <ALT>S -- Send a file, 60
  9431.             <ALT>T -- Translate received text, 118
  9432.             <ALT>U -- Screen image dump, 116
  9433.             <ALT>V -- Scanning review buffer, 117
  9434.             <ALT>W -- Host mode, 84
  9435.             <ALT>X -- Exiting PibTerm, 83
  9436.             <ALT>X -- Terminating script execution, 84, 94
  9437.             <ALT>Y -- Displaying session timers, 119, 125
  9438.  
  9439.  
  9440.             A Guide to PibTerm v4.1          Index                Page 144
  9441.             A Guide to PibTerm v4.1          Index                Page 144
  9442.  
  9443.  
  9444.             <ALT>Z -- Locating a dialing area code, 120
  9445.             <CTRL>P
  9446.                 entering control codes with, 15
  9447.             <CTRL>T
  9448.                 program interruption key on NOS, 69
  9449.             <CTRL>Y -- terminating job under VAX/VMS with, 70
  9450.             <CTRL>Z
  9451.                 end of file marker, 77
  9452.             <SHIFT>TAB -- resetting current terminal emulation, 51
  9453.             @ -- marks PibTerm command in function key definition, 112
  9454.             ^
  9455.                 entering control characters with, 15
  9456.             ^ -- entering control characters with, 112
  9457.             ` -- cause wait for next character, 112
  9458.             Access to DOS using <ALT>J, 101
  9459.             Access to remote system
  9460.                 hard-wired, 16
  9461.                 modem, 16
  9462.             ACNS mainframes
  9463.                 communications settings for, 20
  9464.                 dialing directory settings for, 29
  9465.             ACP File Extend Failed -- Vax/VMS message, 68
  9466.             Active directory, changing active at <ALT>F, 102
  9467.             ADDCOMMAND -- script command allows definition of new
  9468.                     PibTerm commands, 123
  9469.             Adding line feeds in Gossip mode, 54
  9470.             Adding new PibTerm commands using ADDCOMMAND script command,
  9471.                     123
  9472.             ADM3a and ADM5 terminal emulation, 52
  9473.             AILU (asynchronous interface line unit)
  9474.                 Accessing ACNS systems with, 26
  9475.                 Defined, 17
  9476.             Alternate CTTY drivers, 89
  9477.             ANSI.SYS, 53
  9478.             ANSI/BBS terminal emulation, 52
  9479.                 recommended for BBS use, 52
  9480.             ARCE.COM -- Vern Buerg's dearchiver, 133
  9481.             Area codes
  9482.                 directory file PIBTERM.ACO, 120
  9483.                 locating using <ALT>Z, 120
  9484.             ASCII
  9485.                 defined, 18
  9486.                 extended ASCII, 19
  9487.                 file transfers -- see Non-protocol file transfer, 75
  9488.                 on ACNS systems, 18
  9489.                 on microcomputers, 18
  9490.             Asynchronous communications, 18
  9491.             AT command set, 17
  9492.                 DIUs/AILUs do not use, 26
  9493.                 suggested for use with PibTerm, 4
  9494.             AT&C1 -- modem command to set carrier detect normal, 24
  9495.             AT&D1 -- modem command to set data terminal ready line
  9496.                     normal, 25
  9497.             AT&M0 -- modem command to disable MNP, 26
  9498.  
  9499.  
  9500.             A Guide to PibTerm v4.1          Index                Page 145
  9501.             A Guide to PibTerm v4.1          Index                Page 145
  9502.  
  9503.  
  9504.             AT&M4 -- modem command to enable MNP, 26
  9505.             ATDP -- modem command to dial on rotary phone line, 38
  9506.             ATDT -- modem command to dial on touch-tone phone line, 38
  9507.             ATE0 -- modem command turns off local echo, 22
  9508.             ATE1 -- modem command turns on local echo, 22
  9509.             ATH0 -- modem command to hang up phone, 83
  9510.             ATI EGA Wonder, 52, 122
  9511.                 allows 132 columns in VT100, 52
  9512.             ATI VIP VGA, 52, 122
  9513.                 allows 132 columns in VT100, 52
  9514.             ATTACH -- make direct file available for processing under
  9515.                     NOS, 60
  9516.             Attaching a script to a function key, 114
  9517.             Attaching PibTerm commands to function keys, 113
  9518.                 using @ character, 113
  9519.             ATZ -- modem command to reset modem, 40
  9520.             Autodownload
  9521.                 Kermit, 64
  9522.                 Mahoney BBS protocol, 72
  9523.                 Ymodem for, on Mahoney BBS, 72
  9524.                 Zmodem, 74
  9525.             Automatic dialing speed adjustment, 21, 36
  9526.             Automatic file name extraction for transfers, 75
  9527.             Automatic loading of function key definitions, 48
  9528.             Background processing, 3, 124
  9529.             Backing up
  9530.                 old version of PibTerm, 133
  9531.                 PIBTERM.FON, 35
  9532.             Backspace key, 41
  9533.                 Ascii BS as backspace on Cyber, 42
  9534.                 Ascii DEL as backspace on Vax, 42
  9535.                 defining behavior of, 42
  9536.                 dialing directory setting for, 29, 42
  9537.                 Escape sequence ^[[OA as backspace on CMS, 42
  9538.                 HARDWIRE.SCR sets for ACNS systems, 42
  9539.             Basic
  9540.                 programs often reset communications ports, 101
  9541.             Batch file transfer
  9542.                 in external file transfer protocols, 80
  9543.                 Kermit as, 63
  9544.                 Mahoney protocol as, 72
  9545.                 Modem7 as, 71
  9546.                 Telink as, 72
  9547.                 Ymodem batch as, 71
  9548.                 Zmodem as, 73
  9549.             Batch files, 73
  9550.                 in external file transfer protocols, 73, 78, 80, 82
  9551.                 RECZMOD.BAT for receiving files using Zmodem protocol,
  9552.                         73
  9553.                 SENDZMOD.BAT for sending files using Zmodem protocol, 73
  9554.             Baud rate
  9555.                 automatic adjustment of when dialing, 21, 36
  9556.                 commonly used, 18
  9557.                 current setting displayed on status line, 50
  9558.  
  9559.  
  9560.             A Guide to PibTerm v4.1          Index                Page 146
  9561.             A Guide to PibTerm v4.1          Index                Page 146
  9562.  
  9563.  
  9564.                 defined, 18
  9565.                 dialing directory entry for, 29
  9566.                 settings for ACNS system, 20
  9567.                 sub-sub-menu at <ALT>P, 12
  9568.             Bells
  9569.                 turning off using <ALT>M, 118
  9570.             Binary files
  9571.                 Cyber SPSSX Export files as example, 59
  9572.                 defined, 59
  9573.                 transferring with Kermit, 59
  9574.             Bits
  9575.                 defined for communications, 17
  9576.             Block sequence error -- CDC/NOS Kermit message, 68
  9577.             Buerg, Vern
  9578.                 Author of ARCE.COM, 133
  9579.                 author of LIST.COM file viewer program, 108
  9580.             Burns, Philip "Pib"
  9581.                 author of PibTerm program, 131
  9582.             BUSY
  9583.                 modem status message  indicates number dialed is busy,
  9584.                         37
  9585.             Byte stream transfers, 76
  9586.             Bytes
  9587.                 defined for communications, 17
  9588.             Capturing PibTerm session, 115
  9589.                 CA on status line tells if capture in progress, 50
  9590.                 edited vs unedited capture, 116
  9591.                 to disk with <ALT>O, 115
  9592.             Carrier detect line, 24
  9593.                 CD shows current state on status line, 50
  9594.                 defined, 24
  9595.                 problems in dialing because of wrong setting, 39
  9596.                 setting always high, 37
  9597.                 setting for use in PibTerm, 24
  9598.             CD (carrier detect), 24, 50
  9599.             CDCNET
  9600.                 terminating session under, 69
  9601.             CDCNOS.FNC -- function key definitions for NOS, 43, 47, 48
  9602.             CED
  9603.                 Chris Dunford's keyboard enhancer, 16
  9604.             CGA, 55
  9605.             Changing PibTerm parameters, 8
  9606.             Character mode
  9607.                 in Gossip, 53
  9608.             Characters
  9609.                 defined for communications, 17
  9610.             Characters dropped
  9611.                 from screen display, 130
  9612.                 when dialing, 39
  9613.             Checksum, 56, 70
  9614.                 use in file transfer protocol, 56
  9615.             CHKDSK -- DOS program to check disk and report available
  9616.                     memory, 126
  9617.             Chris Dunford
  9618.  
  9619.  
  9620.             A Guide to PibTerm v4.1          Index                Page 147
  9621.             A Guide to PibTerm v4.1          Index                Page 147
  9622.  
  9623.  
  9624.                 author of CED and PCED, 16
  9625.             Christensen protocol (Xmodem), 2
  9626.             Christensen, Ward, 2, 70
  9627.                 Devised Xmodem protocol, 70
  9628.             Chuck Forsberg
  9629.                 Author of Zmodem protocol, 73
  9630.                 devised Ymodem protocol, 72
  9631.             Clear-to-send (CTS/RTS) flow control, 23
  9632.                 CT gives current setting on status line, 50
  9633.             Clearing the screen with <ALT>C, 51
  9634.             Clink program
  9635.                 implements SEALink file transfer protocol, 78
  9636.             Clone, 4, 42
  9637.                 running PibTerm on PC clone, 4
  9638.             CMS, 41, 42, 46, 61, 119
  9639.                 Kermit under, 61
  9640.                 Using PibTerm with, 46
  9641.             CNFUPDAT.EXE -- Converts old PIBTERM.CNF to PibTerm v4.1
  9642.                     format, 134, 137, 140
  9643.             Colors
  9644.                 changing current settings of, 121
  9645.                 changing VT100 colors, 122
  9646.             Command key for PibTerm command line mode, 123
  9647.             Command line mode, 123
  9648.                 alternative to menu mode in PibTerm, 123
  9649.                 defining command key, 123
  9650.             Commands
  9651.                 list of PibTerm commands, 6
  9652.                 Script commands allowed in command line mode, 123
  9653.             Communications, 18
  9654.                 serial asynchronous, 18
  9655.                 serial synchronous, 18
  9656.             Communications parameters, 17, 20
  9657.                 baud rate
  9658.                     defined, 18
  9659.                 data bits
  9660.                     Defined, 18
  9661.                 parity
  9662.                     defined, 19
  9663.                 settings for ACNS mainframes, 20
  9664.                 settings for microcomputers, 20
  9665.                 submenu of <ALT>P, 11
  9666.             COMn, MSDOS serial port device name, 50
  9667.             Compuserve B Protocol, 74
  9668.             CONFIG.COM, 9, 133
  9669.             CONFIG.SYS -- Settings for use with PibTerm, 135
  9670.             Configuration files, 5
  9671.                 PIBTERM.CNF, 9
  9672.             Conflicting programs, 125
  9673.             Connecting to remote system with PibTerm, 16
  9674.             Contents of function key definition strings, 112
  9675.             Control characters
  9676.                 entering in strings with ^, 15
  9677.             Copy
  9678.  
  9679.  
  9680.             A Guide to PibTerm v4.1          Index                Page 148
  9681.             A Guide to PibTerm v4.1          Index                Page 148
  9682.  
  9683.  
  9684.                 copying a file at <ALT>F, 102
  9685.                 DOS COPY command, 36
  9686.                 Getting a copy of PibTerm, 4
  9687.             Copying a file, at <ALT>F, 102
  9688.             CRC, 56, 70
  9689.                 use in file transfer protocol, 56
  9690.             Creating mouse menu with MAKEMENU.COM, 7
  9691.             CTS/RTS (clear to send) flow control, 23, 75
  9692.             CTTY, 89
  9693.                 alternate CTTY drivers, 89
  9694.                     GATEWAY, 90
  9695.                     IBMAUX, 90
  9696.                 multitaskers may not support, 90
  9697.             Cursor shape
  9698.                 changed to block for DOS jump, 101
  9699.                 changed to block for overstrike editing mode, 15
  9700.             Cyber, 18, 29, 35, 41, 42, 47, 59, 60
  9701.             CYBER.SCR
  9702.                 script for connecting to Cyber, 41
  9703.             Cyclic redundancy check (CRC), 56
  9704.             CYTOPC -- convert Cyber SPSSX export file for downloading,
  9705.                     61
  9706.             Data bits
  9707.                 ASCII defined, 18
  9708.                 current setting displayed on status line, 50
  9709.                 defined, 18
  9710.                 dialing directory entry for, 29
  9711.             Data terminal ready line, 24
  9712.                 defined, 24
  9713.                 Setting for use in PibTerm, 24
  9714.             Dataset ready (DSR/DTR) flow control, 23
  9715.             Date
  9716.                 current, displayed at Y, 120
  9717.                 date and time stamp in logging entries, 116
  9718.                 of file creation
  9719.                     in directory display at <ALT>F, 102
  9720.                     in view-a-file at <ALT>F, 108
  9721.                     in Ymodem protocol, 71
  9722.                 of last connection to a system, 31
  9723.                 of PibTerm release, 5
  9724.             DBBS, 70
  9725.             DECVAX.FNC -- function key definitions for Vax, 43
  9726.             DECVAXE.FNC -- function key definitions for Vax, 43, 45
  9727.             Default prefix and suffix
  9728.                 dialing directory, 33
  9729.             Default terminal emulation is VT100, 41
  9730.             Defining function keys at <ALT>K, 109
  9731.                 attaching a script to a function key, 114
  9732.                 Attaching PibTerm commands to keys, 113
  9733.                 Contents of key definition strings, 112
  9734.                 displaying current definitions, 109
  9735.                 Entering definitions at keyboard, 110
  9736.                 extended keypad definitions, 111
  9737.                 Quitting key definition, 112
  9738.  
  9739.  
  9740.             A Guide to PibTerm v4.1          Index                Page 149
  9741.             A Guide to PibTerm v4.1          Index                Page 149
  9742.  
  9743.  
  9744.                 Reading key definitions from a file, 109
  9745.                 Writing key definitions to a file, 111
  9746.             Delay
  9747.                 inserting one-second delay in modem commands using ~, 40
  9748.             Deleting a file at <ALT>F, 102
  9749.             DesqView, multitasking program, 124
  9750.                 graphics in background with, 55
  9751.                 PIBTERM.DVP file for use with, 125
  9752.             DI3000, 2
  9753.             Dialing
  9754.                 area code, locating one using <ALT>Z, 120
  9755.                 list of numbers, 34
  9756.                 long distance access codes, 33
  9757.                 number in directory, 29
  9758.                 preventing line drops during dialing attempts, 37
  9759.                 problems, 38
  9760.                     carrier detected before remote system answers phone,
  9761.                             39
  9762.                     characters dropped when dialing, 39
  9763.                     dialing fails because of rotary vs touch-tone
  9764.                             conflict, 38
  9765.                     dialing with MNP modem into non-MNP system, 25
  9766.                     incorrect serial port, 38
  9767.                     intermixed correct and junk characters after
  9768.                             connection, 40
  9769.                     modem timeout too small, 38
  9770.                     problems in modem pools, 39
  9771.                 searching for dialing entry, 35
  9772.                 speed adjustments, 21
  9773.                 system by name, 35
  9774.                     using script NAMEDIAL.SCR, 98
  9775.             Dialing directory, 3
  9776.                 add line feeds setting, 29
  9777.                 backspace setting, 29
  9778.                 baud rate setting, 29
  9779.                 data bits setting, 29
  9780.                 date and time of last connection to remote system in, 31
  9781.                 default prefix and suffix, 33
  9782.                 dialing a list of numbers, 34
  9783.                 dialing an entry in, 29
  9784.                 echo setting, 29
  9785.                 file PIBTERM.FON, 27
  9786.                 highlighted entry in, 29
  9787.                 is memory resident, 27
  9788.                 navigating through entries in, 29
  9789.                 parity setting, 29
  9790.                 phone number in, 29
  9791.                 phone numbers in, 29
  9792.                 prefixes and suffixes, 32
  9793.                     revising, 33
  9794.                 reducing size of, 121
  9795.                 revising, 32
  9796.                 script attached to dialing entry in, 31
  9797.                 sections of, 29
  9798.  
  9799.  
  9800.             A Guide to PibTerm v4.1          Index                Page 150
  9801.             A Guide to PibTerm v4.1          Index                Page 150
  9802.  
  9803.  
  9804.                 Setting up, 27
  9805.                 settings for ACNS systems, 29
  9806.                 short dialing prompt, 34
  9807.                 Size, 3
  9808.                 stop bits setting, 29
  9809.                 terminal type, 29
  9810.                 transfer type, 29
  9811.             Dialing speed
  9812.                 automatic adjustment of when dialing, 36
  9813.             Direct screen writes
  9814.                 disabling direct screen writes, 125
  9815.             Directory
  9816.                 changing active at <ALT>F, 102
  9817.                 displaying contents of at <ALT>F, 102
  9818.             Disabling direct screen writes, 125
  9819.             Disabling MNP, 25
  9820.             Displaying function key definitions, 109
  9821.             DIU (digital interface unit), 17, 26
  9822.             DOS, 64
  9823.             DOS, access to within PibTerm, 2, 101
  9824.                 closing port before DOS jump, 101
  9825.                 cursor changes shape, 101
  9826.                 EXIT returns to PibTerm, 101
  9827.                 Problems, 101
  9828.             DOS console output, 53
  9829.                 Dumb terminal mode, 53
  9830.             Double-high, double wide characters in VT100, 52
  9831.             DoubleDos, multitasking program, 124
  9832.             Download directory
  9833.                 contains downloaded files, 66
  9834.                 setting, 66
  9835.             Downloading -- receiving a file, 60
  9836.             DROP,JSN
  9837.                 NOS control statement to terminate job, 69
  9838.             Dropped characters
  9839.                 in screen display, 130
  9840.                 when dialing, 39
  9841.             DSR/DTR flow control, 23
  9842.             DSZ program, 78
  9843.                 implements Zmodem protocol, 73
  9844.             DTR (data terminal ready), 24, 84
  9845.                     problems if set HIGH instead of NORMAL, 25
  9846.                 dropping to hang up phone, 83, 84
  9847.                 used to hang up the phone, 25
  9848.             Dumb terminal mode, 52
  9849.             Dunford, Chris
  9850.                 author of CED and PCED, 16
  9851.             Duplex
  9852.                 full, 21
  9853.                 full duplex file transfer protocol, 57
  9854.                 half, 21
  9855.                 half duplex file transfer protocol, 57
  9856.             Duplicated characters
  9857.                 incorrectly displayed, 22
  9858.  
  9859.  
  9860.             A Guide to PibTerm v4.1          Index                Page 151
  9861.             A Guide to PibTerm v4.1          Index                Page 151
  9862.  
  9863.  
  9864.             EBCDIC
  9865.                 defined, 19
  9866.                 used on IBM mainframes, 19
  9867.             Echo
  9868.                 changing with <ALT>E, 21
  9869.                 current setting displayed on status line, 50
  9870.                 defined, 21
  9871.                 Dialing directory entry for, 29
  9872.                 local echo, 21
  9873.                 remote echo, 21
  9874.                     all ACNS systems use remote echo, 21
  9875.             Edited capture session, 116
  9876.             Editing
  9877.                 file, 103
  9878.                     invoking external editor, 106, 108
  9879.                 file, at <ALT>F, 102
  9880.                 Keyboard, 14, 16
  9881.                 line on screen, 118
  9882.                 parameter entry text, 14
  9883.                 parameter values, 14
  9884.                 using DOS function $0A, 16
  9885.             Editor
  9886.                 invoking external editor, 106
  9887.                 PibTerm provides built-in full-screen editor, 3, 103
  9888.             EGA (enhanced graphics adapter), 52, 55, 120, 122
  9889.                 changing screen size on, 122
  9890.             Elapsed time
  9891.                 since current dialing session began, 119
  9892.                 since PibTerm began execution, 119
  9893.             Emulation, terminal, 41
  9894.                 defined, 1
  9895.             Enhanced keyboard, 42
  9896.             ENQUIRE,F -- NOS control statement to display local files,
  9897.                     64
  9898.             ENQUIRE,JSN
  9899.                 NOS control statement to display active jobs, 69
  9900.             Entering function key definitions at keyboard, 110
  9901.             Erasing a file at <ALT>F, 102
  9902.             ESC, 7
  9903.                 exiting a menu with, 7, 10
  9904.             Executing
  9905.                 PibTerm, 5
  9906.                 programs remotely in host mode, 89
  9907.                 scripts with <ALT>G, 94
  9908.             EXIT, typing to return to PibTerm from DOS jump, 101
  9909.             Exiting PibTerm with <ALT>X, 83
  9910.             Expanded memory
  9911.                 loading PibTerm overlays into, 121, 136
  9912.             FIDO, 70
  9913.                 Tom Jennings bulletin board system, 72
  9914.             File editing, 103
  9915.                 using built-in full-screen editor, 103
  9916.             File manipulation
  9917.                 active directory change, 102
  9918.  
  9919.  
  9920.             A Guide to PibTerm v4.1          Index                Page 152
  9921.             A Guide to PibTerm v4.1          Index                Page 152
  9922.  
  9923.  
  9924.                 at <ALT>F, 102
  9925.                 copying a file, 102
  9926.                 deleting a file, 102
  9927.                 directory display, 102
  9928.                 editing a file, 102, 103
  9929.                 free space on drive, 102
  9930.                 logged drive change, 102
  9931.                 printing a file, 102
  9932.                 viewing a file, 102, 107
  9933.             File names
  9934.                 automatic extraction of in transfers, 75
  9935.                 truncation of with Kermit protocol, 64
  9936.             File Transfer, 55, 74
  9937.                 automatic extraction of file name in, 75
  9938.                 Defined, 2
  9939.                 non-protocol, 55
  9940.                 protocol, 55
  9941.                     Ascii transfers, 75
  9942.                     dialing directory setting for, 29
  9943.                     full duplex, 57
  9944.                     half duplex, 57
  9945.                     how protocol works, 56
  9946.                     Kermit, 57
  9947.                     Mahoney BBS batch protocol, 72
  9948.                     Modem7, 71
  9949.                     non-protocol transfers, 75
  9950.                     Telink, 72
  9951.                     Xmodem, 70
  9952.                     Xmodem 1K, 71
  9953.                     Xmodem 1K G, 71
  9954.                     Ymodem, 71
  9955.                     Zmodem, 73
  9956.                 receiver, 56
  9957.                 sender, 56
  9958.                 statistics, 66
  9959.             Files
  9960.                 PibTerm configuration, 5
  9961.                     PIBTERM.CNF, 9
  9962.                 transferring to and from remote systems, 55
  9963.                 Types, 59
  9964.                     Binary, 59
  9965.                     Text, 59
  9966.             FINISH server request fails in Kermit, 69
  9967.             Flow control
  9968.                 Clear-to-send (CTS/RTS), 23
  9969.                 Dataset ready (DSR/DTR), 23
  9970.                 DC1/DC3, 22
  9971.                 defined, 22
  9972.                 Xon/Xoff, 22
  9973.             Forsberg, Chuck
  9974.                 Author of Zmodem protocol, 73
  9975.             Free space on drive, 102
  9976.             Freezing screen display with Scroll Lock Key, 51
  9977.  
  9978.  
  9979.             A Guide to PibTerm v4.1          Index                Page 153
  9980.             A Guide to PibTerm v4.1          Index                Page 153
  9981.  
  9982.  
  9983.             FROMMAC.SCR -- script to get files from Macintosh using
  9984.                     Kermit, 65
  9985.             FSE -- full screen editor on NOS, 47
  9986.             Full duplex, 21
  9987.                 conversation in Gossip mode, 53
  9988.                 file transfer protocol, 57
  9989.             Full-screen editor, 103
  9990.                 commands, 104
  9991.                     Block commands, 105
  9992.                     cursor movement, 104
  9993.                     Insert and Delete, 105
  9994.                     Miscellaneous, 106
  9995.                     Quitting the editor, 106
  9996.                     Search and Replace, 105
  9997.                 maximum file size for editing is 65520 characters, 104
  9998.             Function keys
  9999.                 loading a definition file at <ALT>K, 43
  10000.                 setting up subdirectory for, 114
  10001.             GET -- make indirect file available for processing under
  10002.                     NOS, 60
  10003.             GO TERMINAL
  10004.                 turning off Vidtex inquiry on Compuserve, 74
  10005.             Gossip mode, 53
  10006.                 Adding line feeds, 54
  10007.                 disabling in host mode using <ALT>M, 118
  10008.                 in host mode, 88
  10009.                 Line mode versus character mode, 53
  10010.                 Useful for transferring files between two individuals,
  10011.                         54
  10012.             Graphics terminal emulation -- Tek 4010, 54
  10013.             GSCRNDUM.DAT
  10014.                 graphics screen dump file, 117
  10015.             Half duplex, 21
  10016.                 file transfer protocol, 57
  10017.             Hanging up the phone with <ALT>H, 83
  10018.             Hard-wired access, 16, 26
  10019.                 indicating connection is hard-wired, 26
  10020.             HARDWIRE.SCR, 41, 42, 43, 114
  10021.                 script for connecting to ACNS mainframes, 26
  10022.             Hayes modems, 17
  10023.             Heap space
  10024.                 work space available to PibTerm, 119
  10025.                     problems when too little, 119
  10026.             Hercules graphics
  10027.                 not supported by PibTerm, 55
  10028.             Host mode
  10029.                 definition, 84
  10030.                 executing programs remotely, 89
  10031.                 external protocols in, 80
  10032.                 file transfer menu, 89
  10033.                 gossip mode in, 88
  10034.                 initial messages, 85
  10035.                 invoking with <ALT>W, 84
  10036.                 main menu, 87
  10037.  
  10038.  
  10039.             A Guide to PibTerm v4.1          Index                Page 154
  10040.             A Guide to PibTerm v4.1          Index                Page 154
  10041.  
  10042.  
  10043.                 multiple users, 90
  10044.                 password, 85, 87
  10045.                     echoed by dots for security, 87
  10046.                     is case sensitive, 87
  10047.                 PIBTERM.WEL welcome file, 91
  10048.                 PIBTERM.XFR download list file, 91
  10049.                 sending caller-to-caller mesaages in, 91
  10050.                 single-user versus multiple-user access, 84
  10051.                 starting host-mode session, 86
  10052.                 status line in, 85
  10053.                 superusers, 85
  10054.                 user file PIBTERM.USF, 90
  10055.                 user name, 85, 87
  10056.                 welcome message, 86
  10057.                     overprinting in, 86
  10058.             Host system
  10059.                 PibTerm as, 3, 84
  10060.             IBBS, 89
  10061.             IBM, 29, 41
  10062.             IBM 3270, 46
  10063.             IBM 4361, 18, 19
  10064.             IBM 7171 protocol converter, 19
  10065.             IBM CMS, 46, 61
  10066.                 Kermit under, 61
  10067.             IBM.SCR, 46
  10068.             IBMCMS.FNC -- function key definitions for IBM CMS, 43, 46
  10069.             IBMCMS.SCR
  10070.                 script for connecting to IBM 4361, 41
  10071.             IBMCMSE.FNC -- function key definitions for IBM CMS, 43, 46
  10072.             Illegal ASCII character -- CDC/NOS Kermit message, 68
  10073.             Incorrect serial port
  10074.                 causes dialing failure, 38
  10075.             Initialization string for modem, 24
  10076.             Insert mode
  10077.                 in string editing, 15
  10078.             INSTALL.COM, 133
  10079.             INSTALL.COM program, 9
  10080.             Installing PibTerm, 4, 133
  10081.                 dual-floppy system, 138
  10082.                 non-ACNS installation instructions, 133
  10083.                 on hard drive, 133
  10084.                 on large capacity floppy, 133
  10085.                 on single-floppy (>360K) system, 136
  10086.                 single floppy system, 360K only, 141
  10087.                 Using the ACNS INSTALL and CONFIG  programs, 5
  10088.             Integrity information
  10089.                 in file transfer protocol, 56
  10090.             Intercharacter delay
  10091.                 in function key definitions, 113
  10092.                 in modem commands, 40
  10093.                 in non-protocol file transfer, 76
  10094.             Interline delay
  10095.                 in non-protocol file transfer, 76
  10096.             Internal modem
  10097.  
  10098.  
  10099.             A Guide to PibTerm v4.1          Index                Page 155
  10100.             A Guide to PibTerm v4.1          Index                Page 155
  10101.  
  10102.  
  10103.                 problems with, 128
  10104.             Jennings, Tom
  10105.                 Author of FIDO bulletin board software, 72
  10106.             Jump to DOS using <ALT>J, 101
  10107.             Katz, Phil
  10108.                 Author of PKXARC.COM, 133
  10109.             Kermit, 2, 57, 75
  10110.                 aborts during a transfer, reasons for, 68
  10111.                 autodownload with, 64
  10112.                 between IBM PC and Apple Macintosh, 64
  10113.                 Cyber
  10114.                     attaching local files for transfer, 60
  10115.                     saving files on, 64
  10116.                 data compression in, 58
  10117.                 defined, 57
  10118.                 dialing directory entry for, 29
  10119.                 executing on mainframes, 60
  10120.                 indicating file type, 60
  10121.                 long blocks, 58, 61
  10122.                     activating, 61
  10123.                     setting block size, 59, 66
  10124.                 Macintosh programs providing, 65
  10125.                 performance considerations, 58
  10126.                 Problems
  10127.                     FINISH server request fails, 69
  10128.                     Kermit aborts during a transfer, 68
  10129.                     Transfer never begins, 67
  10130.                 Protocol parameters, 66
  10131.                 quitting, 63
  10132.                 receiving a file with, 61
  10133.                 sending a file with, 61
  10134.                 sends 8-bit data over 7-bit communications line, 58
  10135.                 server, 58
  10136.                     getting out of server mode, 63
  10137.                     PibTerm does not acts as, 58
  10138.                     Using PibTerm against, 58
  10139.                 server mode, 61
  10140.                 sliding windows, 58
  10141.                     setting window size, 59, 66
  10142.                 specifying file name to transfer, 63
  10143.                 SPSSX Export files, 61
  10144.                 Steps in using with PibTerm, 60
  10145.                 under IBM CMS, 61
  10146.                 Under NOS, 60
  10147.                 Under VAX/VMS, 60
  10148.             Keyboards
  10149.                 types of, on IBM PCs, 42
  10150.             Keypad definitions, 41, 109
  10151.                 automatic loading of, 48
  10152.                 contents of, 112
  10153.                 displaying current, 109
  10154.                 extended, 111
  10155.                 intercharacter delays in, 113
  10156.                 keyboard entry of, 110
  10157.  
  10158.  
  10159.             A Guide to PibTerm v4.1          Index                Page 156
  10160.             A Guide to PibTerm v4.1          Index                Page 156
  10161.  
  10162.  
  10163.                 reading from a file, 109
  10164.                 writing to a file, 111
  10165.             Learning a script, 95
  10166.             Line drops, preventing when dialing, 37
  10167.             Line feeds
  10168.                 adding in Gossip mode, 54
  10169.                 dialing directory setting for, 29
  10170.                 LF on status line indicates if being added to CRs, 50
  10171.             Line mode
  10172.                 in Gossip, 53
  10173.             Lines scrolled off screen, 3
  10174.             LIST.COM
  10175.                 Vern Buerg's file viewer program, 108
  10176.             Loading a function key definition file at <ALT>K, 43
  10177.             Local echo, 21
  10178.                 current setting displayed on status line, 50
  10179.             Logged drive
  10180.                 changing at <ALT>F, 102
  10181.             Logging PibTerm session, 3
  10182.                 date and time stamp in entries, 116
  10183.                 LO on status line tells if logging active, 50
  10184.                 to printer with <ALT>L, 115
  10185.             LOGIN.COM, 43
  10186.                 startup commands for VAX/VMS, 43
  10187.             Long blocks
  10188.                 in Kermit, 58
  10189.                     setting block size, 59
  10190.             Long distance access codes, 33
  10191.             Lotus 123, 101
  10192.             LUIS, 41, 42, 100
  10193.             LUIS.SCR
  10194.                 script for connecting to LUIS, 41
  10195.             Macintosh, 18, 20, 64
  10196.             MacKermit -- Kermit program for Apple Macintosh, 58, 65
  10197.             MacTerminal, 2
  10198.             Mahoney, Bob
  10199.                 batch protocol on EXEC PC BBS, 72
  10200.                 runs EXEC PC BBS in Milwaukee, Wisconsin, 72
  10201.             MAKEMENU.COM
  10202.                 Microsoft-supplied mouse menu compiler, 7
  10203.             Maximum text line size
  10204.                 in built-in PibTerm editor, 104
  10205.                 in non-protocol file transfer, 77
  10206.             Meiners, Paul
  10207.                 Author of MLink program, 78
  10208.             Memory problems in scripts, 97
  10209.             MENU
  10210.                 Microsoft-supplied menu loader, 7
  10211.             Menus
  10212.                 making selections, 6
  10213.                 PibTerm menus, 4
  10214.                     Using a mouse, 4
  10215.             Microcom Networking Protocol (MNP), 25
  10216.             Microcomputers
  10217.  
  10218.  
  10219.             A Guide to PibTerm v4.1          Index                Page 157
  10220.             A Guide to PibTerm v4.1          Index                Page 157
  10221.  
  10222.  
  10223.                 communications settings for, 20
  10224.                 emulating terminals with, 1
  10225.             Microsoft Windows, multitasking program, 124
  10226.                 PibTerm runs poorly under, 124
  10227.             Missing features in VT100 emulation, 51
  10228.             Mitchell, Sammy
  10229.                 author of QEdit, 104
  10230.             MLink program, 78, 83
  10231.                 implements MegaLink file transfer protocol, 78
  10232.                 implements MegaLink protocol, 78
  10233.                 written by Paul Meiners, 78
  10234.             MNP error correction
  10235.                 built-in to some modems, 25
  10236.                 defined, 25
  10237.                 must disable when calling ACNS mainframes, 25
  10238.             Modem, 16, 17, 24
  10239.                 9600 baud not yet standardized, 21
  10240.                 accessing remote systems with, 16
  10241.                 commands
  10242.                     AT&C1 -- sets carrier detect normal, 24
  10243.                     AT&D1 -- sets data terminal ready line normal, 25
  10244.                     AT&M0 -- disables MNP, 26
  10245.                     AT&M4 -- enables MNP, 26
  10246.                     ATDP -- dial on rotary dial phone line, 38
  10247.                     ATDT -- dial on touch tone phone line, 38
  10248.                     ATE0 -- turns off modem local echo, 22
  10249.                     ATE1 -- turns on modem local echo, 22
  10250.                     ATH0 to hang up phone, 83
  10251.                 constant PC-to-modem speed, 36
  10252.                 dialing timeout too small causes dialing to fail, 38
  10253.                 Hayes, 17
  10254.                 Hayes compatible, 17
  10255.                 initialization message, 5
  10256.                 initialization string, 5, 25
  10257.                 pools, 36, 39
  10258.                 settings for use with PibTerm, 26
  10259.                 types
  10260.                     acoustic coupler, 16
  10261.                     direct connect, 17
  10262.             Modem7 file transfer protocol, 71
  10263.             Mouse, 7
  10264.                 button usage, 7
  10265.                 menu
  10266.                     loading mouse menu PIBTERM.MNU, 7
  10267.                     sample for PibTerm, 8
  10268.                 replacing cursor keys with, 8
  10269.                 using with PibTerm, 7
  10270.             MSKERMIT.EXE -- Kermit program for MS DOS, 58
  10271.             Multitaskers, 3, 52, 69, 124
  10272.                 and CTTY, 90
  10273.                 DesqView, 55, 124
  10274.                 Don't support 132 columns, 52
  10275.                 Don't support graphics in background, 55
  10276.                 DoubleDos, 124
  10277.  
  10278.  
  10279.             A Guide to PibTerm v4.1          Index                Page 158
  10280.             A Guide to PibTerm v4.1          Index                Page 158
  10281.  
  10282.  
  10283.                 Microsoft Windows, 124
  10284.                 PibTerm adjusts automatically to, 124
  10285.                 TaskView, 124
  10286.                 TopView, 124
  10287.             Music, ANSI/BBS mode plays, 52, 118
  10288.                 turning off using <ALT>M, 118
  10289.             Mute mode using <ALT>M, 118
  10290.             Name, dialing a system by, 35
  10291.             NAMEDIAL.SCR -- script to dial a system by name, 98
  10292.             NO CARRIER
  10293.                 modem status message indicates loss of carrier, 37
  10294.             Non-protocol file transfer, 75
  10295.                 <CTRL>Z as end of file marker, 77
  10296.                 buffering problems, 77
  10297.                 byte stream transfer, 76
  10298.                 defined, 55
  10299.                 displaying text transferred, 77
  10300.                 intercharacter delay, 76
  10301.                 interline delay, 76
  10302.                 maximum text line size is 255 characters, 77
  10303.                 pacing character, 76
  10304.                 sending blanks for empty lines, 77
  10305.                 stopping receive with <ALT>R, 77
  10306.                 translating received text, 78
  10307.             NOS, 18, 47, 69, 70, 119
  10308.                 SAVE -- saving local files as permanent, 64
  10309.                 Using PibTerm with, 47
  10310.             NOS/VE, 18, 70
  10311.             Null modem adapter, 65
  10312.                 connecting Macintosh and IBM PC, 65
  10313.             Omen Technology
  10314.                 commercial source for Zmodem modules, 73
  10315.             OPUS BBS, 41, 70, 126
  10316.                 communications drivers may interfere with PibTerm, 41,
  10317.                         126
  10318.             Overlay file PIBTERM.OVR, 121
  10319.             Overstrike mode
  10320.                 in string editing, 15
  10321.             Pacing character
  10322.                 in non-protocol transfer, 76
  10323.             PACX
  10324.                 defined, 26
  10325.             Parameters
  10326.                 Changes for different ACNS system, 41
  10327.                 Changing PibTerm, 8
  10328.                 configuration file
  10329.                     reading a new one at <ALT>P, 13
  10330.                     writing a new at <ALT>P, 13
  10331.                 Saving changes at <ALT>P, 131
  10332.             Parity
  10333.                 bit, 19
  10334.                 checking, 19
  10335.                 current setting displayed on status line, 50
  10336.                 defined, 19
  10337.  
  10338.  
  10339.             A Guide to PibTerm v4.1          Index                Page 159
  10340.             A Guide to PibTerm v4.1          Index                Page 159
  10341.  
  10342.  
  10343.                 dialing directory entry for, 29
  10344.                 types
  10345.                     Even, 19
  10346.                     Mark, 19
  10347.                     No parity, 20
  10348.                     Odd, 19
  10349.                     Space, 19
  10350.             Password
  10351.                 in host mode, 85
  10352.             PATH
  10353.                 importance of DOS PATH= to external file transfer
  10354.                         protocols, 82
  10355.                 importance of in loading PibTerm overlays, 127
  10356.                 setting DOS Path for use with PibTerm, 129, 136, 141
  10357.             Paul Meiners
  10358.                 Author of MLink program, 78
  10359.             PC Board, 70, 95
  10360.             PC Host, 70
  10361.             PC Pursuit, 37
  10362.             PC-to-PC transfers
  10363.                 host mode, 89
  10364.                 using gossip mode, 54
  10365.             PCED
  10366.                 Chris Dunford's keyboard enhancer, 16
  10367.             PCKermit program
  10368.                 implements sliding windows Kermit, 78
  10369.             PCTOCY -- convert SPSS/PC export files after uploading to
  10370.                     Cyber, 61
  10371.             PgDn -- defined as Kermit receive in ACNS function key
  10372.                     files, 113
  10373.             PgDn -- defined as Kermit receives in ACNS function key
  10374.                     files, 60, 61
  10375.             PgUp -- defined as Kermit send in ACNS function key files,
  10376.                     60, 61, 113
  10377.             Phil Katz
  10378.                 Author of PKXARC.COM dearchiving program, 133
  10379.             Philip "Pib" Burns
  10380.                 author of PibTerm program, 131
  10381.             Phone number
  10382.                 in dialing directory, 29
  10383.             PibTerm commands, 6
  10384.                 script commands, 123
  10385.                 scripts, 91
  10386.             PibTerm program parameters, 120
  10387.             PIBTERM.ACO -- area code directory, 120
  10388.             PIBTERM.CNF -- primary PibTerm configuration file, 9
  10389.                 editing with a text editor, 9
  10390.                 format of entries, 9
  10391.                 Parameters Reference Manual, 9
  10392.             PIBTERM.DVP file for use with DesqView, 125
  10393.             PIBTERM.FON -- dialing directory file, 27
  10394.                 backing up, 35
  10395.             PIBTERM.LOG
  10396.                 in host mode, 84
  10397.  
  10398.  
  10399.             A Guide to PibTerm v4.1          Index                Page 160
  10400.             A Guide to PibTerm v4.1          Index                Page 160
  10401.  
  10402.  
  10403.                 log file in emulation mode, 116
  10404.             PIBTERM.OVR -- PibTerm program overlay file, 121
  10405.             PIBTERM.TRA -- character translation file, 118
  10406.             PIBTERM.USF -- PibTerm host mode user file, 90
  10407.             PIBTERM.WEL -- welcome file for host mode, 91
  10408.             PIBTERM.XFR -- file names for download in host mode, 91
  10409.             PKXARC.COM -- Phil Katz' dearchiver, 133
  10410.             Prefix, default
  10411.                 dialing directory, 33
  10412.             Premature dialing termination
  10413.                 modem timeout too small as cause, 38
  10414.             Preventing line drops when dialing, 37
  10415.             Print spooler, 125
  10416.             Printer
  10417.                 lock ups, 115
  10418.                 logging PibTerm session to with <ALT>L, 115
  10419.                     PR on status line tells if printer logging in
  10420.                             effect, 50
  10421.                 print spoolers as source of conflicts with PibTerm, 125
  10422.                 printing a file from within PibTerm, 102, 125
  10423.                 setup string, 115
  10424.             PRN
  10425.                 MSDOS printer device, 115
  10426.             Problems
  10427.                 Communications proceed but VERY slowly, 129
  10428.                 Dialing, 38
  10429.                     carrier detected before remote system answers, 39
  10430.                     characters dropped, 39
  10431.                     incorrect serial port, 38
  10432.                     intermixed good and bad characters after connection,
  10433.                             40
  10434.                     modem pools, 39
  10435.                     modem timeout too small, 38
  10436.                     rotary vs. touch-tone line conflict, 38
  10437.                 display "snows" badly, 130
  10438.                 DOS jump fails, 101
  10439.                 dropped characters in screen display, 130
  10440.                 duplicated characters, 22
  10441.                 Jump to DOS fails, 129
  10442.                 Kermit, 67
  10443.                     aborts during a transfer, 68
  10444.                     FINISH server request fails, 69
  10445.                     Transfer never begins, 67
  10446.                 menus not cleared correctly, 127
  10447.                 multicolor junk appears on screen, 127
  10448.                 no communications at all, 127
  10449.                 Overlay file not found, 127
  10450.                 PibTerm hangs at startup time, 126
  10451.                 printer
  10452.                     systems locks up when <ALT>L chosen, 115
  10453.                 programs which conflict with PibTerm, 125
  10454.                 Scripts
  10455.                     with memory, 97
  10456.                 too little heap space, 120
  10457.  
  10458.  
  10459.             A Guide to PibTerm v4.1          Index                Page 161
  10460.             A Guide to PibTerm v4.1          Index                Page 161
  10461.  
  10462.  
  10463.                 with internal modems, 128
  10464.             Program line
  10465.                 PibTerm parameters on, 120
  10466.             Programs which conflict with PibTerm, 125
  10467.                 BBS communications drivers, 126
  10468.                 keyboard enhancers, 125
  10469.                 on-screen clocks, 125
  10470.                 print spoolers, 125
  10471.             Protocol converter
  10472.                 IBM 7171, 19
  10473.             Protocol parameters for Kermit, 66
  10474.             Protocol transfer
  10475.                 defined, 55
  10476.                 how protocol works, 56
  10477.                 Kermit, 57
  10478.             Qedit -- Sammy Mitchell's editor, 104, 107
  10479.             Quitting function key definition, 112
  10480.             Quitting PibTerm with <ALT>X, 83
  10481.             RAM disk, 4, 121, 141
  10482.                 installing PibTerm with, 141
  10483.                 placing PibTerm files on, 121
  10484.             RBBS, 70, 89
  10485.             RCPM, 70
  10486.             Reading a new parameters file, 13
  10487.             Reading function key definitions from a file, 109
  10488.             RECMLINK.BAT
  10489.                 receive file using MegaLink protocol, 80, 81, 83
  10490.             RECZMOD.BAT
  10491.                 MS DOS batch file to receive file using Zmodem, 73
  10492.             Redialing last number dialed, 34
  10493.                 outside dialing menu with <ALT>Q, 34
  10494.                 within dialing menu with Q, 34
  10495.             RedRyder
  10496.                 provides Kermit on Macintosh, 65
  10497.             Remote echo, 21
  10498.             Remote execution of programs in host mode, 89
  10499.             Repeat/Until loop in scripts, 93
  10500.             Request to send (RTS), 23
  10501.             Requirements
  10502.                 hardware and software for running PibTerm, 4
  10503.             Resetting terminal emulation with <SHIFT>TAB, 51
  10504.             Review buffer, 3
  10505.                 Changing review buffer size, 117
  10506.                 does not take account of escape sequences, 117
  10507.                 Lines scrolled off screen, 3
  10508.                 maximum size is 32767 characters, 117
  10509.                 Scanning with <ALT>V, 117
  10510.             Revising dialing directory
  10511.                 dialing entry, 32
  10512.                 dialing prefixes and suffixes, 33
  10513.             Rotary dial phone line, 38
  10514.             Sammy Mitchell
  10515.                 author of QEdit, 104
  10516.             SAS/GRAPH, 2
  10517.  
  10518.  
  10519.             A Guide to PibTerm v4.1          Index                Page 162
  10520.             A Guide to PibTerm v4.1          Index                Page 162
  10521.  
  10522.  
  10523.             SAVE -- saving local file as permanent under NOS, 64
  10524.             Screen display
  10525.                 changing size of, 122
  10526.                 clearing with <ALT>C, 51
  10527.                 Freezing with Scroll Lock Key, 51
  10528.             Screen dumps, 116
  10529.                 to GSCRNDUM.DAT in graphics mode, 117
  10530.                 to SCRNDUMP.DAT in text mode, 116
  10531.             SCREEN,VT100 -- sets VT100 mode on NOS, 47
  10532.             Scripts, 2, 91
  10533.                 attached to dialing directory entries, 31
  10534.                 attaching to a function key, 114
  10535.                 Command line mode as special form of, 123
  10536.                 Commands allowed in command line mode, 123
  10537.                 currently executing displayed on status line, 50
  10538.                 defined, 91
  10539.                 executing with <ALT>G, 94
  10540.                 learning a script automatically, 95
  10541.                 memory problems, 97
  10542.                 programming language, 91
  10543.                 Repeat/Until loop, 93
  10544.                 sample
  10545.                     CYBER.SCR for connecting to Cyber, 41
  10546.                     dialing by name, 98
  10547.                     FROMMAC.SCR, 65
  10548.                     HARDWIRE.SCR -- connect to ACNS system via hard-
  10549.                             wired line, 26
  10550.                     IBMCMS.SCR for connecting to IBM, 41
  10551.                     LUIS.SCR for connecting to LUIS, 41
  10552.                     TOMAC.SCR, 65
  10553.                     VAX.SCR for connecting to Vax, 41
  10554.                     VAX.SCR for logging into Vax, 92
  10555.                 security considerations, 94
  10556.                 Setting PibTerm parameters with, 41
  10557.                 Stext -- sends text to remote system, 92
  10558.                 terminating execution with <ALT>X, 94
  10559.                 unloading scripts from memory, 98
  10560.                 Waitstring -- waits for string from remote system, 93
  10561.             SCRNDUMP.DAT -- text screen dump file, 116
  10562.             Scroll Lock Key, 51
  10563.             Searching for dialing entry at <ALT>D, 35
  10564.             Security considerations with scripts, 94
  10565.             SemWare -- address of, for QEdit, 104
  10566.             SENDMLINK.BAT
  10567.                 send file using MegaLink protocol, 80, 81, 83
  10568.             SENDXMOD.BAT
  10569.                 MS DOS batch file to send file using Zmodem, 73
  10570.             Sequence information
  10571.                 in file transfer protocol, 56
  10572.             Serial cable, 24
  10573.             Serial communications, 18
  10574.             Serial port, 16
  10575.                 current one in use displayed on status line, 50
  10576.             Server mode in Kermit, 61
  10577.  
  10578.  
  10579.             A Guide to PibTerm v4.1          Index                Page 163
  10580.             A Guide to PibTerm v4.1          Index                Page 163
  10581.  
  10582.  
  10583.             Session logging, 115
  10584.                 Activating PIBTERM.LOG file, 116
  10585.                 special information lines, 116
  10586.             SET FILE BINARY
  10587.                 sets remote Kermit to use binary file type, 61
  10588.             SET PIBTERM=
  10589.                 sets home directory for PibTerm files, 135
  10590.             SET TERMINAL/VT100
  10591.                 placing into LOGIN.COM, 43
  10592.                 sets VT100 terminal type for Vax/VMS, 43
  10593.             Setting a download directory, 66
  10594.             Setting a function key subdirectory, 114
  10595.             Setting carrier detect always high, 37
  10596.             Setting up dialing directory, 27
  10597.             Setting up modem for use with PibTerm, 23
  10598.             Shareware, 73, 78, 90, 104, 108
  10599.             Short dialing prompt at <ALT>D, 34
  10600.             Simulated double-high, double wide characters in VT100, 52
  10601.             Sliding windows
  10602.                 in Kermit, 58
  10603.                     setting window size, 59
  10604.             Sound effects
  10605.                 turning off using <ALT>M, 118
  10606.             Speed of communications (baud rate), 18
  10607.             Speeding up PibTerm access, 121
  10608.             Split-screen mode, 53
  10609.             SPSSX Export files, 59
  10610.                 are binary files under CDC NOS, 59
  10611.             Starting a host-mode session, 86
  10612.             Starting PibTerm execution, 5
  10613.             Startup display
  10614.                 PibTerm initial, 5
  10615.             Status line
  10616.                 disabling display of, 50
  10617.                 in host mode, 85
  10618.                 in terminal emulation, 49
  10619.                 not displayed in Tek 4010 emulation mode, 51
  10620.             SText -- script command to send text to remote system, 92
  10621.             STOP /ID= -- VAX/VMS control statement to terminate job, 70
  10622.             Stop bits, 20
  10623.                 current setting displayed on status line, 50
  10624.                 dialing directory entry for, 29
  10625.             Stuttered (duplicated) characters, 22
  10626.             Suffix, default
  10627.                 dialing directory, 33
  10628.             SuperKermit (sliding windows Kermit), 58
  10629.             Superusers
  10630.                 in PibTerm host mode, 85
  10631.             Switching between VT100 keypad modes, 48
  10632.             Synchronous communications, 18
  10633.             TaskView, multitasking program, 124
  10634.             TASKVIEW.NOT file for use with TaskView, 125
  10635.             TCOMM, 70
  10636.             Tek 4010, 1, 120
  10637.  
  10638.  
  10639.             A Guide to PibTerm v4.1          Index                Page 164
  10640.             A Guide to PibTerm v4.1          Index                Page 164
  10641.  
  10642.  
  10643.                 graphics terminal emulation, 54
  10644.                 status line not displayed when emulating, 51
  10645.             Telenet, 37
  10646.             Telink, 72
  10647.             Terminal emulation, 41
  10648.                 ADM3a, 52
  10649.                 ADM5, 52
  10650.                 ANSI/BBS, 52
  10651.                 defined, 1
  10652.                 dialing directory setting for, 29
  10653.                 Dumb terminal emulation, 1, 52
  10654.                     output through MS DOS, 52
  10655.                 Gossip mode, 53
  10656.                     Split-screen mode, 53
  10657.                 resetting current with <SHIFT>TAB, 51
  10658.                 Smart, 1
  10659.                 status line in, 49
  10660.                 Tek 4010, 1, 54
  10661.                 Tek 4014, 53
  10662.                 Tek 4105, 53
  10663.                 TV925, 52
  10664.                 VT100, 1
  10665.                 VT52, 52
  10666.             Terminating CDCNET session with ESC <CTRL>A CTRL<T>, 69
  10667.             Terminating execution of a script with <ALT>X, 94
  10668.             Terminating VAX/VMS program with <CTRL>Y, 70
  10669.             Text files, 59
  10670.             Time
  10671.                 current, displayed at Y, 120
  10672.                 date and time stamp in logging entries, 116
  10673.                 elapsed since current dialing session began, at <ALT>Y,
  10674.                         119
  10675.                 elapsed since PibTerm began execution, at <ALT>Y, 119
  10676.                 of file creation
  10677.                     in directory display at <ALT>F, 102
  10678.                     in view-a-file at <ALT>F, 108
  10679.                     in Ymodem protocol, 71
  10680.                 of last connection to a system, 31
  10681.                 time of day, displayed on status line, 50
  10682.             TOMAC.SCR -- script to send files from IBM PC to Macintosh
  10683.                     using Kermit, 65
  10684.             TopView, multitasking program, 124
  10685.             Touch-tone phone line, 38
  10686.             Transfer never begins with Kermit, 67
  10687.             Transfer statistics, 66
  10688.             Translating incoming text with <ALT>T, 78, 118
  10689.             TV925 terminal emulation, 52
  10690.                 extremely limited, 52
  10691.             Types of files, 59
  10692.             Unedited capture session, 116
  10693.             Unloading scripts from memory, 98
  10694.             Uploading -- sending a file, 60
  10695.             User name in host mode, 85
  10696.             User-defined commands
  10697.  
  10698.  
  10699.             A Guide to PibTerm v4.1          Index                Page 165
  10700.             A Guide to PibTerm v4.1          Index                Page 165
  10701.  
  10702.  
  10703.                 in command line mode, 124
  10704.             Using expanded memory for PibTerm overlays, 121
  10705.             Vax, 18, 29, 33, 41, 42, 43, 60, 70, 92, 95, 97
  10706.             VAX.SCR
  10707.                 script for connecting to Vax, 41
  10708.             Vax/VMS, 43
  10709.             Vern Buerg
  10710.                 Author of ARCE.COM dearchiving program, 133
  10711.                 author of LIST.COM file viewer program, 108
  10712.             VersaTerm Pro
  10713.                 provides Kermit on Macintosh, 65
  10714.             Version number of PibTerm, 5
  10715.             VGA, 52, 55, 122
  10716.                 changing screen size on, 122
  10717.             Vidtex, turning off Compuserve inquiry for, 74
  10718.             Viewing a file at <ALT>F, 102, 107
  10719.                 invoking external file viewer, 108
  10720.             VMS, 43, 60
  10721.             VMS Kermit, 60
  10722.             VT100, 1, 43, 46, 48
  10723.                 changing colors in VT100 emulation mode, 122
  10724.                 default terminal emulation, 41
  10725.                 double high, double wide character, 52
  10726.                 keypad definitions, 42
  10727.                 missing features in PibTerm's emulation of, 51
  10728.                 setting terminal type as under IBM CMS, 46
  10729.                 setting terminal type as under Vax/VMS, 43
  10730.                 switching between keypad modes, 48
  10731.             VT52 terminal emulation, 52
  10732.             WaitString -- script command to wait for string from remote
  10733.                     system, 93
  10734.             Welcome message in host mode, 86
  10735.             Word-processing documents, 59
  10736.             WordPerfect, 59, 101
  10737.             Writing a new configuration file, 13
  10738.             Writing function key definitions to a file, 111
  10739.             Xmodem, 2, 70
  10740.                 Timing constraints, 70
  10741.             Xmodem 1K, 71
  10742.             Xmodem 1K G, 71
  10743.             Xon/Xoff flow control, 22, 75
  10744.                 XO gives current setting on status line, 50
  10745.             Ymodem, 71
  10746.             Ymodem G, 71
  10747.             Zapping a file at <ALT>F, 102
  10748.             Zmodem, 71, 73
  10749.                 autodownload with, 74
  10750.             | -- insert carriage return
  10751.                 in function key string, 112
  10752.                 in SText script command, 93
  10753.             ~
  10754.                 insert one-second delay
  10755.                     in modem command string, 40
  10756.             ~ -- insert one-second delay
  10757.  
  10758.  
  10759.             A Guide to PibTerm v4.1          Index                Page 166
  10760.             A Guide to PibTerm v4.1          Index                Page 166
  10761.  
  10762.  
  10763.                 in function key string, 112
  10764.