[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Buffer corruption when the terminal is resized.
From: |
Paul Peet |
Subject: |
Re: Buffer corruption when the terminal is resized. |
Date: |
Sun, 11 Jun 2017 00:29:33 +0200 |
Okay, I did the follwing:
> git clone https://git.savannah.gnu.org/git/bash.git
> cd bash && git checkout devel
> ./configure --prefix=/ --with-curses --enable-readline
> make
I then changed the default shell (in gnome-terminal) to the newly built bash.
> echo $BASH_VERSION
4.4.12(1)-maint
Unfortunately, I am still getting the same behavior as before (This
also happens with xterm for some reason.)
On Sat, Jun 10, 2017 at 11:20 PM, Eduardo Bustamante <dualbus@gmail.com> wrote:
> On Sat, Jun 10, 2017 at 07:21:36PM +0200, Paul Peet wrote:
>> If I understand this correctly this prompt (see below) shouldn't
>> contain any invisible sequence, therefore it doesn't require the
>> wrapping with \[ and \].
>>
>> PS1="\u@\h\$"
>>
>> So bash should be able to correctly calculate the prompt size and
>> such, but by resizing the window it still results in a corrupted
>> buffer.
>>
>> I've uploaded another gif which shows this:
>> https://media.giphy.com/media/xUA7biW8UtwYIU6ggg/giphy.gif
>
> I can't reproduce this with:
>
>
> dualbus@debian:~/src/gnu/bash$ bash --version | head -n1
> GNU bash, version 4.4.12(1)-release (x86_64-pc-linux-gnu)
>
> dualbus@debian:~/src/gnu/bash$ xterm -version
> XTerm(327)
>
> dualbus@debian:~/src/gnu/bash$ lsb_release -d
> Description: Debian GNU/Linux 9.0 (stretch)
>
>
> Can you reproduce the problem using a more recent version. Perphaps try
> the `devel' branch from git? <https://savannah.gnu.org/git/?group=bash>
>
> --
> Eduardo Bustamante
> https://dualbus.me/
- Buffer corruption when the terminal is resized., Paul Peet, 2017/06/10
- Re: Buffer corruption when the terminal is resized., Eduardo Bustamante, 2017/06/10
- Re: Buffer corruption when the terminal is resized., George, 2017/06/10
- Re: Buffer corruption when the terminal is resized., Paul Peet, 2017/06/10
- Re: Buffer corruption when the terminal is resized., Eduardo Bustamante, 2017/06/10
- Re: Buffer corruption when the terminal is resized., Paul Peet, 2017/06/10
- Re: Buffer corruption when the terminal is resized., Eduardo Bustamante, 2017/06/10
- Re: Buffer corruption when the terminal is resized.,
Paul Peet <=
- Re: Buffer corruption when the terminal is resized., Eduardo Bustamante, 2017/06/12
- Re: Buffer corruption when the terminal is resized., Paul Peet, 2017/06/12
- Re: Buffer corruption when the terminal is resized., Chet Ramey, 2017/06/12
- Re: Buffer corruption when the terminal is resized., Paul Peet, 2017/06/12
- Re: Buffer corruption when the terminal is resized., Chet Ramey, 2017/06/12
- Re: Buffer corruption when the terminal is resized., Paul Peet, 2017/06/12
- Re: Buffer corruption when the terminal is resized., Chet Ramey, 2017/06/12
- Re: Buffer corruption when the terminal is resized., Paul Peet, 2017/06/12
- Re: Buffer corruption when the terminal is resized., Chet Ramey, 2017/06/12
- Re: Buffer corruption when the terminal is resized., Chet Ramey, 2017/06/12