delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2014/04/08/10:55:26

X-Recipient: archive-cygwin AT delorie DOT com
DomainKey-Signature: a=rsa-sha1; c=nofws; d=sourceware.org; h=list-id
:list-unsubscribe:list-subscribe:list-archive:list-post
:list-help:sender:date:from:to:subject:message-id:references
:mime-version:content-type:in-reply-to; q=dns; s=default; b=GFuX
2ZIK0XND52DD4vtvEdMTEvjrwY15q4pvL+4tCtr3WMGgrrM2GBFo55Vyde1XblfH
zGEE31KIA22RR2Lk+epPj8PaY/IWSKmks9sjiQw8hj53UMpTf9vGdN4bf5z/F3vF
pXHEwvxwFg6oPTUJtd9dxYfTjvnQMul4TU5tyDU=
DKIM-Signature: v=1; a=rsa-sha1; c=relaxed; d=sourceware.org; h=list-id
:list-unsubscribe:list-subscribe:list-archive:list-post
:list-help:sender:date:from:to:subject:message-id:references
:mime-version:content-type:in-reply-to; s=default; bh=i99jjIBBue
F8HHLPTxDB2UCu7jg=; b=L4apZWs4J4Yljw/tc8jIr44ULraLdvuAMRYMOvC+mE
gg7B8BJe9tWbCeh8/wAd99TExpfSN6yFbxkf6VzzmY9IBARhv961X/gkDYYIPDZS
5RYR1F7MFqWKrArynLtiPfSzhCgd/LY9laI41jaqEd7mgMHixIzHUHLUEkejXVP5
A=
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
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
Date: Tue, 8 Apr 2014 15:55:02 +0100
From: Adam Dinwoodie <adam AT dinwoodie DOT org>
To: cygwin AT cygwin DOT com
Subject: Re: set Cygwin terminal title
Message-ID: <20140408145502.GA25569@tastycake.net>
References: <CAOSUUSo-UMTJY0o5D1PBGix50NRvxmuzhTaTpqKtrOomCZBT0w AT mail DOT gmail DOT com>
MIME-Version: 1.0
In-Reply-To: <CAOSUUSo-UMTJY0o5D1PBGix50NRvxmuzhTaTpqKtrOomCZBT0w@mail.gmail.com>
User-Agent: Mutt/1.5.21 (2010-09-15)
X-IsSubscribed: yes

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

- Raw text -


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