[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.
- [PATCH] Readline not being able to handle long lines, Mihail Konev, 2016/11/28
- Re: [PATCH] Readline not being able to handle long lines, Mihail Konev, 2016/11/28
- Re: [PATCH] Readline not being able to handle long lines, Chet Ramey, 2016/11/28
- Re: [PATCH] Readline not being able to handle long lines, Mihail Konev, 2016/11/28
- Re: [PATCH] Readline not being able to handle long lines, Mihail Konev, 2016/11/29
- Re: [PATCH] Readline not being able to handle long lines, Mihail Konev, 2016/11/29
- Re: [PATCH] Readline not being able to handle long lines,
Mihail Konev <=
- Re: [PATCH] Readline not being able to handle long lines, Greg Wooledge, 2016/11/29
- Re: [PATCH] Readline not being able to handle long lines, Mihail Konev, 2016/11/29
- Re: [PATCH] Readline not being able to handle long lines, Mihail Konev, 2016/11/29