home *** CD-ROM | disk | FTP | other *** search
/ Columbia Kermit / kermit.zip / cu / info.doc.old < prev    next >
Text File  |  2020-01-01  |  7KB  |  178 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.                        
  12.  
  13. INFO.SCR is a script program for logging in to INFO (CUNIXF) 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 CUNIXF, gets you to the prompt.
  23.   EMAIL.BAT    - Connects you to CUNIXF, puts you in MM.
  24.   CALENDAR.BAT - Connects you to CUNIXF, 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. the INFO system (CUNIXF) through your ROLMphone, using the default
  55. communication port and speed.  Normally this is COM1 and 9600 bps, but you
  56. can change them by putting SET commands in your MSKERMIT.INI file, for
  57. example:
  58.  
  59.   SET PORT 2
  60.   SET SPEED 19200
  61.  
  62. Any key settings, terminal parameters, screen colors, etc, that are
  63. established in your MSKERMIT.INI file are used.
  64.  
  65. If INFO.SCR fails to communicate with your ROLMphone, it will give you an
  66. informative message.  Check your port and speed setting, make sure you 
  67. have a data cable connecting your PC's serial port and the ROLMphone, make
  68. sure Kermit is using the same port the cable is connected to, make sure your
  69. ROLMphone actually does have a working data option, etc.  For detailed
  70. troubleshooting instructions, see "Preparing for Data Communication with
  71. the CBX".
  72.  
  73. Once INFO.SCR is talking to your ROLMphone, it attempts to connect to the INFO
  74. terminal server, then it tries to connect to CUNIXF, then it tries to log you
  75. in automatically, then it sets your UNIX terminal type to be the same as
  76. Kermit's (VT320), and finally it starts up the desired application, if any
  77. (such as the e-mail program, MM).  Any of these steps can fail.  If they do,
  78. you'll get an informative error message.
  79.  
  80. Once you are successfully connected to the Info system (CUNIXF), you will
  81. have a terminal screen.  The characters you type on the keyboard are sent
  82. to CUNIXF, and the characters sent by CUNIXF appear on your screen.
  83.  
  84. Two special Alt-key combinations are available for your use while the terminal
  85. screen is active.  An Alt-key combination is entered by holding down the Alt
  86. key and pressing the indicated letter while Alt is held down.
  87.  
  88.   Alt-q (hold down Alt, press q):
  89.      Log out from CUNIXF, hang up the data connection, exit Kermit,
  90.      return to DOS.
  91.  
  92.   Alt-x (hold down Alt, press x):
  93.      Return to Kermit's "MS-Kermit>" prompt without logging out from
  94.      CUNIXF.  To get back to CUNIXF, type CONNECT and then press the
  95.      Enter key.
  96.  
  97.  
  98.                      INFO
  99.  
  100. If you want to access various facilities of the Info system, CUNIXF, use
  101. INFO.BAT.  This procedure takes you up to the system prompt, so you can
  102. access any application.  Just type "info" at the DOS prompt, optionally
  103. followed by your CUNIXF user ID, optionally followed by your password (which
  104. will echo, so make sure nobody is looking over your shoulder).  Examples:
  105.  
  106.   info
  107.   info abc123
  108.   info abc123 secret
  109.  
  110. Be sure to properly terminate your application and log out from UNIX (the
  111. "exit" command) when you are finished.  Get back to Kermit with Alt-q
  112. or Alt-x.
  113.  
  114.  
  115.                     EMAIL
  116.  
  117. If you only want to use E-mail, use EMAIL.BAT.  This starts the MM E-Mail
  118. program for you, giving you a few lines of instructions.  Just type "email" at
  119. the DOS prompt, optionally followed by your CUNIXF user ID, optionally
  120. followed by your password.  Examples:
  121.  
  122.   email
  123.   email abc123
  124.   email abc123 secret
  125.  
  126. To finish your your e-mail session, use Alt-Q.  This should exit safely from
  127. MM, no matter whether it is in Top, Read, Send, or More mode, log you out from
  128. UNIX, hang up your data connection, and return you to the DOS prompt.
  129.  
  130.                  CALENDAR DATA ENTRY
  131.  
  132. Calendar data entry people should use CALENDAR.BAT.  This starts the calendar
  133. data entry program for you.  Just type "calendar" at the DOS prompt,
  134. optionally followed by your CUNIXF user ID, optionally followed by your
  135. password.  Examples:
  136.  
  137.   email
  138.   email abc123
  139.   email abc123 secret
  140.  
  141. To finish your your calendar session, follow the directions on your calendar
  142. screen for exiting from the data entry program, then use Alt-Q to log out
  143. from CUNIXF, hang up your data connection, and return to the DOS prompt on
  144. your PC.
  145.  
  146.                 CUSTOMIZATIONS
  147.  
  148. Once you have the INFO.SCR, INFO.BAT, EMAIL.BAT, and CALENDAR.BAT files on
  149. your PC, you can edit them for convenience.  In most cases this won't be
  150. necessary.
  151.  
  152. However, the correct operation of INFO.SCR depends upon your CUNIXF system
  153. prompt being either "$ " (dollar sign followed by space, the standard Shell
  154. and K-Shell prompt) or "% " (percent followed by space, the standard C-Shell
  155. prompt).  If your prompt is different, you MUST edit INFO.SCR to tell it what
  156. your prompt is.  Find the line that looks like this:
  157.  
  158. ; define myprompt {cunixf: }
  159.  
  160. Remove the ";" (semicolon) comment indicator, and change "cunixf: " to
  161. whatever your prompt is (leave the curly brackets), for example:
  162.  
  163.   define myprompt {unix> }
  164.  
  165. If you don't want to type your user ID each time, add a line immediately
  166. below "define myprompt" like this:
  167.  
  168.   define userid abc123
  169.  
  170. where "abc123" is your user ID.
  171.  
  172. But please, DO NOT put your password in this or any file.  You should always
  173. enter it every time you log in.  If you password is in the INFO.SCR file,
  174. anybody can walk up to your PC and access your private data -- they can read
  175. it, change it, or delete it.
  176.  
  177. [End of INFO.DOC]
  178.