Lines Matching full:tty
2 * tty.c - code for handling serial ports in pppd.
71 #define RCSID "$Id: tty.c,v 1.22 2004/11/13 12:07:29 paulus Exp $"
129 mode_t tty_mode = (mode_t)-1; /* Original access permissions to tty */
146 bool notty = 0; /* Stdin/out is not a tty */
171 { "tty speed", o_wild, (void *) &setspeed,
193 "Script to run on pseudo-tty master side",
197 "Input/output is not a tty", OPT_DEVNAM | 1 },
398 * tty_init - do various tty-related initializations.
408 * tty_process_extra_options - work out which tty device we are using
419 option_error("no device specified and stdin is not a tty");
429 * Parse the tty options file.
430 * The per-tty options file should not change
532 error("Couldn't allocate pseudo-tty");
589 * Linux 2.4 and above blocks normal writes to the tty
718 /* reopen tty if necessary to wait for carrier */
746 * our packets off his tty before he has it set up.
843 error("Couldn't restore tty permissions");
1059 warn("couldn't set %s to nonblock: %m", (ifd==0? "stdin": "tty"));
1161 error("Error reading pseudo-tty master: %m");
1211 error("Error writing pseudo-tty master: %m");