Download Local

Transcript
Chapter 2
Remote Configuration
Command Syntax
The remote configuration file uses the following command syntax:
• A command-line consists of a single command keyword followed by one or
more parameters. White space, which is any combination of spaces or tabs,
separates the command and its parameters. White space can also precede the
command to improve readability. A command-line is terminated by either a
newline character or a #, which introduces a comment.
• A comment begins with #. Comments and blank lines are ignored. Comments
can appear on the same line as a command; once # is encountered, all
subsequent text is ignored until after the next newline.
• A parameter is either a keyword or a string. A parameter begins with any
character that is not white space, #, or a newline, and is terminated by the
next character that is white space, #, or a newline. A parameter can be
enclosed in double quotation marks. These quotation marks are removed
from the ends of the parameter before the parameter is used. A pair of double
quotation marks with nothing between ("") signifies a null string. If double
quotation marks appear at one end of a parameter but not at the other, the
character is removed, a warning message is printed in the Console, and the
remaining string is used as the parameter.
Note: Some commands take multiple required and/or optional
parameters. You must provide all required parameters for a
command. The order of the commands in the following
sections follows the recommended order for commands
within the remote configuration file. You need not enter a
command unless you want to set the characteristic to
something other than the default. Note that not all commands
have default settings. If a command fails, the parameter is left
unchanged.
2-4
NCBridge Reference Manual