Andrew Gaffney <[EMAIL PROTECTED]> writes:
> I routinely have atleast 3 xterm's at any one time. I need a way to
> easily distinguish between them. Is there a command I can run from
> the xterm to change its title to something I specify?
personally, I like having a very clean prompt and keep the relevant
information about the shell in the titlebar, hence:
case $TERM in
linux) declare PS1='\w \$ ';;
*) declare PS1='\[\e]0;[EMAIL PROTECTED] (\t \d) \w\a\]\$ ';;
esac
this gives me titles like:
[EMAIL PROTECTED] (hh:mm:ss day month day-of-month) path
and a prompt consisting of "$ ". =)
--
Terje
--
[EMAIL PROTECTED] mailing list