Lines Matching refs:edtty

51 static ttydata_t extty, edtty, tstty;  variable
191 tstty = edtty = extty; in ed_Setup()
322 edtty.d_t.c_iflag &= ~ttylist[ED_IO][M_INPUT].t_clrmask; in ed_Init()
323 edtty.d_t.c_iflag |= ttylist[ED_IO][M_INPUT].t_setmask; in ed_Init()
325 edtty.d_t.c_oflag &= ~ttylist[ED_IO][M_OUTPUT].t_clrmask; in ed_Init()
326 edtty.d_t.c_oflag |= ttylist[ED_IO][M_OUTPUT].t_setmask; in ed_Init()
328 edtty.d_t.c_cflag &= ~ttylist[ED_IO][M_CONTROL].t_clrmask; in ed_Init()
329 edtty.d_t.c_cflag |= ttylist[ED_IO][M_CONTROL].t_setmask; in ed_Init()
331 edtty.d_t.c_lflag &= ~ttylist[ED_IO][M_LINED].t_clrmask; in ed_Init()
332 edtty.d_t.c_lflag |= ttylist[ED_IO][M_LINED].t_setmask; in ed_Init()
336 edtty.d_t.c_line = NTTYDISC; in ed_Init()
342 edtty.d_t.sg_flags &= ~(ttylist[ED_IO][M_CONTROL].t_clrmask | XTABS); in ed_Init()
343 edtty.d_t.sg_flags |= ttylist[ED_IO][M_CONTROL].t_setmask; in ed_Init()
346 edtty.d_t.sg_flags &= ~ttylist[ED_IO][M_CONTROL].t_clrmask; in ed_Init()
347 edtty.d_t.sg_flags |= (ttylist[ED_IO][M_CONTROL].t_setmask | XTABS); in ed_Init()
350 edtty.d_lb &= ~ttylist[ED_IO][M_LOCAL].t_clrmask; in ed_Init()
351 edtty.d_lb |= ttylist[ED_IO][M_LOCAL].t_setmask; in ed_Init()
354 tty_setchar(&edtty, ttychars[ED_IO]); in ed_Init()
394 if (tty_getspeed(&extty) != T_Speed || tty_getspeed(&edtty) != T_Speed) { in Rawmode()
397 (void) cfsetispeed(&edtty.d_t, T_Speed); in Rawmode()
398 (void) cfsetospeed(&edtty.d_t, T_Speed); in Rawmode()
408 edtty.d_t.sg_ispeed = tstty.d_t.sg_ispeed; in Rawmode()
413 edtty.d_t.sg_ospeed = tstty.d_t.sg_ospeed; in Rawmode()
432 edtty.d_t.c_cflag = tstty.d_t.c_cflag; in Rawmode()
433 edtty.d_t.c_cflag &= ~ttylist[ED_IO][M_CONTROL].t_clrmask; in Rawmode()
434 edtty.d_t.c_cflag |= ttylist[ED_IO][M_CONTROL].t_setmask; in Rawmode()
440 edtty.d_t.c_lflag = tstty.d_t.c_lflag; in Rawmode()
441 edtty.d_t.c_lflag &= ~ttylist[ED_IO][M_LINED].t_clrmask; in Rawmode()
442 edtty.d_t.c_lflag |= ttylist[ED_IO][M_LINED].t_setmask; in Rawmode()
448 edtty.d_t.c_iflag = tstty.d_t.c_iflag; in Rawmode()
449 edtty.d_t.c_iflag &= ~ttylist[ED_IO][M_INPUT].t_clrmask; in Rawmode()
450 edtty.d_t.c_iflag |= ttylist[ED_IO][M_INPUT].t_setmask; in Rawmode()
456 edtty.d_t.c_oflag = tstty.d_t.c_oflag; in Rawmode()
457 edtty.d_t.c_oflag &= ~ttylist[ED_IO][M_OUTPUT].t_clrmask; in Rawmode()
458 edtty.d_t.c_oflag |= ttylist[ED_IO][M_OUTPUT].t_setmask; in Rawmode()
476 edtty.d_t.sg_flags = extty.d_t.sg_flags; in Rawmode()
478 edtty.d_t.sg_flags &= in Rawmode()
480 edtty.d_t.sg_flags |= ttylist[ED_IO][M_CONTROL].t_setmask; in Rawmode()
483 edtty.d_t.sg_flags &= ~ttylist[ED_IO][M_CONTROL].t_clrmask; in Rawmode()
484 edtty.d_t.sg_flags |= in Rawmode()
488 edtty.d_lb = tstty.d_lb; in Rawmode()
489 edtty.d_lb &= ~ttylist[ED_IO][M_LOCAL].t_clrmask; in Rawmode()
490 edtty.d_lb |= ttylist[ED_IO][M_LOCAL].t_setmask; in Rawmode()
520 tty_setchar(&edtty, ttychars[ED_IO]); in Rawmode()
534 if (tty_setty(SHTTY, &edtty) == -1) { in Rawmode()
659 qutty = edtty; in QuoteModeOn()
697 if (tty_setty(SHTTY, &edtty) == -1) { in QuoteModeOff()