Skip to main content

Script Command Arguments

Script Command Arguments

All spaces and tabs at the beginning and end of arguments are ignored.

All numeric arguments are integers. A required numeric argument defaults to 0 if not provided. Additionally, OFF is equivalent to 0 and ON is equivalent to 1.

Strings are simply the concatenation of all data on a line after the command (with the exception of the leading and trailing white space). Quotation marks are not needed. Additionally, parameter substitution is accomplished with the use of one of the following:

<P1>, <P2>, ..., <Pn>

This substitutes the n-th command line parameter in place of <Pn>.

To ease operation, certain ASCII characters have equivalent shortcut representations as shown in the following table.

Note:

Any ASCII (extended) character except NUL (000) can be produced via <ddd> where ddd is the decimal value of the character.

Character(s) Interpretation Transmitted Sequence
<CR> Carriage return <13>
<F10> F10 key <27>[21-
<F7> F7 key <27>[18-
<DO> Do key <27>[29-
<TAB> Tab key <9>
<LF> Line feed <10>
<ESC> Escape key <27>
<DCS> Device control string introducer <144>
<ST> Stop device control string <156>
<EMU> Start of extended emulator command <144>i
<NL> Newline <CR><LF>
<CSI> Control string introducer <155>
FeedbackOpens in a new tab