xsh.Screen
The following functions and variables can be used when handling of the Xshell terminal screen. To use these functions and variables, execute them together with the xsh.Screen. For example, to use 'Clear()' function, use 'xsh.Session.Clear()'.
Functions | |||
Return Value | Function | Parameter | Description |
void | Clear() | Clear terminal screen. | |
void | Send(LPCTSTR lpszStrToSend) | lpszStrToSend | Send message to terminal. |
BSTR | Get(long nBegRow, long nBegCol, long nEndRow, long nEndCol) | nBegRow | Read the character string in the specified terminal section and return the value. |
void | WaitForString(LPCTSTR lpszString) | lpszString | Wait for message. |
Long | WaitForStrings(VARIANT FAR* strArray, long nTimeout) | strArray | Wait for message until timeout. |
Variable | ||
Name | Type | Description |
CurrentColumn | long | Return the current column. |
CurrentRow | long | Return the current row. |
Columns | long | Retrieve the total columns same as terminal width. |
Rows | long | Retrieves the total row same as terminal lines |
Synchronous | BOOL | Set screen synchronization (True means synchronize and false means do not synchronize) |