From: tl@cd.chalmers.se (Torbj|rn Lindgren)
Subject: Re: Machine Name in The Title bar???
Date: 15 Oct 1994 17:16:08 GMT [thread overview]
Message-ID: <37p2oo$7ih@nyheter.chalmers.se> (raw)
In-Reply-To: 1994Oct14.184835.9098@camax.com
In article <1994Oct14.184835.9098@camax.com>,
Eric Johnson <johnsone@camax.com> wrote:
>alias xcd 'cd \!* ; echo -n "^[]2;`whoami` @ `hostname` `pwd` ^G"'
[...]
>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).
Is anyone still using csh? I thought everone had switched to tcsh long
ago ;-) tcsh invokes the alias cwdcmd when the working directory is
changed (if that alias exists). This makes it trivial to change the
title-bar when the working directory is changed.
I uses alias cwdcmd echo -n '"^[]1;${HOST}\a^[]2;${HOST}:`dirs`\a"'
This changes both the title and the icon-name.
next prev parent reply other threads:[~1994-10-15 17:16 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
1994-10-15 17:16 ` Torbj|rn Lindgren [this message]
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