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)

Πνευματικά Δικαιώματα © 1995-2024, Η Ομάδα Ανάπτυξης του AROS (The AROS Development Team). All rights reserved.
Amiga® is a trademark of Amiga Inc. All other trademarks belong to their respective owners.