Hi Jean/Troy

Why do both use PROMPT_COMMAND to output your prompts?
I thought it was more conventional to set PS1, there are
escape characters to expand to hostname, date, etc etc.
I think this might be more efficient, and make things more
simple for you.

Here's my PS1 for an example:
harry2~/Mail>echo "$PS1"
\[\033[1;31m\]\u\[\033[0;32m\]\l\[\033[1;34m\]\w>\[\033[0m\]

You can embed commands too.

Have you read this?
http://tldp.org/HOWTO/Bash-Prompt-HOWTO/index.html
I recall finding that very useful in constructing my prompt.

Also I set hardstatus in .screenrc to set the window title.

HTH,
Harry.


_______________________________________________
screen-users mailing list
screen-users@gnu.org
http://lists.gnu.org/mailman/listinfo/screen-users

Reply via email to