On 10/20/05, Tor Olav Stava <[EMAIL PROTECTED]> wrote:
> I'll give it a try :) But still, I guess this won't work in a non-login
> shell? It would be a nice feature when I'm using package users when
> building packages. It's happened more than once that I screw something
> up, cause I wrote some co
On 10/20/05, Tor Olav Stava <[EMAIL PROTECTED]> wrote:
> >if [ "${TERM:0:5}" = "xterm" ]; then
> > export PROMPT_COMMAND='echo -ne "\033]0;[EMAIL PROTECTED] : ${PWD}\007"'
> >fi
> >
> >I've been using this for a long time and it works as expected.
> >
> Is it possible to get this working in a non-
Archaic wrote:
On Wed, Oct 19, 2005 at 12:05:06PM -0700, Dan Nicholson wrote:
Are you at linux console? What's $TERM? Could you just try anyway?
I'm curious if what I suggested will just slink into the background if
you're not at an xterm.
The book can make things easier if it just
On Wed, Oct 19, 2005 at 12:35:02PM -0700, Dan Nicholson wrote:
> On 10/19/05, Archaic <[EMAIL PROTECTED]> wrote:
> >
> > if [ "${TERM:0:5}" = "xterm" ]; then
> > export PROMPT_COMMAND='echo -ne "\033]0;[EMAIL PROTECTED] : ${PWD}\007"'
> > fi
> >
> > I've been using this for a long time and it wor
On 10/19/05, Archaic <[EMAIL PROTECTED]> wrote:
> On Wed, Oct 19, 2005 at 12:05:06PM -0700, Dan Nicholson wrote:
> >
> > Are you at linux console? What's $TERM? Could you just try anyway?
> > I'm curious if what I suggested will just slink into the background if
> > you're not at an xterm.
>
> Th
On Wed, Oct 19, 2005 at 09:13:46PM +0200, Maarten Th. Mulders wrote:
>
> directory in the title changes along. But the username doesn't change
> when I switch user.
It shouldn't if you switch to root vi 'su' or 'su root', but it should
if you use 'su -' or 'su - root'.
--
Archaic
Want control
echo $TERM gives me xterm-color
Then I added PROMPT_COMMAND='echo -ne "\033]0;[EMAIL PROTECTED]:
${PWD}\007"' to /etc/profile.d/extra-prompt.sh and logged in again. The
result is a normal prompt, both as root and as user maarten.
But more notably: I am accessing my linux-box from a laptop runni
On Wed, Oct 19, 2005 at 12:05:06PM -0700, Dan Nicholson wrote:
>
> Are you at linux console? What's $TERM? Could you just try anyway?
> I'm curious if what I suggested will just slink into the background if
> you're not at an xterm.
The book can make things easier if it just made the PROMPT_CO
On 10/19/05, Maarten Th. Mulders <[EMAIL PROTECTED]> wrote:
> > Try changing that line in/etc/profile.d/extra-prompt.sh and moving it
> > back to having just the extension .sh. Let me know if that works
> > because it's been bugging mefor a long time.
>
> Well, I'm not running X, so I can't test it
Try changing that line in/etc/profile.d/extra-prompt.sh and moving it
back to having just the extension .sh. Let me know if that works
because it's been bugging mefor a long time.
Well, I'm not running X, so I can't test it for you... sorry :(
---
avast! Antivirus: Uitgaande bericht is niet
On 10/19/05, Maarten Th. Mulders <[EMAIL PROTECTED]> wrote:
> I don't have X installed, so the problem only occurred on the terminal.
> Yes, I just wrote "occured" because when I did
>
> mv /etc/profile.d/extra-prompt.sh{,.off}
Alright, I dug a bit. Bruce is right, PROMPT_COMMAND is executed
befo
I don't have X installed, so the problem only occurred on the terminal.
Yes, I just wrote "occured" because when I did
mv /etc/profile.d/extra-prompt.sh{,.off}
and logged in back again, everything was as it should be.
Can anyone tell me what (if anything) I did wrong?
Regards,
Maarten Th. Muld
On 10/19/05, Maarten Th. Mulders <[EMAIL PROTECTED]> wrote:
> grep PS1 /etc/bashrc /etc/profile ~/.bash_profile ~/.bashrc gives:
> echo $PS1 gives:
>
>
> >[EMAIL PROTECTED]:\w\$
I'm telling you, it's the variable PROMPT_COMMAND. If his prompt is
[EMAIL PROTECTED] : /[EMAIL PROTECTED]:~#
On Wed, Oct 19, 2005 at 05:52:11PM +0200, Maarten Th. Mulders wrote:
> grep PS1 /etc/bashrc /etc/profile ~/.bash_profile ~/.bashrc gives:
>
> /etc/bashrc:# PS1 Environment Variable for a great case study behind
> this script
> /etc/bashrc:#export PS1="[EMAIL PROTECTED] \w]\\$ "
> /etc/bashrc:expor
Maarten Th. Mulders wrote:
By the way: wat does culprits mean? I am not a native speaker...
Culprit | Cul"prit |
1. One accused of, or arraigned for, a crime, as before a judge.
1913 Webster
--
http://linuxfromscratch.org/mailman/listinfo/blfs-support
FAQ: http://www.linuxfromscratch.org
On Wednesday 19 October 2005 17:52, Maarten Th. Mulders wrote:
> By the way: wat does culprits mean? I am not a native speaker...
Schuldigen, boosdoeners, verantwordelijken ...
Groeten,
Allard.
--
http://linuxfromscratch.org/mailman/listinfo/blfs-support
FAQ: http://www.linuxfromscratch.org/blf
On 10/18/05, Maarten Th. Mulders <[EMAIL PROTECTED]> wrote:
> just installed LFS 6.1 and started with BLFS 6.1. But when I changed
> /etc/bashrc according to the book, I get a double Bash-prompt, like:
>
> [EMAIL PROTECTED] : /[EMAIL PROTECTED]:~#
>
> instead of
>
>
On Tue, Oct 18, 2005 at 11:59:52PM +0200, Maarten Th. Mulders wrote:
>
> I took a quick look at /etc/bashrc, but I can't find where this came
> from. Does anyone know how this can be solved?
Start with the likely culprits. Run this:
grep PS1 /etc/bashrc /etc/profile ~/.bash_profile ~/.bashrc
P
L.S.,
just installed LFS 6.1 and started with BLFS 6.1. But when I changed
/etc/bashrc according to the book, I get a double Bash-prompt, like:
[EMAIL PROTECTED] : /[EMAIL PROTECTED]:~#
instead of
[EMAIL PROTECTED] : /root
I took a quick look at /etc/bashrc, but I can't find where
19 matches
Mail list logo