Date: Sat, 06 Feb 2010 17:40:11 +0100 From: Dominic Fandrey <kamikaze@bsdforen.de> To: Matthew Seaman <m.seaman@black-earth.co.uk> Cc: Matthias Apitz <guru@unixarea.de>, freebsd-questions@freebsd.org Subject: Re: backup terminal title Message-ID: <4B6D9B6B.40800@bsdforen.de> In-Reply-To: <4B6D8377.1090005@bsdforen.de> References: <4B6D62B3.4070702@bsdforen.de> <20100206125554.GA2173@current.Sisis.de> <4B6D74EF.2090106@bsdforen.de> <4B6D80F3.7050707@black-earth.co.uk> <4B6D8377.1090005@bsdforen.de>
next in thread | previous in thread | raw e-mail | index | archive | help
Dominic Fandrey wrote: > 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@hostname:/current/directory'. Porting >> this escape sequence to other shells left as an exercise for the student. > > Also this doesn't really relate to the question, does it? I realize my wording should be clearer. I wish to use the "\033]0;%s\007" sequence in a shell-script to set the title of a terminal. But only if I am able to undo it. My requirement is that this must be done without using anything outside the base system. -- 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?
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?4B6D9B6B.40800>