delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2003/06/19/18:27:24

Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm
List-Subscribe: <mailto:cygwin-subscribe AT cygwin DOT com>
List-Archive: <http://sources.redhat.com/ml/cygwin/>
List-Post: <mailto:cygwin AT cygwin DOT com>
List-Help: <mailto:cygwin-help AT cygwin DOT com>, <http://sources.redhat.com/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
X-Injected-Via-Gmane: http://gmane.org/
To: cygwin AT cygwin DOT com
From: Weiqi Gao <weiqi DOT gao AT nisc DOT cc>
Subject: Re: changing bash window title
Date: Thu, 19 Jun 2003 17:02:28 -0500
Lines: 22
Message-ID: <bctbte$812$1@main.gmane.org>
References: <bcmi44$cus$1 AT main DOT gmane DOT org>
Mime-Version: 1.0
X-Complaints-To: usenet AT main DOT gmane DOT org
User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.0; en-US; rv:1.4b) Gecko/20030505
X-Accept-Language: en-us, en
In-Reply-To: <bcmi44$cus$1@main.gmane.org>

Sanjay Goel wrote:

> Hi,
> the bash window has title Cygwin by default .. whenever I do a telnet or
> lynx .. it changes the title .. how do I restore it again or change it to
> something custom ..

You can do a

     $ cmd /c title whatever

To change the title.  I have a bash script named "t" that contains the 
line "cmd /c title bash" in my path.  Every time my title is messed up 
(almost always after using lynx), I simply type "t" and the title is 
restored.

Not as politically correct as the "^[e;!@#$%^&*" alternative but it works.

--
Weiqi Gao
weiqigao AT networkusa DOT net



--
Unsubscribe info:      http://cygwin.com/ml/#unsubscribe-simple
Problem reports:       http://cygwin.com/problems.html
Documentation:         http://cygwin.com/docs.html
FAQ:                   http://cygwin.com/faq/

- Raw text -


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