Lines Matching refs:mode

84  * running in interactive mode or forcing stuff that comes back from the printer
205 setupstdin(int mode)
216 * Save (mode = 0), reset (mode = 1), or restore (mode = 2) the tty settings for
217 * stdin. Expect something like raw mode with no echo will be set up. Explicit
219 * to 1 when we're in interactive mode, but I've included it anyway.
225 switch ( mode ) {
228 error(FATAL, "stdin not a terminal - can't run interactive mode");
260 int ch; /* for interactive mode */
271 * mode should loop here forever, except during start(), echoing characters to
290 * process mode is undoubtedly sufficient and no counting should be necessary!!!
448 setupstdin(mode)
451 int mode; /* what to do with stdin settings */
465 * Save (mode = 0), reset (mode = 1), or restore (mode = 2) the tty settings for
466 * stdin. Expect something like raw mode with no echo will be set up. Need to make
468 * we're running interactive mode. I haven't tested or even compiled this code
475 switch ( mode ) {
508 int ch; /* for interactive mode */
520 * one character read. Interactive mode loops here forever, except during start(),
522 * simple getc/putc loop for interactive mode was unacceptable when run under mux
564 while ( 1 ) { /* only interactive mode gets here */
571 error(FATAL, "end of file in interactive mode");
689 setupstdin(mode)
692 int mode; /* what to do with stdin settings */
706 * Save (mode = 0), reset (mode = 1), or restore (mode = 2) the tty settings for
707 * stdin. Expect something like raw mode with no echo will be set up. Need to make
709 * we're running interactive mode. I haven't tested or even compiled this code
716 switch ( mode ) {
719 error(FATAL, "stdin not a terminal - can't run interactive mode");
751 int ch; /* for interactive mode */
760 * mode should loop here forever, except during start(), echoing characters to