From mboxrd@z Thu Jan 1 00:00:00 1970 From: jon@fourwinds.com (Jon Steinhart) Date: Thu, 21 Sep 2017 09:37:02 -0700 Subject: [TUHS] Sockets and the true UNIX [ actually carping about streams ] In-Reply-To: References: <20170921160112.ctpv4a52t5rjcqzg@matica.foolinux.mooo.com> <20170921161040.GC25650@mcvoy.com> Message-ID: <201709211637.v8LGb29S020071@darkstar.fourwinds.com> Clem Cole writes: > dmr designed Streams to replace the tty handler. I have never had any reason to dig into the streams code. But there is one part of the implementation that I hate, which is the way that data is lost when switching between modules. This most notably rears its ugly head when using something like vi, hitting control-Z, and then typing a shell command. The user has to pause because incoming characters get tossed when switching from cbreak to cooked. This has become less of an issue as machines have gotten faster, but it still gets me if my system is extremely heavily loaded. Jon