Re: [PATCH] n_tty: Remove LINEMODE support

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Howard Chu wrote:
Peter Hurley wrote:
On 01/19/2015 02:43 PM, Howard Chu wrote:
The fact that EXTPROC can be manually unset is by design. Quoting
from the original again:

stty.diff:
     This file contains the changes needed for the stty(1) program
     to report on the current status of the TS_EXTPROC bit.  It also
     allows the user to turn on/off the TS_EXTPROC bit.  This is useful
     because it allows the user to say "stty -extproc", and the
     LINEMODE option will be automatically disabled, and saying "stty
     extproc" will re-enable the LINEMODE option.

This option is not supported by gnu coreutils.

OK. It's in *BSD and Minix. Looks like I never wrote a patch for
coreutils for this last time around.

Wrote it, just never submitted it.

--
  -- Howard Chu
  CTO, Symas Corp.           http://www.symas.com
  Director, Highland Sun     http://highlandsun.com/hyc/
  Chief Architect, OpenLDAP  http://www.openldap.org/project/
--- stty.c	2009-04-24 13:41:19.000000000 +0100
+++ ../../../coreutils-7.4/src/stty.c	2010-06-17 06:48:42.000000000 +0100
@@ -330,6 +330,9 @@
   {"echoke", local, SANE_SET | REV, ECHOKE, 0},
   {"crtkill", local, REV | OMIT, ECHOKE, 0},
 #endif
+#ifdef EXTPROC
+  {"extproc", local, SANE_UNSET | REV, EXTPROC, 0},
+#endif
 
   {"evenp", combination, REV | OMIT, 0, 0},
   {"parity", combination, REV | OMIT, 0, 0},

[Index of Archives]     [Kernel Newbies]     [Security]     [Netfilter]     [Bugtraq]     [Linux PPP]     [Linux FS]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Samba]     [Video 4 Linux]     [Linmodem]     [Device Mapper]     [Linux Kernel for ARM]

  Powered by Linux