Contents | < Browse | Browse >
PROMPT [string]

* If no parameter is typed, the current prompt setting will be shown.

eg.     prompt

* If a prompt string is specified, the current prompt setting
  will be changed to that string. The character "%" specifies a
  special prompt option:
    %p      Insert whole path of current directory.
    %s      Insert last part of the path of current directory.
    %n      Insert CLI number
    %l      Insert current input line number (for fun!)
    %c      Insert last command (for even more fun ! :-)

eg.   prompt "%s> "     {default prompt. Show current directory + ">"}
      prompt "%n.%p> "  {show CLI number, then current dir, then ">"}
      prompt "Hello ."  {shows "Hello ." at the start of every line}