/prompt

Usage:

/PROMPT text


Sets the prompt for the current socket to text, replacing any existing prompt. /prompt is most useful when called from a PROMPT hook, like this:

    /def -h"PROMPT *> " catch_prompt = /test prompt({*})
Then, any text that ends in ">" without a newline will be made the prompt.

For a more sophisticated example, see "status line".

See: prompts, hooks (PROMPT)


Back to index
Back to tf home page
Copyright © 1995 - 1999 Ken Keys