home *** CD-ROM | disk | FTP | other *** search
/ Usenet 1994 January / usenetsourcesnewsgroupsinfomagicjanuary1994.iso / sources / std_unix / mod.std.unix.v2 / text0014.txt < prev    next >
Encoding:
Text File  |  1987-06-30  |  5.8 KB  |  112 lines

  1. This article mentions some changes to the P1003.D4 draft by section,
  2. sometimes with discussion of the motivation for the changes.
  3. There were far too many changes to record them all, and I do not
  4. have the minutes which have the details anyway.  Thus I am trying
  5. here merely to mention changes which strongly affect the reader
  6. of P1003.D4, in hopes of reducing duplicate effort.
  7.  
  8. Section 2.2, General Terms, has been expanded to include many
  9. previously missing definitions.  There was a proposal to change the
  10. format to be more tutorial, with definitions of specific terms embedded
  11. in paragraphs discussing related concepts (in fact, the writeup in that
  12. form was considered to be the text of that section for D4 instead of
  13. what appears in the current copy, which is older).  The consensus was
  14. that, while there is certainly a need for such tutorial material,
  15. a standard is a reference, not a place to learn the operating system.
  16. The result is the same general form as that of P1003.D4, though
  17. somewhat more detailed.
  18.  
  19. Much attention has been paid to error codes throughout the document.
  20. Many of the definitions in 2.3, Error Numbers, have been revised.
  21.  
  22. The spurious last sentence about structure elements in section 2.4
  23. has been deleted.
  24.  
  25. Most places where the numeric values of symbolic constants were
  26. given, such as section 2.8, Symbolic Constants, the numeric values
  27. have been removed, and the form of the display has been changed
  28. from C preprocessor definitions to a table.  I believe there is
  29. an intention to give the numeric values in appendices as examples
  30. of what they historically have been.  The main exception is section
  31. 14. Data Interchange Format, as the values of the bytes on the tape
  32. or other interchange medium must be defined.
  33.  
  34. In section 4.2, User Identification, it was decided that there
  35. was no need for three methods of getting the user's login name
  36. (cuserid, getlogin, and getlogname).  Getlogname was removed,
  37. and the writeups of the other two were redone to emphasize when
  38. it was appropriate to use each.  Note that though the logname
  39. function was removed, the LOGNAME environment variable was not.
  40. These changes are different from what is in the SVID or X/OPEN
  41. documents.
  42.  
  43. Ustat, and its containing section 7.9.1, File System Statistics,
  44. no longer exist.  The reasoning was that only a very few programs
  45. used it (df and ed) and it does not generalize easily to networked
  46. file systems.  Df is not defined by the standard, and the use
  47. of ustat in ed is not necessary and not sufficient.  Also, ustat
  48. required the definition of a "mounted file system" which was otherwise
  49. not in the standard (as mount and umount are not).
  50.  
  51. In section 8.3, Pipes, much work was put into producing a description
  52. which permitted most known existing implementations while retaining
  53. enough specificity to be useful.  There are a few areas which will
  54. affect existing implementations, but this is more because there
  55. already were conflicting implementations, not that P1003 wishes
  56. to legislate one version as the better one.  A table will appear
  57. in an appendix showing what happens with various attempts at
  58. writing with O_NDELAY on or off, and with differing buffer sizes.
  59. The Version 8 manual was an inspiration for some of the wording.
  60.  
  61. In section 8.6, Input and Output, a proposal to change the
  62. nbyte arguments of read and write from type int to unsigned
  63. failed to pass the committee, as has apparently happened many
  64. times before.  Verbiage was added to the Errors subsections
  65. to clarify what may happen if a negative nbyte argument is passed.
  66.  
  67. In section 8.7.3, File Record Locking, the last vestiges of references
  68. to enforcement mode were removed.  There were only two known
  69. implementations of enforcement mode, and the representatives of both
  70. companies (AT&T and HP) said they had done it only because the
  71. /usr/group standard had included it, and they would be happy to have it
  72. removed.
  73.  
  74. Section 9.1.1, Termios, does not appear in the copy of the draft which
  75. is currently available, but was supplied to the committee as a separate
  76. document which I believe was considered to be part of P1003.D4.  The
  77. subcommittee which considered it at the meeting recommended removing it
  78. from the draft standard altogether.  The reasons for this were various,
  79. including that the wording was too stringent in places (it would
  80. apparently require an X.25 or TCP/IP/RS232C connection to act like an
  81. ordinary terminal port) and too vague in others (it was not clear what
  82. a line discipline was).  Also, there was no provision for speeds other
  83. than the traditional ones up to 19200 baud, only one direction of
  84. XON/XOFF protocol was supported, etc.
  85.  
  86. In the full committee, several members objected to the removal of the
  87. termio section on the grounds that a) many of the objections to the
  88. section were internationalization issues, and the committee had
  89. otherwise explicitly avoided addressing such issues, and b) the draft
  90. standard really needed a termio section, as it would risk being voted
  91. down by the balloting committee if it lacked one.  It was speculated
  92. that the /usr/group standard would have had more influence if it had
  93. included a similar section.
  94.  
  95. The resolution was to put the existing termio section in an appendix,
  96. while letting section 9.1.1 refer to the appendix, saying something
  97. to the effect that the committee did intend to have a section similar
  98. to the one currently in the appendix, but possibly not until after
  99. trial use.  This prohibits anyone from specifying compliance to the
  100. current termio section, while making the intention to include one clear.
  101.  
  102. In section 12. Passwords, there are no longer any references to text
  103. files for the /etc/passwd or /etc/group information.  Only the getpwent
  104. and getgrent functions are defined:  the internal storage format is
  105. not defined.
  106.  
  107. Once again, remember that these are only my opinions, and not those
  108. of the P1003 committee, IEEE, or anyone else.
  109.  
  110. Volume-Number: Volume 2, Number 15
  111.  
  112.