k

kermit(1)

 

kermit(1)

 

(HP-UX C-Kermit)

 

REMOTE HELP

(RHELP) Ask server to send a help message.

REMOTE HOST

(RHOST) Ask server to ask its host to execute a command.

REMOTE KERMIT

(RKER) Send an interactive Kermit command to the server.

REMOTE LOGIN

Authenticate yourself to a remote Kermit server.

REMOTE LOGOUT

Log out from a Kermit server previously LOGIN'd to.

REMOTE MKDIR

(RMKDIR) Tell the server to create a directory.

REMOTE PRINT

(RPRINT) Print a local ®le on the server's printer.

REMOTE PWD

(RPWD) Ask server to reveal its current (working) directory.

REMOTE QUERY

(RQUERY) Get value of a variable.

 

REMOTE RENAME

(RRENAME) Tell server to rename a ®le.

REMOTE RMDIR

(RRMDIR) Tell server to remove a directory.

REMOTE SET

Send a SET command to a remote server.

REMOTE SPACE

Ask server how much disk space it has left.

REMOTE TYPE

Ask server to display a ®le on your screen.

REMOTE WHO

Ask server for a "who" or "®nger" listing.

SERVER

Be a Kermit server.

 

SET SERVER

Parameters for server operation.

 

SHOW SERVER

Show SET SERVER, ENABLE/DISABLE items.

Script programming:

 

 

ASK

Prompt the user, store user's reply in a variable.

ASKQ

Like ASK, but does not echo (useful for passwords).

ASSERT

Evaluate condition and set SUCCESS/FAILURE accordingly.

ASSIGN

Assign an evaluated string to a variable or macro.

CLEAR

Clear communication device input buffer or other item.

CLOSE

Close the connection, or a log or other ®le.

DECLARE

Declare an array.

 

DECREMENT

Subtract one (or other number) from a variable.

DEFINE

De®ne a variable or macro.

 

DO

Execute a macro ("DO" can be omitted).

 

ECHO

Display text on the screen.

 

ELSE

Used with IF.

 

END

A command ®le or macro.

 

EVALUATE

An arithmetic expression.

 

FAIL

Set FAILURE.

 

FOPEN

Open a local ®le.

 

FREAD

Read from a ®le opened with FOPEN.

 

FWRITE

Write to an FOPEN'd ®le.

 

FSEEK

Seeks to given position in FOPEN'd ®le.

 

FCLOSE

Close an FOPEN'd ®le.

 

FOR

Execute commands repeatedly in a counted loop.

FORWARD

GOTO in the forward direction only.

 

GETC

Issue a prompt, get one character from keyboard.

GETOK

Ask question, get Yes or No answer, set SUCCESS or FAILURE.

GOTO

Go to a labeled command in a command ®le or macro.

IF

Conditionally execute the following command.

INCREMENT

Add one (or other number) to a variable.

INPUT

Match characters from another computer against a given text.

LOCAL

Declares local variables in a macro.

 

MINPUT

Like INPUT, but allows several match strings.

MSLEEP

Sleep for given number of milliseconds.

 

OPEN

Open a local ®le for reading or writing.

 

OUTPUT

Send text to another computer.

 

O

Special abbreviation for OUTPUT.

 

PAUSE

Do nothing for a given number of seconds.

READ

Read a line from a local ®le into a variable.

REINPUT

Reexamine text previously received from another computer.

RETURN

Return from a user-de®ned function.

 

SCREEN

Screen operations - clear, position cursor, etc.

SCRIPT

Execute a UUCP-style login script.

 

SET ALARM

Set a timer to be used with IF ALARM; SHOW ALARM shows it.

Section 1374

− 8 −

HP-UX Release 11i: December 2000