On Mon, 20 Jun 2005, Tong wrote:
> Date: Mon, 20 Jun 2005 14:43:53 -0400
> From: Tong <[EMAIL PROTECTED]>
> To: debian-user <[email protected]>
> Subject: New xterm title setting
> Resent-Date: Mon, 20 Jun 2005 14:01:19 -0500 (CDT)
> Resent-From: [email protected]
>
> Hi,
>
> I used to set my own xterm titles, but after the recent upgrade, the
> title of my xterm and rxvt are changed to [EMAIL PROTECTED]:/pwd.
>
> How can use back to my own? (I think some system files have been changed,
> I didn't do any relevant changes before and after the upgrade).
>
> thanks
>
>
>
>
> --
> To UNSUBSCRIBE, email to [EMAIL PROTECTED]
> with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]
>
You can put this i .bashrc
if
#If this is an xterm set the title to [EMAIL PROTECTED]:dir
case $TERM in
xterm*)
PROMPT_COMMAND='echo -ne "\033]0;[EMAIL PROTECTED]: ${PWD}\007"'
;;
*)
;;
esac
fi
/ernst-magne
--
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]