delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2001/05/01/13:15:20

Mailing-List: contact cygwin-help AT sourceware DOT cygnus DOT com; run by ezmlm
List-Subscribe: <mailto:cygwin-subscribe AT sources DOT redhat DOT com>
List-Archive: <http://sources.redhat.com/ml/cygwin/>
List-Post: <mailto:cygwin AT sources DOT redhat DOT com>
List-Help: <mailto:cygwin-help AT sources DOT redhat DOT com>, <http://sources.redhat.com/ml/#faqs>
Sender: cygwin-owner AT sources DOT redhat DOT com
Delivered-To: mailing list cygwin AT sources DOT redhat DOT com
Message-ID: <3AEEE8BE.61C6070A@lightbridge.com>
Date: Tue, 01 May 2001 12:47:58 -0400
From: Louis Bohm <lbohm AT lightbridge DOT com>
Reply-To: lbohm AT lightbridge DOT com
Organization: Lightbridge Inc.
X-Mailer: Mozilla 4.76 [en] (Windows NT 5.0; U)
X-Accept-Language: en
MIME-Version: 1.0
To: jmerz42 AT earthlink DOT net, "cygwin AT cygwin DOT com" <cygwin AT cygwin DOT com>
Subject: Re: Who controls window title??
References: <200105010849 DOT tetmp6 DOT mc8 DOT 37tiucr AT kestrel> <3AEEE399 DOT 8070009 AT earthlink DOT net>

Thanks,  This is one really cool program... Builds like a dream.

I added the suggested function you had and loved it.  I even created the
following so I know where I am going when I telnet:

function telnet_xttitle {
        xttitle.exe $(echo $1)
        \/usr/bin/settelnet $1
        xttitle.exe $(echo $HOSTNAME)
}
alias telnet='telnet_xttitle'


Thanks again for listing it here.


Louis

Jonathon Merz wrote:

> Mark Paulus wrote:
>
> > Hi,
> >
> > I don't remember having run across this anywhere.  However,
> > if it has been discussed, I would appreciate pointers to the
> > relevant locations....
> >
> > Anyway, I have cygwin installed on my Win2K box @ work,
> > and as I mentioned in a previous thread, I have cygwin
> > installed on my WinME box @ home, with access through
> > my DMZ @ home.   However, here's my problem.  When I
> > have windows up for both of them, they usually only have the
> > path displayed in the title.  So, when I have several windows
> > iconized to the task bar, I really don't know which window
> > goes to which machine, unless I expand them.  Is there a way
> > to have the machine name added to the string displayed by
> > the window title.  I'm not sure if this is a windows thing, or
> > a bash/cygwin thing, or a combo of both.  Any help/pointers
> > would be appreciated.
> >
> >
> > Thanks.
> >
>
> There is a small GPL'd utility that I think will do what you want.  It's
> called xttitle, you can get it at:
>
>         http://www.jarvis.com/xttitle/
>
>   The "official" build (ie Makefile) didn't run properly on Cygwin when I
> tried it last, but there is only one source file, and it compiled fine with
> gcc not using make, so you shouldn't have any trouble.
>
> I have the following function in my .bashrc:
>
> function cd_xttitle {
>     \cd $1
>     xttitle.exe $(echo $HOSTNAME:$PWD)
> }
>
> and I have my cd aliased as:
>
> alias cd='cd_xttitle'
>
> This will keep the window title to what you are asking for I believe.
>
> Hope that helps,
>
> Jon
>
> --
>
> -------------------------------------
>   If you had a million Shakespeares,
>   could they write like a monkey?
>
> --
> Want to unsubscribe from this list?
> Check out: http://cygwin.com/ml/#unsubscribe-simple

--
¤¤º°`°º¤ø,¸¸,ø¤º°`°º¤øø¤º°`°º¤ø,¸¸,ø¤º°`°º¤øø¤º°`°º¤
¤°`°Systems  Manager and Tivoli Support Geek
¤°`°Lightbridge, Inc
¤°`°67 South Bedford St.
¤°`°Burlington MA 01832
¤°`°781.359.4795 mailto:lbohm AT lightbridge DOT com
¤°`°http://www.lightbridge.com
¤°`°Free Tivoli scripts at: http://www.microgeek.com
¤¤º°`°º¤ø,¸¸,ø¤º°`°º¤øø¤º°`°º¤ø,¸¸,ø¤º°`°º¤øø¤º°`°º¤



--
Want to unsubscribe from this list?
Check out: http://cygwin.com/ml/#unsubscribe-simple

- Raw text -


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