beautypg.com

8 @ commands, 9 special-purpose commands – Atlantis Land I-Storm A02-RA(Atmos)_ME01 User Manual

Page 13

background image

2.8 @ commands

2.8.1 Syntax

@@

@

@

@

2.8.2 Description

Lines beginning with the @ character are intercepted by the console even when the
console device is bound to a file.
To bypass this interception and pass a line beginning with @ to a process, the @
must be doubled; the line with one @ removed will be passed on like a normal input
line. (At the time of writing, this is most useful when the device is bound to a slotN
process on a switch; then @ip would refer to the ip process on the switch, but @@ip
would be passed to the slotN process as @ip and forwarded by that to the ATMOS
console on an expansion card, which will interpret it as referring to the ip process on
the expansion card.)
If the @ is followed by a space (or any non-alphanumeric character), the remainder
of the line is treated as a console command, as if the device were not bound.
The @ form passes to a file (if any) opened for reading by
the named process.
The @ form binds the console device to the named process, in the same
way as bind >. (Except that the latter, not being an @ command, will not
work if the console device is bound. More generally, @ does the same as
@bind >.)

2.8.3 Example

mymachine>

@ip

(The ip> prompt does not appear until the Enter key is pressed again.)

ip>

device

# type dev file IP address

device ether ether //edd mtu 1500 192.168.3.55

ip>

@console

mymachine>

2.9 Special-purpose commands

This section lists commands that are normally useful only to developers rather than to
normal users, or else are retained only for consistency with older versions of the software.
They are not described in the output of the help command.