From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 26557 invoked by alias); 8 Apr 2014 14:55:09 -0000 Mailing-List: contact cygwin-help@cygwin.com; run by ezmlm Precedence: bulk List-Id: List-Subscribe: List-Archive: List-Post: List-Help: , Sender: cygwin-owner@cygwin.com Mail-Followup-To: cygwin@cygwin.com Received: (qmail 26547 invoked by uid 89); 8 Apr 2014 14:55:09 -0000 Authentication-Results: sourceware.org; auth=none X-Virus-Found: No X-Spam-SWARE-Status: No, score=-1.0 required=5.0 tests=AWL,BAYES_05,SPF_PASS autolearn=ham version=3.3.2 X-HELO: northrend.tastycake.net Received: from northrend.tastycake.net (HELO northrend.tastycake.net) (212.13.201.165) by sourceware.org (qpsmtpd/0.93/v0.84-503-g423c35a) with (AES128-SHA encrypted) ESMTPS; Tue, 08 Apr 2014 14:55:05 +0000 Received: from adam by northrend.tastycake.net with local (Exim 4.80) (envelope-from ) id 1WXXQU-00086O-GA for cygwin@cygwin.com; Tue, 08 Apr 2014 15:55:02 +0100 Date: Tue, 08 Apr 2014 14:55:00 -0000 From: Adam Dinwoodie To: cygwin@cygwin.com Subject: Re: set Cygwin terminal title Message-ID: <20140408145502.GA25569@tastycake.net> References: MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: User-Agent: Mutt/1.5.21 (2010-09-15) X-IsSubscribed: yes X-SW-Source: 2014-04/txt/msg00160.txt.bz2 On Tue, Apr 08, 2014 at 03:24:29PM +0100, xmoon 2000 wrote: > Ho can I set Cygwin termnal title? > > I have tried echoing every escape sequence I have found on web. > > None seem to work. It's reasonably likely your `$PS1` includes a line to set the terminal title; I think the default Cygwin Bash profile files do that. If that's the case, an escape sequence command to set the terminal title will work, but will then be immediately reset by the Bash prompt being displayed. To check, run `echo "$PS1"` and see if that includes a bunch of escape sequences. If it does, to change that behaviour you'll need to work out which file is setting `$PS1` and fix it. It'll probably be one of `~/.bashrc`, `~/.profile` or `~/.bash_profile`. If that doesn't get you anywhere, read through the below, including the link on how to ask smart questions. You've really not given us much to go on to help you. > Problem reports: http://cygwin.com/problems.html -- 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