|
10 | 10 | // spell-checker:ignore lnext rprnt susp dsusp swtch vdiscard veof veol verase vintr vkill vlnext vquit vreprint vstart vstop vsusp vswtc vwerase werase VDSUSP |
11 | 11 | // spell-checker:ignore sigquit sigtstp |
12 | 12 | // spell-checker:ignore cbreak decctlq evenp litout oddp |
| 13 | +// spell-checker:ignore cdtrdsr CDTRDSR ofill OFILL dsusp VDSUSP VFLUSHO VSTATUS noncanonical VMIN deciseconds noncanonical VTIME |
13 | 14 |
|
14 | 15 | use crate::Flag; |
15 | 16 |
|
@@ -65,10 +66,14 @@ pub const CONTROL_FLAGS: &[Flag<C>] = &[ |
65 | 66 | Flag::new_grouped("cs7", C::CS7, C::CSIZE), |
66 | 67 | Flag::new_grouped("cs8", C::CS8, C::CSIZE).sane(), |
67 | 68 | Flag::new("hupcl", C::HUPCL), |
| 69 | + // Not supported by nix. |
| 70 | + // Flag::new("hup", C::HUP).hidden(), |
68 | 71 | Flag::new("cstopb", C::CSTOPB), |
69 | 72 | Flag::new("cread", C::CREAD).sane(), |
70 | 73 | Flag::new("clocal", C::CLOCAL), |
71 | 74 | Flag::new("crtscts", C::CRTSCTS), |
| 75 | + // Not supported by nix. |
| 76 | + // Flag::new("cdtrdsr", C::CDTRDSR), |
72 | 77 | ]; |
73 | 78 |
|
74 | 79 | pub const INPUT_FLAGS: &[Flag<I>] = &[ |
@@ -120,6 +125,15 @@ pub const OUTPUT_FLAGS: &[Flag<O>] = &[ |
120 | 125 | target_os = "linux", |
121 | 126 | target_os = "macos" |
122 | 127 | ))] |
| 128 | + // Not supported by nix. |
| 129 | + // Flag::new("ofill", O::OFILL), |
| 130 | + // #[cfg(any( |
| 131 | + // target_os = "android", |
| 132 | + // target_os = "haiku", |
| 133 | + // target_os = "ios", |
| 134 | + // target_os = "linux", |
| 135 | + // target_os = "macos" |
| 136 | + // ))] |
123 | 137 | Flag::new_grouped("nl0", O::NL0, O::NLDLY).sane(), |
124 | 138 | #[cfg(any( |
125 | 139 | target_os = "android", |
@@ -377,6 +391,14 @@ pub const CONTROL_CHARS: &[(&str, S)] = &[ |
377 | 391 | ("lnext", S::VLNEXT), |
378 | 392 | // Discards the current line. |
379 | 393 | ("discard", S::VDISCARD), |
| 394 | + // deprecated compat option. |
| 395 | + // ("flush", S::VFLUSHO), // Not supported by nix |
| 396 | + // Status character |
| 397 | + // ("status", S::VSTATUS), // Not supported by nix |
| 398 | + // Minimum number of characters for noncanonical read. |
| 399 | + // ("min", S::VMIN), |
| 400 | + // Timeout in deciseconds for noncanonical read. |
| 401 | + // ("time", S::VTIME), |
380 | 402 | ]; |
381 | 403 |
|
382 | 404 | /// This constant lists all possible combination settings, using a bool to represent if the setting is negatable |
|
0 commit comments