Lines Matching refs:m

87 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()
353 m = cb.c_iflag; in prmodes()
354 if (m&IGNBRK) in prmodes()
356 else if (m&BRKINT) in prmodes()
358 if (!(m&INPCK)) in prmodes()
360 else if (m&IGNPAR) in prmodes()
362 if (m&PARMRK) in prmodes()
364 if (!(m&ISTRIP)) in prmodes()
366 if (m&INLCR) in prmodes()
368 if (m&IGNCR) in prmodes()
370 if (m&ICRNL) in prmodes()
372 if (m&IUCLC) in prmodes()
374 if (!(m&IXON)) in prmodes()
376 else if (!(m&IXANY)) in prmodes()
378 if (m&IXOFF) in prmodes()
380 if ((term & TERMIOS) && (m&IMAXBEL)) in prmodes()
382 m = cb.c_oflag; in prmodes()
383 if (!(m&OPOST)) in prmodes()
386 if (m&OLCUC) in prmodes()
388 if (m&ONLCR) in prmodes()
390 if (m&OCRNL) in prmodes()
392 if (m&ONOCR) in prmodes()
394 if (m&ONLRET) in prmodes()
396 if (m&OFILL) in prmodes()
397 if (m&OFDEL) in prmodes()
401 delay((m&CRDLY)/CR1, "cr"); in prmodes()
402 delay((m&NLDLY)/NL1, "nl"); in prmodes()
403 delay((m&TABDLY)/TAB1, "tab"); in prmodes()
404 delay((m&BSDLY)/BS1, "bs"); in prmodes()
405 delay((m&VTDLY)/VT1, "vt"); in prmodes()
406 delay((m&FFDLY)/FF1, "ff"); in prmodes()
409 m = cb.c_lflag; in prmodes()
410 if (!(m&ISIG)) in prmodes()
412 if (!(m&ICANON)) in prmodes()
414 if (m&XCASE) in prmodes()
416 (void) printf("-echo "+((m&ECHO) != 0)); in prmodes()
417 (void) printf("-echoe "+((m&ECHOE) != 0)); in prmodes()
418 (void) printf("-echok "+((m&ECHOK) != 0)); in prmodes()
419 if (m&ECHONL) in prmodes()
421 if (m&NOFLSH) in prmodes()
423 if (m&TOSTOP) in prmodes()
425 if (m&ECHOCTL) in prmodes()
427 if (m&ECHOPRT) in prmodes()
429 if (m&ECHOKE) in prmodes()
431 if (m&DEFECHO) in prmodes()
433 if (m&FLUSHO) in prmodes()
435 if (m&PENDIN) in prmodes()
437 if (m&IEXTEN) in prmodes()
442 m = termiox.x_hflag; in prmodes()
443 if (m & RTSXOFF) in prmodes()
445 if (m & CTSXON) in prmodes()
447 if (m & DTRXOFF) in prmodes()
449 if (m & CDXON) in prmodes()
451 if (m & ISXOFF) in prmodes()
453 m = termiox.x_cflag; in prmodes()
454 switch (m & XMTCLK) { in prmodes()
462 switch (m & RCVCLK) { in prmodes()
470 switch (m & TSETCLK) { in prmodes()
482 switch (m & RSETCLK) { in prmodes()
500 int m; in pramodes() local
502 m = cb.c_cflag; in pramodes()
561 m = cb.c_cflag; in pramodes()
562 (void) printf("-parenb "+((m&PARENB) != 0)); in pramodes()
563 (void) printf("-parodd "+((m&PARODD) != 0)); in pramodes()
564 (void) printf("cs%c ", '5'+(m&CSIZE)/CS6); in pramodes()
565 (void) printf("-cstopb "+((m&CSTOPB) != 0)); in pramodes()
566 (void) printf("-hupcl "+((m&HUPCL) != 0)); in pramodes()
567 (void) printf("-cread "+((m&CREAD) != 0)); in pramodes()
568 (void) printf("-clocal "+((m&CLOCAL) != 0)); in pramodes()
570 (void) printf("-loblk "+((m&LOBLK) != 0)); in pramodes()
571 (void) printf("-crtscts "+((m&CRTSCTS) != 0)); in pramodes()
572 (void) printf("-crtsxoff "+((m&CRTSXOFF) != 0)); in pramodes()
574 (void) printf("-parext "+((m&PAREXT) != 0)); in pramodes()
577 m = cb.c_iflag; in pramodes()
578 (void) printf("-ignbrk "+((m&IGNBRK) != 0)); in pramodes()
579 (void) printf("-brkint "+((m&BRKINT) != 0)); in pramodes()
580 (void) printf("-ignpar "+((m&IGNPAR) != 0)); in pramodes()
581 (void) printf("-parmrk "+((m&PARMRK) != 0)); in pramodes()
582 (void) printf("-inpck "+((m&INPCK) != 0)); in pramodes()
583 (void) printf("-istrip "+((m&ISTRIP) != 0)); in pramodes()
584 (void) printf("-inlcr "+((m&INLCR) != 0)); in pramodes()
585 (void) printf("-igncr "+((m&IGNCR) != 0)); in pramodes()
586 (void) printf("-icrnl "+((m&ICRNL) != 0)); in pramodes()
587 (void) printf("-iuclc "+((m&IUCLC) != 0)); in pramodes()
589 (void) printf("-ixon "+((m&IXON) != 0)); in pramodes()
590 (void) printf("-ixany "+((m&IXANY) != 0)); in pramodes()
591 (void) printf("-ixoff "+((m&IXOFF) != 0)); in pramodes()
593 (void) printf("-imaxbel "+((m&IMAXBEL) != 0)); in pramodes()
595 m = cb.c_lflag; in pramodes()
596 (void) printf("-isig "+((m&ISIG) != 0)); in pramodes()
597 (void) printf("-icanon "+((m&ICANON) != 0)); in pramodes()
598 (void) printf("-xcase "+((m&XCASE) != 0)); in pramodes()
599 (void) printf("-echo "+((m&ECHO) != 0)); in pramodes()
600 (void) printf("-echoe "+((m&ECHOE) != 0)); in pramodes()
601 (void) printf("-echok "+((m&ECHOK) != 0)); in pramodes()
602 (void) printf("-echonl "+((m&ECHONL) != 0)); in pramodes()
603 (void) printf("-noflsh "+((m&NOFLSH) != 0)); in pramodes()
606 (void) printf("-tostop "+((m&TOSTOP) != 0)); in pramodes()
607 (void) printf("-echoctl "+((m&ECHOCTL) != 0)); in pramodes()
608 (void) printf("-echoprt "+((m&ECHOPRT) != 0)); in pramodes()
609 (void) printf("-echoke "+((m&ECHOKE) != 0)); in pramodes()
610 (void) printf("-defecho "+((m&DEFECHO) != 0)); in pramodes()
611 (void) printf("-flusho "+((m&FLUSHO) != 0)); in pramodes()
612 (void) printf("-pendin "+((m&PENDIN) != 0)); in pramodes()
613 (void) printf("-iexten "+((m&IEXTEN) != 0)); in pramodes()
616 (void) printf("-stflush "+((m&STFLUSH) != 0)); in pramodes()
617 (void) printf("-stwrap "+((m&STWRAP) != 0)); in pramodes()
618 (void) printf("-stappl "+((m&STAPPL) != 0)); in pramodes()
621 m = cb.c_oflag; in pramodes()
622 (void) printf("-opost "+((m&OPOST) != 0)); in pramodes()
623 (void) printf("-olcuc "+((m&OLCUC) != 0)); in pramodes()
624 (void) printf("-onlcr "+((m&ONLCR) != 0)); in pramodes()
625 (void) printf("-ocrnl "+((m&OCRNL) != 0)); in pramodes()
626 (void) printf("-onocr "+((m&ONOCR) != 0)); in pramodes()
627 (void) printf("-onlret "+((m&ONLRET) != 0)); in pramodes()
628 (void) printf("-ofill "+((m&OFILL) != 0)); in pramodes()
629 (void) printf("-ofdel "+((m&OFDEL) != 0)); in pramodes()
630 delay((m&CRDLY)/CR1, "cr"); in pramodes()
631 delay((m&NLDLY)/NL1, "nl"); in pramodes()
632 delay((m&TABDLY)/TAB1, "tab"); in pramodes()
633 delay((m&BSDLY)/BS1, "bs"); in pramodes()
634 delay((m&VTDLY)/VT1, "vt"); in pramodes()
635 delay((m&FFDLY)/FF1, "ff"); in pramodes()
638 m = termiox.x_hflag; in pramodes()
639 (void) printf("-rtsxoff "+((m&RTSXOFF) != 0)); in pramodes()
640 (void) printf("-ctsxon "+((m&CTSXON) != 0)); in pramodes()
641 (void) printf("-dtrxoff "+((m&DTRXOFF) != 0)); in pramodes()
642 (void) printf("-cdxon "+((m&CDXON) != 0)); in pramodes()
643 (void) printf("-isxoff "+((m&ISXOFF) != 0)); in pramodes()
644 m = termiox.x_cflag; in pramodes()
645 switch (m & XMTCLK) { in pramodes()
653 switch (m & RCVCLK) { in pramodes()
661 switch (m & TSETCLK) { in pramodes()
673 switch (m & RSETCLK) { in pramodes()
718 delay(int m, char *s) in delay() argument
720 if (m) in delay()
721 (void) printf("%s%d ", s, m); in delay()