Re: strcpy of overlapping memory ranges in prompt expansion

2013-07-04 Thread Chet Ramey
On 7/3/13 4:06 PM, si...@hitzemann.org wrote: > Bash Version: 4.2 > Patch Level: 45 > Release Status: release > > Description: > When using \w in the prompt and changing the directory outside of HOME > bash crashes with an abort trap. > strcpy(3) say src and dst must not o

Re: PS1 multiline with colors

2013-07-04 Thread Chris Down
> Repeat-By: > With mintty terminal: > PS1='\h Hello everybody\n\e[1;35m\]Hi\e[0m\]>' > << cursor up >> > << cursor down >> > the line look like: > Hi>PS1='\h Hello > > With putty terminal (with default configuration): > with the same

PS1 multiline with colors

2013-07-04 Thread BASTIDON , Stéphane
Configuration Information [Automatically generated, do not change]: Machine: i686 OS: cygwin Compiler: gcc-4 Compilation CFLAGS: -DPROGRAM='bash.exe' -DCONF_HOSTTYPE='i686' -DCONF_OSTYPE='cygwin' -DCONF_MACHTYPE='i686-pc-cygwin' -DCONF_VENDOR='pc' -DLOCALEDIR='/usr/share/locale' -DPACKAGE='bash'