On Wed, Aug 29, 2018 at 03:06:40PM +1000, Greg 'groggy' Lehey wrote:
In BSD 4.3 and
early Linux (which is when I still was maintaining
Linux's serial driver) you always had to do:
stty dec < /dev/ttyS0
Checking mckusick's source distribution, it seems that the -f option
(along with sanity) came in with 4.4BSD. It was in the original
sources imported into FreeBSD. 4.3BSD had such a bizarre syntax that
I suspect whatever you emulated must have come from a later date.
BSD 4.4 Lite was released in 1994. (Lite2 was released in 1995.)
Linux was started in 1991, and we had a stty from very early on --- by
1992 at the latest.
Most of the Linux kernel developers from those early days cut their
teeth on BSD 4.3 and BSD 4.3 Reno, and were unwillingly frog-marched
from Sun OS 4.x to Slowlaris 2.x, and from IBM AOS (which was also BSD
4.3 based) to IBM AIX (thanks, AT&T) in their day jobs.
- Ted