http://www.aros.org AROS-Exec AROS-Exec Archives Power2People
kitty mascottop logo menu

Prompt

Index Prev Next


Name

Prompt

Synopsis

PROMPT

Function

Specify the prompt for the current shell.

Inputs

PROMPT  --  The prompt to set as a string. The following commands
            may be used in a printf kind of style.

            N  --  cli number
            S  --  name of the current directory
            R  --  return code of the last operation

            If no prompt is specified "%N.%S> " is used as default.

Result

Standard DOS return codes.

Example

Prompt "Oepir Risti.%N> " gives:

Oepir Risti.10>      (if the CLI number was 10)

Direitos de Cópia © 1995-2024, A Equipa de Desenvolvimento AROS. Todos Os Direitos Reservados.
Amiga®, AmigaOS®, Workbench e Intuition são marcas registadas de Amiga Inc. Todas as outras marcas comerciais pertencem aos seus respectivos proprietários.