Lines Matching refs:cap
343 terminal_alloc(EditLine *el, const struct termcapstr *t, const char *cap)
351 if (cap == NULL || *cap == '\0') {
355 clen = strlen(cap);
364 (void) strcpy(*str, cap); /* XXX strcpy is safe */
373 el->el_terminal.t_loc], cap);
399 cap);
1242 terminal_tputs(EditLine *el, const char *cap, int affcnt)
1248 (void)tputs(cap, affcnt, terminal_putc);
1480 char *cap, *scap;
1561 for (cap = scap, arg_need = 0; *cap; cap++)
1562 if (*cap == '%')
1563 switch (*++cap) {
1586 *cap);