home *** CD-ROM | disk | FTP | other *** search
/ Usenet 1994 January / usenetsourcesnewsgroupsinfomagicjanuary1994.iso / sources / std_unix / mod.std.unix.v4 / text0014.txt < prev    next >
Encoding:
Internet Message Format  |  1987-06-30  |  3.9 KB

  1. Date: Thu, 12 Dec 85 10:09:56 EST
  2. From: Arnold Robbins <arnold%gatech.csnet@CSNET-RELAY.ARPA>
  3.  
  4. Chapter 10: Data Interchange Format
  5.  
  6. John Gilmore (l5!gnu) has already done a better job of commenting on this than I
  7. could. I will note two spelling errors:
  8.  
  9.     The standard does not define the user interface to this program
  10.     and notes that the format-interpreting and format-translating
  11.     utilities need not be the same, thougt an implementor may chose
  12.     to make them so.
  13.  
  14. "Thought" should be "though" and "chose" should be "choose"
  15.  
  16. ===========================
  17.  
  18. Appendix A: Trial Use Areas of Comment
  19.  
  20. A.5 Media Formats
  21.  
  22. I don't think this really needs to be specified, but if the standard is
  23. going to, then for 9 track 1/2 in. tape, the most portable format is
  24. 1600 BPI, "blocked" 10, i.e. 512 byte blocks * 10 blocks == 5K block
  25. tape records.  This format tar tape is readable on basically any
  26. machine, including the ATT 3B20s which have exceedingly brain-damaged
  27. tape controllers (can't read any more than 6K off the raw tape device).
  28.  
  29. -----------
  30.  
  31. A.7.2 Error Number Validity
  32.  
  33. I like the proposed change for the third sentence of errno 2.4. This
  34. solves the problems described.
  35.  
  36. ===========================
  37.  
  38. Appendix C. Device Control and Terminal Characteristics.
  39.  
  40.     ... listed here with a request that it be review, ...
  41.  
  42. Should be "reviewed".
  43.  
  44. ---------------------
  45.  
  46. C.1 I/octl/Iocntl/Termcnt Overview
  47.  
  48.     However, the definition of the terms would force low level concepts
  49.     to be included a supposedly high level interface definition.
  50.  
  51. "to be included in a supposedly.."
  52.  
  53. ---------------------
  54.  
  55. C.3.3 Problems (with current ioctl)
  56.  
  57. This section makes a big deal out of binary compatibility, but the standard
  58. explicitly states in Chapter 1, Scope, that binary compatibility is not an
  59. issue. If so, most of this section loses its validity.
  60.  
  61. ---------------------
  62.  
  63. C.3.5 SVID Compatibility
  64.  
  65. It seems that the people who came up w/this don't know their C too well
  66. either. Their definition
  67.  
  68. #define ioctl(a,b,c)    iocntl(a,b,c,sizeof(c))
  69.  
  70. should be
  71.  
  72. #define ioctl(a,b,c)    iocntl(a,b,c,sizeof(*(c)))
  73.  
  74. ----------------------
  75.  
  76. C.7.2. Description (of <termios.h>
  77.  
  78. Discusses the _getty_ program actually opening the terminal devices and then
  79. passing them on to _init_ and regular programs. Seems to me that neither
  80. getty nor init are described anywhere else. For the real standard, this would
  81. have to be cleaned up.
  82.  
  83. ----------------------
  84.  
  85. C.7.2.6 Local Modes and Line Discipline
  86.  
  87.     ... These functions may be disabled individually by changing
  88.     the value of the control character to an unlikely or meaningless
  89.     value (e.g.  0377).
  90.  
  91. This is a nit, but it should be '\377', not 0377.
  92.  
  93.     When ICANON is set, the following echo functions are possible. Two
  94.     fucntions are possible: those dealing....
  95.  
  96. Should be:
  97.  
  98.     When ICANON is set, the following two echo functions are possible:
  99.     those dealing....
  100.  
  101. ========================
  102.  
  103. Appendix I. Comparison to SVID Document.
  104.  
  105. I.2.12 Readdir
  106.  
  107.     struct dirent
  108.         int_t d_ino
  109.  
  110. Should be "ino_t" instead of "int_t".
  111.  
  112. =========================
  113.  
  114. Appendix J. Proposed Definitions
  115.  
  116. J.2 General Terms
  117.  
  118.     Directory Entry
  119.         A directory entry contains two items: a string whch is the
  120.         filename and a file serial number.
  121.  
  122. Should be something more like:
  123.  
  124.     Directory Entry
  125.         A directory entry contains at least two items: a string whch is
  126.         the filename and a file serial number. Other, implementation-
  127.         dependant items may also be included in the directory entry.
  128.  
  129. ========================
  130.  
  131. Appendix K. Contiguous Files
  132.  
  133. K.5.1.2 Description (of allocf())
  134.  
  135.     O_CREAT    ....
  136.         The ``save text image after execution bit'' of the mode
  137.         is cleared. See _chmod()_.
  138.  
  139. The rest of the standard doesn't say anything about sticky bits.
  140.  
  141. K.5.1.4 Errors
  142.  
  143.     [ETXTBSY]    The file is a pure procedure (shared text) file
  144.             that is being executed and _oflag_ is write
  145.             or read/write.
  146.  
  147. This isn't in the rest of the standard.
  148.  
  149. Volume-Number: Volume 4, Number 15
  150.  
  151.