[TUHS] Research UNIX on the AT&T 3B2?

Dave Horsfall dave at horsfall.org
Wed Aug 29 18:43:14 AEST 2018


On Tue, 28 Aug 2018, Theodore Y. Ts'o wrote:

> I'm pretty sure the addition of "stty -f" and "stty -F" is a fairly late 
> innovation.  i.e., it wasn't there when Linux "copied" stty's user 
> interface.

Yeah, I suppose that's it, but in true GNU style they also have 
"--file=/dev/XXX", so why not "-f"?

> 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
>
> Really, why did those young whippersnappers had to add an option, when 
> redirection worked perfectly well and required one less character to 
> type?  :-)

Ah, but then the shell does the opening, which might not be the mode that 
you wanted; I was doing some funky I/O redirection at the time as well.

-- Dave



More information about the TUHS mailing list