From: ben Date: Tue, 26 Apr 2005 00:03:50 +0000 (+0000) Subject: According to the termio(7I) on Solaris, OLCUC is overridden by OPOST, so we X-Git-Url: https://git.distorted.org.uk/~mdw/sgt/putty/commitdiff_plain/7016cde4097d265eb0bc3d31f1d3b07bf40a870d According to the termio(7I) on Solaris, OLCUC is overridden by OPOST, so we should send it with the SSH terminal modes too. git-svn-id: svn://svn.tartarus.org/sgt/putty@5680 cda61777-01e9-0310-a592-d414129be87e --- diff --git a/unix/uxplink.c b/unix/uxplink.c index bbbf0d8b..2505cb2a 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 @@ -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)