Variable: msdos-key-remapping-map
msdos-key-remapping-map is a variable defined in internal.el.gz.
Value
M-<backspace> Keyboard Macro
M-<clear> Keyboard Macro
M-<delete> Keyboard Macro
M-<escape> Keyboard Macro
M-<linefeed> Keyboard Macro
M-<return> Keyboard Macro
M-<tab> Keyboard Macro
Documentation
Keymap for remapping special keys on MS-DOS keyboard.
Source Code
;; Defined in /usr/src/emacs/lisp/term/internal.el.gz
;;; internal.el --- support for PC internal terminal -*- lexical-binding: t -*-
;; Copyright (C) 1993-1994, 1998-1999, 2001-2024 Free Software
;; Foundation, Inc.
;; Author: Morten Welinder <terra@diku.dk>
;; This file is part of GNU Emacs.
;; GNU Emacs is free software: you can redistribute it and/or modify
;; it under the terms of the GNU General Public License as published by
;; the Free Software Foundation, either version 3 of the License, or
;; (at your option) any later version.
;; GNU Emacs is distributed in the hope that it will be useful,
;; but WITHOUT ANY WARRANTY; without even the implied warranty of
;; MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
;; GNU General Public License for more details.
;; You should have received a copy of the GNU General Public License
;; along with GNU Emacs. If not, see <https://www.gnu.org/licenses/>.
;;; Commentary:
;;; Code:
;; ---------------------------------------------------------------------------
(defvar msdos-key-remapping-map
(let ((map (make-sparse-keymap)))
;; keyboard setup -- that's simple!
(define-key map [M-backspace] [?\M-\d])
(define-key map [M-delete] [?\M-d])
(define-key map [M-tab] [?\M-\t])
(define-key map [M-linefeed] [?\M-\n])
(define-key map [M-clear] [?\M-\013])
(define-key map [M-return] [?\M-\015])
(define-key map [M-escape] [?\M-\e])
map)
"Keymap for remapping special keys on MS-DOS keyboard.")