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
directory.

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,

Ed



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

http://sunsite.unc.edu/LDP/HOWTO/mini/Xterm-Title.html

-Brian



 Wed, 04 Jun 2003 02:34:58 GMT   
 Current Directory in XTERM Window Title
See http://www.linuxdoc.org/HOWTO/mini/Xterm-Title.html

Kevin

In article <3A3A3E7B.77DE1...@vitesse.com>,
  "Edward J. D'Avignon" <davig...@vitesse.com> wrote:

Sent via Deja.com
http://www.deja.com/



 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  - la...@austin.ibm.com
   << 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