]> asedeno.scripts.mit.edu Git - PuTTY.git/commitdiff
According to the termio(7I) on Solaris, OLCUC is overridden by OPOST, so we
authorBen Harris <bjh21@bjh21.me.uk>
Tue, 26 Apr 2005 00:03:50 +0000 (00:03 +0000)
committerBen Harris <bjh21@bjh21.me.uk>
Tue, 26 Apr 2005 00:03:50 +0000 (00:03 +0000)
should send it with the SSH terminal modes too.

[originally from svn r5680]

unix/uxplink.c

index bbbf0d8b66cb5330d3a23608cd808897580f4d25..2505cb2a0637b648830710eba0ecdd8f860b65f5 100644 (file)
@@ -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)