Path: utzoo!attcan!uunet!jarthur!usc!julius.cs.uiuc.edu!psuvax1!psuvm!cunyvm!mtus5!splite From: SPLITE@MTUS5.BITNET Newsgroups: comp.windows.x Subject: Re: Current directory in the title bar.. Message-ID: <90340.182017SPLITE@MTUS5.BITNET> Date: 6 Dec 90 23:20:17 GMT References: <1990Dec5.014338.22560@vicom.com> Distribution: na Organization: Computing Technology Services, Michigan Technological Univ. Lines: 23 In article <1990Dec5.014338.22560@vicom.com>, krishnan@vicom.com (Hari Krishnan Krishna) says: > >Is there a way to display the current directory in the title bar of the >xterm. > >Any help appreciated. > >Krishna It's possible using an xterm escape sequence and C-Shell aliases. Put the following in your .cshrc: alias cd '\!\!;echo -n "]0;$PWD"' alias pushd '\!\!;echo -n "]0;$PWD"' alias popd '\!\!;echo -n "]0;$PWD"' Of course, means "press ctrl-v", etc. I'm not sure how "official" that escape sequence is, but it works for us. Steve Plite