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


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

.

Last update: 1997-05-20


								9945-2-133

 _____________________________________________________________________________

	Topic: stty
	Sections: 4.59.4.6

Defect Report:
-----------------------

	From: [email protected] (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: [email protected]    

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

	Topic: stty
	Sections: 4.59.4.6

Section 4.59.4.6 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
read:

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.

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