Thanks to the following people who have provided advice, errata, and examples for this document.
Paul D. Smith <[email protected]> and
Christophe Martin <[email protected]>
both pointed out that I had the quotes the wrong way round in the
bash $PROMPT_COMMAND. Getting them right
means variables are expanded dynamically.
Paul D. Smith <[email protected]>
suggested the use of \[...\] in the bash
prompt for embedding non-printing characters.
Christophe Martin <[email protected]>
provided the solution for ksh.
Keith Turner <[email protected]>
supplied the escape sequences for Sun cmdtool and
shelltool.
Jean-Albert Ferrez <[email protected]>
pointed out some inconsistencies in the use of "PWD"
and "$PWD", and in the use of "\" vs "\\".
Bob Ellison <[email protected]> and
Jim Searle <[email protected]> tested dtterm
on HP-UX.
Teng-Fong Seak <[email protected]> suggested the
-s option for hostname, use of `pwd`, and
use of echo under csh.
Trilia <[email protected]> suggested examples
in other languages.
Brian Miller <[email protected]> supplied the
escape sequences and examples for hpterm.
Lenny Mastrototaro <[email protected]> explained
the Irix terminals' use of xterm escape sequences.
Paolo Supino <[email protected]> suggested the use
of \\$ in the bash prompt.