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)

Speci®c machine and/or operating system

\v(program)

Name of this program ("C-Kermit")

\v(protocol)

Currently selected ®le transfer protocol

\v(p_8bit)

Current 8th-bit pre®x (Kermit protocol)

\v(p_ctl)

Current control-character pre®x (Kermit protocol)

\v(p_rpt)

Current repeat-count pre®x (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 ®les are

\v(tfsize)

Total size of ®le 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 ®le transfer

\v(xfermsg)

Error message, if any, terminating most recent transfer

\v(xfer_xxx)

Various statistics from last ®le 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. Alphabetic case is signi®cant. 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 [®lename] [-x arg [-x arg]...[-yyy]...]] where:

®lename is the name of a command ®le to execute,

-xis an option requiring an argument,

-yan option with no argument.

Actions:

 

 

-s files

send ®les

 

-s -

send ®les from stdin

 

-r

receive ®les

 

-k

receive ®les to stdout

 

-x

enter server mode

 

-O

like -x but exits after one transaction

 

-f

®nish remote server

 

HP-UX Release 11i: December 2000

− 11 −

Section 1377

k