Re: Colored prompt length is not correctly computed - UTF-8

2009-07-04 Thread Bob Proulx
Chris Jones wrote: > Is there a 4.0 .deb available..? A bash 4.0 .deb is available in Debian's experimental distribution. I don't know if the dependencies it was compiled with are available in Lenny or Squeeze or not as it would have matched Unstable at one time and so you would need to check. E

Re: source command differs if in bash or sh mode

2009-07-04 Thread Chet Ramey
Gerhard Brauer wrote: > Bash Version: 4.0 > Patch Level: 24 > Release Status: release > > Could you CC me please as I'm not on the list. Thanks. > And sorry for bad english... > > Description: > If i source a file relative to the current directory then - if > in sh mode - sourcing fails

Re: ulimit -p incorrect on linux (and besides being low, probably unenforceable(?))

2009-07-04 Thread Chet Ramey
Linda Walsh wrote: > When under linux (2.6.30.x), I type > ulimit -p and get a return value of "8". > > from the man page this is in 512-byte blocks and may not be set. It's set at build time. Look at builtins/ulimit.def:pipesize() and builtins/psize.sh (which uses builtins/psize.c). Chet -- `

Re: Colored prompt length is not correctly computed - UTF-8

2009-07-04 Thread Chet Ramey
Chris Jones wrote: > On Sat, Jul 04, 2009 at 02:56:20PM EDT, Chet Ramey wrote: > > [..] > >> Thanks for the report. I can reproduce this on bash-3.2.49, and it's >> fixed in bash-4.0. > > Thanks for confirming I was not hearing voices or something :-) > > Is there a 4.0 .deb available..? I do

ulimit -p incorrect on linux (and besides being low, probably unenforceable(?))

2009-07-04 Thread Linda Walsh
When under linux (2.6.30.x), I type ulimit -p and get a return value of "8". from the man page this is in 512-byte blocks and may not be set. But if I look into the linux man page: man 7 pipe, under "pipe capacity", I see: In Linux versions before 2.6.11, the capacity of a pipe was the same as

source command differs if in bash or sh mode

2009-07-04 Thread Gerhard Brauer
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'

Re: Colored prompt length is not correctly computed - UTF-8

2009-07-04 Thread Chris Jones
On Sat, Jul 04, 2009 at 02:56:20PM EDT, Chet Ramey wrote: [..] > Thanks for the report. I can reproduce this on bash-3.2.49, and it's > fixed in bash-4.0. Thanks for confirming I was not hearing voices or something :-) Is there a 4.0 .deb available..? I just compiled: http://ftp.gnu.org/gn

Re: Colored prompt length is not correctly computed - UTF-8

2009-07-04 Thread Chet Ramey
Chris Jones wrote: > Configuration Information [Automatically generated, do not change]: > Machine: i486 > OS: linux-gnu > Compiler: gcc > Compilation CFLAGS: -DPROGRAM='bash' -DCONF_HOSTTYPE='i486' > -DCONF_OSTYPE='linux-gnu' -DCONF_MACHTYPE='i486-pc-linux-gnu' > -DCONF_VENDOR='pc' -DLOCALEDIR=

Colored prompt length is not correctly computed - Correction.

2009-07-04 Thread Chris Jones
On Sat, Jul 04, 2009 at 12:18:51PM EDT, Chris Jones wrote: > Configuration Information [Automatically generated, do not change]: > Machine: i486 > OS: linux-gnu > Compiler: gcc > Compilation CFLAGS: -DPROGRAM='bash' -DCONF_HOSTTYPE='i486' > -DCONF_OSTYPE='linux-gnu' -DCONF_MACHTYPE='i486-pc-linux

Colored prompt length is not correctly computed - UTF-8

2009-07-04 Thread Chris Jones
Configuration Information [Automatically generated, do not change]: Machine: i486 OS: linux-gnu Compiler: gcc Compilation CFLAGS: -DPROGRAM='bash' -DCONF_HOSTTYPE='i486' -DCONF_OSTYPE='linux-gnu' -DCONF_MACHTYPE='i486-pc-linux-gnu' -DCONF_VENDOR='pc' -DLOCALEDIR='/usr/share/locale' -DPACKAGE='ba