| delorie.com/archives/browse.cgi | search |
| 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:mime-version:in-reply-to:references:date | |
| :message-id:subject:from:to:content-type; q=dns; s=default; b=B7 | |
| qLFjgSasSb95eHxnPhSQrguEPmO9tXNRgCABtDxRJhyxWcffY8d9hYhm2F1u+49d | |
| ZRWnvY0fEmwyheanPwz7LkvXj1gYG4VfeTINzm6ovp8F6oYnUv3WSSLJNjRXTnvJ | |
| fdkVRP+N+w5y7aPJgI7Iznj2ChU0IDo98GvCdAiu4= | |
| 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:mime-version:in-reply-to:references:date | |
| :message-id:subject:from:to:content-type; s=default; bh=mX/iPSvz | |
| W663kN2i5k8lPp4CHos=; b=orl2q7bAvX+uvKOl8k7S/P1rbskyGTDDN60/QM0E | |
| ccg+1/8Ys8/2RrUQzbOrvecMqeD26jvF7943oDIKzpd68QHPreg51SUlPuzVtbgn | |
| o3rNefgnpgEwhkuNtDyjOm+rTQM3UNykPQ8hlf42zgFXyNCKmJyaC0KkVUS7CGrg | |
| 2f4= | |
| 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.1 required=5.0 tests=AWL,BAYES_00,FREEMAIL_ENVFROM_END_DIGIT,FREEMAIL_FROM,RCVD_IN_DNSWL_LOW,SPF_PASS autolearn=ham version=3.3.2 |
| X-HELO: | mail-pa0-f41.google.com |
| MIME-Version: | 1.0 |
| X-Received: | by 10.68.170.36 with SMTP id aj4mr10485907pbc.54.1397031932959; Wed, 09 Apr 2014 01:25:32 -0700 (PDT) |
| In-Reply-To: | <CAEhDDbDvJkfWCw5X_6HUoGaW=H4m04CSLbJVbBeEs7S6eQZCtw@mail.gmail.com> |
| References: | <CAOSUUSo-UMTJY0o5D1PBGix50NRvxmuzhTaTpqKtrOomCZBT0w AT mail DOT gmail DOT com> <20140408145502 DOT GA25569 AT tastycake DOT net> <CAEhDDbDvJkfWCw5X_6HUoGaW=H4m04CSLbJVbBeEs7S6eQZCtw AT mail DOT gmail DOT com> |
| Date: | Wed, 9 Apr 2014 09:25:32 +0100 |
| Message-ID: | <CAOSUUSoOTQX5=YAeBNYDo_7yL9M1FGUDrM0sBSp8nw-f0w8sXA@mail.gmail.com> |
| Subject: | Re: set Cygwin terminal title |
| From: | xmoon 2000 <xmoon2000 AT googlemail DOT com> |
| To: | cygwin <cygwin AT cygwin DOT com> |
| X-IsSubscribed: | yes |
@Csaba Yes - that works.
Actually that's a big help - because within my looping bash script
that is keeping the window title up/changing until scripts stops .
Which is perfect.
thanks you
On 9 April 2014 08:37, Csaba Raduly <rcsaba AT gmail DOT com> wrote:
> On Tue, Apr 8, 2014 at 4:55 PM, Adam Dinwoodie wrote:
>> 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.
>
> xmoon, if you are experimenting with setting the terminal title and
> indeed PS1 is resetting it, try putting a sleep command after the
> title-setting echo:
>
> echo -ne "\033]2;I am ${USER}@${HOSTNAME} at ${PWD}\007"; sleep 3
>
> Now you can admire the new title for three seconds.
>
> Csaba, whose echo $PS1 says
> \[\e]0;\u@\h: \w\a\]${debian_chroot:+($debian_chroot)}\[\033[00;32m\]\u@\h\[\033[00m\]:\[\033[01;34m\]\w\[\033[00m\]\n\$
> --
> GCS a+ e++ d- C++ ULS$ L+$ !E- W++ P+++$ w++$ tv+ b++ DI D++ 5++
> The Tao of math: The numbers you can count are not the real numbers.
> Life is complex, with real and imaginary parts.
> "Ok, it boots. Which means it must be bug-free and perfect. " -- Linus Torvalds
> "People disagree with me. I just ignore them." -- Linus Torvalds
>
> --
> 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
>
--
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
| webmaster | delorie software privacy |
| Copyright © 2019 by DJ Delorie | Updated Jul 2019 |