TerminalControl Class
Namespace: Rebex.TerminalEmulation
Assembly: Rebex.Terminal.Control.dll (version 7.0.9147)
Terminal emulator control.
Syntax
public class TerminalControl : Control, IDropTarget, ISynchronizeInvoke, IWin32Window, IBindableComponent, IComponent, ITerminal, IDisposable
Implements
Inherited Members
Constructors
Name | Description |
---|---|
Terminal |
Creates a new instance of terminal control. |
Properties
Name | Description |
---|---|
Alt |
Determines how to handle the Alt key. |
Auto |
Enables or disables automatic terminal size adjustment based on font size and control size. |
Cell |
Gets the size of a character cell. |
Cursor |
Gets or sets text cursor blinking interval (in miliseconds). Setting it to a value lower than 100 disables blinking. |
Cursor |
Gets or sets the cursor to display in mouse enabled mode. |
Cursor |
Gets or sets text cursor style. |
Cursor |
Gets or sets the cursor to display in standard text mode. |
Data |
Gets incoming data processing mode. |
Enable |
Enables mouse wheel scrolling. |
Font | Gets or sets the font of the text displayed by this control. |
History |
Gets the current history buffer length. |
History |
Gets or sets a maximum history buffer length. |
Mouse |
Enables or disables right-mouse-button paste functionality. |
Mouse |
Gets or sets a value whether to copy selected text into clipboard automatically or not. |
Mouse |
Gets or sets the behavior for mouse wheel action. |
Options | Gets or sets terminal options. |
Palette | Gets or sets the terminal palette. |
Recorder | Gets or sets incoming data recorder. |
Screen | Gets the terminal screen object. |
Screen |
Gets the first displayed row of the terminal screen.
Values goes from zero to minus History |
Scripting | Gets the object which allows enhanced scripting. |
Scrollback |
Enables or disables scrollback reset on display activity (when received any data). |
Scroll |
Enables or disables scroll bar. |
Selection |
Gets or sets text selection mode (for paste functionality). |
Suppress |
Determines whether to suppress menu activation when Alt key is pressed. |
Suppress |
Determines how to handle keystrokes which are registered shortcut keys of the application (e.g. Ctrl+O can activate a menu item). |
Terminal |
Gets or sets the terminal font. Setting the font may also cause the screen size to be adjusted to fit into the control area. |
Transfers | Gets the object which allows file transferring. |
User |
Enables or disables user input. |
Methods
Name | Description |
---|---|
Bind(IShell |
Binds the control to the specified shell channel factory - usually an instance of Rebex.Net.Ssh or Rebex.Net.Telnet class. |
Bind |
Begins asynchronous Bind operation. Binds the control to the specified shell channel factory - usually an instance of Rebex.Net.Ssh or Rebex.Net.Telnet class. |
Dispose(Boolean) | Clean up any resources being used. |
Get |
Calculate a control size corresponding to the specified screen size. |
Get |
Returns the currently selected text. |
Is |
Determines if a character is an input character the control recognizes. |
Is |
Determines whether the specified key is a regular input key or a special key that requires preprocessing. |
On |
Raises the Action |
On |
Raises the Create |
On |
Raises the Cursor |
On |
Raises the Disconnected event. |
On |
Raises the Key |
On |
Raises the Key |
On |
Raises the Key |
On |
Raises the On |
On |
Raises the Mouse |
On |
Raises the Mouse |
On |
Raises the Mouse |
On |
Raises the Mouse |
On |
Paints the control. |
On |
Paints the control background. |
On |
Raises the Processing |
On |
Raises the Remote |
On |
Raises the Resize event. |
On |
Raises the Screen |
On |
Raises the Scroll |
On |
Raises the Selection |
On |
Raises the Size |
Pre |
Preprocesses an input message such as a keyboard message. |
Process |
Processes a command key. |
Reset |
Unselects selection area. |
Save(Stream, Terminal |
Saves the content of the terminal screen to the specified stream in the specified format. |
Save(Stream, Terminal |
Saves the content of the terminal screen to the specified stream in the specified format with the specified options. |
Save(Stream, Terminal |
Saves the content of the terminal screen to the specified stream in the specified image format with the specified options. |
Save(Stream, Terminal |
Saves the content of the terminal screen to the specified stream in the specified image format. |
Save(String, Terminal |
Saves the content of the terminal screen to the specified file in the specified format. |
Save(String, Terminal |
Saves the content of the terminal screen to the specified file in the specified format with the specified options. |
Save(String, Terminal |
Saves the content of the terminal screen to the specified file in the specified image format with the specified options. |
Save(String, Terminal |
Saves the content of the terminal screen to the specified file in the specified image format. |
Scroll(Int32) | Scrolls the terminal screen for specified number of rows up or down. Positive numbers scroll up (to display history), negative numbers scroll down (to display current screen). |
Set |
Sets incoming data processing mode. |
Set |
Sets a new screen size, resizing the control accordingly. |
Set |
Sets selection area. |
Unbind() | Unbinds the control from the current channel and closes the channel. |
Wnd |
Processes Windows messages. |
Events
Name | Description |
---|---|
Action |
Occurs when a specific client action is requested by the server. |
Copying | Occurs when a text is to be copied from screen to clipboard. |
Cursor |
Occurs when a cursor color needs to be determined. |
Data |
Occurs when the data are received from the server. |
Disconnected | Occurs when disconnected from the server. |
Pasting | Occurs when a text is to be pasted from clipboard to screen. |
Processing |
Occurs when an exception occurred while Automatic was in progress. |
Remote |
Occurs when the screen resize is requested by the server. |
Screen |
Occurs when the screen is resized. |
Scroll |
Occurs when the screen is scrolled (Screen |
Selection |
Occurs when a selection is changed. |