X-Git-Url: https://git.distorted.org.uk/u/mdw/putty/blobdiff_plain/e8269d308e6169f227b02a783428856c0a7a3ed1..6bbce591e72352b2ce5e4915e7ab05f316083ab7:/unix/uxplink.c diff --git a/unix/uxplink.c b/unix/uxplink.c index bbbf0d8b..d4335cff 100644 --- a/unix/uxplink.c +++ b/unix/uxplink.c @@ -271,6 +271,9 @@ char *get_ttymode(void *frontend, const char *mode) GET_BOOL("IXANY", IXANY, c_iflag, ); #endif /* Configuration of OPOST */ +#if defined(OLCUC) + GET_BOOL("OLCUC", OLCUC, c_oflag, ); +#endif #if defined(ONLCR) GET_BOOL("ONLCR", ONLCR, c_oflag, ); #endif @@ -280,7 +283,7 @@ char *get_ttymode(void *frontend, const char *mode) #if defined(ONOCR) GET_BOOL("ONOCR", ONOCR, c_oflag, ); #endif -#if defined(ONLCR) +#if defined(ONLRET) GET_BOOL("ONLRET", ONLRET, c_oflag, ); #endif @@ -314,7 +317,7 @@ char *get_ttymode(void *frontend, const char *mode) * IGNPAR PARMRK INPCK CS7 CS8 PARENB PARODD * - Things that want to be enabled in one place that we don't * squash locally. - * IUCLC OLCUC + * IUCLC * - Status bits. * PENDIN * - Things I don't know what to do with. (FIXME)