Which is more portable: stty < or stty >

Don Libes libes at cme.nist.gov
Tue Mar 13 10:14:57 AEST 1990


According to the man page (SunOS 4.0.3) ...
The native SunOS stty(1)  acts on the device that is the current stdout
while their System V stty acts on the device that is the current stdin.

In the interest of portability, which is preferable?

Currently, 4.0.3 defaults to using the native stty.  According to a
Sun rep, the next release (4.1) will default to the System V version,
although the next version (5.0) will not have any "preference" (his
word, which he could not explain).  It actually sounded to me like
that have simply not yet decided.

Will POSIX provide an answer, or perhaps, provide a stty90 which has a
real interface?

Don Libes          libes at cme.nist.gov      ...!uunet!cme-durer!libes



More information about the Comp.unix.wizards mailing list