Relay-Version: version B 2.10 5/3/83; site utzoo.UUCP Posting-Version: version B 2.10.2 9/18/84; site brl-tgr.ARPA Path: utzoo!watmath!clyde!burl!ulysses!allegra!bellcore!decvax!genrad!panda!talcott!harvard!seismo!brl-tgr!gwyn From: gwyn@brl-tgr.ARPA (Doug Gwyn ) Newsgroups: net.unix-wizards Subject: Re: Stty/Gtty on System III and PC/IX? Message-ID: <9635@brl-tgr.ARPA> Date: Sun, 31-Mar-85 23:34:01 EST Article-I.D.: brl-tgr.9635 Posted: Sun Mar 31 23:34:01 1985 Date-Received: Wed, 3-Apr-85 02:20:36 EST References: <1483@emory.UUCP> Distribution: net Organization: Ballistic Research Lab Lines: 18 Stty/gtty were system calls on all UNIXes for a long time. Yes, they're effectively 7th Edition TIOCSETP/TIOCGETP ioctls. When the new USG terminal driver was introduced, the stty/gtty system calls were still supported (via emulation in the kernel) for a transitional period. This code was shipped as part of the official Western Electric UNIX System III distributions. I forget whether TIOCSETP/TIOCGETP ioctls (as opposed to stty/ gtty system calls) were ever supported by USG UNIX. They may have been in some versions as a 7th Edition compatibility measure. If there is no stty() or gtty() in your C library, then it does sound as though ISC decided to remove them for some reason (perhaps to keep the kernel small). You can write user-level emulations to add to the C library; I have exactly the OPPOSITE emulation in various UNIX System V emulations. Better to just convert to the new terminal handler and have done with it.