Lines Matching defs:edchars
58 } edchars;
1823 *tmp = isedchar(edchars.eof) ? (unsigned char)edchars.eof :
3399 edchars.erase = toedchar(tty_state.c_cc[VERASE]);
3400 edchars.kill = toedchar(tty_state.c_cc[VKILL]);
3401 edchars.intr = toedchar(tty_state.c_cc[VINTR]);
3402 edchars.quit = toedchar(tty_state.c_cc[VQUIT]);
3403 edchars.eof = toedchar(tty_state.c_cc[VEOF]);
3405 edchars.werase = toedchar(tty_state.c_cc[VWERASE]);
3407 edchars.werase = 0;
3410 if (!edchars.erase)
3411 edchars.erase = CTRL_H;
3412 if (!edchars.kill)
3413 edchars.kill = CTRL_U;
3414 if (!edchars.intr)
3415 edchars.intr = CTRL_C;
3416 if (!edchars.quit)
3417 edchars.quit = CTRL_BK;
3418 if (!edchars.eof)
3419 edchars.eof = CTRL_D;
3420 if (!edchars.werase)
3421 edchars.werase = CTRL_W;
3423 if (isedchar(edchars.erase)) {
3424 bind_if_not_bound(0, edchars.erase, XFUNC_del_back);
3425 bind_if_not_bound(1, edchars.erase, XFUNC_del_bword);
3427 if (isedchar(edchars.kill))
3428 bind_if_not_bound(0, edchars.kill, XFUNC_del_line);
3429 if (isedchar(edchars.werase))
3430 bind_if_not_bound(0, edchars.werase, XFUNC_del_bword);
3431 if (isedchar(edchars.intr))
3432 bind_if_not_bound(0, edchars.intr, XFUNC_abort);
3433 if (isedchar(edchars.quit))
3434 bind_if_not_bound(0, edchars.quit, XFUNC_noop);
3670 if (isched(c, edchars.intr) ||
3671 isched(c, edchars.quit)) {
3678 x_intr(isched(c, edchars.intr) ?
3680 } else if (isched(c, edchars.eof) &&
3874 } else if (isched(ch, edchars.erase) || ch == CTRL_H) {
3885 } else if (isched(ch, edchars.kill)) {
3891 } else if (isched(ch, edchars.werase)) {
4047 if (isched(ch, edchars.erase) || ch == CTRL_H) {
4073 if (isched(ch, edchars.kill)) {
4084 if (isched(ch, edchars.werase)) {
5584 * set edchars to force initial binding, except we need
5587 edchars.erase = edchars.kill = edchars.intr = edchars.quit =
5588 edchars.eof = EDCHAR_INITIAL;
5589 edchars.werase = 027;