Difference between revisions of "Unit RemoteShell"
From Ultibo.org
								
												
				| (7 intermediate revisions by the same user not shown) | |||
| Line 6: | Line 6: | ||
'''Ultibo Remote Shell unit'''  | '''Ultibo Remote Shell unit'''  | ||
| − | |||
| − | |||
=== Constants ===  | === Constants ===  | ||
| Line 14: | Line 12: | ||
<div class="toccolours mw-collapsible mw-collapsed" style="border: 1; font-family: arial; padding-top: 20px; padding-bottom: 15px;">  | <div class="toccolours mw-collapsible mw-collapsed" style="border: 1; font-family: arial; padding-top: 20px; padding-bottom: 15px;">  | ||
| − | <div style="font-size: 14px; padding-left: 12px;">'''Remote shell   | + | <div style="font-size: 14px; padding-left: 12px;">'''Remote shell''' <code> REMOTE_SHELL_* </code></div>  | 
<div class="mw-collapsible-content" style="text-align: left; padding-left: 5px;">  | <div class="mw-collapsible-content" style="text-align: left; padding-left: 5px;">  | ||
{| class="wikitable" style="font-size: 14px; background: white;"  | {| class="wikitable" style="font-size: 14px; background: white;"  | ||
| Line 25: | Line 23: | ||
<br />    | <br />    | ||
<div class="toccolours mw-collapsible mw-collapsed" style="border: 1; font-family: arial; padding-top: 20px; padding-bottom: 15px;">  | <div class="toccolours mw-collapsible mw-collapsed" style="border: 1; font-family: arial; padding-top: 20px; padding-bottom: 15px;">  | ||
| − | <div style="font-size: 14px; padding-left: 12px;">'''Telnet shell   | + | <div style="font-size: 14px; padding-left: 12px;">'''Telnet shell''' <code> TELNET_SHELL_* </code></div>  | 
<div class="mw-collapsible-content" style="text-align: left; padding-left: 5px;">  | <div class="mw-collapsible-content" style="text-align: left; padding-left: 5px;">  | ||
{| class="wikitable" style="font-size: 14px; background: white;"  | {| class="wikitable" style="font-size: 14px; background: white;"  | ||
| Line 36: | Line 34: | ||
<br />    | <br />    | ||
<div class="toccolours mw-collapsible mw-collapsed" style="border: 1; font-family: arial; padding-top: 20px; padding-bottom: 15px;">  | <div class="toccolours mw-collapsible mw-collapsed" style="border: 1; font-family: arial; padding-top: 20px; padding-bottom: 15px;">  | ||
| − | <div style="font-size: 14px; padding-left: 12px;">'''Telnet shell command   | + | <div style="font-size: 14px; padding-left: 12px;">'''Telnet shell command''' <code> TELNET_SHELL_COMMAND_* </code></div>  | 
<div class="mw-collapsible-content" style="text-align: left; padding-left: 5px;">  | <div class="mw-collapsible-content" style="text-align: left; padding-left: 5px;">  | ||
{| class="wikitable" style="font-size: 14px; background: white;"  | {| class="wikitable" style="font-size: 14px; background: white;"  | ||
| Line 47: | Line 45: | ||
<br />    | <br />    | ||
<div class="toccolours mw-collapsible mw-collapsed" style="border: 1; font-family: arial; padding-top: 20px; padding-bottom: 15px;">  | <div class="toccolours mw-collapsible mw-collapsed" style="border: 1; font-family: arial; padding-top: 20px; padding-bottom: 15px;">  | ||
| − | <div style="font-size: 14px; padding-left: 12px;">'''Telnet shell alias   | + | <div style="font-size: 14px; padding-left: 12px;">'''Telnet shell alias''' <code> TELNET_SHELL_ALIAS_* </code></div>  | 
<div class="mw-collapsible-content" style="text-align: left; padding-left: 5px;">  | <div class="mw-collapsible-content" style="text-align: left; padding-left: 5px;">  | ||
{| class="wikitable" style="font-size: 14px; background: white;"  | {| class="wikitable" style="font-size: 14px; background: white;"  | ||
| Line 58: | Line 56: | ||
<br />    | <br />    | ||
<div class="toccolours mw-collapsible mw-collapsed" style="border: 1; font-family: arial; padding-top: 20px; padding-bottom: 15px;">  | <div class="toccolours mw-collapsible mw-collapsed" style="border: 1; font-family: arial; padding-top: 20px; padding-bottom: 15px;">  | ||
| − | <div style="font-size: 14px; padding-left: 12px;">'''SSH shell   | + | <div style="font-size: 14px; padding-left: 12px;">'''SSH shell''' <code> SSH_SHELL_* </code></div>  | 
<div class="mw-collapsible-content" style="text-align: left; padding-left: 5px;">  | <div class="mw-collapsible-content" style="text-align: left; padding-left: 5px;">  | ||
{| class="wikitable" style="font-size: 14px; background: white;"  | {| class="wikitable" style="font-size: 14px; background: white;"  | ||
| Line 69: | Line 67: | ||
<br />    | <br />    | ||
<div class="toccolours mw-collapsible mw-collapsed" style="border: 1; font-family: arial; padding-top: 20px; padding-bottom: 15px;">  | <div class="toccolours mw-collapsible mw-collapsed" style="border: 1; font-family: arial; padding-top: 20px; padding-bottom: 15px;">  | ||
| − | <div style="font-size: 14px; padding-left: 12px;">'''SSH shell command   | + | <div style="font-size: 14px; padding-left: 12px;">'''SSH shell command''' <code> SSH_SHELL_COMMAND_* </code></div>  | 
<div class="mw-collapsible-content" style="text-align: left; padding-left: 5px;">  | <div class="mw-collapsible-content" style="text-align: left; padding-left: 5px;">  | ||
{| class="wikitable" style="font-size: 14px; background: white;"  | {| class="wikitable" style="font-size: 14px; background: white;"  | ||
| Line 80: | Line 78: | ||
<br />    | <br />    | ||
<div class="toccolours mw-collapsible mw-collapsed" style="border: 1; font-family: arial; padding-top: 20px; padding-bottom: 15px;">  | <div class="toccolours mw-collapsible mw-collapsed" style="border: 1; font-family: arial; padding-top: 20px; padding-bottom: 15px;">  | ||
| − | <div style="font-size: 14px; padding-left: 12px;">'''SSH shell alias   | + | <div style="font-size: 14px; padding-left: 12px;">'''SSH shell alias''' <code> SSH_SHELL_ALIAS_* </code></div>  | 
<div class="mw-collapsible-content" style="text-align: left; padding-left: 5px;">  | <div class="mw-collapsible-content" style="text-align: left; padding-left: 5px;">  | ||
{| class="wikitable" style="font-size: 14px; background: white;"  | {| class="wikitable" style="font-size: 14px; background: white;"  | ||
| Line 94: | Line 92: | ||
----  | ----  | ||
| − | ''  | + | ''None defined''  | 
| + | |||
| + | === Class definitions ===  | ||
| + | ----  | ||
| + | |||
| + | |||
| + | '''Remote shell specific classes'''  | ||
| + | |||
| + | {| class="wikitable" style="font-size: 14px; text-align: left; width: 100%; height: 50px;"  | ||
| + | |-  | ||
| + | | [[TTelnetShell|<code>TTelnetShell = class(TShell)</code>]]  | ||
| + | |-  | ||
| + | |}  | ||
| + | {| class="wikitable" style="font-size: 14px; text-align: left; width: 100%; height: 50px;"  | ||
| + | |-  | ||
| + | | [[TTelnetSession|<code>TTelnetSession = class(TShellSession)</code>]]  | ||
| + | |-  | ||
| + | |}  | ||
| + | {| class="wikitable" style="font-size: 14px; text-align: left; width: 100%; height: 50px;"  | ||
| + | |-  | ||
| + | | [[TSSHShell|<code>TSSHShell = class(TShell)</code>]]  | ||
| + | |-  | ||
| + | |}  | ||
| + | {| class="wikitable" style="font-size: 14px; text-align: left; width: 100%; height: 50px;"  | ||
| + | |-  | ||
| + | | [[TTelnetShellLogout|<code>TTelnetShellLogout = class(TShellCommand)</code>]]  | ||
| + | |-  | ||
| + | |}  | ||
| + | {| class="wikitable" style="font-size: 14px; text-align: left; width: 100%; height: 50px;"  | ||
| + | |-  | ||
| + | | [[TSSHShellLogout|<code>TSSHShellLogout = class(TShellCommand)</code>]]  | ||
| + | |-  | ||
| + | |}  | ||
| + | <br />  | ||
=== Public variables ===  | === Public variables ===  | ||
----  | ----  | ||
| − | ''  | + | ''None defined''  | 
=== Function declarations ===  | === Function declarations ===  | ||
| Line 113: | Line 144: | ||
{| class="wikitable" style="font-size: 14px; background: white;"  | {| class="wikitable" style="font-size: 14px; background: white;"  | ||
|-  | |-  | ||
| − | !   | + | ! Note  | 
| None documented  | | None documented  | ||
|-  | |-  | ||
Latest revision as of 06:05, 31 August 2021
Return to Unit Reference
Contents
Description
Ultibo Remote Shell unit
Constants
Remote shell 
 REMOTE_SHELL_*  REMOTE_SHELL_DEFAULT_WELCOME = ' (Type HELP for a list of available commands)';
 | 
 
Telnet shell 
 TELNET_SHELL_*  TELNET_SHELL_NAME = 'Telnet Shell';
 | 
 
Telnet shell command 
 TELNET_SHELL_COMMAND_*  TELNET_SHELL_COMMAND_LOGOUT = 'LOGOUT';
 | 
 
Telnet shell alias 
 TELNET_SHELL_ALIAS_*  TELNET_SHELL_ALIAS_EXIT = 'EXIT';
 | 
 
SSH shell 
 SSH_SHELL_*  SSH_SHELL_NAME = 'SSH Shell';
 | 
 
SSH shell command 
 SSH_SHELL_COMMAND_*  SSH_SHELL_COMMAND_LOGOUT = 'LOGOUT';
 | 
 
SSH shell alias 
 SSH_SHELL_ALIAS_*  SSH_SHELL_ALIAS_EXIT = 'EXIT';
 | 
Type definitions
None defined
Class definitions
Remote shell specific classes
 TTelnetShell = class(TShell)
 | 
 TTelnetSession = class(TShellSession)
 | 
 TSSHShell = class(TShell)
 | 
 TTelnetShellLogout = class(TShellCommand)
 | 
 TSSHShellLogout = class(TShellCommand)
 | 
Public variables
None defined
Function declarations
Initialization functions
procedure RemoteShellInit;
Description: To be documented
| Note | None documented | 
|---|
Return to Unit Reference