home *** CD-ROM | disk | FTP | other *** search
/ Piper's Pit BBS/FTP: ibm 0020 - 0029 / ibm0020-0029 / ibm0028.tar / ibm0028 / HPLINK.ZIP / KERMIT.TXT < prev    next >
Encoding:
Text File  |  1990-02-08  |  5.6 KB  |  139 lines

  1.  
  2.                                KERMIT.TXT File
  3.  
  4.                     (c)  Hewlett-Packard Company, 1990
  5.  
  6.  
  7. OVERVIEW
  8. --------
  9.  
  10. Kermit file-transfer protocol enables you to transfer files between your HP 48
  11. calculator and a computer.  Kermit is built into the HP 48, and when you also
  12. have Kermit running on your computer, your HP 48 and computer are ready
  13. to "talk to each other."
  14.  
  15. Kermit protocol was developed at the Columbia University Center for
  16. Computing Activities.  Kermit is available for many systems for a nominal
  17. fee from Columbia and from various user group organizations.
  18.  
  19.  
  20. PROCEDURE
  21. ---------
  22.  
  23. You may need to refer to your calculator and computer manuals to help you
  24. follow this procedure.
  25.  
  26.  1.  Connect the 4-pin end of the serial interface cable to your HP 48; 
  27.      connect the 9-pin end of the cable to the COM1 or COM2 port on your
  28.      computer. (This may require the 25-pin adapter.)
  29.  
  30.  2.  Run Kermit on the computer.  (From the prompt for the directory in
  31.      which Kermit was installed, type KERMIT and press [ENTER].)
  32.  
  33.  3.  Configure the Kermit port setting to match the port to which the
  34.      serial cable was connected in step 1, and configure the Kermit baud
  35.      setting to match the computer's setting.  (You can use the Kermit SET
  36.      command to do both of these--see the "EXAMPLE" section below.)
  37.  
  38. -------------------------------------------------------------------------------
  39. NOTE:  The default baud for the HP 48 is 9600.  So, unless you need
  40.        to use another setting for your system, you should set your computer
  41.        and Kermit to 9600 baud also.
  42. -------------------------------------------------------------------------------
  43.  
  44.  4.  Make sure the HP 48 baud matches the setting from step 3.  Also, make
  45.      sure the IR/wire transmission mode is set to "wire."  (Both of these
  46.      parameters can be viewed and set using the I/O SETUP menu on the HP 48.)
  47.  
  48.  5.  Follow the instructions in the "HP 48 Owner's Manual" for transferring
  49.      data between an HP 48 and a computer.
  50.  
  51.  6.  When you're finished, type Q and press [ENTER] to quit Kermit.
  52.  
  53.  
  54. KERMIT HELP
  55. -----------
  56.  
  57. To get help in Kermit on the computer, type a question mark (?) and press 
  58. [ENTER].  Kermit displays a list of commands.  To get help on a specific 
  59. command, type the name of the command followed by a space and then a question
  60. mark, and then press [ENTER].  For example, type SET ? and press [ENTER] to 
  61. get help on the SET command.
  62.  
  63.  
  64. EXAMPLE
  65. -------
  66.  
  67. This example assumes that you've connected the serial cable both to your
  68. calculator and to the COM1 port in the computer and that you have a
  69. variable in your HP 48 VAR menu named DATA1.  It also assumes that the HP 48
  70. baud and the computer baud are set to 9600 and that you've prepared for a file
  71. transfer as described in the "HP 48 Owner's Manual."
  72.  
  73. Here are the keystrokes to transfer the file DATA1 from the HP 48 to the
  74. computer:
  75.  
  76. Computer Keystrokes:    KERMIT [ENTER]          Runs Kermit protocol.
  77.  
  78.                         SET PORT 1              Sets Kermit port to COM1.
  79.  
  80.                         SET BAUD 9600           Sets Kermit baud to 9600 to
  81.                                                 match the calculator and the
  82.                                                 computer.
  83.  
  84.                         RECEIVE [ENTER]         Prepares the computer
  85.                                                 to receive a file.
  86.  
  87.  
  88. Calculator Keystrokes: [VAR] ['] {DATA1}        Recalls the variable to be
  89.                                                 transferred to the stack.
  90.  
  91.                        [left-shift][I/O]        Selects the I/O menu and 
  92.                        {SEND}                   transfers the file to the 
  93.                                                 computer.  The file DATA1 is
  94.                                                 copied into the directory in
  95.                                                 which Kermit resides.
  96.  
  97.  
  98. Now assume that you quit Kermit and edited the file DATA1 on your computer.
  99. Here are the keystrokes to send it back to the HP 48:
  100.  
  101.  
  102. Computer Keystrokes:    KERMIT [ENTER]          Runs Kermit protocol.
  103.  
  104.                         SET PORT 1
  105.  
  106.                         SET BAUD 9600
  107.  
  108.                         SEND DATA1 [ENTER]      Transfers the edited DATA1
  109.                                                 to the HP 48, where it shows
  110.                                                 up in the VAR menu.  (If the
  111.                                                 old DATA1 still exists, the
  112.                                                 new DATA1 is given an
  113.                                                 extension so the old version
  114.                                                 isn't overwritten.)
  115.  
  116.  
  117. Calculator Keystrokes:  [left-shift][I/O]       Prepares the HP 48 to receive
  118.                         {RECV}                  a file.
  119.  
  120. HELPFUL HINTS
  121. -------------
  122.  
  123.   o  The Kermit PUSH command gets you out of Kermit temporarily and into DOS
  124.      so that you can manipulate files.  You return to Kermit by typing EXIT
  125.      and pressing [ENTER].
  126.  
  127.   o  The Kermit STATUS command displays a screen showing the current Kermit
  128.      configuration settings.  The baud and port settings are the first two
  129.      in the list.
  130.  
  131.   o  You can execute the DOS directory command from within Kermit by typing
  132.      DIR and pressing [ENTER].
  133.  
  134.   o  For additional information on Kermit protocol, a book by Frank da Cruz,
  135.      "KERMIT, A File Transfer Protocol" (1987. Bedford, MA: Digital Press) is 
  136.      available in many bookstores or can be ordered.
  137.  
  138.  
  139.