Home
last modified time | relevance | path

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

/haiku/src/add-ons/kernel/drivers/ports/pc_serial/
H A DTracing.cpp117 tios->c_cc[0], tios->c_cc[1], tios->c_cc[2], tios->c_cc[3], in trace_termios()
118 tios->c_cc[4], tios->c_cc[5], tios->c_cc[6], tios->c_cc[7], in trace_termios()
119 tios->c_cc[8], tios->c_cc[9], tios->c_cc[10]); in trace_termios()
/haiku/src/add-ons/kernel/drivers/ports/usb_serial/
H A DTracing.cpp120 tios->c_cc[0], tios->c_cc[1], tios->c_cc[2], tios->c_cc[3], in trace_termios()
121 tios->c_cc[4], tios->c_cc[5], tios->c_cc[6], tios->c_cc[7], in trace_termios()
122 tios->c_cc[8], tios->c_cc[9], tios->c_cc[10]); in trace_termios()
/haiku/src/bin/network/telnet/
H A Dexterns.h382 # define termEofChar new_tc.c_cc[VEOF]
383 # define termEraseChar new_tc.c_cc[VERASE]
384 # define termIntChar new_tc.c_cc[VINTR]
385 # define termKillChar new_tc.c_cc[VKILL]
386 # define termQuitChar new_tc.c_cc[VQUIT]
391 # define termSuspChar new_tc.c_cc[VSUSP]
399 # define termFlushChar new_tc.c_cc[VDISCARD]
404 # define termWerasChar new_tc.c_cc[VWERASE]
409 # define termRprntChar new_tc.c_cc[VREPRINT]
414 # define termLiteralNextChar new_tc.c_cc[VLNEXT]
[all …]
H A Dsys_bsd.c321 memcpy(new_tc.c_cc, old_tc.c_cc, sizeof(old_tc.c_cc)); in TerminalDefaultChars()
500 tmp_tc.c_cc[VMIN] = 1; in TerminalNewMode()
501 tmp_tc.c_cc[VTIME] = 0; in TerminalNewMode()
510 tmp_tc.c_cc[VLNEXT] = (cc_t)(_POSIX_VDISABLE); in TerminalNewMode()
615 tmp_tc.c_cc[VDSUSP] = (cc_t)(_POSIX_VDISABLE); in TerminalNewMode()
624 if ((tmp_tc.c_cc[VEOL] != esc) in TerminalNewMode()
626 && (tmp_tc.c_cc[VEOL2] != esc) in TerminalNewMode()
629 if (tmp_tc.c_cc[VEOL] == (cc_t)(_POSIX_VDISABLE)) in TerminalNewMode()
630 tmp_tc.c_cc[VEOL] = esc; in TerminalNewMode()
632 else if (tmp_tc.c_cc[VEOL2] == (cc_t)(_POSIX_VDISABLE)) in TerminalNewMode()
[all …]
/haiku/src/tests/apps/miniterminal/
H A DMiniView.cpp170 tio.c_cc[VINTR] = 'C' & 0x1f; /* '^C' */ in OpenTTY()
171 tio.c_cc[VQUIT] = '\\'& 0x1f; /* '^\' */ in OpenTTY()
172 tio.c_cc[VERASE] = 0x08; /* '^H' */ in OpenTTY()
173 tio.c_cc[VKILL] = 'U' & 0x1f; /* '^U' */ in OpenTTY()
174 tio.c_cc[VEOF] = 'D' & 0x1f; /* '^D' */ in OpenTTY()
175 tio.c_cc[VEOL] = 0; /* '^@' */ in OpenTTY()
176 tio.c_cc[VMIN] = 4; in OpenTTY()
177 tio.c_cc[VTIME] = 0; in OpenTTY()
178 tio.c_cc[VEOL2] = 0; /* '^@' */ in OpenTTY()
179 tio.c_cc[VSWTCH] = 0; /* '^@' */ in OpenTTY()
[all …]
/haiku/src/apps/terminal/
H A DShell.cpp374 tio.c_cc[VINTR] = 'C' & 0x1f; /* '^C' */ in initialize_termios()
375 tio.c_cc[VQUIT] = CQUIT; /* '^\' */ in initialize_termios()
376 tio.c_cc[VERASE] = 0x7f; /* '^?' */ in initialize_termios()
377 tio.c_cc[VKILL] = 'U' & 0x1f; /* '^U' */ in initialize_termios()
378 tio.c_cc[VEOF] = CEOF; /* '^D' */ in initialize_termios()
379 tio.c_cc[VEOL] = CEOL; /* '^@' */ in initialize_termios()
380 tio.c_cc[VMIN] = 4; in initialize_termios()
381 tio.c_cc[VTIME] = 0; in initialize_termios()
382 tio.c_cc[VEOL2] = CEOL; /* '^@' */ in initialize_termios()
383 tio.c_cc[VSWTCH] = CSWTCH; /* '^@' */ in initialize_termios()
[all …]
/haiku/src/add-ons/kernel/generic/tty/
H A Dtty.cpp724 fTTY->settings->termios.c_cc[VEOL], in _CheckAvailableBytes()
725 fTTY->settings->termios.c_cc[VEOF]); in _CheckAvailableBytes()
767 termios.c_cc[VINTR] = CTRL('C'); in reset_termios()
768 termios.c_cc[VQUIT] = CTRL('\\'); in reset_termios()
769 termios.c_cc[VERASE] = 0x7f; in reset_termios()
770 termios.c_cc[VKILL] = CTRL('U'); in reset_termios()
771 termios.c_cc[VEOF] = CTRL('D'); in reset_termios()
772 termios.c_cc[VEOL] = '\0'; in reset_termios()
773 termios.c_cc[VEOL2] = '\0'; in reset_termios()
774 termios.c_cc[VSTART] = CTRL('S'); in reset_termios()
[all …]
H A Dmodule.cpp39 kprintf(" c_cc[%02d]: %d\n", i, settings.termios.c_cc[i]); in dump_tty_settings()
/haiku/src/bin/unzip/
H A Dttyio.c446 oldmin = sg.c_cc[VMIN]; /* save old values */
447 oldtim = sg.c_cc[VTIME];
448 sg.c_cc[VMIN] = 1; /* need only one char to return read() */
449 sg.c_cc[VTIME] = 0; /* no timeout */
461 sg.c_cc[VMIN] = oldmin; /* restore old values */
462 sg.c_cc[VTIME] = oldtim;
/haiku/src/add-ons/print/transports/serial_port/
H A DSerialTransport.cpp68 options.c_cc[VTIME] = 10; // wait for data at most for 1 second in SerialTransport()
69 options.c_cc[VMIN] = 0; // allow to return 0 chars in SerialTransport()
/haiku/src/kits/device/
H A DSerialPort.cpp605 options.c_cc[VTIME] = 0; in _DriverControl()
606 options.c_cc[VMIN] = 0; in _DriverControl()
609 options.c_cc[VMIN] = 1; in _DriverControl()
612 options.c_cc[VTIME] = (timeout == 0) ? 1 : timeout; in _DriverControl()
/haiku/src/system/libroot/posix/
H A Dtermios.c169 termios->c_cc[VMIN] = 1; // input is available character by character in cfmakeraw()
170 termios->c_cc[VTIME] = 0; in cfmakeraw()
/haiku/src/libs/bsd/
H A Dreadpassphrase.c100 if (term.c_cc[VSTATUS] != _POSIX_VDISABLE) in readpassphrase()
101 term.c_cc[VSTATUS] = _POSIX_VDISABLE; in readpassphrase()
/haiku/src/bin/network/telnetd/
H A Dsys_term.c279 #define setval(a, b) *valp = termbuf.c_cc[a]; \
280 *valpp = &termbuf.c_cc[a]; \
806 erase = termbuf.c_cc[VERASE]; in getptyslave()
853 termbuf.c_cc[VERASE] = erase; in getptyslave()
/haiku/src/add-ons/kernel/network/ppp/modem/
H A DModemDevice.cpp349 options.c_cc[VMIN] = 0; in OpenModem()
350 options.c_cc[VTIME] = 10; in OpenModem()
/haiku/headers/posix/
H A Dtermios.h26 cc_t c_cc[NCCS]; /* control characters */ member
/haiku/src/add-ons/kernel/network/devices/dialup/
H A Ddialup.cpp281 device->line_config.c_cc[VMIN] = 0; in dialup_up()
282 device->line_config.c_cc[VTIME] = 10; in dialup_up()