www.delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2010/09/24/06:32:11

X-Recipient: archive-cygwin AT delorie DOT com
X-SWARE-Spam-Status: No, hits=1.5 required=5.0 tests=AWL,BAYES_40,T_RP_MATCHES_RCVD
X-Spam-Check-By: sourceware.org
MIME-Version: 1.0
Subject: RE: Have idea for titlebar tweak -- need help with syntax
Date: Fri, 24 Sep 2010 12:31:41 +0200
Message-ID: <938D7E14D9AF6B42936905D8DE7D452B0163D267@PEGASUS.lokal.lan>
In-Reply-To: <4C9C6C3A.9020805@charter.net>
References: <4C9C6C3A DOT 9020805 AT charter DOT net>
From: =?iso-8859-1?Q?Eirik_Nordbr=F8den?= <eirik DOT nordbroden AT morecom DOT no>
To: "SJ Wright" <sjwright68 AT charter DOT net>,
"Cygwin User Mailing List" <cygwin AT cygwin DOT com>
X-Mlf-Version: 7.2.3.3259
X-Mlf-UniqueId: o201009241043210066973
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

>
> Any help in this regard would be much appreciated.
>=20
> Steve W.

I have these in my .bash_profile file:

# Terminal title
PROMPT_COMMAND=3D'echo -ne "\033]0;${USER}@${HOSTNAME}: ${PWD}\007"'

Works at least for xterm and MinTTY.

Eirik Nordbr=F8den, Morecom A/S
(+47) 90174789


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