1 # a watch for the prompt
2 # I have a multiline prompt, so beware!
3 # you may need to adjust the parameters
8 # to right adjust the date: How many columns does our terminal
9 # have? Reduce by the length of $STRING+5
12 # Store the current cursor position; jump up two lines; jump to
14 echo -n "
\e7
\e[2;A
\e[$COL;G"
17 echo -n "
\e[0;37;44m-- $STRING --
\e[0m"
18 # restore cursor position