Command Description ------- ----------- kermit Enter kermit's interactive mode. Command level mode commands: kermit -r Upload a text file. kermit -s filename Download a text file kermit -i -r Upload a binary file. kermit -i -s filename Download a binary file.
Kermit offers either an interactive mode or a command level mode. To enter the interactive mode, simply type: world% kermit Kermit is a family of file transfer, management, and communication software programs from Columbia University available for most computers and operating systems. The UNIX version of Kermit, called C-Kermit, supports serial connections (direct or dialed) and, in most UNIX implementations, also TCP/IP connections. C-Kermit's major functions are file transfer using the Kermit protocol, automatic dialing, terminal connection, translation of national and international character sets, and script programming for automated communications. C-Kermit can be used in two "modes" -- remote and local. In remote mode, you connect to the UNIX system from a desktop PC, Macintosh, or workstation and transfer files between your desktop computer and UNIX C-Kermit. In that case, connection establishment (dialing, TELNET connection, etc) is handled by the Kermit program on your desktop computer. In local mode, C-Kermit establishes a connection to another computer by direct serial connection, by dialing a modem, or by making a network connection. When used in local mode, C-Kermit gives you a terminal connection to the remote computer, using your actual terminal, emulator, or UNIX workstation window or console driver for specific terminal emulation. C-Kermit also has two types of commands: the familiar UNIX- style command-line arguments, and an interactive dialog with prompt. Command-line arguments give you access to a small but useful subset of C-Kermit's features for terminal connection and file transfer, plus the ability to pipe files into or out of Kermit for transfer. Interactive commands give you access to dialing, script programming, character-set translation, and in general, detailed control and display of all C-Kermit's features. Interactive commands can also be collected into command files or collected into macros. To start kermit, type: world% kermit C-Kermit 5A(188), 23 Nov 92, SunOS 4.1 (BSD) Type ? or HELP for help C-Kermit>Once in kermit, type ? for additional commands.
The following examples are for the command level mode of kermit.
To receive a text file at World from your local host (upload) use:
world% kermit -r
To send a text file from World to your local host (download) use:
world% kermit -s filename
To receive a binary file at World from your local host (upload) use:
world% kermit -i -r
To send a binary file from World to your local host (download) use:
world% kermit -i -s filename
To abort a kermit file transfer, use the Control-C character. You may need to type several Control-C characters before the transfer aborts.
Making kermit faster Modern kermit can transfer about as fast as zmodem, but you have to set some of its transfer parameters, by default it's very conservative. Try this: C-Kermit>set block-check 2 C-Kermit>set send packet-length 1024 C-Kermit>set receive packet-length 1024 C-Kermit>set window-size 8 on both sides, then try a transfer. By the way, you can put those commands (without the C-Kermit> of course) in a file called .kermrc in your home directory (again, on both sides) so it looks like: set block-check 2 set send packet-length 1024 set receive packet-length 1024 set window-size 8 To do this you should be using kermit version 5A at least. Troubleshooting kermit: General: Crank your serial port up as fast as it will go. Use hardware flow control and make sure software flow control is off. Make sure you have the latest ckermit which supports sliding windows and set window size to 10 and the send and receive packet size to 1024. Question: > Could someone tell me how to put kermit in the mode to accept at-dt > commands from the keyboard. I am running kermit in the interactive > mode. First, you should be able to get into a command mode in Kermit by using the 'con' command. That's true for the PC version but there`s some question whether or not that will work for you on the Mac. Since kermit or any other comm program will send commands to your modem it will also wait for a response from it. If local echo is off, nothing will be returned resulting in an error....just something to look into. One version of C-Kermit (don't know what you are using) supports the 'dial' command, the following is from Kermits online help utility: Syntax: DIAL phonenumber Example: DIAL 7654321 Dial a number using an autodial modem. First you must SET MODEM, then SET LINE, then SET SPEED. Then give the DIAL command, including the phone number, for example: DIAL 7654321 If the modem is on a network modem server, SET HOST first, then SET MODEM, then DIAL. See also SET DIAL, SET MODEM, SET LINE, SET HOST, SET SPEED, and REDIAL. The 'phonenumber' can also the name of an entry from your dialing directory, which is a plain text file, one entry per line: name phonenumber speed parity comments for example: e-mail 765-4321 2400 even My electronic mailbox The fields are separated by spaces, and all fields after the 'phonenumber' are optional. If the speed or parity are present, they replace your current SET SPEED and SET PARITY settings. Specify your dialing directory file with the SET DIAL DIRECTORY command. USENET solutions: You might find the answers you are looking for by checking the newsgroup comp.protocols.kermit, since we don`t have all the answers you are looking for this might be a reasonable alternative.
HOME Top of Help Desk Eye On The World The World Kiosk
For further assistance, please send an email
request to support@world.std.com
Copyright 1995 Software Tool & Die, Inc. All Rights Reserved.
Software Tool & Die, Inc., 1330 Beacon St. Suite 215 Brookline, MA 02146