Home
last modified time | relevance | path

Searched refs:keyseq (Results 1 – 8 of 8) sorted by relevance

/openbsd-src/gnu/usr.bin/texinfo/info/
H A Dinfodoc.c792 static void pretty_keyseq_internal (char *keyseq, char *rep);
795 pretty_keyseq (char *keyseq)
800 if (*keyseq)
801 pretty_keyseq_internal (keyseq, keyseq_rep);
806 pretty_keyseq_internal (char *keyseq, char *rep)
808 if (term_kP && strncmp(keyseq, term_kP, strlen(term_kP)) == 0)
811 keyseq += strlen(term_kP);
813 else if (term_kN && strncmp(keyseq, term_kN, strlen(term_kN)) == 0)
816 keyseq += strlen(term_kN);
819 else if (term_kh && strncmp(keyseq, term_kh, strlen(term_kh)) == 0)
[all …]
H A Ddoc.h44 char *keyseq; member
98 extern char *pretty_keyseq (char *keyseq);
H A Dinfomap.c33 static int keymap_bind_keyseq (Keymap map, const char *keyseq,
81 for (p = (unsigned char *) k->keyseq; *p && m[*p].type == ISKMAP; p++) in find_function_keyseq()
94 const char *keyseq, Keymap rootmap) in add_function_keyseq() argument
105 ks->keyseq = xstrdup(keyseq); in add_function_keyseq()
111 const char *keyseq, Keymap rootmap) in remove_function_keyseq() argument
121 if (k->map == rootmap && strcmp(k->keyseq, keyseq) == 0) in remove_function_keyseq()
156 add_function_keyseq(map[i].function, ks->keyseq, newroot); in keymap_copy_keymap()
190 remove_function_keyseq (map[i].function, ks->keyseq, rootmap); in keymap_discard_keymap()
206 const char *keyseq, KEYMAP_ENTRY *keyentry) in keymap_bind_keyseq() argument
209 const unsigned char *s = (unsigned char *) keyseq; in keymap_bind_keyseq()
[all …]
H A Dsession.c4486 dispatch_error (char *keyseq) in dispatch_error() argument
4490 rep = pretty_keyseq (keyseq); in dispatch_error()
/openbsd-src/gnu/lib/libreadline/
H A Dbind.c206 rl_set_key (keyseq, function, map) in rl_set_key() argument
207 const char *keyseq; in rl_set_key()
211 return (rl_generic_bind (ISFUNC, keyseq, (char *)function, map));
218 rl_macro_bind (keyseq, macro, map) in rl_macro_bind() argument
219 const char *keyseq, *macro; in rl_macro_bind()
232 rl_generic_bind (ISMACR, keyseq, macro_keys, map);
242 rl_generic_bind (type, keyseq, data, map) in rl_generic_bind() argument
244 const char *keyseq;
256 if (!keyseq || !*keyseq)
263 keys = (char *)xmalloc (1 + (2 * strlen (keyseq)));
[all …]
/openbsd-src/gnu/lib/libreadline/doc/
H A Drltech.texinfo681 @deftypefun int rl_set_key (const char *keyseq, rl_command_func_t *function, Keymap map)
682 Bind the key sequence represented by the string @var{keyseq} to the function
687 @deftypefun int rl_generic_bind (int type, const char *keyseq, char *data, Keymap map)
688 Bind the key sequence represented by the string @var{keyseq} to the arbitrary
717 @deftypefun {rl_command_func_t *} rl_function_of_keyseq (const char *keyseq, Keymap map, int *type)
718 Return the function invoked by @var{keyseq} in keymap @var{map}.
1080 @deftypefun int rl_macro_bind (const char *keyseq, const char *macro, Keymap map)
1081 Bind the key sequence @var{keyseq} to invoke the macro @var{macro}.
1082 The binding is performed in @var{map}. When @var{keyseq} is invoked, the
H A Drluser.texinfo617 @item @w{"@var{keyseq}": @var{function-name} or @var{macro}}
618 @var{keyseq} differs from @var{keyname} above in that strings
/openbsd-src/lib/libedit/
H A Dreadline.c2260 rl_generic_bind(int type, const char * keyseq, const char * data, Keymap k) in rl_generic_bind() argument