WG15 Defect Report Ref: 9945-2-133
Topic: stty

This is an approved interpretation of 9945-2:1993.


Last update: 1997-05-20



	Topic: stty

Defect Report:

	From: andrew@novell.co.uk (Andrew Josey)
	Date: Thu, 20 Jul 1995 15:08:13 +0100

For the attention of :

        Secretary, IEEE Standards Board
        IEEE Standards Department
        445 Hoes Lane
        P.O. Box 1331
        Piscataway, NJ 08855-1331
        Email: stds.pasc-interp-request@ieee.org    

This is a request for interpretation of ISO/IEC POSIX 9945-2-92

	Topic: stty

Section states:

9944	nl (-nl)	Enable (disable) icrnl.  In addition, -nl unsets
9945			inlcr and igncr.

In the case of nl, this specifies the exact opposite of historical SysV
practice, from which the definition of stty is taken.

SVID 3 states (minus output modes which aren't specified by POSIX):

nl (-nl)	Unset (set) icrnl.  In addtion -nl unsets inlcr, igncr.

This appears to be a straightforward editorial error.  The standard should

9944	nl (-nl)	Disable (enable) icrnl.  In addition, -nl disables
9945			inlcr and igncr.

Please could you clarify if the standard is in error?

Interpretation response

The standard states the requirement for stty nl
and conforming implementations must conform
to this. However concerns have been raised about this which are
being referred to the sponsor.

Forwarded to Interpretations group: Jul 25 1995
Recirculated for 30 day review: Oct 19 1995
Finalised: Nov 20 1995