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
> within \[ and \] along with the escape sequences.
>
>
> paul
>
>
> _
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
within \[ and \] along with the escape sequences.
paul
___
Bug-bash ma
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