On Mon, Jun 13, 2005 at 12:46:21PM -0400, Daniel Jacobowitz wrote:
> 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.

I have been unable to do so on x86 machines as well.
Where do you see the [27m btw?

Btw, by creating a new dummy account (you can have one too if you need
it) with all defaults I still get:
[27mpower%

> > > 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?

Sorry, cliche as it is, it happend again.

Paul

-- 
Student @ Eindhoven                         | email: [EMAIL PROTECTED]
University of Technology, The Netherlands   | JID: [EMAIL PROTECTED]
>>> Using the Power of Debian GNU/Linux <<< | GnuPG key ID: 0x50064181
Script started on Mon Jun 13 17:24:24 2005
]0;[EMAIL PROTECTED]:~
([EMAIL PROTECTED](%  ~


Script done on Mon Jun 13 17:24:26 2005

Reply via email to