Re: bash usage w/ssh question (re: suse10.2)

2007-02-22 Thread Chet Ramey
Linda Walsh wrote: > Another question (maybe a budding RFE?) is: Is there a way to find > out (and print the "source stack" -- i.e. nested "calls" using > "." to source files that are sourcing more...etc. I know it isn't > technically a procedure call, but there is a concept of a call > stack in

Re: bash usage w/ssh question (re: suse10.2)

2007-02-22 Thread Chet Ramey
Linda Walsh wrote: > Ah...see /etc/bash.bashrc in the source...just not mentioned in the > manpage. Urg. > Not to figure out a way around this that isn't too SuSE specific... The use of /etc/bash.bashrc (the name is actually arbitrary) is a configuration option that's disabled by default. Look a

set -e and OR-lists

2007-02-22 Thread Johan Hovold
Hi, Is the following behaviour intended or a bug in bash (3.1.17(1)-release)? The command list (set -e; false; echo hello) does not print hello and has non-zero exit status. All fine. If I try to use this fact to display an error message the semantics changes. The following command (se

collect2: ld returned 1 exit status

2007-02-22 Thread Kasper
Configuration Information [Automatically generated, do not change]: Machine: x86_64 OS: linux-gnu Compiler: x86_64-pc-linux-gnu-gcc Compilation CFLAGS: -DPROGRAM='bash' -DCONF_HOSTTYPE='x86_64' -DCONF_OSTYPE='linux-gnu' -DCONF_MACHTYPE='x86_64-pc-linux-g$uname output: Linux home 2.6.17-gentoo #9 F

bush-3.2 regression: breaked colour prompt.

2007-02-22 Thread Volkov Peter
Hello. I use the following colored primary prompt string: PS1="\[\033[01;32m\]\w \$\[\033[00;00m\] " Then I create directory with russian name. (locale ru_RU.UTF8). If I cd into directory in bash-3.1 everything works as expected but in bash-3.2 cursor became positioned N spaces after $ and every

Re: bash usage w/ssh question (re: suse10.2)

2007-02-22 Thread Linda Walsh
Ah...see /etc/bash.bashrc in the source...just not mentioned in the manpage. Urg. Not to figure out a way around this that isn't too SuSE specific... I take it that /etc/bash.bashrc is supposed to execute once/bash as well as users' /.bashrc? Sigh...am just annoyed that SuSE policy is to screw

bash usage w/ssh question (re: suse10.2)

2007-02-22 Thread Linda Walsh
I have an odd usage question which may or may not be within the scope of this list. Background: in installing a system with suse10.2, I noticed my .bashrc effectively getting run twice when I use "ssh" to run a remote command (no interactive login). The seems to be due to a change in SuSE's "/e

ulimit and -e switch

2007-02-22 Thread Frans de Boer
rom: Frans de Boer To: bug-bash@gnu.org Subject: [ulimit and -e switch] Configuration Information [Automatically generated, do not change]: Machine: i686 OS: linux-gnu Compiler: gcc Compilation CFLAGS: -pg -DPROGRAM='bash' -DCONF_HOSTTYPE='i686' -DCONF_OSTYPE='l inux-gnu' -DCONF_MACHTYPE='i686-pc-