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.
>
> The book can make things easier if it just made the PROMPT_COMMAND
> conditional.
>
> 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.

Looks nice.  As a BLFS editor, could you suggest this change since if
you follow the book as is you'll just get a messed up prompt?

--
Dan
--
http://linuxfromscratch.org/mailman/listinfo/blfs-support
FAQ: http://www.linuxfromscratch.org/blfs/faq.html
Unsubscribe: See the above information page

Reply via email to