telnet_frontend test_cdrom_media_wrapper
Simics Reference Manual  /  5 Classes  / 

terminal_frontend

Description

(Internal) The terminal_frontend class provides access to a Simics command line using a generic VT100/ANSI interface. Input and output to the user is handled by a separate object, specified by the frontend attribute, that must implement the terminal_client interface and communicate with the terminal_frontend object using the terminal_server interface.

Interfaces Implemented

conf_object, log_object, terminal_server, cmd_line_frontend

Notifiers

cell-change
Notifier that is triggered after the object's cell was changed.
object-delete
Notifier that is triggered just before Simics object is deleted.
queue-change
Notifier that is triggered after the object's clock was changed. New clock can be obtained with the SIM_object_clock function.

Attributes

frontend
Required attribute; read/write access; type: o|n
Object responsible for presenting terminal output to the user and reading input. This object must implement the terminal_client interface.
session_id
Required attribute; read/write access; type: i
The identifier of the session in the object specified by the frontend attribute. Needed since such objects may have multiple concurrent sessions active.
interactive
Optional attribute; read/write access; type: b
Set to TRUE (default) if the command line is interactive.
primary
Optional attribute; read/write access; type: b
Set to TRUE (default) if the command line is a primary one. In a primary command line the quit command will terminate the Simics process, something not allowed in secondary command-lines such as the telnet-frontend.
colorize
Optional attribute; read/write access; type: b
Set to TRUE if the output should contain color and other formatting escape sequences. The colorize_default attribute is used as the initial value.

Class Attributes

colorize_default
Pseudo attribute; read/write access; type: b
Default value for the colorize attribute when new objects are created.

Provided By

Simics Core
telnet_frontend test_cdrom_media_wrapper