Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

Refer to this section for details of mapping.

Note

CHARON emulated console supports only 80 symbols in one line.

Back to Table of Contents

...

set COM2 communication="binary"

...


Back to Table of Contents

...

Parameterline
TypeText string
Value

A defined TTY port on host system:

SyntaxDescription
"/dev/tty<N>"Virtual serial lines
"/dev/ttyS<N>"Onboard serial lines
"/dev/ttyUSB<N>"Modem or USB serial lines adapters
"/dev/tty<XXX>"Proprietary (depending on a driver) devices such as DIGI or MOXA cards


Note

A specific account for running CHARON ("charon") does not allow usage of physical consoles "/dev/tty<N>" as CHARON consoles. If you plan to map CHARON console to "/dev/tty<N>" use only "root" account for CHARON running.


...

Parameterbreak_on
TypeText 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).

Note

If your guest operating system is OpenVMS in addition to "none" setting you have to set a specific console parameter "controlp" to "off" in the following way:

>>> set controlp off
>>> power off 

The second line is to preserve the ROM settings.

Example:

set OPA0 break_on="CrtlCtrl-P"

The default value is "Break".

(warning) This parameter can be specified only for COM1 (OPA0) console

...

Parameterlog
TypeText 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:

set OPA0 log="log.txt"


set OPA0 log="/Charon/Logs"


Note

Only existing directory can be used as a value of the "log" parameter.


log_file_size

Parameterlog_file_size
TypeText 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.

  • "unlimited" or "0" (default) - the feature is disabled
  • "default" - default size is used (4Mb)
  • <size>[KMG] - size of the current log file in bytes with additional multipliers:
    • K - Kilobyte - multiply by 1024

    • M - Megabyte - multiply by 1024*1024

    • G - Gigabyte - multiply by 1024*1024*1024

Examples:

set OPA0 log_file_size="default"


set OPA0 log_file_size=10M

(warning) 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:

...

Parameterbreak_on
TypeText 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.

Note

If your guest operating system is OpenVMS in addition to "none" setting you have to set a specific console parameter "controlp" to "off" in the following way:

>>> set controlp off
>>> power off 

The second line is to preserve the ROM settings.

Example:

set OPA0 break_on="CrtlCtrl-P"

The default value is "Break".

(warning) This parameter can be specified only for COM1 (OPA0) console

...

Parameterlog
TypeText 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:

set OPA0 log="log.txt"


set OPA0 log="/Charon/Logs"


Note

Only existing directory can be used as a value of the "log" parameter.


log_file_size

Parameterlog_file_size
TypeText 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.

  • "unlimited" or "0" (default) - the feature is disabled
  • "default" - default size is used (4Mb)
  • <size>[KMG] - size of the current log file in bytes with additional multipliers:
    • K - Kilobyte - multiply by 1024

    • M - Megabyte - multiply by 1024*1024

    • G - Gigabyte - multiply by 1024*1024*1024

Examples:

set OPA0 log_file_size="default"


set OPA0 log_file_size=10M

(warning) 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:

load virtual_serial_line OPA0 port=10003


Div
classpagebreak

 


Notes on "virtual_serial_line" options

 


  1. 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.

         

  2. 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
classpagebreak


"ttyY" notation specifics

...