Re: Install Bashdb and Bash not as root

2009-03-13 Thread Matthew Woehlke
lehe wrote: 1. The change to PATH is effective only in the current shell session. I was wondering if it is possible to run the new bash instead of the old one everytime it is lauched in terminal, putty and in emacs. Is there a place where the change to PATH could be added and executed before bash

Re: Install Bashdb and Bash not as root

2009-03-05 Thread lehe
ks! -- View this message in context: http://www.nabble.com/Install-Bashdb-and-Bash-not-as-root-tp22316418p22361800.html Sent from the Gnu - Bash mailing list archive at Nabble.com.

Re: Install Bashdb and Bash not as root

2009-03-05 Thread Bob Proulx
lehe wrote: > As to changing to new bash from the beginning, I added into .bash_profile: > "SHELL='/cis/home/tingli/bin/bash-3.2.48/bin/bin/bash' > exec $SHELL " > It works quite well. The new bash starts automatically if I ssh to the > server from my laptop. Good. Is there really two "/bin/bin/"

Re: Install Bashdb and Bash not as root

2009-03-05 Thread lehe
preciated! > > Sorry but I don't know anything about bashdb in Emacs. But you > probably need to load the bashdb.el file first. Probably something > like this in your .emacs file. > > (autoload 'bashdb "bashdb" "Run bashdb" t nil) > > Find the bas

Re: Install Bashdb and Bash not as root

2009-03-04 Thread Bob Proulx
lehe wrote: > Since the old shell is the login shell reading ./bash_profile and the new > one isn't but reading ./bashrc, how could there possibly be infinite loop > at login-in? There shouldn't be, so you should be okay there. But people rarely leave things alone. If you mutated that into a fe

Re: Install Bashdb and Bash not as root

2009-03-04 Thread lehe
to beg for help from the superuser to recover. Be careful! > > In .bash_profile: > PATH=$HOME/bin:$PATH > SHELL=$HOME/bin/bash > exec $SHELL > > Remember that exec overlays the current process replacing it with the > new process. Nothing in the same file after the ex

Re: Install Bashdb and Bash not as root

2009-03-04 Thread Bob Proulx
lehe wrote: > I just solve my problem by adding the path of my newly-installed bash to the > beginning of PATH. However I now have some new questions: > > 1. The change to PATH is effective only in the current shell session. I was > wondering if it is possible to run the new bash instead of the o

Re: Install Bashdb and Bash not as root

2009-03-04 Thread lehe
I install software by its > binary? > Thanks! > -- View this message in context: http://www.nabble.com/Install-Bashdb-and-Bash-not-as-root-tp22316418p22338005.html Sent from the Gnu - Bash mailing list archive at Nabble.com.

Install Bashdb and Bash not as root

2009-03-03 Thread lehe
://www.nabble.com/Install-Bashdb-and-Bash-not-as-root-tp22316418p22316418.html Sent from the Gnu - Bash mailing list archive at Nabble.com.