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.

-- 
Archaic

Want control, education, and security from your operating system?
Hardened Linux From Scratch
http://www.linuxfromscratch.org/hlfs

-- 
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