delorie.com/archives/browse.cgi | search |
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 |
Message-ID: | <010201c264bb$6566e7e0$42920f50@exostation> |
From: | "Francois de Campagnolle" <frc AT myrealbox DOT com> |
To: | <cygwin AT cygwin DOT com> |
References: | <7424935D9B6CD311B72800508B108FD20D1767BE AT emss03m08 DOT orl DOT lmco DOT com> |
Subject: | Re: bash window title - can I add hostname to it? |
Date: | Wed, 25 Sep 2002 19:45:52 +0200 |
MIME-Version: | 1.0 |
X-Priority: | 3 |
X-MSMail-Priority: | Normal |
X-MIMEOLE: | Produced By Microsoft MimeOLE V6.00.2600.0000 |
----- Original Message ----- From: "Zieg, Mark" <mark DOT zieg AT lmco DOT com> To: "'Gord Wait'" <Gord_Wait AT spectrumsignal DOT com>; <cygwin AT cygwin DOT com> Sent: Tuesday, September 24, 2002 11:27 PM Subject: RE: bash window title - can I add hostname to it? > This does that for me: > > export PS1="\[\e]2;\h:\w\007\e[1;36m\]\h [\[\e[1;35m\]\w\[\e[1;36m\]] \u $ > \[\e[1;33m\]" > > (Note that you need to have such a prompt on every computer you telnet to, > as well -- they're the ones that send the ANSI sequences to your terminal > client to set the title.) I suppose you can alias telnet, rsh and the likes to change title before connecting to the remote box. > > -----Original Message----- > From: Gord Wait [mailto:Gord_Wait AT spectrumsignal DOT com] > Sent: Tuesday, September 24, 2002 5:04 PM > To: cygwin AT cygwin DOT com > Subject: bash window title - can I add hostname to it? > > > I've been starting to use the telnet feature in cygwin's inetutils a lot > lately, > and it would be great if I could learn how to set the label of the bash > window > to include hostname as well as the current directory it displays now. > I can't tell which of the two bash windows is which since both are running a > 24 hour long FPGA compile.. > > Is there a way to do this? > I'd be happy if it was a copy of the "PS1" value.. > > Gord Wait > > -- > Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple > Bug reporting: http://cygwin.com/bugs.html > Documentation: http://cygwin.com/docs.html > FAQ: http://cygwin.com/faq/ > > -- > Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple > Bug reporting: http://cygwin.com/bugs.html > Documentation: http://cygwin.com/docs.html > FAQ: http://cygwin.com/faq/ > > > -- Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple Bug reporting: http://cygwin.com/bugs.html Documentation: http://cygwin.com/docs.html FAQ: http://cygwin.com/faq/
webmaster | delorie software privacy |
Copyright © 2019 by DJ Delorie | Updated Jul 2019 |