bug-bash
[Top][All Lists]
Advanced

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

Re: [PATCH] Readline not being able to handle long lines


From: Mihail Konev
Subject: Re: [PATCH] Readline not being able to handle long lines
Date: Tue, 29 Nov 2016 14:14:11 +0500

On Tue, Nov 29, 2016 at 01:27:26PM +0500, Mihail Konev wrote:
> Buggy:
> PS1='\[\e]0;\w\a\]\n\[\e[32m\]\u@\h \[\e[35m\]$MSYSTEM\[\e[0m\] 
> \[\e[33m\]\w\[\e[0m\]\n\$ '
> 

Not a buggy one.
It does not trigger the bug.

> Buggy (replace the ^-sequences in the second line):
> PS1="[\${PWD##*/}]\$ "      # set the prompt
> PS1="^[]0;\$PWD^G^M$PS1"    # set the window title
> 

Turns out this was the only one buggy.
So it was all the (mis-) googled PS1 customizations,
that are actually incompatible with bash 3.2.0 and higher.



reply via email to

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