Why 4BSD 'stty' uses stdout instead of stdin

ron at BRL-TGR.ARPA ron at BRL-TGR.ARPA
Thu Aug 23 01:42:43 AEST 1984


From:      Ron Natalie <ron at BRL-TGR.ARPA>

If you make ioctl require owner, then any setuid programs that you run
will no longer be able to do ioctls.  If you do the GET from fd0 and
the SET to fd1, you'll really piss off the guy on tty1 because you will
set his terminal with the modes from your terminal plus cbreak.

-Ron



More information about the Comp.unix mailing list