home *** CD-ROM | disk | FTP | other *** search
/ Columbia Kermit / kermit.zip / cu / info.doc < prev    next >
Text File  |  2020-01-01  |  7KB  |  177 lines

  1. File INFO.SCR
  2.  
  3.  
  4.         AUTOMATIC LOGIN TO CUNIXF FROM MS-DOS KERMIT
  5.  
  6.  
  7.                  Christine M. Gianone
  8.         Manager, Kermit Developement and Distribution
  9.                   CUCCA/AcIS
  10.                  October 1991
  11. Revised March 1994
  12.                        
  13. INFO.SCR is a script program for logging in to CUNIX from MS-DOS
  14. Kermit from a campus Rolmphone, either a D-type data phone or a 244PC.
  15.  
  16. Although you can run this script program from within Kermit by typing the
  17. command "TAKE INFO.SCR", it is more convenient to run it from DOS command
  18. level via DOS Batch programs that start Kermit for you, tell Kermit to run
  19. this script program, and feed it certain information to customize its actions.
  20. The following Batch programs are available:
  21.  
  22.   INFO.BAT     - Connects you to CUNIX, gets you to the prompt.
  23.   EMAIL.BAT    - Connects you to CUNIX, puts you in MM.
  24.   CALENDAR.BAT - Connects you to CUNIX, puts you in Calendar data entry.
  25.  
  26. To use these batch files, and INFO.SCR itself, you must be running MS-DOS
  27. Kermit 3.11 or later, and it must be installed as KERMIT.EXE in a directory
  28. that is part of your DOS PATH definition.  INFO.SCR and the related Batch
  29. files should be in the same directory.  For hard disk systems, this would
  30. normally be the directory C:\KERMIT\.
  31.  
  32. For detailed instructions on installation and use of MS-DOS Kermit, see the
  33. Second Edition of "Using MS-DOS Kermit", available in the CUCCA/AcIS Business
  34. Office in 102 Philosophy and at local bookstores.
  35.  
  36. Run any of these Batch programs just by typing its name (the part before
  37. ".BAT"), for example:
  38.  
  39.   C:\>email
  40.  
  41. (in this example, "C:\>" is the DOS prompt, and you type "email" and then
  42. press the Enter key).
  43.  
  44. The Batch programs accept two optional words on the DOS command line, after
  45. their names.  The first is your CUNIXF user ID, for example abc123, and the
  46. second is your password:
  47.  
  48.   C:\>email abc123 secret
  49.  
  50. If you leave out your password, INFO.SCR will prompt you for it.  If you leave
  51. out the user ID and password, INFO.SCR will prompt you for both of them.
  52.  
  53. Once INFO.SCR knows your user ID and password, it tries to connect you to
  54. CUNIX through your ROLMphone, using the default communication port and speed.
  55. Normally this is COM1 and 9600 bps, but you can change them by putting SET
  56. commands in your MSCUSTOM.INI file, for example:
  57.  
  58.   SET PORT 2
  59.   SET SPEED 19200
  60.  
  61. Any key settings, terminal parameters, screen colors, etc, that are
  62. established in your MSCUSTOM.INI file are used.
  63.  
  64. If INFO.SCR fails to communicate with your ROLMphone, it will give you an
  65. informative message.  Check your port and speed setting, make sure you 
  66. have a data cable connecting your PC's serial port and the ROLMphone, make
  67. sure Kermit is using the same port the cable is connected to, make sure your
  68. ROLMphone actually does have a working data option, etc.  For detailed
  69. troubleshooting instructions, see "Preparing for Data Communication with
  70. the CBX".
  71.  
  72. Once INFO.SCR is talking to your ROLMphone, it attempts to connect to a
  73. terminal server, then it tries to connect to CUNIX, then it tries to log you
  74. in automatically, then it sets your UNIX terminal type to be the same as
  75. Kermit's (VT320), and finally it starts up the desired application, if any
  76. (such as the e-mail program, MM).  Any of these steps can fail.  If they do,
  77. you'll get an informative error message.
  78.  
  79. Once you are successfully connected to CUNIX, you will have a terminal screen.
  80. The characters you type on the keyboard are sent to CUNIX, and the characters
  81. sent by CUNIX appear on your screen.
  82.  
  83. Two special Alt-key combinations are available for your use while the terminal
  84. screen is active.  An Alt-key combination is entered by holding down the Alt
  85. key and pressing the indicated letter while Alt is held down.
  86.  
  87.   Alt-q (hold down Alt, press q):
  88.      Log out from CUNIXF, hang up the data connection, exit Kermit,
  89.      return to DOS.
  90.  
  91.   Alt-x (hold down Alt, press x):
  92.      Return to Kermit's "MS-Kermit>" prompt without logging out from
  93.      CUNIXF.  To get back to CUNIXF, type CONNECT and then press the
  94.      Enter key.
  95.  
  96.  
  97.                      INFO
  98.  
  99. If you want to access various facilities of the CUNIX system, use INFO.BAT.
  100. This procedure takes you up to the system prompt, so you can access any
  101. application.  Just type "info" at the DOS prompt, optionally followed by your
  102. CUNIXF user ID, optionally followed by your password (which will echo, so make
  103. sure nobody is looking over your shoulder).  Examples:
  104.  
  105.   info
  106.   info abc123
  107.   info abc123 secret
  108.  
  109. Be sure to properly terminate your application and log out from UNIX (the
  110. "exit" command) when you are finished.  Get back to Kermit with Alt-q
  111. or Alt-x.
  112.  
  113.  
  114.                     EMAIL
  115.  
  116. If you only want to use only the MM E-mail software, use EMAIL.BAT.  This
  117. starts the MM E-Mail program for you, giving you a few lines of instructions.
  118. Just type "email" at the DOS prompt, optionally followed by your CUNIX user
  119. ID, optionally followed by your password.  Examples:
  120.  
  121.   email
  122.   email abc123
  123.   email abc123 secret
  124.  
  125. To finish your your e-mail session, use Alt-Q.  This should exit safely from
  126. MM, no matter whether it is in Top, Read, Send, or More mode, log you out from
  127. UNIX, hang up your data connection, and return you to the DOS prompt.
  128.  
  129.                  CALENDAR DATA ENTRY
  130.  
  131. Calendar data entry people should use CALENDAR.BAT.  This starts the calendar
  132. data entry program for you.  Just type "calendar" at the DOS prompt,
  133. optionally followed by your CUNIX user ID, optionally followed by your
  134. password.  Examples:
  135.  
  136.   calendar
  137.   calendar abc123
  138.   calendar abc123 secret
  139.  
  140. To finish your your calendar session, follow the directions on your calendar
  141. screen for exiting from the data entry program, then use Alt-Q to log out
  142. from CUNIXF, hang up your data connection, and return to the DOS prompt on
  143. your PC.
  144.  
  145.                 CUSTOMIZATIONS
  146.  
  147. Once you have the INFO.SCR, INFO.BAT, EMAIL.BAT, and CALENDAR.BAT files on
  148. your PC, you can edit them for convenience.  In most cases this won't be
  149. necessary.
  150.  
  151. However, the correct operation of INFO.SCR depends upon your CUNIXF system
  152. prompt being either "$ " (dollar sign followed by space, the standard Shell
  153. and K-Shell prompt) or "% " (percent followed by space, the standard C-Shell
  154. prompt).  If your prompt is different, you MUST edit INFO.SCR to tell it what
  155. your prompt is.  Find the line that looks like this:
  156.  
  157. ; define myprompt {cunixf: }
  158.  
  159. Remove the ";" (semicolon) comment indicator, and change "cunixf: " to
  160. whatever your prompt is (leave the curly brackets), for example:
  161.  
  162.   define myprompt {unix> }
  163.  
  164. If you don't want to type your user ID each time, add a line immediately
  165. below "define myprompt" like this:
  166.  
  167.   define userid abc123
  168.  
  169. where "abc123" is your user ID.
  170.  
  171. But please, DO NOT put your password in this or any file.  You should always
  172. enter it every time you log in.  If you password is in the INFO.SCR file,
  173. anybody can walk up to your PC and access your private data -- they can read
  174. it, change it, or delete it.
  175.  
  176. [End of INFO.DOC]
  177.