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] "

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

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


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

Reply via email to