# /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, 1996, 1997, 1998, 1999, 2002, 2003, 2004, 2005 Ken Keys