I'm still having one little problem with my .bashrc .  I've inserted the
line:

export PROMPT_COMMAND='echo -ne "\033]0;[EMAIL PROTECTED]: ${PWD}\007"'

So that it updates my xterm title bar automatically with where I am.
However, if I'm directly on a console (not in xterm) it displays the
string, which has a very annoying beep at the end.  So I get a beep with
evey prompt.  Is there a way to check whether I'm on a console or in an
xterm, so I can disable exporting PROMPT_COMMAND if I'm not in xterm?

-- 
Soren Harward
[EMAIL PROTECTED]

____________________
BYU Unix Users Group 
http://uug.byu.edu/ 
___________________________________________________________________
List Info: http://uug.byu.edu/cgi-bin/mailman/listinfo/uug-list

Reply via email to