Date: Sat, 06 Feb 2010 14:47:15 +0000 From: Matthew Seaman <m.seaman@black-earth.co.uk> To: Dominic Fandrey <kamikaze@bsdforen.de> Cc: Matthias Apitz <guru@unixarea.de>, freebsd-questions@freebsd.org Subject: Re: backup terminal title Message-ID: <4B6D80F3.7050707@black-earth.co.uk> In-Reply-To: <4B6D74EF.2090106@bsdforen.de> References: <4B6D62B3.4070702@bsdforen.de> <20100206125554.GA2173@current.Sisis.de> <4B6D74EF.2090106@bsdforen.de>
next in thread | previous in thread | raw e-mail | index | archive | help
[-- Attachment #1 --]
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.
Cheers,
Matthew
--
Dr Matthew J Seaman MA, D.Phil. 7 Priory Courtyard, Flat 3
Black Earth Consulting Ramsgate
Kent, CT11 9PW
Free and Open Source Solutions Tel: +44 (0)1843 580647
[-- Attachment #2 --]
-----BEGIN PGP SIGNATURE-----
Version: GnuPG/MacGPG2 v2.0.14 (Darwin)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org/
iEYEARECAAYFAkttgP8ACgkQ8Mjk52CukIw4lQCffN5d7YahG3rhwzPW/TIld0sP
/P0AoIkAHP/b6quAVYW0N/aB2WvcoEgF
=Tf1P
-----END PGP SIGNATURE-----
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?4B6D80F3.7050707>
