Home
last modified time | relevance | path

Searched refs:c_cc (Results 1 – 25 of 73) sorted by relevance

123

/dragonfly/usr.bin/tset/
H A Dset.c55 mode.c_cc[VEOF] = CHK(mode.c_cc[VEOF], CEOF); in reset_mode()
56 mode.c_cc[VERASE] = CHK(mode.c_cc[VERASE], CERASE); in reset_mode()
58 mode.c_cc[VFLUSH] = CHK(mode.c_cc[VFLUSH], CFLUSH); in reset_mode()
60 mode.c_cc[VINTR] = CHK(mode.c_cc[VINTR], CINTR); in reset_mode()
61 mode.c_cc[VKILL] = CHK(mode.c_cc[VKILL], CKILL); in reset_mode()
63 mode.c_cc[VLNEXT] = CHK(mode.c_cc[VLNEXT], CLNEXT); in reset_mode()
65 mode.c_cc[VQUIT] = CHK(mode.c_cc[VQUIT], CQUIT); in reset_mode()
69 mode.c_cc[VSTART] = CHK(mode.c_cc[VSTART], CSTART); in reset_mode()
70 mode.c_cc[VSTOP] = CHK(mode.c_cc[VSTOP], CSTOP); in reset_mode()
71 mode.c_cc[VSUSP] = CHK(mode.c_cc[VSUSP], CSUSP); in reset_mode()
[all …]
/dragonfly/sys/kern/
H A Dtty_subr.c64 count = cl->c_cc; in clist_alloc_cblocks()
65 if (cl->c_cc) { in clist_alloc_cblocks()
77 cl->c_cc = count; in clist_alloc_cblocks()
93 cl->c_cc = 0; in clist_free_cblocks()
118 --cl->c_cc; in clist_getc()
133 if (n > cl->c_cc) in clist_qtob()
134 n = cl->c_cc; in clist_qtob()
160 n = cl->c_cc; in ndflush()
165 cl->c_cc -= n; in ndflush()
183 ++cl->c_cc; in clist_putc()
[all …]
H A Dtty.c427 if (tp->t_rawq.c_cc + tp->t_canq.c_cc > tp->t_ihiwat - 3 && in ttyinput()
458 if (tp->t_rawq.c_cc + tp->t_canq.c_cc > in ttyinput()
510 if (tp->t_rawq.c_cc + tp->t_canq.c_cc) in ttyinput()
671 if (tp->t_rawq.c_cc + tp->t_canq.c_cc >= MAX_INPUT) { in ttyinput()
1125 bcopy(t->c_cc, tp->t_cc, sizeof(t->c_cc)); in ttioctl()
1500 bcopy(ttydefchars, t->c_cc, sizeof t->c_cc); in termioschars()
1745 if (qp->c_cc > 0) in ttread()
1768 if (qp->c_cc < m) in ttread()
1770 if (qp->c_cc > 0) in ttread()
1803 if (qp->c_cc > 0) in ttread()
[all …]
H A Dtty_pty.c510 if (tp->t_canq.c_cc == 0) { in ptsread()
528 if (tp->t_canq.c_cc == 1) in ptsread()
530 if (tp->t_canq.c_cc) { in ptsread()
934 kn->kn_data = tp->t_outq.c_cc; in filt_ptcread()
962 (tp->t_canq.c_cc == 0) : in filt_ptcwrite()
963 ((tp->t_rawq.c_cc + tp->t_canq.c_cc < TTYHOG - 2) || in filt_ptcwrite()
965 kn->kn_data = tp->t_canq.c_cc + tp->t_rawq.c_cc; in filt_ptcwrite()
1014 if (tp->t_canq.c_cc) in ptcwrite()
1017 tp->t_canq.c_cc < TTYHOG - 1) { in ptcwrite()
1081 if ((tp->t_rawq.c_cc + tp->t_canq.c_cc) >= TTYHOG - 2 && in ptcwrite()
[all …]
/dragonfly/contrib/tcsh-6/
H A Ded.term.c782 s[C_INTR] = n->c_cc[VINTR]; in tty_getchar()
785 s[C_QUIT] = n->c_cc[VQUIT]; in tty_getchar()
791 s[C_KILL] = n->c_cc[VKILL]; in tty_getchar()
794 s[C_EOF] = n->c_cc[VEOF]; in tty_getchar()
797 s[C_EOL] = n->c_cc[VEOL]; in tty_getchar()
800 s[C_EOL2] = n->c_cc[VEOL2]; in tty_getchar()
815 s[C_STOP] = n->c_cc[VSTOP]; in tty_getchar()
851 s[C_MIN] = n->c_cc[VMIN]; in tty_getchar()
934 n->c_cc[VEOF] = s[C_EOF]; in tty_setchar()
937 n->c_cc[VEOL] = s[C_EOL]; in tty_setchar()
[all …]
H A Dtc.disc.c78 if (termiob.c_line != NTTYDISC || termiob.c_cc[VSWTCH] == 0) { /*}*/
81 if (termiob.c_cc[VSWTCH] == 0) {
83 termiob.c_cc[VSWTCH] = CSWTCH;
121 termiob.c_cc[VSWTCH] = '\0';
/dragonfly/contrib/libedit/src/
H A Dtty.c736 s[C_INTR] = td->c_cc[VINTR]; in tty__getchar()
739 s[C_QUIT] = td->c_cc[VQUIT]; in tty__getchar()
745 s[C_KILL] = td->c_cc[VKILL]; in tty__getchar()
748 s[C_EOF] = td->c_cc[VEOF]; in tty__getchar()
751 s[C_EOL] = td->c_cc[VEOL]; in tty__getchar()
754 s[C_EOL2] = td->c_cc[VEOL2]; in tty__getchar()
802 s[C_MIN] = td->c_cc[VMIN]; in tty__getchar()
830 td->c_cc[VEOF] = s[C_EOF]; in tty__setchar()
833 td->c_cc[VEOL] = s[C_EOL]; in tty__setchar()
884 td->c_cc[VMIN] = s[C_MIN]; in tty__setchar()
[all …]
/dragonfly/usr.bin/telnet/
H A Dexterns.h363 # define termEofChar new_tc.c_cc[VEOF]
364 # define termEraseChar new_tc.c_cc[VERASE]
365 # define termIntChar new_tc.c_cc[VINTR]
366 # define termKillChar new_tc.c_cc[VKILL]
367 # define termQuitChar new_tc.c_cc[VQUIT]
372 # define termSuspChar new_tc.c_cc[VSUSP]
400 # define termStartChar new_tc.c_cc[VSTART]
405 # define termStopChar new_tc.c_cc[VSTOP]
410 # define termForw1Char new_tc.c_cc[VEOL]
415 # define termForw2Char new_tc.c_cc[VEOL]
[all …]
H A Dsys_bsd.c317 memcpy(new_tc.c_cc, old_tc.c_cc, sizeof(old_tc.c_cc)); in TerminalDefaultChars()
496 tmp_tc.c_cc[VMIN] = 1; in TerminalNewMode()
497 tmp_tc.c_cc[VTIME] = 0; in TerminalNewMode()
506 tmp_tc.c_cc[VLNEXT] = (cc_t)(_POSIX_VDISABLE); in TerminalNewMode()
611 tmp_tc.c_cc[VDSUSP] = (cc_t)(_POSIX_VDISABLE); in TerminalNewMode()
620 if ((tmp_tc.c_cc[VEOL] != esc) in TerminalNewMode()
622 && (tmp_tc.c_cc[VEOL2] != esc) in TerminalNewMode()
625 if (tmp_tc.c_cc[VEOL] == (cc_t)(_POSIX_VDISABLE)) in TerminalNewMode()
626 tmp_tc.c_cc[VEOL] = esc; in TerminalNewMode()
628 else if (tmp_tc.c_cc[VEOL2] == (cc_t)(_POSIX_VDISABLE)) in TerminalNewMode()
[all …]
/dragonfly/contrib/gdb-7/readline/
H A Drltty.c359 _rl_tty_chars.t_eof = tiop->c_cc[VEOF];
360 _rl_tty_chars.t_eol = tiop->c_cc[VEOL];
362 _rl_tty_chars.t_eol2 = tiop->c_cc[VEOL2];
368 _rl_tty_chars.t_kill = tiop->c_cc[VKILL];
384 _rl_tty_chars.t_stop = tiop->c_cc[VSTOP];
527 _rl_eof_char = oldtio.c_cc[VEOF];
551 tiop->c_cc[VMIN] = 1;
552 tiop->c_cc[VTIME] = 0;
568 tiop->c_cc[VLNEXT] = _POSIX_VDISABLE;
572 tiop->c_cc[VDSUSP] = _POSIX_VDISABLE;
[all …]
/dragonfly/contrib/gdb-7/gdb/
H A Dser-unix.c427 state.termios.c_cc[VMIN] = 0; in hardwire_raw()
428 state.termios.c_cc[VTIME] = 0; in hardwire_raw()
437 state.termio.c_cc[VMIN] = 0; in hardwire_raw()
438 state.termio.c_cc[VTIME] = 0; in hardwire_raw()
522 state.termios.c_cc[VTIME] = 0; in wait_for()
523 state.termios.c_cc[VMIN] = 1; in wait_for()
527 state.termios.c_cc[VMIN] = 0; in wait_for()
547 state.termio.c_cc[VTIME] = 0; in wait_for()
548 state.termio.c_cc[VMIN] = 1; in wait_for()
552 state.termio.c_cc[VMIN] = 0; in wait_for()
[all …]
/dragonfly/usr.bin/top/
H A Dscreen.c394 new_settings.c_cc[VMIN] = 1; in screen_init()
395 new_settings.c_cc[VTIME] = 0; in screen_init()
399 ch_erase = old_settings.c_cc[VERASE]; in screen_init()
400 ch_kill = old_settings.c_cc[VKILL]; in screen_init()
401 ch_werase = old_settings.c_cc[VWERASE]; in screen_init()
419 new_settings.c_cc[VMIN] = 1; in screen_init()
420 new_settings.c_cc[VTIME] = 0; in screen_init()
424 ch_erase = old_settings.c_cc[VERASE]; in screen_init()
425 ch_kill = old_settings.c_cc[VKILL]; in screen_init()
426 ch_werase = old_settings.c_cc[VWERASE]; in screen_init()
/dragonfly/usr.bin/window/
H A Dmain.c120 wwnewtty.ww_termios.c_cc[VQUIT] = in main()
121 wwoldtty.ww_termios.c_cc[VQUIT]; in main()
125 wwnewtty.ww_termios.c_cc[VSTOP] = in main()
126 wwoldtty.ww_termios.c_cc[VSTOP]; in main()
127 wwnewtty.ww_termios.c_cc[VSTART] = in main()
128 wwoldtty.ww_termios.c_cc[VSTART]; in main()
H A Dwwgets.c57 if (c == wwoldtty.ww_termios.c_cc[VERASE]) in wwgets()
66 if (c == wwoldtty.ww_termios.c_cc[VKILL]) in wwgets()
75 if (c == wwoldtty.ww_termios.c_cc[VWERASE]) in wwgets()
/dragonfly/libexec/getty/
H A Dsubr.c204 &tmode.c_cc[VERASE], &tmode.c_cc[VKILL], &tmode.c_cc[VINTR],
205 &tmode.c_cc[VQUIT], &tmode.c_cc[VSTART], &tmode.c_cc[VSTOP],
206 &tmode.c_cc[VEOF], &tmode.c_cc[VEOL], &tmode.c_cc[VSUSP],
207 &tmode.c_cc[VDSUSP], &tmode.c_cc[VREPRINT], &tmode.c_cc[VDISCARD],
208 &tmode.c_cc[VWERASE], &tmode.c_cc[VLNEXT], 0
/dragonfly/contrib/ncurses/progs/
H A Dreset_cmd.c189 tty_settings->c_cc[item] = CHK(tty_settings->c_cc[item], value)
366 if (DISABLED(tty_settings->c_cc[VERASE]) || my_erase >= 0) { in set_control_chars()
367 tty_settings->c_cc[VERASE] = UChar((my_erase >= 0) in set_control_chars()
372 if (DISABLED(tty_settings->c_cc[VINTR]) || my_intr >= 0) { in set_control_chars()
373 tty_settings->c_cc[VINTR] = UChar((my_intr >= 0) in set_control_chars()
378 if (DISABLED(tty_settings->c_cc[VKILL]) || my_kill >= 0) { in set_control_chars()
379 tty_settings->c_cc[VKILL] = UChar((my_kill >= 0) in set_control_chars()
558 newer = new_settings->c_cc[which]; in show_tty_change()
559 older = old_settings->c_cc[which]; in show_tty_change()
/dragonfly/sys/platform/vkernel64/platform/
H A Dconsole.c452 tio.c_cc[VINTR] = init_tio.c_cc[VINTR]; in vcons_set_mode()
453 tio.c_cc[VSUSP] = init_tio.c_cc[VSUSP]; in vcons_set_mode()
454 tio.c_cc[VSTATUS] = init_tio.c_cc[VSTATUS]; in vcons_set_mode()
456 tio.c_cc[VINTR] = _POSIX_VDISABLE; in vcons_set_mode()
457 tio.c_cc[VSUSP] = _POSIX_VDISABLE; in vcons_set_mode()
458 tio.c_cc[VSTATUS] = _POSIX_VDISABLE; in vcons_set_mode()
/dragonfly/bin/stty/
H A Dcchar.c117 ip->t.c_cc[cp->sub] = _POSIX_VDISABLE; in csearch()
129 ip->t.c_cc[cp->sub] = val; in csearch()
131 ip->t.c_cc[cp->sub] = (arg[1] == '?') ? 0177 : in csearch()
134 ip->t.c_cc[cp->sub] = arg[0]; in csearch()
H A Dkey.c163 ip->t.c_cc[VERASE] = (u_char)0177; in f_dec()
164 ip->t.c_cc[VKILL] = CTRL('u'); in f_dec()
165 ip->t.c_cc[VINTR] = CTRL('c'); in f_dec()
176 ip->t.c_cc[VERASE] = CERASE; in f_ek()
177 ip->t.c_cc[VKILL] = CKILL; in f_ek()
/dragonfly/contrib/nvi2/cl/
H A Dcl_screen.c339 clp->vi_enter.c_cc[VDSUSP] = _POSIX_VDISABLE; in cl_vi_init()
341 clp->vi_enter.c_cc[VQUIT] = _POSIX_VDISABLE; in cl_vi_init()
342 clp->vi_enter.c_cc[VSUSP] = _POSIX_VDISABLE; in cl_vi_init()
351 clp->vi_enter.c_cc[VDISCARD] = _POSIX_VDISABLE; in cl_vi_init()
354 clp->vi_enter.c_cc[VLNEXT] = _POSIX_VDISABLE; in cl_vi_init()
357 clp->vi_enter.c_cc[VSTATUS] = _POSIX_VDISABLE; in cl_vi_init()
/dragonfly/games/hack/
H A Dhack.tty.c131 erase_char = inittyb.c_cc[VERASE]; in gettty()
132 kill_char = inittyb.c_cc[VKILL]; in gettty()
181 curttyb.c_cc[VMIN] = 1; in setftty()
182 curttyb.c_cc[VTIME] = 0; in setftty()
/dragonfly/lib/libc/gen/
H A Dtermios.c176 t->c_cc[VMIN] = 1; in cfmakeraw()
177 t->c_cc[VTIME] = 0; in cfmakeraw()
193 memcpy(&t->c_cc, ttydefchars, sizeof ttydefchars); in cfmakesane()
258 c = term.c_cc[action == TCIOFF ? VSTOP : VSTART]; in tcflow()
/dragonfly/usr.bin/tip/
H A Dtip.c201 ctermios.c_cc[VINTR] = ctermios.c_cc[VQUIT] = -1; in main()
202 ctermios.c_cc[VSUSP] = ctermios.c_cc[VDSUSP] = ctermios.c_cc[VDISCARD] = in main()
203 ctermios.c_cc[VLNEXT] = -1; in main()
/dragonfly/games/backgammon/common_source/
H A Dtable.c111 if (c == old.c_cc[VERASE] && ncin > 0) { in checkmove()
115 if (old.c_cc[VERASE] == '\010') in checkmove()
131 if (c == old.c_cc[VKILL] && ncin > 0) { in checkmove()
138 if (old.c_cc[VERASE] == '\010') { in checkmove()
/dragonfly/usr.bin/talk/
H A Dinit_disp.c124 my_win.cerase = tio.c_cc[VERASE]; in set_edit_chars()
125 my_win.kill = tio.c_cc[VKILL]; in set_edit_chars()
126 my_win.werase = tio.c_cc[VWERASE]; in set_edit_chars()

123