On Mon, Jun 13, 2005 at 05:30:10PM +0200, Paul van Tilburg wrote:
> On Mon, Jun 13, 2005 at 10:11:18AM -0400, Daniel Jacobowitz wrote:
> > On Mon, Jun 13, 2005 at 09:45:00AM -0400, Daniel Jacobowitz wrote:
> > > Here's what it writes out for PS1="[EMAIL PROTECTED] ":
> >
> > So that looks like the problem Thomas expected to see.  But it can't be
> > the problem Paul was seeing, because I don't get a single stray
> > ESC[27m.
> 
> My PS1="[EMAIL PROTECTED] "
> 
> I color my hostnames (%m) based on the hostname itself, so my prompt
> code really is (if this is a zsh problem, but it didn't get updated the
> last two days):
> 
> # Determine hostname color.
> case `hostname` in
>   speed)        COLOR=ESC[30m ;;
> [...etc..]
>   power)        COLOR=ESC[37m ;;
>   *)            COLOR=ESC[36m ;;
> esac
> 
> # Prompts
> PS1="[EMAIL PROTECTED] "

Aha!  There's the [27m I couldn't find.  I still haven't been able to
reproduce the problem; I just tried on PowerPC, with ncurses-base 5.4-5
and libncurses5 5.4-4 installed, and the current zsh.

> > Paul, could you show us exactly what you see?  I can produce that by
> > running zsh inside of 'script', then exiting, and loading the
> > typescript with 'less'.
> 
> I ran script, then ^d. I have attached is resulting typescript.

No attachment?

-- 
Daniel Jacobowitz
CodeSourcery, LLC


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]

Reply via email to