Anchor | ||||
---|---|---|---|---|
|
Include Page | ||||
---|---|---|---|---|
|
...
Include Page | ||||
---|---|---|---|---|
|
Div | ||
---|---|---|
| ||
Console
CHARON-VAX offers a one- or four-port serial console depending on the specified VAX model. The one line serial line controller is identified in CHARON-VAX with the name UART. The four serial lines controller is identified in CHARON-VAX with the name QUART.
...
CHARON-VAX console ports can be configured to connect to an external terminal via the host system COM/TTY port or can be connected via TCP/IP.
alias
This applies to new syntax only, not if "load ..." is used.
Parameter | alias | ||
---|---|---|---|
Type | Identifier | ||
Value | The main purpose of this parameter is migration from old CHARON systems (which do not have the described implementation of consoles) to the current design, since it allows retaining the original name used for parametrization, since the rest of the parameters stay the same in both implementations.
Example:
This parameter is optional as Charon-VAX presets UART's alias to OPA0 |
rts
Example:
This parameter is optional as Charon-VAX presets UART's alias to OPA0 |
rts
Parameter | rts[<line>] |
---|---|
Type | Text string |
Value |
|
Div | ||
---|---|---|
| ||
dsr
Parameter | dsr[<line>] |
---|---|
Type | Text string |
Value |
dsr
Parameter | dsr[<line>] |
---|---|
Type | Text string |
Value |
|
...
class | pagebreak |
---|
|
...
Parameter | line | ||||
---|---|---|---|---|---|
Type | Text string | ||||
Value | A defined TTY port on host system:
|
...
Parameter | log_flush_period |
---|---|
Type | Numeric |
Value |
Defines a period of flushing log to disk. Default period is 60 seconds (it means that every minute log file is flushed to disk) Example:
|
Div | ||
---|---|---|
| ||
connection_override
Parameter | connection_override |
---|---|
Type | text string |
Value | "enable" Allows new connection to override existing connection, if any. Enabled connection override on OPA0 allows to intercept virtual serial console. When emulator detects new connection request on the port (10003 for the below example), it closes old connection, if any, and switches to the new one. Example: set OPA0 port = 10003 connection_override = enable This is implemented only for serial lines using the new syntax, not for lines using the legacy syntax ( load virtual_serial_line ... ). |
access_control
Available only since build 204-13
Parameter | access_control |
---|---|
Type | text string |
Value | "disable" Since build 204-14, Incoming connection requests are by default filtered for virtual serial lines and then allowed only for the localhost. This is to avoid security scanners that can block the port. Example:
This is implemented only for serial lines using the new syntax, not for lines using the legacy syntax ( |
Div | ||
---|---|---|
| ||
...
Linking serial controller port to host connection
Example:
...
This command connects the first serial line ("line[0]") of a "QUART" serial line controller to a CHARON-VAX connection instance named "TTA0". As explained earlier, TTA0 may be a virtual serial line connected to port, or a physical serial line connected to host serial port or virtual terminal. In an example below, the command connects the sixth serial line of a previously loaded controller (named "TXA") to "TTA1". "TTA1" could be defined, for example, as a physical serial line connected to COM/TTY port:
...
The final step of CHARON-VAX serial line configuration is the association of each loaded serial port with a CHARON-VAX host connection instance as follows:
...
serial line configuration is the association of each loaded serial port with a CHARON-VAX host connection instance as follows:
set <serial controller instance name> line[<line number>]=<serial line instance name> |
Example:
set quart line[0]=TTA0 |
This command connects the first serial line ("line[0]") of a "QUART" serial line controller to a CHARON-VAX connection instance named "TTA0". As explained earlier, TTA0 may be a virtual serial line connected to port, or a physical serial line connected to host serial port or virtual terminal. In an example below, the command connects the sixth serial line of a previously loaded controller (named "TXA") to "TTA1". "TTA1" could be defined, for example, as a physical serial line connected to COM/TTY port:
set TXA line[5]=TTA1 |
Div | ||
---|---|---|
| ||
OPA0 console configuration examples
Using legacy syntax (not recommended)
This example, using a MicroVAX 4000-106, maps OPA0 to port 10003, enable F6 key (emulator stop) and logs the console input/output to a rotating log file in /charon/myvax/logs folder:
|
Using new syntax (recommended)
This example, using a MicroVAX 4000-106, maps OPA0 to port 10003, enable F6 key (emulator stop), logs the console input/output to a rotating log file in /charon/myvax/logs folder and enables the connection_override feature:
|
Include Page | ||||
---|---|---|---|---|
|