- To: Slug <slug@xxxxxxxxxxx>
- Subject: Re: [SLUG] glibc rpm and compile for platform
- From: Simon Wong <SJPWong@xxxxxxxxxxx>
- Date: Sat Aug 25 23:01:02 2001
On Fri, 2001-08-24 at 20:25, Ken Foskey wrote:
> codes reliable in the sense they work on most terminals, or at least
> fail to do anything? I digress....
They seem top work fine on gnome-terminal, xvt, xterm and do nothing on
Rxvt.
I used Jamie's codes with slight change to user/host/path format:
case $TERM in
xterm*)
TITLEBAR='\[\033]0;<\u@\H> \w\007\]'
;;
*)
TITLEBAR=''
;;
esac
PS1="${TITLEBAR}[\u@\h]$ "
--
*************************
* Simon Wong *
* *
* <SJPWong@xxxxxxxxxxx> *
* *
*************************