form as [44]ckcplm.txt.
[45]iksd.html
- Internet Kermit Service Aministrators Guide for Unix.
+ Internet Kermit Service Administrators Guide for Unix.
[46]skermit.html
C-Kermit as an SSH Subsystem (SFTP server replacement).
+ Fixed modem-type aliases to not take precedence over real
names.
+ Fixed funny treatment of doublequotes by ECHO command.
- + Enabled SET SESSION-LOG for VMS and other non-UNIX platorms.
+ + Enabled SET SESSION-LOG for VMS and other non-UNIX platforms.
+ Fixed changing direction in command history buffer.
+ Fixed handling of IKSD URLs.
+ Made sure DELETE prints a message if it got any errors.
parameters.
+ We now make every attempt to not write passwords to the
debug.log.
- + New Certficate Authority certificates file, includes the
- Kermit Project at Columbia University so you can access our
+ + New Certificate Authority certificates file, includes the
+ Kermit Project at Columbia University so you can accesss our
IKSD securely.
+ Secure targets improved and better documented in Unix
makefile.
+ New command: SET TERMINAL AUTODOWNLOAD { ..., ERROR { STOP,
CONTINUE } }
+ New command: HELP FIREWALL.
- + SET MODEM HANGUP-METHOD DTR added as synomym for RS232-SIGNAL
+ + SET MODEM HANGUP-METHOD DTR added as synonym for RS232-SIGNAL
+ Support for secure URL protocols added: telnets:, ftps:,
https:.
timezone set.
o Allow for alternative server interpretations of [M]MPUT
/UNIQUE.
- o SET FTP ANONOMOUS-PASSWORD lets you specify the default
+ o SET FTP ANONYMOUS-PASSWORD lets you specify the default
anonymous password.
o Allow "GET /RECURSIVE path/file" to force local
subdirectory creation.
PUT), they apply only to that command.
/USER:name
- To be used in case a page requires a username for access. The
+ To be used in case a page requires a username for accesss. The
username is sent with page requests. If it is given with the
OPEN command it is saved until needed. If a username is included
in a URL, it overrides the username given in the switch.
performed securely on HTTPS connections.
/PASSWORD:text
- To be used in case a web page requires a password for access.
+ To be used in case a web page requires a password for accesss.
The password is sent with page requests. If it is given with the
OPEN command it is saved until needed. If a password is given in
a URL, it overrides the one given here. CAUTION: (same as for
file or directory lists, no way to transfer file groups by using
wildcard notation, etc, and therefore no good way to (say) fetch all
pages, descend through subdirectories, perform automatic updates, etc.
- There is no assurrance a connection will stay open and, as noted, there
+ There is no assurance a connection will stay open and, as noted, there
is no provision for data conversion between unlike platforms. The
data's MIME headers can be used for postprocessing.
}
Note that the "Date:" item is the current date and time; the
- "Last-Modifed:" item is the file's modification date and time. An
+ "Last-Modified:" item is the file's modification date and time. An
example showing how to use this information is presented in
[190]Section 8.13.7.
sent to the server.
Kerberos 5:
- Instead of using X.509 certifcates, Kerberos 5 can be used to
+ Instead of using X.509 certificates, Kerberos 5 can be used to
perform the authentication and key exchange. In this situation,
there is mutual authentication between the client and server.
The Kerberos 5 principal is used by the server to look up the
http www.columbia.edu -g kermit/index.html
- If you need to access a website for which a username and password are
+ If you need to accesss a website for which a username and password are
required, you can supply them on the command line with -u and -P. If
you include a username but omit the password, Kermit prompts you for
it:
the server does support accounts, the account is accepted if it
is valid and rejected if it is not. The account might be used
for charging purposes or it might be a secondary password, or it
- might be used for any other purpose, such as an access password
+ might be used for any other purpose, such as an accesss password
for a particular disk. Servers that support accounts might or
might not allow or require the account to be sent prior to
login; usually it is sent after login, if at all. Synonym:
In the previous section, you can see several examples of traditional
insecure authentication: username and password sent across the network
in clear text. Of course this is bad practice on at least two counts:
- (1) storing passwords in files (such as script files) gives access to
- the target systems to anybody who can obtain read access to your
+ (1) storing passwords in files (such as script files) gives accesss to
+ the target systems to anybody who can obtain read accesss to your
scripts; and (2) sending this information over the network leaves it
open to interception by network sniffers or compromised hosts.
servers are beginning to appear that offer secure forms of
authentication, in which no information is sent over the network that
would allow anyone who intercepts it to usurp your identity and gain
- your access rights.
+ your accesss rights.
Kermit provides an equivalent form of FTP security for each type of
IETF standard security implemented in Telnet. These include
SET FTP CREDENTIAL-FORWARDING { ON, OFF }
Tells whether end-user credentials are to be forwarded to the
server if supported by the authentication method (GSSAPI-KRB5
- only). This is often required to allow access to distributed
+ only). This is often required to allow accesss to distributed
file systems (e.g. AFS.)
SET FTP DATA-PROTECTION-LEVEL { CLEAR, CONFIDENTIAL, PRIVATE, SAFE }
directory to the server's /tmp directory. This works only if the server
uses the same directory notation that you used in the as-name AND the
given directory already exists on the server AND if you have write
- access to it.
+ accesss to it.
Use caution when uploading from a case-sensitive file system, such as
UNIX, to a file system that is not case sensitive, such as Windows or
plus all directories beneath it, including empty directories,
replicating the directory structure on the server. No special
capabilities are required in the server, but of course your
- login ID on the server must have the appropriate access and
+ login ID on the server must have the appropriate accesss and
permission to create directories. Recursive PUTs work not only
between like platforms (e.g. UNIX to UNIX) but also between
unlike ones (e.g. UNIX to VMS or Windows), in which case
Tells Kermit to ask the server to rename each file according to
the given template as soon as, and only if, it has been received
completely and successfully. The template works as in /AS-NAME.
- Requires write and rename access on the server, so doesn't
+ Requires write and rename accesss on the server, so doesn't
usually work with (e.g.) anonymous uploads to public incoming
areas where the permissions don't allow renaming. Examples:
/DELETE
Each file that is downloaded successfully is to be deleted from
- the server. Requires the appropriate file access rights on the
+ the server. Requires the appropriate file accesss rights on the
server.
/SERVER-RENAME-TO:template
A possibly unique feature of Kermit's FTP client is its ability to
convert character sets when transferring files in text mode,
- independent of the capabilites of the FTP server, as well as to
+ independent of the capabilities of the FTP server, as well as to
translate the character sets of filenames regardless of transfer mode.
For compatibility with existing FTP clients, and because there is a
certain performance penalty, Kermit won't do this unless you ask for
REMOTE TYPE (RTYPE) FTP TYPE
REMOTE EXIT (REXIT) FTP BYE
- The commands in the right-hand column always access FTP. The commands
- in the left column can access either Kermit protocol or FTP:
+ The commands in the right-hand column always accesss FTP. The commands
+ in the left column can accesss either Kermit protocol or FTP:
* When GET-PUT-REMOTE is set to KERMIT, or to AUTO when there is no
- FTP connection, the commands in the left-hand column access Kermit
+ FTP connection, the commands in the left-hand column accesss Kermit
protocol, and those right-hand column are required for FTP.
* When GET-PUT-REMOTE is set to FTP, or to AUTO when there is an
- active FTP connection, the commands in the left-hand column access
- the FTP connection and can not be used to access Kermit protocol.
+ active FTP connection, the commands in the left-hand column accesss
+ the FTP connection and can not be used to accesss Kermit protocol.
In this case, if you want to be able to use both Kermit protocol
and the FTP connection, you must SET GET-PUT-REMOTE KERMIT, and
- then use the FTP commands in the right-hand column to access the
+ then use the FTP commands in the right-hand column to accesss the
FTP connection.
Note that file-management commands such as DIRECTORY, DELETE, CD, PWD,
during interactive use. However, if you wish to use the shortcuts in a
script, you can do it this way (error handling omitted for brevity):
- local \%t ; Declare a local temporary veriable
+ local \%t ; Declare a local temporary variable
assign \%t \v(ftp_getputremote) ; Save current FTP GET-PUT-REMOTE setting
set ftp get-put-remote ftp ; Choose FTP orientation
ftp xyzcorp.com /anonymous ; Open an FTP connection
3.11. Advanced FTP Protocol Features
- The remainder of the FTP documention (through the end of Section 3) is
- new to C-Kermit 8.0.206, but we leave it in black to prevent headaches.
- Except for titles.
+ The remainder of the FTP documentation (through the end of Section 3)
+ is new to C-Kermit 8.0.206, but we leave it in black to prevent
+ headaches. Except for titles.
* [364]TERMINOLOGY
* [365]FEATURE NEGOTIATION
* [366]USING MGET: NLST VERSUS MLSD
FTP SIZE filename
Sends a SIZE directive to the server for the given file. The
filename must not contain wildcards. The server responds with an
- error if the file can't be found, is not accessible, or the SIZE
- directive is not supported, otherwise with the length of the
- file in bytes, which Kermit displays and also makes available to
- you in its \v(ftp_message) variable. If the directive is
- successful, Kermit (re-)enables it for internal use by the GET
- and MGET directives on this connection.
+ error if the file can't be found, is not accesssible, or the
+ SIZE directive is not supported, otherwise with the length of
+ the file in bytes, which Kermit displays and also makes
+ available to you in its \v(ftp_message) variable. If the
+ directive is successful, Kermit (re-)enables it for internal use
+ by the GET and MGET directives on this connection.
FTP MODTIME filename
Works just like the SIZE directive except it sends an MDTM
mget /match:*.txt NLST MLSD
mget /match:*.txt foo NLST foo MLSD foo
- In other words, the pattern is always intepreted locally unless MGET
+ In other words, the pattern is always interpreted locally unless MGET
uses NLST and no /MATCH switch was given.
3.11.4. Examples
Kermit 95, the display character-set is Unicode, perhaps converted to
your current console code page; in other versions of C-Kermit, it is
your current file character-set. Thus if you have the following set
- appriately:
+ appropriately:
SET FILE CHARACTER-SET (necessary in Unix but not K95)
SET FILE DEFAULT 7BIT CHARACTER-SET
6.6. Arrow Keys
- As of version 8.0.201, C-Kermit on most platforms lets you access the
+ As of version 8.0.201, C-Kermit on most platforms lets you accesss the
command history buffer with arrow keys, just as you always could with
control characters. The restrictions are:
This change was made to facilitate command recall in Linux-based PDAs
that don't have a Control key, or at least not one that's easily (or
- always) accessible, such as the Sharp Zaurus SL5500.
+ always) accesssible, such as the Sharp Zaurus SL5500.
[ [391]Top ] [ [392]Contents ] [ [393]C-Kermit Home ] [ [394]Kermit
Home ]
L-commands
When Kermit has a connection to a Kermit or FTP server, file
- managment commands such as CD, DIRECTORY, and DELETE might be
+ management commands such as CD, DIRECTORY, and DELETE might be
intended for the local computer or the remote server. C-Kermit
8.0.200 and earlier always executes these commands on the local
computer. If you want them executed by the remote server, you
file-transfer and management commands. The default LOCUS is
AUTO, which means we switch to REMOTE whenever an FTP connection
is made, and to LOCAL whenever a non-FTP connection is made, and
- switch back accordingly whenever a connnection is closed. So by
+ switch back accordingly whenever a connection is closed. So by
default, Kermit behaves in its traditional manner unless you
make an FTP connection, in which case it acts like a regular FTP
client (but better :-) LOCUS applies to the following
CD (CWD) RCD LCD Change (Working) Directory
CDUP RCDUP LCDUP CD Up
PWD RPWD LPWD Print Working Directory
- DIRECTORY RDIR LDIR Request a directory listinga
+ DIRECTORY RDIR LDIR Request a directory listing
DELETE RDEL LDEL Delete (a) file(s)
- RENEME RREN LREN Rename a file
+ RENAME RREN LREN Rename a file
MKDIR RMKDIR LMKDIR Create a directory
RMDIR RRMDIR LRMDIR Remove a directory
SET ROOT directory
Like UNIX chroot, without requiring privilege. Sets the root for
- file access, does not allow reference to or creation of files
+ file accesss, does not allow reference to or creation of files
outside the root, and can't be undone.
SET SEND PERMISSIONS { ON, OFF }
The following new or improved built-in functions are available:
- \fcmdstack() Allows programmatic access to the command stack.
+ \fcmdstack() Allows programmatic accesss to the command stack.
\fcvtdate() [448]Section 8.13, format options added
\fdelta2secs() [449]Section 8.13
\fdostounixpath(s1) Converts a DOS filename to Unix format.
8.7.3. The \fcmdstack() Function
- The new \fcmdstack() function gives access to the command stack:
+ The new \fcmdstack() function gives accesss to the command stack:
\fcmdstack(n1,n2)
Arguments: n1 is the command stack level. If omitted, the
waits up to 8 seconds for one of the words "one", "two", or "three" to
arrive. Words can be grouped to indicate targets that contain spaces:
- MINPUT 8 nineteeen twenty "twenty one"
+ MINPUT 8 nineteen twenty "twenty one"
And of course you can also use variables in place of (or as part of)
the target names:
(0-23), mm the minute (0-59), ss the second (0-59), each with leading
zero if less than the field width. The date and time can be separated
by a space, an underscore, a colon, or the letter T. The time is in
- 24-hour format. Thus the various quantites are at the following fixed
+ 24-hour format. Thus the various quantities are at the following fixed
positions:
Position Contents
11-Aug-2001 12:34:56 -0800 (20010811 16:34:56 -- UTC Offset)
11-Aug-2001 12:34:56 -08:00 (20010811 04:34:56 -- Delta time)
- If you give a time followed by a modifer that starts with a + or -
+ If you give a time followed by a modifier that starts with a + or -
sign, how does Kermit know whether it's a UTC offset or a delta time?
It is treated as a UTC offset if the sign is followed by exactly four
decimal digits; otherwise it is a delta time. Examples (for USA Eastern
5 displays the result.
Here's a script that opens a web page, gets its headers into an array,
- scans the array for the "Last-Modified:" header, and inteprets it:
+ scans the array for the "Last-Modified:" header, and interprets it:
http open www.columbia.edu
if fail stop 1 HTTP OPEN failed
http /array:a head index.html /dev/null
displaying summary results. You can do this by defining a macro named
ON_CTRLC. When Ctrl-C is detected, and a macro with this name is
defined, Kermit executes it from the current command level, thus giving
- it full access to the environment in which the interruption occurred,
+ it full accesss to the environment in which the interruption occurred,
including local variables and open files. Only when the ON_CTRLC macro
completes execution is the command stack rolled back to top level.
ON means always print the value; OFF means never print it.
In any case, the value of the most recent S-Expression (and the
- S-Expression itself) may be accessed programmatically through the
+ S-Expression itself) may be accesssed programmatically through the
following variables:
\v(sexpression)
This causes the string "abcdefghijklmnopqrstuvwxyz" to be sent
literally to the LENGTH macro. Kermit, like Lisp, also offers a
shortcut for QUOTE, that lets us quote a word by prefixing it with a
- single quote (') character, also called apostophe (ASCII 39):
+ single quote (') character, also called apostrophe (ASCII 39):
(length 'abcdefghijklmnopqrstuvwxyz)
26
9.9.1. Statistics
- The following program computes statistics -- means, maxima, mimima,
+ The following program computes statistics -- means, maxima, minima,
variance, standard deviation, and correlation -- from data stored in
parallel arrays, \&x[] and \&y[], which can contain any mixture of
integer and floating-point numbers: positive, negative, or zero. Array
The new defaults work for direct connections and for most modern modems
on most platforms, and they work much faster than "full-treatment"
dialing. If the new defaults don't work for you, or if you need to
- perform explicit modem configuations or interactions, then set a
+ perform explicit modem configurations or interactions, then set a
specific modem type and use the SET MODEM and SET DIAL commands as
documented in Using C-Kermit.
Added in C-Kermit 8.0.201: Rudimentary support for Caller ID, for use
with the ANSWER command. If the modem reports Caller ID information,
- Kermit stores it in variables that you can access after the call is
+ Kermit stores it in variables that you can accesss after the call is
answered:
\v(callid_date) The date of the call
Kermit presently has no built-in knowledge of the Caller ID
capabilities or commands of the modems in its database.
- Since the variables can be accessed only after the call is answered,
+ Since the variables can be accesssed only after the call is answered,
the only way to refuse a call is to answer it, inspect the variables,
and then hang it up if desired.
14. DIALOUT FROM TELNET TERMINAL SERVERS
For years, C-Kermit has supported dialing out from Telnet modem servers
- (also called reverse terminal servers or access servers), but until now
- there was no way for Kermit to control the communication parameters
+ (also called reverse terminal servers or accesss servers), but until
+ now there was no way for Kermit to control the communication parameters
(speed, parity, etc) on the serial port of the terminal server; it had
to use whatever was there.
There are lots of faulty Kermit protocol implementations out there,
found mainly in 3rd-party products ranging from communications software
- packages to file-transfer functions imbedded within devices. This topic
+ packages to file-transfer functions embedded within devices. This topic
is covered [580]HERE for C-Kermit 7.0, but C-Kermit 8.0 adds some
additional tricks.