From mboxrd@z Thu Jan 1 00:00:00 1970 X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: fee84,f34855607b0d024c X-Google-Attributes: gidfee84,public From: Torsten Hehl Subject: Re: How can I display $PWD on xterm prompt? Date: 1997/08/05 Message-ID: <33E6F647.167E@pit.physik.uni-tuebingen.de>#1/1 X-Deja-AN: 262714631 References: <33E643C8.41C6@cranfield.ac.uk> To: Yon Han Chong Organization: Physikalisches Institut Tuebingen Newsgroups: comp.unix.osf.osf1 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.