* DXterm title ?
@ 1995-03-09 12:51 Alain Gateau
1995-03-09 19:05 ` Scott Gasch
0 siblings, 1 reply; 2+ messages in thread
From: Alain Gateau @ 1995-03-09 12:51 UTC (permalink / raw)
Hi all...
Is it possible to make my DXterm window title change when I change directory ?
thanx,
Alain
^ permalink raw reply [flat|nested] 2+ messages in thread
* Re: DXterm title ?
1995-03-09 12:51 DXterm title ? Alain Gateau
@ 1995-03-09 19:05 ` Scott Gasch
0 siblings, 0 replies; 2+ messages in thread
From: Scott Gasch @ 1995-03-09 19:05 UTC (permalink / raw)
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
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~1995-03-09 19:05 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
1995-03-09 12:51 DXterm title ? Alain Gateau
1995-03-09 19:05 ` Scott Gasch
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox