It is currently Tue, 17 May 2022 19:01:03 GMT

Author Message
 Current Directory in XTERM Window Title
At my previous job we used ksh and were able to set the prompt such that
the XTERM (actually AIXTERM) window title would include the current

Now I am using tcsh as my shell to remain compatible with coworkers.  Is
there a way I can get the current directory to display in the
XTERM window Title?

Thanks for the help,


 Tue, 03 Jun 2003 23:53:31 GMT   
 Current Directory in XTERM Window Title
Edward J. D'Avignon <> wrote:


 Wed, 04 Jun 2003 02:34:58 GMT   
 Current Directory in XTERM Window Title


In article <>,
  "Edward J. D'Avignon" <> wrote:

Sent via

 Wed, 04 Jun 2003 03:03:35 GMT   
 Current Directory in XTERM Window Title

How about...

function xtermpath
  print "\033]0;$PWD\007\c"
trap xtermpath DEBUG

 - Matt
Matthew Landt -  AIX and HACMP Cert. Specialist  -
   << Comments, views, and opinions are mine alone, not IBM's. >>

 Wed, 04 Jun 2003 03:48:29 GMT   
   [ 4 post ] 

Similar Threads

1. display the current directory in xterm title bar

2. current directory in xterm title-bar

3. title of current path in window-title

4. xterm: Setting working directory as icon title

5. xterm window title

6. Changing the title bar for Xterm Windows!!!!

7. Window titles with xterm -e and sawfish?

8. Title on Xterm Window

9. Q: Name and title of xterm window.

10. Character loss in xterm, emacs and window titles

Powered by phpBB © 2000, 2002, 2005, 2007 phpBB Group.
Designed by ST Software