Bug 732574 - tmux + X10 mouse reporting.
Summary: tmux + X10 mouse reporting.
Keywords:
Status: CLOSED WONTFIX
Alias: None
Product: Fedora
Classification: Fedora
Component: tmux
Version: 15
Hardware: Unspecified
OS: Unspecified
unspecified
unspecified
Target Milestone: ---
Assignee: Sven Lankes
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2011-08-23 00:36 UTC by Maciej Żenczykowski
Modified: 2012-08-07 18:41 UTC (History)
2 users (show)

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2012-08-07 18:41:55 UTC
Type: ---
Embargoed:


Attachments (Terms of Use)
An incorrect and non functional patch for tmux that attempts to add '\e[?9h' X10 mouse reporting support. (7.06 KB, patch)
2011-08-23 02:35 UTC, Maciej Żenczykowski
no flags Details | Diff

Description Maciej Żenczykowski 2011-08-23 00:36:35 UTC
Description of problem:

tmux supports the X11 mouse reporting codes, ie.

X11 mouse reporting ON via:
  echo -en '\e[?1000h'
X11 mouse reporting OFF via:
  echo -en '\e[?1000l'

but does not support the X10 mouse reporting codes, ie.

X11 mouse reporting ON via:
  echo -en '\e[?9h'
X11 mouse reporting OFF via:
  echo -en '\e[?9l'

Seeing as X11 is report mouse button press and release (see man console_codes section "Mouse Tracking") this should be pretty simple to support.

I believe this would cause mouse clicks to work in midnight commander.

Currently running "mc -x" doesn't make mouse clicks work, but running:
  echo -en '\e[?1000h'; mc -x; echo -en '\e[?1000l'
is enough to get mouse clicks functional (although that's not solution since it interferes with ctrl+o and mouse clicks on the alternate screen)

Version-Release number of selected component (if applicable):
tmux-1.4-4.fc15.x86_64

How reproducible:
always

Steps to Reproduce:
run 'mc -x' in tmux, mouse clicks don't work

Comment 1 Maciej Żenczykowski 2011-08-23 00:39:54 UTC
The paragraph:

Seeing as X11 is report mouse button press and release (see man console_codes
section "Mouse Tracking") this should be pretty simple to support.

was meant to read:

..., since X10 is just a subset of X11 (don't return mouse button releases, and don't return the modifiers), ie. this should be implementable with maybe two dozen lines of code.

Comment 2 Maciej Żenczykowski 2011-08-23 02:32:56 UTC
Also found:

https://www.midnight-commander.org/ticket/2479

Not clear if this is a tmux or mc issue.

I cooked up a patch for tmux to add support for '\e[?9h', but it doesn't seem to have helped...

Perhaps this is a mc bug?

Comment 3 Maciej Żenczykowski 2011-08-23 02:35:00 UTC
Created attachment 519382 [details]
An incorrect and non functional patch for tmux that attempts to add '\e[?9h' X10 mouse reporting support.

Comment 4 Fedora End Of Life 2012-08-07 18:41:57 UTC
This message is a notice that Fedora 15 is now at end of life. Fedora
has stopped maintaining and issuing updates for Fedora 15. It is
Fedora's policy to close all bug reports from releases that are no
longer maintained. At this time, all open bugs with a Fedora 'version'
of '15' have been closed as WONTFIX.

(Please note: Our normal process is to give advanced warning of this
occurring, but we forgot to do that. A thousand apologies.)

Package Maintainer: If you wish for this bug to remain open because you
plan to fix it in a currently maintained version, feel free to reopen
this bug and simply change the 'version' to a later Fedora version.

Bug Reporter: Thank you for reporting this issue and we are sorry that
we were unable to fix it before Fedora 15 reached end of life. If you
would still like to see this bug fixed and are able to reproduce it
against a later version of Fedora, you are encouraged to click on
"Clone This Bug" (top right of this page) and open it against that
version of Fedora.

Although we aim to fix as many bugs as possible during every release's
lifetime, sometimes those efforts are overtaken by events. Often a
more recent Fedora release includes newer upstream software that fixes
bugs or makes them obsolete.

The process we are following is described here:
http://fedoraproject.org/wiki/BugZappers/HouseKeeping


Note You need to log in before you can comment on or make changes to this bug.