Mailing-List: contact cygwin-help@sourceware.cygnus.com; run by ezmlm
List-Subscribe: <mailto:cygwin-subscribe@sources.redhat.com>
List-Archive: <http://sources.redhat.com/ml/cygwin/>
List-Post: <mailto:cygwin@sources.redhat.com>
List-Help: <mailto:cygwin-help@sources.redhat.com>, <http://sources.redhat.com/ml/#faqs>
Sender: cygwin-owner@sources.redhat.com
Delivered-To: mailing list cygwin@sources.redhat.com
To: "Peoter Veliki" <peoter_veliki@hotmail.com>
Cc: <cygwin@cygwin.com>
Subject: Re: placing title in cygwin window
References: <3BA929D0.15327.2F5FE81C@localhost>
	<OE708rBKXGA7zyWR4At0000bdf7@hotmail.com>
	<m3itee4yzj.fsf@localhost.localdomain>
From: Andrew Markebo <flognat@flognat.myip.org>
Date: 20 Sep 2001 00:14:33 +0200
In-Reply-To: <m3itee4yzj.fsf@localhost.localdomain>
Message-ID: <m38zfa4yly.fsf@localhost.localdomain>
Lines: 34
User-Agent: Gnus/5.0808 (Gnus v5.8.8) Emacs/20.7
MIME-Version: 1.0
Content-Type: text/plain; charset=us-ascii


Ouch hmm must have been my escapes hiding the message, here it comes
in normal text-mode.. for ease up of reading I assume.. Zip file in
previous mail.

/ "Peoter Veliki" <peoter_veliki@hotmail.com> wrote:
| I seem to just have a title that includes the path, such as ~.  I need to
| have a title, don't ask why.  How can I add one?

Do a prompt something like:

 PROMPT="%{^[];%m:%~^G%}%n@%m:%.<%?> "

It is a bunch of escapes there telling the terminal to put a string in
the title.. Doublecheck when you add it to your login-script that ^[
is ascii 27 and ^G is the ascii for control-g.. whatever it is.. For
more fun, add a, printing the time out to the right.. 

 RPROMPT='%(t.DING!.%D{%H:%M})'


        /Andy

p.s. included as a text-file in a zip so you can hopefully use so we
are sure we get the correct escapes.. 
/ Andrew Markebo <flognat@flognat.myip.org> wrote:
| --
| Unsubscribe info:      http://cygwin.com/ml/#unsubscribe-simple
| Bug reporting:         http://cygwin.com/bugs.html
| Documentation:         http://cygwin.com/docs.html
| FAQ:                   http://cygwin.com/faq/

-- 
 The eye of the beholder rests on the beauty!

--
Unsubscribe info:      http://cygwin.com/ml/#unsubscribe-simple
Bug reporting:         http://cygwin.com/bugs.html
Documentation:         http://cygwin.com/docs.html
FAQ:                   http://cygwin.com/faq/

