Home
last modified time | relevance | path

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

123

/mirbsd/src/sys/compat/linux/
Dlinux_termios.c158 bts->c_cc[VINTR] = lt->c_cc[LINUX_VINTR];
159 bts->c_cc[VQUIT] = lt->c_cc[LINUX_VQUIT];
160 bts->c_cc[VERASE] = lt->c_cc[LINUX_VERASE];
161 bts->c_cc[VKILL] = lt->c_cc[LINUX_VKILL];
162 bts->c_cc[VEOF] = lt->c_cc[LINUX_VEOF];
163 bts->c_cc[VTIME] = lt->c_cc[LINUX_VTIME];
164 bts->c_cc[VMIN] = lt->c_cc[LINUX_VMIN];
240 lt->c_cc[LINUX_VINTR] = bts->c_cc[VINTR];
241 lt->c_cc[LINUX_VQUIT] = bts->c_cc[VQUIT];
242 lt->c_cc[LINUX_VERASE] = bts->c_cc[VERASE];
[all …]
/mirbsd/src/libexec/getty/
Dinit.c54 { "er", &tmode.c_cc[VERASE] }, /* erase character */
55 { "kl", &tmode.c_cc[VKILL] }, /* kill character */
56 { "et", &tmode.c_cc[VEOF] }, /* eof character (eot) */
63 { "in", &tmode.c_cc[VINTR] }, /* interrupt char */
64 { "qu", &tmode.c_cc[VQUIT] }, /* quit char */
65 { "xn", &tmode.c_cc[VSTART] }, /* XON (start) char */
66 { "xf", &tmode.c_cc[VSTOP] }, /* XOFF (stop) char */
67 { "bk", &tmode.c_cc[VEOL] }, /* brk char (alt \n) */
68 { "su", &tmode.c_cc[VSUSP] }, /* suspend char */
69 { "ds", &tmode.c_cc[VDSUSP] }, /* delayed suspend */
[all …]
Dsubr.c149 &tmode.c_cc[VERASE], &tmode.c_cc[VKILL], &tmode.c_cc[VINTR],
150 &tmode.c_cc[VQUIT], &tmode.c_cc[VSTART], &tmode.c_cc[VSTOP],
151 &tmode.c_cc[VEOF], &tmode.c_cc[VEOL], &tmode.c_cc[VSUSP],
152 &tmode.c_cc[VDSUSP], &tmode.c_cc[VREPRINT], &tmode.c_cc[VDISCARD],
153 &tmode.c_cc[VWERASE], &tmode.c_cc[VLNEXT], 0
/mirbsd/src/sys/kern/
Dtty_subr.c82 clp->c_cc = 0;
113 if (clp->c_cc == 0)
123 if (--clp->c_cc == 0)
146 while (count > 0 && clp->c_cc > 0) {
155 clp->c_cc -= cc;
160 if (clp->c_cc == 0)
181 if ((cc = clp->c_cc) == 0)
223 if (count == clp->c_cc) {
224 clp->c_cc = 0;
229 while (count > 0 && clp->c_cc > 0) {
[all …]
Dtty_pty.c322 if (tp->t_canq.c_cc == 0) {
331 while (tp->t_canq.c_cc > 1 && uio->uio_resid > 0)
336 if (tp->t_canq.c_cc == 1)
338 if (tp->t_canq.c_cc)
515 if (tp->t_outq.c_cc && (tp->t_state&TS_TTSTOP) == 0)
535 if (tp->t_outq.c_cc <= tp->t_lowat) {
564 if (tp->t_canq.c_cc)
566 while (uio->uio_resid > 0 && tp->t_canq.c_cc < TTYHOG - 1) {
569 cc = min(cc, TTYHOG - 1 - tp->t_canq.c_cc);
599 if ((tp->t_rawq.c_cc + tp->t_canq.c_cc) >= TTYHOG - 2 &&
[all …]
Dtty.c222 if ((q)->c_cc) \
223 ndflush(q, (q)->c_cc); \
349 if (tp->t_rawq.c_cc + tp->t_canq.c_cc)
450 if (tp->t_rawq.c_cc)
459 tp->t_rawq.c_cc == tp->t_rocount &&
461 while (tp->t_rawq.c_cc)
535 if (tp->t_rawq.c_cc + tp->t_canq.c_cc >= TTYHOG) {
537 if (tp->t_outq.c_cc < tp->t_hiwat)
869 *(int *)data = tp->t_outq.c_cc;
937 bcopy(t->c_cc, tp->t_cc, sizeof(t->c_cc));
[all …]
/mirbsd/src/lib/libncurses/src/progs/
Dtset.c720 mode.c_cc[VDISCARD] = CHK(mode.c_cc[VDISCARD], CDISCARD); in reset_mode()
722 mode.c_cc[VEOF] = CHK(mode.c_cc[VEOF], CEOF); in reset_mode()
723 mode.c_cc[VERASE] = CHK(mode.c_cc[VERASE], CERASE); in reset_mode()
725 mode.c_cc[VFLUSH] = CHK(mode.c_cc[VFLUSH], CFLUSH); in reset_mode()
727 mode.c_cc[VINTR] = CHK(mode.c_cc[VINTR], CINTR); in reset_mode()
728 mode.c_cc[VKILL] = CHK(mode.c_cc[VKILL], CKILL); in reset_mode()
730 mode.c_cc[VLNEXT] = CHK(mode.c_cc[VLNEXT], CLNEXT); in reset_mode()
732 mode.c_cc[VQUIT] = CHK(mode.c_cc[VQUIT], CQUIT); in reset_mode()
734 mode.c_cc[VREPRINT] = CHK(mode.c_cc[VREPRINT], CRPRNT); in reset_mode()
737 mode.c_cc[VSTART] = CHK(mode.c_cc[VSTART], CSTART); in reset_mode()
[all …]
/mirbsd/src/lib/libedit/
Dtty.c703 s[C_INTR] = td->c_cc[VINTR]; in tty__getchar()
706 s[C_QUIT] = td->c_cc[VQUIT]; in tty__getchar()
709 s[C_ERASE] = td->c_cc[VERASE]; in tty__getchar()
712 s[C_KILL] = td->c_cc[VKILL]; in tty__getchar()
715 s[C_EOF] = td->c_cc[VEOF]; in tty__getchar()
718 s[C_EOL] = td->c_cc[VEOL]; in tty__getchar()
721 s[C_EOL2] = td->c_cc[VEOL2]; in tty__getchar()
724 s[C_SWTCH] = td->c_cc[VSWTCH]; in tty__getchar()
727 s[C_DSWTCH] = td->c_cc[VDSWTCH]; in tty__getchar()
730 s[C_ERASE2] = td->c_cc[VERASE2]; in tty__getchar()
[all …]
/mirbsd/src/usr.bin/telnet/
Dexterns.h369 # define termEofChar new_tc.c_cc[VEOF]
370 # define termEraseChar new_tc.c_cc[VERASE]
371 # define termIntChar new_tc.c_cc[VINTR]
372 # define termKillChar new_tc.c_cc[VKILL]
373 # define termQuitChar new_tc.c_cc[VQUIT]
378 # define termSuspChar new_tc.c_cc[VSUSP]
386 # define termFlushChar new_tc.c_cc[VDISCARD]
391 # define termWerasChar new_tc.c_cc[VWERASE]
396 # define termRprntChar new_tc.c_cc[VREPRINT]
401 # define termLiteralNextChar new_tc.c_cc[VLNEXT]
[all …]
Dsys_bsd.c302 memmove(new_tc.c_cc, old_tc.c_cc, sizeof(old_tc.c_cc)); in TerminalDefaultChars()
500 tmp_tc.c_cc[VMIN] = 1;
501 tmp_tc.c_cc[VTIME] = 0;
611 tmp_tc.c_cc[VDSUSP] = (cc_t)(_POSIX_VDISABLE);
620 if ((tmp_tc.c_cc[VEOL] != esc)
622 && (tmp_tc.c_cc[VEOL2] != esc)
625 if (tmp_tc.c_cc[VEOL] == (cc_t)(_POSIX_VDISABLE))
626 tmp_tc.c_cc[VEOL] = esc;
628 else if (tmp_tc.c_cc[VEOL2] == (cc_t)(_POSIX_VDISABLE))
629 tmp_tc.c_cc[VEOL2] = esc;
/mirbsd/src/gnu/usr.bin/binutils/gdb/
Dser-unix.c244 fprintf_filtered (stream, "0x%x ", state->termios.c_cc[i]); in hardwire_print_tty_state()
256 fprintf_filtered (stream, "0x%x ", state->termio.c_cc[i]); in hardwire_print_tty_state()
389 state.termios.c_cc[VMIN] = 0; in hardwire_raw()
390 state.termios.c_cc[VTIME] = 0; in hardwire_raw()
399 state.termio.c_cc[VMIN] = 0; in hardwire_raw()
400 state.termio.c_cc[VTIME] = 0; in hardwire_raw()
483 state.termios.c_cc[VTIME] = 0; in wait_for()
484 state.termios.c_cc[VMIN] = 1; in wait_for()
488 state.termios.c_cc[VMIN] = 0; in wait_for()
489 state.termios.c_cc[VTIME] = timeout * 10; in wait_for()
[all …]
/mirbsd/src/usr.bin/window/
Dmain.c141 wwnewtty.ww_termios.c_cc[VQUIT] = in main()
142 wwoldtty.ww_termios.c_cc[VQUIT]; in main()
146 wwnewtty.ww_termios.c_cc[VSTOP] = in main()
147 wwoldtty.ww_termios.c_cc[VSTOP]; in main()
148 wwnewtty.ww_termios.c_cc[VSTART] = in main()
149 wwoldtty.ww_termios.c_cc[VSTART]; in main()
Dwwgets.c66 if (c == wwoldtty.ww_termios.c_cc[VERASE])
75 if (c == wwoldtty.ww_termios.c_cc[VKILL])
84 if (c == wwoldtty.ww_termios.c_cc[VWERASE])
/mirbsd/src/usr.bin/talk/
Dinit_disp.c113 buf[0] = my_win.cerase = (tty.c_cc[VERASE] == (u_char)_POSIX_VDISABLE) in set_edit_chars()
114 ? CERASE : tty.c_cc[VERASE]; in set_edit_chars()
115 buf[1] = my_win.kill = (tty.c_cc[VKILL] == (u_char)_POSIX_VDISABLE) in set_edit_chars()
116 ? CKILL : tty.c_cc[VKILL]; in set_edit_chars()
117 buf[2] = my_win.werase = (tty.c_cc[VWERASE] == (u_char)_POSIX_VDISABLE) in set_edit_chars()
118 ? CWERASE : tty.c_cc[VWERASE]; in set_edit_chars()
/mirbsd/src/usr.bin/tip/
Dtip.c221 term.c_cc[VMIN] = 1;
222 term.c_cc[VTIME] = 0;
224 term.c_cc[VINTR] = term.c_cc[VQUIT] = term.c_cc[VSUSP] =
225 term.c_cc[VDSUSP] = term.c_cc[VDISCARD] =
226 term.c_cc[VLNEXT] = _POSIX_VDISABLE;
554 cntrl.c_cc[VMIN] = 1;
555 cntrl.c_cc[VTIME] = 0;
/mirbsd/src/bin/stty/
Dcchar.c119 ip->t.c_cc[cp->sub] = _POSIX_VDISABLE; in csearch()
131 ip->t.c_cc[cp->sub] = val; in csearch()
133 ip->t.c_cc[cp->sub] = (arg[1] == '?') ? 0177 : in csearch()
136 ip->t.c_cc[cp->sub] = arg[0]; in csearch()
Dkey.c175 ip->t.c_cc[VERASE] = (u_char)0177; in f_dec()
176 ip->t.c_cc[VKILL] = CTRL('u'); in f_dec()
177 ip->t.c_cc[VINTR] = CTRL('c'); in f_dec()
188 ip->t.c_cc[VERASE] = CERASE; in f_ek()
189 ip->t.c_cc[VKILL] = CKILL; in f_ek()
/mirbsd/src/usr.bin/top/
Dscreen.c177 new_settings.c_cc[VMIN] = 1; in init_screen()
178 new_settings.c_cc[VTIME] = 0; in init_screen()
182 ch_erase = old_settings.c_cc[VERASE]; in init_screen()
183 ch_kill = old_settings.c_cc[VKILL]; in init_screen()
/mirbsd/src/usr.bin/mail/
Dtty.c95 c_erase = ttybuf.c_cc[VERASE]; in grabh()
96 c_kill = ttybuf.c_cc[VKILL]; in grabh()
98 ttybuf.c_cc[VERASE] = 0; in grabh()
99 ttybuf.c_cc[VKILL] = 0; in grabh()
160 ttybuf.c_cc[VERASE] = c_erase; in grabh()
161 ttybuf.c_cc[VKILL] = c_kill; in grabh()
/mirbsd/src/gnu/usr.bin/texinfo/info/
Dterminal.c729 ttybuff.c_cc[VMIN] = 1; in terminal_prep_terminal()
730 ttybuff.c_cc[VTIME] = 0; in terminal_prep_terminal()
732 if (ttybuff.c_cc[VINTR] == '\177') in terminal_prep_terminal()
733 ttybuff.c_cc[VINTR] = -1; in terminal_prep_terminal()
735 if (ttybuff.c_cc[VQUIT] == '\177') in terminal_prep_terminal()
736 ttybuff.c_cc[VQUIT] = -1; in terminal_prep_terminal()
739 if (ttybuff.c_cc[VLNEXT] == '\026') in terminal_prep_terminal()
740 ttybuff.c_cc[VLNEXT] = -1; in terminal_prep_terminal()
/mirbsd/src/usr.bin/vi/cl/
Dcl_screen.c343 clp->vi_enter.c_cc[VDSUSP] = _POSIX_VDISABLE;
345 clp->vi_enter.c_cc[VQUIT] = _POSIX_VDISABLE;
346 clp->vi_enter.c_cc[VSUSP] = _POSIX_VDISABLE;
355 clp->vi_enter.c_cc[VDISCARD] = _POSIX_VDISABLE;
358 clp->vi_enter.c_cc[VLNEXT] = _POSIX_VDISABLE;
361 clp->vi_enter.c_cc[VSTATUS] = _POSIX_VDISABLE;
/mirbsd/src/lib/libncurses/src/ncurses/tinfo/
Dlib_raw.c96 buf.c_cc[VMIN] = 1; in NCURSES_EXPORT()
97 buf.c_cc[VTIME] = 0; in NCURSES_EXPORT()
129 buf.c_cc[VMIN] = 1; in cbreak()
130 buf.c_cc[VTIME] = 0; in cbreak()
Dlib_kernel.c89 result = cur_term->Ottyb.c_cc[VERASE]; in erasechar()
114 result = cur_term->Ottyb.c_cc[VKILL]; in killchar()
/mirbsd/src/usr.bin/ssh/
Dsshtty.c85 tio.c_cc[VMIN] = 1; in enter_raw_mode()
86 tio.c_cc[VTIME] = 0; in enter_raw_mode()
/mirbsd/src/distrib/special/more/
Dmore.c901 if (comchar == otty.c_cc[VERASE]) { in command()
1192 ch = otty.c_cc[VKILL]; in number()
1198 else if (ch == otty.c_cc[VKILL]) in number()
1437 docrterase = (otty.c_cc[VERASE] != _POSIX_VDISABLE); in initterm()
1438 docrtkill = (otty.c_cc[VKILL] != _POSIX_VDISABLE); in initterm()
1541 ntty.c_cc[VMIN] = 1; /* read at least 1 char */ in initterm()
1542 ntty.c_cc[VTIME] = 0; /* no timeout */ in initterm()
1630 ch = otty.c_cc[VKILL]; in readch()
1660 else if ((ch == otty.c_cc[VERASE]) && !slash) { in ttyin()
1676 } else if ((ch == otty.c_cc[VKILL]) && !slash) { in ttyin()
[all …]

123