...
Refer to this section for details of mapping.
Note |
---|
CHARON emulated console supports only 80 symbols in one line. |
...
|
...
...
Parameter | line | ||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|
Type | Text string | ||||||||||||
Value | A defined TTY port on host system:
|
...
Parameter | break_on | ||||
---|---|---|---|---|---|
Type | Text string | ||||
Value | Specifies what byte sequences received over the physical serial line will trigger a HALT command. This parameter works only for the console line. Specify the following values: "CrtlCtrl-P" , "Break" or "none" ("none" disables triggering a HALT condition).
Example:
The default value is "Break". This parameter can be specified only for COM1 (OPA0) console |
...
Parameter | log | ||||
---|---|---|---|---|---|
Type | Text string | ||||
Value | A string specifying a file name to store the content of the console sessions or a directory where the log files for each individual session will be stored. If an existing directory is specified, CHARON-AXP automatically enables creation of individual log files, one for each session using the same scheme as used for the generation of the rotating log files. If the "log" parameter is omitted, CHARON-AXP does not create a console log. Examples:
|
log_file_size
Parameter | log_file_size | ||
---|---|---|---|
Type | Text string | ||
Value | If log rotation is enabled, the log_file_size parameter determines the log file size threshold at which the log is automatically rotated.
Examples:
Minimum log file size is 64K, maximum is 1G. Setting size less then 64K effectively makes the log file unlimited. |
Example
Mapping a console line to a host physical serial line:
...
Parameter | break_on | ||||
---|---|---|---|---|---|
Type | Text string | ||||
Value | Specifies what byte sequences received over a virtual serial line triggers a HALT command. Specify one of the following values: "CrtlCtrl-P" , "Break" or "none" to disable triggering a HALT condition. The commands are case insensitive.
Example:
The default value is "Break". This parameter can be specified only for COM1 (OPA0) console |
...
Parameter | log | ||||
---|---|---|---|---|---|
Type | Text string | ||||
Value | A string specifying the filename to store the content of the console sessions or a directory where log files for each individual session will be stored. If an existing directory is specified, CHARON-AXP automatically enables the creation of individual log files, one for each session using the same scheme as used for the generation of the rotating log files. If the "log" parameter is omitted, CHARON-AXP does not create any console log. Examples:
|
log_file_size
Parameter | log_file_size | ||
---|---|---|---|
Type | Text string | ||
Value | If log rotation is enabled, the log_file_size parameter determines the log file size threshold at which the log is automatically rotated.
Examples:
Minimum log file size is 64K, maximum is 1G. Setting size less then 64K effectively makes the log file unlimited. |
Example
Mapping a console line to a host TCP/IP port 10003:
|
Div | ||
---|---|---|
| ||
| ||
Notes on "virtual_serial_line" options
Use the combination of "port" and "host" parameters as follows to connect a 3rd party terminal emulator or similar program.
load virtual_serial_line TTA0 host="192.168.1.1" port=10000
In this example CHARON-AXP connects to port 10000 of a host with TCP/IP address "192.168.1.1" and at the same time it accepts connections on local port 10000.
It is possible to specify a port on a remote host (note that CHARON always acts as a server). The syntax is:
load virtual_serial_line TTA0 host="192.168.1.1:20000" port=10000
In this example CHARON-AXP accepts connection on local port 10000 and connects to remote port 20000 of a host with TCP/IP address "192.168.1.1"
...
Div | ||||
---|---|---|---|---|
| ||||
"ttyY" notation specifics
...