create-text-graphics-console-comp create-tyler-durden
Simics Reference Manual  /  3 Commands  /  3.2 Command List  / 

create-txt-console-comp

Synopsis

create-txt-console-comp ["name"] ["bg_color"] ["fg_color"] [height] ["pty"] [scrollback] [telnet_port] ["title"] [visible] [width]

Description

This command creates a non-instantiated component of the class txt_console_comp.

The class description for the txt_console_comp class: Simics text console.

name is Optional
If not specified, the component will get a class-specific default name.

bg_color is Optional
The default background color, either by name ("red") or on the form #RRGGBB.

fg_color is Optional
The default foreground color, either by name ("blue") or on the form #RRGGBB.

height is Optional
The height of the console window.

pty is Unknown
Existing pty to open a host-serial server on. This is independent of the visible parameter. If the port cannot be opened, an error is thrown. If this parameter is the empty string, a new port is created and opened.

scrollback is Optional
The maximum number of scrollback lines.

telnet_port is Optional
Port to open a telnet server on. This is independent of the visible parameter. The port must not be a privileged port, i.e. the allowed range is [1024, 65535], or 0 for an arbitrary port. If the port cannot be opened, an arbitrary port is chosen instead.

title is Optional
The Window title.

visible is Optional
Should console be visible upon startup?.

width is Optional
The width of the console window.

Provided By

console-components
create-text-graphics-console-comp create-tyler-durden