Changeset View
Changeset View
Standalone View
Standalone View
bin/stty/print.c
Show First 20 Lines • Show All 121 Lines • ▼ Show 20 Lines | #define put(n, f, d) \ | ||||
put("-ixoff", IXOFF, 0); | put("-ixoff", IXOFF, 0); | ||||
put("-ixany", IXANY, 1); | put("-ixany", IXANY, 1); | ||||
put("-imaxbel", IMAXBEL, 1); | put("-imaxbel", IMAXBEL, 1); | ||||
put("-ignbrk", IGNBRK, 0); | put("-ignbrk", IGNBRK, 0); | ||||
put("-brkint", BRKINT, 1); | put("-brkint", BRKINT, 1); | ||||
put("-inpck", INPCK, 0); | put("-inpck", INPCK, 0); | ||||
put("-ignpar", IGNPAR, 0); | put("-ignpar", IGNPAR, 0); | ||||
put("-parmrk", PARMRK, 0); | put("-parmrk", PARMRK, 0); | ||||
put("-iutf8", IUTF8, 1); | |||||
/* output flags */ | /* output flags */ | ||||
tmp = tp->c_oflag; | tmp = tp->c_oflag; | ||||
binit("oflags"); | binit("oflags"); | ||||
put("-opost", OPOST, 1); | put("-opost", OPOST, 1); | ||||
put("-onlcr", ONLCR, 1); | put("-onlcr", ONLCR, 1); | ||||
put("-ocrnl", OCRNL, 0); | put("-ocrnl", OCRNL, 0); | ||||
switch(tmp&TABDLY) { | switch(tmp&TABDLY) { | ||||
▲ Show 20 Lines • Show All 148 Lines • Show Last 20 Lines |