Wade, Thanks. I found it. The laptop was setting PS1 in .bashrc while the other machines were not. I removed it and things are working nicely now.
Cheers, Mark On 8/17/05, Mark Knecht <[EMAIL PROTECTED]> wrote: > Wade, > Thanks for the response. I think this will help me get it straightened out. > > So far I see no difference between the machines that work and the > laptop which doesn't when doing the grep -r PS1 /etc/* command. > However, when I echo $PS1 at the command line I do get different > results: > > Laptop (fails) > > flash ~ $ echo $PS1 > \[\033[01;31m\]\h \[\033[01;34m\]\W \$ \[\033[00m\] > flash ~ $ > > Desktop (works) > > [EMAIL PROTECTED] ~ $ echo $PS1 > \[\033[01;32m\]\h \[\033[01;34m\]\w \$ \[\033[00m\] > [EMAIL PROTECTED] ~ $ > > Similar but not identical, and the issue right now is determining what > set these, and if indeed these differences even matter. > > Thanks, > Mark > On 8/17/05, Wade Brown <[EMAIL PROTECTED]> wrote: > > The environment variable $PS1 controls what your prompt is, assuming > > you're using bash. This can be set in many many places, such as > > ~/.bashrc, /etc/profile (controlled by something along the lines of > > /etc/env.d/##bash), or even as a simple export. Try searching through > > your /etc on your different machines for the PS1 setting, and copy it > > to the one that's missing, a good place to start is "grep -r PS1 > > /etc/*" > > > > On 8/17/05, Mark Knecht <[EMAIL PROTECTED]> wrote: > > > Hi, > > > On my laptop only when I open a gnome-terminal I'm no longer > > > greeted with a prompt that says: [EMAIL PROTECTED] ~ $ - it now it just > > > says > > > flash ~ $. > > > > > > What controls this? > > > > > > I thought it was .bashrc but comparing my non-working laptop with > > > my 3 working desktop machines, which do say [EMAIL PROTECTED], I see no > > > differences. > > > > > > Thanks in advance, > > > Mark > -- gentoo-user@gentoo.org mailing list