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, L'équipe de développement AROS. Tous droits réservés.
Amiga®, AmigaOS®, Workbench et Intuition sont des marques de Amiga Inc. Les autres marques appartiennent à leur propritaires respectifs.