HP-UX Reference (11i v1 05/09) - 1 User Commands A-M (vol 1)
k
kermit(1) kermit(1)
(HP-UX C-Kermit)
\v(pexitstat) Exit status of most recently forked process
\v(pid) C-Kermit’s process ID
\v(platform) Specific machine and/or operating system
\v(program) Name of this program ("C-Kermit")
\v(protocol) Currently selected file transfer protocol
\v(p_8bit) Current 8th-bit prefix (Kermit protocol)
\v(p_ctl) Current control-character prefix (Kermit protocol)
\v(p_rpt) Current repeat-count prefix (Kermit protocol)
\v(query) Result of most recent REMOTE QUERY command
\v(return) Most recent RETURN value
\v(rows) Number of rows on the terminal screen
\v(sendlist) Number of entries in SEND-LIST
\v(serial) Serial port settings in 8N1 format
\v(speed) Current speed, if known, or "unknown"
\v(startup) Current directory when C-Kermit was started
\v(status) 0 or 1 (SUCCESS or FAILURE of previous command)
\v(sysid) Code for platform ID of C-Kermit’s computer (U1=UNIX)
\v(system) UNIX (name of operating system family)
\v(terminal) Terminal type
\v(test) C-Kermit test version, if any (e.g. Beta.10)
\v(textdir) Where C-Kermit thinks its text files are
\v(tfsize) Total size of file group most recently transferred
\v(time) Time as 13:45:23 (hh:mm:ss)
\v(tmpdir) Temporary directory
\v(trigger) Most recent string to trigger return from CONNECT
\v(ttyfd) File descriptor of current communication device
\v(ty_xx) Used internally by TYPE
\v(userid) User ID of person running C-Kermit
\v(version) Numeric version of Kermit, e.g. 501190.
\v(window) Current window size (SET WINDOW value)
\v(xferstatus) Status of most recent file transfer
\v(xfermsg) Error message, if any, terminating most recent transfer
\v(xfer_xxx) Various statistics from last file transfer.
\v(xprogram) C-Kermit
\v(xversion) Same as \v(version)
BUILT-IN FUNCTIONS
Builtin functions are invoked as \Fname(args), can be used in any command, and are usually used in script
programs. Type SHOW FUNCTIONS for a current list. Type "help function <name>" for a description of
the arguments and return value, for example, help function basename.
COMMAND LINE OPTIONS
C-Kermit accepts commands (or "options") on the command line, in the time-honored UNIX style. Alpha-
betic case is significant. All options are optional. If one or more action options are included, Kermit exits
immediately after executing the command-line options, otherwise it enters interactive command mode.
kermit [filename][-x arg [-x arg]...[-yyy]...]]
where:
filename is the name of a command file to execute,
-x is an option requiring an argument,
-y an option with no argument.
Actions:
-s files send files
-s - send files from stdin
-r receive files
-k receive files to stdout
-x enter server mode
-O like -x but exits after one transaction
-f finish remote server
HP-UX 11i Version 1: September 2005 − 11 − Hewlett-Packard Company Section 1−−391