Lines Matching refs:m

79 static void delay(int m, char *s);
237 int m; in prmodes() local
240 m = stio.imode; in prmodes()
241 if (m & IUCLC) in prmodes()
245 m = stio.omode; in prmodes()
246 if (m & OLCUC) in prmodes()
250 if (m & TAB3) in prmodes()
252 m = stio.lmode; in prmodes()
253 if (m & XCASE) in prmodes()
257 if (m & STFLUSH) in prmodes()
261 if (m & STWRAP) in prmodes()
265 if (m & STAPPL) in prmodes()
272 m = cb.c_cflag; in prmodes()
279 if (m&PARENB) { in prmodes()
280 if ((m&PAREXT) && (term & TERMIOS)) { in prmodes()
281 if (m&PARODD) in prmodes()
286 if (m&PARODD) in prmodes()
293 if (((m&PARENB) && !(m&CS7)) || (!(m&PARENB) && !(m&CS8))) in prmodes()
294 (void) printf("cs%c ", '5'+(m&CSIZE)/CS6); in prmodes()
295 if (m&CSTOPB) in prmodes()
297 if (m&HUPCL) in prmodes()
299 if (!(m&CREAD)) in prmodes()
301 if (m&CLOCAL) in prmodes()
303 if (m&LOBLK) in prmodes()
359 m = cb.c_iflag; in prmodes()
360 if (m&IGNBRK) in prmodes()
362 else if (m&BRKINT) in prmodes()
364 if (!(m&INPCK)) in prmodes()
366 else if (m&IGNPAR) in prmodes()
368 if (m&PARMRK) in prmodes()
370 if (!(m&ISTRIP)) in prmodes()
372 if (m&INLCR) in prmodes()
374 if (m&IGNCR) in prmodes()
376 if (m&ICRNL) in prmodes()
378 if (m&IUCLC) in prmodes()
380 if (!(m&IXON)) in prmodes()
382 else if (!(m&IXANY)) in prmodes()
384 if (m&IXOFF) in prmodes()
386 if ((term & TERMIOS) && (m&IMAXBEL)) in prmodes()
388 m = cb.c_oflag; in prmodes()
389 if (!(m&OPOST)) in prmodes()
392 if (m&OLCUC) in prmodes()
394 if (m&ONLCR) in prmodes()
396 if (m&OCRNL) in prmodes()
398 if (m&ONOCR) in prmodes()
400 if (m&ONLRET) in prmodes()
402 if (m&OFILL) { in prmodes()
403 if (m&OFDEL) in prmodes()
408 delay((m&CRDLY)/CR1, "cr"); in prmodes()
409 delay((m&NLDLY)/NL1, "nl"); in prmodes()
410 delay((m&TABDLY)/TAB1, "tab"); in prmodes()
411 delay((m&BSDLY)/BS1, "bs"); in prmodes()
412 delay((m&VTDLY)/VT1, "vt"); in prmodes()
413 delay((m&FFDLY)/FF1, "ff"); in prmodes()
416 m = cb.c_lflag; in prmodes()
417 if (!(m&ISIG)) in prmodes()
419 if (!(m&ICANON)) in prmodes()
421 if (m&XCASE) in prmodes()
423 (void) printf("-echo "+((m&ECHO) != 0)); in prmodes()
424 (void) printf("-echoe "+((m&ECHOE) != 0)); in prmodes()
425 (void) printf("-echok "+((m&ECHOK) != 0)); in prmodes()
426 if (m&ECHONL) in prmodes()
428 if (m&NOFLSH) in prmodes()
430 if (m&TOSTOP) in prmodes()
432 if (m&ECHOCTL) in prmodes()
434 if (m&ECHOPRT) in prmodes()
436 if (m&ECHOKE) in prmodes()
438 if (m&DEFECHO) in prmodes()
440 if (m&FLUSHO) in prmodes()
442 if (m&PENDIN) in prmodes()
444 if (m&IEXTEN) in prmodes()
449 m = termiox.x_hflag; in prmodes()
450 if (m & RTSXOFF) in prmodes()
452 if (m & CTSXON) in prmodes()
454 if (m & DTRXOFF) in prmodes()
456 if (m & CDXON) in prmodes()
458 if (m & ISXOFF) in prmodes()
460 m = termiox.x_cflag; in prmodes()
461 switch (m & XMTCLK) { in prmodes()
469 switch (m & RCVCLK) { in prmodes()
477 switch (m & TSETCLK) { in prmodes()
489 switch (m & RSETCLK) { in prmodes()
507 int m; in pramodes() local
509 m = cb.c_cflag; in pramodes()
571 m = cb.c_cflag; in pramodes()
572 (void) printf("-parenb "+((m&PARENB) != 0)); in pramodes()
573 (void) printf("-parodd "+((m&PARODD) != 0)); in pramodes()
574 (void) printf("cs%c ", '5'+(m&CSIZE)/CS6); in pramodes()
575 (void) printf("-cstopb "+((m&CSTOPB) != 0)); in pramodes()
576 (void) printf("-hupcl "+((m&HUPCL) != 0)); in pramodes()
577 (void) printf("-cread "+((m&CREAD) != 0)); in pramodes()
578 (void) printf("-clocal "+((m&CLOCAL) != 0)); in pramodes()
580 (void) printf("-loblk "+((m&LOBLK) != 0)); in pramodes()
581 (void) printf("-crtscts "+((m&CRTSCTS) != 0)); in pramodes()
582 (void) printf("-crtsxoff "+((m&CRTSXOFF) != 0)); in pramodes()
584 (void) printf("-parext "+((m&PAREXT) != 0)); in pramodes()
587 m = cb.c_iflag; in pramodes()
588 (void) printf("-ignbrk "+((m&IGNBRK) != 0)); in pramodes()
589 (void) printf("-brkint "+((m&BRKINT) != 0)); in pramodes()
590 (void) printf("-ignpar "+((m&IGNPAR) != 0)); in pramodes()
591 (void) printf("-parmrk "+((m&PARMRK) != 0)); in pramodes()
592 (void) printf("-inpck "+((m&INPCK) != 0)); in pramodes()
593 (void) printf("-istrip "+((m&ISTRIP) != 0)); in pramodes()
594 (void) printf("-inlcr "+((m&INLCR) != 0)); in pramodes()
595 (void) printf("-igncr "+((m&IGNCR) != 0)); in pramodes()
596 (void) printf("-icrnl "+((m&ICRNL) != 0)); in pramodes()
597 (void) printf("-iuclc "+((m&IUCLC) != 0)); in pramodes()
599 (void) printf("-ixon "+((m&IXON) != 0)); in pramodes()
600 (void) printf("-ixany "+((m&IXANY) != 0)); in pramodes()
601 (void) printf("-ixoff "+((m&IXOFF) != 0)); in pramodes()
603 (void) printf("-imaxbel "+((m&IMAXBEL) != 0)); in pramodes()
605 m = cb.c_lflag; in pramodes()
606 (void) printf("-isig "+((m&ISIG) != 0)); in pramodes()
607 (void) printf("-icanon "+((m&ICANON) != 0)); in pramodes()
608 (void) printf("-xcase "+((m&XCASE) != 0)); in pramodes()
609 (void) printf("-echo "+((m&ECHO) != 0)); in pramodes()
610 (void) printf("-echoe "+((m&ECHOE) != 0)); in pramodes()
611 (void) printf("-echok "+((m&ECHOK) != 0)); in pramodes()
612 (void) printf("-echonl "+((m&ECHONL) != 0)); in pramodes()
613 (void) printf("-noflsh "+((m&NOFLSH) != 0)); in pramodes()
616 (void) printf("-tostop "+((m&TOSTOP) != 0)); in pramodes()
617 (void) printf("-echoctl "+((m&ECHOCTL) != 0)); in pramodes()
618 (void) printf("-echoprt "+((m&ECHOPRT) != 0)); in pramodes()
619 (void) printf("-echoke "+((m&ECHOKE) != 0)); in pramodes()
620 (void) printf("-defecho "+((m&DEFECHO) != 0)); in pramodes()
621 (void) printf("-flusho "+((m&FLUSHO) != 0)); in pramodes()
622 (void) printf("-pendin "+((m&PENDIN) != 0)); in pramodes()
623 (void) printf("-iexten "+((m&IEXTEN) != 0)); in pramodes()
626 (void) printf("-stflush "+((m&STFLUSH) != 0)); in pramodes()
627 (void) printf("-stwrap "+((m&STWRAP) != 0)); in pramodes()
628 (void) printf("-stappl "+((m&STAPPL) != 0)); in pramodes()
631 m = cb.c_oflag; in pramodes()
632 (void) printf("-opost "+((m&OPOST) != 0)); in pramodes()
633 (void) printf("-olcuc "+((m&OLCUC) != 0)); in pramodes()
634 (void) printf("-onlcr "+((m&ONLCR) != 0)); in pramodes()
635 (void) printf("-ocrnl "+((m&OCRNL) != 0)); in pramodes()
636 (void) printf("-onocr "+((m&ONOCR) != 0)); in pramodes()
637 (void) printf("-onlret "+((m&ONLRET) != 0)); in pramodes()
638 (void) printf("-ofill "+((m&OFILL) != 0)); in pramodes()
639 (void) printf("-ofdel "+((m&OFDEL) != 0)); in pramodes()
640 delay((m&CRDLY)/CR1, "cr"); in pramodes()
641 delay((m&NLDLY)/NL1, "nl"); in pramodes()
642 delay((m&TABDLY)/TAB1, "tab"); in pramodes()
643 delay((m&BSDLY)/BS1, "bs"); in pramodes()
644 delay((m&VTDLY)/VT1, "vt"); in pramodes()
645 delay((m&FFDLY)/FF1, "ff"); in pramodes()
648 m = termiox.x_hflag; in pramodes()
649 (void) printf("-rtsxoff "+((m&RTSXOFF) != 0)); in pramodes()
650 (void) printf("-ctsxon "+((m&CTSXON) != 0)); in pramodes()
651 (void) printf("-dtrxoff "+((m&DTRXOFF) != 0)); in pramodes()
652 (void) printf("-cdxon "+((m&CDXON) != 0)); in pramodes()
653 (void) printf("-isxoff "+((m&ISXOFF) != 0)); in pramodes()
654 m = termiox.x_cflag; in pramodes()
655 switch (m & XMTCLK) { in pramodes()
663 switch (m & RCVCLK) { in pramodes()
671 switch (m & TSETCLK) { in pramodes()
683 switch (m & RSETCLK) { in pramodes()
728 delay(int m, char *s) in delay() argument
730 if (m) in delay()
731 (void) printf("%s%d ", s, m); in delay()