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 simple symbols

Re: bash 4.4.18 return to new line

2018-02-04 Thread Alexander Kozlenkov
ks for You help! -- Best regards Alexandr Kozlenkov вс, 4 февр. 2018 г. в 2:04, Chet Ramey : > On 2/3/18 2:21 AM, Alexander Kozlenkov wrote: > > I changed my PS1 to: > > (cmd):09:37:53:sah4ez@PC001:~$ printenv PS1 > > \e[1;95m\t\]\e[0m:\]\e[0;92m\u@\h\]\e[0m:\]\e[0;34m\w\a\]\]

Re: bash 4.4.18 return to new line

2018-02-02 Thread Alexander Kozlenkov
> On 2/2/18 2:39 PM, Alexander Kozlenkov wrote: > > $ printenv PS1 > > \e[1;95m\t\e[0m:\[\e]0;\u@\h: > > \w\a\]${debian_chroot:+($debian_chroot)}\[\033[01;32m\]\u@ > \h\[\033[00m\]:\[\033[01;34m\]\w\[\033[00m\]\$ > > There are a bunch of invisible characters at the beginn

Re: bash 4.4.18 return to new line

2018-02-02 Thread Alexander Kozlenkov
ssh username@(*cursor here*)remote.server.com # press 'I' $ ssh username@(*cursor here*)remote.server.com # press right and remove first symbol $ (*cursor here*)sh usern...@remote.server.com -- Best regards Aleksandr Kozlenkov пт, 2 февр. 2018 г. в 22:13, Chet Ramey : > On 2/2/18 7:42 AM,

bash 4.4.18 return to new line

2018-02-02 Thread Alexander Kozlenkov
Hello! Thanks for your project! On days I did building bash v4.4.18 for using vi-ins-mode-string and vi-cmd-mode-string variables in VI mode (insert and command modes). But, when I print long string, line break don't work for the first input line: > (ins):15:30:03:sah4ez@PC001:~/git/bash-4.4.18