www.delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2009/08/12/12:15:54

X-Recipient: archive-cygwin AT delorie DOT com
X-SWARE-Spam-Status: No, hits=0.0 required=5.0 tests=BAYES_50
X-Spam-Check-By: sourceware.org
From: "Jason Pyeron" <jpyeron AT pdinc DOT us>
To: <cygwin AT cygwin DOT com>
References: <20090812155808 DOT 311470 AT gmx DOT net>
Subject: RE: Issue with the titlebar
Date: Wed, 12 Aug 2009 12:18:02 -0400
Message-ID: <B4E20B6E71144299A79F8E5B78BDC5E1@phoenix>
MIME-Version: 1.0
In-Reply-To: <20090812155808.311470@gmx.net>
X-IsSubscribed: yes
Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm
List-Id: <cygwin.cygwin.com>
List-Unsubscribe: <mailto:cygwin-unsubscribe-archive-cygwin=delorie DOT com AT cygwin DOT 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

 

> -----Original Message-----
> From: cygwin-owner AT cygwin DOT com 
> [mailto:cygwin-owner AT cygwin DOT com] On Behalf Of Kilian Krockauer
> Sent: Wednesday, August 12, 2009 11:58
> To: cygwin AT cygwin DOT com
> Subject: Issue with the titlebar
> 
> Hello there,
> 
> I have quite a disturbing task my colleque gave to me. 
> He uses CygWin and has up to 10 Windows opened, now he's 
> getting tired of looking through every single Window when he 
> searches for a specific one. To be exact, he uses ssh to 
> connect to our servers and wants the titlebar to show which 
> server that specific window is logged on to. 
> Is that even possible? I've gone through the web and found 
> nothing helpful. I know that you can let the titlebar show a 
> process name, the full path and i guess even the Hostname, 
> because it is a variable, but everything i tried did not show 
> the Hostname of the server he logs on to. 

export title=`hostname`
export PS1='\[\e]0;$title\w\a\]\n\[\e[32m\]\u@\h \[\e[33m\]\w\[\e[0m\]\n\$ '

> 
> I would apreciate a rather quick help or response

You might want to hire someone....

--
-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-
-                                                               -
- Jason Pyeron                      PD Inc. http://www.pdinc.us -
- Principal Consultant              10 West 24th Street #100    -
- +1 (443) 269-1555 x333            Baltimore, Maryland 21218   -
-                                                               -
-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-
This message is copyright PD Inc, subject to license 20080407P00.


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