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)

Copyright © 1995-2024, Het AROS Development Team. Alle rechten voorbehouden.
Amiga® is een merknaam van Amiga Inc. Alle andere merknamen behoren tot hun respectievelijke eigenaren.