Hello !
For some time now, I had a problem which I thought oracle was the reason for.

Now I found, that it seems to be a Bash problem.

I'm using   GNU bash, version 3.00.16(1)-release (i586-suse-linux) on SuSE 9.3

This is the "buggy behaviour":

Whenever I "su - oracle" into the oracle account, the .profile executes a tiny 
oracle helper script "oraenv" to determine/set the oracle environment.
After logging in and choosing the Database SID, whenever I use tab-completion 
"as usual" (cd /long[tab]directory[tab]path) - the current bash i'm "in" dumps 
core and the terminal is messed up. I need to issue a reset inside the terminal 
and find myself back at the root prompt.

I tracked this "problem" down to a line in /etc/profile.d/complete.bash

function _cd_ ()
{

---snippp---- 
--removed some lines-
---snippp---- 

# Replace spaces in path names with `\ '
for x in [EMAIL PROTECTED] ; do
C=([EMAIL PROTECTED] ${x// /\\ })
done
COMPREPLY=([EMAIL PROTECTED])   

test $g -eq 0 && shopt -u extglob
}


If i comment out "COMPREPLY=([EMAIL PROTECTED])" and login again, the problem 
goes away.

I didn't have time, what part of oraenv script triggers this bug and I don`t 
know, if I should blame oracle, SuSE folks or bash developers, but I think I 
get a competent answer here and some advice, what's going wrong here.

For me, this looks like a bug in bash or probably "not so well handled" bash 
configuration in complete.bash - normally I see oracle being blamed for 
problems :D

Could someone give a comment about this or give an advice, what to do next to 
resolve this bug? (commenting out that line is just a "woraround")

regards
Roland K.
Sysadmin

ps:
please also reply directly to my email address.


_________________________________________________________________________
Mit der Gruppen-SMS von WEB.DE FreeMail können Sie eine SMS an alle 
Freunde gleichzeitig schicken: http://freemail.web.de/features/?mc=021179





_______________________________________________
Bug-bash mailing list
Bug-bash@gnu.org
http://lists.gnu.org/mailman/listinfo/bug-bash

Reply via email to