X-Recipient: archive-cygwin@delorie.com
X-SWARE-Spam-Status: No, hits=-1.0 required=5.0 	tests=AWL,BAYES_00
X-Spam-Check-By: sourceware.org
Message-ID: <AA66DA25CC694DBFA3B8AA17C2D99816@cit.wayne.edu>
From: "Lee Maschmeyer" <lee_maschmeyer@wayne.edu>
To: <cygwin@cygwin.com>
References: <205934.59166.qm@web32007.mail.mud.yahoo.com> <4B465467.7050109@cygwin.com>
Subject: Re: changing cygwin's console window title
Date: Thu, 7 Jan 2010 16:59:12 -0500
MIME-Version: 1.0
Content-Type: text/plain; 	format=flowed; 	charset="UTF-8"; 	reply-type=response
Content-Transfer-Encoding: 7bit
X-IsSubscribed: yes
Mailing-List: contact cygwin-help@cygwin.com; run by ezmlm
List-Id: <cygwin.cygwin.com>
List-Subscribe: <mailto:cygwin-subscribe@cygwin.com>
List-Archive: <http://sourceware.org/ml/cygwin/>
List-Post: <mailto:cygwin@cygwin.com>
List-Help: <mailto:cygwin-help@cygwin.com>, <http://sourceware.org/ml/#faqs>
Sender: cygwin-owner@cygwin.com
Mail-Followup-To: cygwin@cygwin.com
Delivered-To: mailing list cygwin@cygwin.com

Using the console window, I keep the Cygwin window title the same as much as 
I can. It works pretty well (for the commands I happen to use) by setting 
notitle in the CYGWIN variable and putting these lines in .bashrc:

    settitle() { printf %s $'\033'"]2;$@"$'\007\033'"]1;$@"$'\007'; }
    export PROMPT_COMMAND='settitle "Cygwin Bash shell"'

-- 
Lee Maschmeyer
Wayne State University Computing Center
5925 Woodward, #281
Detroit MI 48202
USA 


--
Problem reports:       http://cygwin.com/problems.html
FAQ:                   http://cygwin.com/faq/
Documentation:         http://cygwin.com/docs.html
Unsubscribe info:      http://cygwin.com/ml/#unsubscribe-simple

