2.8 @ commands
2.8.1 Syntax
@@<line>
@<line> @<process> <line> @<process>
2.8.2Description
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
The @<process> <line> form passes <line> to a file (if any) opened for reading by the named process.
The @<process> form binds the console device to the named process, in the same way as bind <process>. (Except that the latter, not being an @ command, will not work if the console device is bound. More generally, @<process> does the same as @bind <process>.)
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.