delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2014/04/10/03:32:35

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=OK
XkGbrrZJQ6q9hUpWfnf0bNWQUIBstwCN3tP6kQKEsr1wAnJ0aSUNycQAtbtFA4r1
fIStsFqtmnuXWRgonFmvLFwGJC0c9IKGyxNqTgcrR/hQxhMpyVYrlhY7gcI3LttE
jvlnE9tNwzbjk7mpvLGUTHVPrp5cquWPPt+0kUP+U=
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=YCMwzW0f
rjqDaz1lmwoGAt8y0fo=; b=Zy8UNWbcZhqAjxapggSjKH4jeaPtSEb1oVo8g6Dl
EXZeHDfGzpV5Nd51Dg8UEgx8qu3HmJ/kog5avXdvUXWiShPkEHjXDq7ZRrtOCSNH
woIj+/DawpnhqqCY/D0hfgSYUeNxtpnYTn04WRgjsFzqJFY5DbWN+npL92RAg0vT
JII=
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=-2.2 required=5.0 tests=AWL,BAYES_00,FREEMAIL_FROM,RCVD_IN_DNSWL_LOW,SPF_PASS autolearn=ham version=3.3.2
X-HELO: mail-we0-f177.google.com
MIME-Version: 1.0
X-Received: by 10.180.81.138 with SMTP id a10mr2805647wiy.53.1397115129655; Thu, 10 Apr 2014 00:32:09 -0700 (PDT)
In-Reply-To: <CAOSUUSoOTQX5=YAeBNYDo_7yL9M1FGUDrM0sBSp8nw-f0w8sXA@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> <CAOSUUSoOTQX5=YAeBNYDo_7yL9M1FGUDrM0sBSp8nw-f0w8sXA AT mail DOT gmail DOT com>
Date: Thu, 10 Apr 2014 09:32:09 +0200
Message-ID: <CAEhDDbAxaKn5q6Pu25Xuz7LvnqOyFXWcQWKwfC6ua7Du90k1Vw@mail.gmail.com>
Subject: Re: set Cygwin terminal title
From: Csaba Raduly <rcsaba AT gmail DOT com>
To: cygwin list <cygwin AT cygwin DOT com>

Hi xmoon,

Please don't top-post (http://cygwin.com/acronyms/#TOFU)

On Wed, Apr 9, 2014 at 10:25 AM, xmoon 2000  wrote:
> @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.

When you have a long-running script, you don't need to call sleep; you
can set the title and then run the script. When the script ends, the
title will be reset by PS1.

A more permanent solution could be this script:
http://www.twistedmatrix.com/users/glyph/preexec.bash.txt

It will change the terminal title to the running command without you
having to explicitly set it.

Csaba
-- 
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

- Raw text -


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