URL: <https://savannah.gnu.org/bugs/?67720>
Summary: shelltitle not capturing shell command with
title-escape-sequence
Group: GNU Screen
Submitter: None
Submitted: Tue 18 Nov 2025 07:08:37 PM UTC
Category: None
Severity: 3 - Normal
Priority: 5 - Normal
Status: None
Privacy: Public
Assigned to: None
Open/Closed: Open
Discussion Lock: Any
Release: None
Fixed Release: None
Planned Release: None
Work Required: None
_______________________________________________________
Follow-up Comments:
-------------------------------------------------------
Date: Tue 18 Nov 2025 07:08:37 PM UTC By: Anonymous
I use the title-escape-sequence to set the title based on command, but this
seems to be no longer working after upgrading to 5.0.1 from 4.9.1. Here is a
shortened version of my configuration:
.screenrc:
shelltitle "$ |bash:"
hardstatus alwayslastline
hardstatus string '[ %{B}%H%{-} ] %=%?%-Lw%{= W}%50>(%n%f* %t)%{-}%+Lw%='
.bashrc:
PROMPT_COMMAND='printf "\033k\033\134"'
PS1='$ '
With 4.9.1, running vi will set the title to "bash:vi". In 5.0.1, the title
remains "bash:"
_______________________________________________________
Reply to this item at:
<https://savannah.gnu.org/bugs/?67720>
_______________________________________________
Message sent via Savannah
https://savannah.gnu.org/
signature.asc
Description: PGP signature
