From mboxrd@z Thu Jan 1 00:00:00 1970 X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: 1164f8,4a7a9c8b8296dea0,start X-Google-Attributes: gid1164f8,public X-Google-ArrivalTime: 1995-03-09 16:25:12 PST Path: nntp.gmd.de!news.rwth-aachen.de!news.rhrz.uni-bonn.de!RRZ.Uni-Koeln.DE!uni-duisburg.de!zib-berlin.de!news.mathworks.com!news.alpha.net!solaris.cc.vt.edu!vtaix.cc.vt.edu!cs230457 From: cs230457@vtaix.cc.vt.edu (Scott Gasch) Newsgroups: comp.sys.dec Subject: Re: DXterm title ? Date: 9 Mar 1995 19:05:56 GMT Organization: Virginia Tech, Blacksburg, Virginia Message-ID: <3jnjil$j9t@solaris.cc.vt.edu> References: NNTP-Posting-Host: vtaix.cc.vt.edu NNTP-Posting-User: cs230457 X-Newsreader: TIN [version 1.2 PL0] Alain Gateau (agateau@ebi.ac.uk) wrote: : Hi all... : Is it possible to make my DXterm window title change when I change directory ? : thanx, : Alain Undex mwm and twm it is possible to change the title bar from the shell. How you get it to change whenever you change directories is all a matter of what shell you use; The way you change the window title bar is: echo "^[]2;(title text)^G^[]1;(icon text)^G" where (title) is what you want it to say on the xterm title and (icon text) is what the xterm should be called on the icon manager. As far as how you go about doing this whenever you change directories, under tcsh (which I really like) it is simple, just set cwdcmd to echo this info. If you use csh, maybe you could try aliasing cd to echo this and change the directory also, check out the \!* parameter, it means "the rest of the line" so you could say "alias cd "chdir \!*; (echo statement)" I am really not sure about how to do this with other shells, amybe someone else here or in the shells group could help you with them. Hope this helps, Scott