Return to Unit Reference
Description
To be documented
Constants
[Expand]
Shell specific constants SHELL_*
SHELL_LINE_END = Chr(13) + Chr(10); {CR LF}
|
|
|
SHELL_DEFAULT_BANNER = 'Ultibo Core (Release: ' + ULTIBO_RELEASE_NAME + ' Version: ' + ULTIBO_RELEASE_VERSION + ' Date: ' + ULTIBO_RELEASE_DATE + ')';
|
|
SHELL_DEFAULT_PROMPT = '>';
|
|
SHELL_DEFAULT_ERROR = 'Huh?';
|
|
[Expand]
Shell flag constants SHELL_FLAG_*
SHELL_FLAG_NONE = $00000000;
|
|
SHELL_FLAG_CLEAR = $00000001;
|
|
SHELL_FLAG_SIZE = $00000002;
|
|
SHELL_FLAG_CURSOR = $00000004;
|
|
SHELL_FLAG_COLORS = $00000008;
|
|
SHELL_FLAG_COORDINATES = $00000010;
|
|
[Expand]
Shell session flag constants SHELL_SESSION_FLAG_*
SHELL_SESSION_FLAG_NONE = $00000000;
|
|
[Expand]
Shell command flag constants SHELL_COMMAND_FLAG_*
SHELL_COMMAND_FLAG_NONE = $00000000;
|
|
SHELL_COMMAND_FLAG_HIDDEN = $00000001;
|
Hidden command, do not show in HELP or INFO
|
SHELL_COMMAND_FLAG_HELP = $00000002;
|
Command has HELP available
|
SHELL_COMMAND_FLAG_INFO = $00000004;
|
Command has INFO available
|
SHELL_COMMAND_FLAG_DEFAULT = $00000008;
|
Default command, pass unknown commands to this before showing error
|
SHELL_COMMAND_FLAG_EXTENDED = $00000008;
|
Extended command, pass command name to command for extended handling
|
[Expand]
Shell alias flag constants SHELL_ALIAS_FLAG_*
SHELL_ALIAS_FLAG_NONE = $00000000;
|
|
SHELL_ALIAS_FLAG_HIDDEN = $00000001;
|
Hidden alias, do not show in HELP or INFO
|
[Expand]
Shell command constants SHELL_COMMAND_*
SHELL_COMMAND_HELP = 'HELP';
|
|
SHELL_COMMAND_INFO = 'INFO';
|
|
SHELL_COMMAND_VER = 'VER';
|
|
SHELL_COMMAND_TIME = 'TIME';
|
|
SHELL_COMMAND_CLS = 'CLS';
|
|
SHELL_COMMAND_RESTART = 'RESTART';
|
|
SHELL_COMMAND_SHUTDOWN = 'SHUTDOWN';
|
|
SHELL_COMMAND_CPU = 'CPU';
|
|
SHELL_COMMAND_UPTIME = 'UPTIME';
|
|
SHELL_COMMAND_WORKER = 'WORKER';
|
|
SHELL_COMMAND_THREAD = 'THREAD';
|
|
SHELL_COMMAND_MEMORY = 'MEMORY';
|
|
SHELL_COMMAND_DEVICE = 'DEVICE';
|
|
[Expand]
Shell alias constants SHELL_ALIAS_*
SHELL_ALIAS_HELP = '?';
|
|
SHELL_ALIAS_VERSION = 'VERSION';
|
|
SHELL_ALIAS_CLEAR = 'CLEAR';
|
|
[Expand]
Shell logging constants SHELL_LOG_*
SHELL_LOG_LEVEL_DEBUG = LOG_LEVEL_DEBUG;
|
Shell debugging messages
|
SHELL_LOG_LEVEL_INFO = LOG_LEVEL_INFO;
|
Shell informational messages
|
SHELL_LOG_LEVEL_ERROR = LOG_LEVEL_ERROR;
|
Shell error messages
|
SHELL_LOG_LEVEL_NONE = LOG_LEVEL_NONE;
|
No Shell messages
|
Type definitions
To be documented
Public variables
To be documented
Function declarations
Initialization functions
[Expand]
procedure ShellInit;
Description: To be documented
Shell functions
[Expand]
function ShellGetShell(APrevious:TShell; ALock,AUnlock:Boolean):TShell;
Description: To be documented
[Expand]
function ShellFindShell(const AName:String):TShell;
Description: To be documented
[Expand]
function ShellRegisterShell(AShell:TShell):Boolean;
Description: To be documented
[Expand]
function ShellDeregisterShell(AShell:TShell):Boolean;
Description: To be documented
[Expand]
function ShellGetCommand(APrevious:TShellCommand; ALock,AUnlock:Boolean):TShellCommand;
Description: To be documented
[Expand]
function ShellFindCommand(const AName:String):TShellCommand;
Description: To be documented
[Expand]
function ShellRegisterCommand(ACommand:TShellCommand):Boolean;
Description: To be documented
[Expand]
function ShellDeregisterCommand(ACommand:TShellCommand):Boolean;
Description: To be documented
Shell helper functions
[Expand]
procedure ShellLog(Level:LongWord; const AText:String);
Description: To be documented
[Expand]
procedure ShellLogInfo(const AText:String);
Description: To be documented
[Expand]
procedure ShellLogError(const AText:String);
Description: To be documented
[Expand]
procedure ShellLogDebug(const AText:String);
Description: To be documented
Return to Unit Reference