From: Torsten Hehl <hehl@pit.physik.uni-tuebingen.de>
To: Yon Han Chong <Y.H.Chong@cranfield.ac.uk>
Subject: Re: How can I display $PWD on xterm prompt?
Date: 1997/08/05 [thread overview]
Message-ID: <33E6F647.167E@pit.physik.uni-tuebingen.de> (raw)
In-Reply-To: 33E643C8.41C6@cranfield.ac.uk
Yon Han Chong wrote:
>
> How can I display $PWD on xterm prompt?
>
This is a part of the xterm man page (As usual: RTFM first)
setenv CMD_ENV bsd
alias cwdcmd '/bin/echo -n "\033]2;${HOST}:$cwd\a\033]1;${HOST}\a"'
Put these lines somewhere in your .cshrc (or whatever you might have)
file.
This shows the host:directory in the title and the host in the icon.
Good luck,
Torsten Hehl.
prev parent reply other threads:[~1997-08-05 4:00 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
1997-08-04 4:00 How can I display $PWD on xterm prompt? Yon Han Chong
1997-08-05 4:00 ` Harald Finster
1997-08-05 4:00 ` Torsten Hehl [this message]
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