From owner-freebsd-questions@FreeBSD.ORG Sat Feb 6 14:47:35 2010 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 08BB41065679 for ; Sat, 6 Feb 2010 14:47:35 +0000 (UTC) (envelope-from m.seaman@black-earth.co.uk) Received: from smtp.infracaninophile.co.uk (gate6.infracaninophile.co.uk [IPv6:2001:8b0:151:1::1]) by mx1.freebsd.org (Postfix) with ESMTP id 85D678FC12 for ; Sat, 6 Feb 2010 14:47:34 +0000 (UTC) Received: from seedling.black-earth.co.uk (seedling.black-earth.co.uk [81.187.76.163]) (authenticated bits=0) by smtp.infracaninophile.co.uk (8.14.4/8.14.4) with ESMTP id o16ElRo4027462 (version=TLSv1/SSLv3 cipher=DHE-RSA-CAMELLIA256-SHA bits=256 verify=NO); Sat, 6 Feb 2010 14:47:27 GMT (envelope-from m.seaman@black-earth.co.uk) X-DKIM: Sendmail DKIM Filter v2.8.3 smtp.infracaninophile.co.uk o16ElRo4027462 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=black-earth.co.uk; s=201001-black-earth; t=1265467648; bh=2POIyHpkVhMaXvrlwe2sTPazRRssw2Kdl8R/xDGkLr4=; h=Message-ID:Date:From:MIME-Version:To:CC:Subject:References: In-Reply-To:Content-Type:Cc:Content-Type:Date:From:In-Reply-To: Message-ID:Mime-Version:References:To; z=Message-ID:=20<4B6D80F3.7050707@black-earth.co.uk>|Date:=20Sat,=2 006=20Feb=202010=2014:47:15=20+0000|From:=20Matthew=20Seaman=20|User-Agent:=20Mozilla/5.0=20(Macintosh=3 B=20U=3B=20Intel=20Mac=20OS=20X=2010.6=3B=20en-GB=3B=20rv:1.9.1.7) =20Gecko/20100111=20Thunderbird/3.0.1|MIME-Version:=201.0|To:=20Do minic=20Fandrey=20|CC:=20Matthias=20Apitz=20 ,=20freebsd-questions@freebsd.org|Subject:=20Re: =20backup=20terminal=20title|References:=20<4B6D62B3.4070702@bsdfo ren.de>=09<20100206125554.GA2173@current.Sisis.de>=20<4B6D74EF.209 0106@bsdforen.de>|In-Reply-To:=20<4B6D74EF.2090106@bsdforen.de>|X- Enigmail-Version:=201.0|Content-Type:=20multipart/signed=3B=20mica lg=3Dpgp-sha1=3B=0D=0A=20protocol=3D"application/pgp-signature"=3B =0D=0A=20boundary=3D"------------enig883F72902B5F23C7F961E4B6"; b=Q1nYWneL2zrCgcY1qQacIhdwj5bbCy+DWfGZJKafB8J3Ra6L1HXdIS7Mc2ZZWQy6s CvXezBiyJEvMKmg9Ck2iBSs5QV4CSGh3qRsVeyZUVyi8fKMeA0VbpJo1YXWm25/Hvg 8ZEt6jvbo/8EANF6X7KqsI+qQBgSCtsRXdDFOiIg= Message-ID: <4B6D80F3.7050707@black-earth.co.uk> Date: Sat, 06 Feb 2010 14:47:15 +0000 From: Matthew Seaman User-Agent: Mozilla/5.0 (Macintosh; U; Intel Mac OS X 10.6; en-GB; rv:1.9.1.7) Gecko/20100111 Thunderbird/3.0.1 MIME-Version: 1.0 To: Dominic Fandrey References: <4B6D62B3.4070702@bsdforen.de> <20100206125554.GA2173@current.Sisis.de> <4B6D74EF.2090106@bsdforen.de> In-Reply-To: <4B6D74EF.2090106@bsdforen.de> X-Enigmail-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="------------enig883F72902B5F23C7F961E4B6" X-Virus-Scanned: clamav-milter 0.95.3 at happy-idiot-talk.infracaninophile.co.uk X-Virus-Status: Clean X-Spam-Status: No, score=-1.7 required=5.0 tests=AWL,BAYES_00,DKIM_SIGNED, DKIM_VERIFIED,SPF_FAIL autolearn=no version=3.2.5 X-Spam-Checker-Version: SpamAssassin 3.2.5 (2008-06-10) on happy-idiot-talk.infracaninophile.co.uk Cc: Matthias Apitz , freebsd-questions@freebsd.org Subject: Re: backup terminal title X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 06 Feb 2010 14:47:35 -0000 This is an OpenPGP/MIME signed message (RFC 2440 and 3156) --------------enig883F72902B5F23C7F961E4B6 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable 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 =3D '%{\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 --=20 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 --------------enig883F72902B5F23C7F961E4B6 Content-Type: application/pgp-signature; name="signature.asc" Content-Description: OpenPGP digital signature Content-Disposition: attachment; filename="signature.asc" -----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----- --------------enig883F72902B5F23C7F961E4B6--