kermit(1)

kermit(1)

 

(HP-UX C-Kermit)

SET CASE

Treatment of alphabetic case in string comparisons.

SET COMMAND

QUOTING turns on/off interpretation of backslash notation.

SET COUNT

For counted loops.

SET INPUT

Control behavior of INPUT command.

SET MACRO

Control aspects of macro execution.

SET TAKE

Control aspects of TAKE ®le execution.

SHIFT

Shift macro arguments left the given number of places.

SHOW ARGUMENTS

Display arguments to current macro.

SHOW ARRAYS

Display information about active arrays.

SHOW COUNT

Display current COUNT value.

SHOW FUNCTIONS

List names of available \f() functions.

SHOW GLOBALS

List de®ned global variables \%a..\%z.

SHOW MACROS

List one or more macro de®nitions.

SHOW SCRIPTS

Show script-related settings.

SHOW VARIABLES

Display values all \v() variables.

SLEEP

Sleep for given number of seconds.

SORT

Sort an array (many options).

STATUS

Show SUCCESS or FAILURE of previous command.

STOP

Stop executing macro or command ®le, return to prompt.

SUCCEED

Set SUCCESS.

SWITCH

Execute selected command(s) based on value of variable.

TAKE

Execute commands from a ®le.

UNDEFINE

Unde®ne a variable.

WAIT

Wait for the speci®ed modem signals.

WHILE

Execute commands repeatedly while a condition is true.

WRITE

Write material to a local ®le.

WRITE-LINE

Write a line (record) to a local ®le.

WRITELN

Synonym for WRITE-LINE.

XECHO

Like ECHO but no CRLF at end.

XIF

Extended IF command.

BUILT-IN VARIABLES

Built-in variables are referred to by \v(name), can be used in any command, usually used in script pro- gramming. They cannot be changed. Type SHOW VARIABLES for a current list.

\v(argc)

Number of arguments in current macro

 

\v(args)

Number of program command-line arguments

 

\v(blockcheck)

Current SET BLOCK-CHECK type

 

\v(browser)

Current Web browser

 

\v(browsopts)

Current Web browser options

 

\v(browsurl)

Most recent Web browser site (URL)

 

\v(byteorder)

Hardware byte order

 

\v(charset)

Current ®le character-set

 

\v(cmdbufsize)

Size of command buffer

 

\v(cmdfile)

Name of current command ®le, if any

 

\v(cmdlevel)

Current command level

 

\v(cmdsource)

Where command are currently coming from, macro, ®le, etc.

 

\v(cols)

Number of screen columns

 

\v(connection)

Connection type: serial, tcp/ip, etc.

 

\v(count)

Current COUNT value

 

\v(cps)

Speed of most recent ®le transfer in chars per second

 

\v(cpu)

CPU type C-Kermit was built for

 

\v(crc16)

16-bit CRC of most recent ®le transfer

 

\v(ctty)

Device name of controlling terminal

 

\v(d$ac)

SET DIAL AREA-CODE value

 

\v(d$cc)

SET DIAL COUNTRY-CODE value

 

\v(d$ip)

SET DIAL INTL-PREFIX value

 

\v(d$lc)

SET DIAL LD-PREFIX value

 

\v(d$px)

SET DIAL PBX-EXCHANGE value

 

\v(date)

Date as 8 Feb 1993

 

\v(day)

Day of week

 

HP-UX Release 11i: December 2000

− 9 −

Section 1375

k