> Description:
> Bash rewrites on the same line if I exeed line terminal width lenght.
How about
shopt -s checkwinsize
?
--
Vlad
On Wed, Mar 01, 2017 at 05:26:49PM -0500, Greg Wooledge wrote:
>
> On Wed, Mar 01, 2017 at 05:21:08PM -0500, Lfabbro wrote:
> > Yes you were right the error comes from PS1...
> > I'm sad I have no more the git branch on the prompt... :(
> > Now I use:
> > ps1="\[\033[01;32m\][\u@\h\[\033[01;37m\]
On Wed, Mar 01, 2017 at 05:15:51PM -0500, Lfabbro wrote:
> Greg, I'm not sure what you mean by termcaps are legacy...
> I mean, I personally use curses.h, term.h and termios.h
> aren't them termcaps?
No. Those are terminfo. Be grateful.
If you want a brief overview, you can start with "man term
riginal Message ----
Subject: Re: Broken Termcaps
Local Time: March 1, 2017 11:15 PM
UTC Time: March 1, 2017 10:15 PM
From: lfabbr...@protonmail.com
To: Greg Wooledge
Eduardo Bustamante , bug-bash@gnu.org
Greg, I'm not sure what you mean by termcaps are legacy...
I mean, I personally use curses.h,
al Message
Subject: Re: Broken Termcaps
Local Time: March 1, 2017 11:02 PM
UTC Time: March 1, 2017 10:02 PM
From: lfabbr...@protonmail.com
To: Greg Wooledge
Eduardo Bustamante , bug-bash@gnu.org
There:
>echo $TERM
xterm-256color
> echo $PS1
\[\033[01;32m\][\u@\h\[\033[01;37m\] \W$(__
On Wed, Mar 01, 2017 at 05:02:32PM -0500, Lfabbro wrote:
> > echo $PS1
> \[\033[01;32m\][\u@\h\[\033[01;37m\] \W$(__git_ps1 "
> (\033[31m%s\033[37m)")\033[32m]\$\[\033[00m\]
There are some unprotected escape sequences inside the $(...) but I have
absolutely no idea what that command substitution
Oh! And thanks for your fast reply!
Sent with [ProtonMail](https://protonmail.com) Secure Email.
Original Message
Subject: Re: Broken Termcaps
Local Time: March 1, 2017 11:02 PM
UTC Time: March 1, 2017 10:02 PM
From: lfabbr...@protonmail.com
To: Greg Wooledge
Eduardo
ure Email.
Original Message
Subject: Re: Broken Termcaps
Local Time: March 1, 2017 10:52 PM
UTC Time: March 1, 2017 9:52 PM
From: wool...@eeg.ccf.org
To: Eduardo Bustamante
Lfabbro , bug-bash@gnu.org
On Wed, Mar 01, 2017 at 09:48:08PM +, Eduardo Bustamante wrote:
> El mié., mar. 1, 201
On Wed, Mar 01, 2017 at 09:48:08PM +, Eduardo Bustamante wrote:
> El mié., mar. 1, 2017 3:46 PM, Eduardo Bustamante
> escribió:
> > Description:
> > Bash rewrites on the same line if I exeed line terminal width lenght.
> >
> Do you have an exotic PS1 or PROMPT_COMMAND ?
That was one of my ini
El mié., mar. 1, 2017 3:46 PM, Eduardo Bustamante
escribió:
>
>
> El mié., mar. 1, 2017 3:38 PM, Lfabbro
> escribió:
>
> [...]
>
> Bash Version: 4.4
> Patch Level: 12
> Release Status: release
>
> Description:
> Bash rewrites on the same line if I exeed line terminal width lenght.
>
> [...]
>
>
Configuration Information [Automatically generated, do not change]:
Machine: x86_64
OS: linux-gnu
Compiler: gcc
Compilation CFLAGS: -DPROGRAM='bash' -DCONF_HOSTTYPE='x86_64'
-DCONF_OSTYPE='linux-gnu' -DCONF_MACHTYPE='x86_64-unknown-linux-gnu'
-DCONF_VENDOR='unknown' -DLOCALEDIR='/usr/share/locale
11 matches
Mail list logo