Unit 'amigados' Package
[Overview][Constants][Types][Procedures and functions][Index] [#aros]

TCommandLineInterface

DOS Processes started from the CLI via RUN or NEWCLI have this additional set to data associated with them

Declaration

Source position: amigados.pas line 797

type TCommandLineInterface = record

  cli_Result2: LongInt;

  

Value of IoErr from last command

  cli_SetName: Pointer;

  

Name of current directory

  cli_CommandDir: Pointer;

  

Lock associated with command directory

  cli_ReturnCode: LongInt;

  

Return code from last command

  cli_CommandName: Pointer;

  

Name of current command

  cli_FailLevel: LongInt;

  

Fail level (set by FAILAT)

  cli_Prompt: Pointer;

  

Current prompt (set by PROMPT)

  cli_StandardInput: Pointer;

  

Default (terminal) CLI input

  cli_CurrentInput: Pointer;

  

Current CLI input

  cli_CommandFile: Pointer;

  

Name of EXECUTE command file

  cli_Interactive: LongInt;

  

Boolean; True if prompts required

  cli_Background: LongInt;

  

Boolean; True if CLI created by RUN

  cli_CurrentOutput: Pointer;

  

Current CLI output

  cli_DefaultStack: LongInt;

  

Stack size to be obtained in long words

  cli_StandardOutput: Pointer;

  

Default (terminal) CLI output

  cli_Module: Pointer;

  

SegList of currently loaded command

end;


Documentation generated on: 2021-07-30