Well, sort of. I did close it, but in the wrong place. \[\] must enclose
non-printing characters and *only* non-printing characters. I was taking
\[\] to mean "this prompt may include non-printing characters." With that
straightened out, it now works as expected.
Thank you.
On 5/4/07, Brian
Your prompt doesn't appear to be formatted correctly. At a quick
glance, it looks like you are starting the prompt with a "non printing"
escape sequence (\[) for bash, but you never close it. Take a look at
the bash man page, specifically do a search for "begin a sequence of
non-printing char
I use bash and have a custom prompt that includes some coloring (which
includes non-printing characters, of course).
When in an xterm, I can always use ctrl-a (beginning-of-line) to return to
the beginning of the line, and it always goes to the correct cursor
position.
When I start screen, if I