💻 Software
How can I automatically update the title in an xterm running screen?
Fresh7 days ago
Mar 15, 202614055 viewsConfidence Score0%
0%
Problem
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: 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?
Error Output
alias res_t 'xtset -t %h:%d "(%u:%g)" %e' # reset titlebar res_t # reset title right now alias precmd…
Unverified for your environment
Select your OS to check compatibility.
1 Fix
Canonical Fix
Unverified Fix
New Fix – Awaiting Verification
Fix for: How can I automatically update the title in an xterm running screen?
Low Risk
You can set the xterm window title by adding this to your or (replace your current alias): Make sure this is the only precmd alias in your and files when using this. This method displays the current directory as the window title for me in both xterm…
Awaiting Verification
Be the first to verify this fix
Sign in to verify this fix