According to the termio(7I) on Solaris, OLCUC is overridden by OPOST, so we
authorben <ben@cda61777-01e9-0310-a592-d414129be87e>
Tue, 26 Apr 2005 00:03:50 +0000 (00:03 +0000)
committerben <ben@cda61777-01e9-0310-a592-d414129be87e>
Tue, 26 Apr 2005 00:03:50 +0000 (00:03 +0000)
should send it with the SSH terminal modes too.

git-svn-id: svn://svn.tartarus.org/sgt/putty@5680 cda61777-01e9-0310-a592-d414129be87e

unix/uxplink.c

index bbbf0d8..2505cb2 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)