FG
💻 Software

Gnu screen, how to update dynamically the title of a window?

Fresh7 days ago
Mar 15, 202613949 views
Confidence Score0%
0%

Problem

I'm trying to improve the aspect of GNU Screen using the screenrc file, I tuned colors, status line, caption and the list of the loaded windows. The only thing I'm not able to achieve is getting the caption with the current executed command as in the below picture, note the vim caption in the right…

Error Output

PROMPT_COMMAND='echo -ne "\033k\033\134\033k${HOSTNAME}[`basename ${PWD}`]\033\134"'`

Unverified for your environment

Select your OS to check compatibility.

1 Fix

Canonical Fix
Unverified Fix
New Fix – Awaiting Verification

Fix for: Gnu screen, how to update dynamically the title of a window?

Low Risk

In your file set your like this: UPDATE: UPDATE: seems to be a bug with echo built into bash. Solution should be either use of or . Try: This is the escape sequence that screen needs to identify which command is being run, and replace the title of y…

Awaiting Verification

Be the first to verify this fix

Sign in to verify this fix

Environment