The usual purpose of the terminal-specific library is to map the
escape sequences used by the terminal's function keys onto more
meaningful names, using @code{input-decode-map} (or
-@code{function-key-map} before it). See the file
+@code{local-function-key-map} before it). See the file
@file{term/lk201.el} for an example of how this is done. Many function
keys are mapped automatically according to the information in the
Termcap data base; the terminal-specific library needs to map only the
@smallexample
;; @r{Make the @key{ENTER} key from the numeric keypad act as @kbd{C-j}.}
-(define-key function-key-map [kp-enter] [?\C-j])
+(define-key local-function-key-map [kp-enter] [?\C-j])
@end smallexample
@node MS-DOS Mouse
already known by Emacs to be a prefix. As a result of providing this
support, some terminal/keyboard/window system configurations, which
don't have a complete set of sensible function key bindings built into
-Emacs in @code{function-key-map}, can still be configured for use with
+Emacs in @code{local-function-key-map}, can still be configured for use with
EDT Emulation. (Note: In a few rare circumstances this does not work
properly. In particular, it does not work if a subset of the leading
@acronym{ASCII} characters in a key sequence are recognized by Emacs as
The only way to affect the behavior of keys within Emacs is through
@code{xmodmap} (outside Emacs) or @code{define-key} (inside Emacs). The
@code{define-key} command should be used in conjunction with the
-@code{function-key-map} map. For instance,
+@code{local-function-key-map} map. For instance,
@lisp
-(define-key function-key-map [M-@key{TAB}] [?\M-\t])
+(define-key local-function-key-map [M-@key{TAB}] [?\M-\t])
@end lisp
@noindent
@lisp
;; F11 is the documented ESC replacement on DEC terminals.
-(define-key function-key-map [f11] [?\e])
+(define-key local-function-key-map [f11] [?\e])
@end lisp
@node Compose Character
bindings in Emacs.
@vindex input-decode-map
-@vindex function-key-map
+@vindex local-function-key-map
@vindex viper-vi-global-user-map
@vindex viper-insert-global-user-map
@vindex viper-emacs-global-user-map