Ohio |
The OhioScreen type exposes the following members.
Name | Description | |
---|---|---|
Columns | Gets the number of columns in the presentation space. | |
Cursor | Gets or sets the location of the cursor in the presentation space. | |
CursorVisible | Gets whether the VT cursor is visible. | |
Fields | Gets the OhioFields object associated with this presentation space. This provides another way to access the data in the virtual screen. | |
OIA | Gets the OhioOIA object associated with this presentation space. This object can be used to query the status of the operator information area. | |
Rows | Gets the number of rows in the presentation space. | |
String | Gets the entire text plane of the virtual screen as a string. All null characters and Field Attribute characters are returned as blank space characters. | |
WaitThrowException | Gets or sets whether an exception should be thrown when a wait function is timed out or canceled. The default value is true. | |
WaitTimeoutMSec | Gets or sets the default time-out value for wait functions. |
Name | Description | |
---|---|---|
FindString | Searches the text plane for the target string and returns it's position. | |
GetData | Returns an array containing the data from the Text, Color, Field or Extended plane of the virtual screen. | |
PosToRowCol | Converts screen position value to row and column values. | |
PutString | Places a text string in the virtual screen at the location specified. The string will overlay only unprotected fields and any parts of the string which fall into protected fields will be discarded. | |
RowColToPos | Converts row and column values to screen position value. | |
SendAidAsync | Sends an OhioKey to the virtual screen. | |
SendKeysAsync(String, CancellationToken) | Sends a string of keystrokes to the virtual screen. This method acts as if keystrokes were being typed from the keyboard of a terminal. The keystrokes will be sent to the current cursor position. | |
SendKeysAsync(String, Int32, CancellationToken) | Sends a string of keystrokes to the virtual screen. This method acts as if keystrokes were being typed from the keyboard of a terminal. The keystrokes will be sent to the position provided. | |
WaitForCursorAsync | Waits for the cursor to appear at the position. | |
WaitForCursorColumnAsync | Waits for cursor to appear at the column position (zero-based). Useful for VT sessions. | |
WaitForHostUpdateAsync | Waits for the host to send new screen data. For character based VT emulations, other wait functions such as WaitForStrRecvAsync or WaitForCursorColumnAsync should be used instead. | |
WaitForNoXAsync | Waits for the X () or X SYSTEM to be removed from the OIA line. | |
WaitForStrAsync | Waits for text to appear at the specified position. | |
WaitForStrRecvAsync | Waits for text to be received from the VT host. Note that space characters are ignored. |