screen-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[screen-devel] [bug #66254] Invalid SGR sequences produced when starting


From: anonymous
Subject: [screen-devel] [bug #66254] Invalid SGR sequences produced when starting screen detached
Date: Wed, 25 Sep 2024 17:49:54 -0400 (EDT)

URL:
  <https://savannah.gnu.org/bugs/?66254>

                 Summary: Invalid SGR sequences produced when starting screen
detached
                   Group: GNU Screen
               Submitter: None
               Submitted: Wed 25 Sep 2024 09:49:51 PM UTC
                Category: Program Logic
                Severity: 3 - Normal
                Priority: 5 - Normal
                  Status: None
                 Privacy: Public
             Assigned to: None
             Open/Closed: Open
         Discussion Lock: Any
                 Release: 5.0.0
           Fixed Release: None
         Planned Release: None
           Work Required: None


    _______________________________________________________

Follow-up Comments:


-------------------------------------------------------
Date: Wed 25 Sep 2024 09:49:51 PM UTC By: Anonymous
When running a terminal emulator with the termcap kmous=\E[< and starting
screen detached, it produces invalid SGR sequences. After enabling SGR
reporting I see that the terminal program receives something that resembles
SGR sequences, but they start with \e[M instead of \e[<. If I run the same
outside of screen, the sequences start with \e[<.

Steps to reproduce:
1. Open a terminal emulator with kmous=\E[< e.g. a recent version of xterm.
2. Start screen with: screen -d -m sh
3. Attach with: screen -r
4. Run: printf "\e[?1006h\e[?1000h" && cat -v
5. Click with the mouse
6. Observe that the sequences start with ^[[M

If you instead start screen initially attached with screen sh, and run the
same you see that the sequences instead start with ^[[< as they should. The
same occurs outside of screen.







    _______________________________________________________

Reply to this item at:

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

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

Attachment: signature.asc
Description: PGP signature


reply via email to

[Prev in Thread] Current Thread [Next in Thread]