Lines Matching refs:m
86 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()
355 m = cb.c_iflag; in prmodes()
356 if (m&IGNBRK) in prmodes()
358 else if (m&BRKINT) in prmodes()
360 if (!(m&INPCK)) in prmodes()
362 else if (m&IGNPAR) in prmodes()
364 if (m&PARMRK) in prmodes()
366 if (!(m&ISTRIP)) in prmodes()
368 if (m&INLCR) in prmodes()
370 if (m&IGNCR) in prmodes()
372 if (m&ICRNL) in prmodes()
374 if (m&IUCLC) in prmodes()
376 if (!(m&IXON)) in prmodes()
378 else if (!(m&IXANY)) in prmodes()
380 if (m&IXOFF) in prmodes()
382 if ((term & TERMIOS) && (m&IMAXBEL)) in prmodes()
384 m = cb.c_oflag; in prmodes()
385 if (!(m&OPOST)) in prmodes()
388 if (m&OLCUC) in prmodes()
390 if (m&ONLCR) in prmodes()
392 if (m&OCRNL) in prmodes()
394 if (m&ONOCR) in prmodes()
396 if (m&ONLRET) in prmodes()
398 if (m&OFILL) in prmodes()
399 if (m&OFDEL) in prmodes()
403 delay((m&CRDLY)/CR1, "cr"); in prmodes()
404 delay((m&NLDLY)/NL1, "nl"); in prmodes()
405 delay((m&TABDLY)/TAB1, "tab"); in prmodes()
406 delay((m&BSDLY)/BS1, "bs"); in prmodes()
407 delay((m&VTDLY)/VT1, "vt"); in prmodes()
408 delay((m&FFDLY)/FF1, "ff"); in prmodes()
411 m = cb.c_lflag; in prmodes()
412 if (!(m&ISIG)) in prmodes()
414 if (!(m&ICANON)) in prmodes()
416 if (m&XCASE) in prmodes()
418 (void) printf("-echo "+((m&ECHO) != 0)); in prmodes()
419 (void) printf("-echoe "+((m&ECHOE) != 0)); in prmodes()
420 (void) printf("-echok "+((m&ECHOK) != 0)); in prmodes()
421 if (m&ECHONL) in prmodes()
423 if (m&NOFLSH) in prmodes()
425 if (m&TOSTOP) in prmodes()
427 if (m&ECHOCTL) in prmodes()
429 if (m&ECHOPRT) in prmodes()
431 if (m&ECHOKE) in prmodes()
433 if (m&DEFECHO) in prmodes()
435 if (m&FLUSHO) in prmodes()
437 if (m&PENDIN) in prmodes()
439 if (m&IEXTEN) in prmodes()
444 m = termiox.x_hflag; in prmodes()
445 if (m & RTSXOFF) in prmodes()
447 if (m & CTSXON) in prmodes()
449 if (m & DTRXOFF) in prmodes()
451 if (m & CDXON) in prmodes()
453 if (m & ISXOFF) in prmodes()
455 m = termiox.x_cflag; in prmodes()
456 switch (m & XMTCLK) { in prmodes()
464 switch (m & RCVCLK) { in prmodes()
472 switch (m & TSETCLK) { in prmodes()
484 switch (m & RSETCLK) { in prmodes()
502 int m; in pramodes() local
504 m = cb.c_cflag; in pramodes()
564 m = cb.c_cflag; in pramodes()
565 (void) printf("-parenb "+((m&PARENB) != 0)); in pramodes()
566 (void) printf("-parodd "+((m&PARODD) != 0)); in pramodes()
567 (void) printf("cs%c ", '5'+(m&CSIZE)/CS6); in pramodes()
568 (void) printf("-cstopb "+((m&CSTOPB) != 0)); in pramodes()
569 (void) printf("-hupcl "+((m&HUPCL) != 0)); in pramodes()
570 (void) printf("-cread "+((m&CREAD) != 0)); in pramodes()
571 (void) printf("-clocal "+((m&CLOCAL) != 0)); in pramodes()
573 (void) printf("-loblk "+((m&LOBLK) != 0)); in pramodes()
574 (void) printf("-crtscts "+((m&CRTSCTS) != 0)); in pramodes()
575 (void) printf("-crtsxoff "+((m&CRTSXOFF) != 0)); in pramodes()
577 (void) printf("-parext "+((m&PAREXT) != 0)); in pramodes()
580 m = cb.c_iflag; in pramodes()
581 (void) printf("-ignbrk "+((m&IGNBRK) != 0)); in pramodes()
582 (void) printf("-brkint "+((m&BRKINT) != 0)); in pramodes()
583 (void) printf("-ignpar "+((m&IGNPAR) != 0)); in pramodes()
584 (void) printf("-parmrk "+((m&PARMRK) != 0)); in pramodes()
585 (void) printf("-inpck "+((m&INPCK) != 0)); in pramodes()
586 (void) printf("-istrip "+((m&ISTRIP) != 0)); in pramodes()
587 (void) printf("-inlcr "+((m&INLCR) != 0)); in pramodes()
588 (void) printf("-igncr "+((m&IGNCR) != 0)); in pramodes()
589 (void) printf("-icrnl "+((m&ICRNL) != 0)); in pramodes()
590 (void) printf("-iuclc "+((m&IUCLC) != 0)); in pramodes()
592 (void) printf("-ixon "+((m&IXON) != 0)); in pramodes()
593 (void) printf("-ixany "+((m&IXANY) != 0)); in pramodes()
594 (void) printf("-ixoff "+((m&IXOFF) != 0)); in pramodes()
596 (void) printf("-imaxbel "+((m&IMAXBEL) != 0)); in pramodes()
598 m = cb.c_lflag; in pramodes()
599 (void) printf("-isig "+((m&ISIG) != 0)); in pramodes()
600 (void) printf("-icanon "+((m&ICANON) != 0)); in pramodes()
601 (void) printf("-xcase "+((m&XCASE) != 0)); in pramodes()
602 (void) printf("-echo "+((m&ECHO) != 0)); in pramodes()
603 (void) printf("-echoe "+((m&ECHOE) != 0)); in pramodes()
604 (void) printf("-echok "+((m&ECHOK) != 0)); in pramodes()
605 (void) printf("-echonl "+((m&ECHONL) != 0)); in pramodes()
606 (void) printf("-noflsh "+((m&NOFLSH) != 0)); in pramodes()
609 (void) printf("-tostop "+((m&TOSTOP) != 0)); in pramodes()
610 (void) printf("-echoctl "+((m&ECHOCTL) != 0)); in pramodes()
611 (void) printf("-echoprt "+((m&ECHOPRT) != 0)); in pramodes()
612 (void) printf("-echoke "+((m&ECHOKE) != 0)); in pramodes()
613 (void) printf("-defecho "+((m&DEFECHO) != 0)); in pramodes()
614 (void) printf("-flusho "+((m&FLUSHO) != 0)); in pramodes()
615 (void) printf("-pendin "+((m&PENDIN) != 0)); in pramodes()
616 (void) printf("-iexten "+((m&IEXTEN) != 0)); in pramodes()
619 (void) printf("-stflush "+((m&STFLUSH) != 0)); in pramodes()
620 (void) printf("-stwrap "+((m&STWRAP) != 0)); in pramodes()
621 (void) printf("-stappl "+((m&STAPPL) != 0)); in pramodes()
624 m = cb.c_oflag; in pramodes()
625 (void) printf("-opost "+((m&OPOST) != 0)); in pramodes()
626 (void) printf("-olcuc "+((m&OLCUC) != 0)); in pramodes()
627 (void) printf("-onlcr "+((m&ONLCR) != 0)); in pramodes()
628 (void) printf("-ocrnl "+((m&OCRNL) != 0)); in pramodes()
629 (void) printf("-onocr "+((m&ONOCR) != 0)); in pramodes()
630 (void) printf("-onlret "+((m&ONLRET) != 0)); in pramodes()
631 (void) printf("-ofill "+((m&OFILL) != 0)); in pramodes()
632 (void) printf("-ofdel "+((m&OFDEL) != 0)); in pramodes()
633 delay((m&CRDLY)/CR1, "cr"); in pramodes()
634 delay((m&NLDLY)/NL1, "nl"); in pramodes()
635 delay((m&TABDLY)/TAB1, "tab"); in pramodes()
636 delay((m&BSDLY)/BS1, "bs"); in pramodes()
637 delay((m&VTDLY)/VT1, "vt"); in pramodes()
638 delay((m&FFDLY)/FF1, "ff"); in pramodes()
641 m = termiox.x_hflag; in pramodes()
642 (void) printf("-rtsxoff "+((m&RTSXOFF) != 0)); in pramodes()
643 (void) printf("-ctsxon "+((m&CTSXON) != 0)); in pramodes()
644 (void) printf("-dtrxoff "+((m&DTRXOFF) != 0)); in pramodes()
645 (void) printf("-cdxon "+((m&CDXON) != 0)); in pramodes()
646 (void) printf("-isxoff "+((m&ISXOFF) != 0)); in pramodes()
647 m = termiox.x_cflag; in pramodes()
648 switch (m & XMTCLK) { in pramodes()
656 switch (m & RCVCLK) { in pramodes()
664 switch (m & TSETCLK) { in pramodes()
676 switch (m & RSETCLK) { in pramodes()
721 delay(int m, char *s) in delay() argument
723 if (m) in delay()
724 (void) printf("%s%d ", s, m); in delay()