Follow-up Comment #3, bug #67436 (group screen):

*Workaround: per-user terminfo override*

If the application affected links against libtinfow directly (rather than a
ports ncurses), it bypasses Screen's terminfo/termcap directives and reads the
terminfo database directly. In that case, create a per-user terminfo entry
overriding smso/rmso:


infocmp screen \
  | sed 's/smso=[^,]*/smso=\\E[7m/' \
  | sed 's/rmso=[^,]*/rmso=\\E[27m/' \
> /tmp/screen-fix.ti
tic -o ~/.terminfo /tmp/screen-fix.ti


libtinfow checks ~/.terminfo before the system database, so the corrected
entry is picked up automatically without any environment variable changes.
Tested on FreeBSD with GNU Screen 5.0.1 and Alpine 2.26.


    _______________________________________________________

Reply to this item at:

  <https://savannah.gnu.org/bugs/?67436>

_______________________________________________
Message sent via Savannah
https://savannah.gnu.org/

Attachment: signature.asc
Description: PGP signature

Reply via email to