[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: konsole title bar

On Sunday 11 July 2004 10:39, Ruth A. Kramer wrote:
> Bud Rogers wrote:
> > I worked out how to do what I wanted about ten minutes after I sent
> > this.  Sorry for the bandwidth.
> Well, how about letting the rest of us in on the secret?

I added the following to my .bashrc.  Google led me to it finally.  I'm 
still not sure how to parse that escape sequence, but it does exactly 
what I want.

if [ "$TERM" = "xterm" ]; then
                PS1="\033]2;\u@\h:\w\007$ "
	PS1="\u@\h:\w\\$ "
export PS1

Bud Rogers	<budr@netride.net>	 KD5SZ

Reply to: