How can I set 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/04/13 9:23 UTC
Read the original article Hit count: 416

Filed under:
|
|

This is a bit of a followup to this question. 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?

Note: I am working in tcsh.

© Super User or respective owner

Related posts about tcsh

Related posts about screen