How can I automatically update the title in an xterm running screen?
Posted
by Nathan Fellman
on Super User
See other posts from Super User
or by Nathan Fellman
Published on 2010-04-13T09:15:07Z
Indexed on
2010/05/12
7:55 UTC
Read the original article
Hit count: 278
This is a bit of a followup to this question. I'm working in tcsh within GNU screen in an xterm.
I have the following in my .cshrc:
alias res_t 'xtset -t %h:%d "(%u:%g)" %e' # reset titlebar
res_t # reset title right now
alias precmd res_t
And this works fine!
However, when I run screen I see that the title doesn't get updated with the current directory. How can I make screen update the xterm title?
© Super User or respective owner