Anchor | ||||
---|---|---|---|---|
|
Include Page | ||||
---|---|---|---|---|
|
...
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:
|
...
Div | ||
---|---|---|
| ||
operator_console
break_on, stop_on
Parameter | break_on, |
---|
...
These two parameters are hard-coded to the following values and cannot be changed:
stop_on="F6"
break_on="Ctrl-P,F5"
Example:
...
"ttyY" notation specifics
Note that the "ttyY
" notation can have different forms depending on the nature of the device used:
- Linux virtual tty (switchable by alt+F1 - atl+F12 on a text console) – are represented as "/dev/tty<N>" where N is from 0 to 11. Those tty devices must be free from the Linux "getty/mgetty" and similar programs (specified in "/etc/inittab")
- Onboard serial lines are represented as "/dev/ttyS<N>" where N is a number. For example "/dev/ttyS1"
- Proprietary (depending on a driver) devices are represented as "/dev/tty<XXX>" where XXX is a complex letter/number notation. For example "/dev/ttyR01" is the first port of a MOXA card and "/dev/ttyaa" stands for the first port of a DIGI card.
Linking serial controller port to host connection
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:
...
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:
set TXA line[5]=TTA1 stop_on | |
Type | Text string |
---|---|
Value | These two parameters are hard-coded to the following values and cannot be changed:
|
Example:
load operator_console OPA0 |
Include Page | ||||
---|---|---|---|---|
|
"ttyY" notation specifics
Note that the "ttyY
" notation can have different forms depending on the nature of the device used:
- Linux virtual tty (switchable by alt+F1 - atl+F12 on a text console) – are represented as "/dev/tty<N>" where N is from 0 to 11. Those tty devices must be free from the Linux "getty/mgetty" and similar programs (specified in "/etc/inittab")
- Onboard serial lines are represented as "/dev/ttyS<N>" where N is a number. For example "/dev/ttyS1"
- Proprietary (depending on a driver) devices are represented as "/dev/tty<XXX>" where XXX is a complex letter/number notation. For example "/dev/ttyR01" is the first port of a MOXA card and "/dev/ttyaa" stands for the first port of a DIGI card.
Linking serial controller port to host connection
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:
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 |
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:
|
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 and enables the connection_override feature:
|
Include Page | ||||
---|---|---|---|---|
|