Re: [lfs-support] PS1 for user lfs

2012-04-23 Thread Philippe Delavalade
Le samedi 21 avril à 18:48, Bruce Dubbs a écrit : Andrew Benton wrote: On Fri, 20 Apr 2012 21:38:37 +0100 Philippe Delavalade philippe.delaval...@orange.fr wrote: Hi. I'm building svn-9812 ; my host is debian/wheezy ; I encounter for the first time a little problem in 4.4. When

Re: [lfs-support] PS1 for user lfs

2012-04-21 Thread Andrew Benton
On Fri, 20 Apr 2012 21:38:37 +0100 Philippe Delavalade philippe.delaval...@orange.fr wrote: Hi. I'm building svn-9812 ; my host is debian/wheezy ; I encounter for the first time a little problem in 4.4. When becoming user lfs and after having passed the command source .bash_profile

Re: [lfs-support] PS1 for user lfs

2012-04-21 Thread Bruce Dubbs
Andrew Benton wrote: On Fri, 20 Apr 2012 21:38:37 +0100 Philippe Delavalade philippe.delaval...@orange.fr wrote: Hi. I'm building svn-9812 ; my host is debian/wheezy ; I encounter for the first time a little problem in 4.4. When becoming user lfs and after having passed the command

[lfs-support] PS1 for user lfs

2012-04-20 Thread Philippe Delavalade
Hi. I'm building svn-9812 ; my host is debian/wheezy ; I encounter for the first time a little problem in 4.4. When becoming user lfs and after having passed the command source .bash_profile I don't obtain the right prompt ; all variables are correct except PS1 which is

Re: [lfs-support] PS1 for user lfs

2012-04-20 Thread Bruce Dubbs
Philippe Delavalade wrote: Hi. I'm building svn-9812 ; my host is debian/wheezy ; I encounter for the first time a little problem in 4.4. When becoming user lfs and after having passed the command source .bash_profile I don't obtain the right prompt ; all variables are correct except

Re: [lfs-support] PS1 for user lfs

2012-04-20 Thread Philippe Delavalade
Le vendredi 20 avril à 22:54, Bruce Dubbs a écrit : Philippe Delavalade wrote: Hi. I'm building svn-9812 ; my host is debian/wheezy ; I encounter for the first time a little problem in 4.4. When becoming user lfs and after having passed the command source .bash_profile I

Re: [lfs-support] PS1 for user lfs

2012-04-20 Thread Bruce Dubbs
Philippe Delavalade wrote: .bashrc and .bash_profile are exactly those of the book :-( My only deviation from the book is to have given a specific gid and uid to lfs when executing groupadd and useradd, but I think it's not the reason why PS1 goes wrong. Setting a specific uid and gid

Re: [lfs-support] PS1 for user lfs

2012-04-20 Thread Philippe Delavalade
Le vendredi 20 avril à 23:22, Bruce Dubbs a écrit : Philippe Delavalade wrote: .bashrc and .bash_profile are exactly those of the book :-( My only deviation from the book is to have given a specific gid and uid to lfs when executing groupadd and useradd, but I think it's not the reason

Re: [lfs-support] PS1 for user lfs

2012-04-20 Thread Bruce Dubbs
Philippe Delavalade wrote: Le vendredi 20 avril à 23:22, Bruce Dubbs a écrit : Philippe Delavalade wrote: .bashrc and .bash_profile are exactly those of the book :-( My only deviation from the book is to have given a specific gid and uid to lfs when executing groupadd and useradd, but I

Re: [lfs-support] PS1 for user lfs

2012-04-20 Thread Philippe Delavalade
Le vendredi 20 avril à 23:51, Bruce Dubbs a écrit : [...] Everything except PS1 seems OK. it's to complicated for me :-) Did you do 4.3: `su - lfs` Yes, sure ! I tried three times ; the first time, I thought I forgot some thing ; so I ran `userdel` and `groupdel` and began again, this two

Re: [lfs-support] PS1 for user lfs

2012-04-20 Thread Bruce Dubbs
Philippe Delavalade wrote: Le vendredi 20 avril à 23:51, Bruce Dubbs a écrit : [...] Everything except PS1 seems OK. it's to complicated for me :-) Did you do 4.3: `su - lfs` Yes, sure ! I tried three times ; the first time, I thought I forgot some thing ; so I ran `userdel` and

Re: [lfs-support] PS1 for user lfs

2012-04-20 Thread Philippe Delavalade
Le samedi 21 avril à 00:32, Bruce Dubbs a écrit : Philippe Delavalade wrote: Le vendredi 20 avril à 23:51, Bruce Dubbs a écrit : [...] Everything except PS1 seems OK. it's to complicated for me :-) Did you do 4.3: `su - lfs` Yes, sure ! I tried three times ; the first time,

Re: [lfs-support] PS1 for user lfs

2012-04-20 Thread Bruce Dubbs
Philippe Delavalade wrote: Le samedi 21 avril à 00:32, Bruce Dubbs a écrit : Philippe Delavalade wrote: Le vendredi 20 avril à 23:51, Bruce Dubbs a écrit : [...] Everything except PS1 seems OK. it's to complicated for me :-) Did you do 4.3: `su - lfs` Yes, sure ! I tried three times ;

Re: [lfs-support] PS1 for user lfs

2012-04-20 Thread Ken Moffat
On Fri, Apr 20, 2012 at 10:38:12PM +0200, Philippe Delavalade wrote: I don't obtain the right prompt ; all variables are correct except PS1 which is PS1=${debian_chroot:+($debian_chroot)}\u@\h:\w\$ I'm guessing that debian have done something to bash, probably to indicate when it is in a

Re: [lfs-support] PS1 for user lfs

2012-04-20 Thread Philippe Delavalade
Le samedi 21 avril à 01:06, Bruce Dubbs a écrit : Philippe Delavalade wrote: Le samedi 21 avril à 00:32, Bruce Dubbs a écrit : Philippe Delavalade wrote: Le vendredi 20 avril à 23:51, Bruce Dubbs a écrit : [...] Everything except PS1 seems OK. it's to complicated for me :-) Did

Re: [lfs-support] PS1 for user lfs

2012-04-20 Thread Philippe Delavalade
Le samedi 21 avril à 01:15, Ken Moffat a écrit : On Fri, Apr 20, 2012 at 10:38:12PM +0200, Philippe Delavalade wrote: I don't obtain the right prompt ; all variables are correct except PS1 which is PS1=${debian_chroot:+($debian_chroot)}\u@\h:\w\$ I'm guessing that debian have