Variable: xterm-alternatives-map

xterm-alternatives-map is a variable defined in xterm.el.gz.

Value

Large value
<f13>     Keyboard Macro
<f14>     Keyboard Macro
<f15>     Keyboard Macro
<f16>     Keyboard Macro
<f17>     Keyboard Macro
<f18>     Keyboard Macro
<f19>     Keyboard Macro
<f20>     Keyboard Macro
<f21>     Keyboard Macro
<f22>     Keyboard Macro
<f23>     Keyboard Macro
<f24>     Keyboard Macro
<f25>     Keyboard Macro
<f26>     Keyboard Macro
<f27>     Keyboard Macro
<f28>     Keyboard Macro
<f29>     Keyboard Macro
<f30>     Keyboard Macro
<f31>     Keyboard Macro
<f32>     Keyboard Macro
<f33>     Keyboard Macro
<f34>     Keyboard Macro
<f35>     Keyboard Macro
<f36>     Keyboard Macro
<f37>     Keyboard Macro
<f38>     Keyboard Macro
<f39>     Keyboard Macro
<f40>     Keyboard Macro
<f41>     Keyboard Macro
<f42>     Keyboard Macro
<f43>     Keyboard Macro
<f44>     Keyboard Macro
<f45>     Keyboard Macro
<f46>     Keyboard Macro
<f47>     Keyboard Macro
<f48>     Keyboard Macro
<f49>     Keyboard Macro
<f50>     Keyboard Macro
<f51>     Keyboard Macro
<f52>     Keyboard Macro
<f53>     Keyboard Macro
<f54>     Keyboard Macro
<f55>     Keyboard Macro
<f56>     Keyboard Macro
<f57>     Keyboard Macro
<f58>     Keyboard Macro
<f59>     Keyboard Macro
<f60>     Keyboard Macro
<f61>     Keyboard Macro
<f62>     Keyboard Macro
<f63>     Keyboard Macro
<f64>     Keyboard Macro
<f65>     Keyboard Macro
<f66>     Keyboard Macro
<f67>     Keyboard Macro
<f68>     Keyboard Macro
<f69>     Keyboard Macro
<f70>     Keyboard Macro
<f71>     Keyboard Macro
<f72>     Keyboard Macro
<select>  Keyboard Macro

Documentation

Keymap of possible alternative meanings for some keys.

Source Code

;; Defined in /usr/src/emacs/lisp/term/xterm.el.gz
(defvar xterm-alternatives-map
  (let ((map (make-sparse-keymap)))
    ;; The terminal initialization C code file might have initialized
    ;; function keys F13->F60 from the termcap/terminfo information.
    ;; On a PC-style keyboard these keys correspond to
    ;; MODIFIER-FUNCTION_KEY, where modifier is S-, C, A-, C-S-.  The code
    ;; here substitutes the corresponding definitions in function-key-map.
    ;; The mapping from escape sequences to Fn is done in input-decode-map
    ;; whereas this here mapping is done in local-function-key-map so that
    ;; bindings to f45 still work, in case your keyboard really has an f45
    ;; key rather than C-S-f9.
    (define-key map [f13] [S-f1])
    (define-key map [f14] [S-f2])
    (define-key map [f15] [S-f3])
    (define-key map [f16] [S-f4])
    (define-key map [f17] [S-f5])
    (define-key map [f18] [S-f6])
    (define-key map [f19] [S-f7])
    (define-key map [f20] [S-f8])
    (define-key map [f21] [S-f9])
    (define-key map [f22] [S-f10])
    (define-key map [f23] [S-f11])
    (define-key map [f24] [S-f12])

    (define-key map [f25] [C-f1])
    (define-key map [f26] [C-f2])
    (define-key map [f27] [C-f3])
    (define-key map [f28] [C-f4])
    (define-key map [f29] [C-f5])
    (define-key map [f30] [C-f6])
    (define-key map [f31] [C-f7])
    (define-key map [f32] [C-f8])
    (define-key map [f33] [C-f9])
    (define-key map [f34] [C-f10])
    (define-key map [f35] [C-f11])
    (define-key map [f36] [C-f12])

    (define-key map [f37] [C-S-f1])
    (define-key map [f38] [C-S-f2])
    (define-key map [f39] [C-S-f3])
    (define-key map [f40] [C-S-f4])
    (define-key map [f41] [C-S-f5])
    (define-key map [f42] [C-S-f6])
    (define-key map [f43] [C-S-f7])
    (define-key map [f44] [C-S-f8])
    (define-key map [f45] [C-S-f9])
    (define-key map [f46] [C-S-f10])
    (define-key map [f47] [C-S-f11])
    (define-key map [f48] [C-S-f12])

    (define-key map [f49] [M-f1])
    (define-key map [f50] [M-f2])
    (define-key map [f51] [M-f3])
    (define-key map [f52] [M-f4])
    (define-key map [f53] [M-f5])
    (define-key map [f54] [M-f6])
    (define-key map [f55] [M-f7])
    (define-key map [f56] [M-f8])
    (define-key map [f57] [M-f9])
    (define-key map [f58] [M-f10])
    (define-key map [f59] [M-f11])
    (define-key map [f60] [M-f12])

    (define-key map [f61] [M-S-f1])
    (define-key map [f62] [M-S-f2])
    (define-key map [f63] [M-S-f3])
    (define-key map [f64] [M-S-f4])
    (define-key map [f65] [M-S-f5])
    (define-key map [f66] [M-S-f6])
    (define-key map [f67] [M-S-f7])
    (define-key map [f68] [M-S-f8])
    (define-key map [f69] [M-S-f9])
    (define-key map [f70] [M-S-f10])
    (define-key map [f71] [M-S-f11])
    (define-key map [f72] [M-S-f12])

    ;; Some emulations of Xterm, including PuTTY and older versions of
    ;; GNU screen in its default configuration, send VT220 <select> when
    ;; the user presses the "End" key (bug#80473).
    (define-key map [select] [end])

    map)
  "Keymap of possible alternative meanings for some keys.")