keymap (Keymap map) Return a new keymap which is a copy of MAP. -- Function: Keymap rl_make_keymap (void) Return a new keymap with the printing characters bound to rl_insert, the lowercase Meta characters bound to run their equivalents, and the Meta digits bound to produce numeric arguments. -- Function: void rl_discard_keymap (Keymap keymap) Free the storage associated with the data in KEYMAP. The caller should free KEYMAP. -- Function: void rl_free_keymap (Keymap keymap) Free all storage associated with KEYMAP. This calls 'rl_discard_keymap' to free subordindate keymaps and macros. -- Function: int rl_empty_keymap (Keymap keymap) Return non-zero if there are no keys bound to functions in KEYMAP; zero if there are any keys bound. Readline has several internal keymaps. These functions allow you to change which keymap is active. -- Function: Keymap rl_get_keymap (void) Returns the currently active keymap. -- Function: void rl_set_keymap (Keymap keymap) Makes KEYMAP the currently active keymap. -- Function: Keymap rl_get_keymap_by_name (const char *name) Return the keymap matching NAME. NAME is one which would be supplied in a 'set keymap' inputrc line (*note Readline Init File::). -- Function: char * rl_get_keymap_name (Keymap keymap) Return the name matching KEYMAP. NAME is one which would be supplied in a 'set keymap' inputrc line (*note Readline Init File::). -- Function: int rl_set_keymap_name (const char *name, Keymap keymap) Set the name of KEYMAP. This name will then be "registered" and available for use in a 'set keymap' inputrc directive *note Readline Init File::). The NAME may not be one of Readline's builtin keymap names; you may not add a different name for one of Readline's builtin keymaps. You may replace the name associated with a given keymap by calling this function more than once with the same KEYMAP argument. You may associate a registered NAME with a new keymap by calling this function more than once with the same NAME argument. There is no way to remove a named keymap once the name has been registered. Readline will make a copy of NAME. The return value is greater than zero unless NAME is one of Readline's builtin keymap names or KEYMAP is one of Readline's builtin keymaps.