Re: bash 4.4.18 return to new line

2018-02-04 Thread Alexander Kozlenkov
I bracketed \[ and \] each prompt variables and simple symbols and line break does work right. Example: > \[\e[1;32m\]\u\[\e[m\]\[\e[1;32m\]@\[\e[m\]\[\e[1;32m\]\h\[\e[m\] But if I bracketed sequences some symbols, line break does not work . Example: > \[\e[1;32m\]\u@\h\[\e[m\] And thanks for

Re: bash 4.4.18 return to new line

2018-02-04 Thread Chet Ramey
On 2/4/18 10:09 AM, Alexander Kozlenkov wrote: > I bracketed \[ and \] each prompt variables and simple symbols and line > break does work right. > Example: >> \[\e[1;32m\]\u\[\e[m\]\[\e[1;32m\]@\[\e[m\]\[\e[1;32m\]\h\[\e[m\] > But if I bracketed sequences some symbols, line break does not work .

Re: bash 4.4.18 return to new line

2018-02-04 Thread Alexander Kozlenkov
Ok. But I not understand, because my PS1 work well in bash-4.3.30 and failed in bash-4.4.18. -- Best regards Alexandr Kozlenkov вс, 4 февр. 2018 г. в 18:34, Chet Ramey : > On 2/4/18 10:09 AM, Alexander Kozlenkov wrote: > > I bracketed \[ and \] each prompt variables and

Re: bash 4.4.18 return to new line

2018-02-04 Thread Chet Ramey
On 2/4/18 11:31 AM, Alexander Kozlenkov wrote: > Ok. But I not understand, because my PS1 work well in bash-4.3.30 and > failed in bash-4.4.18. Luck. -- ``The lyf so short, the craft so long to lerne.'' - Chaucer ``Ars longa, vita brevis'' - Hippocrates Chet Ramey, UTech, CWRU

Re: SIGSEGV: rl_redisplay: Long Directory Name with EM Dash character in Graphical Terminal

2018-02-04 Thread Kieran Grant
Yep, that solved it :D On 05/02/18 07:53, Chet Ramey wrote: > On 2/2/18 8:57 PM, Kieran Grant wrote: >> On 03/02/18 00:25, Chet Ramey wrote: >>> I can't reproduce it on Mac OS X or Red Hat, even when using the Debian >>> prompt. What is your $PS1? (The value of `prompt' in the call to readline()

Re: SIGSEGV: rl_redisplay: Long Directory Name with EM Dash character in Graphical Terminal

2018-02-04 Thread Chet Ramey
On 2/2/18 8:57 PM, Kieran Grant wrote: > On 03/02/18 00:25, Chet Ramey wrote: >> I can't reproduce it on Mac OS X or Red Hat, even when using the Debian >> prompt. What is your $PS1? (The value of `prompt' in the call to readline() >> in the trace looks kind of sketchy.) >> > > PS1=\[\e]0;\u@\h: