On Mon, Jun 13, 2005 at 09:45:00AM -0400, Daniel Jacobowitz wrote: > The stray } is because %{ matches with %}. Otherwise no visual > glitches at all - IN THE PROMPT. However, ls<tab> puts the cursor way > off in the wrong place. Zsh's notion of the width of the prompt string > is all wrong. Specifically, it thinks it is twelve characters longer > than it is, which corresponds exactly to the three ESC[0m sequences.
The twelve-character offset was due to the %{} typo in Paul's posted PS1 string; if I correct it to %{%} then I have no problems with any of the combinations I tried, so I'll need more information about this bug. But since there's obviously a glitch in using the new ncurses-base with the old libncurses, I'm tightening the dependencies. -- Daniel Jacobowitz CodeSourcery, LLC -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]