Lines Matching refs:el_keymacro

53  *	el->el_keymacro.map)
60 * are in el->el_keymacro.map, adding the key "abc" will cause
74 * The Nodes of the el->el_keymacro.map. The el->el_keymacro.map is a
109 el->el_keymacro.buf = el_malloc(KEY_BUFSIZ *
110 sizeof(*el->el_keymacro.buf));
111 if (el->el_keymacro.buf == NULL)
113 el->el_keymacro.map = NULL;
125 el_free(el->el_keymacro.buf);
126 el->el_keymacro.buf = NULL;
127 node__free(el->el_keymacro.map);
138 el->el_keymacro.val.cmd = (el_action_t) cmd;
139 return &el->el_keymacro.val;
150 el->el_keymacro.val.str = str;
151 return &el->el_keymacro.val;
156 * Takes all nodes on el->el_keymacro.map and puts them on free list.
157 * Then initializes el->el_keymacro.map with arrow keys
164 node__put(el, el->el_keymacro.map);
165 el->el_keymacro.map = NULL;
171 * Calls the recursive function with entry point el->el_keymacro.map
182 return node_trav(el, el->el_keymacro.map, ch, val);
187 * Adds key to the el->el_keymacro.map and associates the value in
188 * val with it. If key is already is in el->el_keymacro.map, the new
206 if (el->el_keymacro.map == NULL)
208 el->el_keymacro.map = node__get(key[0]);
211 /* Now recurse through el->el_keymacro.map */
212 (void) node__try(el, el->el_keymacro.map, key, val, ntype);
249 if (el->el_keymacro.map == NULL)
252 (void) node__delete(el, &el->el_keymacro.map, key);
259 * Print entire el->el_keymacro.map if null
265 /* do nothing if el->el_keymacro.map is empty and null key specified */
266 if (el->el_keymacro.map == NULL && *key == 0)
269 el->el_keymacro.buf[0] = '"';
270 if (node_lookup(el, key, el->el_keymacro.map, (size_t)1) <= -1)
505 /* If match put this char into el->el_keymacro.buf. Recurse */
508 used = ct_visual_char(el->el_keymacro.buf + cnt,
520 el->el_keymacro.buf[px] = '"';
521 el->el_keymacro.buf[px + 1] = '\0';
522 keymacro_kprint(el, el->el_keymacro.buf,
550 el->el_keymacro.buf[++cnt] = '"';
551 el->el_keymacro.buf[++cnt] = '\0';
555 el->el_keymacro.buf);
566 used = ct_visual_char(el->el_keymacro.buf + cnt, KEY_BUFSIZ - cnt,
570 el->el_keymacro.buf[cnt + (size_t)used ] = '"';
571 el->el_keymacro.buf[cnt + (size_t)used + 1] = '\0';
572 keymacro_kprint(el, el->el_keymacro.buf, &ptr->val, ptr->type);