[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

long lines not wrapping correctly in Mac OS X

From: agl
Subject: long lines not wrapping correctly in Mac OS X
Date: Wed, 17 Jan 2007 05:42:53 -0800 (PST)

I'm using bash 2.05b.0(1) on Mac OS X's Terminal app, and ever since I
changed my prompt to the following:

PS1=$'\[\e]2;\]\h\[\a\]\h:\w \u\$ '

(to have the hostname dynamically appear in the window title) long lines
don't wrap anymore. In other words, if I enter a long command name after
reaching the right margin the cursor overwrites the left one, without moving
to a new line. The problem disappears immediately if I don't use escape
sequences in the prompt. I've also tried bash 3.2.9, and things are exactly
the same (no problem with vanilla prompt, same problem with the previous

Is this a (known) bug, or is something wrong with my prompt sequence?


View this message in context: 
Sent from the Gnu - Bash mailing list archive at Nabble.com.

reply via email to

[Prev in Thread] Current Thread [Next in Thread]