home *** CD-ROM | disk | FTP | other *** search
-
- Note: The instructions below cover use of PC KERMIT 3.0 on an IBM PC or
- PS/2 with an extended keyboard. (On the extended keyboard, the
- function keys are across the top of the keyboard rather than on
- the left hand side). If you are using a version of Kermit earlier
- than 3.0 or if you have an old PC keyboard with the PF keys down
- the left hand side, some of the instructions below may not work on
- your equipment.
-
- CECA's implementation of PC Kermit 3.0 includes the following
- files --
-
- KERMIT.EXE MSKERMIT.INI
- MSKERM.DOC HPKEYS.SET
- MSKERM.HLP IBMKEYS.SET
- IBM.DOC VAXKEYS.SET
-
-
- I. USING PC KERMIT AS A TERMINAL EMULATION PROGRAM
-
- On the PC or PS/2 --
-
- 1. Set up modem and line connections if necessary.
-
- 2. Turn on all equipment and boot PC-DOS.
-
- 3. If in Grote 216, choose the KERM option from the menu and go to
- step 4. Otherwise, access the disk and directory in which
- PC Kermit is stored and enter KERMIT to run the PC
- Kermit program.
-
- 4. When you receive the "Kermit-MS>" prompt, enter one of the
- following commands to set up your keyboard. Enter
-
- IBM -- if logging onto CMS or MUSIC/SP on the IBM 4381,
- VAX -- if logging onto the VAX 11/785,
- HP -- if logging onto the HP 950 or library computer.
-
- If you do not receive an error message, go to step 5.
-
- If you do receive an error message, you may not have all of
- the necessary files and so will have to set up your
- terminal configuration manually. Enter the following
- Kermit commands to set up the configuration:
-
- SET PARITY EVEN
- SET FLOW-CONTROL XON/XOFF
- SET LOCAL-ECHO OFF
- SET TERMINAL VT102
- SET BAUD nnnn -- where "nnnn" is the baud
- rate of your equipment
- SET PORT n -- where "n" is the number
- of your COM port
-
- If you want to check your configuration, enter the Kermit
- command STATUS .
-
- 5. Access the Gandalf network at UTC.
-
- THE METHOD YOU USE TO ACCESS GANDALF DEPENDS UPON WHETHER YOU
- ARE DIALING IN FROM HOME OR ARE USING A MICRO IN ONE OF THE
- MICRO COMPUTER LABS ON THE UTC CAMPUS.
-
- * If you are using one of the micro computers in the lab in
- Hunter or Grote, follow the instructions in section A below.
-
- * If you are dialing in from home using a Hayes compatible
- modem, go to section B below.
-
- * If you are dialing in from home on a modem which is not Hayes
- compatible, consult the manufacturer's documentation.
-
- A. Using a micro in Hunter or Grote Hall --
-
- -- Enter a C to connect to Gandalf.
-
- -- Press Alt-B (hold down the "Alt" key and the "B" key at the
- same time). Then press ENTER. Continue pressing Alt-B and
- ENTER until you get the Gandalf prompt:
-
- PLEASE ENTER SERVICE (CLASS) OR HELP
-
- Go to step 6.
-
- B. Dialing in from home using a Hayes compatible modem --
-
- -- Enter SET BAUD nnnn where nnnn is the baud rate of
- your modem.
-
- -- Enter a C to connect to your modem.
-
- -- Enter AT . You should get an OK message.
-
- -- For touch tone phones, enter ATDTphone# .
- For rotary dial phones, enter ATPTphone# .
- Do not include any blanks or dashes within this command.
- Example: ATDT7554452 .
-
- The phone numbers are --
-
- 755-4452 or 755-4472
-
- -- When you get a carrier, press ENTER one or more times.
- You should get the Gandalf prompt "PLEASE ENTER SERVICE
- (CLASS) OR HELP".
-
- 6. Once you have gotten the Gandalf prompt, enter one of the
- following
-
- IBM -- to log onto MUSIC or CMS.
- VAX -- to log onto the VAX 11/785.
- HP -- to log onto the Academic Computing HP 950.
- LIB -- to log onto the library computer.
-
- 7. If you are logging onto the IBM, you will be prompted to
- "ENTER TERMINAL TYPE:", enter VT100 .
-
- 8. When you receive a prompt from the mainframe computer you have
- chosen, proceed as usual.
-
-
- II. FINDING THE FUNCTION KEYS AND OTHER SPECIAL KEYS ON THE IBM
- EXTENDED KEYBOARD
-
- If you have all of the PC Kermit files listed at the beginning of
- this handout and have executed step 4 correctly, your keyboard will
- be set up as follows.
-
- A. IBM 4381 (MUSIC and CMS) --
-
- IBM Extended Keyboard 3270-type Terminal Keyboard
-
- F1 through F12 == PF01 - PF12
- Shift-F1 through Shift-F12 == PF13 - PF24
- Tab == field tab
- Shift-Tab == field backtab
- Backspace == newline
- Insert == toggle insert mode
- Delete == delete
- Home == clear screen
- End == erase EOF
- Page Up == PA1
- Page Down == PA2
- keypad Home == scroll to top of memory
- keypad End == scroll to end of memory
- keypad PgUp == scroll up page
- keypad PgDn == scroll down page
- keypad Ctrl-End == save screen to KERMIT.SCN
- file on PC.
-
- If you are using a different keyboard, some of the IBM keys can be
- emulated as follows --
-
- PF keys -- on most PC keyboards, you can use ESC and the top two
- rows of alphanumeric keys, i.e.:
-
- ESC,1 == PF01 ESC,2 == PF02 ... ESC,= == PF12
- ESC,q == PF13 ESC,w == PF14 ... ESC,\ == PF24
- ESC,comma-key == PA1 ESC,period-key == PA2
- left-arrow key == Backspace
-
-
- B. VAX keys (EVE Editor) --
-
- IBM Extended Keyboard VT 100 Keyboard
-
- Page Up == PF1 -- editor FIND
- keypad / == PF2 HELP
- keypad * == PF3 FORWARD/BACK
- keypad - == PF4 DO
- keypad 7 == 7 SELECT
- keypad 8 == 8 REMOVE
- keypad 9 == 9 INSERT HERE
- keypad + == - (hyphen) MOVE BY LINE
- keypad Shift-+ (shift-plus) == , (comma) ERASE WORD
- keypad 4 == 4 undefined
- keypad 5 or up-arrow key == 5 UP
- keypad 6 == 6 undefined
- keypad 1 or back-arrow key == 1 LEFT
- keypad 2 or down-arrow key == 2 DOWN
- keypad 3 or right-arrow key == 3 RIGHT
- keypad Enter == Enter INSERT/OVERSTRIKE
- keypad 0 == 0 NEXT SCREEN
- keypad . == . (period) PREVIOUS SCREEN
- Backspace == delete
- Shift-Backspace == backspace
- Delete == delete
- F12 == linefeed
- Home == scroll to top of memory
- Ctrl-Home == scroll up one page
- End == scroll to bottom of memory
- Ctrl-End == scroll down one page
-
-
- C. HP and LIB keys
-
- IBM Extended Keyboard HP Terminal
-
- Backspace == backspace
-
-
- III. USING KERMIT TO TRANSFER FILES BETWEEN A MAINFRAME AND A PC OR PS/2
-
- Use PC Kermit to log onto your account on the IBM 4381, VAX 11/785, or
- HP 950 and proceed as follows --
-
- 1. When you have received the mainframe's system prompt, enter
- KERMIT to run the mainframe Kermit program. (On the HP, you
- may have to enter "RUN KERMIT.PUB.KERMIT").
-
- 2. When you receive the mainframe Kermit ">" prompt, enter
- SHOW ALL ("SHOW ?" on CMS) to display the settings of the
- mainframe Kermit. Reset any options which are incorrectly set
- by entering the command SET option value where "option"
- is the option to be reset and "value" is the new value of the
- option.
-
- For example, on the VAX you must enter SET PARITY EVEN
- to configure VAX Kermit correctly BEFORE transferring any files.
-
- 3. Enter a mainframe Kermit file transfer command. For example --
-
- RECEIVE (Receive a file from the PC)
- RECEIVE <filename> (Receive a file and store it
- under the filename given)
- SEND <filename> (Send file to the PC)
-
- The message "Please escape to local Kermit to RECEIVE/SEND the
- file(s)" will be displayed on most systems. (On the VAX, no
- message is displayed unless an error occurs. Enter one of the
- commands above and then go on to step 4 if no error message is
- displayed.)
-
- 4. Press Alt-x to escape back to PC Kermit.
-
- 5. Enter a PC Kermit file transfer command. For example --
-
- RECEIVE (Receive a file from the mainframe)
- RECEIVE <filename.ext> (Receive under the filename given)
- SEND <filename.ext> (Send the PC file to the mainframe)
-
- 6. A screen such as this will be displayed:
-
- File name:
- KBytes transferred:
- Percent transferred:
- Sending: (or Receiving:)
-
- Number of packets:
- Packet length:
- Number of retries:
- Last error:
- Last message:
-
- When the transaction has been completed, "Completed" will be
- displayed in the "Sending:" or "Receiving:" field. Wait for
- the "completed" message before preceding to step 7.
-
- 7. Enter a C to connect to the mainframe. Then press
- ENTER, if necessary, to get a Kermit prompt from the mainframe
- Kermit.
-
- 8. Repeat steps 3 through 7 to transfer other files or enter the
- EXIT command to exit from the mainframe Kermit program.
-
-
- IV. TO LOG OFF AND DISCONNECT
-
- 1. Log off of the mainframe.
-
- 2. Press Esc then, ` (left accent), then . (period) to return to
- the Gandalf prompt. Then enter BYE .
-
- 3. If connected through a modem, hang up.
-
- 4. Escape back to PC Kermit, by pressing Alt-x.
-
- 5. Enter EXIT to exit from PC Kermit.
-
-
- V. PC KERMIT COMMANDS
-
- PC Kermit implements a large subset of the commands of "ideal"
- Kermit. The ones you are most likely to find useful are:
-
- CONNECT as terminal to remote system.
- DEFINE macros of PC Kermit commands.
- DELETE local files.
- DIRECTORY listing of local files.
- DO a macro expansion.
- EXIT from PC Kermit.
- HELP about PC Kermit.
- PUSH to MS-DOS command level (enter DOS "EXIT" command to return).
- QUIT from PC Kermit
- RECEIVE files from remote Kermit.
- RUN an MS-DOS program.
- SEND files to remote Kermit.
- SET various parameters.
- SHOW various parameters.
- SPACE inquiry (about disk space).
- STATUS inquiry (about settings).
- TAKE commands from file.
- TYPE display a local file.
- VERSION display PC Kermit program version number.
-
- The following SET commands are available in PC Kermit:
-
- BAUD Communications port line speed (synonym for SPEED)
- BELL Whether to beep at the end of a transaction
- BLOCK-CHECK-TYPE Level of error checking for file transfer
- DEBUG Display packet contents during file transfer
- DEFAULT-DISK Default disk drive for file i/o
- DESTINATION Default destination device for incoming files
- DISPLAY For selecting the type of file transfer display
- DUMP Screen dump file (or device) name
- END-OF-LINE Packet termination character
- EOF Method for determining or marking end of file
- ESCAPE Escape character for CONNECT
- FLOW-CONTROL Enable or disable XON/XOFF
- HANDSHAKE Half-duplex line turnaround option
- INCOMPLETE What to do with an incompletely received file
- KEY Specify key redefinitions, or "keystroke macros"
- LOCAL-ECHO Specify which computer does the echoing during
- CONNECT
- MODE-LINE Whether to display a mode line during terminal
- emulation
- PARITY Character parity to use
- PORT Select a communications port
- PROMPT Change the "PC Kermit>" prompt to something else
- RECEIVE Request remote Kermit to use specified parameters
- REMOTE For running PC Kermit interactively from back port
- RETRY Packet retransmission threshold
- SEND Use the specified parameters during file transfer
- SPEED Communications port line speed (synonym for BAUD)
- TAKE-ECHO Control echoing of commands from TAKE files
- TERMINAL Emulation and parameters
- TIMER Enable/disable timeouts during file transfer
- WARNING Specify how to handle filename collisions
-
-
- VI. CUSTOMIZING PC KERMIT
-
- The commands in the file MSKERMIT.INI are executed automatically each
- time you run PC Kermit. If you are dialing in from home, you may want
- to edit the MSKERMIT.INI file and change the "SET BAUD 9600" statement
- to match the baud rate of your modem. Then you would not have to
- reset the baud rate each time you logged on.
-
- When at UTC using a PC connected directly to the Gandalf network, you
- can use a baud rate of 9600 or 19200. However, if PC Kermit has too
- many retries when you are trying to transfer a file, you should set the
- baud rate down to 2400.
-
- The MSKERMIT.INI file contains three macros -- "IBM", "VAX", and "HP".
- You may alter these macros or create others if you wish. To execute a
- macro stored in MSKERMIT.INI, enter the macro name as a command or enter
-
- DO macro-name
-
- If you wish to execute a large group of Kermit commands, store them into
- a file other than MSKERMIT.INI and then use the "TAKE" command within
- a macro to execute the commands in the other file.
-
- For examples of the use of macros and of the "TAKE" command, look at
- the MSKERMIT.INI file and at the files IBMKEYS.SET, VAXKEYS.SET, and
- HPKEYS.SET. Copies of these are appended to the end of the handout.
-
-
- VII. SPECIAL NOTE FOR THOSE RUNNING PLOTS
-
- Unlike PCPLOT, PC KERMIT doesn't switch between text and graphics mode
- automatically when a plot command is issued. To toggle between VT100
- and TEK 4010 modes, press ALT,- (minus on main keyboard) or Alt-w .
- PC Kermit 3.0 supports four terminal types, so you must press Alt,-
- or ALT,w three times to go from VT100 to TEK 4010 mode.
-
- MSKERMIT.INI --
-
- ; General settings for IBM 4381, VAX 785, and HP 950
- ;
- SET TERMINAL VT102
- SET PORT 1
- SET BAUD 9600
- SET LOCAL-ECHO OFF
- SET PARITY EVEN
- ;
- ; Macros --
- ;
- DEFINE VAX TAKE VAXKEYS.SET,
- ;
- DEFINE IBM TAKE IBMKEYS.SET,
- ;
- DEFINE HP TAKE HPKEYS.SET,
- ;
- DEFINE UTK SET PARITY NONE,SET BAUD 2400,
- ;
-
- ========================================================================
-
-
- ; IBMKEYS.SET
- ;
- ; Sets IBM extended keyboard for use with IBM 4381.
- ;
- SET KEY \315 \27\49 ; Set F1-F12 to PF01-PF12
- SET KEY \316 \27\50
- SET KEY \317 \27\51
- SET KEY \318 \27\52
- SET KEY \319 \27\53
- SET KEY \320 \27\54
- SET KEY \321 \27\55
- SET KEY \322 \27\56
- SET KEY \323 \27\57
- SET KEY \324 \27\48
- SET KEY \389 \27\45
- SET KEY \390 \27\61
- ;
- SET KEY \852 \27q ; Set Shift-F1-F12 to PF13-PF24
- SET KEY \853 \27w
- SET KEY \854 \27e
- SET KEY \855 \27r
- SET KEY \856 \27t
- SET KEY \857 \27y
- SET KEY \858 \27u
- SET KEY \859 \27i
- SET KEY \860 \27o
- SET KEY \861 \27p
- SET KEY \903 \27\
- SET KEY \904 \27|
- ;
- SET KEY \4425 \27\44 ; Set gray Page Up key to PA1
- SET KEY \4433 \27\62 ; Set gray Page Down key to PA2
- SET KEY \4431 \27\127 ; Set gray End key to ERASE EOF
- SET KEY \4423 \27OM ; Set gray Home key to CLEAR
- SET KEY \270 \10 ; Set Backspace to NEWLINE
- SET KEY \4434 \27On ; Set Insert to INSERT
- SET KEY \783 \27\27OD ; Set left tab to FIELD BACKTAB
- ;
- SET KEY \2321 \Ktermtype ; Set Alt,w to toggle termtype
- ;
-
- ====================================================================
-
- ; VAXKEYS.SET
- ;
- ; Set keypad on IBM *EXTENDED* keyboard as VT100 keypad. The Page Up
- ; key has been used as the "Gold" key because Num Lock can't be set.
- ;
- ; IBM PC key VT100 key
- ; --- -- --- ---------
- SET KEY \4425 \27OP ; Page Up PF1 (Gold)
- SET KEY \4937 \27OP ; Page Up upshifted PF1 (Gold)
- SET KEY \4399 \27OQ ; / PF2
- SET KEY \311 \27OR ; * PF3
- SET KEY \330 \27OS ; - PF4
- SET KEY \327 \27Ow ; 7 7
- SET KEY \839 \27Ow ; 7 num locked 7
- SET KEY \328 \27Ox ; 8 8
- SET KEY \840 \27Ox ; 8 num locked 8
- SET KEY \329 \27Oy ; 9 9
- SET KEY \841 \27Oy ; 9 num locked 9
- SET KEY \334 \27Om ; + -
- SET KEY \846 \27Ol ; + upshifted comma (,)
- SET KEY \331 \27Ot ; 4 4
- SET KEY \843 \27Ot ; 4 num locked 4
- SET KEY \332 \27Ou ; 5 5
- SET KEY \844 \27Ou ; 5 num locked 5
- SET KEY \333 \27Ov ; 6 6
- SET KEY \845 \27Ov ; 6 num locked 6
- SET KEY \335 \27Oq ; 1 1
- SET KEY \847 \27Oq ; 1 num locked 1
- SET KEY \336 \27Or ; 2 2
- SET KEY \848 \27Or ; 2 num locked 2
- SET KEY \337 \27Os ; 3 3
- SET KEY \849 \27Os ; 3 num locked 3
- SET KEY \4365 \27OM ; Enter Enter
- SET KEY \338 \27Op ; 0 0
- SET KEY \850 \27Op ; 0 num locked 0
- SET KEY \339 \27On ; period (.) period
- SET KEY \851 \27On ; period num locked period
- ;
- ; Other VT100 keyboard settings.
- ;
- SET KEY \390 \10 ; F12 linefeed
- SET KEY \782 \08 ; Backspace upshifted backspace
- SET KEY \5495 \Kupscn ; Ctrl Home up page
- SET KEY \5493 \Kdnscn ; Ctrl End up page
- ;
- ; Backspace, Delete, Home, End, Page Down, and the arrow keys work as
- ; expected and have not been altered.
- ;
- ; Set Alt,w to \Ktermtype (toggle TEK 4010) to conform to PCPLOT
- ;
- SET KEY \2321 \Ktermtype
- ;
-
- ========================================================================
-
- ; HPKEYS.SET
- ;
- SET KEY \270 \08 ; set Backspace to backspace
- ;
-
- ========================================================================