bugGNU Screen - Bugs: bug #37206, Support for newer terminal mouse...

 
 

bug #37206: Support for newer terminal mouse modes

Submitted by:  Ryan <scovich>
Submitted on:  Mon Aug 27 15:46:33 2012  
 
Category: Feature RequestSeverity: 3 - Normal
Priority: 5 - NormalStatus: Confirmed
Privacy: PublicAssigned to: None
Open/Closed: OpenRelease: 4.0.3
Fixed Release: NonePlanned Release: None
Work Required: None

Add a New Comment (Rich MarkupRich Markup):
   

You are not logged in

Please log in, so followups can be emailed to you.

 

Wed Feb 1 15:43:04 2017, comment #5:

Odd, I wonder what would cause that... emacs user here, so I don't mouse around on the bottom row much. However, I can confirm that clicking on the emacs mini-buffer indeed sends "ESC [" (according to M-x view-lossage). Maybe an off-by-one error somewhere?

I haven't looked at the code in over a year, though, and won't be able to dig into the issue any time soon, unfortunately.

Ryan <scovich>
Wed Feb 1 15:33:46 2017, comment #4:

Thanks! I've tested it with vim and mc. It seems to mostly work, but one thing I've noticed is that in mc I can't use bottom row buttons it just writes '[' character to prompt.

Amadeusz Sławiński <amade>
Project Administrator
Wed Feb 1 15:02:20 2017, comment #3:

Attaching the latest version of my patch, for 4.3.1. I've been using it on every copy of screen I have, without problems, for over a year now. I use the SGR mode almost exclusively, though, so YMMV on the other modes.

(file #39640)

Ryan <scovich>
Wed Feb 1 14:00:06 2017, comment #2:

If we want to support big terminal windows we should do this.

There is also
https://lists.gnu.org/archive/html/screen-devel/2014-04/msg00043.html
with similar patch.

One thing to consider is which standard to use (see this - https://midnight-commander.org/ticket/2956 - discussion for example.)

I would prefer only using SGR Extension (1006) - which would probably be solved by patch in e-mail.

See also http://invisible-island.net/xterm/ctlseqs/ctlseqs.html#h2-Mouse-Tracking

Will retest patches again, because I recall having problems with having it to actually work (hence no patch applied).

Amadeusz Sławiński <amade>
Project Administrator
Thu May 29 13:27:42 2014, comment #1:

Has someone been able to use this patch to get VIM to work with urxvt?

Guillaume Laferriere <guilafer>
Mon Aug 27 15:46:33 2012, original submission:

Many terminals have recently added support for so-called "rxvt" and "sgr" mouse modes which are superior to the traditional "x10" mouse mode. Unfortunately, screen doesn't recognize any of them and filters out their escape sequences.

The attached patch implements support for x10, utf8-x10, rxvt, and sgr mouse modes. It also fixes a long-standing bug where mouse sequences are mangled if they get split across 2+ I/O calls.

Ryan <scovich>

 

(Note: upload size limit is set to 16384 kB, after insertion of the required escape characters.)

Attach File(s):
   
   
Comment:
   

Attached Files
file #39640:  screen-ext-mouse-4.3.1.patch added by scovich (12kB - application/octet-stream)
file #26434:  screen-ext-mouse.patch added by scovich (11kB - application/octet-stream - Patch implementing newer terminal mouse modes)

 

Depends on the following items: None found

Items that depend on this one: None found

 

Carbon-Copy List
  • -unavailable- added by amade (Posted a comment)
  • -unavailable- added by guilafer (Posted a comment)
  • -unavailable- added by scovich (Submitted the item)
  •  

    Do you think this task is very important?
    If so, you can click here to add your encouragement to it.
    This task has 0 encouragements so far.

    Only logged-in users can vote.

     

    Please enter the title of George Orwell's famous dystopian book (it's a date):

     

     

    Follow 3 latest changes.

    Date Changed By Updated Field Previous Value => Replaced By
    Wed Feb 1 15:02:20 2017scovichAttached File-=>Added screen-ext-mouse-4.3.1.patch, #39640
    Wed Feb 1 14:00:06 2017amadeStatusNone=>Confirmed
    Mon Aug 27 15:46:33 2012scovichAttached File-=>Added screen-ext-mouse.patch, #26434

    Back to the top


    Powered by Savane 3.1-cleanup1