Variable: xterm-mouse-tracking-enable-sequence

xterm-mouse-tracking-enable-sequence is a variable defined in xt-mouse.el.gz.

This variable is obsolete since 25.1; use the function xterm-mouse-tracking-enable-sequence(var)/xterm-mouse-tracking-enable-sequence(fun) instead.

Value

"[?1000h[?1003h[?1005h[?1006h"

Documentation

Control sequence to enable xterm mouse tracking.

Enables basic mouse tracking, mouse motion events and finally extended tracking on terminals that support it. The following escape sequences are understood by modern xterms:

"\\e[?1000h" "Basic mouse mode": Enables reports for mouse
            clicks. There is a limit to the maximum row/column
            position (<= 223), which can be reported in this
            basic mode.

"\\e[?1003h" "Mouse motion mode": Enables reports for mouse
            motion events.

"\\e[?1005h" "UTF-8 coordinate extension": Enables an extension
            to the basic mouse mode, which uses UTF-8
            characters to overcome the 223 row/column limit. This
            extension may conflict with non UTF-8 applications or
            non UTF-8 locales.

"\\e[?1006h" "SGR coordinate extension": Enables a newer
            alternative extension to the basic mouse mode, which
            overcomes the 223 row/column limit without the
            drawbacks of the UTF-8 coordinate extension.

The two extension modes are mutually exclusive, where the last given escape sequence takes precedence over the former.

Source Code

;; Defined in /usr/src/emacs/lisp/xt-mouse.el.gz
(defconst xterm-mouse-tracking-enable-sequence
  "\e[?1000h\e[?1003h\e[?1005h\e[?1006h"
  "Control sequence to enable xterm mouse tracking.
Enables basic mouse tracking, mouse motion events and finally
extended tracking on terminals that support it.  The following
escape sequences are understood by modern xterms:

\"\\e[?1000h\" \"Basic mouse mode\": Enables reports for mouse
            clicks.  There is a limit to the maximum row/column
            position (<= 223), which can be reported in this
            basic mode.

\"\\e[?1003h\" \"Mouse motion mode\": Enables reports for mouse
            motion events.

\"\\e[?1005h\" \"UTF-8 coordinate extension\": Enables an extension
            to the basic mouse mode, which uses UTF-8
            characters to overcome the 223 row/column limit.  This
            extension may conflict with non UTF-8 applications or
            non UTF-8 locales.

\"\\e[?1006h\" \"SGR coordinate extension\": Enables a newer
            alternative extension to the basic mouse mode, which
            overcomes the 223 row/column limit without the
            drawbacks of the UTF-8 coordinate extension.

The two extension modes are mutually exclusive, where the last
given escape sequence takes precedence over the former.")