Variable: xterm-extra-capabilities

xterm-extra-capabilities is a customizable variable defined in xterm.el.gz.

Value

check

Documentation

Whether Xterm supports some additional, more modern, features.

If nil, just assume that it does not. If check, try to check if it does. If a list, assume that the listed features are supported, without checking.

The relevant features are:
  modifyOtherKeys -- if supported, more key bindings work (e.g., "\\C-,")
  reportBackground -- if supported, Xterm reports its background color
  getSelection -- if supported, Xterm yanks text from the X selection
  setSelection -- if supported, Xterm saves killed text to the X selection

This variable was added, or its default value changed, in Emacs 24.1.

Probably introduced at or before Emacs version 25.1.

Source Code

;; Defined in /usr/src/emacs/lisp/term/xterm.el.gz
(defcustom xterm-extra-capabilities 'check
  "Whether Xterm supports some additional, more modern, features.
If nil, just assume that it does not.
If `check', try to check if it does.
If a list, assume that the listed features are supported, without checking.

The relevant features are:
  modifyOtherKeys  -- if supported, more key bindings work (e.g., \"\\C-,\")
  reportBackground -- if supported, Xterm reports its background color
  getSelection     -- if supported, Xterm yanks text from the X selection
  setSelection     -- if supported, Xterm saves killed text to the X selection"
  :version "24.1"
  :type `(choice (const :tag "Check" check)
                 ,xterm--extra-capabilities-type))