Server IP : 111.118.215.189 / Your IP : 3.131.85.46 Web Server : Apache System : Linux md-in-83.webhostbox.net 4.19.286-203.ELK.el7.x86_64 #1 SMP Wed Jun 14 04:33:55 CDT 2023 x86_64 User : a1673wkz ( 2475) PHP Version : 8.2.25 Disable Function : NONE MySQL : OFF | cURL : ON | WGET : ON | Perl : ON | Python : ON Directory (0755) : /usr/share/emacs/24.3/lisp/emulation/ |
[ Home ] | [ C0mmand ] | [ Upload File ] |
---|
;ELC ;;; Compiled by mockbuild@buildfarm06-new.corp.cloudlinux.com on Fri Oct 11 10:10:59 2024 ;;; from file /builddir/build/BUILD/emacs-24.3/lisp/emulation/edt-mapper.el ;;; in Emacs version 24.3.1 ;;; with all optimizations. ;;; This file uses dynamic docstrings, first added in Emacs 19.29. ;;; This file does not contain utf-8 non-ASCII characters, ;;; and so can be loaded in Emacs versions earlier than 23. ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;; ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;; #@69 Indicates window system (in GNU Emacs) or console type (in XEmacs). (defconst edt-window-system window-system (#$ . 563)) #@48 Indicates X server vendor name, if applicable. (defconst edt-xserver (byte-code "\301=\205\f \302\303\304\305 #\207" [edt-window-system x replace-regexp-in-string "[ /]" "-" x-server-vendor] 4) (#$ . 691)) (defvar edt-key nil) (defvar edt-enter nil) (defvar edt-return nil) (defvar edt-key-seq nil) (defvar edt-enter-seq nil) (defvar edt-return-seq nil) (defvar edt-term nil) (byte-code "\203 \305=\204 \306\202 \307\310!\311\312\313\"\210\203) \305=\204) \314\315 \316\317#\210\320\321!\2043 \322\321!\210\320\323!\204= \322\323!\210\323q\210\324c\210\325\321!\210\203W \305=\204W \326c\210\202Z \327c\210\330 \210\203f \n\331 \332\333!\334\335!\210\334\336!\210\321q\210ed|\210\203\211 \305=\204\211 \337c\210\202\225 \340c\210\341\342 \"c\210\343c\210\306\207" [edt-window-system edt-term function-key-map edt-save-function-key-map edt-return tty nil getenv "TERM" mapc #[(function-key) "\301\302 \"?\205 \303\302 \304#\207" [function-key lookup-key current-global-map define-key forward-char] 4] ([kp-0] [kp-1] [kp-2] [kp-3] [kp-4] [kp-5] [kp-6] [kp-7] [kp-8] [kp-9] [kp-space] [kp-tab] [kp-enter] [kp-multiply] [kp-add] [kp-separator] [kp-subtract] [kp-decimal] [kp-divide] [kp-equal] [backspace] [delete] [tab] [linefeed] [clear]) set-frame-size selected-frame 80 36 get-buffer "Directions" generate-new-buffer "Keys" ";;\n;; Key definitions for the EDT emulation within GNU Emacs\n;;\n\n(defconst *EDT-keys*\n '(\n" switch-to-buffer "\n EDT MAPPER\n\n You will be asked to press keys to create a custom mapping (under a\n Window Manager) of your keypad keys and function keys so that they can\n emulate the LK-201 keypad and function keys or the subset of keys found\n on a VT-100 series terminal keyboard. (The LK-201 keyboard is the\n standard keyboard attached to VT-200 series terminals, and above.)\n\n Sometimes, edt-mapper will ignore a key you press, and just continue to\n prompt for the same key. This can happen when your window manager sucks\n up the key and doesn't pass it on to Emacs, or it could be an Emacs bug.\n Either way, there's nothing that edt-mapper can do about it. You must\n press RETURN, to skip the current key and continue. Later, you and/or\n your local system guru can try to figure out why the key is being ignored.\n\n Start by pressing the RETURN key, and continue by pressing the keys\n specified in the mini-buffer. If you want to entirely omit a key,\n because your keyboard does not have a corresponding key, for example,\n just press RETURN at the prompt.\n\n" "\n EDT MAPPER\n\n You will be asked to press keys to create a custom mapping of your\n keypad keys and function keys so that they can emulate the LK-201\n keypad and function keys or the subset of keys found on a VT-100\n series terminal keyboard. (The LK-201 keyboard is the standard\n keyboard attached to VT-200 series terminals, and above.)\n\n If you are using a real LK-201 keyboard, you should map the keys\n exactly as they are on the keyboard.\n\n Start by pressing the RETURN key, and continue by pressing the keys\n specified in the mini-buffer. If you want to entirely omit a key,\n because your keyboard does not have a corresponding key, for example,\n just press RETURN at the prompt.\n\n" delete-other-windows make-sparse-keymap read-key-sequence "Hit carriage-return <CR> to continue " global-unset-key [f1] [f2] "\n\n PRESS THE KEY SPECIFIED IN THE MINIBUFFER BELOW.\n\n Here's a picture of the standard LK-201 keypad for reference:\n\n _______________________ _______________________________\n | HELP | DO | | F17 | F18 | F19 | F20 |\n | | | | | | | |\n |_______|_______________| |_______|_______|_______|_______|\n _______________________ _______________________________\n | FIND |INSERT |REMOVE | | PF1 | PF2 | PF3 | PF4 |\n | | | | | | | | |\n |_______|_______|_______| |_______|_______|_______|_______|\n |SELECT |PREVIOU| NEXT | | KP7 | KP8 | KP9 | KP- |\n | | | | | | | | |\n |_______|_______|_______| |_______|_______|_______|_______|\n | UP | | KP4 | KP5 | KP6 | KP, |\n | | | | | | |\n _______|_______|_______ |_______|_______|_______|_______|\n | LEFT | DOWN | RIGHT | | KP1 | KP2 | KP3 | |\n | | | | | | | | |\n |_______|_______|_______| |_______|_______|_______| KPE |\n | KP0 | KPP | |\n | | | |\n |_______________|_______|_______|\n\n REMEMBER: JUST PRESS RETURN TO SKIP MAPPING A KEY.\n\n" "\n GENERATING A CUSTOM CONFIGURATION FILE FOR TERMINAL TYPE: " format "%s." "\n\n PRESS THE KEY SPECIFIED IN THE MINIBUFFER BELOW.\n\n _______________________ _______________________________\n | HELP | DO | | F17 | F18 | F19 | F20 |\n |_______|_______________| |_______|_______|_______|_______|\n _______________________ _______________________________\n | FIND |INSERT |REMOVE | | PF1 | PF2 | PF3 | PF4 |\n |_______|_______|_______| |_______|_______|_______|_______|\n |SELECT |PREVIOU| NEXT | | KP7 | KP8 | KP9 | KP- |\n |_______|_______|_______| |_______|_______|_______|_______|\n | UP | | KP4 | KP5 | KP6 | KP, |\n _______|_______|_______ |_______|_______|_______|_______|\n | LEFT | DOWN | RIGHT | | KP1 | KP2 | KP3 | |\n |_______|_______|_______| |_______|_______|_______| KPE |\n | KP0 | KPP | |\n |_______________|_______|_______|\n\n REMEMBER: JUST PRESS RETURN TO SKIP MAPPING A KEY."] 4) (defalias 'edt-map-key #[(ident descrip) "\304\305\306 #!\211\232\204, \307q\210\310\n!\203 \305\311\n#\202$ \305\312\n#c\210\313q\210\2028 \307q\210\305\314\"c\210\313q\210\n\207" [ident descrip edt-key edt-return read-key-sequence format "Press %s%s: " "Keys" vectorp " (\"%s\" . %s)\n" " (\"%s\" . \"%s\")\n" "Directions" " (\"%s\" . \"\" )\n"] 6 nil nil]) (byte-code "\306q\210\307c\210\310q\210\311\312\313\"\210\311\314\315\"\210\311\316\317\"\210\311\320\321\"\210\306q\210\322c\210\310q\210\311\323\324\"\210\311\325\326\"\210\311\327\330\"\210\311\331\332\"\210\306q\210\333c\210\310q\210\311\334\335\"\210\311\336\337\"\210\311\340\341\"\210\311\342\343\"\210\311\344\345\"\210\311\346\347\"\210\311\350\351\"\210\311\352\353\"\210\311\354\355\"\210\311\356\357\"\210\311\360\361\"\210\311\362\363\"\210\311\364\365\"\210\311\366\367\"\210\n\306q\210\370c\210\310q\210\311\371\372\"\210\311\373\374\"\210\311\375\376\"\210\311\377\201E \"\210\311\201F \201G \"\210\311\201H \201I \"\210\306q\210\201J c\210\310q\210\311\201K \201L \"\210\311\201M \201N \"\210\311\201O \201P \"\210\311\201Q \201R \"\210\311\201S \201T \"\210\311\201U \201V \"\210\311\201W \201X \"\210\311\201Y \201Z \"\210\311\201[ \201\\ \"\210\311\201] \201^ \"\210\311\201_ \201` \"\210\311\201a \201b \"\210\311\201c \201d \"\210\311\201e \201f \"\210\311\201g \201h \"\210\311\201i \201j \"\210\311\201k \201l \"\210\311\201m \201n \"\210\311\201o \201p \"\210\311\201q \201r \"\210\310q\210ed|\210\201s c\210\201t \310!\210\306q\210\201u c\210\f\203\236 @\201v A\201w \201x !\211A\201v \230\204\277\311A\201v \"\210\202\243\306q\210\201y c\210\201z \201{ B\205\330\201| BPC\205\343\201| CP\f\205\361\201| \201} \f!\226P\201~ \260D\201 \201\200 \201\201 \201\202 D\"\201\203 D#!\210)\201\204 \210\201\205 \201\206 !\210\201\207 \201\210 !\210\201\211 \201\212 !\207" [edt-key edt-enter edt-key-seq edt-enter-seq edt-window-system edt-save-function-key-map "Keys" "\n;;\n;; Arrows\n;;\n" "Directions" edt-map-key "UP" " - The Up Arrow Key" "DOWN" " - The Down Arrow Key" "LEFT" " - The Left Arrow Key" "RIGHT" " - The Right Arrow Key" "\n;;\n;; PF keys\n;;\n" "PF1" " - The PF1 (GOLD) Key" "PF2" " - The Keypad PF2 Key" "PF3" " - The Keypad PF3 Key" "PF4" " - The Keypad PF4 Key" "\n;;\n;; KP0-9 KP- KP, KPP and KPE\n;;\n" "KP0" " - The Keypad 0 Key" "KP1" " - The Keypad 1 Key" "KP2" " - The Keypad 2 Key" "KP3" " - The Keypad 3 Key" "KP4" " - The Keypad 4 Key" "KP5" " - The Keypad 5 Key" "KP6" " - The Keypad 6 Key" "KP7" " - The Keypad 7 Key" "KP8" " - The Keypad 8 Key" "KP9" " - The Keypad 9 Key" "KP-" " - The Keypad - Key" "KP," " - The Keypad , Key" "KPP" " - The Keypad . Key" "KPE" " - The Keypad Enter Key" "\n;;\n;; Editing keypad (FIND, INSERT, REMOVE)\n;; (SELECT, PREVIOUS, NEXT)\n;;\n" "FIND" " - The Find key on the editing keypad" "INSERT" " - The Insert key on the editing keypad" "REMOVE" " - The Remove key on the editing keypad" "SELECT" function-key-map EDT-key-name edt-term edt-xserver file " - The Select key on the editing keypad" "PREVIOUS" " - The Prev Scr key on the editing keypad" "NEXT" " - The Next Scr key on the editing keypad" "\n;;\n;; F1-14 Help Do F17-F20\n;;\n" "F1" " - F1 Function Key" "F2" " - F2 Function Key" "F3" " - F3 Function Key" "F4" " - F4 Function Key" "F5" " - F5 Function Key" "F6" " - F6 Function Key" "F7" " - F7 Function Key" "F8" " - F8 Function Key" "F9" " - F9 Function Key" "F10" " - F10 Function Key" "F11" " - F11 Function Key" "F12" " - F12 Function Key" "F13" " - F13 Function Key" "F14" " - F14 Function Key" "HELP" " - HELP Function Key" "DO" " - DO Function Key" "F17" " - F17 Function Key" "F18" " - F18 Function Key" "F19" " - F19 Function Key" "F20" " - F20 Function Key" "\n ADDITIONAL FUNCTION KEYS\n\n Your keyboard may have additional function keys which do not correspond\n to any LK-201 keys. The EDT Emulation can be configured to recognize\n those keys, since you may wish to add your own key bindings to those keys.\n\n For example, suppose your keyboard has a keycap marked \"Line Del\" and\n you wish to add it to the list of keys which can be customized by the EDT\n Emulation. First, assign a unique single-word name to the key for use by\n the EDT Emulation, for example, \"linedel\". Then, at the \"EDT Key\n Name:\" prompt, enter \"linedel\", followed by a press of the RETURN key.\n Finally, when prompted, press the \"Line Del\" key. You now will be able\n to bind functions to \"linedel\" and \"Gold-linedel\" in edt-user.el in\n just the same way you can customize bindings of the LK-201 function and\n keypad keys.\n\n When you are done, just press RETURN at the \"EDT Key Name:\" prompt.\n" switch-to-buffer ";;\n;; Extra Keys\n;;\n" "" read-string "EDT Key Name: " " )\n )\n" "~/.edt-" "gnu" "-" symbol-name "-keys" set-visited-file-name read-file-name format "Save key mapping to file (default %s): " nil save-buffer message "That's it! Press any key to exit" sit-for 600 kill-emacs t] 7)