[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
RXVT_OSC feature and screen window numbers
From: |
Eric Gillespie |
Subject: |
RXVT_OSC feature and screen window numbers |
Date: |
Mon, 14 Oct 2024 19:12:19 -0500 |
User-agent: |
Gnus/5.13 (Gnus v5.13) |
I've had the following .screenrc since 2001:
# Make these terminals optimal instead of vt100
termcap *xterm*|*rxvt*|(dt|k|E)term) OP
# Pass on xterm escape codes (such as titlbar setting)
hardstatus on
hardstatus string "%h (%n)%? users: %u%?"
termcapinfo xterm*|rxvt* hs:ts=\E]2;:fs=^G:ds=\E]2;TITLEDISABLED^G
I don't know where I got it, really. Could have been usenet,
could have been IRC, could have been laz (who maintained the
package for Debian for a while back then).
It takes the escape sequences I have my shell send to XTerm and
appends the window number to it.
So, window 0 might put 'epg@dogato:~/work (0)` into the title
bar, and window 1 might put up 'root@hassadar:/etc (1)'.
With 5.0, this stops working. Rather, when I switch windows, the
correct title goes up, but as soon as I his 'enter', the window
title disappears.
I tracked it down to the compile-time RXVT_OSC feature,
introduced in 3.9.8 (way back in 2000!) but OFF BY DEFAULT.
None of NetBSD, FreeBSD, Debian, or openSUSE that I used over the
years turned it on, so I never encountered it.
Until:
commit 2168239005ee587fdec417c987a632e81f86c80e
Author: Amadeusz Sławiński (amade) <amade@asmblr.net>
Date: Tue Jan 4 13:31:39 2011
make most features as always built in from now on
2011?! That commit doesn't appear in any 4.x branch, but does in 5.0.
So that's why I'm just now seeing a change introduced 24 years ago.
So, my request:
Can we get back an option for this, preferably a .screenrc option
thsi time around?
I need my screen window numbers!
I searched the web a bit and found this old bug, which I sure
sounds like the same issue I'm reporting now:
https://savannah.gnu.org/bugs/?42445
Thanks!
--
Eric Gillespie <*> epg@pretzelnet.org
- RXVT_OSC feature and screen window numbers,
Eric Gillespie <=