1 | |
---|
2 | C-KERMIT 8.0 UNIX MANUAL PAGE AND TUTORIAL |
---|
3 | |
---|
4 | Frank da Cruz, Christine M. Gianone |
---|
5 | [1]The Kermit Project, [2]Columbia University |
---|
6 | |
---|
7 | [ [3]PDF version ] [ [4]Nroff version ] |
---|
8 | |
---|
9 | This document is intended to give the beginner sufficient |
---|
10 | information to make basic (if not advanced) use of C-Kermit 8.0. |
---|
11 | Although it might be rather long for a Unix manual page (about 1600 |
---|
12 | lines), it's still far shorter than the C-Kermit manual, which |
---|
13 | should be consulted for advanced topics such as customization, |
---|
14 | character-sets, scripting, etc. We also attempt to provide a clear |
---|
15 | structural overview of C-Kermit's many capabilities, functional |
---|
16 | areas, states, and modes and their interrelation, that should be |
---|
17 | helpful to beginners and veterans alike, as well as to those |
---|
18 | upgrading to the new release. |
---|
19 | |
---|
20 | Most recent update: 24 October 2002 |
---|
21 | ________________________________________________________________________ |
---|
22 | |
---|
23 | CONTENTS |
---|
24 | * [5]DESCRIPTION |
---|
25 | * [6]SYNOPSIS |
---|
26 | * [7]OPTIONS |
---|
27 | * [8]COMMAND LANGUAGE |
---|
28 | * [9]INITIALIZATION FILE |
---|
29 | * [10]MODES OF OPERATION |
---|
30 | * [11]MAKING CONNECTIONS |
---|
31 | * [12]TRANSFERRING FILES WITH KERMIT |
---|
32 | * [13]KERMIT CLIENT/SERVER CONNECTIONS |
---|
33 | * [14]KERMIT'S BUILT-IN FTP AND HTTP CLIENTS |
---|
34 | * [15]INTERNET KERMIT SERVICE |
---|
35 | * [16]SECURITY |
---|
36 | * [17]ALTERNATIVE COMMAND-LINE PERSONALITIES |
---|
37 | * [18]LICENSE |
---|
38 | * [19]OTHER TOPICS |
---|
39 | * [20]DOCUMENTATION AND UPDATES |
---|
40 | * [21]FILES |
---|
41 | * [22]AUTHORS |
---|
42 | _________________________________________________________________ |
---|
43 | |
---|
44 | DESCRIPTION [ [23]Top ] [ [24]Contents ] [ [25]Next ] |
---|
45 | |
---|
46 | [26]C-Kermit is an all-purpose communications software package from |
---|
47 | the [27]Kermit Project at [28]Columbia University that: |
---|
48 | |
---|
49 | * Is portable to many platforms, Unix and non-Unix alike. |
---|
50 | * Can make both serial and network connections. |
---|
51 | * Can conduct interactive terminal sessions over its connection. |
---|
52 | * Can transfer text or binary files over the same connection. |
---|
53 | * Can convert text-file character sets in terminal mode or file |
---|
54 | transfer. |
---|
55 | * Is customizable in every aspect of its operation. |
---|
56 | |
---|
57 | C-Kermit is a modem program, a Telnet client, an Rlogin client, an FTP |
---|
58 | client, an HTTP client, and on selected platforms, also an X.25 |
---|
59 | client. It can make its own secure Internet connections using |
---|
60 | IETF-approved security methods including Kerberos IV, Kerberos V, |
---|
61 | SSL/TLS, and SRP and it can also make SSH (Secure Shell) connections |
---|
62 | through your external SSH client application. It can be the far-end |
---|
63 | file-transfer or client/server partner of your desktop Kermit client. |
---|
64 | It can also accept incoming dialed and network connections. It can |
---|
65 | even be installed as an Internet service on its own standard TCP |
---|
66 | socket, 1649 [[29]RFC2839, [30]RFC2840]. |
---|
67 | |
---|
68 | And perhaps most important, everything you can do "by hand" |
---|
69 | (interactively) with C-Kermit, can be "scripted" (automated) using its |
---|
70 | built-in cross-platform transport-independent script programming |
---|
71 | language, which happens to be identical to its interactive command |
---|
72 | language. |
---|
73 | |
---|
74 | This manual page offers an overview of C-Kermit 8.0 for Unix ("Unix" |
---|
75 | is an operating system family that includes AIX, DG/UX, FreeBSD, |
---|
76 | HP-UX, IRIX, Linux, Mac OS X, NetBSD, OpenBSD, Open Server, Open Unix, |
---|
77 | QNX, Solaris, SunOS, System V R3, System V R4, Tru64 Unix, Unixware, |
---|
78 | Xenix, and many others). For thorough coverage, please consult the |
---|
79 | published C-Kermit manual and supplements (see [31]DOCUMENTATION |
---|
80 | below). For further information about C-Kermit, Kermit software for |
---|
81 | other platforms, and Kermit manuals, visit the Kermit Project website: |
---|
82 | |
---|
83 | [32]http://www.columbia.edu/kermit/ |
---|
84 | |
---|
85 | This is a longer-than-average manual page, and yet it barely scratches |
---|
86 | the surface. Don't be daunted. C-Kermit is a large and complex |
---|
87 | package, evolving over decades of practice and experience, but that |
---|
88 | doesn't mean it's hard to learn or use. Its most commonly used |
---|
89 | functions are explained here with pointers to additional information |
---|
90 | elsewhere. |
---|
91 | |
---|
92 | [ [33]Kermit Home ] [ [34]C-Kermit Home ] [ [35]C-Kermit FAQ ] |
---|
93 | ________________________________________________________________________ |
---|
94 | |
---|
95 | SYNOPSIS [ [36]Top ] [ [37]Contents ] [ [38]Next ] [ [39]Previous ] |
---|
96 | |
---|
97 | Usage: kermit [filename] [-x arg [-x arg]...[-yyy]..] [ {=,--,+} text |
---|
98 | ] ] |
---|
99 | Or: kermit URL |
---|
100 | |
---|
101 | * -x is an option requiring an argument; |
---|
102 | * -y is an option with no argument. |
---|
103 | |
---|
104 | If the first command-line argument is the name of a file, |
---|
105 | interactive-mode commands are executed from the file. The '=' (or |
---|
106 | "--") argument tells Kermit not to parse the remainder of the command |
---|
107 | line, but to make the words following '=' available as \%1, \%2, ... |
---|
108 | \%9. The "+" argument is like "=" but for use in "kerbang scripts" |
---|
109 | (explained [40]below). A second command-line format allows the one and |
---|
110 | only argument to be a [41]Telnet, FTP, HTTP, or IKSD URL. |
---|
111 | |
---|
112 | Order of execution: |
---|
113 | |
---|
114 | 1. [42]The command file (if any). |
---|
115 | 2. [43]The initialization file, if any, unless suppressed with -Y. |
---|
116 | 3. [44]The customization file (if it is executed by the |
---|
117 | initialization file). |
---|
118 | 4. [45]The command-line URL (if any, and if so, execution stops |
---|
119 | here). |
---|
120 | 5. [46]Command-line options (if any). |
---|
121 | 6. [47]Interactive commands. |
---|
122 | |
---|
123 | Some command-line options can cause actions (such as -s to send a |
---|
124 | file); others just set parameters. If any action options are included |
---|
125 | on the command line, Kermit exits when finished unless also given the |
---|
126 | -S ("stay") option. If no action options are given, no initialization |
---|
127 | or command files contained an EXIT or QUIT command, and no fatal |
---|
128 | errors occurred, Kermit issues its prompt and waits for you to type |
---|
129 | commands. |
---|
130 | |
---|
131 | Bear in mind that C-Kermit can be built with selected features |
---|
132 | disabled, and also that certain features are not available on all |
---|
133 | platforms. For example, C-Kermit can't be built with TCP/IP support |
---|
134 | on a platform that does not have TCP/IP header files and libraries |
---|
135 | (and even if Kermit does include TCP/IP support, it can't be used |
---|
136 | to make TCP/IP connections on a computer that does not have a |
---|
137 | TCP/IP stack installed). If your version of C-Kermit lacks a |
---|
138 | feature mentioned here, use its SHOW FEATURES command to see what |
---|
139 | might have been excluded. |
---|
140 | |
---|
141 | C-Kermit has three kinds of commands: regular single-letter |
---|
142 | command-line options, extended-format command-line options, and |
---|
143 | interactive commands. |
---|
144 | |
---|
145 | [ [48]Kermit Home ] [ [49]C-Kermit Home ] [ [50]C-Kermit FAQ ] |
---|
146 | ________________________________________________________________________ |
---|
147 | |
---|
148 | OPTIONS [ [51]Top ] [ [52]Contents ] [ [53]Next ] [ [54]Previous ] |
---|
149 | |
---|
150 | Like most Unix commands, C-Kermit can be be given options on the |
---|
151 | command line. But C-Kermit also can be used interactively by giving it |
---|
152 | [55]commands composed of words, which are more intuitive than cryptic |
---|
153 | command-line options, and more flexible too. In other words, you don't |
---|
154 | have to use C-Kermit's command-line options, but they are available if |
---|
155 | you want to. (By the same token, you don't have to use its interactive |
---|
156 | commands either -- you can use either or both in any combination.) |
---|
157 | |
---|
158 | C-Kermit is generally installed in the PATH as "kermit", and therefore |
---|
159 | is invoked by typing the word "kermit" (lowercase) at the shell |
---|
160 | prompt, and then pressing the Return or Enter key. If you wish to |
---|
161 | include command-line options, put them after the word "kermit" but |
---|
162 | before pressing Return or Enter, separated by spaces, for example: |
---|
163 | |
---|
164 | $ kermit -s ckermit.tar.gz |
---|
165 | |
---|
166 | ('$' is the shell prompt; "kermit -s ckermit.tar.gz" is what you type, |
---|
167 | followed by Return or Enter.) |
---|
168 | |
---|
169 | Here is a list of C-Kermit's single-letter command-line options, which |
---|
170 | start with a single dash (-), in ASCII ("alphabetical") order. |
---|
171 | Alphabetic case is significant (-A is not the same as -a). The Action? |
---|
172 | column contains Y for action options and N for non-action options. |
---|
173 | Option Action? Description |
---|
174 | -0 N (digit zero) 100% transparent Connect state for "in-the-middle" |
---|
175 | operation: 8 bits, no parity, no escape character, everything passes |
---|
176 | through. |
---|
177 | -8 N (digit eight) Connection is 8-bit clean (this is the default in |
---|
178 | C-Kermit 8.0). Equivalent to the EIGHTBIT command, which in turn is a |
---|
179 | shortcut for SET TERMINAL BYTESIZE 8, SET COMMAND BYTESIZE 8, SET |
---|
180 | PARITY NONE. |
---|
181 | -9 arg N (digit nine) Make a connection to an FTP server. Equivalent |
---|
182 | to the FTP OPEN command. |
---|
183 | Argument: IP-address-or-hostname[:optional-TCP-port]. |
---|
184 | NOTE: C-Kermit also has a separate FTP command-line personality, with |
---|
185 | regular FTP-like command-line syntax. [56]More about this below. |
---|
186 | -A N Kermit is to be started as an Internet service (IKSD) (only from |
---|
187 | inetd.conf). |
---|
188 | -B N Kermit is running in Batch or Background (no controlling |
---|
189 | terminal). To be used in case Kermit doesn't automatically sense its |
---|
190 | background status. Equivalent to the SET BACKGROUND ON command. |
---|
191 | -C arg N Interactive-mode Commands to be executed. |
---|
192 | Argument: Commands separated by commas, list in doublequotes. |
---|
193 | -D arg N Delay before starting to send in Remote mode. Equivalent to |
---|
194 | the SET DELAY command. |
---|
195 | Argument: Number of seconds. |
---|
196 | -E N Exit automatically when connection closes. Equivalent to SET EXIT |
---|
197 | ON-DISCONNECT ON. |
---|
198 | -F arg N Use an open TCP connection. |
---|
199 | Argument: Numeric file descriptor of open TCP connection. |
---|
200 | Also see: -j, -J. |
---|
201 | -G arg Y Get file(s) from server, send contents to standard output, |
---|
202 | which normally would be piped to another process. |
---|
203 | Argument: Remote file specification, in quotes if it contains |
---|
204 | metacharacters. |
---|
205 | Also see: -g, -k. |
---|
206 | -H N Suppress program startup Herald and greeting. |
---|
207 | -I N Tell Kermit it has a reliable connection, to force streaming to |
---|
208 | be used where it normally would not be. Equivalent to the SET RELIABLE |
---|
209 | ON command. |
---|
210 | -J arg N "Be like Telnet." Like -j but implies -E. |
---|
211 | Argument: IP hostname/address optionally followed by service. |
---|
212 | NOTE: C-Kermit also has a separate Telnet command-line personality, |
---|
213 | with regular Telnet-like command-line syntax. [57]More about this |
---|
214 | below. |
---|
215 | -L N Recursive directory descent for files in -s option. |
---|
216 | -M arg N My user name (for use with Telnet, Rlogin, FTP, etc). |
---|
217 | Equivalent to the SET LOGIN USER command. |
---|
218 | Argument: Username string. |
---|
219 | -O Y (Uppercase letter O) Be a server for One command only. Also see: |
---|
220 | -x. |
---|
221 | -P N Don't convert file (Path) names of transferred files. Equivalent |
---|
222 | to SET FILE NAMES LITERAL. |
---|
223 | -Q N Quick Kermit protocol settings. Equivalent to the FAST command. |
---|
224 | This is the default in C-Kermit 7.0 and later. |
---|
225 | -R N Remote-only (this just makes IF REMOTE true). |
---|
226 | -S N Stay (enter command parser after action options). |
---|
227 | -T N Force Text mode for file transfer; implies -V. Equivalent to SET |
---|
228 | TRANSFER MODE MANUAL, SET FILE TYPE TEXT. |
---|
229 | -V N Disable automatic per-file text/binary switching. Equivalent to |
---|
230 | SET TRANSFER MODE MANUAL. |
---|
231 | -Y N Skip (don't execute) the initialization file. |
---|
232 | -a arg N As-name for file(s) in -s, -r, or -g. |
---|
233 | Argument: As-name string (alternative filename). When receiving files, |
---|
234 | this can be a directory name. |
---|
235 | -b arg N Speed for serial device. Equivalent to SET SPEED. |
---|
236 | Argument: Numeric Bits per second for serial connections. |
---|
237 | -c Y Enter Connect state before transferring files. |
---|
238 | -d N Create a debug.log file with detailed debugging information (a |
---|
239 | second -d adds timestamps). Equivalent to LOG DEBUG but takes effect |
---|
240 | sooner. |
---|
241 | -e arg N Maximum length for incoming Kermit file-transfer packets. |
---|
242 | Equivalent to SET RECEIVE PACKET-LENGTH. |
---|
243 | Argument: Length in bytes. |
---|
244 | -f Y Send a FINISH command to a Kermit server. |
---|
245 | -g arg N Get file(s) from a Kermit server. |
---|
246 | Argument: File specification on other computer, in quotes if it |
---|
247 | contains metacharacters. Equivalent to GET. |
---|
248 | Also see: -a, -G, -r. |
---|
249 | -h Y Print Help text for single-letter command-line options (pipe thru |
---|
250 | 'more' to prevent scrolling). |
---|
251 | -i N Force binary (Image) mode for file transfer; implies -V. |
---|
252 | Equivalent to SET TRANSFER MODE MANUAL, SET FILE TYPE BINARY. |
---|
253 | -j arg N Make a TCP/IP connection. |
---|
254 | Argument: IP host name/address and optional service name or number. |
---|
255 | Equivalent to the TELNET command. |
---|
256 | Also see: -J, -F. |
---|
257 | -k Y Receive file(s) to standard output, which normally would be piped |
---|
258 | to another process. |
---|
259 | Also see: -r, -G. |
---|
260 | -l arg N (Lowercase letter L) Make a connection on the given serial |
---|
261 | communications device. Equivalent to the SET LINE (SET PORT) command. |
---|
262 | Argument: Serial device name, e.g. /dev/ttyS0. |
---|
263 | -m arg N Modem type for use with the -l device. Equivalent to the SET |
---|
264 | MODEM TYPE command. |
---|
265 | Argument: Modem name as in SET MODEM TYPE command, e.g. "usrobotics". |
---|
266 | -n Y Enter Connect state after transferring files (historical). |
---|
267 | -p arg N Parity. Equivalent to the SET PARITY command. |
---|
268 | Argument: One of the following: e(ven), o(dd), m(ark), n(one), |
---|
269 | s(pace). |
---|
270 | -q N Quiet (suppress most messages). Equivalent to SET QUIET ON. |
---|
271 | -r Y Receive file(s). Equivalent to the RECEIVE command. |
---|
272 | Argument: (none, but see -a) |
---|
273 | -s arg N Send file(s). |
---|
274 | Argument: One or more local file specifications. Equivalent to the |
---|
275 | SEND command. |
---|
276 | Also see: -a. |
---|
277 | -t N (Historical) Xon (Ctrl-Q) Turnaround character for half-duplex |
---|
278 | connections (used on serial linemode connections to old mainframes). |
---|
279 | Equivalent to SET DUPLEX HALF, SET HANDSHAKE XON. |
---|
280 | -v arg N Window size for Kermit protocol (ignored when streaming). |
---|
281 | Equivalanet to SET WINDOW-SIZE. |
---|
282 | Argument: Number, 1 to 32. |
---|
283 | -w N Incoming files Write over existing files. Equivalent to SET FILE |
---|
284 | COLLISION OVERWRITE. |
---|
285 | -x Y Enter server mode. Equivalent to the SERVER command. Also see: |
---|
286 | -O. |
---|
287 | -y arg N Alternative initialization file. |
---|
288 | Argument: Filename. |
---|
289 | -z N Force foreground behavior. To be used in case Kermit doesn't |
---|
290 | automatically sense its foreground status. Equivalent to the SET |
---|
291 | BACKGROUND OFF command. |
---|
292 | |
---|
293 | Extended command-line options (necessary because single-letter ones |
---|
294 | are about used up) start with two dashes (--), with words rather than |
---|
295 | single letters as option names. If an extended option takes an |
---|
296 | argument, it is separated from the option word by a colon (:). |
---|
297 | Extended options include: |
---|
298 | Option Description |
---|
299 | --bannerfile:filename File to display upon startup or IKSD login. |
---|
300 | --cdfile:filename File to be sent for display to the client when |
---|
301 | server changes directory (filename is relative to the changed-to |
---|
302 | directory). |
---|
303 | --cdmessage:{on,off} Enable/disable the server CD message feature. |
---|
304 | --help Prints usage message for extended options. |
---|
305 | --helpfile:filename Designates a file containing custom text to |
---|
306 | replace the top-level HELP command. |
---|
307 | --nointerrupts Disables keyboard interrupts. |
---|
308 | --noperms Disables the Kermit protocol file Permissions attribute, to |
---|
309 | prevent transmission of file permissions (protection) from sender to |
---|
310 | receiver. |
---|
311 | |
---|
312 | Plus several other [58]IKSD-Only options. |
---|
313 | |
---|
314 | See the [59]file-transfer section for examples of command-line |
---|
315 | invocation. |
---|
316 | ________________________________________________________________________ |
---|
317 | |
---|
318 | COMMAND LANGUAGE [ [60]Top ] [ [61]Contents ] [ [62]Next ] [ [63]Previous ] |
---|
319 | |
---|
320 | * [64]Command Files, Macros, and Scripts |
---|
321 | * [65]Command List |
---|
322 | |
---|
323 | C-Kermit's interactive command language is the subject of a |
---|
324 | [66]622-page book and another several hundred pages of updates, far |
---|
325 | too much for a manual page. But it's not hard to get started. At the |
---|
326 | shell prompt, just type "kermit" to get C-Kermit's interactive command |
---|
327 | prompt: |
---|
328 | |
---|
329 | $ kermit |
---|
330 | (/current/directory) C-Kermit> |
---|
331 | |
---|
332 | Begin by typing "help" (and then press the Return or Enter key) for a |
---|
333 | top-level overview, read it, and go from there. Your second command |
---|
334 | should probably be "intro" (introduction). Note the prompt shows your |
---|
335 | current directory (unless you tell Kermit to prompt you with something |
---|
336 | else). |
---|
337 | |
---|
338 | Interactive commands are composed mainly of regular English words, |
---|
339 | usually in the form of imperative sentences, such as: |
---|
340 | |
---|
341 | send oofa.txt |
---|
342 | |
---|
343 | which tells Kermit to send (transfer) the file whose name is oofa.txt, |
---|
344 | or: |
---|
345 | |
---|
346 | set transfer mode automatic |
---|
347 | |
---|
348 | which sets Kermit's "transfer mode" to "automatic" (whatever that |
---|
349 | means). |
---|
350 | |
---|
351 | While typing commands, you can abbreviate, ask for help (by pressing |
---|
352 | the "?" key anywhere in a command), complete keywords or filenames |
---|
353 | (with the Tab or Esc key), and edit your typing with Backspace or |
---|
354 | Delete, Ctrl-W, Ctrl-U, etc. You can also recall previous commands, |
---|
355 | save your command history, and who knows what else. Give the INTRO |
---|
356 | command for details. |
---|
357 | |
---|
358 | C-Kermit has hundreds of commands, and they can be issued in infinite |
---|
359 | variety and combinations, including commands for: |
---|
360 | |
---|
361 | * Making connections (SET LINE, DIAL, TELNET, SSH, FTP, CONNECT, |
---|
362 | ...) |
---|
363 | * Breaking connections (HANGUP, CLOSE) |
---|
364 | * Transferring files (SEND, GET, RECEIVE, MOVE, RESEND, ...) |
---|
365 | * Establishing preferences (SET) |
---|
366 | * Displaying preferences (SHOW) |
---|
367 | * Managing local files (CD, DELETE, MKDIR, DIRECTORY, RENAME, TYPE, |
---|
368 | ...) |
---|
369 | * Managing remote files (RCD, RDEL, RMKDIR, RDIR, ...) |
---|
370 | * Using local files (FOPEN, FCLOSE, FREAD, FWRITE) |
---|
371 | * Programming (TAKE, DEFINE, IF, FOR, WHILE, SWITCH, DECLARE, ...) |
---|
372 | * Interacting with the user (ECHO, ASK, ...) |
---|
373 | * Interacting with a remote computer (INPUT, OUTPUT, ...) |
---|
374 | * Interacting with local programs (RUN, EXEC, PTY, ...) |
---|
375 | * Logging things (LOG SESSION, LOG PACKETS, LOG DEBUG, ...) |
---|
376 | |
---|
377 | And of course QUIT or EXIT to get out and HELP to get help, and for |
---|
378 | programmers: loops, decision making, variables, arrays, associative |
---|
379 | arrays, integer and floating point arithmetic, macros, built-in and |
---|
380 | user-defined functions, string manipulation, pattern matching, block |
---|
381 | structure, scoping, recursion, and all the rest. To get a list of all |
---|
382 | C-Kermit's commands, type a question mark (?) at the prompt. To get a |
---|
383 | description of any command, type HELP followed by the name of the |
---|
384 | command, for example: |
---|
385 | |
---|
386 | help send |
---|
387 | |
---|
388 | The command interruption character is Ctrl-C (hold down the Ctrl key |
---|
389 | and press the C key). |
---|
390 | |
---|
391 | The command language "escape character", used to introduce variable |
---|
392 | names, function invocations, and so on, is backslash (\). If you need |
---|
393 | to include a literal backslash in a command, type two of them, e.g.: |
---|
394 | |
---|
395 | get c:\\k95\\k95custom.ini |
---|
396 | |
---|
397 | Command Files, Macros, and Scripts |
---|
398 | |
---|
399 | A file containing Kermit commands is called a Kermit command file or |
---|
400 | Kermit script. It can be executed with Kermit's TAKE command: |
---|
401 | |
---|
402 | (/current/dir) C-Kermit> take commandfile |
---|
403 | |
---|
404 | (where "commandfile" is the name of the command file). Please don't |
---|
405 | pipe a command file into Kermit's standard input (which might or might |
---|
406 | not work); if you have Kermit commands in a file, tell Kermit to TAKE |
---|
407 | the file. |
---|
408 | |
---|
409 | In Unix only, a Kermit command file can also be executed directly by |
---|
410 | including a "kerbang" line as the first line of the file: |
---|
411 | |
---|
412 | #!/usr/local/bin/kermit + |
---|
413 | |
---|
414 | That is, a top line that starts with "#!", followed immediately by the |
---|
415 | full path of the Kermit executable, and then, if the Kermit script is |
---|
416 | to be given arguments on the command line, a space and a plus sign. |
---|
417 | The script file must also have execute permission: |
---|
418 | |
---|
419 | chmod +x commandfile |
---|
420 | |
---|
421 | Except for the " +" part, this is exactly the same as you would do for |
---|
422 | a shell script, a Perl script, etc. Here's a simple but useless |
---|
423 | example script that regurgitates its arguments (up to three of them): |
---|
424 | |
---|
425 | #!/usr/local/bin/kermit + |
---|
426 | if defined \%1 echo "Argument 1: \%1" |
---|
427 | if defined \%2 echo "Argument 2: \%2" |
---|
428 | if defined \%3 echo "Argument 3: \%3" |
---|
429 | if defined \%4 echo "etc..." |
---|
430 | exit |
---|
431 | |
---|
432 | If this file is stored in your current directory as "commandfile", |
---|
433 | then: |
---|
434 | |
---|
435 | ./commandfile one two three four five |
---|
436 | |
---|
437 | prints: |
---|
438 | |
---|
439 | Argument 1: one |
---|
440 | Argument 2: two |
---|
441 | Argument 3: three |
---|
442 | etc... |
---|
443 | |
---|
444 | This illustrates the basic structure of a standalone Kermit script: |
---|
445 | the "kerbang line", then some commands. It should end with "exit" |
---|
446 | unless you want the Kermit prompt to appear when it is finished. \%1 |
---|
447 | is the first argument, \%2 the second, and so on. |
---|
448 | |
---|
449 | You can also create your own commands by defining named macros |
---|
450 | composed of other Kermit commands (or macros). Here's a simple |
---|
451 | example: |
---|
452 | |
---|
453 | define mydial { |
---|
454 | set modem type usrobotics |
---|
455 | set port /dev/ttyS0 |
---|
456 | if fail end 1 |
---|
457 | set speed 57600 |
---|
458 | dial \%1 |
---|
459 | if success connect |
---|
460 | } |
---|
461 | |
---|
462 | This shows how you can combine many commands into one command, |
---|
463 | "mydial" in this case (you can use any name you like, provided it does |
---|
464 | not clash with the name of a built-in command). When this macro |
---|
465 | definition is in effect, you can type commands like: |
---|
466 | |
---|
467 | mydial 7654321 |
---|
468 | |
---|
469 | and it executes all the commands in macro definition, substituting the |
---|
470 | first operand ("7654321") for the formal parameter ("\%1") in the |
---|
471 | definition. This saves you from having to type lots of commands every |
---|
472 | time you want to make a modem call. |
---|
473 | |
---|
474 | One way to have the macro definition in effect is to type the |
---|
475 | definition at the Kermit prompt. Another way is to store the |
---|
476 | definition in a file and TAKE the file. If you want the the definition |
---|
477 | to be in effect automatically every time you start Kermit, put the |
---|
478 | definition in your initialization or customization file (explained |
---|
479 | [67]below). |
---|
480 | |
---|
481 | Here's a somewhat more ambitious example: |
---|
482 | |
---|
483 | define mydelete { |
---|
484 | local trash |
---|
485 | assign trash \v(home)trashcan/ |
---|
486 | if not defined \%1 end 1 "Delete what?" |
---|
487 | if wild \%1 end 1 "Deleting multiple files is too scary" |
---|
488 | if not exist \%1 end 1 "I can't find \%1" |
---|
489 | if not directory \m(trash) { |
---|
490 | mkdir \m(trash) |
---|
491 | if fail end 1 "No trash can" |
---|
492 | } |
---|
493 | rename /list \%1 \m(trash) |
---|
494 | } |
---|
495 | define myundelete { |
---|
496 | local trash |
---|
497 | assign trash \v(home)trashcan/ |
---|
498 | if not defined \%1 end 1 "Undelete what?" |
---|
499 | if wild \%1 end 1 "Undeleting multiple files is too hard" |
---|
500 | if not directory \m(trash) end 1 "No trash can" |
---|
501 | if not exist \m(trash)\%1 end 1 "I can't find \%1 in trash can" |
---|
502 | rename /list \m(trash)\%1 . |
---|
503 | } |
---|
504 | |
---|
505 | These macros are not exactly production quality (they don't handle |
---|
506 | filenames that include path segments, they don't handle multiple |
---|
507 | files, etc), but you get the idea: you can pass arguments to macros, |
---|
508 | they can check them and make other kinds of decisions, and the |
---|
509 | commands themselves are relatively intuitive and intelligible. |
---|
510 | |
---|
511 | If you put the above lines into your initialization or customization |
---|
512 | file, you'll have MYDELETE and MYUNDELETE commands available every |
---|
513 | time you start Kermit, at least as long as you don't suppress |
---|
514 | execution of the initialization file. (Exercise for the reader: Make |
---|
515 | these macros generally useful: remove limitations, add trashcan |
---|
516 | display, browsing, emptying, etc.) |
---|
517 | |
---|
518 | Kerbang scripts execute without the initialization file. This to keep |
---|
519 | them portable and also to make them start faster. If you want to write |
---|
520 | Kerbang scripts that depend on the initialization file, include the |
---|
521 | command |
---|
522 | |
---|
523 | take \v(home).kermrc |
---|
524 | |
---|
525 | at the desired spot in the script. By the way, \v(xxx) is a built-in |
---|
526 | variable (xxx is the variable name, "home" in this case). To see what |
---|
527 | built-in variables are available, type "show variables" at the |
---|
528 | C-Kermit prompt. To see what else you can show, type "show ?". \m(xxx) |
---|
529 | is a user defined variable (strictly speaking, it is a macro used as a |
---|
530 | variable). |
---|
531 | |
---|
532 | Command List |
---|
533 | |
---|
534 | C-Kermit has more than 200 top-level commands, and some of these, such |
---|
535 | as SET, branch off into hundreds of subcommands of their own, so it's |
---|
536 | not practical to describe them all here. Instead, here's a concise |
---|
537 | list of the most commonly used top-level commands, grouped by |
---|
538 | category. To learn about each command, type "help" followed by the |
---|
539 | command name, e.g. "help set". Terms such as Command state and Connect |
---|
540 | state are explained in subsequent sections. |
---|
541 | |
---|
542 | Optional fields are shown in [ italicized brackets ]. filename means |
---|
543 | the name of a single file. filespec means a file specification that is |
---|
544 | allowed to contain wildcard characters like '*' to match groups of |
---|
545 | files. options are (optional) switches like /PAGE, /NOPAGE, /QUIET, |
---|
546 | etc, listed in the HELP text for each command. Example: |
---|
547 | |
---|
548 | send /recursive /larger:10000 /after:-1week /except:*.txt * |
---|
549 | |
---|
550 | which can be read as "send all the files in this directory and all the |
---|
551 | ones underneath it that are larger than 10000 bytes, no more than one |
---|
552 | week old, and whose names don't end with ".txt". |
---|
553 | |
---|
554 | Basic Commands |
---|
555 | HELP Requests top-level help. |
---|
556 | HELP command Requests help about the given command. |
---|
557 | INTRODUCTION Requests a brief introduction to C-Kermit. |
---|
558 | LICENSE Displays the C-Kermit software copyright and license. |
---|
559 | VERSION Displays C-Kermit's version number. |
---|
560 | EXIT [ number ] Exits from Kermit with the given status code. |
---|
561 | Synonyms: QUIT, E, Q. |
---|
562 | TAKE filename [ parameters... ] Executes commands from the |
---|
563 | given file. |
---|
564 | LOG item [ filename ] Keeps a log of the given item in the |
---|
565 | given file. |
---|
566 | [ DO ] macro [ parameters... ] Executes commands from the |
---|
567 | given macro. |
---|
568 | SET parameter value Sets the given parameter to the given |
---|
569 | value. |
---|
570 | SHOW category Shows settings in a given category. |
---|
571 | STATUS Tells whether previous command succeeded or failed. |
---|
572 | DATE [ date-and/or-time ] Shows current date-time or interprets |
---|
573 | given date-time. |
---|
574 | RUN [ extern-command [ parameters... ] Runs the given external |
---|
575 | command. Synonym: !. |
---|
576 | EXEC [ extern-command [ params... ] Kermit overlays itself with |
---|
577 | the given command. |
---|
578 | SUSPEND Stops Kermit and puts it in the background. Synonym: Z. |
---|
579 | |
---|
580 | Local File Management |
---|
581 | TYPE [ options ] filename Displays the contents of the given |
---|
582 | file. |
---|
583 | MORE [ options ] filename Equivalent to TYPE /PAGE (pause after |
---|
584 | each screenful). |
---|
585 | CAT [ options ] filename Equivalent to TYPE /NOPAGE. |
---|
586 | HEAD [ options ] filename Displays the first few lines of a |
---|
587 | given file. |
---|
588 | TAIL [ options ] filename Displays the last few lines of a |
---|
589 | given file. |
---|
590 | GREP [ options ] pattern filespec Displays lines from files |
---|
591 | that match the pattern. Synonym: FIND. |
---|
592 | DIRECTORY [ options ] [ filespec ] Lists files (built-in, many |
---|
593 | options). |
---|
594 | LS [ options ] [ filespec ] Lists files (runs external "ls" |
---|
595 | command). |
---|
596 | DELETE [ options ] [ filespec ] Deletes files. Synonym: RM. |
---|
597 | PURGE [ options ] [ filespec ] Removes backup (*.~n~) files. |
---|
598 | COPY [ options ] [ filespecs... ] Copies files. Synonym: CP. |
---|
599 | RENAME [ options ] [ filespecs... ] Renames files. Synonym: MV. |
---|
600 | CHMOD [ options ] [ filespecs... ] Changes permissions of |
---|
601 | files. |
---|
602 | TRANSLATE filename charsets filename ] Converts file's |
---|
603 | character set. Synonym: XLATE. |
---|
604 | CD Changes your working directory to your home directory. |
---|
605 | CD directory Changes your working directory to the one given. |
---|
606 | CDUP Changes your working directory one level up. |
---|
607 | PWD Displays your working directory. |
---|
608 | BACK Returns to your previous working directory. |
---|
609 | MKDIR [ directory ] Creates a directory. |
---|
610 | RMDIR [ directory ] Removes a directory. |
---|
611 | |
---|
612 | Making Connections |
---|
613 | SET LINE [ options ] devicename Opens the named serial |
---|
614 | port. Synonym: SET PORT. |
---|
615 | OPEN LINE [ options ] devicename Same as SET LINE. Synonym: |
---|
616 | OPEN PORT. |
---|
617 | SET MODEM TYPE [ name ] Tells Kermit what kind of modem is on |
---|
618 | the port. |
---|
619 | DIAL [ number ] Tells Kermit to dial the given phone number |
---|
620 | with the modem. |
---|
621 | REDIAL Redials the most recently dialed phone number. |
---|
622 | ANSWER Waits for and answers an incoming call on the modem. |
---|
623 | AUTHENTICATE [ parameters... ] Performs secure authentication |
---|
624 | on a TCP/IP connection. |
---|
625 | SET NETWORK TYPE { TCP/IP, X.25, ... } Selects network type for |
---|
626 | subsequent SET HOST commands. |
---|
627 | SET HOST [ options ] host [ port ] Opens a network connection |
---|
628 | to the given host and port. |
---|
629 | SET HOST [ options ] * port Waits for an incoming TCP/IP |
---|
630 | connection on the given port. |
---|
631 | TELNET [ options ] host Opens a Telnet connection to the host |
---|
632 | and enters Connect state. |
---|
633 | RLOGIN [ options ] host Opens an Rlogin connection to the host |
---|
634 | and enters Connect state. |
---|
635 | IKSD [ options ] host Opens a connection to an Internet Kermit |
---|
636 | Service. |
---|
637 | SSH [ options ] host Opens an SSH connection to the host and |
---|
638 | enters Connect state. |
---|
639 | FTP OPEN host [ options ] Opens an FTP connection to the host. |
---|
640 | HTTP [ options ] OPEN host Opens an HTTP connection to the |
---|
641 | host. |
---|
642 | PTY external-command Runs the command on a pseudoterminal as if |
---|
643 | it were a connection. |
---|
644 | PIPE external-command Runs the command through a pipe as if it |
---|
645 | were a connection. |
---|
646 | |
---|
647 | Using Connections |
---|
648 | CONNECT [ options ] Enters Connect |
---|
649 | (terminal) state. Synonym: C. |
---|
650 | REDIRECT command Redirects the given external command over the |
---|
651 | connection. |
---|
652 | TELOPT command Sends a Telnet protocol command (Telnet |
---|
653 | connections only). |
---|
654 | Ctrl-\C "Escapes back" from Connect state to Command state. |
---|
655 | Ctrl-\B (In Connect state) Sends a BREAK signal (serial or |
---|
656 | Telnet). |
---|
657 | Ctrl-\! (In Connect state) Enters inferior shell; "exit" to |
---|
658 | return. |
---|
659 | Ctrl-\? (In Connect state) Shows a menu of other escape-level |
---|
660 | options. |
---|
661 | Ctrl-\Ctrl-\ (In Connect state) Type two Ctrl-Backslashes to |
---|
662 | send one of them. |
---|
663 | SET ESCAPE [ character ] Changes Kermit's Connect-state escape |
---|
664 | character. |
---|
665 | |
---|
666 | Closing Connections |
---|
667 | HANGUP Hangs up the currently open serial-port or network |
---|
668 | connection. |
---|
669 | CLOSE Closes the currently open serial-port or network |
---|
670 | connection. |
---|
671 | SET LINE (with no devicename) Closes the currently |
---|
672 | open serial-port or network connection. |
---|
673 | SET HOST (with no hostname) Closes the currently open |
---|
674 | serial-port or network connection. |
---|
675 | FTP CLOSE Closes the currently open FTP connection. |
---|
676 | HTTP CLOSE Closes the currently open HTTP connection. |
---|
677 | EXIT Also closes all connections. Synonym: QUIT. |
---|
678 | SET EXIT WARNING OFF Suppresses warning about open connections |
---|
679 | on exit or close. |
---|
680 | |
---|
681 | File Transfer |
---|
682 | SEND [ options ] filename [ as-name ] Sends the given file. |
---|
683 | Synonym: S. |
---|
684 | SEND [ options ] filespec Sends all files that match. |
---|
685 | RESEND [ options ] filespec Resumes an interupted SEND from the |
---|
686 | point of failure. |
---|
687 | RECEIVE [ options ] [ as-name ] Waits passively for files to |
---|
688 | arrive. Synonym: R. |
---|
689 | LOG TRANSACTIONS [ filename ] Keeps a record of file transfers. |
---|
690 | FAST Use fast file-transfer settings (default). |
---|
691 | CAUTIOUS Use cautious and less fast file-transfer settings. |
---|
692 | ROBUST Use ultra-conservative and slow file-transfer settings. |
---|
693 | STATISTICS [ options ] Gives statistics about the most recent |
---|
694 | file transfer. |
---|
695 | WHERE After transfer: "Where did my files go?". |
---|
696 | TRANSMIT [ options ] [ filename ] Sends file without protocol. |
---|
697 | Synonym: XMIT. |
---|
698 | LOG SESSION [ filename ] Captures remote text or files without |
---|
699 | protocol. |
---|
700 | SET PROTOCOL [ name... ] Tells Kermit to use an external |
---|
701 | file-transfer protocol. |
---|
702 | FTP { PUT, MPUT, GET, MGET, ... } FTP client commands. |
---|
703 | HTTP { PUT, GET, HEAD, POST, ... } HTTP client commands. |
---|
704 | |
---|
705 | Kermit Server |
---|
706 | ENABLE, DISABLE Controls which features |
---|
707 | can be used by clients. |
---|
708 | SET SERVER Sets parameters prior to entering Server state. |
---|
709 | SERVER Enters Server state. |
---|
710 | |
---|
711 | Client of Kermit or FTP Server |
---|
712 | [ REMOTE ] LOGIN [ user password ] Logs in to a Kermit server |
---|
713 | or IKSD that requires it. |
---|
714 | [ REMOTE ] LOGOUT Logs out from a Kermit server or IKSD. |
---|
715 | SEND [ options ] filename [ as-name ] Sends the given file to |
---|
716 | the server. Synonyms: S, PUT. |
---|
717 | SEND [ options ] filespec Sends all files that match. |
---|
718 | RESEND [ options ] filespec Resumes an interupted SEND from the |
---|
719 | point of failure. |
---|
720 | GET [ options ] remote-filespec Asks the server to send the |
---|
721 | given files. Synonym: G. |
---|
722 | REGET [ options ] remote-filespec Resumes an interrupted GET |
---|
723 | from the point of failure. |
---|
724 | REMOTE CD [ directory ] Asks server to change its working |
---|
725 | directory. Synonym: RCD. |
---|
726 | REMOTE PWD [ directory ] Asks server to display its working |
---|
727 | directory. Synonym: RPWD. |
---|
728 | REMOTE DIRECTORY [ filespec... ] Asks server to send a |
---|
729 | directory listing. Synonym: RDIR. |
---|
730 | REMOTE DELETE [ filespec... ] Asks server to delete files. |
---|
731 | Synonym: RDEL. |
---|
732 | REMOTE [ command... ] (Many other commands: "remote ?" for a |
---|
733 | list). |
---|
734 | MAIL [ options ] filespec Sends file(s) to be delivered as |
---|
735 | e-mail (Kermit only). |
---|
736 | FINISH Asks the server to exit server state (Kermit only). |
---|
737 | BYE Asks the server to log out and close the connection. |
---|
738 | |
---|
739 | Script Programming |
---|
740 | DEFINE, DECLARE, UNDEFINE, UNDECLARE, ASSIGN, EVALUATE, |
---|
741 | SEXPRESSION, ARRAY, SORT, INPUT, OUTPUT, IF, FOR, WHILE, |
---|
742 | SWITCH, GOTO, ECHO, ASK, GETC, GETOK, ASSERT, WAIT, SLEEP, |
---|
743 | FOPEN, FREAD, FWRITE, FCLOSE, STOP, END, RETURN, LEARN, SHIFT, |
---|
744 | TRACE, VOID, INCREMENT, DECREMENT, ... For these and many more |
---|
745 | you'll need to consult the [68]manual and supplements, and/or |
---|
746 | visit the [69]Kermit Script Library, which also includes a |
---|
747 | brief tutorial. Hint: HELP LEARN to find out how to get Kermit |
---|
748 | to write simple scripts for you. |
---|
749 | |
---|
750 | Many of Kermit's commands have synonyms, variants, relatives, and so |
---|
751 | on. For example, MSEND is a version of SEND that accepts a list of |
---|
752 | file specifications to be sent, rather than just one file |
---|
753 | specification, and MPUT is a synonym of MSEND. MOVE means to SEND and |
---|
754 | then DELETE the source file if successful. MMOVE is like MOVE, but |
---|
755 | accepts a list of filespecs, and so on. These are described in the |
---|
756 | [70]full documentation. |
---|
757 | |
---|
758 | Use question mark to feel your way through an unfamiliar command, as |
---|
759 | in this example (the part you type is underlined): |
---|
760 | |
---|
761 | C-Kermit> remote ? One of the following: |
---|
762 | assign delete help login print rename space |
---|
763 | cd directory host logout pwd rmdir type |
---|
764 | copy exit kermit mkdir query set who |
---|
765 | C-Kermit> remote set ? One of the following: |
---|
766 | attributes file retry transfer |
---|
767 | block-check receive server window |
---|
768 | C-Kermit> remote set file ? One of the following: |
---|
769 | character-set incomplete record-length |
---|
770 | collision names type |
---|
771 | C-Kermit> remote set file names ? One of the following: |
---|
772 | converted literal |
---|
773 | C-Kermit> remote set file names literal |
---|
774 | C-Kermit> |
---|
775 | |
---|
776 | This is called menu on demand: you get a menu when you want one, but |
---|
777 | menus are not forced on you even when know what you're doing. Note |
---|
778 | that you can also abbreviate most keywords, and you can complete them |
---|
779 | with the Tab or Esc key. Also note that ? works for filenames too, and |
---|
780 | that you can use it in the middle of a keyword or filename, not just |
---|
781 | at the beginning. For example, "send x?" lists all the files in the |
---|
782 | current directory whose names start with 'x'. |
---|
783 | |
---|
784 | [ [71]Kermit Home ] [ [72]C-Kermit Home ] [ [73]C-Kermit FAQ ] |
---|
785 | ________________________________________________________________________ |
---|
786 | |
---|
787 | INITIALIZATION FILE [ [74]Top ] [ [75]Contents ] [ [76]Next ] [ [77]Previous |
---|
788 | ] |
---|
789 | |
---|
790 | In its default configuration, C-Kermit executes commands from a file |
---|
791 | called .kermrc in your home directory when it starts, unless it is |
---|
792 | given the -Y or -y command-line option. Custom configurations might |
---|
793 | substitute a shared system-wide initialization file. The SHOW FILE |
---|
794 | command tells what initialization file, if any, was used. The standard |
---|
795 | initialization file "chains" to an individual customization file, |
---|
796 | .mykermc, in the home directory, in which each user can establish |
---|
797 | her/his own preferences, define macros, and so on. |
---|
798 | |
---|
799 | Since execution of the initialization file (at least the standard one) |
---|
800 | makes C-Kermit take longer to start, it might be better not to have an |
---|
801 | initialization file, especially now that Kermit's default startup |
---|
802 | configuration is well attuned to modern computing and networking -- in |
---|
803 | other words, you no longer have do anything special to make Kermit |
---|
804 | transfers go fast. So instead of having an initialization file that is |
---|
805 | executed every time Kermit starts, you might consider making one or |
---|
806 | more kerbang scripts (with names other that .kermrc) that do NOT |
---|
807 | include an "exit" command, and invoke those when you need the |
---|
808 | settings, macro definitions, and/or scripted actions they contain, and |
---|
809 | invoke C-Kermit directly when you don't. |
---|
810 | |
---|
811 | To put it another way... We still distribute the standard |
---|
812 | initialization file since it's featured in the manual and backwards |
---|
813 | compatibility is important to us. But there's no harm in not using it |
---|
814 | if you don't need the stuff that's in it (services directory, dialing |
---|
815 | directory, network directory, and associated macro definitions). On |
---|
816 | the other hand, if there are settings or macros you want in effect |
---|
817 | EVERY time you use Kermit, the initialization file (or the |
---|
818 | customization file it chains to) is the place to put them, because |
---|
819 | that's the only place Kermit looks for them automatically each time |
---|
820 | you start it. |
---|
821 | |
---|
822 | [ [78]Kermit Home ] [ [79]C-Kermit Home ] [ [80]C-Kermit FAQ ] |
---|
823 | ________________________________________________________________________ |
---|
824 | |
---|
825 | MODES OF OPERATION [ [81]Top ] [ [82]Contents ] [ [83]Next ] [ [84]Previous ] |
---|
826 | |
---|
827 | Kermit is said to be in Local mode if it has made a connection to |
---|
828 | another computer, e.g. by dialing it or establishing a Telnet |
---|
829 | connection to it. The other computer is remote, so if you start |
---|
830 | another copy of Kermit on the remote computer, it is said to be in |
---|
831 | Remote mode (as long as it has not made any connections of its own). |
---|
832 | The local Kermit communicates over the communications device or |
---|
833 | network connection, acting as a conduit between the the remote |
---|
834 | computer and your keyboard and screen. The remote Kermit is the |
---|
835 | file-transfer partner to the local Kermit and communicates only |
---|
836 | through its standard input and output. |
---|
837 | |
---|
838 | At any moment, a Kermit program can be in any of the following states. |
---|
839 | It's important to know what they are and how to change from one to the |
---|
840 | other. |
---|
841 | |
---|
842 | Command state |
---|
843 | |
---|
844 | In this state, Kermit reads commands from: |
---|
845 | |
---|
846 | + Your keyboard; or: |
---|
847 | + A file, or: |
---|
848 | + A macro definition. |
---|
849 | |
---|
850 | You can exit from Command state back to Unix with the EXIT or |
---|
851 | QUIT command (same thing). You can enter Connect state with any |
---|
852 | of various commands (CONNECT, DIAL, TELNET, etc). You can enter |
---|
853 | file transfer state with commands like SEND, RECEIVE, and GET. |
---|
854 | You can enter Server state with the SERVER command. The TAKE |
---|
855 | command tells Kermit to read and execute commands from a file. |
---|
856 | The (perhaps implied) DO command tells Kermit to read and |
---|
857 | execute commands from a macro definition. While in Command |
---|
858 | state, you can interrupt any command, macro, or command file by |
---|
859 | typing Ctrl-C (hold down the Ctrl key and press the C key); |
---|
860 | this normally brings you back to the prompt. |
---|
861 | |
---|
862 | Shell state |
---|
863 | |
---|
864 | You can invoke an inferior shell or external command from the |
---|
865 | Kermit command prompt by using the PUSH, RUN (!), EDIT, or |
---|
866 | BROWSE command. While the inferior shell or command is active, |
---|
867 | Kermit is suspended and does nothing. Return to Kermit Command |
---|
868 | state by exiting from the inferior shell or application. |
---|
869 | |
---|
870 | Connect state |
---|
871 | |
---|
872 | In this state, which can be entered only when in Local mode |
---|
873 | (i.e. when Kermit has made a connection to another computer), |
---|
874 | Kermit is acting as a terminal to the remote computer. Your |
---|
875 | keystrokes are sent to the remote computer and characters that |
---|
876 | arrive over the communication connection are displayed on your |
---|
877 | screen. This state is entered when you give a CONNECT, DIAL, |
---|
878 | TELNET, RLOGIN, or IKSD command. You can return to command |
---|
879 | state by logging out of the remote computer, or by typing: |
---|
880 | |
---|
881 | Ctrl-\c |
---|
882 | |
---|
883 | That is: Hold down the Ctrl key and press the backslash key, |
---|
884 | then let go of the Ctrl key and press the C key. This is called |
---|
885 | escaping back. Certain other escape-level commands are also |
---|
886 | provided; type Ctrl-\? for a list. For example, you can enter |
---|
887 | Shell state with: |
---|
888 | |
---|
889 | Ctrl-\! |
---|
890 | |
---|
891 | To send a Ctrl-\ to the host while in Connect state, type two |
---|
892 | of them in a row. See HELP CONNECT and HELP SET ESCAPE for more |
---|
893 | info. |
---|
894 | |
---|
895 | Local file-transfer state |
---|
896 | |
---|
897 | In this state, Kermit is sending packets back and forth with |
---|
898 | the other computer in order to transfer a file or accomplish |
---|
899 | some other file-related task. And at the same time, it is |
---|
900 | displaying its progress on your screen and watching your |
---|
901 | keyboard for interruptions. In this state, the following |
---|
902 | single-keystroke commands are accepted: |
---|
903 | |
---|
904 | X Interrupt the current file and go on to the next (if any). |
---|
905 | Z Interrupt the current file and skip all the rest. |
---|
906 | E Like Z but uses a "stronger" protocol (use if X or Z don't |
---|
907 | work). |
---|
908 | Ctrl-C Interrupt file-transfer mode (use if Z or E don't |
---|
909 | work). |
---|
910 | |
---|
911 | Kermit returns to its previous state (Command or Connect) when |
---|
912 | the transfer is complete or when interrupted successfully by X, |
---|
913 | Z, E, or Ctrl-C (hold down the Ctrl key and press the C key). |
---|
914 | |
---|
915 | Remote file-transfer state |
---|
916 | |
---|
917 | In this state, Kermit is exchanging file-transfer packets with |
---|
918 | its local partner over its standard i/o. It leaves this state |
---|
919 | automatically when the transfer is complete. In case you find |
---|
920 | your local Kermit in Connect state and the remote one in |
---|
921 | File-transfer state (in which it seems to ignore your |
---|
922 | keystrokes), you can usually return it to command state by |
---|
923 | typing three Ctrl-C's in a row. If that doesn't work, return |
---|
924 | your local Kermit to Command state (Ctrl-\ C) and type |
---|
925 | "e-packet" and then press the Return or Enter key; this forces |
---|
926 | a fatal Kermit protocol error. |
---|
927 | |
---|
928 | Remote Server state |
---|
929 | |
---|
930 | This is like Remote File-transfer state, except it never |
---|
931 | returns automatically to Command state. Rather, it awaits |
---|
932 | further instructions from the client program; that is, from |
---|
933 | your Local Kermit program. You can return the Remote Server to |
---|
934 | its previous state by issuing a "finish" command to the client, |
---|
935 | or if you are in Connect state, by typing three Ctrl-C's in a |
---|
936 | row. You can tell the server job to log out and break the |
---|
937 | connection by issuing a "bye" command to the client. |
---|
938 | |
---|
939 | Local Server state |
---|
940 | |
---|
941 | Like Remote-Server state, but in local mode, and therefore with |
---|
942 | its file-transfer display showing, and listening for single-key |
---|
943 | commands, as in Local File-transfer state. Usually this state |
---|
944 | is entered automatically when a remote Kermit program gives a |
---|
945 | GET command. |
---|
946 | |
---|
947 | C-Kermit, Kermit 95, and MS-DOS Kermit all can switch automatically |
---|
948 | from Connect state to Local File-transfer state when you initiate a |
---|
949 | file transfer from the remote computer by starting Kermit and telling |
---|
950 | it to send or get a file, in which case, Connect state is |
---|
951 | automatically resumed after the file transfer is finished. |
---|
952 | |
---|
953 | Note that C-Kermit is not a terminal emulator. It is a communications |
---|
954 | application that you run in a terminal window (e.g. console or Xterm). |
---|
955 | The specific emulation, such as VT100, VT220, Linux Console, or Xterm, |
---|
956 | is provided by the terminal window in which you are running C-Kermit. |
---|
957 | Kermit 95 and MS-DOS Kermit, on the other hand, are true terminal |
---|
958 | emulators. Why is C-Kermit not a terminal emulator? [85]CLICK HERE to |
---|
959 | read about it. |
---|
960 | |
---|
961 | [ [86]Kermit Home ] [ [87]C-Kermit Home ] [ [88]C-Kermit FAQ ] |
---|
962 | ________________________________________________________________________ |
---|
963 | |
---|
964 | MAKING CONNECTIONS [ [89]Top ] [ [90]Contents ] [ [91]Next ] [ [92]Previous ] |
---|
965 | |
---|
966 | Here is how to make different kinds of connections using interactive |
---|
967 | Kermit commands (as noted above, you can also make connections with |
---|
968 | command-line options). Note that you don't have to make connections |
---|
969 | with Kermit. It can also be used on the far end of a connection as the |
---|
970 | remote file transfer and management partner of your local |
---|
971 | communications software. |
---|
972 | |
---|
973 | Making a Telnet Connection |
---|
974 | |
---|
975 | At the C-Kermit command prompt, simply type: |
---|
976 | |
---|
977 | telnet foo.bar.com ; Substitute desired host name or address. |
---|
978 | telnet xyzcorp.com 3000 ; You can also include a port number. |
---|
979 | |
---|
980 | If the connection is successful, Kermit automically enters |
---|
981 | Connect state. When you logout from the remote host, Kermit |
---|
982 | automatically returns to its prompt. More info: HELP TELNET, |
---|
983 | HELP SET TELNET, HELP SET TELOPT. Also see the [93]IKSD section |
---|
984 | below. |
---|
985 | |
---|
986 | Making an Rlogin connection |
---|
987 | |
---|
988 | This is just like Telnet, except you have to be root to do it |
---|
989 | because Rlogin uses a privileged TCP port: |
---|
990 | |
---|
991 | rlogin foo.bar.com ; Substitute desired host name or address. |
---|
992 | |
---|
993 | More info: HELP RLOGIN. |
---|
994 | |
---|
995 | Making an SSH Connection |
---|
996 | |
---|
997 | Unlike Telnet and Rlogin, SSH connections are not built-in, but |
---|
998 | handled by running your external SSH client through a |
---|
999 | pseudoterminal. Using C-Kermit to control the SSH client gives |
---|
1000 | you all of Kermit's features (file transfer, character-set |
---|
1001 | conversion, scripting, etc) over SSH. |
---|
1002 | |
---|
1003 | ssh foo.bar.com ; Substitute desired host name or address. |
---|
1004 | |
---|
1005 | More info: HELP SSH, HELP SET SSH. |
---|
1006 | |
---|
1007 | Dialing with a Modem |
---|
1008 | |
---|
1009 | If it's an external modem, make sure it is connected to a |
---|
1010 | usable serial port on your computer with a regular |
---|
1011 | (straight-through) modem cable, and to the telephone jack with |
---|
1012 | a telephone cable, and that it's turned on. Then use these |
---|
1013 | commands: |
---|
1014 | |
---|
1015 | set modem type usrobotics ; Or other supported type |
---|
1016 | set line /dev/ttyS0 ; Specify device name |
---|
1017 | set speed 57600 ; Or other desired speed |
---|
1018 | set flow rts/cts ; Most modern modems support this |
---|
1019 | set dial method tone ; (or pulse) |
---|
1020 | dial 7654321 ; Dial the desired number |
---|
1021 | |
---|
1022 | Type "set modem type ?" for a list of supported modem types. If |
---|
1023 | you omit the SET MODEM TYPE command, the default type is |
---|
1024 | "generic-high-speed", which should work for most modern |
---|
1025 | AT-command-set modems. If the line is busy, Kermit redials |
---|
1026 | automatically. If the call does not succeed, use "set dial |
---|
1027 | display on" and try it again to watch what happens. If the call |
---|
1028 | succeeds, Kermit enters Connect state automatically and returns |
---|
1029 | to its prompt automatically when you log out from the remote |
---|
1030 | computer or the connection is otherwise lost. |
---|
1031 | |
---|
1032 | You can also dial from a modem that is accessible by Telnet, |
---|
1033 | e.g. to a reverse terminal server. In this case the command |
---|
1034 | sequence is: |
---|
1035 | |
---|
1036 | set host ts.xxx.com 2000 ; Terminal-server and port |
---|
1037 | set modem type usrobotics ; Or other supported type |
---|
1038 | set dial method tone ; (or pulse) |
---|
1039 | dial 7654321 ; Dial the desired number |
---|
1040 | |
---|
1041 | If the terminal server supports the Telnet Com Port Option, |
---|
1042 | [94]RFC 2217, you can also give serial-port related commands |
---|
1043 | such as SET SPEED, SET PARITY, and so on, and Kermit relays |
---|
1044 | them to the terminal server using the protocol specified in the |
---|
1045 | RFC. |
---|
1046 | |
---|
1047 | More info: HELP SET MODEM, HELP SET LINE, HELP SET SPEED, HELP |
---|
1048 | SET FLOW, HELP DIAL, HELP SET DIAL, HELP SET MODEM, HELP SET |
---|
1049 | CARRIER-WATCH, SHOW COMMUNICATIONS, SHOW MODEM, SHOW DIAL. |
---|
1050 | |
---|
1051 | Direct Serial Port |
---|
1052 | |
---|
1053 | Connect the two computers, A and B, with a null modem cable (or |
---|
1054 | two modem cables interconnected with a null-modem adapter or |
---|
1055 | modem eliminator). From Computer A: |
---|
1056 | |
---|
1057 | set modem type none ; There is no modem |
---|
1058 | set line /dev/ttyS0 ; Specify device name |
---|
1059 | set carrier-watch off ; If DTR and CD are not cross-connected |
---|
1060 | set speed 57600 ; Or other desired speed |
---|
1061 | set flow rts/cts ; If RTS and CTS are cross-connected |
---|
1062 | set flow xon/xoff ; If you can't use RTS/CTS |
---|
1063 | set parity even ; (or "mark" or "space", if necessary) |
---|
1064 | set stop-bits 2 ; (rarely necessary) |
---|
1065 | connect ; Enter Connect (terminal) state |
---|
1066 | |
---|
1067 | This assumes Computer B is set up to let you log in. If it |
---|
1068 | isn't, you can run a copy of Kermit on Computer B and follow |
---|
1069 | approximately the same directions. More info: As above plus |
---|
1070 | HELP CONNECT. |
---|
1071 | |
---|
1072 | With modems or direct serial connections, you might also have to "set |
---|
1073 | parity even" (or "mark" or "space") if it's a 7-bit connection. |
---|
1074 | |
---|
1075 | Of the connection types listed above, only one can be open at a time. |
---|
1076 | However, any one of these can be open concurrently with an [95]FTP or |
---|
1077 | HTTP session. Each connection type can be customized to any desired |
---|
1078 | degree, scripted, logged, you name it. See the manual. |
---|
1079 | |
---|
1080 | NOTE: On selected platforms, C-Kermit also can make X.25 connections. |
---|
1081 | See the manual for details. |
---|
1082 | |
---|
1083 | [ [96]Kermit Home ] [ [97]C-Kermit Home ] [ [98]C-Kermit FAQ ] |
---|
1084 | ________________________________________________________________________ |
---|
1085 | |
---|
1086 | TRANSFERRING FILES WITH KERMIT [ [99]Top ] [ [100]Contents ] [ [101]Next ] [ |
---|
1087 | [102]Previous ] |
---|
1088 | |
---|
1089 | * [103]Downloading Files |
---|
1090 | * [104]Uploading Files |
---|
1091 | * [105]Kermit Transfers the Old-Fashioned Way |
---|
1092 | * [106]If File Transfer Fails |
---|
1093 | * [107]Advanced Kermit File Transfer Features |
---|
1094 | * [108]Non-Kermit File Transfer |
---|
1095 | |
---|
1096 | There is a [109]widespread and persistent belief that Kermit is a slow |
---|
1097 | protocol. This is because, until recently, it used conservative tuning |
---|
1098 | by default to make sure file transfers succeeded, rather than failing |
---|
1099 | because they overloaded the connection. Some extra commands (or |
---|
1100 | command-line options, like -Q) were needed to make it go fast, but |
---|
1101 | nobody bothered to find out about them. Also, it takes two to tango: |
---|
1102 | most non-Kermit-Project Kermit protocol implementations really ARE |
---|
1103 | slow. The best file-transfer partners for C-Kermit are: another copy |
---|
1104 | of [110]C-Kermit (7.0 or later) and [111]Kermit 95. These combinations |
---|
1105 | work well and they work fast by default. MS-DOS Kermit is good too, |
---|
1106 | but you have to tell it to go fast (by giving it the FAST command). |
---|
1107 | |
---|
1108 | Furthermore, all three of these Kermit programs support "autodownload" |
---|
1109 | and "autoupload", meaning that when they are in Connect state and a |
---|
1110 | Kermit packet comes in from the remote, they automatically switch into |
---|
1111 | file transfer mode. |
---|
1112 | |
---|
1113 | And plus, C-Kermit and K95 also switch automatically between text and |
---|
1114 | binary mode for each file, so there is no need to "set file type |
---|
1115 | binary" or "set file type text", or to worry about files being |
---|
1116 | corrupted because they were transferred in the wrong mode. |
---|
1117 | |
---|
1118 | What all of these words add up to is that now, when you use up-to-date |
---|
1119 | Kermit software from the Kermit Project, file transfer is not only |
---|
1120 | fast, it's ridiculously easy. You barely have to give any commands at |
---|
1121 | all. |
---|
1122 | |
---|
1123 | Downloading Files |
---|
1124 | |
---|
1125 | Let's say you have [112]Kermit 95, [113]C-Kermit, or |
---|
1126 | [114]MS-DOS Kermit on your desktop computer, with a connection |
---|
1127 | to a Unix computer that has C-Kermit installed as "kermit". To |
---|
1128 | download a file (send it from Unix to your desktop computer), |
---|
1129 | just type the following command at your Unix shell prompt: |
---|
1130 | |
---|
1131 | kermit -s oofa.txt |
---|
1132 | |
---|
1133 | (where oofa.txt is the filename). If you want to send more than |
---|
1134 | one file, you can put as many filenames as you want on the |
---|
1135 | command line, and they can be any combination of text and |
---|
1136 | binary: |
---|
1137 | |
---|
1138 | kermit -s oofa.txt oofa.zip oofa.html oofa.tar.gz |
---|
1139 | |
---|
1140 | and/or you can use wildcards to send groups of files: |
---|
1141 | |
---|
1142 | kermit -s oofa.* |
---|
1143 | |
---|
1144 | If you want to send a file under an assumed name, use: |
---|
1145 | |
---|
1146 | kermit -s friday.txt -a today.txt |
---|
1147 | |
---|
1148 | This sends the file friday.txt but tells the receiving Kermit |
---|
1149 | that its name is today.txt. In all cases, as noted, when the |
---|
1150 | file transfer is finished, your desktop Kermit returns |
---|
1151 | automatically to Connect state. No worries about escaping back, |
---|
1152 | re-connecting, text/binary mode switching. Almost too easy, |
---|
1153 | right? |
---|
1154 | |
---|
1155 | Uploading Files |
---|
1156 | |
---|
1157 | To upload files (send them from your desktop computer to the |
---|
1158 | remote Unix computer) do the same thing, but use the -g (GET) |
---|
1159 | option instead of -s: |
---|
1160 | |
---|
1161 | kermit -g oofa.txt |
---|
1162 | |
---|
1163 | This causes your local Kermit to enter server mode; then the |
---|
1164 | remote Kermit program requests the named file and the local |
---|
1165 | Kermit sends it and returns automatically to Connect state when |
---|
1166 | done. |
---|
1167 | |
---|
1168 | If you want to upload multiple files, you have have use shell |
---|
1169 | quoting rules, since these aren't local files: |
---|
1170 | |
---|
1171 | kermit -g "oofa.txt oofa.zip oofa.html oofa.tar.gz" |
---|
1172 | kermit -g "oofa.*" |
---|
1173 | |
---|
1174 | If you want to upload a file but store it under a different |
---|
1175 | name, use: |
---|
1176 | |
---|
1177 | kermit -g friday.txt -a today.txt |
---|
1178 | |
---|
1179 | Kermit Transfers the Old-Fashioned Way |
---|
1180 | |
---|
1181 | If your desktop communications software does not support |
---|
1182 | autoupload or autodownload, or it does not include Kermit |
---|
1183 | server mode, the procedure requires more steps. |
---|
1184 | |
---|
1185 | To download a file, type: |
---|
1186 | |
---|
1187 | kermit -s filename |
---|
1188 | |
---|
1189 | on the host as before, but if nothing happens automatically in |
---|
1190 | response to this command, you have to switch your desktop |
---|
1191 | communications software into Kermit Receive state. This might |
---|
1192 | be done by escaping back using keyboard characters or hot keys |
---|
1193 | (Alt-x is typical) and/or with a command (like RECEIVE) or a |
---|
1194 | menu. When the file transfer is complete, you have to go back |
---|
1195 | to Connect state, Terminal emulation, or whatever terminology |
---|
1196 | applies to your desktop communications software. |
---|
1197 | |
---|
1198 | To upload a file, type: |
---|
1199 | |
---|
1200 | kermit -r |
---|
1201 | |
---|
1202 | on the host (rather than "kermit -g"). This tells C-Kermit to |
---|
1203 | wait passively for a file to start arriving. Then regain the |
---|
1204 | attention of your desktop software (Alt-x or whatever) and |
---|
1205 | instruct it to send the desired file(s) with Kermit protocol. |
---|
1206 | When the transfer is finished, return to the Connect or |
---|
1207 | Terminal screen. |
---|
1208 | |
---|
1209 | If File Transfer Fails |
---|
1210 | |
---|
1211 | Although every aspect of Kermit's operation can be finely |
---|
1212 | tuned, there are also three short and simple "omnibus tuning" |
---|
1213 | commands you can use for troubleshooting: |
---|
1214 | |
---|
1215 | FAST |
---|
1216 | Use fast file-transfer settings. This has been the |
---|
1217 | default since C-Kermit 7.0 now that most modern computers |
---|
1218 | and connections support it. If transfers fail with fast |
---|
1219 | settings, try . . . |
---|
1220 | |
---|
1221 | CAUTIOUS |
---|
1222 | Use cautious but not paranoid settings. File transfers, |
---|
1223 | if they work, will go at medium speed. If not, try . . . |
---|
1224 | |
---|
1225 | ROBUST |
---|
1226 | Use the most robust, resilient, conservative, safe, and |
---|
1227 | reliable settings. File transfers will almost certainly |
---|
1228 | work, but they will be quite slow (of course this is a |
---|
1229 | classic tradeoff; ROBUST was C-Kermit's default tuning in |
---|
1230 | versions 6.0 and earlier, which made everybody think |
---|
1231 | Kermit protocol was slow). If ROBUST doesn't do the |
---|
1232 | trick, try again with SET PARITY SPACE first in case it's |
---|
1233 | not an 8-bit connection. |
---|
1234 | |
---|
1235 | Obviously the success and performance of a file transfer also |
---|
1236 | depends on C-Kermit's file transfer partner. Up-to-date, real |
---|
1237 | [115]Kermit Project partners are recommended because they |
---|
1238 | contain the best Kermit protocol implementations and because |
---|
1239 | [116]we can support them in case of trouble. |
---|
1240 | |
---|
1241 | If you still have trouble, consult Chapter 10 of [117]Using |
---|
1242 | C-Kermit, or send email to [118]kermit-support@columbia.edu. |
---|
1243 | |
---|
1244 | Advanced Kermit File-Transfer Features |
---|
1245 | |
---|
1246 | Obviously there is a lot more to Kermit file transfer, |
---|
1247 | including all sorts of interactive commands, preferences, |
---|
1248 | options, logging, debugging, troubleshooting, and anything else |
---|
1249 | you can imagine but that's what the [119]manual and updates are |
---|
1250 | for. Here are a few topics you can explore if you're interested |
---|
1251 | by Typing HELP for the listed commands: |
---|
1252 | |
---|
1253 | Logging transfers: |
---|
1254 | LOG TRANSACTIONS (HELP LOG) |
---|
1255 | |
---|
1256 | Automatic per-file text/binary mode switching: |
---|
1257 | SET TRANSFER MODE { AUTOMATIC, MANUAL } (HELP SET |
---|
1258 | TRANSFER). |
---|
1259 | |
---|
1260 | Cross-platform recursive directory tree transfer: |
---|
1261 | SEND /RECURSIVE, GET /RECURSIVE (HELP SEND, HELP GET). |
---|
1262 | |
---|
1263 | File collision options: |
---|
1264 | SET FILE COLLISION { OVERWRITE, BACKUP, DISCARD, ... } |
---|
1265 | (HELP SET FILE). |
---|
1266 | |
---|
1267 | Update mode (only transfer files that changed since last time): |
---|
1268 | SET FILE COLLISION UPDATE (HELP SET FILE). |
---|
1269 | |
---|
1270 | Filename selection patterns: |
---|
1271 | (HELP WILDCARD). |
---|
1272 | |
---|
1273 | Flexible file selection: |
---|
1274 | SEND (or GET) /BEFORE /AFTER /LARGER /SMALLER /TYPE |
---|
1275 | /EXCEPT, ... |
---|
1276 | |
---|
1277 | Character-set conversion: |
---|
1278 | SET { FILE, TRANSFER } CHARACTER-SET, ASSOCIATE, ... |
---|
1279 | |
---|
1280 | File/Pathname control: |
---|
1281 | SET { SEND, RECEIVE } PATHNAMES, SET FILE NAMES. |
---|
1282 | |
---|
1283 | Atomic file movement: |
---|
1284 | SEND (or GET) /DELETE /RENAME /MOVE-TO |
---|
1285 | |
---|
1286 | Transferring to/from standard i/o of other commands: |
---|
1287 | SEND (or GET) /COMMAND |
---|
1288 | |
---|
1289 | Recovery of interrupted transfer from point of failure: |
---|
1290 | RESEND, REGET (HELP RESEND, HELP REGET). |
---|
1291 | |
---|
1292 | Non-Kermit File Transfer |
---|
1293 | |
---|
1294 | You can also use C-Kermit to transfer files with FTP or HTTP |
---|
1295 | Internet protocols; [120]see below. |
---|
1296 | |
---|
1297 | On a regular serial or Telnet connection where the other |
---|
1298 | computer doesn't support Kermit protocol at all, you have |
---|
1299 | several options. For example, if your desktop communications |
---|
1300 | software supports Zmodem, use "rz" and "sz" on the host rather |
---|
1301 | than Kermit. But if Kermit is your desktop software, and you |
---|
1302 | are using it to make calls or network connections to other |
---|
1303 | computers that don't support Kermit protocol (or that don't |
---|
1304 | have a good implementation of it), then if your computer also |
---|
1305 | has external X, Y, or Zmodem programs that are redirectable, |
---|
1306 | Kermit can use them as external protocols. HELP SET PROTOCOL |
---|
1307 | for details. |
---|
1308 | |
---|
1309 | You can also capture "raw" data streams from the other computer |
---|
1310 | with LOG SESSION (HELP LOG and HELP SET SESSION-LOG for |
---|
1311 | details), and you can upload files without any protocol at all |
---|
1312 | with TRANSMIT (HELP TRANSMIT, HELP SET TRANSMIT). |
---|
1313 | |
---|
1314 | [ [121]Kermit Home ] [ [122]C-Kermit Home ] [ [123]C-Kermit FAQ ] |
---|
1315 | ________________________________________________________________________ |
---|
1316 | |
---|
1317 | KERMIT CLIENT/SERVER CONNECTIONS [ [124]Top ] [ [125]Contents ] [ [126]Next ] |
---|
1318 | [ [127]Previous ] |
---|
1319 | |
---|
1320 | On any kind of connection you can make with Kermit -- serial, TCP/IP, |
---|
1321 | X.25, etc -- you can set up a convenient client/server relationship |
---|
1322 | between your Kermit client (the one that made the connection) and the |
---|
1323 | Kermit program on the far end of the connection (the remote Kermit) by |
---|
1324 | putting the remote Kermit in server mode. This is normally done by |
---|
1325 | giving it a SERVER command, or by starting it with the -x command-line |
---|
1326 | option. In some cases ([128]Internet Kermit Service, SSH connections |
---|
1327 | to a Kermit subsystem, or specially configured hosts), there is |
---|
1328 | already a Kermit server waiting on the far end. Here is a quick |
---|
1329 | synopsis of the commands you can give to the client for interacting |
---|
1330 | with the server: |
---|
1331 | |
---|
1332 | SEND [ switches ] filename |
---|
1333 | Sends the named file to the server. The filename can include |
---|
1334 | wildcards. Lots of switches are available for file selection, |
---|
1335 | etc. Type HELP SEND at the client prompt for details. |
---|
1336 | |
---|
1337 | GET [ switches ] filename |
---|
1338 | Asks the server to send the named file. The filename can |
---|
1339 | include wildcards. Type HELP GET at the client prompt for |
---|
1340 | details. |
---|
1341 | |
---|
1342 | BYE |
---|
1343 | Terminates the server and closes your connection to it. |
---|
1344 | |
---|
1345 | FINISH |
---|
1346 | Terminates the server. If you started the server yourself, this |
---|
1347 | leaves the remote host at its shell prompt. If it was a |
---|
1348 | dedicated server (such as IKSD or an SSH subsystem), FINISH is |
---|
1349 | equivalent to BYE. |
---|
1350 | |
---|
1351 | SET LOCUS { LOCAL, REMOTE, AUTO } |
---|
1352 | (C-Kermit 8.0.201 and later, K95 1.1.21 and later) This tells |
---|
1353 | the client whether file-management commands like CD, PWD, |
---|
1354 | DIRECTORY, DELETE, MKDIR, etc, should be executed locally or by |
---|
1355 | the server. In this type of connection, the default is LOCAL. |
---|
1356 | Use SET LOCUS REMOTE if you want Kermit to behave like an FTP |
---|
1357 | client, in which case these commands are executed remotely, and |
---|
1358 | their local versions must have an L prefix: LCD, LPWD, |
---|
1359 | LDIRECTORY, etc. When LOCUS is LOCAL, then the remote versions |
---|
1360 | must have an R prefix: RCD, RPWD, RDIRECTORY, etc. HELP SET |
---|
1361 | LOCUS for details. SHOW COMMAND to see current locus. |
---|
1362 | |
---|
1363 | The following commands are affected by SET LOCUS: |
---|
1364 | |
---|
1365 | CD, LCD, RCD |
---|
1366 | Change (working, current) directory. HELP CD for details. |
---|
1367 | |
---|
1368 | CDUP, LCDUP, RCDUP |
---|
1369 | CD one level up. |
---|
1370 | |
---|
1371 | DIRECTORY, LDIRECTORY, RDIRECTORY |
---|
1372 | Produce a directory listing. Many options are available for local |
---|
1373 | listings. HELP DIRECTORY for details. |
---|
1374 | |
---|
1375 | DELETE, LDELETE, RDELETE |
---|
1376 | Deletes files or directories. Many options available, HELP DELETE. |
---|
1377 | |
---|
1378 | RENAME, LRENAME, RRENAME |
---|
1379 | Renames files or directories. Many options available, HELP RENAME. |
---|
1380 | |
---|
1381 | MKDIR, LMKDIR, RMKDIR |
---|
1382 | Creates a directory. HELP MKDIR. |
---|
1383 | |
---|
1384 | RMDIR, LRMDIR, RRMDIR |
---|
1385 | Removes a directory. HELP RMDIR. There are dozens -- maybe hundreds -- |
---|
1386 | of other commands, described in the built-in help, on the website, |
---|
1387 | and/or in the published or online manuals. But even if you don't have |
---|
1388 | access to documentation, you can "set locus remote" and then use |
---|
1389 | pretty much the same commands you would use with any FTP client. |
---|
1390 | |
---|
1391 | [ [129]Kermit Home ] [ [130]C-Kermit Home ] [ [131]C-Kermit FAQ ] |
---|
1392 | ________________________________________________________________________ |
---|
1393 | |
---|
1394 | KERMIT'S BUILT-IN FTP AND HTTP CLIENTS [ [132]Top ] [ [133]Contents ] [ |
---|
1395 | [134]Next ] [ [135]Previous ] |
---|
1396 | |
---|
1397 | Kermit's FTP client is like the regular Unix FTP client that you're |
---|
1398 | used to, but with some differences: |
---|
1399 | |
---|
1400 | * It has lots more commands and features. |
---|
1401 | * You can have an FTP session and a regular Kermit serial or Telnet |
---|
1402 | session open at the same time. |
---|
1403 | * FTP sessions can be fully automated. |
---|
1404 | |
---|
1405 | By default Kermit's FTP client tries its best to present the same user |
---|
1406 | interface as a regular FTP client: PUT, GET, DIR, CD, BYE, etc, should |
---|
1407 | work the same, even though some of these commands have different |
---|
1408 | meaning in Kermit-to-Kermit connections; for example, CD, DIR, RENAME, |
---|
1409 | etc, in Kermit act locally, whereas in FTP they are commands for the |
---|
1410 | server. This might cause some confusion, but as in all things Kermit, |
---|
1411 | you have total control: |
---|
1412 | |
---|
1413 | * The [136]SET LOCUS command lets you specify where file management |
---|
1414 | commands should be executed -- locally or remotely -- for any kind |
---|
1415 | of connection. |
---|
1416 | * Any FTP command can be prefixed with the word "FTP" to remove any |
---|
1417 | ambiguity. |
---|
1418 | |
---|
1419 | Pending publication of the next edition of the manual, the Kermit FTP |
---|
1420 | client is thoroughly documented at the Kermit Project website: |
---|
1421 | |
---|
1422 | [137]http://www.columbia.edu/kermit/ftpclient.html |
---|
1423 | |
---|
1424 | You also can use HELP FTP and HELP SET FTP to get descriptions of |
---|
1425 | Kermit's FTP-related commands. |
---|
1426 | |
---|
1427 | The HTTP client is similar to the FTP one, except you prefix each |
---|
1428 | command with HTTP instead of FTP: HTTP OPEN, HTTP GET, HTTP PUT, HTTP |
---|
1429 | CLOSE, etc. Type HELP HTTP for details, or visit the to view the |
---|
1430 | [138]manual supplements. HTTP connections can be open at the same time |
---|
1431 | as regular serial or Telnet connections and FTP connections. So Kermit |
---|
1432 | can manage up to three types connections simultaneously. |
---|
1433 | |
---|
1434 | [ [139]Kermit Home ] [ [140]C-Kermit Home ] [ [141]C-Kermit FAQ ] [ |
---|
1435 | [142]FTP Client ] [ [143]HTTP Client ] |
---|
1436 | ________________________________________________________________________ |
---|
1437 | |
---|
1438 | INTERNET KERMIT SERVICE [ [144]Top ] [ [145]Contents ] [ [146]Next ] [ |
---|
1439 | [147]Previous ] |
---|
1440 | |
---|
1441 | C-Kermit can be configured and run as an Internet service (called |
---|
1442 | IKSD), similar to an FTP server (FTPD) except you can (but need not) |
---|
1443 | interact with it directly, plus it does a lot more than an FTP server |
---|
1444 | can do. The TCP port for IKSD is 1649. It uses Telnet protocol. |
---|
1445 | C-Kermit can be an Internet Kermit Server, or it can be a client of an |
---|
1446 | IKSD. You can make connections from C-Kermit to an IKSD with any of |
---|
1447 | the following commands: |
---|
1448 | |
---|
1449 | telnet foo.bar.edu 1649 |
---|
1450 | telnet foo.bar.edu kermit ; if "kermit" is listed in /etc/services |
---|
1451 | iksd foo.bar.edu |
---|
1452 | |
---|
1453 | The IKSD command is equivalent to a TELNET command specifying port |
---|
1454 | 1649. For more information about making and using connections to an |
---|
1455 | IKSD, see: |
---|
1456 | |
---|
1457 | [148]http://www.columbia.edu/kermit/cuiksd.html |
---|
1458 | |
---|
1459 | You can run an Internet Kermit Service on your own computer too (if |
---|
1460 | you are the system administrator). For instructions, see: |
---|
1461 | |
---|
1462 | [149]http://www.columbia.edu/kermit/iksd.html |
---|
1463 | |
---|
1464 | [ [150]Kermit Home ] [ [151]C-Kermit Home ] [ [152]C-Kermit FAQ ] |
---|
1465 | ________________________________________________________________________ |
---|
1466 | |
---|
1467 | SECURITY [ [153]Top ] [ [154]Contents ] [ [155]Next ] [ [156]Previous ] |
---|
1468 | |
---|
1469 | All of C-Kermit's built-in TCP/IP networking methods (Telnet, Rlogin, |
---|
1470 | IKSD, FTP, and HTTP) can be secured by one or more of the following |
---|
1471 | IETF-approved methods: |
---|
1472 | |
---|
1473 | * MIT Kerberos IV |
---|
1474 | * MIT Kerberos V |
---|
1475 | * SSL/TLS |
---|
1476 | * Stanford SRP |
---|
1477 | |
---|
1478 | For complete instructions see: |
---|
1479 | |
---|
1480 | [157]http://www.columbia.edu/kermit/security.html |
---|
1481 | |
---|
1482 | And as noted previously, you can also make SSH connections with |
---|
1483 | C-Kermit if you already have an SSH client installed. |
---|
1484 | |
---|
1485 | [ [158]Kermit Home ] [ [159]C-Kermit Home ] [ [160]C-Kermit FAQ ] |
---|
1486 | ________________________________________________________________________ |
---|
1487 | |
---|
1488 | ALTERNATIVE COMMAND-LINE PERSONALITIES [ [161]Top ] [ [162]Contents ] [ |
---|
1489 | [163]Next ] [ [164]Previous ] |
---|
1490 | |
---|
1491 | When invoked as "kermit" or any other name besides any of the special |
---|
1492 | ones, C-Kermit has the command-line options described above in the |
---|
1493 | [165]OPTIONS section. However, if you invoke C-Kermit using any of the |
---|
1494 | following names: |
---|
1495 | |
---|
1496 | telnet Telnet client |
---|
1497 | ftp FTP client |
---|
1498 | http HTTP client |
---|
1499 | https Secure HTTP client |
---|
1500 | |
---|
1501 | Kermit's command-line personality changes to match. This can be done |
---|
1502 | (among other ways) with symbolic links (symlinks). For example, if you |
---|
1503 | want C-Kermit to be your regular Telnet client, or the Telnet helper |
---|
1504 | of your Web browser, you can create a link like the following in a |
---|
1505 | directory that lies in your PATH ahead of the regular telnet program: |
---|
1506 | |
---|
1507 | ln -s /usr/local/bin/kermit telnet |
---|
1508 | |
---|
1509 | Now when you give a "telnet" command, you are invoking Kermit instead, |
---|
1510 | but with its Telnet command-line personality so, for example: |
---|
1511 | |
---|
1512 | telnet xyzcorp.com |
---|
1513 | |
---|
1514 | Makes a Telnet connection to xyzcorp.com, and Kermit exits |
---|
1515 | automatically when the connection is closed (just like the regular |
---|
1516 | Telnet client). Type "telnet -h" to get a list of Kermit's |
---|
1517 | Telnet-personality command-line options, which are intended to be as |
---|
1518 | compatible as possible with the regular Telnet client. |
---|
1519 | |
---|
1520 | Similarly for FTP: |
---|
1521 | |
---|
1522 | ln -s /usr/local/bin/kermit ftp |
---|
1523 | |
---|
1524 | And now type "ftp -h" to see its command-line options, and use command |
---|
1525 | lines just like you would give your regular FTP client: |
---|
1526 | |
---|
1527 | ftp -n xyzcorp.com |
---|
1528 | |
---|
1529 | but with additional options allowing an entire session to be specified |
---|
1530 | on the command line, as explained in the C-Kermit [166]FTP client |
---|
1531 | documentation. |
---|
1532 | |
---|
1533 | And similarly for HTTP: |
---|
1534 | |
---|
1535 | ln -s /usr/local/bin/kermit http |
---|
1536 | ./http -h |
---|
1537 | ./http www.columbia.edu -g kermit/index.html |
---|
1538 | |
---|
1539 | Finally, if Kermit's first command-line option is a Telnet, FTP, IKSD, |
---|
1540 | or HTTP URL, Kermit automatically makes the appropriate kind of |
---|
1541 | connection and, if indicated by the URL, takes the desired action: |
---|
1542 | |
---|
1543 | kermit telnet:xyzcorp.com ; Opens a Telnet session |
---|
1544 | kermit telnet://olga@xyzcorp.com ; Ditto for user olga |
---|
1545 | kermit ftp://olga@xyzcorp.com/public/oofa.zip ; Downloads a file |
---|
1546 | kermit kermit://kermit.columbia.edu/kermit/f/READ.ME ; Ditto for IKSD |
---|
1547 | kermit iksd://kermit.columbia.edu/kermit/f/READ.ME ; (This works too) |
---|
1548 | kermit http://www.columbia.edu/kermit/index.html ; Grabs a web page |
---|
1549 | kermit https://wwws.xyzcorp.com/secret/plan.html ; Grabs a secure web pag |
---|
1550 | e |
---|
1551 | |
---|
1552 | [ [167]Kermit Home ] [ [168]C-Kermit Home ] [ [169]C-Kermit FAQ ] |
---|
1553 | ________________________________________________________________________ |
---|
1554 | |
---|
1555 | LICENSE [ [170]Top ] [ [171]Contents ] [ [172]Next ] [ [173]Previous ] |
---|
1556 | |
---|
1557 | C-Kermit has an unusual license, but a fair and sensible one given |
---|
1558 | that the Kermit Project must support itself out of revenue: it's not a |
---|
1559 | BSD license, not GPL, not Artistic, not commercial, not shareware, not |
---|
1560 | freeware. It can be summed up like this: if you want C-Kermit for your |
---|
1561 | own use, you can download and use it without cost or license (but we'd |
---|
1562 | appreciate it if you would purchase the manual). But if you want to |
---|
1563 | sell C-Kermit or bundle it with a product or otherwise distribute it |
---|
1564 | in a commercial setting EXCEPT WITH AN OPEN-SOURCE OPERATING SYSTEM |
---|
1565 | DISTRIBUTION such as Linux, FreeBSD, NetBSD, or OpenBSD, you must |
---|
1566 | license it. To see the complete license, give the LICENSE command at |
---|
1567 | the prompt, or see the COPYING.TXT file distributed with C-Kermit 7.0 |
---|
1568 | or later, or download it from |
---|
1569 | [174]ftp://kermit.columbia.edu/kermit/c-kermit/COPYING.TXT. Send |
---|
1570 | licensing inquiries to [175]kermit@columbia.edu. |
---|
1571 | |
---|
1572 | [ [176]Kermit Home ] [ [177]C-Kermit Home ] [ [178]C-Kermit FAQ ] |
---|
1573 | ________________________________________________________________________ |
---|
1574 | |
---|
1575 | OTHER TOPICS [ [179]Top ] [ [180]Contents ] [ [181]Next ] [ [182]Previous ] |
---|
1576 | |
---|
1577 | There's way more to C-Kermit than we've touched on here -- |
---|
1578 | troubleshooting, customization, character sets, dialing directories, |
---|
1579 | sending pages, script writing, and on and on, all of which are covered |
---|
1580 | in the manual and updates and supplements. For the most up-to-date |
---|
1581 | information on documentation (or updated documentation itself) visit |
---|
1582 | the Kermit Project website: |
---|
1583 | |
---|
1584 | [183]http://www.columbia.edu/kermit/ |
---|
1585 | |
---|
1586 | There you will also find [184]Kermit software packages for other |
---|
1587 | platforms: different Unix varieties, Windows, DOS, VMS, IBM |
---|
1588 | mainframes, and many others: 20+ years' worth. |
---|
1589 | |
---|
1590 | [ [185]Kermit Home ] [ [186]C-Kermit Home ] [ [187]C-Kermit FAQ ] |
---|
1591 | ________________________________________________________________________ |
---|
1592 | |
---|
1593 | DOCUMENTATION AND UPDATES [ [188]Top ] [ [189]Contents ] [ [190]Next ] [ |
---|
1594 | [191]Previous ] |
---|
1595 | |
---|
1596 | The manual for C-Kermit is: |
---|
1597 | |
---|
1598 | 1. Frank da Cruz and Christine M. Gianone, [192]Using C-Kermit, |
---|
1599 | Second Edition, Digital Press / Butterworth-Heinemann, Woburn, MA, |
---|
1600 | 1997, 622 pages, ISBN 1-55558-164-1. This is a printed book. It |
---|
1601 | covers C-Kermit 6.0. |
---|
1602 | 2. The C-Kermit 7.0 Supplement: |
---|
1603 | [193]http://www.columbia.edu/kermit/ckermit70.html |
---|
1604 | 3. The C-Kermit 8.0 Supplement: |
---|
1605 | [194]http://www.columbia.edu/kermit/ckermit80.html |
---|
1606 | |
---|
1607 | The C-Kermit home page is here: |
---|
1608 | |
---|
1609 | [195]http://www.columbia.edu/kermit/ckermit.html |
---|
1610 | |
---|
1611 | Visit this page to learn about new versions, Beta tests, and other |
---|
1612 | news; to read case studies and tutorials; to download source code, |
---|
1613 | install packages, and [196]prebuilt binaries for many platforms. Also |
---|
1614 | visit: |
---|
1615 | |
---|
1616 | [197]http://www.columbia.edu/kermit/scriptlib.html |
---|
1617 | The Kermit script library and tutorial |
---|
1618 | |
---|
1619 | [198]http://www.columbia.edu/kermit/newfaq.html |
---|
1620 | The Kermit FAQ (Frequently Asked Questions about Kermit) |
---|
1621 | |
---|
1622 | [199]http://www.columbia.edu/kermit/ckfaq.html |
---|
1623 | The C-Kermit FAQ (Frequently Asked Questions about C-Kermit) |
---|
1624 | |
---|
1625 | [200]http://www.columbia.edu/kermit/security.html |
---|
1626 | The Kermit security reference. |
---|
1627 | |
---|
1628 | [201]http://www.columbia.edu/kermit/telnet.html |
---|
1629 | C-Kermit Telnet client documentation. |
---|
1630 | |
---|
1631 | [202]http://www.columbia.edu/kermit/studies.html |
---|
1632 | Case studies. |
---|
1633 | |
---|
1634 | [203]http://www.columbia.edu/kermit/ckcbwr.html |
---|
1635 | General C-Kermit Hints and Tips. |
---|
1636 | |
---|
1637 | [204]http://www.columbia.edu/kermit/ckubwr.html |
---|
1638 | Unix C-Kermit Hints and Tips. |
---|
1639 | |
---|
1640 | [205]http://www.columbia.edu/kermit/ckvbwr.html |
---|
1641 | VMS C-Kermit Hints and Tips. |
---|
1642 | |
---|
1643 | [206]http://www.columbia.edu/kermit/ckuins.html |
---|
1644 | Unix C-Kermit Installation Instructions |
---|
1645 | |
---|
1646 | [207]http://www.columbia.edu/kermit/ckvins.html |
---|
1647 | VMS C-Kermit Installation Instructions |
---|
1648 | |
---|
1649 | [208]http://www.columbia.edu/kermit/support.html |
---|
1650 | Technical support. |
---|
1651 | |
---|
1652 | [209]http://www.columbia.edu/kermit/k95tutorial.html |
---|
1653 | Kermit 95 tutorial (this document). |
---|
1654 | |
---|
1655 | [210]comp.protocols.kermit.misc |
---|
1656 | The Kermit newsgroup (unmoderated). |
---|
1657 | |
---|
1658 | [ [211]Kermit Home ] [ [212]C-Kermit Home ] [ [213]C-Kermit FAQ ] |
---|
1659 | ________________________________________________________________________ |
---|
1660 | |
---|
1661 | FILES [ [214]Top ] [ [215]Contents ] [ [216]Next ] [ [217]Previous ] |
---|
1662 | |
---|
1663 | [218]COPYING.TXT |
---|
1664 | C-Kermit license. |
---|
1665 | |
---|
1666 | [219]~/.kermrc |
---|
1667 | Initialization file. |
---|
1668 | |
---|
1669 | [220]~/.mykermrc |
---|
1670 | Customization file. |
---|
1671 | |
---|
1672 | ~/.kdd |
---|
1673 | Kermit dialing directory (see manual). |
---|
1674 | |
---|
1675 | ~/.knd |
---|
1676 | Kermit network directory (see manual). |
---|
1677 | |
---|
1678 | ~/.ksd |
---|
1679 | Kermit services directory (see manual). |
---|
1680 | |
---|
1681 | [221]ckuins.html |
---|
1682 | Installation instructions for Unix. |
---|
1683 | |
---|
1684 | [222]ckcbwr.html |
---|
1685 | General C-Kermit bugs, hints, tips. |
---|
1686 | |
---|
1687 | [223]ckubwr.html |
---|
1688 | Unix-specific C-Kermit bugs, hints, tips. |
---|
1689 | |
---|
1690 | [224]ckcplm.html |
---|
1691 | C-Kermit program logic manual. |
---|
1692 | |
---|
1693 | [225]ckccfg.html |
---|
1694 | C-Kermit compile-time configuration options. |
---|
1695 | |
---|
1696 | ssh |
---|
1697 | (in your PATH) SSH connection helper. |
---|
1698 | |
---|
1699 | rz, sz, etc. |
---|
1700 | (in your PATH) external protocols for XYZmodem. |
---|
1701 | |
---|
1702 | /var/spool/locks (or whatever) |
---|
1703 | UUCP lockfile for dialing out (see [226]installation |
---|
1704 | instructions). |
---|
1705 | |
---|
1706 | [ [227]Kermit Home ] [ [228]C-Kermit Home ] [ [229]C-Kermit FAQ ] |
---|
1707 | ________________________________________________________________________ |
---|
1708 | |
---|
1709 | AUTHORS [ [230]Top ] [ [231]Contents ] [ [232]Previous ] |
---|
1710 | |
---|
1711 | Frank da Cruz and Jeffrey E Altman |
---|
1712 | The Kermit Project - Columbia Univerity |
---|
1713 | 612 West 115th Street |
---|
1714 | New York NY 10025-7799 |
---|
1715 | USA |
---|
1716 | |
---|
1717 | 1985-present, with contributions from hundreds of others all over the |
---|
1718 | world. |
---|
1719 | _________________________________________________________________ |
---|
1720 | |
---|
1721 | |
---|
1722 | C-Kermit 8.0 Unix Manual Page and Tutorial / |
---|
1723 | [233]kermit@columbia.edu / 24 October 2002 |
---|
1724 | |
---|
1725 | References |
---|
1726 | |
---|
1727 | 1. http://www.columbia.edu/kermit/ |
---|
1728 | 2. http://www.columbia.edu/ |
---|
1729 | 3. http://www.columbia.edu/kermit/ckututor.pdf |
---|
1730 | 4. ftp://kermit.columbia.edu/kermit/test/text/ckuker.nr |
---|
1731 | 5. http://www.columbia.edu/kermit/ckututor.html#description |
---|
1732 | 6. http://www.columbia.edu/kermit/ckututor.html#synopsis |
---|
1733 | 7. http://www.columbia.edu/kermit/ckututor.html#options |
---|
1734 | 8. http://www.columbia.edu/kermit/ckututor.html#commands |
---|
1735 | 9. http://www.columbia.edu/kermit/ckututor.html#initfile |
---|
1736 | 10. http://www.columbia.edu/kermit/ckututor.html#modes |
---|
1737 | 11. http://www.columbia.edu/kermit/ckututor.html#connections |
---|
1738 | 12. http://www.columbia.edu/kermit/ckututor.html#transfer |
---|
1739 | 13. http://www.columbia.edu/kermit/ckututor.html#server |
---|
1740 | 14. http://www.columbia.edu/kermit/ckututor.html#ftp |
---|
1741 | 15. http://www.columbia.edu/kermit/ckututor.html#iksd |
---|
1742 | 16. http://www.columbia.edu/kermit/ckututor.html#security |
---|
1743 | 17. http://www.columbia.edu/kermit/ckututor.html#personae |
---|
1744 | 18. http://www.columbia.edu/kermit/ckututor.html#license |
---|
1745 | 19. http://www.columbia.edu/kermit/ckututor.html#other |
---|
1746 | 20. http://www.columbia.edu/kermit/ckututor.html#documentation |
---|
1747 | 21. http://www.columbia.edu/kermit/ckututor.html#files |
---|
1748 | 22. http://www.columbia.edu/kermit/ckututor.html#authors |
---|
1749 | 23. http://www.columbia.edu/kermit/ckututor.html#top |
---|
1750 | 24. http://www.columbia.edu/kermit/ckututor.html#contents |
---|
1751 | 25. http://www.columbia.edu/kermit/ckututor.html#synopsis |
---|
1752 | 26. http://www.columbia.edu/kermit/ckermit.html |
---|
1753 | 27. http://www.columbia.edu/kermit/ |
---|
1754 | 28. http://www.columbia.edu/ |
---|
1755 | 29. ftp://ftp.isi.edu/in-notes/rfc2839.txt |
---|
1756 | 30. ftp://ftp.isi.edu/in-notes/rfc2840.txt |
---|
1757 | 31. http://www.columbia.edu/kermit/ckututor.html#documentation |
---|
1758 | 32. http://www.columbia.edu/kermit/ |
---|
1759 | 33. http://www.columbia.edu/kermit/ |
---|
1760 | 34. http://www.columbia.edu/kermit/ckermit.html |
---|
1761 | 35. http://www.columbia.edu/kermit/ckfaq.html |
---|
1762 | 36. http://www.columbia.edu/kermit/ckututor.html#top |
---|
1763 | 37. http://www.columbia.edu/kermit/ckututor.html#contents |
---|
1764 | 38. http://www.columbia.edu/kermit/ckututor.html#options |
---|
1765 | 39. http://www.columbia.edu/kermit/ckututor.html#synopsis |
---|
1766 | 40. http://www.columbia.edu/kermit/ckututor.html#kerbang |
---|
1767 | 41. http://www.columbia.edu/kermit/ckututor.html#personae |
---|
1768 | 42. http://www.columbia.edu/kermit/ckututor.html#kerbang |
---|
1769 | 43. http://www.columbia.edu/kermit/ckututor.html#initfile |
---|
1770 | 44. http://www.columbia.edu/kermit/ckututor.html#initfile |
---|
1771 | 45. http://www.columbia.edu/kermit/ckututor.html#personae |
---|
1772 | 46. http://www.columbia.edu/kermit/ckututor.html#options |
---|
1773 | 47. http://www.columbia.edu/kermit/ckututor.html#commands |
---|
1774 | 48. http://www.columbia.edu/kermit/ |
---|
1775 | 49. http://www.columbia.edu/kermit/ckermit.html |
---|
1776 | 50. http://www.columbia.edu/kermit/ckfaq.html |
---|
1777 | 51. http://www.columbia.edu/kermit/ckututor.html#top |
---|
1778 | 52. http://www.columbia.edu/kermit/ckututor.html#contents |
---|
1779 | 53. http://www.columbia.edu/kermit/ckututor.html#commands |
---|
1780 | 54. http://www.columbia.edu/kermit/ckututor.html#description |
---|
1781 | 55. http://www.columbia.edu/kermit/ckututor.html#commands |
---|
1782 | 56. http://www.columbia.edu/kermit/ckututor.html#personae |
---|
1783 | 57. http://www.columbia.edu/kermit/ckututor.html#personae |
---|
1784 | 58. http://www.columbia.edu/kermit/ckututor.html#iksd |
---|
1785 | 59. http://www.columbia.edu/kermit/ckututor.html#transfer |
---|
1786 | 60. http://www.columbia.edu/kermit/ckututor.html#top |
---|
1787 | 61. http://www.columbia.edu/kermit/ckututor.html#contents |
---|
1788 | 62. http://www.columbia.edu/kermit/ckututor.html#initfile |
---|
1789 | 63. http://www.columbia.edu/kermit/ckututor.html#options |
---|
1790 | 64. http://www.columbia.edu/kermit/ckututor.html#kerbang |
---|
1791 | 65. http://www.columbia.edu/kermit/ckututor.html#cmdlist |
---|
1792 | 66. http://www.columbia.edu/kermit/ckututor.html#documentation |
---|
1793 | 67. http://www.columbia.edu/kermit/ckututor.html#initfile |
---|
1794 | 68. http://www.columbia.edu/kermit/ckututor.html#documentation |
---|
1795 | 69. http://www.columbia.edu/kermit/ckscripts.html |
---|
1796 | 70. http://www.columbia.edu/kermit/ckututor.html#documentation |
---|
1797 | 71. http://www.columbia.edu/kermit/ |
---|
1798 | 72. http://www.columbia.edu/kermit/ckermit.html |
---|
1799 | 73. http://www.columbia.edu/kermit/ckfaq.html |
---|
1800 | 74. http://www.columbia.edu/kermit/ckututor.html#top |
---|
1801 | 75. http://www.columbia.edu/kermit/ckututor.html#contents |
---|
1802 | 76. http://www.columbia.edu/kermit/ckututor.html#modes |
---|
1803 | 77. http://www.columbia.edu/kermit/ckututor.html#commands |
---|
1804 | 78. http://www.columbia.edu/kermit/ |
---|
1805 | 79. http://www.columbia.edu/kermit/ckermit.html |
---|
1806 | 80. http://www.columbia.edu/kermit/ckfaq.html |
---|
1807 | 81. http://www.columbia.edu/kermit/ckututor.html#top |
---|
1808 | 82. http://www.columbia.edu/kermit/ckututor.html#contents |
---|
1809 | 83. http://www.columbia.edu/kermit/ckututor.html#connections |
---|
1810 | 84. http://www.columbia.edu/kermit/ckututor.html#initfile |
---|
1811 | 85. http://www.columbia.edu/kermit/ckfaq.html#term |
---|
1812 | 86. http://www.columbia.edu/kermit/ |
---|
1813 | 87. http://www.columbia.edu/kermit/ckermit.html |
---|
1814 | 88. http://www.columbia.edu/kermit/ckfaq.html |
---|
1815 | 89. http://www.columbia.edu/kermit/ckututor.html#top |
---|
1816 | 90. http://www.columbia.edu/kermit/ckututor.html#contents |
---|
1817 | 91. http://www.columbia.edu/kermit/ckututor.html#transfer |
---|
1818 | 92. http://www.columbia.edu/kermit/ckututor.html#modes |
---|
1819 | 93. http://www.columbia.edu/kermit/ckututor.html#iksd |
---|
1820 | 94. ftp://ftp.isi.edu/in-notes/rfc2217.txt |
---|
1821 | 95. http://www.columbia.edu/kermit/ckututor.html#ftp |
---|
1822 | 96. http://www.columbia.edu/kermit/ |
---|
1823 | 97. http://www.columbia.edu/kermit/ckermit.html |
---|
1824 | 98. http://www.columbia.edu/kermit/ckfaq.html |
---|
1825 | 99. http://www.columbia.edu/kermit/ckututor.html#top |
---|
1826 | 100. http://www.columbia.edu/kermit/ckututor.html#contents |
---|
1827 | 101. http://www.columbia.edu/kermit/ckututor.html#server |
---|
1828 | 102. http://www.columbia.edu/kermit/ckututor.html#connections |
---|
1829 | 103. http://www.columbia.edu/kermit/ckututor.html#download |
---|
1830 | 104. http://www.columbia.edu/kermit/ckututor.html#upload |
---|
1831 | 105. http://www.columbia.edu/kermit/ckututor.html#oldfashioned |
---|
1832 | 106. http://www.columbia.edu/kermit/ckututor.html#trouble |
---|
1833 | 107. http://www.columbia.edu/kermit/ckututor.html#advanced |
---|
1834 | 108. http://www.columbia.edu/kermit/ckututor.html#nonkermit |
---|
1835 | 109. http://www.columbia.edu/kermit/kermit.html#notslow |
---|
1836 | 110. http://www.columbia.edu/kermit/ckermit.html |
---|
1837 | 111. http://www.columbia.edu/kermit/k95.html |
---|
1838 | 112. http://www.columbia.edu/kermit/k95.html |
---|
1839 | 113. http://www.columbia.edu/kermit/ckermit.html |
---|
1840 | 114. http://www.columbia.edu/kermit/mskermit.html |
---|
1841 | 115. http://www.columbia.edu/kermit/ |
---|
1842 | 116. http://www.columbia.edu/kermit/support.html |
---|
1843 | 117. http://www.columbia.edu/kermit/ckmanual.html |
---|
1844 | 118. mailto:kermit-support@columbia.edu |
---|
1845 | 119. http://www.columbia.edu/kermit/ckututor.html#documentation |
---|
1846 | 120. http://www.columbia.edu/kermit/ckututor.html#ftp |
---|
1847 | 121. http://www.columbia.edu/kermit/ |
---|
1848 | 122. http://www.columbia.edu/kermit/ckermit.html |
---|
1849 | 123. http://www.columbia.edu/kermit/ckfaq.html |
---|
1850 | 124. http://www.columbia.edu/kermit/ckututor.html#top |
---|
1851 | 125. http://www.columbia.edu/kermit/ckututor.html#contents |
---|
1852 | 126. http://www.columbia.edu/kermit/ckututor.html#ftp |
---|
1853 | 127. http://www.columbia.edu/kermit/ckututor.html#transfer |
---|
1854 | 128. http://www.columbia.edu/kermit/ckututor.html#iksd |
---|
1855 | 129. http://www.columbia.edu/kermit/ |
---|
1856 | 130. http://www.columbia.edu/kermit/ckermit.html |
---|
1857 | 131. http://www.columbia.edu/kermit/ckfaq.html |
---|
1858 | 132. http://www.columbia.edu/kermit/ckututor.html#top |
---|
1859 | 133. http://www.columbia.edu/kermit/ckututor.html#contents |
---|
1860 | 134. http://www.columbia.edu/kermit/ckututor.html#iksd |
---|
1861 | 135. http://www.columbia.edu/kermit/ckututor.html#transfer |
---|
1862 | 136. http://www.columbia.edu/kermit/ckututor.html#server |
---|
1863 | 137. http://www.columbia.edu/kermit/ftpclient.html |
---|
1864 | 138. http://www.columbia.edu/kermit/ckututor.html#documentation |
---|
1865 | 139. http://www.columbia.edu/kermit/ |
---|
1866 | 140. http://www.columbia.edu/kermit/ckermit.html |
---|
1867 | 141. http://www.columbia.edu/kermit/ckfaq.html |
---|
1868 | 142. http://www.columbia.edu/kermit/ckermit3.html#x3 |
---|
1869 | 143. http://www.columbia.edu/kermit/ckermit3.html#x2.2 |
---|
1870 | 144. http://www.columbia.edu/kermit/ckututor.html#top |
---|
1871 | 145. http://www.columbia.edu/kermit/ckututor.html#contents |
---|
1872 | 146. http://www.columbia.edu/kermit/ckututor.html#security |
---|
1873 | 147. http://www.columbia.edu/kermit/ckututor.html#ftp |
---|
1874 | 148. http://www.columbia.edu/kermit/cuiksd.html |
---|
1875 | 149. http://www.columbia.edu/kermit/iksd.html |
---|
1876 | 150. http://www.columbia.edu/kermit/ |
---|
1877 | 151. http://www.columbia.edu/kermit/ckermit.html |
---|
1878 | 152. http://www.columbia.edu/kermit/ckfaq.html |
---|
1879 | 153. http://www.columbia.edu/kermit/ckututor.html#top |
---|
1880 | 154. http://www.columbia.edu/kermit/ckututor.html#contents |
---|
1881 | 155. http://www.columbia.edu/kermit/ckututor.html#personae |
---|
1882 | 156. http://www.columbia.edu/kermit/ckututor.html#iksd |
---|
1883 | 157. http://www.columbia.edu/kermit/security.html |
---|
1884 | 158. http://www.columbia.edu/kermit/ |
---|
1885 | 159. http://www.columbia.edu/kermit/ckermit.html |
---|
1886 | 160. http://www.columbia.edu/kermit/ckfaq.html |
---|
1887 | 161. http://www.columbia.edu/kermit/ckututor.html#top |
---|
1888 | 162. http://www.columbia.edu/kermit/ckututor.html#contents |
---|
1889 | 163. http://www.columbia.edu/kermit/ckututor.html#license |
---|
1890 | 164. http://www.columbia.edu/kermit/ckututor.html#iksd |
---|
1891 | 165. http://www.columbia.edu/kermit/ckututor.html#options |
---|
1892 | 166. http://www.columbia.edu/kermit/ckermit3.html#x3.1.2 |
---|
1893 | 167. http://www.columbia.edu/kermit/ |
---|
1894 | 168. http://www.columbia.edu/kermit/ckermit.html |
---|
1895 | 169. http://www.columbia.edu/kermit/ckfaq.html |
---|
1896 | 170. http://www.columbia.edu/kermit/ckututor.html#top |
---|
1897 | 171. http://www.columbia.edu/kermit/ckututor.html#contents |
---|
1898 | 172. http://www.columbia.edu/kermit/ckututor.html#other |
---|
1899 | 173. http://www.columbia.edu/kermit/ckututor.html#personae |
---|
1900 | 174. ftp://kermit.columbia.edu/kermit/c-kermit/COPYING.TXT |
---|
1901 | 175. mailto:kermit@columbia.edu |
---|
1902 | 176. http://www.columbia.edu/kermit/ |
---|
1903 | 177. http://www.columbia.edu/kermit/ckermit.html |
---|
1904 | 178. http://www.columbia.edu/kermit/ckfaq.html |
---|
1905 | 179. http://www.columbia.edu/kermit/ckututor.html#top |
---|
1906 | 180. http://www.columbia.edu/kermit/ckututor.html#contents |
---|
1907 | 181. http://www.columbia.edu/kermit/ckututor.html#documentation |
---|
1908 | 182. http://www.columbia.edu/kermit/ckututor.html#license |
---|
1909 | 183. http://www.columbia.edu/kermit/ |
---|
1910 | 184. http://www.columbia.edu/kermit/howtoget.html |
---|
1911 | 185. http://www.columbia.edu/kermit/ |
---|
1912 | 186. http://www.columbia.edu/kermit/ckermit.html |
---|
1913 | 187. http://www.columbia.edu/kermit/ckfaq.html |
---|
1914 | 188. http://www.columbia.edu/kermit/ckututor.html#top |
---|
1915 | 189. http://www.columbia.edu/kermit/ckututor.html#contents |
---|
1916 | 190. http://www.columbia.edu/kermit/ckututor.html#files |
---|
1917 | 191. http://www.columbia.edu/kermit/ckututor.html#other |
---|
1918 | 192. http://www.columbia.edu/kermit/ckmanual.html |
---|
1919 | 193. http://www.columbia.edu/kermit/ckermit70.html |
---|
1920 | 194. http://www.columbia.edu/kermit/ckermit80.html |
---|
1921 | 195. http://www.columbia.edu/kermit/ckermit.html |
---|
1922 | 196. http://www.columbia.edu/kermit/ck80binaries.html |
---|
1923 | 197. http://www.columbia.edu/kermit/scriptlib.html |
---|
1924 | 198. http://www.columbia.edu/kermit/newfaq.html |
---|
1925 | 199. http://www.columbia.edu/kermit/ckfaq.html |
---|
1926 | 200. http://www.columbia.edu/kermit/security.html |
---|
1927 | 201. http://www.columbia.edu/kermit/telnet.html |
---|
1928 | 202. http://www.columbia.edu/kermit/studies.html |
---|
1929 | 203. http://www.columbia.edu/kermit/ckcbwr.html |
---|
1930 | 204. http://www.columbia.edu/kermit/ckubwr.html |
---|
1931 | 205. http://www.columbia.edu/kermit/ckvbwr.html |
---|
1932 | 206. http://www.columbia.edu/kermit/ckuins.html |
---|
1933 | 207. http://www.columbia.edu/kermit/ckvins.html |
---|
1934 | 208. http://www.columbia.edu/kermit/support.html |
---|
1935 | 209. http://www.columbia.edu/kermit/k95tutorial.html |
---|
1936 | 210. news:comp.protocols.kermit.misc |
---|
1937 | 211. http://www.columbia.edu/kermit/ |
---|
1938 | 212. http://www.columbia.edu/kermit/ckermit.html |
---|
1939 | 213. http://www.columbia.edu/kermit/ckfaq.html |
---|
1940 | 214. http://www.columbia.edu/kermit/ckututor.html#top |
---|
1941 | 215. http://www.columbia.edu/kermit/ckututor.html#contents |
---|
1942 | 216. http://www.columbia.edu/kermit/ckututor.html#authors |
---|
1943 | 217. http://www.columbia.edu/kermit/ckututor.html#documentation |
---|
1944 | 218. ftp://kermit.columbia.edu/kermit/c-kermit/COPYING.TXT |
---|
1945 | 219. ftp://kermit.columbia.edu/kermit/c-kermit/ckermit.ini |
---|
1946 | 220. ftp://kermit.columbia.edu/kermit/c-kermit/ckermod.ini |
---|
1947 | 221. http://www.columbia.edu/kermit/ckuins.html |
---|
1948 | 222. http://www.columbia.edu/kermit/ckcbwr.html |
---|
1949 | 223. http://www.columbia.edu/kermit/ckubwr.html |
---|
1950 | 224. http://www.columbia.edu/kermit/ckcplm.html |
---|
1951 | 225. http://www.columbia.edu/kermit/ckccfg.html |
---|
1952 | 226. http://www.columbia.edu/kermit/ckuins.html |
---|
1953 | 227. http://www.columbia.edu/kermit/ |
---|
1954 | 228. http://www.columbia.edu/kermit/ckermit.html |
---|
1955 | 229. http://www.columbia.edu/kermit/ckfaq.html |
---|
1956 | 230. http://www.columbia.edu/kermit/ckututor.html#top |
---|
1957 | 231. http://www.columbia.edu/kermit/ckututor.html#contents |
---|
1958 | 232. http://www.columbia.edu/kermit/ckututor.html#files |
---|
1959 | 233. mailto:kermit@columbia.edu |
---|