home *** CD-ROM | disk | FTP | other *** search
/ Simtel MSDOS 1992 June / SIMTEL_0692.cdr / msdos / kermit / msiibm.arc / MSIIBM.DOC < prev    next >
Encoding:
Text File  |  1989-01-20  |  5.9 KB  |  126 lines

  1. COLUMBIA UNIVERSITY MS-DOS KERMIT INITIALIZATION FILE
  2.  
  3. This is the key to MSKERMIT.INI, a sample initialization file for Kermit
  4. Version 2.31 on the IBM-PC and PS/2 for use at Columbia University with the
  5. CUCCA systems.  Before using it, you should read this file, then make any
  6. customizations to suit your situation.
  7.  
  8. The file is kept in the Kermit distribution as MSIIBM.INI, so if you have a
  9. copy of it under that name, you should rename to MSKERMIT.INI and store it on
  10. your PC somewhere in your DOS PATH, or on your current disk and directory
  11. (MS-Kermit looks first on the current disk and directory for its
  12. initialization file, and if it doesn't find it there, it looks in the
  13. directories specified in the PATH environment variable).  When working on your
  14. MS-DOS Kermit initialization file, be sure you have a copy of the MS-DOS
  15. Kermit User Guide for version 2.31 for reference.
  16.  
  17. This initialization file defines several classes of useful macros:
  18.  
  19. 1. Logging into CUCCA systems through direct PACX and CBX connections.
  20. 2. Dialing up the PACX and the CBX.
  21. 3. Setting up the PC's function keys for use with the CUCCA 3270 emulators.
  22. 4. Setting screen foreground and background colors (if you have color).
  23.  
  24. Here is an explanation of each:
  25.  
  26. 1. For logging in to the CUCCA systems through the PACX:
  27.  
  28. To log in to:      Through:     Type:          Remarks:
  29.  
  30.  CUNIXA             PACX         do cunixa      Instructional SUN A (UNIX)
  31.  CUNIXA             CBX          do xcunixa
  32.  CUNIXB             PACX         do cunixb      Instructional SUN B (UNIX)
  33.  CUNIXB             CBX          do xcunixb
  34.  CUNIXC             PACX         do cunixc      Admin & Research VAX C (UNIX)
  35.  CUNIXC             CBX          do xcunixc
  36.  CUNIXD             PACX         do cunixd      Instructional SUN D (UNIX)
  37.  CUNIXD             CBX          do xcunixd
  38.  
  39.  CUVMB (linemode)   PACX         do cuvmb       Research IBM 4381 (VM/CMS)
  40.  CUVMB (linemode)   CBX          do xcuvmb        through COMTEN.
  41.  CUVMB (fullscreen) PACX         do simb        Same, but through the 7171
  42.  CUVMB (fullscreen) CBX          do xsimb         3270 protocol emulator.
  43.  CLIO  (fullscreen) PACX         do clio        CU Library Information Online.
  44.  CLIO  (fullscreen) CBX          do xclio
  45.  
  46. In order to use these macros, you must edit the MSKERMIT.INI file to contain
  47. your actual user IDs on these systems:
  48.  
  49. 1. Replace "XYZCU" in the line "def \%c XYZCU" with your actual CMS ID, if any.
  50. 2. Replace "xyz" in the line "def \%u xyz" with your actual UNIX ID, if any.
  51.  
  52. When you use these macros, they will get you through the PACX or CBX, through
  53. any other front ends (COMTEN, 7171, terminal servers, etc), and give the
  54. appropriate login command for the selected system, and then connect you to
  55. that system, at which point you should type your password to complete the
  56. login process.  You should not put your password in the MSKERMIT.INI file,
  57. since someone might discover it there and get access to your files.
  58.  
  59. 2. A sample macro is also given for dialing up the PACX from a Hayes modem,
  60.    and then logging into CUNIXC, "do hpc".  You can easily adapt this one to
  61.    other systems as well.  A similar macro, "hxc", shows how to dial up CUNIXC
  62.    through the CBX.
  63.  
  64. 3. Macros are defined for various color combinations you can use if you have
  65.    a color monitor and adapter on your PC.  The colors are only effective
  66.    during CONNECT mode.  You can experiment with them and create others too:
  67.  
  68. "do sky"   - blue on white
  69. "do ocean" - white on blue
  70. "do sea"   - green on blue
  71. "do bw"    - black on white
  72. "do gb"    - green on black
  73. "do amy"   - pink on purple
  74.  
  75. 4. If you are accessing the IBM mainframes in full-screen (3270) mode, i.e.
  76. you are using CLIO, SIMB, etc, a special macro, "do simk", is automatically
  77. invoked to set up your PC's function keys for use with Columbia's 3270
  78. simulators, as shown below.  To restore the keys to their default VT100
  79. definitions, give the Kermit command "do nosimk", or equivalently "set key
  80. clear".  "simk" is automatically invoked when you execute any of the macros
  81. that connect to the IBM mainframes in full screen mode (do simb, do clio, etc),
  82. and "nosimk" is done when you use the macros for connecting to other systems
  83. (do cunixa, do cunixc, do cuvmb, etc).  Here are the 3270 keyboard equivalents
  84. that Kermit sets up for you:
  85.                                         
  86. 3270 Function   Keystrokes on IBMPC     Control Sequence
  87.  
  88.  Backspace       Delete (Rubout)         Control-H, Control-B
  89.  PF1-PF10        F1-F10                  Escape 1-Escape 0
  90.  PF11-PF20       Shift F1 - Shift F10    Escape Q,W,E,R,T,Y,U,I,O.P
  91.  PF21-PF24       Alt F1 - Alt F4         Escape A,S,D,I
  92.  Insert          Insert (under 0)        Control-X
  93.  Cursor Up       Up Cursor (under 8)     Control-P
  94.  Cursor Left     Left Cursor (under 4)   Control-H
  95.  Cursor Right    Right Cursor (under 6)  Control-E
  96.  Cursor Down     Down Cursor (under 2)   Control-N
  97.  Delete Char     Delete (under point)    Control-D
  98.  
  99. Other 3270 Functions:   Type:
  100.  
  101.  Newline                 Control-A
  102.  Tab                     Tab or Control-I
  103.  BackTab                 Escape-Tab or Escape-Control-I
  104.  Clear                   Control-L
  105.  Erase Input             Control-U
  106.  Erase EOF               Control-K
  107.  Reset                   Control-Z
  108.  Enter                   Return or Control-M
  109.  PA1                     Control-C
  110.  PA2                     Control-W
  111.  PA3                     Control-O
  112.  Redisplay Screen        Control-T
  113.  Simulator Reset         Control-R
  114.  Suspend Output (XOFF)   Control-S
  115.  Resume Output (XON)     Control-Q
  116.  Input Buffer Flush      Control-E
  117.  
  118. If you are interested in writing MS-DOS Kermit scripts or macros, you should
  119. look at the MSKERMIT.INI file for examples, in conjunction with the MS-DOS
  120. Kermit User Guide.
  121.  
  122. Send suggestions, improvements, fixes, questions, etc, via e-mail to
  123. Info-Kermit-Request@CUNIXC.
  124.  
  125. - C. Gianone, CUCCA, October 1988
  126.