* [gentoo-user] One machine's terminals don't say 'mark@flash' anymore
@ 2005-08-17 21:22 Mark Knecht
2005-08-17 21:46 ` Wade Brown
0 siblings, 1 reply; 4+ messages in thread
From: Mark Knecht @ 2005-08-17 21:22 UTC (permalink / raw
To: gentoo-user
Hi,
On my laptop only when I open a gnome-terminal I'm no longer
greeted with a prompt that says: mark@flash ~ $ - 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 mark@machine, I see no
differences.
Thanks in advance,
Mark
--
gentoo-user@gentoo.org mailing list
^ permalink raw reply [flat|nested] 4+ messages in thread
* Re: [gentoo-user] One machine's terminals don't say 'mark@flash' anymore
2005-08-17 21:22 [gentoo-user] One machine's terminals don't say 'mark@flash' anymore Mark Knecht
@ 2005-08-17 21:46 ` Wade Brown
2005-08-17 22:32 ` Mark Knecht
0 siblings, 1 reply; 4+ messages in thread
From: Wade Brown @ 2005-08-17 21:46 UTC (permalink / raw
To: gentoo-user
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 <markknecht@gmail.com> wrote:
> Hi,
> On my laptop only when I open a gnome-terminal I'm no longer
> greeted with a prompt that says: mark@flash ~ $ - 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 mark@machine, I see no
> differences.
>
> Thanks in advance,
> Mark
>
> --
> gentoo-user@gentoo.org mailing list
>
>
--
gentoo-user@gentoo.org mailing list
^ permalink raw reply [flat|nested] 4+ messages in thread
* Re: [gentoo-user] One machine's terminals don't say 'mark@flash' anymore
2005-08-17 21:46 ` Wade Brown
@ 2005-08-17 22:32 ` Mark Knecht
2005-08-17 22:38 ` Mark Knecht
0 siblings, 1 reply; 4+ messages in thread
From: Mark Knecht @ 2005-08-17 22:32 UTC (permalink / raw
To: gentoo-user
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)
mark@godzilla ~ $ echo $PS1
\[\033[01;32m\]\h \[\033[01;34m\]\w \$ \[\033[00m\]
mark@godzilla ~ $
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 <wanderer.wcb@gmail.com> 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 <markknecht@gmail.com> wrote:
> > Hi,
> > On my laptop only when I open a gnome-terminal I'm no longer
> > greeted with a prompt that says: mark@flash ~ $ - 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 mark@machine, I see no
> > differences.
> >
> > Thanks in advance,
> > Mark
--
gentoo-user@gentoo.org mailing list
^ permalink raw reply [flat|nested] 4+ messages in thread
* Re: [gentoo-user] One machine's terminals don't say 'mark@flash' anymore
2005-08-17 22:32 ` Mark Knecht
@ 2005-08-17 22:38 ` Mark Knecht
0 siblings, 0 replies; 4+ messages in thread
From: Mark Knecht @ 2005-08-17 22:38 UTC (permalink / raw
To: gentoo-user
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 <markknecht@gmail.com> 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)
>
> mark@godzilla ~ $ echo $PS1
> \[\033[01;32m\]\h \[\033[01;34m\]\w \$ \[\033[00m\]
> mark@godzilla ~ $
>
> 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 <wanderer.wcb@gmail.com> 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 <markknecht@gmail.com> wrote:
> > > Hi,
> > > On my laptop only when I open a gnome-terminal I'm no longer
> > > greeted with a prompt that says: mark@flash ~ $ - 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 mark@machine, I see no
> > > differences.
> > >
> > > Thanks in advance,
> > > Mark
>
--
gentoo-user@gentoo.org mailing list
^ permalink raw reply [flat|nested] 4+ messages in thread
end of thread, other threads:[~2005-08-17 22:44 UTC | newest]
Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2005-08-17 21:22 [gentoo-user] One machine's terminals don't say 'mark@flash' anymore Mark Knecht
2005-08-17 21:46 ` Wade Brown
2005-08-17 22:32 ` Mark Knecht
2005-08-17 22:38 ` Mark Knecht
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox