Technical data
Using Technician Interface Software
9-4
303561-A Rev 00
The parameter number indicates the position of the value in the user entry. This
feature allows you to use the same value for more than one parameter; see the last
two examples.
Examples:
alias scroll “more $”
Creates an alias named
scroll
that invokes the
more
command and inserts the value the user
enters when using the alias (as shown in the next
example).
scroll on
Invokes the command
more on
.
alias cp “copy 2:%1 3:%2”
Creates an alias named
cp
that accepts two
values and inserts them in parameter positions
%1
and
%2
, respectively (as shown in the next
example).
cp config2.cfg alt.cfg
Invokes the
copy
command associated with the
alias
cp
, inserts the
config2
.
cfg
value in the first
parameter position (
%1
) and inserts the
alt.cfg
value in the second parameter (
%2
). The system
then invokes the command; it copies the
config2.cfg file on slot 2 to a new file alt.cfg
on
slot 3.
alias backup “copy 2:%1
3:%1”
Creates an alias named
backup
that takes the
first value the user enters when using the alias
and inserts it in both parameter positions
indicated by
%1
(as shown in the next example).
backup config
Invokes the
copy
command associated with the
alias
backup
, inserts the
config
value in the
parameter positions indicated by
%1
in the
<alias_value>
, and copies the
config
file from
slot 2 to slot 3.