The window title changes to [EMAIL PROTECTED] as I navigate around.
It changes correctly if I login to other linux systems. However,
If I login to hpux systems it does not.
What file contains this information?
If you're running bash, this is set by the PS1 environment variable.
Mine is set to [EMAIL PROTECTED]:\w\$ \[\e]0;[EMAIL PROTECTED]:\w\a\]
All of that gobbledygoop in the second half is caught by your
xterm/konsole/whatever and used for the window title. This should
be set in /etc/profile with something like this:
if [ "$PS1" ]; then
# only print this if it's an interactive shell
echo "/etc/profile"
if [ "$BASH" ]; then
PS1='[EMAIL PROTECTED]:\w\$ '
else
if [ "`id -u`" -eq 0 ]; then
PS1='# '
else
PS1='$ '
fi
fi
# put [EMAIL PROTECTED]:/path in the xterm/konsole title bar
if [ "$TERM" == "xterm" ] ; then
export PS1=$PS1"\[\e]0;[EMAIL PROTECTED]:\w\a\]"
fi
fi
Alan
--
TriLUG mailing list : http://www.trilug.org/mailman/listinfo/trilug
TriLUG Organizational FAQ : http://trilug.org/faq/
TriLUG Member Services FAQ : http://members.trilug.org/services_faq/
TriLUG PGP Keyring : http://trilug.org/~chrish/trilug.asc