delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2010/01/07/16:59:22

X-Recipient: archive-cygwin AT delorie DOT 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 AT wayne DOT edu>
To: <cygwin AT cygwin DOT com>
References: <205934 DOT 59166 DOT qm AT web32007 DOT mail DOT mud DOT yahoo DOT com> <4B465467 DOT 7050109 AT cygwin DOT com>
Subject: Re: changing cygwin's console window title
Date: Thu, 7 Jan 2010 16:59:12 -0500
MIME-Version: 1.0
X-IsSubscribed: yes
Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm
List-Id: <cygwin.cygwin.com>
List-Subscribe: <mailto:cygwin-subscribe AT cygwin DOT com>
List-Archive: <http://sourceware.org/ml/cygwin/>
List-Post: <mailto:cygwin AT cygwin DOT com>
List-Help: <mailto:cygwin-help AT cygwin DOT com>, <http://sourceware.org/ml/#faqs>
Sender: cygwin-owner AT cygwin DOT com
Mail-Followup-To: cygwin AT cygwin DOT com
Delivered-To: mailing list cygwin AT cygwin DOT 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

- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019