backup terminal title

Dominic Fandrey kamikaze at
Sat Feb 6 14:58:00 UTC 2010

Matthew Seaman wrote:
> On 06/02/2010 13:55, Dominic Fandrey wrote:
>> Nice, but I need something that works with base system
>> components. Like an escape sequence that causes the terminal
>> to reset its title.
> Something like this for tcsh:
> set prompt = '%{\033]0;%n@%m:%/\007%}%B%m%b:%c03:%# '
> Sets the window title to 'user at hostname:/current/directory'.  Porting
> this escape sequence to other shells left as an exercise for the student.

Already experimented with that, but it makes tcsh believe the prompt
is longer than it really is. So it will blow up when you move your
cursor around in long commands.

Also this doesn't really relate to the question, does it?

A: Because it fouls the order in which people normally read text.
Q: Why is top-posting such a bad thing?
A: Top-posting.
Q: What is the most annoying thing on usenet and in e-mail? 

More information about the freebsd-questions mailing list