Re: long lines not wrapping correctly in Mac OS X

2007-01-17 Thread agl
Paul Jarc wrote: > > agl <[EMAIL PROTECTED]> wrote: >> PS1=$'\[\e]2;\]\h\[\a\]\h:\w \u\$ ' > > Try this: > PS1=$'\[\e]2;\h\a\]\h:\w \u\$ ' > > The first \h doesn't move the cursor position, so it should be kept > w

long lines not wrapping correctly in Mac OS X

2007-01-17 Thread agl
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 reachin