Lines Matching full:edchars
56 static X_chars edchars;
1770 x_zotc2(edchars.eof);
3284 edchars.erase = tty_state.c_cc[VERASE];
3285 edchars.kill = tty_state.c_cc[VKILL];
3286 edchars.intr = tty_state.c_cc[VINTR];
3287 edchars.quit = tty_state.c_cc[VQUIT];
3288 edchars.eof = tty_state.c_cc[VEOF];
3290 edchars.werase = tty_state.c_cc[VWERASE];
3295 if (edchars.erase == _POSIX_VDISABLE)
3296 edchars.erase = -1;
3297 if (edchars.kill == _POSIX_VDISABLE)
3298 edchars.kill = -1;
3299 if (edchars.intr == _POSIX_VDISABLE)
3300 edchars.intr = -1;
3301 if (edchars.quit == _POSIX_VDISABLE)
3302 edchars.quit = -1;
3303 if (edchars.eof == _POSIX_VDISABLE)
3304 edchars.eof = -1;
3305 if (edchars.werase == _POSIX_VDISABLE)
3306 edchars.werase = -1;
3309 if (edchars.erase >= 0) {
3310 bind_if_not_bound(0, edchars.erase, XFUNC_del_back);
3311 bind_if_not_bound(1, edchars.erase, XFUNC_del_bword);
3313 if (edchars.kill >= 0)
3314 bind_if_not_bound(0, edchars.kill, XFUNC_del_line);
3315 if (edchars.werase >= 0)
3316 bind_if_not_bound(0, edchars.werase, XFUNC_del_bword);
3317 if (edchars.intr >= 0)
3318 bind_if_not_bound(0, edchars.intr, XFUNC_abort);
3319 if (edchars.quit >= 0)
3320 bind_if_not_bound(0, edchars.quit, XFUNC_noop);
3567 if (c == edchars.intr || c == edchars.quit) {
3571 trapsig(c == edchars.intr ? SIGINT : SIGQUIT);
3574 } else if (c == edchars.eof && state != VVERSION) {
3576 x_vi_zotc(edchars.eof);
3751 } else if (ch == edchars.erase || ch == Ctrl('h')) {
3762 } else if (ch == edchars.kill) {
3768 } else if (ch == edchars.werase) {
3895 if (ch == edchars.erase || ch == Ctrl('h')) {
3921 if (ch == edchars.kill) {
3932 if (ch == edchars.werase) {
5420 * Set edchars to -2 to force initial binding, except
5423 edchars.erase = edchars.kill = edchars.intr = edchars.quit =
5424 edchars.eof = -2;
5426 edchars.werase = 027;