IEEE Standards Interpretations for IEEE Std 1003.2™-1992 IEEE Standard for Information Technology--Portable Operating System Interfaces (POSIX®)--Part 2: Shell and Utilities
Copyright © 1996 by the Institute of Electrical and Electronics Engineers, Inc. 3 Park Avenue New York, New York 10016-5997 USA All Rights Reserved.
Interpretations are issued to explain and clarify the intent of a standard and do not constitute an alteration to the original standard. In addition, interpretations are not intended to supply consulting information. Permission is hereby granted to download and print one copy of this document. Individuals seeking permission to reproduce and/or distribute this document in its entirety or portions of this document must contact the IEEE Standards Department for the appropriate license. Use of the information contained in this document is at your own risk.
IEEE Standards Department, Copyrights and Permissions, 445 Hoes Lane, Piscataway, New Jersey 08855-1331, USA
Interpretation Request #133
Topic: stty Sections: 22.214.171.124
Section 126.96.36.199 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?
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 for Interpretation