Stty/Gtty on System III and PC/IX?

Guy Harris guy at rlgvax.UUCP
Wed Apr 3 10:15:36 AEST 1985


> Stty/gtty were system calls on all UNIXes for a long time.
> Yes, they're effectively 7th Edition TIOCSETP/TIOCGETP ioctls.

Well, the V7 ones are, anyway; Sixth Edition UNIX had a different tty
driver (more like the one in UNIX/TS 1.0 and PWB/UNIX 2.0).

> 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.

The comment in the code reads "compatibility aide(sic) only".  Unfortunately
for those of us who have to deal with V7 but don't care about U/TS 1.0 or
PWB 2.0, they aren't backwards compatible with V7.  They can be made to
be 95-99% compatible, however.

	Guy Harris
	sun!guy



More information about the Comp.unix.wizards mailing list