On 1/24/07, Linda Walsh <[EMAIL PROTECTED]> wrote:
I recently changed my PS1 prompt to set the title and icon text in the tty frame window to "[EMAIL PROTECTED]";
...
Of course it doesn't know how "non-printing" (or text that doesn't generate a physical position as in the set-icon+title function). So I thought that it should be able to understand that a "CR" would return/reset the column to zero. That way it could correctly compute what column it was in.
Bash can know about non-printing characters. Check the "PROMPTING" section in "man bash"- \[ begin a sequence of non-printing characters, which could be used to embed a terminal control sequence into the prompt \] end a sequence of non-printing characters -- Mike Stroyan [EMAIL PROTECTED] _______________________________________________ Bug-bash mailing list Bug-bash@gnu.org http://lists.gnu.org/mailman/listinfo/bug-bash