From: johnsone@camax.com (Eric Johnson)
Subject: Re: Machine Name in The Title bar???
Date: Fri, 14 Oct 1994 18:48:35 GMT [thread overview]
Message-ID: <1994Oct14.184835.9098@camax.com> (raw)
In-Reply-To: FUHRMANN.94Oct11145024@weyl.iaas-berlin.de
fuhrmann@weyl.iaas-berlin.de (FUHRMANN) writes:
>In article <37bpie$8sd@nyx10.cs.du.edu>, mhatz@nyx10.cs.du.edu (Mike Hatz) writes:
>|>
>|> Is there a script someone could send along or give a hint for a hack that
>|> displays the machine name you are logged into in the window title?
(ksh method deleted...)
I, too, log in to other systems quite a lot.
I use the following C shell (csh) alias:
alias xcd 'cd \!* ; echo -n "^[]2;`whoami` @ `hostname` `pwd` ^G"'
^[ is ESCAPE
^G is bell (ASCII 7)
With this, I can use `xcd' in place of `cd'. It places the
current username, hostname and directory in the window title
bar (using xterm windows).
More on this can be found in Using X by Johnson (yours truly)
and Reichard, MIS: Press.
Hope this helps,
-Eric
--
Eric F. Johnson email: johnsone@camax.com
CAMAX Manufacturing Technologies phone: +1 612 854 5300
7851 Metro Parkway fax: +1 612 854 6644
Minneapolis, MN 55425-1528 USA
next prev parent reply other threads:[~1994-10-14 18:48 UTC|newest]
Thread overview: 10+ messages / expand[flat|nested] mbox.gz Atom feed top
1994-10-10 16:19 Machine Name in The Title bar??? Mike Hatz
1994-10-10 19:20 ` Ajay Shekhar
1994-10-11 13:50 ` FUHRMANN
1994-10-14 18:48 ` Eric Johnson [this message]
1994-10-15 17:16 ` Torbj|rn Lindgren
1994-10-13 14:34 ` John William Chambless
1994-10-13 15:41 ` John William Chambless
1994-10-13 19:27 ` oberman
1994-10-14 6:52 ` Arto V. Viitanen
1994-10-15 10:48 ` Christian Javet
read-only archive
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox