home *** CD-ROM | disk | FTP | other *** search
/ Usenet 1994 January / usenetsourcesnewsgroupsinfomagicjanuary1994.iso / sources / std_unix / volume.24 < prev    next >
Internet Message Format  |  1991-09-03  |  318KB

  1. From std-unix-request@uunet.UU.NET  Sat Jun 15 14:08:07 1991
  2. Received: from relay1.UU.NET by uunet.UU.NET with SMTP 
  3.     (5.61/UUNET-uucp-primary) id AA03848; Sat, 15 Jun 91 14:08:07 -0400
  4. Received: from kithrup.com by relay1.UU.NET with SMTP 
  5.     (5.61/UUNET-internet-primary) id AA00836; Sat, 15 Jun 91 14:08:00 -0400
  6. Newsgroups: comp.std.unix
  7. From: "James Buster bitbug@btr.com" <public!bitbug>
  8. Subject: Re: access permissions in 1003.1
  9. Message-Id: <1991Jun15.175132.6070@uunet.uu.net>
  10. Originator: sef@uunet.UU.NET
  11. Nntp-Posting-Host: uunet.uu.net
  12. X-Submissions: std-unix@uunet.uu.net
  13. Organization: BTR Public Access UNIX, MtnView CA. Contact: Customer Service cs@BTR.COM
  14. References: <1991Jun3.225808.8518@uunet.uu.net> <1991Jun5.201559.11784@uunet.uu.net> <1991Jun12.034858.16429@uunet.uu.net> <1991Jun12.043706.18456@uunet.uu.net>
  15. Date: Thu, 13 Jun 1991 04:41:29 GMT
  16. Reply-To: std-unix@uunet.UU.NET
  17. To: std-unix@uunet.UU.NET
  18. Sender: Network News <news@kithrup.com>
  19. Source-Info:  From (or Sender) name not authenticated.
  20.  
  21. Submitted-by: bitbug@public.uucp (James Buster bitbug@btr.com)
  22.  
  23. In article <1991Jun12.043706.18456@uunet.uu.net> sef@kithrup.COM (Sean Eric Fagan) writes:
  24. >of C Language Translation_).  I looked into this, way back when I was
  25. >involved with development system work, and came up with a couple of
  26. >solutions, at least one of which will likely be used.  (They're both fairly
  27. >obvious.)
  28.  
  29. So, for us morons out there, what are the "fairly obvious" solutions you
  30. are thinking of?
  31. -- 
  32.                 James Buster
  33.                    bitbug@btr.com
  34.         Seen on an MLS machine: Live Free or Die!
  35.  
  36.  
  37. Volume-Number: Volume 24, Number 2
  38.  
  39. From std-unix-request@uunet.UU.NET  Sat Jun 15 14:08:35 1991
  40. Received: from relay1.UU.NET by uunet.UU.NET with SMTP 
  41.     (5.61/UUNET-uucp-primary) id AA03946; Sat, 15 Jun 91 14:08:35 -0400
  42. Received: from kithrup.com by relay1.UU.NET with SMTP 
  43.     (5.61/UUNET-internet-primary) id AA00884; Sat, 15 Jun 91 14:08:29 -0400
  44. Newsgroups: comp.std.unix
  45. From: Sean Eric Fagan <sef@kithrup.com>
  46. Subject: Re: access permissions in 1003.1
  47. Message-Id: <1991Jun15.175831.6319@uunet.uu.net>
  48. Originator: sef@uunet.UU.NET
  49. Nntp-Posting-Host: uunet.uu.net
  50. X-Submissions: std-unix@uunet.uu.net
  51. Organization: Kithrup Enterprises, Ltd.
  52. References: <1991Jun5.201559.11784@uunet.uu.net> <1991Jun12.043706.18456@uunet.uu.net> <1991Jun12.235808.20822@uunet.uu.net>
  53. Date: Thu, 13 Jun 1991 18:38:47 GMT
  54. Reply-To: std-unix@uunet.UU.NET
  55. To: std-unix@uunet.UU.NET
  56. Sender: Network News <news@kithrup.com>
  57. Source-Info:  From (or Sender) name not authenticated.
  58.  
  59. Submitted-by: sef@kithrup.COM (Sean Eric Fagan)
  60.  
  61. In article <1991Jun12.235808.20822@uunet.uu.net> mib@geech.gnu.ai.mit.edu (Michael I Bushnell) writes:
  62. >HP is *already* claiming Posix compliance, and you say one of the
  63. >solutions "will likely be used".  *That* is precisely the problem.
  64.  
  65. No, that is not the problem.  I do not work for HP, nor have I ever in the
  66. past.  As far as I know, HP solved the problem quite nicely.  For the
  67. company I was working for, which was *not* HP, I and one other person spent
  68. a few weeks looking into the name-space pollution problem, how to solve it,
  69. and what it would affect in terms of compatibility with old programs and
  70. binaries.
  71.  
  72. Another poster asks what the two "fairly obvious" methods are.  One is to have
  73. an "ansi-only" mode, a "posix-only" mode, and a "normal" mode, probably
  74. toggled by command-line switches.  Each "mode" would have its own
  75. header-file tree assosciated with it, with only the header-files defined by
  76. that standard (normal would, of course, have everything), as well as a
  77. special library and startup-file.
  78.  
  79. The other way is a bit harder, but allows backwards-compatibility to work
  80. more easily (at least with supposedly-compliant programs).  Essentially, you
  81. have all "illegal" symbols be "safe" (__select, for example).  All library
  82. routines are written to use the __ names; then, you have the linker accept
  83. an option that tells it to try to ignore the leading __ if there are
  84. unresolved externals.  You still need header-file work, of course, but that
  85. does help the name-pollution problem.  If I remember correctly, both HP and
  86. AT&T did something similar.
  87.  
  88. -- 
  89. Sean Eric Fagan  | "I made the universe, but please don't blame me for it;
  90. sef@kithrup.COM  |  I had a bellyache at the time."
  91. -----------------+           -- The Turtle (Stephen King, _It_)
  92. Any opinions expressed are my own, and generally unpopular with others.
  93.  
  94.  
  95. Volume-Number: Volume 24, Number 3
  96.  
  97. From std-unix-request@uunet.UU.NET  Sat Jun 15 14:08:47 1991
  98. Received: from relay1.UU.NET by uunet.UU.NET with SMTP 
  99.     (5.61/UUNET-uucp-primary) id AA03998; Sat, 15 Jun 91 14:08:47 -0400
  100. Received: from kithrup.com by relay1.UU.NET with SMTP 
  101.     (5.61/UUNET-internet-primary) id AA00892; Sat, 15 Jun 91 14:08:36 -0400
  102. Newsgroups: comp.std.unix
  103. From: Ian Lance Taylor <ian@airs.com>
  104. Subject: Maximum values for MIN and TIME?
  105. Message-Id: <1991Jun15.175940.6381@uunet.uu.net>
  106. Originator: sef@uunet.UU.NET
  107. Nntp-Posting-Host: uunet.uu.net
  108. X-Submissions: std-unix@uunet.uu.net
  109. Organization: UUNET Communications Services
  110. Date: Fri, 14 Jun 1991 01:42:38 GMT
  111. Reply-To: std-unix@uunet.UU.NET
  112. To: std-unix@uunet.UU.NET
  113. Sender: Network News <news@kithrup.com>
  114. Source-Info:  From (or Sender) name not authenticated.
  115.  
  116. Submitted-by: ian@airs.com (Ian Lance Taylor)
  117.  
  118. I want to read up to 4096 characters from the terminal in
  119. non-canonical mode.  I want to wait until the characters arrive (with
  120. a timeout).  It seems sensible to me to set MIN to the number of
  121. characters I want to read and use alarm for a timeout.  But what is
  122. the maximum value that I can set MIN to on a POSIX system?  Does the
  123. standard specify this anywhere?  On System V the maximum is probably
  124. 255, but it's pretty easy to imagine an implementation for which the
  125. maximum is 127.  I assume the maximum value is <= MAX_INPUT; are there
  126. any other constraints?  I've only seen the 1988 copy of the standard,
  127. so apologies if this is covered in the 1990 revision.
  128. -- 
  129. Ian Taylor                   ian@airs.com                 uunet!airs!ian
  130. First person to identify this quote wins a free e-mail message:
  131. ``If he could have moved, he would have gotten up and gone after the man
  132. to thank him for wearing something so marvelously interesting.''
  133.  
  134.  
  135. Volume-Number: Volume 24, Number 4
  136.  
  137. From std-unix-request@uunet.UU.NET  Sat Jun 15 14:08:52 1991
  138. Received: from relay1.UU.NET by uunet.UU.NET with SMTP 
  139.     (5.61/UUNET-uucp-primary) id AA04010; Sat, 15 Jun 91 14:08:52 -0400
  140. Received: from kithrup.com by relay1.UU.NET with SMTP 
  141.     (5.61/UUNET-internet-primary) id AA00913; Sat, 15 Jun 91 14:08:45 -0400
  142. Newsgroups: comp.std.unix
  143. From: Donald Lewine <lewine@cheshirecat.webo.dg.com>
  144. Subject: POSIX and ANSI C in one system 
  145. Message-Id: <1991Jun15.180127.6520@uunet.uu.net>
  146. Originator: sef@uunet.UU.NET
  147. Nntp-Posting-Host: uunet.uu.net
  148. Reply-To: lewine@cheshirecat.webo.dg.com
  149. X-Submissions: std-unix@uunet.uu.net
  150. Organization: Data General Corporation
  151. References: <1991Jun3.192534.28089@uunet.uu.net> <1991Jun3.225808.8518@uunet.uu.net> <1991Jun3.225808.8518@uunet.uu.net>,
  152. Date: Wed, 12 Jun 1991 19:39:17 GMT
  153. To: std-unix@uunet.UU.NET
  154. Sender: Network News <news@kithrup.com>
  155. Source-Info:  From (or Sender) name not authenticated.
  156.  
  157. Submitted-by: lewine@cheshirecat.webo.dg.com (Donald Lewine)
  158.  
  159. In article <1991Jun3.225808.8518@uunet.uu.net>, mib@geech.gnu.ai.mit.edu (Michael I Bushnell) writes:
  160. |> Since
  161. |> nobody but the FSF seems to want real Posix.1 compliance and ANSI C
  162. |> compliance in one system,  . . .
  163.  
  164. Just for the record: Revision 4.32 of the DG/UX operating system
  165. has received certification from NIST for conformance with the 
  166. POSIX.1 standard with ANSI C bindings.  The conformance testing was
  167. done by Mindcraft.
  168.  
  169. We did use gcc from the FSF.
  170.  
  171. --------------------------------------------------------------------
  172. Donald A. Lewine                (508) 870-9008 Voice
  173. Data General Corporation        (508) 366-0750 FAX
  174. 4400 Computer Drive. MS D112A
  175. Westboro, MA 01580  U.S.A.
  176.  
  177. uucp: uunet!dg!lewine   Internet: lewine@cheshirecat.webo.dg.com
  178.  
  179.  
  180. Volume-Number: Volume 24, Number 5
  181.  
  182. From std-unix-request@uunet.UU.NET  Sat Jun 15 14:08:57 1991
  183. Received: from relay1.UU.NET by uunet.UU.NET with SMTP 
  184.     (5.61/UUNET-uucp-primary) id AA04024; Sat, 15 Jun 91 14:08:57 -0400
  185. Received: from kithrup.com by relay1.UU.NET with SMTP 
  186.     (5.61/UUNET-internet-primary) id AA00917; Sat, 15 Jun 91 14:08:47 -0400
  187. Newsgroups: comp.std.unix
  188. From: Gil Tene <devil@techunix.technion.ac.il>
  189. Subject: what is the status of 1003.4 ?
  190. Message-Id: <1991Jun15.180248.6594@uunet.uu.net>
  191. Originator: sef@uunet.UU.NET
  192. Nntp-Posting-Host: uunet.uu.net
  193. Reply-To: Gil Tene <devil@techunix.technion.ac.il>
  194. X-Submissions: std-unix@uunet.uu.net
  195. Organization: Technion, Israel Inst. of Technology
  196. Date: Fri, 14 Jun 1991 14:02:15 GMT
  197. To: std-unix@uunet.UU.NET
  198. Sender: Network News <news@kithrup.com>
  199. Source-Info:  From (or Sender) name not authenticated.
  200.  
  201. Submitted-by: devil@techunix.technion.ac.il (Gil Tene)
  202.  
  203. Hello people,
  204.  
  205. I am interested in knowing the current status of POSIX 1003.4. I have
  206. read some articles (quite) a while back, but haven't seen anything new
  207. on the subject.
  208.  
  209. Maybe you people out there can help me ?
  210.  
  211. -    When is a final version of 1003.4 expected to be adopted ?
  212.  
  213. -    What will 1003.4 include ? what sub-1003.4 parts are there ?
  214.     (e.g. 1003.4a, etc.)
  215.  
  216. -    Where/how can I get my hands on the drafts ?
  217.  
  218. -    What is the current "trend" in the industry with regard
  219.     to meeting 1003.4 standards ? How soon can we expect 
  220.     to see 1003.4 support in major releases of vendors ?
  221.     (SVR4, OSF/1, SunOS, HP-UX, Ultrix, etc.)
  222.  
  223. I think this may be of interest to the entire group (comp.std.unix
  224. and comp.realtime). I will summerize any e-mail responses, but would 
  225. also like to see a more wide-spread discussion.
  226.  
  227. AdvThanks,
  228.  
  229. -- Gil.
  230. -- 
  231. --------------------------------------------------------------------
  232. -- Gil Tene            "Some days it just doesn't pay    --
  233. -- devil@techunix.technion.ac.il  to go to sleep in the morning." --
  234. --------------------------------------------------------------------
  235.  
  236.  
  237. Volume-Number: Volume 24, Number 6
  238.  
  239. From std-unix-request@uunet.UU.NET  Sat Jun 15 14:09:04 1991
  240. Received: from relay1.UU.NET by uunet.UU.NET with SMTP 
  241.     (5.61/UUNET-uucp-primary) id AA04067; Sat, 15 Jun 91 14:09:04 -0400
  242. Received: from kithrup.com by relay1.UU.NET with SMTP 
  243.     (5.61/UUNET-internet-primary) id AA00932; Sat, 15 Jun 91 14:08:55 -0400
  244. Newsgroups: comp.std.unix
  245. From: Geoff Clare <gwc@root.co.uk>
  246. Subject: Re: Is this POSIX compliant?
  247. Message-Id: <1991Jun15.180507.6722@uunet.uu.net>
  248. Originator: sef@uunet.UU.NET
  249. Nntp-Posting-Host: uunet.uu.net
  250. X-Submissions: std-unix@uunet.uu.net
  251. Organization: UniSoft Ltd., London, England
  252. References: <4369@rwthinf.UUCP> <4369@rwthinf.UUCP>, <1991Jun12.035046.16547@uunet.uu.net>
  253. Date: Fri, 14 Jun 1991 17:53:02 GMT
  254. Reply-To: std-unix@uunet.UU.NET
  255. To: std-unix@uunet.UU.NET
  256. Sender: Network News <news@kithrup.com>
  257. Source-Info:  From (or Sender) name not authenticated.
  258.  
  259. Submitted-by: gwc@root.co.uk (Geoff Clare)
  260.  
  261. berg@physik.tu-muenchen.de (Stephen R. van den Berg) wrote:
  262.  
  263. ] Could someone knowledgable please tell me if the following include files,
  264. ] the mentioned identifiers and the include files they are 'allocated' to are
  265. ] all conform the POSIX standard?  (I dont't have any POSIX literature,
  266. ] so all the data I present here are educated guesses).
  267.  
  268. I emailed my answer to Stephen like a good net.user, but now I see
  269. that an incorrect answer has been posted to the newsgroup, so I feel
  270. obliged to waste more bandwidth by correcting it.
  271.  
  272. lewine@cheshirecat.webo.dg.com (Donald Lewine) writes:
  273.  
  274. ]|> 
  275. ]  #include <unistd.h> 
  276. ]  ^^^^^^^^^^^^^^^^^^  unistd.h contains the prototypes for the
  277. ]                      functions you list and should be included in
  278. ]                      an ANSI C system.
  279.  
  280. Except that open() is in <fcntl.h>, not <unistd.h>.  Also the comments
  281. regarding prototypes and ANSI C are misleading.  The original poster asked
  282. about "POSIX", he didn't specify "POSIX with ANSI C", so I assume he wants
  283. answers which apply equally well to POSIX with either common C or ANSI C.
  284.  
  285. ]|> #include <stddef.h>        /* EOF */
  286. ]                   NO.  EOF is defined in <stdio.h>.  
  287. ]                   <stddef.h> defines:
  288. ]                   NULL, offsetof, ptrdiff_t, size_t, wchar_t
  289.  
  290. <stddef.h> is not required by POSIX.1.
  291.  
  292. ]|> #include <stdlib.h>        /* getenv() memmove() malloc() realloc()
  293. ]|>                    free() strtol() size_t */
  294. ]                   memmove() is in <string.h>  all others are 
  295. ]                   in <stdlib.h>
  296.  
  297. memmove() and strtol() are not required by POSIX.1.
  298.  
  299. ]|> #include <signal.h>        /* signal() kill() */
  300.  
  301. signal() is not required by POSIX.1.
  302.  
  303. ]A complete listing of the POSIX headers is in Appendix A of the 
  304. ]POSIX Programmer's Guide available for $34.95 from:
  305. (address deleted)
  306. ]In my not so humble opinion, the POSIX Programmer's Guide is
  307. ]required reading for anyone who wants to write programs that
  308. ]work on all POSIX systems.
  309.  
  310. I hope it wasn't the source of the errors above.
  311.  
  312. -- 
  313. Geoff Clare <gwc@root.co.uk>  (Dumb American mailers: ...!uunet!root.co.uk!gwc)
  314. UniSoft Limited, London, England.   Tel: +44 71 729 3773   Fax: +44 71 729 3273
  315.  
  316.  
  317. Volume-Number: Volume 24, Number 7
  318.  
  319. From std-unix-request@uunet.UU.NET  Sat Jun 15 14:22:24 1991
  320. Received: from relay1.UU.NET by uunet.UU.NET with SMTP 
  321.     (5.61/UUNET-uucp-primary) id AA06732; Sat, 15 Jun 91 14:22:24 -0400
  322. Received: from kithrup.com by relay1.UU.NET with SMTP 
  323.     (5.61/UUNET-internet-primary) id AA02301; Sat, 15 Jun 91 14:22:12 -0400
  324. Newsgroups: comp.std.unix
  325. From: Fred Zlotnick <fred@mindcraft.com>
  326. Subject: Re: Is this POSIX compliant?
  327. Message-Id: <676767668.1458@mindcraft.com>
  328. Originator: sef@uunet.UU.NET
  329. Nntp-Posting-Host: uunet.uu.net
  330. X-Submissions: std-unix@uunet.uu.net
  331. Organization: Mindcraft, Inc.
  332. References: <4369@rwthinf.UUCP> <1991Jun12.035046.16547@uunet.uu.net>
  333. Date: Wed, 12 Jun 1991 23:01:07 GMT
  334. Reply-To: std-unix@uunet.UU.NET
  335. To: std-unix@uunet.UU.NET
  336. Sender: Network News <news@kithrup.com>
  337. Source-Info:  From (or Sender) name not authenticated.
  338.  
  339. Submitted-by: fred@mindcrf.uucp (Fred Zlotnick)
  340.  
  341. In article <1991Jun12.035046.16547@uunet.uu.net> lewine@cheshirecat.webo.dg.com 
  342. (Don Lewine) writes:
  343. >In article <4369@rwthinf.UUCP>, berg@physik.tu-muenchen.de
  344. >(Stephen R. van den Berg) writes:
  345. >|> Could someone knowledgable please tell me if the following include files,
  346. >|> the mentioned identifiers and the include files they are 'allocated' to are
  347. >|> all conform the POSIX standard?  
  348. >
  349. >To solve this problem at less than half the price of the IEEE 
  350. >standard, and get much more information, see below. . .
  351.  
  352.     [ Many correct comments omitted... ]
  353.  
  354. >|> #include <stdlib.h>        /* getenv() memmove() malloc() realloc()
  355. >|>                    free() strtol() size_t */
  356. >                   memmove() is in <string.h>  all others are 
  357. >                   in <stdlib.h>
  358.  
  359. memmove() is not supported by POSIX.1.  Clause 8.1 of the POSIX.1 standard
  360. lists 110 functions from the C standard and states that
  361.  
  362.     POSIX.1 with the C Language binding comprises these functions,
  363.     the extensions to them described in this clause, and the rest
  364.     of the requirements stipulated in [this standard].
  365.  
  366. The C standard specifies 22 functions in <string.h>.  Only 14 of them
  367. are listed in POSIX.1, and memmove() is not one of these.  Thus a strictly
  368. conforming POSIX.1 application should not use memmove().
  369.  
  370. I was going to avoid using this newsgroup for advertising, but since
  371. Donald has already broken the ice, I might mention that you can also
  372. find the contents of all POSIX.1 and ANSI C headers in Appendix D of
  373. my book, "The POSIX.1 Standard: a Programmer's Guide", available for
  374. $29.95 from
  375.  
  376.     Benjamin/Cummings Publishing Company
  377.     390 Bridge Parkway
  378.     Redwood City, 94065
  379.     (800) 950-BOOK for information
  380.     (800) 447-2226 for orders
  381.  
  382. or at better bookstores almost everywhere.  My opinion of my book is
  383. as unhumble as Don's opinion of his.  (And I'm sure that he has written
  384. a very fine book.)
  385. -- 
  386. Fred Zlotnick                       |    #include <std.disclaimer>
  387. fred@mindcraft.com                  |    #include <brilliant.quote>
  388. ...!{decwrl,ames}!mindcrf!fred      |
  389.  
  390.  
  391. Volume-Number: Volume 24, Number 8
  392.  
  393. From std-unix-request@uunet.UU.NET  Sat Jun 15 16:37:57 1991
  394. Received: from relay1.UU.NET by uunet.UU.NET with SMTP 
  395.     (5.61/UUNET-uucp-primary) id AA23836; Sat, 15 Jun 91 16:37:57 -0400
  396. Received: from kithrup.com by relay1.UU.NET with SMTP 
  397.     (5.61/UUNET-internet-primary) id AA13704; Sat, 15 Jun 91 16:37:46 -0400
  398. Newsgroups: comp.std.unix
  399. From: Dan Bernstein <brnstnd@kramden.acf.nyu.edu>
  400. Subject: Re: Standards Update, IEEE 1003.2: Shell and Utilities
  401. Message-Id: <1991Jun15.203211.11295@uunet.uu.net>
  402. Originator: sef@uunet.UU.NET
  403. Nntp-Posting-Host: uunet.uu.net
  404. X-Submissions: std-unix@uunet.uu.net
  405. Organization: IR
  406. References: <1991Jun12.034606.16284@uunet.uu.net>
  407. Date: Sat, 15 Jun 1991 19:58:30 GMT
  408. Reply-To: std-unix@uunet.UU.NET
  409. To: std-unix@uunet.UU.NET
  410. Sender: Network News <news@kithrup.com>
  411. Source-Info:  From (or Sender) name not authenticated.
  412.  
  413. Submitted-by: brnstnd@KRAMDEN.ACF.NYU.EDU (Dan Bernstein)
  414.  
  415. In article <1991Jun12.034606.16284@uunet.uu.net> pc@hillside.co.uk (Peter Collinson) writes:
  416. > The group is also looking for a new family of compression utilities,
  417. > now that the Lempel-Ziv-Welch family of commands have been removed
  418. > from the standard.  The main requirements for a substitute are:
  419. >    o The algorithm should be expressed (expressible) in a
  420. >      language independent form
  421. >    o The algorithm should be free of patent issues
  422.  
  423. My compression method, Y coding, appears to be free of all patents,
  424. including LZW. There's nothing language-dependent about the method or
  425. current file format. My reference implementation, yabbawhap (see
  426. comp.sources.unix volume 24), works on a variety of UNIX and non-UNIX
  427. systems, and produces better results than compress at reasonable speed.
  428.  
  429. Another possibility is Ross Williams' LZRW1, which produces worse
  430. results than compress but is blindingly fast.
  431.  
  432. ---Dan
  433.  
  434.  
  435. Volume-Number: Volume 24, Number 9
  436.  
  437. From std-unix-request@uunet.UU.NET  Sun Jun 16 01:16:22 1991
  438. Received: from relay1.UU.NET by uunet.UU.NET with SMTP 
  439.     (5.61/UUNET-uucp-primary) id AA10086; Sun, 16 Jun 91 01:16:22 -0400
  440. Received: from kithrup.com by relay1.UU.NET with SMTP 
  441.     (5.61/UUNET-internet-primary) id AA15384; Sun, 16 Jun 91 01:16:16 -0400
  442. Newsgroups: comp.std.unix
  443. From: Doug Gwyn <gwyn@smoke.brl.mil>
  444. Subject: Re: access permissions in 1003.1
  445. Message-Id: <1991Jun16.050244.25708@uunet.uu.net>
  446. Originator: sef@uunet.UU.NET
  447. Nntp-Posting-Host: uunet.uu.net
  448. X-Submissions: std-unix@uunet.uu.net
  449. Organization: U.S. Army Ballistic Research Laboratory, APG, MD.
  450. References: <1991Jun12.043706.18456@uunet.uu.net> <1991Jun12.235808.20822@uunet.uu.net> <1991Jun15.175831.6319@uunet.uu.net>
  451. Date: Sun, 16 Jun 1991 02:27:52 GMT
  452. Reply-To: std-unix@uunet.UU.NET
  453. To: std-unix@uunet.UU.NET
  454. Sender: Network News <news@kithrup.com>
  455. Source-Info:  From (or Sender) name not authenticated.
  456.  
  457. Submitted-by: gwyn@smoke.brl.mil (Doug Gwyn)
  458.  
  459. >All library routines are written to use the __ names; then, you have the
  460. >linker accept an option that tells it to try to ignore the leading __ if
  461. >there are unresolved externals.
  462.  
  463. Actually you don't need to hack the linker; you could supply a batch of
  464. glue routines in the library like this:
  465.  
  466.     * select -- system call interface for use by applications
  467.     *        (C library must invoke __select instead of select)
  468.         global    __select
  469.         entry    select
  470.     select    jmp    __select
  471.  
  472. That way both applications that supply their own select() and those that
  473. expect select() to be linked from the system library are happy.
  474.  
  475. The only reasons I can think of for hacking the linker instead are
  476.     (a) debugging looks neater
  477.     (b) a tiny amount of time is saved by not branching
  478.     (c) C library maintenance is slightly easier
  479.  
  480.  
  481. [ This covers functions, but not data.  Such as _iob -- mod ]
  482.  
  483. Volume-Number: Volume 24, Number 10
  484.  
  485. From std-unix-request@uunet.UU.NET  Wed Jun 19 01:16:44 1991
  486. Received: from relay1.UU.NET by uunet.UU.NET with SMTP 
  487.     (5.61/UUNET-uucp-primary) id AA02665; Wed, 19 Jun 91 01:16:44 -0400
  488. Received: from kithrup.com by relay1.UU.NET with SMTP 
  489.     (5.61/UUNET-internet-primary) id AA06829; Wed, 19 Jun 91 01:16:38 -0400
  490. Newsgroups: comp.std.unix
  491. From: Andrew Hume <andrew@alice.att.com>
  492. Subject: P1003.17
  493. Message-Id: <1991Jun19.050235.12602@uunet.uu.net>
  494. Originator: sef@uunet.UU.NET
  495. Nntp-Posting-Host: uunet.uu.net
  496. X-Submissions: std-unix@uunet.uu.net
  497. Organization: AT&T Bell Laboratories, Murray Hill NJ
  498. Date: Mon, 17 Jun 1991 13:57:39 GMT
  499. Reply-To: std-unix@uunet.UU.NET
  500. To: std-unix@uunet.UU.NET
  501. Sender: Network News <news@kithrup.com>
  502. Source-Info:  From (or Sender) name not authenticated.
  503.  
  504. Submitted-by: andrew@alice.att.com (Andrew Hume)
  505.  
  506.     The latest login; has three (!) reports on the january 1991
  507. meeting of P1003.17 and P1224. In particular, I was
  508. interested in the object management PAR and the controversy
  509. that aroused two additional articles.
  510.     The problem is that I can't quite figure out what the problem
  511. really is. Perhaps if I go through what I think is going on, then
  512. someone will correct me.
  513.  
  514.     XDS and X.400 defines objects and their encodings via ASN.1.
  515. (This latter means that the BNF-like specifications of the objects
  516. is written in the ASN.1 syntax and that there is a corresponding
  517. well defined encoding into a byte stream.) There is some grouping
  518. of these objects into ``packages'' (I don't know what this means
  519. or implies). XDS and X.400 define an interface for accessing
  520. these objects. That is, a byte level encoding of commands
  521. mixed with objects.
  522.  
  523.     I think the 1003.17 work is about defining multiple
  524. ``versions'' of these interfaces, with the idea that each version
  525. might be a value-added or extended interface. so far, so good.
  526. Scott complains (rightly) that it sucks that vendors can extend
  527. these packages and that users can't. Enzo doesn't say whether he
  528. agrees but says that it seems technically infeasible.
  529.  
  530.     Could someone comment whether this is a fair summary?
  531. My initial take on this is that it may be technically infeasible
  532. to dynamically support new objects but this should have been a goal
  533. of the work until conclusively shown to be infeasible. (It actually
  534. isn't anyway; it is easy to see how new objects could be handled
  535. as long as you were willing to pay a performance hit for the new objects.
  536. It can be done by analyzing the byte stream interpretively rather than
  537. with compiled code; again, just for the new objects).
  538.  
  539.     andrew hume
  540.     andrew@research.att.com
  541.  
  542.  
  543. Volume-Number: Volume 24, Number 11
  544.  
  545. From std-unix-request@uunet.UU.NET  Wed Jun 19 01:16:54 1991
  546. Received: from relay1.UU.NET by uunet.UU.NET with SMTP 
  547.     (5.61/UUNET-uucp-primary) id AA02718; Wed, 19 Jun 91 01:16:54 -0400
  548. Received: from kithrup.com by relay1.UU.NET with SMTP 
  549.     (5.61/UUNET-internet-primary) id AA06850; Wed, 19 Jun 91 01:16:47 -0400
  550. Newsgroups: comp.std.unix
  551. From: Dave Decot <decot@hpcupt1.cup.hp.com>
  552. Subject: Re: access permissions in 1003.1
  553. Message-Id: <1991Jun19.050332.12679@uunet.uu.net>
  554. Originator: sef@uunet.UU.NET
  555. Nntp-Posting-Host: uunet.uu.net
  556. X-Submissions: std-unix@uunet.uu.net
  557. Organization: Hewlett Packard, Cupertino
  558. References: <1991Jun2.082051.7235@uunet.uu.net>
  559. Date: Tue, 18 Jun 1991 03:11:51 GMT
  560. Reply-To: std-unix@uunet.UU.NET
  561. To: std-unix@uunet.UU.NET
  562. Sender: Network News <news@kithrup.com>
  563. Source-Info:  From (or Sender) name not authenticated.
  564.  
  565. Submitted-by: decot@hpcupt1.cup.hp.com (Dave Decot)
  566.  
  567. >> HP solved this, I believe (at least, according to an article in _The Journal
  568. >> of C Language Translation_).  I looked into this, way back when I was
  569. >> involved with development system work, and came up with a couple of
  570. >> solutions, at least one of which will likely be used.  (They're both fairly
  571. >> obvious.)
  572. > HP is *already* claiming Posix compliance, and you say one of the
  573. > solutions "will likely be used".  *That* is precisely the problem.
  574. >     -mib
  575.  
  576. Well, it's not a problem in HP's case.  HP first released POSIX.1 conformance
  577. (and XPG3 and ANSI C conformance) in HP-UX 7.0 (completed in November of 1989).
  578.  
  579. That release included support for secondary definitions as described in the
  580. referenced JoCLT article, and used it to prevent link-time namespace pollution.
  581.  
  582. I believe that "will be used" was referring to the poster's own system,
  583. not HP-UX.
  584.  
  585. Dave Decot, HP
  586. Disclaimer: my opinions only.
  587.  
  588.  
  589. Volume-Number: Volume 24, Number 12
  590.  
  591. From std-unix-request@uunet.UU.NET  Wed Jun 19 01:17:11 1991
  592. Received: from relay1.UU.NET by uunet.UU.NET with SMTP 
  593.     (5.61/UUNET-uucp-primary) id AB02758; Wed, 19 Jun 91 01:17:11 -0400
  594. Received: from kithrup.com by relay1.UU.NET with SMTP 
  595.     (5.61/UUNET-internet-primary) id AA06860; Wed, 19 Jun 91 01:16:51 -0400
  596. Newsgroups: comp.std.unix
  597. From: "Stephen R. Walli" <speaker!stephe>
  598. Subject: Re: what is the status of 1003.4 ?
  599. Message-Id: <1991Jun19.050433.12787@uunet.uu.net>
  600. Originator: sef@uunet.UU.NET
  601. Nntp-Posting-Host: uunet.uu.net
  602. X-Submissions: std-unix@uunet.uu.net
  603. Organization: UUNET Communications Services
  604. Date: Tue, 18 Jun 1991 13:52:40 GMT
  605. Reply-To: std-unix@uunet.UU.NET
  606. To: std-unix@uunet.UU.NET
  607. Sender: Network News <news@kithrup.com>
  608. Source-Info:  From (or Sender) name not authenticated.
  609.  
  610. Submitted-by: stephe@speaker.uucp (Stephen R. Walli)
  611.  
  612. In response to Gil Tene's POSIX.4 questions:
  613.  
  614. > I am interested in knowing the current status of POSIX 1003.4. I have
  615. > read some articles (quite) a while back, but haven't seen anything new
  616. > on the subject.
  617.  
  618. There is a snitch report on its way within the week on the status of 
  619. POSIX.4 after the April meeting in Chicago.
  620.  
  621. > Maybe you people out there can help me ?
  622. > -    When is a final version of 1003.4 expected to be adopted ?
  623.  
  624. Good question. It really depends on the already strained volunteer resources
  625. of its tech editors and tech reviewers. (I'm one of them, so I can say this.)
  626. Draft 11 is due out anytime for ballot. Even if the technical content remains
  627. relatively untouched, there is still language independent specifications to be
  628. written (which I'm responsible for, so yell at me) and test assertions.
  629.  
  630. > -    What will 1003.4 include ? what sub-1003.4 parts are there ?
  631. >     (e.g. 1003.4a, etc.)
  632.  
  633. 1003.4
  634. ------ 
  635. Draft 9 which went out for ballot in March 1990 contained chapters on the 
  636. following services: 
  637.  
  638. binary semaphores, process memory locking, shared memory, priority
  639. scheduling, events, clocks and timers, IPC message passing, synch I/O, 
  640. asynch I/O, realtime files.
  641.  
  642. Draft 10 ``fixed'' signals to replace events, and added memory mapped files 
  643. to the shared memory chapter. 
  644.  
  645. Draft 11 will likely make major changes to (or remove) IPC, in favour of work
  646. being done in POSIX.12 (Protocol Independent Interfaces). 
  647.  
  648. 1003.4a
  649. -------
  650. Threads interfaces. It is currently in ballot.
  651.  
  652. 1003.4b
  653. -------
  654. More real-time interfaces. Descibed in the forthcoming snitch.
  655.  
  656. 1003.13
  657. -------
  658. Realtime Profiles. The group is building a small set of profiles of the 
  659. realtime interfaces from a scaled down embedded profile up to a kitchen-sink 
  660. do-everything profile.
  661.  
  662. > -    Where/how can I get my hands on the drafts ?
  663.  
  664. IEEE Standards Office,
  665. 445 Hoes Lane,
  666. P.O.Box 1331,
  667. Piscataway, NJ, USA, 
  668. 08855-1331
  669.  
  670. phone:
  671. (908) 562-3800
  672.  
  673. > -    What is the current "trend" in the industry with regard
  674. >     to meeting 1003.4 standards ? How soon can we expect 
  675. >     to see 1003.4 support in major releases of vendors ?
  676. >     (SVR4, OSF/1, SunOS, HP-UX, Ultrix, etc.)
  677.  
  678. Ask the vendors. No, really. Standard market-speak answers include:
  679.  
  680. i)   We're tracking the standard. 
  681.      (Some of them actually are contributing, instead of reading about it
  682.       in ever changing ballot drafts.)
  683.  
  684. ii)  We already have real-time. (Guess who this is. The only problem is that
  685.      it isn't standard and their eyes glaze over and they become non-commital
  686.      after that.)
  687.  
  688. iii) We aren't pursuing the realtime market at this time, but if our customers
  689.      ask for it, we'll provide it. (I've heard one vendor claim not to be
  690.      pursuing the market in realtime, only to have someone else there 
  691.      express real surprise at this statement when I repeated it in a 
  692.      quiet corner.)
  693.  
  694. I will not risk the wrath of friends and enemies by mentioning products I 
  695. know of that are seriously implementing the draft document interface, because
  696. I'm bound to miss someone and some stuff was non-disclosure material. 
  697.  
  698. Hope this helps.
  699. regards,
  700. stephe
  701. +-----------------------------------------------------------------------------+
  702. Stephen R. Walli                               SRW Software 
  703. phone: (416) 579 0304                          572 Foxrun Court,
  704. fax:   (416) 571 1991                          Oshawa, Ontario, Canada,
  705. speaker!stephe@mks.com   -OR-                  L1K 1N9
  706. uunet!watmath!mks!speaker!stephe
  707. +-----------------------------------------------------------------------------+
  708.  
  709.  
  710.  
  711. Volume-Number: Volume 24, Number 13
  712.  
  713. From std-unix-request@uunet.UU.NET  Wed Jun 19 18:02:05 1991
  714. Received: from relay1.UU.NET by uunet.UU.NET with SMTP 
  715.     (5.61/UUNET-uucp-primary) id AA29393; Wed, 19 Jun 91 18:02:05 -0400
  716. Received: from kithrup.com by relay1.UU.NET with SMTP 
  717.     (5.61/UUNET-internet-primary) id AA21151; Wed, 19 Jun 91 18:01:48 -0400
  718. Newsgroups: comp.std.unix
  719. From: guthery@asc.slb.com
  720. Subject: P1003.17
  721. Message-Id: <1991Jun19.215832.16006@uunet.uu.net>
  722. Originator: sef@uunet.UU.NET
  723. Nntp-Posting-Host: uunet.uu.net
  724. X-Submissions: std-unix@uunet.uu.net
  725. Organization: UUNET Communications Services
  726. Date: Wed, 19 Jun 1991 11:35:57 GMT
  727. Reply-To: std-unix@uunet.UU.NET
  728. To: std-unix@uunet.UU.NET
  729. Sender: Network News <news@kithrup.com>
  730. Source-Info:  From (or Sender) name not authenticated.
  731.  
  732. Submitted-by: guthery@ASC.SLB.COM
  733.  
  734. Andy Hume fairly summarizes part of my objection to the tack that P1003.17 and
  735. P1224 are taking with respect to objects; viz. that vendors can extend whereas
  736. users cannot.  I agree with Andy that extension is not, as Ezno suggests,
  737. "technically infeasible".  Andy points to one possibility.  There are clearly
  738. others.  Lisp and Smalltalk systems have been doing this for years so we know
  739. it can be done. (We're talking existence, folks, not efficiency.)
  740.  
  741. My other objection was that the XDS/XOM user will be presented with a
  742. different "standard compliant" interface by each vendor *AND* it is left as an
  743. exercise for the user to "impedance match" between them.  This is not a
  744. standard by any definition I know.  The vendor gets to declare POSIX standard
  745. compliance and the the user has been left with the task of defining and
  746. implementing a common interface on top of different vendor-specific
  747. implementations.  Huh?  (Unless, of course, the user only uses one vendor but
  748. in this case we have a degenerate standard ... one thing is always exactly
  749. like itself whatever the thing is!).
  750.  
  751. Interestingly, P1003.17 and P1224 are being driven by X/Open.  X/Open's
  752. own Long Term Vision states:
  753.  
  754.     "An environment in which users have access to all of the information
  755.      needed to carry out their job, without contstraints imposed by
  756.                                         ===============================
  757.      incompatibility of technology or data."
  758.          =====================================
  759.  
  760. But, vendor incompatibility is exactly what XOM provides.  Thus, I seems to me
  761. that the base technology that X/Open is trying to hustle through POSIX (XDS
  762. and XOM) violates its own charter never mind the spirit of POSIX.
  763.  
  764. Actually, I wouldn't be worrying so much if XOM were just a bunch of helper
  765. routines at the bottom of XDS and X.400.  But the fact is that name space
  766. management (threads, files, you name it) is the name of the game.  XOM could
  767. be trotted out as a good way to manage names everywhere in POSIX and indeed it
  768. might be.  But not if it locks names away in lots of little bunkers to which
  769. only the vendors have the keys.
  770.  
  771.                             Cheers, Scott
  772.  
  773.  
  774. Volume-Number: Volume 24, Number 14
  775.  
  776. From std-unix-request@uunet.UU.NET  Thu Jun 20 20:03:00 1991
  777. Received: from relay1.UU.NET by uunet.UU.NET with SMTP 
  778.     (5.61/UUNET-uucp-primary) id AA02949; Thu, 20 Jun 91 20:03:00 -0400
  779. Received: from kithrup.com by relay1.UU.NET with SMTP 
  780.     (5.61/UUNET-internet-primary) id AA09181; Thu, 20 Jun 91 20:02:42 -0400
  781. Newsgroups: comp.std.unix
  782. From: Shane McCarron <ahby@ui.org>
  783. Subject: Re: P1003.17
  784. Message-Id: <1991Jun21.000113.7938@uunet.uu.net>
  785. Originator: sef@uunet.UU.NET
  786. Nntp-Posting-Host: uunet.uu.net
  787. X-Submissions: std-unix@uunet.uu.net
  788. Organization: UUNET Communications Services
  789. References: <1991Jun19.215832.16006@uunet.uu.net>;
  790. Date: Thu, 20 Jun 1991 11:56:20 GMT
  791. Reply-To: std-unix@uunet.UU.NET
  792. To: std-unix@uunet.UU.NET
  793. Sender: Network News <news@kithrup.com>
  794. Source-Info:  From (or Sender) name not authenticated.
  795.  
  796. Submitted-by: ahby@ui.org (Shane McCarron)
  797.  
  798. > Andy Hume fairly summarizes part of my objection to the tack that P1003.17 and
  799. > P1224 are taking with respect to objects; viz. that vendors can extend whereas
  800. > users cannot.  I agree with Andy that extension is not, as Ezno suggests,
  801. > "technically infeasible".  Andy points to one possibility.  There are clearly
  802. > others.  Lisp and Smalltalk systems have been doing this for years so we know
  803. > it can be done. (We're talking existence, folks, not efficiency.)
  804.  
  805. Note that the XOM interface is NOT an object management interface
  806. (regardless of what the title says).  It is just a set of interfaces
  807. for manipulating opaque data types across a network of heterogeneous
  808. systems.  If you called it XDR you wouldn't be far from correct.
  809. Certainlky XDR is extensible, so logically XOM could be too.  However,
  810. XOM isn't designed to be extensible, and XDR is.  XOM is designed to
  811. solve an extremely specific problem - and by all accounts it solves
  812. that problem.
  813.  
  814. > My other objection was that the XDS/XOM user will be presented with a
  815. > different "standard compliant" interface by each vendor *AND* it is left as an
  816. > exercise for the user to "impedance match" between them.  This is not a
  817. > standard by any definition I know.  The vendor gets to declare POSIX standard
  818. > compliance and the the user has been left with the task of defining and
  819. > implementing a common interface on top of different vendor-specific
  820. > implementations.  Huh?  (Unless, of course, the user only uses one vendor but
  821. > in this case we have a degenerate standard ... one thing is always exactly
  822. > like itself whatever the thing is!).
  823.  
  824. I don't understand this contention.  It is impossible to present a
  825. different standard compliant interface  - the language bindings are
  826. the standard, and they are being specified by the committee.  Also,
  827. note that the XOM activity is NOT a POSIX standard.  Frankly, the XDS
  828. activity shouldn't be either, but we haven't fixed taht yet.  XOM is
  829. P1224 - only P1003 committees are POSIX.
  830.  
  831. > But, vendor incompatibility is exactly what XOM provides.  Thus, I seems to me
  832. > that the base technology that X/Open is trying to hustle through POSIX (XDS
  833. > and XOM) violates its own charter never mind the spirit of POSIX.
  834.  
  835. Again, I don't understand this.  The underlying protocols for XDS are
  836. defined by X.500, so communication between machines will work.  XOM
  837. just provides interfaces to encode C language specific data types in
  838. ways that are compatible across the network (unless I am very much
  839. mistaken - that happens sometimes).
  840.  
  841. > Actually, I wouldn't be worrying so much if XOM were just a bunch of helper
  842. > routines at the bottom of XDS and X.400.  But the fact is that name space
  843. > management (threads, files, you name it) is the name of the game.  XOM could
  844. > be trotted out as a good way to manage names everywhere in POSIX and indeed it
  845. > might be.  But not if it locks names away in lots of little bunkers to which
  846. > only the vendors have the keys.
  847.  
  848. XOM will never be promoted as a generalized namespace manager,
  849. especially not for things within POSIX.  It is not a POSIX service.
  850. Generalized namespace management will have to wait for some
  851. interesting consortia based work to mature (e.g. DCE).
  852.  
  853. -- 
  854. Shane P. McCarron            ATT:    +1 201 263-8400 x232
  855. Project Manager                UUCP:    s.mccarron@ui.org
  856.  
  857.  
  858. Volume-Number: Volume 24, Number 15
  859.  
  860. From std-unix-request@uunet.UU.NET  Thu Jun 20 20:17:09 1991
  861. Received: from relay1.UU.NET by uunet.UU.NET with SMTP 
  862.     (5.61/UUNET-uucp-primary) id AA05782; Thu, 20 Jun 91 20:17:09 -0400
  863. Received: from kithrup.com by relay1.UU.NET with SMTP 
  864.     (5.61/UUNET-internet-primary) id AA12365; Thu, 20 Jun 91 20:17:01 -0400
  865. Newsgroups: comp.std.unix
  866. From: Peter da Silva <peter@ficc.ferranti.com>
  867. Subject: Re: access permissions in 1003.1
  868. Message-Id: <1991Jun21.000502.8185@uunet.uu.net>
  869. Originator: sef@uunet.UU.NET
  870. Nntp-Posting-Host: uunet.uu.net
  871. Reply-To: Peter da Silva <peter@ficc.ferranti.com>
  872. X-Submissions: std-unix@uunet.uu.net
  873. Organization: Xenix Support, FICC
  874. References: <1991Jun5.201559.11784@uunet.uu.net> <1991Jun12.043706.18456@uunet.uu.net> <1991Jun12.235808.20822@uunet.uu.net> <1991Jun15.175831.6319@uunet.uu.net>
  875. Date: Wed, 19 Jun 1991 20:05:26 GMT
  876. To: std-unix@uunet.UU.NET
  877. Sender: Network News <news@kithrup.com>
  878. Source-Info:  From (or Sender) name not authenticated.
  879.  
  880. Submitted-by: peter@ficc.ferranti.com (Peter da Silva)
  881.  
  882. In article <1991Jun15.175831.6319@uunet.uu.net> sef@kithrup.COM (Sean Eric Fagan) writes:
  883. > have all "illegal" symbols be "safe" (__select, for example).  All library
  884. > routines are written to use the __ names; then, you have the linker accept
  885. > an option that tells it to try to ignore the leading __ if there are
  886. > unresolved externals.
  887.  
  888. You could implement this simply by having the library contain duplicate
  889. symbol table entries for __x and x, with the same offset. You could
  890. handle it in a separate pass after compilation before creating the
  891. library. No extra work should be needed in the librarian, compiler, or
  892. linker!
  893. -- 
  894. Peter da Silva; Ferranti International Controls Corporation; +1 713 274 5180;
  895. Sugar Land, TX  77487-5012;         `-_-' "Have you hugged your wolf, today?"
  896.  
  897.  
  898. Volume-Number: Volume 24, Number 16
  899.  
  900. From std-unix-request@uunet.UU.NET  Sun Jun 23 20:48:00 1991
  901. Received: from relay1.UU.NET by uunet.UU.NET with SMTP 
  902.     (5.61/UUNET-uucp-primary) id AA12422; Sun, 23 Jun 91 20:48:00 -0400
  903. Received: from kithrup.com by relay1.UU.NET with SMTP 
  904.     (5.61/UUNET-internet-primary) id AA28824; Sun, 23 Jun 91 20:47:48 -0400
  905. Newsgroups: comp.std.unix
  906. From: Peter Collinson <pc@hillside.co.uk>
  907. Subject: Report on POSIX.17 - Name Space/Directory Services
  908. Message-Id: <1991Jun24.003952.12937@uunet.uu.net>
  909. Originator: sef@uunet.UU.NET
  910. Nntp-Posting-Host: uunet.uu.net
  911. X-Submissions: std-unix@uunet.uu.net
  912. Organization: Hillside Systems, 61 Hillside Avenue, Canterbury, Kent CT2 8HA
  913. Date: Sun, 23 Jun 1991 23:48:17 GMT
  914. Reply-To: std-unix@uunet.UU.NET
  915. To: std-unix@uunet.UU.NET
  916. Sender: Network News <news@kithrup.com>
  917. Source-Info:  From (or Sender) name not authenticated.
  918.  
  919. Submitted-by: pc@hillside.co.uk (Peter Collinson)
  920.  
  921. USENIX Standards Watchdog Committee
  922. Stephen R. Walli <stephe@usenix.org>, Report Editor
  923. Report on POSIX.17 - Name Space/Directory Services
  924.  
  925.  
  926. Mark Hazzard <markh@rsvl.unisys.com> reports on the  meeting
  927. in Chicago, Illinois:
  928.  
  929. Summary
  930.  
  931. The POSIX.17 group is generating a user to directory services API, for
  932. example an API to an X.500 Directory User Agent (DUA).  We are
  933. referring to a network idea of a directory, not the ``file which
  934. contains file entries'' defined in POSIX.1.  It is not limited to just
  935. the X.500 functionality. We are using XAPIA - X/Open's Directory
  936. Services specification (XDS) as a basis for work.  XDS is an object
  937. oriented interface and requires a companion specification for object
  938. management (XOM).
  939.  
  940. XOM is a stand-alone specification with general applicability beyond
  941. the API to directory services.  It will be used by IEEE 1224.1 (X.400
  942. API) and possibly other POSIX groups, and is being standardized by
  943. IEEE 1224.
  944.  
  945. We made significant progress on a third draft of the document in
  946. Chicago, with the language independent specification work still to be
  947. done. We hope to mock ballot the document sometime after the July
  948. working group meeting.  POSIX.12 (Protocol Independent Interfaces) and
  949. POSIX.17 worked together this week and arrived at a number of
  950. scenarios for coordinating the work. POSIX.17 is taking steps to
  951. determine if their work overlaps with the proposed work of certain
  952. ISO/SC21 (OSI) working groups.
  953.  
  954. Status
  955.  
  956. Commitment within the group remains adequate, but there's more than
  957. enough work to go around.
  958.  
  959. Chris Harding, our Technical Editor (from X/Open), brought a second
  960. draft of the specification to the meeting.  We made significant
  961. progress towards producing a third draft with emphasis on format
  962. cleanup, model, overview sections and test assertions.
  963.  
  964. The ``homework'' assignments on Language Independent Specification
  965. (LIS) weren't completed and additional work on LIS was put on hold
  966. until the outcome of the SEC meeting.  There seemed to be some
  967. confusion as to the applicability of the LIS requirement for POSIX.17
  968. and other Distributed Services APIs.  The SEC reaffirmed the LIS
  969. requirement.  The LIS work was reassigned to the Technical Editor.
  970.  
  971. The big debate on generalizing the Object Management API never
  972. materialized.  (Refer to the three snitch reports on the New Orleans
  973. 1991 meeting.) I strongly suspect this was largely due to the absence
  974. of Scott ``Owls in the bushes'' Guthrey at the Chicago meeting.
  975.  
  976. Requirements from POSIX.12
  977.  
  978. The group met with POSIX.12 (Protocol Independent Interfaces) to get
  979. their requirements for the POSIX.17 API.  They expressed the desire
  980. (necessity?) to:
  981.  
  982.    - access existing directory services (e.g.  DNS) via the
  983.      POSIX.17 API
  984.  
  985.    - map the existing BSD API (e.g. gethostbyname,
  986.      getservbyname, etc.) onto the POSIX.17 API.
  987.  
  988. We discussed at length how these and other requirements should best be
  989. met, and produced three different scenarios describing relationships
  990. between the user application, the directory API(s), the directory
  991. service(s) and the transport service (accessed via POSIX.12's
  992. Simplified Network Interface).
  993.  
  994. In the first scenario, the transport provider (SNI) would talk
  995. directly to all directory services e.g.  DNS, X.500, etc.  Each
  996. directory service resolver would be accessed through its native
  997. interface, of which POSIX.17 would be just another API.
  998.  
  999. In scenario two, POSIX.17 would be the only API and would be used to
  1000. access all directory services.  To access a non- X.500 DUA, the
  1001. underlying implementation might have to translate POSIX.17 calls into
  1002. the appropriate format and invoke the corresponding resolver.
  1003.  
  1004. In the final scenario, POSIX.17 would again be the only API, but only
  1005. one resolver (X.500 DUA) would be used to query a single composite
  1006. information base (DIB) containing information on all objects (e.g.
  1007. DNS Resource Records and X.500 Distinguished Names).
  1008.  
  1009. In each of the scenarios, impact to the POSIX.17 API will be minimal.
  1010. However, significant impact is anticipated for the underlying
  1011. implementation and directory information base.
  1012.  
  1013. We discussed the relative merits of each and decided that at some
  1014. future time a single API, resolver (agent), directory service and
  1015. information base just might be the best for POSIX systems.  We also
  1016. recognized that POSIX systems will need to interoperate with non-POSIX
  1017. systems for the foreseeable future, and that fact won't be lost on
  1018. implementors.
  1019.  
  1020. Live long and prosper! or Extending the life of our standard
  1021.  
  1022. The base document defines both the API and the collection of objects
  1023. managed through the API, called a ``package.''
  1024.  
  1025. We believe that packages will be much more dynamic than the API
  1026. itself, and could be unbundled from the API to give the API greater
  1027. stability.  We actioned the Distributed Services Steering Committee
  1028. (DSSC) to recommend a common solution, as this problem is shared by
  1029. other networking groups.  We expect the DSSC to take this issue up in
  1030. Santa Clara.
  1031.  
  1032. Mock Ballot
  1033.  
  1034. We decided to try to mock ballot our document sometime after the July
  1035. meeting. After reaching agreement on the minimum document content for
  1036. mock ballot, we assigned actions to get this work done.  We wish to
  1037. solicit input on requirements and feedback on our LIS and Test
  1038. Assertion work.
  1039.  
  1040. Is SC21 doing APIs too?
  1041.  
  1042. With the granting of any IEEE project request (PAR) comes a
  1043. responsibility to coordinate with other de jure standards bodies, the
  1044. list of which is included on the PAR itself.  In fulfilling this
  1045. obligation, the group has learned (and dutifully reported to the SEC)
  1046. that ISO SC21 is considering working on APIs to OSI application level
  1047. services.  This work has a potential to overlap the SC22 supported work
  1048. being done by IEEE TCOS/POSIX (e.g.  POSIX.17, P1224, P1238).
  1049.  
  1050. In Closing ...
  1051.  
  1052. The group made good solid progress in Chicago, and our document is
  1053. beginning to ``flesh out.'' We think we understand what's required for
  1054. test assertions and language independence, and have done several
  1055. things to make the base document more readable.  If we can maintain
  1056. ``critical mass'' within the group, we have a good chance of going to
  1057. mock ballot yet this year.  There's a lot of work to do, so if anyone
  1058. out there can make it to Santa Clara in July ...
  1059.  
  1060.  
  1061.  
  1062.  
  1063.  
  1064.  
  1065.  
  1066.  
  1067.  
  1068.  
  1069.  
  1070. Volume-Number: Volume 24, Number 17
  1071.  
  1072. From std-unix-request@uunet.UU.NET  Sun Jun 23 20:48:32 1991
  1073. Received: from relay1.UU.NET by uunet.UU.NET with SMTP 
  1074.     (5.61/UUNET-uucp-primary) id AA12458; Sun, 23 Jun 91 20:48:32 -0400
  1075. Received: from kithrup.com by relay1.UU.NET with SMTP 
  1076.     (5.61/UUNET-internet-primary) id AA28855; Sun, 23 Jun 91 20:48:04 -0400
  1077. Newsgroups: comp.std.unix
  1078. From: Peter Collinson <pc@hillside.co.uk>
  1079. Subject: Report on POSIX.4, .4a, .4b, .13: POSIX Realtime Extensions
  1080. Message-Id: <1991Jun24.004051.13025@uunet.uu.net>
  1081. Originator: sef@uunet.UU.NET
  1082. Nntp-Posting-Host: uunet.uu.net
  1083. X-Submissions: std-unix@uunet.uu.net
  1084. Organization: Hillside Systems, 61 Hillside Avenue, Canterbury, Kent CT2 8HA
  1085. Date: Sun, 23 Jun 1991 23:49:11 GMT
  1086. Reply-To: std-unix@uunet.UU.NET
  1087. To: std-unix@uunet.UU.NET
  1088. Sender: Network News <news@kithrup.com>
  1089. Source-Info:  From (or Sender) name not authenticated.
  1090.  
  1091. Submitted-by: pc@hillside.co.uk (Peter Collinson)
  1092.  
  1093. USENIX Standards Watchdog Committee
  1094. Stephen R. Walli <stephe@usenix.org>, Report Editor
  1095. Report on POSIX.4, .4a, .4b, .13: POSIX Realtime Extensions
  1096.  
  1097.  
  1098. Bill O. Gallmeister <uunet!lynx!bog> reports on the April
  1099. 15-19, 1991 meeting in Chicago, IL:
  1100.  
  1101. Summary
  1102.  
  1103. This week, the working group advised the technical reviewer for IPC
  1104. Message Passing to either delete or severely prune back the IPC
  1105. chapter.  The large group also agreed to work closely with the
  1106. POSIX.12 sockets group on their interface to ensure that a ``Real-Time
  1107. Protocol,'' could be implemented on top of sockets to meet real-time
  1108. message passing requirements.
  1109.  
  1110. Work was done to harmonize POSIX.4 binary semaphores and POSIX.4a
  1111. (Threads) mutexes and condition variables.  A mutex is a lock
  1112. semaphore, so that only one person has access to a resource at a time
  1113. - MUTually EXclusive access.
  1114.  
  1115. We also began to explore work for POSIX.4b (the Yet More Real-Time
  1116. proposal).  Work here possibly includes the Ada Catalogue of Interface
  1117. Features and Options (CIFO).
  1118.  
  1119. Work continued on the Application Profiles, Test Assertions, and the
  1120. Language Independent Specification.
  1121.  
  1122. There will probably be a new recirculation of POSIX.4 before the Santa
  1123. Clara meeting.  POSIX.4a will probably not be recirculated before then.
  1124.  
  1125. Report
  1126.  
  1127. IPC
  1128.  
  1129. The IPC chapter in POSIX.4 is a bone of contention.  In my estimation,
  1130. it retains the largest number of unresolved negative ballots in all of
  1131. POSIX.4.  Most objections center on the fact that the interface
  1132. doesn't look much like anything seen in UNIX before, and on doubts
  1133. that the interface can be implemented efficiently.
  1134.  
  1135. A small group spent this week looking at IPC and ways to deal with
  1136. it.  They came up with some startling recommendations.  First, they
  1137. noted that the sockets interface, which most of us are familiar with
  1138. from BSD, is currently undergoing standardization by POSIX.12 (Protocol
  1139. Independent Interfaces).  They noted that all the needs of real-time
  1140. and transaction-processing IPC could be met by a new sockets protocol,
  1141. perhaps with a few extensions to the sockets interface itself.  There
  1142. are generally two socket protocols on a UNIX system: the UNIX domain
  1143. protocol, which communicates with other processes on the same machine,
  1144. and the Internet protocol, which does the network thing.  A real-time
  1145. protocol would be akin to these.  The small group recommended that we
  1146. work with POSIX.12 to ensure that such a real-time protocol could be
  1147. defined.
  1148.  
  1149. In addition, they made specific suggestions for trimming back the
  1150. current IPC chapter, if it is not removed altogether.  These
  1151. suggestions included removing non-copy IPC modes and some of the more
  1152. baroque asynchronous modes of the interface.  Another option would be
  1153. to delete the POSIX.4 IPC chapter entirely and await POSIX.12 sockets
  1154. and a real-time extension on top of that-probably a three-year wait.
  1155.  
  1156. The votes, when taken, were 17-5 in favor of deleting the chapter, and
  1157. 29-2 in favor of trimming the chapter severely.  However, when given
  1158. the choice of deleting POSIX.4 IPC or pruning it, the vote was 21 to
  1159. 15 in favor of deleting, and only two working group members admitted
  1160. that they would ballot against the draft if IPC was removed.
  1161.  
  1162. Synchronization
  1163.  
  1164. POSIX.4 specifies a binary semaphores interface; POSIX.4a (Threads)
  1165. specifies mutexes and condition variables.  These two facilities,
  1166. while rather similar in the abstract, are quite different in the
  1167. current drafts.  A group attempted this week to bring the two closer
  1168. together.
  1169.  
  1170. Mutexes and condition variables are based in the memory of the
  1171. process, while binary semaphores are accessed via an opaque object
  1172. that might be a memory address, but might not.  It had been noted in
  1173. New Orleans that POSIX.4 binary semaphores worked between threads in a
  1174. process, but that thread mutexes and condition variables did not work
  1175. between separate processes.  This lack of parity has been the source
  1176. of many ballot objections to both POSIX.4 and POSIX.4a.
  1177.  
  1178. The small group came up with a model of how synchronization was
  1179. expected to work in the vast majority of cases.  Mutexes, condition
  1180. variables, and binary semaphores are all implemented in user memory,
  1181. much like how thread mutexes are currently implemented.  In addition,
  1182. an extension to this implementation allows the memory-based
  1183. implementation to operate in shared memory between processes.
  1184.  
  1185.  
  1186. Because some machines (such as Crays) do not possess the hardware for
  1187. memory sharing, a more abstract interface to process synchronization
  1188. is required.  (Those machines will not implement binary semaphores
  1189. like most other people, but will do something different.)
  1190.  
  1191. The working group approved a number of small changes to harmonize
  1192. POSIX.4 and POSIX.4a with regards to process and thread
  1193. synchronization based on this model.  The working group also demanded
  1194. some documentation explaining the different models and requirements
  1195. motivating the different facilities and interfaces.  Hopefully, such
  1196. documentation will clear up the confusion currently surrounding the two
  1197. interfaces.
  1198.  
  1199. POSIX.4b
  1200.  
  1201. POSIX.4b has as its goal the standardization of some of the less
  1202. mainstream features of real-time systems.  These are basically areas
  1203. that the POSIX.4 group decided to defer until ``later.'' During this
  1204. meeting, small groups worked on interfaces for timeouts on all
  1205. blocking system calls, for enhanced memory allocation, and for direct
  1206. application use of interrupts.  The documents for all three of these
  1207. areas are quite immature, and the small groups spent their time trying
  1208. to identify models and requirements.  I believe the first draft of
  1209. POSIX.4b will be generated in Santa Clara.  Other possible work items
  1210. for this proposal include extensions to the existing synchronization
  1211. primitives, and the Ada Catalogue of Interface Features and Options
  1212. (CIFO).
  1213.  
  1214. The timeouts group received some conflicting advice.  Many people do
  1215. not want this interface at all.  Of those who did, there was strong
  1216. consensus for new function calls for each blocking call, i.e., we'd
  1217. have timeout_read(), which could time out after a certain interval of
  1218. time, since read() is a blocking call.
  1219.  
  1220. The memory allocation group is concerned with being able to allocate
  1221. from specific pools of memory-memory presumably having some special
  1222. characteristic.  They were directed to see whether mmap(), from the
  1223. Shared Memory and Mapped Files chapter, would suit the requirements.
  1224.  
  1225. The interrupt access group came up with a model something like signal
  1226. handlers for attaching a process directly to an interrupt.  Additional
  1227. semantics of the interface still need to be defined, (e.g. can system
  1228. calls be made from a user ``interrupt handler.'')
  1229.  
  1230. Application Profiles
  1231.  
  1232. The real-time applications profiles group is well on its way to
  1233. producing a draft which defines multiple profiles: an embedded
  1234. profile, a profile one up from that, a mid-size profile, and a kitchen
  1235. sink profile.
  1236.  
  1237. The kitchen sink profile is easy: it includes everything.  At the
  1238. lower layer is an embedded profile which will hopefully be very
  1239. small.  It specifies the threads interface, but would like to not
  1240. include the process interface, i.e. no fork or exec.  It has read,
  1241. write, and open, but no other file interface.  The target for such a
  1242. system would be an embedded system, perhaps without an MMU.  Much of
  1243. POSIX.1, and in fact much of POSIX.4, is irrelevant to such a system.
  1244. The largest area to be addressed now is the ability to remove pieces
  1245. from POSIX.1 (i.e., fork() and exec()) and still have a ``POSIX''
  1246. system. POSIX.1 is not set up to allow such selective removal of
  1247. interfaces.
  1248.  
  1249. Test Assertions and Language Independent Specifications
  1250.  
  1251. Small groups (of one each) continued to work on the test assertions
  1252. and the language independent interfaces for POSIX.4.  Not much
  1253. progress was made, due to the pressing requirements of other issues
  1254. and the fact that much of this work is best done late at night hunched
  1255. over one's terminal.  This work will continue and should be more
  1256. advanced at the Santa Clara meeting.
  1257.  
  1258.  
  1259.  
  1260.  
  1261.  
  1262.  
  1263.  
  1264.  
  1265.  
  1266.  
  1267.  
  1268.  
  1269.  
  1270.  
  1271.  
  1272.  
  1273.  
  1274.  
  1275.  
  1276.  
  1277.  
  1278.  
  1279.  
  1280.  
  1281.  
  1282.  
  1283.  
  1284.  
  1285.  
  1286.  
  1287.  
  1288.  
  1289. Volume-Number: Volume 24, Number 18
  1290.  
  1291. From std-unix-request@uunet.UU.NET  Mon Jun 24 15:18:37 1991
  1292. Received: from relay1.UU.NET by uunet.UU.NET with SMTP 
  1293.     (5.61/UUNET-uucp-primary) id AA22259; Mon, 24 Jun 91 15:18:37 -0400
  1294. Received: from kithrup.com by relay1.UU.NET with SMTP 
  1295.     (5.61/UUNET-internet-primary) id AA29513; Mon, 24 Jun 91 15:18:27 -0400
  1296. Newsgroups: comp.std.unix
  1297. From: Peter da Silva <peter@ficc.ferranti.com>
  1298. Subject: Re: Report on POSIX.4, .4a, .4b, .13: POSIX Realtime Extensions
  1299. Message-Id: <1991Jun24.190954.9423@uunet.uu.net>
  1300. Originator: sef@uunet.UU.NET
  1301. Nntp-Posting-Host: uunet.uu.net
  1302. Reply-To: Peter da Silva <peter@ficc.ferranti.com>
  1303. X-Submissions: std-unix@uunet.uu.net
  1304. Organization: Xenix Support, FICC
  1305. References: <1991Jun24.004051.13025@uunet.uu.net>
  1306. Date: Mon, 24 Jun 1991 17:29:45 GMT
  1307. To: std-unix@uunet.UU.NET
  1308. Sender: Network News <news@kithrup.com>
  1309. Source-Info:  From (or Sender) name not authenticated.
  1310.  
  1311. Submitted-by: peter@ficc.ferranti.com (Peter da Silva)
  1312.  
  1313. There are two points in this report I'd like to comment on, one of which is
  1314. a request for further information.
  1315.  
  1316. In article <1991Jun24.004051.13025@uunet.uu.net> pc@hillside.co.uk (Peter Collinson) writes:
  1317. > The large group also agreed to work closely with the
  1318. > POSIX.12 sockets group on their interface to ensure that a ``Real-Time
  1319. > Protocol,'' could be implemented on top of sockets to meet real-time
  1320. > message passing requirements.
  1321.  
  1322. ARGH!
  1323.  
  1324. Yes, yes. I understand the reasoning. The IPC doesn't look very UNIXish. It
  1325. does, however, look very real-time-ish. Sockets don't.
  1326.  
  1327. IMHO, in any case, sockets don't look very UNIX-ish either.
  1328.  
  1329. > The timeouts group received some conflicting advice.  Many people do
  1330. > not want this interface at all.  Of those who did, there was strong
  1331. > consensus for new function calls for each blocking call, i.e., we'd
  1332. > have timeout_read(), which could time out after a certain interval of
  1333. > time, since read() is a blocking call.
  1334.  
  1335. What's wrong with using a conventional event-flag/signal and multi-way-wait
  1336. interface, with timers being one of the events to wait on? That would solve
  1337. the problem, and file descriptors could be used as the flag identifiers.
  1338. -- 
  1339. Peter da Silva; Ferranti International Controls Corporation; +1 713 274 5180;
  1340. Sugar Land, TX  77487-5012;         `-_-' "Have you hugged your wolf, today?"
  1341.  
  1342.  
  1343. Volume-Number: Volume 24, Number 19
  1344.  
  1345. From std-unix-request@uunet.UU.NET  Tue Jun 25 18:04:04 1991
  1346. Received: from relay1.UU.NET by uunet.UU.NET with SMTP 
  1347.     (5.61/UUNET-uucp-primary) id AA29174; Tue, 25 Jun 91 18:04:04 -0400
  1348. Received: from kithrup.com by relay1.UU.NET with SMTP 
  1349.     (5.61/UUNET-internet-primary) id AA14815; Tue, 25 Jun 91 18:03:48 -0400
  1350. Xref: kithrup comp.std.unix:235 comp.org.ieee:192
  1351. Newsgroups: comp.std.unix,comp.org.ieee
  1352. From: "Stephen R. Walli" <speaker!stephe>
  1353. Subject: TCOS Rules&Regs and IR Voting
  1354. Message-Id: <1991Jun25.214508.7451@uunet.uu.net>
  1355. Followup-To: comp.org.ieee
  1356. Originator: sef@uunet.UU.NET
  1357. Nntp-Posting-Host: uunet.uu.net
  1358. X-Submissions: std-unix@uunet.uu.net
  1359. Organization: UUNET Communications Services
  1360. Date: Tue, 25 Jun 1991 03:36:34 GMT
  1361. Reply-To: std-unix@uunet.UU.NET
  1362. To: std-unix@uunet.UU.NET
  1363. Sender: Network News <news@kithrup.com>
  1364. Source-Info:  From (or Sender) name not authenticated.
  1365.  
  1366. There's a Mini Ballot attached to the latest circulation of the TCOS/SSC
  1367. Operating Procedures. It has to do with the removal of voting privileges from 
  1368. the Institutional Representatives. I'm posting this set of ponderings because
  1369. I want to understand why IRs shouldn't have voting privileges. I need some
  1370. education here. 
  1371.  
  1372. - I don't like the fact that they recast the current voting situation into a 
  1373.   "no" vote situation in the text, then asked for guidance.
  1374.  
  1375. - Let's look at the IRs. 
  1376.  
  1377.   USENIX, Uniforum, EurOpen, GUIDE, DECUS
  1378.   ---------------------------------------
  1379.   There are user groups which for the most part are financially accessible to 
  1380.   the average technical person, regardless of their employer, in a similar 
  1381.   way to the IEEE and IEEE/CS. 
  1382.  
  1383.   X/Open, OSF, UI
  1384.   ---------------
  1385.   There's the vendor consortia. These are not-for-profit (revenue neutral,
  1386.   non-profit, etc.) organizations with membership fees WELL outside of the 
  1387.   individual. The high cost of membership provides members with a different 
  1388.   set of benefits, such as early access to source code of the products 
  1389.   built by these organizations. (I realize this doesn't apply to X/Open. I'm 
  1390.   not sure what the return for their high cost of admission is.) 
  1391.  
  1392.   IRs represent both user communities and vendor (producer) communities. 
  1393.   This fits the multiple viewpoint policy of balloting groups within the 
  1394.   IEEE. 
  1395.  
  1396. - TCOS/SEC is responsible for the business/financial side of the standards
  1397.   budget, and the creation and policing of WGs and Steering Committees. The 
  1398.   IRs represent their communities (vendor and user) at the policy level the 
  1399.   same way that individual members represent those viewpoints at the technical
  1400.   level within a WG. This is why IRs should be voting members. It is a 
  1401.   continuation of the open standards process that is a pillar of the IEEE 
  1402.   standards platform. 
  1403.  
  1404.   (Chairpeople are responsible for their individual projects, and are not 
  1405.   responsible for TCOS/SEC policy co-ordination with their WG.)
  1406.  
  1407. - The "Them" (IRs) outnumbering "Us" ("... individual professional members 
  1408.   of the IEEE...") phrasing in the Mini Ballot is a little inflamatory. 
  1409.   My guess is that most of the IRs are members of the IEEE anyway, since 
  1410.   they are involved and are probably balloting members. I would 
  1411.   hope there isn't a suggestion that IRs are unprofessional in this statement. 
  1412.   There are by my count, 17 chairpeople, plus 4 steering committees, plus
  1413.   TCOS/SEC officers. There are 8 IRs. The proliferation of project WGs and 
  1414.   necessary steering committees seems to be faster than new IR acceptance. 
  1415.   Besides, it's not a numbers game. 
  1416.  
  1417. - This next point does not involve the IR voting status, but illustrates a 
  1418.   point. Somewhere along the line, it was decided that IRs with the ability to 
  1419.   ballot draft documents would receive "special" status. While their ballots
  1420.   do not weigh any heavier for consideration, their names are published 
  1421.   seperately at the front of the standard as IRs. Somewhere in the standards
  1422.   acceptance heirarchy, people feel it is important to draw attention to these
  1423.   institutions in the acceptance of the standard. It somehow seems 
  1424.   inappropriate that they do not carry voting weight within the policy world
  1425.   of TCOS/SEC.  
  1426.  
  1427. So what am I missing? Why shouldn't IRs have the vote? 
  1428.  
  1429. Disclaimer:
  1430. The above opinions are strictly my own, and since I work for myself, they 
  1431. also represent my company's. People still love to disagree with them and 
  1432. correct them along the way. 
  1433. +-----------------------------------------------------------------------------+
  1434. Stephen R. Walli                               SRW Software 
  1435. phone: (416) 579 0304                          572 Foxrun Court,
  1436. fax:   (416) 571 1991                          Oshawa, Ontario, Canada,
  1437. speaker!stephe@mks.com   -OR-                  L1K 1N9
  1438. uunet!watmath!mks!speaker!stephe
  1439. +-----------------------------------------------------------------------------+
  1440.  
  1441. [ Note followup's, please -- mod ]
  1442.  
  1443. Volume-Number: Volume 24, Number 20
  1444.  
  1445. From std-unix-request@uunet.UU.NET  Tue Jun 25 18:04:39 1991
  1446. Received: from relay1.UU.NET by uunet.UU.NET with SMTP 
  1447.     (5.61/UUNET-uucp-primary) id AA29273; Tue, 25 Jun 91 18:04:39 -0400
  1448. Received: from kithrup.com by relay1.UU.NET with SMTP 
  1449.     (5.61/UUNET-internet-primary) id AA14897; Tue, 25 Jun 91 18:04:08 -0400
  1450. Newsgroups: comp.std.unix
  1451. From: Peter Collinson <pc@hillside.co.uk>
  1452. Subject: Report on POSIX.7: System Administration
  1453. Message-Id: <1991Jun25.214723.7644@uunet.uu.net>
  1454. Originator: sef@uunet.UU.NET
  1455. Nntp-Posting-Host: uunet.uu.net
  1456. X-Submissions: std-unix@uunet.uu.net
  1457. Organization: Hillside Systems, 61 Hillside Avenue, Canterbury, Kent CT2 8HA
  1458. Date: Tue, 25 Jun 1991 18:39:08 GMT
  1459. Reply-To: std-unix@uunet.UU.NET
  1460. To: std-unix@uunet.UU.NET
  1461. Sender: Network News <news@kithrup.com>
  1462. Source-Info:  From (or Sender) name not authenticated.
  1463.  
  1464. Submitted-by: pc@hillside.co.uk (Peter Collinson)
  1465.  
  1466. USENIX Standards Watchdog Committee
  1467. Stephen R. Walli <stephe@usenix.org>, Report Editor
  1468. 1003.7: System Administration
  1469.  
  1470.  
  1471. Martin Kirk <m.kirk@xopen.co.uk> reports on the April 15-19,
  1472. 1991 meeting in Chicago, IL:
  1473.  
  1474. Summary
  1475.  
  1476. POSIX.7 is getting back on its feet again, having come through a rocky
  1477. period in its history. The Project Management Committee (PMC) has
  1478. reviewed the project and recommended that it be split into a number of
  1479. sub-projects, organized by POSIX.7. Likely candidates are print
  1480. management, software management and user environment management.
  1481.  
  1482. Report
  1483.  
  1484. The April 1991 POSIX meeting in Chicago may turn out to be the final
  1485. step in the rehabilitation of the POSIX.7 Systems Administration
  1486. working group.
  1487.  
  1488. Probably as a result of its occasionally controversial past, POSIX.7
  1489. was among the first batch of working groups to be reviewed by the
  1490. newly created Project Management Committee (PMC).
  1491.  
  1492. It is possible to speculate on whether POSIX.7 would have met the
  1493. PMC's project approval criteria had it been in existence two years
  1494. ago.  One of the most pertinent criteria would probably have been the
  1495. existence of a suitable base document.  A likely candidate would have
  1496. been the NIST proposed draft System Administration document, though it
  1497. might have been difficult to demonstrate the right kind of consensus
  1498. around it!
  1499.  
  1500. Anyway, the PMC was not in existence then and POSIX.7 was duly
  1501. created.  The first couple of meetings were spent investigating the
  1502. possibility of standardising the existing systems administration
  1503. commands that we all know and love.  The working group decided that
  1504. there was little benefit to be gained from solving the single machine
  1505. problem in a world that was rapidly moving towards a norm of
  1506. heterogeneous networks, and set off on its trek into the rather more
  1507. esoteric realms of object-oriented systems management for networks of
  1508. heterogeneous machines.
  1509.  
  1510. Inevitably this change of direction led to charges that the group was
  1511. inventing hand-over-fist, rather than following the ``traditional''
  1512. standards model of codifying existing practice.  (No-one ever argued
  1513. that the group had gone beyond its scope, which was cunningly worded
  1514. to allow the group to do almost anything).
  1515.  
  1516. Moving into the world of distributed systems management opened up
  1517. various cans of wriggling things with labels like ``interoperability''
  1518. and ``frameworks.'' (This was when I discovered that ratholes were
  1519. full of worms).  It was at this point that an over-enthusiastic
  1520. embracing of object- oriented concepts led to the promulgation of a
  1521. command line interface that was tremendously orthogonal, but completely
  1522. different to all known existing practice.
  1523.  
  1524. Interoperability proved to be a particularly thorny problem.
  1525. Everybody could agree that it was essential, but there was no emerging
  1526. consensus as to how it would be achieved.
  1527.  
  1528. In hindsight, this was the lowest point of POSIX.7's fortunes.  From
  1529. this point the rehabilitation commenced.  The first stage was an
  1530. agreement among the group to limit the scope of its activities (but
  1531. not its objectives).  The group decided to concentrate on two
  1532. particular aspects, the definition of the managed objects required for
  1533. systems management, and the definition of management tasks - the
  1534. administrator's view of the job in hand.  This decision allowed the
  1535. group to close the door on the ratholes and concentrate on areas where
  1536. it was able to make progress.
  1537.  
  1538. Part of the motivation for this decision was recognition that the
  1539. problem space is vast and that trying to attack it over too large a
  1540. front was a suicidal manoeuvre.  There was also an increased awareness
  1541. of the related work of other organizations, such as the OSI Network
  1542. Management Forum, the OSI Implementer's Workshop Network Management
  1543. SIG, and X/Open.  As this other work comes to fruition, it will be
  1544. available for use by POSIX.7 and will likely solve some of the
  1545. thornier problems, such as interoperability.
  1546.  
  1547. So what happened in Chicago to raise hopes that the rehabilitation is
  1548. almost complete?  For some time the group had been aware that some
  1549. functional areas were much closer to reaching a consensus than others,
  1550. and it had been considering how it might better organize the work in
  1551. order to ``get something out of the door.'' The result of the PMC
  1552. review of POSIX.7 was a recommendation that the existing project
  1553. should be split into a series of sub-projects, each representing a
  1554. functional area within the overall problem space, and each leading to
  1555. a separately balloted document.  The existing project would be
  1556. retained as an ``umbrella'' to handle the co-ordination issues arising
  1557. from the split.
  1558.  
  1559. This is necessary if the parts are to form a coherent whole.  New
  1560. projects would be raised to cover a first set of functional areas.  No
  1561. more than two or three of these functional sub-projects would be
  1562. active at any time. This would keep the group focussed on a set of
  1563. limited and achievable goals.  New projects would be instantiated as
  1564. existing ones move into the balloting phase.
  1565.  
  1566. One of the benefits of this approach is that each of the new
  1567. sub-projects must pass the PMC's project approval criteria before it
  1568. is recommended.  The proposal will be properly scrutinized to ensure
  1569. that the project is likely to succeed within reasonable timeframes.  A
  1570. result of the earlier decision to concentrate on managed objects and
  1571. management tasks will be to relate the new projects much more closely
  1572. to existing interfaces, thus removing one of the rods which the group
  1573. had fashioned for others to beat it with.  An obvious source of
  1574. candidate management tasks can be found in the existing administrative
  1575. command set on the systems around us, and it would be a perverse
  1576. decision indeed to introduce gratuitous changes to the style of that
  1577. interface.
  1578.  
  1579. The first set of sub-projects are likely to be Print Management,
  1580. Software Management, and User Environment Management.  These three
  1581. represent areas where the work of the group is well advanced and where
  1582. there is strong commitment of energies.
  1583.  
  1584. The Print Management work is based on the MIT Palladium printing
  1585. system, which has the benefit of being well-aligned with the emerging
  1586. ISO distributed printing standard, DIS 10164.  The Print Management
  1587. sub-group within POSIX.7 has been working with the Palladium documents
  1588. for over a year and this work is probably the closest to being
  1589. complete.
  1590.  
  1591. Software Management has enjoyed a resurgence of interest within
  1592. POSIX.7 over the last 6 months, with source material being drawn from
  1593. DEC, HP, AT&T and Siemens-Nixdorf.  The small group that has been
  1594. working in this area has been comparing the various technologies and
  1595. (not surprisingly?)  finding a great deal of commonality between then
  1596. in terms of their underlying concepts and functionality.  The task of
  1597. identifying a common model and a common set of functions is well
  1598. advanced and bodes well for the future.  (Indeed, the rate of progress
  1599. is positively alarming!)
  1600.  
  1601. The third area, User Environment Management is a logical candidate for
  1602. inclusion in the initial set of sub-projects.  Much of systems
  1603. management is concerned with the management of users and their
  1604. interactions with other components of the system.  Many management
  1605. tasks need to be able to refer to users and it seems to be appropriate
  1606. to tackle this area at an early stage.  (For some inexplicable reason,
  1607. the ``add user'' operation seems to be the universal example always
  1608. brought up when talking about some aspect of systems administration -
  1609. another motivating factor.)
  1610.  
  1611. Looking beyond the confines of POSIX.7 into the wider world, the
  1612. original decision to adopt an object-oriented approach to the problem
  1613. of systems administration is at last being vindicated.
  1614. Object-oriented concepts lie at the heart of the OSF Distributed
  1615. Management Environment request for technology (RFT), the UI Systems
  1616. Management SIG and the X/Open Systems Management working group.  It
  1617. looks as if history will show POSIX.7's decision to have been a far-
  1618. sighted move rather than turning up a blind alley.
  1619.  
  1620. [The above opinions do not necessarily represent those of the IEEE, my
  1621. employers, or even myself!].
  1622.  
  1623.  
  1624.  
  1625.  
  1626.  
  1627.  
  1628.  
  1629.  
  1630.  
  1631.  
  1632.  
  1633.  
  1634.  
  1635.  
  1636.  
  1637.  
  1638.  
  1639.  
  1640.  
  1641.  
  1642.  
  1643.  
  1644.  
  1645.  
  1646.  
  1647.  
  1648.  
  1649.  
  1650.  
  1651.  
  1652.  
  1653.  
  1654.  
  1655.  
  1656.  
  1657.  
  1658.  
  1659.  
  1660.  
  1661.  
  1662.  
  1663.  
  1664.  
  1665. Volume-Number: Volume 24, Number 22
  1666.  
  1667. From std-unix-request@uunet.UU.NET  Tue Jun 25 18:04:55 1991
  1668. Received: from relay1.UU.NET by uunet.UU.NET with SMTP 
  1669.     (5.61/UUNET-uucp-primary) id AA29313; Tue, 25 Jun 91 18:04:55 -0400
  1670. Received: from kithrup.com by relay1.UU.NET with SMTP 
  1671.     (5.61/UUNET-internet-primary) id AA14902; Tue, 25 Jun 91 18:04:09 -0400
  1672. Newsgroups: comp.std.unix
  1673. From: Peter Collinson <pc@hillside.co.uk>
  1674. Subject: Report on P1224: X.400 API
  1675. Message-Id: <1991Jun25.214618.7555@uunet.uu.net>
  1676. Originator: sef@uunet.UU.NET
  1677. Nntp-Posting-Host: uunet.uu.net
  1678. X-Submissions: std-unix@uunet.uu.net
  1679. Organization: Hillside Systems, 61 Hillside Avenue, Canterbury, Kent CT2 8HA
  1680. Date: Tue, 25 Jun 1991 18:35:54 GMT
  1681. Reply-To: std-unix@uunet.UU.NET
  1682. To: std-unix@uunet.UU.NET
  1683. Sender: Network News <news@kithrup.com>
  1684. Source-Info:  From (or Sender) name not authenticated.
  1685.  
  1686. Submitted-by: pc@hillside.co.uk (Peter Collinson)
  1687.  
  1688. USENIX Standards Watchdog Committee
  1689. Stephen R. Walli <stephe@usenix.org>, Report Editor
  1690. Report on P1224: X.400 API
  1691.  
  1692.  
  1693. Steve Trus <trus@osi.ncsl.nist.gov> reports on the April
  1694. 15-19, 1991 meeting in Chicago, IL:
  1695.  
  1696. Introduction
  1697.  
  1698. P1224 is the IEEE working group standardizing an application program
  1699. interface (API) for X.400 and also for a companion, OSI Object
  1700. Management (OM).  The work will result in two documents.  Interfaces
  1701. developed by the X.400 API Association and X/Open have provided the
  1702. basis for the standards.  The X.400 API consists of two parts: an
  1703. application interface and a gateway interface.  Both of these are
  1704. based on the 1988 CCITT X.400 Series of Recommendations.
  1705.  
  1706. The P1224 working group has the following officers:
  1707.  
  1708.    - Steve Trus, Chairman (NIST)
  1709.  
  1710.    - Tim Carter, Vice Chairman (IBM)
  1711.  
  1712.    - Iain Devine, Technical Editor, Secretary (X/Open)
  1713.  
  1714. The Chicago meeting was very productive for the P1224 working group.
  1715. We have been gaining momentum over the past three meetings, and are
  1716. well under way to producing an IEEE standard.
  1717.  
  1718. The goal of the group is to have a draft of the X.400 API and the
  1719. Object Management APIs by the July meeting, and to ballot the
  1720. documents after the October meeting.
  1721.  
  1722. Report
  1723.  
  1724. At the Chicago meeting the group continued modifying the base
  1725. documents to produce the draft API documents for ballot. This work
  1726. includes:
  1727.  
  1728.   1.  editing the documents to meet the style and format
  1729.       requirements of the IEEE,
  1730.  
  1731.   2.  adding a language independent specification of the
  1732.       interfaces to the documents, and
  1733.  
  1734.   3.  developing the required conformance test assertions.
  1735.  
  1736. The language independent specification of the Object Management API is
  1737. complete, and the technical editor has made most of the required style
  1738. changes. These changes will be complete and the language independent
  1739. specification will be incorporated into the document by the July
  1740. meeting.  Work on the style modifications to the X.400 document will
  1741. also be complete by the July meeting.  The X.400 language independent
  1742. specification should be complete and incorporated at this time.
  1743.  
  1744. The group spent most of the week developing the required test methods
  1745. for the Object Management Specification.  A representative of the Test
  1746. Methods working group (POSIX.3) assisted us with this development.
  1747. Members of the group agreed to develop test methods for functions
  1748. assigned to them by the next meeting.  This task will need to be
  1749. completed before the complete ballot of the document.
  1750.  
  1751. Balloting Plans
  1752.  
  1753. We discussed balloting plans and we would like to begin balloting the
  1754. Object Management Specification and the X.400 API in October.  These
  1755. ballots would not include the test methods, and balloting cannot
  1756. complete without them.
  1757.  
  1758. We are developing the list of people who will be invited to ballot
  1759. these documents, along with the IEEE formed balloting group.  This
  1760. list will include the X.400 API Association, X/Open Limited, the NIST
  1761. X.400 Workshop, and the Electronic Mail Association.
  1762.  
  1763. PAR Restructuring
  1764.  
  1765. The original Project Authorization Request (PAR) for the P1224 group
  1766. was written when the baseline document contained an X.400 gateway API
  1767. and the related OSI Object Management specification.  Currently, the
  1768. X.400 API document contains the user agent interfaces, the gateway
  1769. interfaces. The OSI Object Management specification is contained in a
  1770. separate document.  To accommodate these changes a revised PAR was
  1771. written at the January meeting for the X.400 API, and a new PAR was
  1772. written for the OSI Object Management specification.  These PARs were
  1773. approved by the IEEE TCOS SEC at this meeting.
  1774.  
  1775. In Closing ...
  1776.  
  1777. P1224 is making good progress. Homework assignments were delegated at
  1778. the Chicago meeting to be completed by the Santa Clara meeting.  The
  1779. primary focus of the Santa Clara meeting will be to review the Draft
  1780. X.400 and Object Management APIs, and to continue working on test
  1781. methods for the interfaces.
  1782.  
  1783.  
  1784.  
  1785.  
  1786.  
  1787.  
  1788.  
  1789.  
  1790.  
  1791.  
  1792.  
  1793.  
  1794.  
  1795.  
  1796.  
  1797.  
  1798.  
  1799.  
  1800.  
  1801.  
  1802.  
  1803.  
  1804.  
  1805.  
  1806.  
  1807.  
  1808.  
  1809.  
  1810.  
  1811.  
  1812.  
  1813.  
  1814.  
  1815.  
  1816.  
  1817.  
  1818.  
  1819.  
  1820.  
  1821.  
  1822.  
  1823.  
  1824.  
  1825.  
  1826.  
  1827.  
  1828.  
  1829.  
  1830.  
  1831.  
  1832.  
  1833.  
  1834.  
  1835.  
  1836.  
  1837.  
  1838.  
  1839.  
  1840.  
  1841. Volume-Number: Volume 24, Number 21
  1842.  
  1843. From std-unix-request@uunet.UU.NET  Tue Jun 25 18:05:10 1991
  1844. Received: from relay1.UU.NET by uunet.UU.NET with SMTP 
  1845.     (5.61/UUNET-uucp-primary) id AA29432; Tue, 25 Jun 91 18:05:10 -0400
  1846. Received: from kithrup.com by relay1.UU.NET with SMTP 
  1847.     (5.61/UUNET-internet-primary) id AA15065; Tue, 25 Jun 91 18:04:38 -0400
  1848. Newsgroups: comp.std.unix
  1849. From: Peter Collinson <pc@hillside.co.uk>
  1850. Subject: Report on 1003.3: POSIX Test Methods and Conformance
  1851. Message-Id: <1991Jun25.214835.7724@uunet.uu.net>
  1852. Originator: sef@uunet.UU.NET
  1853. Nntp-Posting-Host: uunet.uu.net
  1854. X-Submissions: std-unix@uunet.uu.net
  1855. Organization: Hillside Systems, 61 Hillside Avenue, Canterbury, Kent CT2 8HA
  1856. Date: Tue, 25 Jun 1991 18:53:47 GMT
  1857. Reply-To: std-unix@uunet.UU.NET
  1858. To: std-unix@uunet.UU.NET
  1859. Sender: Network News <news@kithrup.com>
  1860. Source-Info:  From (or Sender) name not authenticated.
  1861.  
  1862. Submitted-by: pc@hillside.co.uk (Peter Collinson)
  1863.  
  1864. USENIX Standards Watchdog Committee
  1865. Stephen R. Walli <stephe@usenix.org>, Report Editor
  1866. Report on 1003.3: POSIX Test Methods and Conformance
  1867.  
  1868.  
  1869. Andrew Twigger <att@root.co.uk> reports on the April 15-19,
  1870. 1991 meeting in Chicago, IL:
  1871.  
  1872. Summary
  1873.  
  1874. The POSIX.2 (Shell and Utilities) working group made good progress
  1875. writing test assertions this week, with POSIX.3's (Test Methods and
  1876. Conformance) help. Many working groups, however, are discovering that
  1877. writing test assertions requires a non-trivial effort. This week also
  1878. saw the delivery of the newly published ``IEEE 1003.3-1991 - Test
  1879. Methods for Measuring Conformance to POSIX''. Concerns are still being
  1880. raised over NIST's certification policies.
  1881.  
  1882. Report
  1883.  
  1884. Chicago will probably go down in history as the meeting where test
  1885. methods invaded the POSIX working groups with a vengeance.  After
  1886. years of mild abuse and jesting (mostly aimed at NIST), the SCCT
  1887. (Steering Committee on Conformance Testing) seems to be succeeding in
  1888. the goal of ensuring that POSIX standards are balloted with test method
  1889. specifications.  Despite rumours during the week that a wake had been
  1890. arranged for the SCCT Chair, most of the screams were heard from
  1891. working groups, who having been previously informed that test methods
  1892. would be easy to write and would only take a couple of meetings, were
  1893. finding that this was a far from straightforward task.
  1894.  
  1895. While most of the remaining members of the original POSIX.3 working
  1896. group continued work with the remaining members of POSIX.2 in
  1897. generating assertions for the POSIX.2 standard, a few of the POSIX.3
  1898. elders started helping other working groups to develop test methods
  1899. for their standards.  The POSIX.3.2 group (i.e POSIX.3 + POSIX.2) met
  1900. for three days during the week and spent all of that time writing
  1901. assertions in small groups of three or four people.
  1902.  
  1903. Some of the more difficult aspects of POSIX.2 were tackled,
  1904. specifically Basic Regular Expressions and the Make utility.  Most of
  1905. the smaller utilities have assertions written already although most of
  1906. these need to be updated to align with the current draft.  It is hoped
  1907. that enough of the work will have been completed after the October
  1908. balloting commencing in the first half of 1992.
  1909.  
  1910. Other working groups that have started producing test methods include
  1911. POSIX.4, POSIX.6, POSIX.8, POSIX.15, POSIX.17 and P1224.1, P1224.2.
  1912. Most of these groups are at an early stage in their test method
  1913. development and are producing a wide variety of problems for the
  1914. ``experts'' to address.  Several of these groups have noted that the
  1915. formal process of producing test assertions has uncovered a variety of
  1916. deficiencies in their drafts; so perhaps there is some benefit in test
  1917. methods after all!
  1918.  
  1919. The highlight of the week was the arrival of the latest of the series
  1920. of POSIX standards, IEEE 1003.3-1991.  This document was made
  1921. available at the extraordinary discounted price of $15.00 per copy,
  1922. which works out to 30 cents a page!  Still I suppose that considering
  1923. the number of committee hours that went into the document, it's a real
  1924. bargain.  (One working group member calculated an industry cost in
  1925. excess of $5,000 per page.)
  1926.  
  1927. Other concerns which arose during the week relate to NIST's adopted
  1928. certification policies and procedures.  Many working groups continue
  1929. to be concerned about these. This has been a long running battle
  1930. involving both accredited testing centres and implementation suppliers
  1931. in assisting NIST in the refining of their policies.
  1932.  
  1933. The current major cause for concern is whether there would be equality
  1934. in the certification process or whether a particular implementor would
  1935. gain advantage from receiving the first conformance certificate.  NIST
  1936. was not explicit as to the procedures that they would employ to deal
  1937. with the initial surge of certification requests, but made assurances
  1938. that everybody would be satisfied when the process was completed.
  1939. This seemed to satisfy nobody!  We'll have to wait until Santa Clara
  1940. to see whether NIST is really here to help us.
  1941.  
  1942.  
  1943. Volume-Number: Volume 24, Number 23
  1944.  
  1945. From std-unix-request@uunet.UU.NET  Tue Jun 25 18:05:17 1991
  1946. Received: from relay1.UU.NET by uunet.UU.NET with SMTP 
  1947.     (5.61/UUNET-uucp-primary) id AA29448; Tue, 25 Jun 91 18:05:17 -0400
  1948. Received: from kithrup.com by relay1.UU.NET with SMTP 
  1949.     (5.61/UUNET-internet-primary) id AA15075; Tue, 25 Jun 91 18:04:42 -0400
  1950. Newsgroups: comp.std.unix
  1951. From: Peter Collinson <pc@hillside.co.uk>
  1952. Subject: Standards Update, X3J16: C++
  1953. Message-Id: <1991Jun25.214930.7804@uunet.uu.net>
  1954. Originator: sef@uunet.UU.NET
  1955. Nntp-Posting-Host: uunet.uu.net
  1956. X-Submissions: std-unix@uunet.uu.net
  1957. Organization: Hillside Systems, 61 Hillside Avenue, Canterbury, Kent CT2 8HA
  1958. Date: Tue, 25 Jun 1991 19:03:47 GMT
  1959. Reply-To: std-unix@uunet.UU.NET
  1960. To: std-unix@uunet.UU.NET
  1961. Sender: Network News <news@kithrup.com>
  1962. Source-Info:  From (or Sender) name not authenticated.
  1963.  
  1964. Submitted-by: pc@hillside.co.uk (Peter Collinson)
  1965.  
  1966. USENIX Standards Watchdog Committee
  1967. Stephen R. Walli <stephe@usenix.org>, Report Editor
  1968. Report on X3J16: C++
  1969.  
  1970.  
  1971. Mike Vilot <mjv@objects.mv.com> reports on the March, 1991 meeting in
  1972. Nashua, New Hampshire:
  1973.  
  1974. Current Status
  1975.  
  1976. The ANSI X3J16 committee began its second year of technical meetings.
  1977. As expected, the work grew more detailed, with the Core Language and
  1978. Environment working groups being the focus of most of X3J16's work.
  1979.  
  1980. March meeting
  1981.  
  1982. Digital Equipment hosted the Nashua meeting.  The week's major
  1983. activities focused on understanding the myriad details of the proposed
  1984. clarifications and changes to the current working document.
  1985.  
  1986. X3J16's sub-groups focused on the key topics listed in the goals
  1987. statement developed at the March, 1990 meeting.  They worked by
  1988. electronic mail between meetings, and reported their progress.
  1989.  
  1990. International Concerns
  1991.  
  1992. Steve Carter, of Bellcore, presented the major international
  1993. concerns.
  1994.  
  1995. Due to the concerns expressed at the November meeting about conversion
  1996. to a Type I (international) X3 process, Steve came prepared with
  1997. material explaining the implications of the change.  To all
  1998. appearances, the change seems benign to the technical work of the
  1999. committee.  The change would have the positive effect of getting
  2000. international involvement.  It has the potential to delay the
  2001. development of the standard, due to the need to synchronize U.S.  and
  2002. ISO balloting.
  2003.  
  2004. The full X3J16 committee almost decided to vote to adopt the change,
  2005. but ran out of the quorum necessary to pass the motion on Friday
  2006. morning.
  2007.  
  2008. Editorial
  2009.  
  2010. Jonathan Shopiro, of AT&T, presented the Editorial group's
  2011. work.
  2012.  
  2013. The most significant change from the November version was the
  2014. incorporation of the exception handling proposal.  Jonathan also
  2015. described an editorial change that simplified the treatment of names
  2016. and name lookup, merging the concepts that had previously been treated
  2017. under the topics of dominance and name hiding.  Martin O'Riordan, of
  2018. Microsoft, questioned whether this was a purely editorial change, or a
  2019. change to the language semantics.  Martin and others reqeusted time to
  2020. look over the change before agreeing to it.
  2021.  
  2022. As I mentioned last time, the person who volunteered to edit the
  2023. Rationale document has not been heard from since last summer.  Susan
  2024. Waggoner, of USWest, has taken on that responsibility.
  2025.  
  2026. Formal Syntax
  2027.  
  2028. James Roskind, an independent consultant, presented the work
  2029. of the Formal Syntax group.
  2030.  
  2031. The bulk of the discussion concerned a proposal by Reg Charney of
  2032. Program Conversions, Inc. to rename the non- terminals in the
  2033. grammar.  Although there was much discussion about the virtues of
  2034. regularizing the naming versus the evils of gratuitous changes, the
  2035. committee decided, in the end, to adopt the proposal.
  2036.  
  2037. Eric Krohn, of Bellcore, presented the syntactic ambiguities involving
  2038. the newly-adopted throw-expression syntax for exceptions.  The
  2039. discussion clarified the issues, and a final resolution is likely next
  2040. meeting.
  2041.  
  2042. Tom Penello, of Metaware, gave an interesting presentation on the
  2043. inherent problems with ambiguous grammars.  He established the fact
  2044. that an ambigous grammar makes the question of a conforming
  2045. implementation undecidable.  He also illustrated that arbitrary rules
  2046. to resolve grammatical ambiguities has the side-effect of rejecting
  2047. valid programs.
  2048.  
  2049. He then went on to explain the syntactic ambiguities of the template
  2050. syntax, arising from the conflict over using the ``>'' symbol as both
  2051. a relational operator and a template argument list delimiter.
  2052. Although he proposed a grammar rewrite that solved the problem, he
  2053. decided not to recommend it on aesthetic grounds.
  2054.  
  2055. There seems to be an appreciation within X3J16 as a whole for the
  2056. technical issues involved in making the grammar correct.  There also
  2057. seems to be a sentiment in favor of letting the semantic rules settle
  2058. most of the complex issues.
  2059.  
  2060. Core Language
  2061.  
  2062. Andy Koenig, of AT&T, presented the Core Language group's
  2063. work.
  2064.  
  2065. Document X3J16/91-0005 describes the group's discussion about the
  2066. linkage of typedef names and anonymous classes.  The group decided it
  2067. was an Environmental issue, and handed it off to the Environment group.
  2068.  
  2069. The group discussed objects created under a condition, and resolved to
  2070. consider those objects governed by an implicit block scope, as if the
  2071. programmer had explicitly supplied a compound statement.  Discussion
  2072. is summarized in X3J16/91- 0021.
  2073.  
  2074. Document 91-0019 covers the discussion of lifetimes for temporary
  2075. objects created by the compiler.  This issue has not reached closure,
  2076. although the issues were clarified.
  2077.  
  2078. Environment
  2079.  
  2080. Peter Chapin, of Vermont Technical College, presented the
  2081. work of the Environment group.
  2082.  
  2083. Document X3J16/91-0011 describes the group's discussion about C/C++
  2084. compatibility issues.  This discussion is continuing.
  2085.  
  2086. The group discussed at length the one definition rule - enforcing the
  2087. rule that a program must have exactly one definition for a given
  2088. function, even in the presence of multiple inclusions of inline
  2089. functions and the potential need for the compiler to generate such
  2090. functions out of line.  Document X3J16/91-0024 summarizes the
  2091. discussion.
  2092.  
  2093. There is a proposal to include a section in the standard on required
  2094. warnings.  Laura Yaker, now at Mentor Graphics, presented some ideas
  2095. of the sorts of things that might be considered as required warnings.
  2096. The discussion indicated that this is a difficult issue to
  2097. standardize, since there is so much variation in environments and
  2098. implementations.  This ongoing discussion is summarized in
  2099. X3J16/91-0014.
  2100.  
  2101. Another ongoing discussion concerns static initialization order for
  2102. objects in different translation units.  Document X3J16/91-0012
  2103. summarizes this discussion.
  2104.  
  2105. There was some discussion on specifying translation limits in the
  2106. standard.  The discussion seemed to generate more heat than light, and
  2107. nothing was decided.
  2108.  
  2109. Lastly, the linkage of types discussion continues, and is summarized
  2110. in X3J16/91-0023.  Peter described several alternate rules to insure
  2111. type-safe linkage of types.  A central issue is whether the linkage
  2112. specification is part of the type.  There are interesting arguments
  2113. for and against this.
  2114.  
  2115. Libraries
  2116.  
  2117. I presented the Library group's work.
  2118.  
  2119. There has been some progress on formulating proposals for submission
  2120. to X3J16.  Aron Insinga of DEC presented his proposal to apply
  2121. templates to the definition of the standard string class.  His
  2122. progress has been slowed by the lack of an available implementation
  2123. supporting templates.
  2124.  
  2125. Steve Clamage of TauMetric presented proposed resolutions for almost
  2126. all of the compatibility issues regarding the C library.  Most of the
  2127. small type insecurities can be handled in a reasonably straightforward
  2128. manner.  There are more substantial issues regarding signals,
  2129. exceptions and the facilities provided by longjmp().
  2130.  
  2131. The iostreams proposal continues to receive comment.  Many of the
  2132. UNIX-specific issues have been removed.  Addressing these concerns
  2133. raised an interesting point - should the C++ standard adopt the
  2134. practice of the C standard, in describing only that certain 'types'
  2135. exist, or should it describe them as classes and specify their
  2136. required operations?  There was some concern that describing classes
  2137. would be inefficient, but other concerns that the vague wording
  2138. without a class description would introduce too much variability among
  2139. implementations.
  2140.  
  2141. Language Extensions
  2142.  
  2143. Bjarne Stroustrup, of AT&T, presented the work of the
  2144. Extensions group.
  2145.  
  2146. The group is working through a long list of proposals for changes to
  2147. the language.  A significant number of them came from the Core
  2148. language group, due to an evaluation of what Andy Koenig calls for
  2149. changing the wording of the standard would have the effect of changing
  2150. the meaning of the language.
  2151.  
  2152. The current list of language extension proposals includes overloading
  2153. of the ``.'' operator, a proposal for handling national character set
  2154. issues with digraphs and new keywords, and the adoption of the
  2155. ``inherited'' keyword (as in Apple's implementation).
  2156.  
  2157. The largest issue lurking in the Extensions category is the addition
  2158. of support for run-time type information.  There will be much
  2159. discussion on this topic over the next months.
  2160.  
  2161. C Compatibility
  2162.  
  2163. Tom Plum, of Plum-Hall, presented the work of the C
  2164. Compatibility group.
  2165.  
  2166. The group continued its investigation of the vocabulary differences
  2167. between C and C++.  They decided to categorize their efforts into
  2168. groups, covering the language, environment, and library.  One likely
  2169. outcome of their work will be a proposal to adopt the same model of
  2170. sequence points used by X3J11.
  2171.  
  2172. Next events
  2173.  
  2174. The next three X3J16 1991 meetings (and their hosts) will
  2175. be:
  2176.  
  2177.    o June 17-21, Lund Sweden (Lund Institute of Technology)
  2178.  
  2179.    o November 11-15, Toronto Canada (IBM)
  2180.  
  2181.    o March 1992, Austin TX (TI)
  2182.  
  2183. Zortech announced plans to host one of the other two 1992 meetings in
  2184. London.
  2185.  
  2186. Membership on an X3 committee is open to any individual or
  2187. organization with expertise and material interest in the topic
  2188. addressed by the committee.  The cost for membership is $250.  Contact
  2189. the chair or vice chair for details.
  2190.  
  2191. Chair:
  2192.    Dmitry Lenkov
  2193.    HP California Language Lab
  2194.    19447 Pruneridge Avenue MS 47 LE
  2195.    Cupertino,
  2196.    CA 95014
  2197.    + 1 (408)447-5279
  2198.    FAX: +1 (408)447-4924
  2199.    email dmitryhpda@hplabs.hp.com
  2200.  
  2201. Vice Chair:
  2202.    William M. Miller
  2203.    Glockenspiel, Ltd
  2204.    P.O.Box 366
  2205.    Sudbury,
  2206.    MA 01776-0003
  2207.    +1 (508)443-5779
  2208.    email wmmiller@cup.portal.com
  2209.  
  2210.  
  2211.  
  2212.  
  2213.  
  2214.  
  2215.  
  2216.  
  2217.  
  2218.  
  2219.  
  2220.  
  2221.  
  2222.  
  2223.  
  2224.  
  2225.  
  2226.  
  2227.  
  2228.  
  2229.  
  2230.  
  2231.  
  2232.  
  2233.  
  2234.  
  2235.  
  2236.  
  2237.  
  2238.  
  2239.  
  2240.  
  2241.  
  2242.  
  2243.  
  2244.  
  2245.  
  2246.  
  2247.  
  2248.  
  2249.  
  2250.  
  2251.  
  2252.  
  2253.  
  2254.  
  2255.  
  2256.  
  2257.  
  2258.  
  2259.  
  2260.  
  2261.  
  2262.  
  2263.  
  2264.  
  2265. Volume-Number: Volume 24, Number 24
  2266.  
  2267. From std-unix-request@uunet.UU.NET  Tue Jun 25 20:48:14 1991
  2268. Received: from relay1.UU.NET by uunet.UU.NET with SMTP 
  2269.     (5.61/UUNET-uucp-primary) id AA06248; Tue, 25 Jun 91 20:48:14 -0400
  2270. Received: from kithrup.com by relay1.UU.NET with SMTP 
  2271.     (5.61/UUNET-internet-primary) id AA16225; Tue, 25 Jun 91 20:48:07 -0400
  2272. Newsgroups: comp.std.unix
  2273. From: Henry Spencer <henry@zoo.toronto.edu>
  2274. Subject: Re: Report on POSIX.7: System Administration
  2275. Message-Id: <1991Jun26.004253.15738@uunet.uu.net>
  2276. Originator: sef@uunet.UU.NET
  2277. Nntp-Posting-Host: uunet.uu.net
  2278. X-Submissions: std-unix@uunet.uu.net
  2279. Organization: U of Toronto Zoology
  2280. References: <1991Jun25.214723.7644@uunet.uu.net>
  2281. Date: Tue, 25 Jun 1991 23:35:40 GMT
  2282. Reply-To: std-unix@uunet.UU.NET
  2283. To: std-unix@uunet.UU.NET
  2284. Sender: Network News <news@kithrup.com>
  2285. Source-Info:  From (or Sender) name not authenticated.
  2286.  
  2287. Submitted-by: henry@zoo.toronto.edu (Henry Spencer)
  2288.  
  2289. In article <1991Jun25.214723.7644@uunet.uu.net> pc@hillside.co.uk (Peter Collinson) writes:
  2290. >... There was also an increased awareness
  2291. >of the related work of other organizations, such as the OSI Network
  2292. >Management Forum, the OSI Implementer's Workshop Network Management
  2293. >SIG, and X/Open.  As this other work comes to fruition, it will be
  2294. >available for use by POSIX.7 and will likely solve some of the
  2295. >thornier problems, such as interoperability.
  2296.  
  2297. Why does it worry me that this list of related organizations does not
  2298. mention the IETF and the SNMP/MIB work -- the network-management
  2299. protocols and facilities that are in far wider use than any of the
  2300. above, with a far greater level of demonstrated interoperability?
  2301. -- 
  2302. "We're thinking about upgrading from    | Henry Spencer @ U of Toronto Zoology
  2303. SunOS 4.1.1 to SunOS 3.5."              |  henry@zoo.toronto.edu  utzoo!henry
  2304.  
  2305.  
  2306. Volume-Number: Volume 24, Number 24
  2307.  
  2308. From std-unix-request@uunet.UU.NET  Wed Jun 26 02:04:07 1991
  2309. Received: from relay1.UU.NET by uunet.UU.NET with SMTP 
  2310.     (5.61/UUNET-uucp-primary) id AA26186; Wed, 26 Jun 91 02:04:07 -0400
  2311. Received: from kithrup.com by relay1.UU.NET with SMTP 
  2312.     (5.61/UUNET-internet-primary) id AA29404; Wed, 26 Jun 91 02:03:44 -0400
  2313. Newsgroups: comp.std.unix
  2314. From: Randall Atkinson <randall@virginia.edu>
  2315. Subject: Re: Report on POSIX.7: System Administration
  2316. Message-Id: <1991Jun26.055827.28259@uunet.uu.net>
  2317. Originator: sef@uunet.UU.NET
  2318. Nntp-Posting-Host: uunet.uu.net
  2319. X-Submissions: std-unix@uunet.uu.net
  2320. Organization: University of Virginia
  2321. References: <1991Jun25.214723.7644@uunet.uu.net> <1991Jun25.214723.7644@uunet.uu.net>,
  2322. Date: Wed, 26 Jun 1991 01:17:20 GMT
  2323. Reply-To: std-unix@uunet.UU.NET
  2324. To: std-unix@uunet.UU.NET
  2325. Sender: Network News <news@kithrup.com>
  2326. Source-Info:  From (or Sender) name not authenticated.
  2327.  
  2328. Submitted-by: randall@Virginia.EDU (Randall Atkinson)
  2329.  
  2330. In article <1991Jun25.214723.7644@uunet.uu.net>,
  2331.   Peter Collinson <pc@hillside.co.uk> writes:
  2332. >Submitted-by: pc@hillside.co.uk (Peter Collinson)
  2333. >
  2334. >USENIX Standards Watchdog Committee
  2335. >Stephen R. Walli <stephe@usenix.org>, Report Editor
  2336. >1003.7: System Administration
  2337. >
  2338. >Martin Kirk <m.kirk@xopen.co.uk> reports on the April 15-19,
  2339. >1991 meeting in Chicago, IL:
  2340.  
  2341. >Inevitably this change of direction led to charges that the group was
  2342. >inventing hand-over-fist, rather than following the ``traditional''
  2343. >standards model of codifying existing practice.  
  2344.  
  2345.   Judging from comments below, they are still ignoring existing
  2346. practice in historical UNIX-derived systems in some cases.  
  2347. If true, this is A Bad Thing.
  2348.  
  2349. >Part of the motivation for this decision was recognition that the
  2350. >problem space is vast and that trying to attack it over too large a
  2351. >front was a suicidal manoeuvre.  There was also an increased awareness
  2352. >of the related work of other organizations, such as the OSI Network
  2353. >Management Forum, the OSI Implementer's Workshop Network Management
  2354. >SIG, and X/Open.  As this other work comes to fruition, it will be
  2355. >available for use by POSIX.7 and will likely solve some of the
  2356. >thornier problems, such as interoperability.
  2357.  
  2358.   One would certainly hope that they are also tracking and taking
  2359. advantage of the good sized installed base that is already using SNMP
  2360. regularly.  With the draft security extensions now published by the
  2361. IETF, SNMP has a good body of real-world experience.  It would be best
  2362. if the POSIX.7 group tried to use that leverage to devise a good
  2363. standard.  This isn't an OSI vs. TCP/IP thing; they should take
  2364. advantage of the experience of both groups.
  2365.  
  2366.   While network management is becoming better understood, it isn't
  2367. entirely a solved problem yet and I hope the POSIX.7 folks will be
  2368. careful in what they choose to standardise.
  2369.  
  2370. >  An obvious source of candidate management tasks can be found in the
  2371. > existing administrative command set on the systems around us, and it
  2372. > would be a perverse decision indeed to introduce gratuitous changes to
  2373. > the style of that interface.  
  2374.  
  2375. Not only the style but also the content.  Standardise what already
  2376. is historical practice and try to avoid inventing new features
  2377. without actual implementation and user experience.
  2378.  
  2379. >The Print Management work is based on the MIT Palladium printing 
  2380. >system, which has the benefit of being well-aligned with the emerging 
  2381. >ISO distributed printing standard, DIS 10164.  
  2382.  
  2383. Palladium reportedly has an interface unlike those on historical
  2384. systems.  I'd much rather see lp/lpr and lprm/lpstat be standardised
  2385. as user interfaces than something unfamiliar to virtually all of
  2386. the existing users.
  2387.  
  2388. >Software Management has enjoyed a resurgence of interest within 
  2389. >POSIX.7 over the last 6 months, with source material being drawn from 
  2390. >DEC, HP, AT&T and Siemens-Nixdorf.
  2391.  
  2392. But is it based on historical systems ?  
  2393. What kinds of tools are being standardised here ?
  2394.  
  2395. >The third area, User Environment Management is a logical candidate for
  2396. >inclusion in the initial set of sub-projects.  
  2397.  
  2398. What is being managed here besides user-addition ?  
  2399. Could someone give examples maybe ?
  2400.  
  2401. Randall Atkinson
  2402. randall@Virginia.EDU
  2403.  
  2404.  
  2405.  
  2406.  
  2407.  
  2408. Volume-Number: Volume 24, Number 25
  2409.  
  2410. From std-unix-request@uunet.UU.NET  Wed Jun 26 23:04:39 1991
  2411. Received: from relay1.UU.NET by uunet.UU.NET with SMTP 
  2412.     (5.61/UUNET-uucp-primary) id AA25382; Wed, 26 Jun 91 23:04:39 -0400
  2413. Received: from kithrup.com by relay1.UU.NET with SMTP 
  2414.     (5.61/UUNET-internet-primary) id AA22362; Wed, 26 Jun 91 23:04:11 -0400
  2415. Newsgroups: comp.std.unix
  2416. From: Peter Collinson <pc@hillside.co.uk>
  2417. Subject: Report on 1003.12: Protocol Independent Interfaces
  2418. Message-Id: <1991Jun27.024928.6997@uunet.uu.net>
  2419. Originator: sef@uunet.UU.NET
  2420. Nntp-Posting-Host: uunet.uu.net
  2421. X-Submissions: std-unix@uunet.uu.net
  2422. Organization: Hillside Systems, 61 Hillside Avenue, Canterbury, Kent CT2 8HA
  2423. Date: Wed, 26 Jun 1991 23:03:11 GMT
  2424. Reply-To: std-unix@uunet.UU.NET
  2425. To: std-unix@uunet.UU.NET
  2426. Sender: Network News <news@kithrup.com>
  2427. Source-Info:  From (or Sender) name not authenticated.
  2428.  
  2429. Submitted-by: pc@hillside.co.uk (Peter Collinson)
  2430.  
  2431. USENIX Standards Watchdog Committee
  2432. Stephen R. Walli <stephe@usenix.org>, Report Editor
  2433. Report on 1003.12: Protocol Independent Interfaces
  2434.  
  2435. Mike Karels <karels@cs.berkeley.edu> reports on the April
  2436. 15-19, 1991 meeting in Chicago, IL:
  2437.  
  2438. Summary
  2439.  
  2440. The POSIX.12 (Protocol Independent Interfaces, PII) working group
  2441. spent the April meeting planning strategy for its new direction and
  2442. coordinating with other groups.  The group will produce a standard
  2443. encompassing both the BSD sockets and X/Open Transport Interface
  2444. (XTI).  Liasison meetings were held with X/Open representatives, the
  2445. Name Space/Directory Services group (POSIX.17) and the Real-Time group
  2446. (POSIX.4). The group discussed language independent specification
  2447. issues with Paul Rabin.
  2448.  
  2449. Report
  2450.  
  2451. POSIX.12 (Protocol Independent Interfaces, PII) spent the April
  2452. meeting adjusting to its new direction and coordinating with other
  2453. groups.  At the last meeting, the group decided to abandon its
  2454. previous strategy of producing a new Detailed Network Interface (DNI)
  2455. with the best features of both the socket and X/Open Transport
  2456. interfaces (XTI).  XTI is derived from AT&T's Transport Level Interface
  2457. (TLI).  After reviewing input from users and vendors, the group
  2458. decided instead to produce a standard including both existing
  2459. interfaces.  In addition, the standard will include the Simple Network
  2460. Interface (SNI), which would insulate the programmer from lower-level
  2461. details.
  2462.  
  2463. The April meeting included discussions of the changes or additions
  2464. that were needed for the existing interfaces to become standards.  A
  2465. poll had been sent to several mailing lists and news groups, but few
  2466. concrete suggestions were received.  Most of the suggestions for
  2467. extensions have come from inside the working group.  Suggestions for
  2468. changes in sockets have come mostly from the Berkeley representatives,
  2469. and suggestions for XTI have come mainly from people active in the
  2470. X/Open technical community.
  2471.  
  2472. A fair amount of time was devoted to the proposal for extending XTI
  2473. option management by Gerhard Kieselmann.  The proposal allows much
  2474. more flexible option management by encoding option values with types
  2475. and lengths.  The encoding is similar to the encoding of ancillary
  2476. data in the 4.3-Reno send and receive calls.  The main point of
  2477. contention was whether the transport provider should maintain both
  2478. current settings and default settings to be used for any future
  2479. connections.
  2480.  
  2481. The discussions of extensions to the socket interface was confined to
  2482. a description of the recent Berkeley changes (4.3-Reno) to the socket
  2483. interface.
  2484.  
  2485. The meeting schedule was nearly filled with coordination meetings with
  2486. other groups.  Petr Janacek of X/Open reported on the status of future
  2487. XTI specifications.  Other than the option management proposal
  2488. mentioned above, the XPG4 version of XTI has been finalized.  It is
  2489. hoped that the XPG5 version of XTI would be aligned with the POSIX
  2490. version.  At the last meeting, POSIX.12 asked X/Open for editorial
  2491. assistance in producing a POSIX version of XTI.  Petr replied that the
  2492. budget did not allow for assistance at this time, but that an on-line
  2493. version of XTI would be made available.
  2494.  
  2495. Paul Rabin met with the PII group to discuss issues surrounding POSIX
  2496. language independent specifications.  The working group currently
  2497. hopes to produce a single language independent specification for DNI;
  2498. there would be two C language bindings, namely sockets and XTI.  This
  2499. should prevent the necessity of providing two interfaces for languages
  2500. other than C, but makes the language independent specification more
  2501. difficult to produce.
  2502.  
  2503. The POSIX.12 group also met with members of the Name Space/Directory
  2504. Services group (POSIX.17) to discuss the DNI dependency on the
  2505. Directory Services interfaces.  There are some problems in this area;
  2506. the NS/DS group currently intends to provide an interface only to the
  2507. X.500 directory service, while the PII group assumes an interface that
  2508. could include other services such as the Internet Domain Name System.
  2509. The NS/DS group intends to provide a full-featured low-level interface
  2510. to the directory service based on the X/Open X.500 API.  However, they
  2511. also plan to include simplified higher-level interfaces to answer
  2512. needs such as this one.
  2513.  
  2514. The final coordination meetings were with members of the Real-Time
  2515. group.  The current Real-Time draft includes an interprocess
  2516. communication (IPC) facility that many believe is too complex and does
  2517. not extend gracefully to handle networked systems.  Many hoped that
  2518. the IPC interface could be replaced by the 1003.12 interface, with
  2519. real-time extensions as necessary.  A group is working on a straw-man
  2520. proposal in time for the July meeting.
  2521.  
  2522.  
  2523. Volume-Number: Volume 24, Number 26
  2524.  
  2525. From std-unix-request@uunet.UU.NET  Fri Jun 28 01:49:02 1991
  2526. Received: from relay1.UU.NET by uunet.UU.NET with SMTP 
  2527.     (5.61/UUNET-uucp-primary) id AA07355; Fri, 28 Jun 91 01:49:02 -0400
  2528. Received: from kithrup.com by relay1.UU.NET with SMTP 
  2529.     (5.61/UUNET-internet-primary) id AA14738; Fri, 28 Jun 91 01:48:30 -0400
  2530. Newsgroups: comp.std.unix
  2531. From: Martin Kirk <martin@xopen.co.uk>
  2532. Subject: Re: P1003.7 comments
  2533. Message-Id: <1991Jun28.054006.28926@uunet.uu.net>
  2534. Originator: sef@uunet.UU.NET
  2535. Nntp-Posting-Host: uunet.uu.net
  2536. X-Submissions: std-unix@uunet.uu.net
  2537. Organization: X/Open Company Ltd
  2538. Date: Thu, 27 Jun 1991 13:45:13 GMT
  2539. Reply-To: std-unix@uunet.UU.NET
  2540. To: std-unix@uunet.UU.NET
  2541. Sender: Network News <news@kithrup.com>
  2542. Source-Info:  From (or Sender) name not authenticated.
  2543.  
  2544. Submitted-by: martin@xopen.co.uk (Martin Kirk)
  2545.  
  2546. Henry Spencer (henry@zoo.toronto.edu) writes
  2547.  
  2548. > Why does it worry me that this list of related organizations does not
  2549. > mention the IETF and the SNMP/MIB work -- the network-management
  2550. > protocols and facilities that are in far wider use than any of the
  2551. > above, with a far greater level of demonstrated interoperability.
  2552.  
  2553. and Randall Atkinson (randall@Virginia.EDU) writes
  2554.  
  2555. >  Judging from comments below, they are still ignoring existing
  2556. > practice in historical UNIX-derived systems in some cases.  
  2557. > If true, this is A Bad Thing.
  2558.  
  2559. The intent was to convey the opposite impression. I think that
  2560. wherever possible the work will reflect existing practise.
  2561.  
  2562. > >Part of the motivation for this decision was recognition that the
  2563. > >problem space is vast and that trying to attack it over too large a
  2564. > >front was a suicidal manoeuvre.  There was also an increased awareness
  2565. > >of the related work of other organizations, such as the OSI Network
  2566. > >Management Forum, the OSI Implementer's Workshop Network Management
  2567. > >SIG, and X/Open.  As this other work comes to fruition, it will be
  2568. > >available for use by POSIX.7 and will likely solve some of the
  2569. > >thornier problems, such as interoperability.
  2570.  
  2571. >   One would certainly hope that they are also tracking and taking
  2572. > advantage of the good sized installed base that is already using SNMP
  2573. > regularly.  With the draft security extensions now published by the
  2574. > IETF, SNMP has a good body of real-world experience.  It would be best
  2575. > if the POSIX.7 group tried to use that leverage to devise a good
  2576. > standard.  This isn't an OSI vs. TCP/IP thing; they should take
  2577. > advantage of the experience of both groups.
  2578.  
  2579. The list wasn't intended to be exhaustive or exclusive. The issue here
  2580. is that P1003.7 is explicitly avoiding interoperability mechanisms at
  2581. the moment. Nothing in the current P1003.7 work should preclude the
  2582. use of OSI, TCP/IP, RPC, or a piece of wet string to achieve
  2583. interoperability. Of course, some care needs to be taken to ensure that
  2584. this actually is the case... At some point it will be necessary to
  2585. prduce some specification of specific interoperability mechanisms,
  2586. (presumably in the form of profiles), and at that time these should be
  2587. taken from existing practice.
  2588.  
  2589. >   While network management is becoming better understood, it isn't
  2590. > entirely a solved problem yet and I hope the POSIX.7 folks will be
  2591. > careful in what they choose to standardise.
  2592.  
  2593. The general model of using managed objects for management seems to
  2594. work. I personally suspect that as it has really only been used in a
  2595. network management environment there will probably be a need for
  2596. extensions to bring it into the systems management arena.
  2597.  
  2598. > >  An obvious source of candidate management tasks can be found in the
  2599. > > existing administrative command set on the systems around us, and it
  2600. > > would be a perverse decision indeed to introduce gratuitous changes to
  2601. > > the style of that interface.  
  2602.  
  2603. > Not only the style but also the content.  Standardise what already
  2604. > is historical practice and try to avoid inventing new features
  2605. > without actual implementation and user experience.
  2606.  
  2607. I agree. Both the form and the function should be preserved wherever
  2608. possible.
  2609.  
  2610. > >The Print Management work is based on the MIT Palladium printing 
  2611. > >system, which has the benefit of being well-aligned with the emerging 
  2612. > >ISO distributed printing standard, DIS 10164.  
  2613.  
  2614. > Palladium reportedly has an interface unlike those on historical
  2615. > systems.  I'd much rather see lp/lpr and lprm/lpstat be standardised
  2616. > as user interfaces than something unfamiliar to virtually all of
  2617. > the existing users.
  2618.  
  2619. I understanding that a mapping of lp/lpr and lprm/lpstat into
  2620. Palladium has been defined. This may be useful in providing for
  2621. transition/compatibility/subsetting.
  2622.  
  2623. > >Software Management has enjoyed a resurgence of interest within 
  2624. > >POSIX.7 over the last 6 months, with source material being drawn from 
  2625. > >DEC, HP, AT&T and Siemens-Nixdorf.
  2626.  
  2627. > But is it based on historical systems ?  
  2628. > What kinds of tools are being standardised here ?
  2629.  
  2630. Software installation and removal etc. The submisssions are based on
  2631. existing vendors tools in this area.
  2632.  
  2633. > >The third area, User Environment Management is a logical candidate for
  2634. > >inclusion in the initial set of sub-projects.  
  2635.  
  2636. > What is being managed here besides user-addition ?  
  2637. > Could someone give examples maybe ?
  2638.  
  2639. Addition/Deletion/Modification of users and groups. There is an
  2640. interesting question here as to what the "user environment" should
  2641. contain - skeleton startup files, certain environment variables, etc.
  2642. The rationale for doing this first is that many other things that are
  2643. managed have relationships to users, making this a common dependency
  2644. for manyother areas. Also, for some reason, adding a user seems to be
  2645. the universal example used in system management discussions.
  2646.  
  2647. ======================================================================
  2648. The opinions expressed above are not necessarily those of anything or
  2649. any one except me.
  2650. ======================================================================
  2651.  
  2652. Martin Kirk    m.kirk@xopen.co.uk        Tel: +44 734 508311
  2653.  
  2654. ======================================================================
  2655.  
  2656.  
  2657. Volume-Number: Volume 24, Number 27
  2658.  
  2659. From std-unix-request@uunet.UU.NET  Fri Jun 28 05:49:12 1991
  2660. Received: from relay1.UU.NET by uunet.UU.NET with SMTP 
  2661.     (5.61/UUNET-uucp-primary) id AA06576; Fri, 28 Jun 91 05:49:12 -0400
  2662. Received: from kithrup.com by relay1.UU.NET with SMTP 
  2663.     (5.61/UUNET-internet-primary) id AA08911; Fri, 28 Jun 91 05:48:42 -0400
  2664. Newsgroups: comp.std.unix
  2665. From: Chris Harding <cjh@datlog.co.uk>
  2666. Subject: POSIX.17
  2667. Message-Id: <1991Jun28.093741.7097@uunet.uu.net>
  2668. Originator: sef@uunet.UU.NET
  2669. Nntp-Posting-Host: uunet.uu.net
  2670. X-Submissions: std-unix@uunet.uu.net
  2671. Organization: Data Logic, Harrow England
  2672. Date: Fri, 28 Jun 1991 07:48:41 GMT
  2673. Reply-To: std-unix@uunet.UU.NET
  2674. To: std-unix@uunet.UU.NET
  2675. Sender: Network News <news@kithrup.com>
  2676. Source-Info:  From (or Sender) name not authenticated.
  2677.  
  2678. Submitted-by: cjh@datlog.co.uk (Chris Harding)
  2679.  
  2680. I participate in the POSIX .17 work as technical editor and previously
  2681. participated in the production of the base document from which the 
  2682. POSIX standard is being derived. I am concerned that some of the comments
  2683. which I understand Scott Guthery recently posted to comp.stds.unix may 
  2684. give the wrong idea of what is going on and would like to set the record 
  2685. straight.
  2686.  
  2687. Scott seems to have two objections:
  2688.     
  2689.     1)  that the "object management" mechanism used by the emerging P1003.17
  2690.     and P1224 standards is extensible by vendors but not by users
  2691.  
  2692.     2)  that these standards do not effectively constrain the vendor, so 
  2693.     that the user must "impedence match" between different (but
  2694.     still compliant) implementations.
  2695.  
  2696. Although the first of these objections is untrue as stated, there is a 
  2697. valid point behind it. I will come to this later. The second objection,
  2698. however, is not only wrong but is arguing against a feature which, rather 
  2699. than limiting the user, actually makes the API more "open".
  2700.  
  2701. Let me justify this last statement. 
  2702.  
  2703. The movement towards "open" systems arose largely from the desire of users 
  2704. not to be "locked in" to vendors' proprietary implementations. The concept 
  2705. evolved of an "open" system as one in which there was a standard interface 
  2706. to applications programs.  An applications program written to this interface 
  2707. would then be portable between different vendors' systems and the user would 
  2708. no longer be "locked in". 
  2709.  
  2710. But this, the original "open systems" concept, is actually somewhat naive, 
  2711. since it (implicitly) assumes that the user will just buy one system and 
  2712. write one application program to run on it. What he really wants to do is 
  2713. to buy several different systems and also buy - from several different
  2714. vendors - several different software packages to run on them. The concept 
  2715. of "open" system must be expanded to address these needs.
  2716.  
  2717. The "object management" mechanism used by P1003.17 and P1224 
  2718. (it isn't really anything to do with Object Management in the sense of
  2719. Smalltalk etc. and use of the phrase is a bit confusing) provides a 
  2720. standard representation of information that can be used by different 
  2721. software packages running on the same system. It also allows for the fact 
  2722. that different implementations may include different options from the
  2723. same standard (and how many standards are there that don't have any
  2724. options?) and for the fact that a software package may be released in
  2725. several versions, each with different features (and how many software
  2726. packages are there that don't have several versions? - only the 
  2727. unsuccessful ones where nobody bought the first version). In fact, it
  2728. really addresses the issues that arise when trying to run different 
  2729. software packages (possibly from different vendors) on a single system. 
  2730.  
  2731. It is in this sense that the emerging P1003.17 and P1224 standards are
  2732. more "open" than most "open systems" standards and, far from limiting
  2733. the users, are really giving users much more freedom of choice.
  2734.  
  2735. Although they provide this extra flexibility, it is not true to say
  2736. that the emerging P1003.17 and P1224 standards fail to constrain the
  2737. implementation properly. They define behaviour on which the application 
  2738. can rely. They force the implementation, where it provides a feature, to
  2739. provide it in an exactly and unequivocally specified way. In short,
  2740. they do constrain the implementation in the way that standards should.
  2741.  
  2742. Coming back to the first objection, the point at issue is, who can extend
  2743. the classes of object used by P1003.17 and P1224? The answer is, and
  2744. sensibly can only be, that the standards bodies responsible for defining
  2745. P1003.17 and P1224 are the only people who can extend them in a way that
  2746. is binding on the whole community of vendors and users. 
  2747.  
  2748. Having said this, either a vendor or a user may also extend these classes 
  2749. to describe a proprietary feature (in the case of a vendor) or a specific 
  2750. requirement (in the case of a user). It is true that vendors are more 
  2751. likely than users to make such extensions but there is nothing in the 
  2752. methodology that would prevent a user from doing so. So (for example) the 
  2753. Military might introduce some new classes of object if it wished to define 
  2754. a special version of the X.400 API for Military use. 
  2755.  
  2756. The valid point behind the objection is that the "object management" 
  2757. methodology used by P1003.17 and P1224 does not have a "class" concept
  2758. with the properties of extensibility enjoyed by the "class" concepts
  2759. of Smalltalk and some other languages. This is a fair criticism.
  2760. However, the methodology does have (as I have tried to show above) 
  2761. other properties which Smalltalk classes do not have and which are 
  2762. far more valuable in the context of the sophisticated "open-ness" 
  2763. requirements with which we now have to deal. Although it is an elegant
  2764. feature, a real need for "extensibility" has yet to be demonstrated.
  2765. Let's get the "open-ness" requirements sorted out first. 
  2766. Perhaps "extensibility" can be added later.
  2767.  
  2768. Regards,
  2769.  
  2770. Chris
  2771. -------------------------------------------------------------------------
  2772. Chris Harding                   Tel:                +44 81 863 0383
  2773. Data Logic                      Fax:                +44 81 861 2010
  2774. Queens House                    Telex:              888103
  2775. Greenhill Way                   APIA SprintMail:    C.HARDING 
  2776. HARROW HA1 1YR                  X/Open E-mail:      c.harding@xopen.co.uk
  2777. U.K.                            Other E-mail:       cjh@datlog.co.uk
  2778.  
  2779.  
  2780. Volume-Number: Volume 24, Number 28
  2781.  
  2782. From std-unix-request@uunet.UU.NET  Fri Jun 28 05:49:34 1991
  2783. Received: from relay1.UU.NET by uunet.UU.NET with SMTP 
  2784.     (5.61/UUNET-uucp-primary) id AA06599; Fri, 28 Jun 91 05:49:34 -0400
  2785. Received: from kithrup.com by relay1.UU.NET with SMTP 
  2786.     (5.61/UUNET-internet-primary) id AA08919; Fri, 28 Jun 91 05:48:54 -0400
  2787. Newsgroups: comp.std.unix
  2788. From: Peter Collinson <pc@hillside.co.uk>
  2789. Subject: Report on 1003.6: Security Extensions
  2790. Message-Id: <1991Jun28.093940.7185@uunet.uu.net>
  2791. Originator: sef@uunet.UU.NET
  2792. Nntp-Posting-Host: uunet.uu.net
  2793. X-Submissions: std-unix@uunet.uu.net
  2794. Organization: Hillside Systems, 61 Hillside Avenue, Canterbury, Kent CT2 8HA
  2795. Date: Fri, 28 Jun 1991 08:12:43 GMT
  2796. Reply-To: std-unix@uunet.UU.NET
  2797. To: std-unix@uunet.UU.NET
  2798. Sender: Network News <news@kithrup.com>
  2799. Source-Info:  From (or Sender) name not authenticated.
  2800.  
  2801. Submitted-by: pc@hillside.co.uk (Peter Collinson)
  2802.  
  2803. USENIX Standards Watchdog Committee
  2804. Stephen R. Walli <stephe@usenix.org>, Report Editor
  2805. Report on POSIX.6: Security Extensions
  2806.  
  2807.  
  2808. Ana Maria De Alvare <anamaria@sgi.COM> reports on the April
  2809. 15-19, 1991 meeting in Chicago, IL:
  2810.  
  2811. Summary
  2812.  
  2813. The POSIX.6 group spent the week preparing draft 11 of their document
  2814. for internal ``mock'' ballot. They began work on their test assertions
  2815. document. The IEEE balloting group formation process is now officially
  2816. closed.
  2817.  
  2818. The Privilege subgroup discussed a proposal to remove the global
  2819. constant POSIX_PRIV_EFFECTIVE from the draft. The Audit subgroup will
  2820. not be able to address the portable audit format before balloting
  2821. begins, but they will define the audit trail header. The liaison group
  2822. between POSIX.6, POSIX.7 (System Administration) and the Distributed
  2823. Services groups will report back to the TCOS-SS Sponsor Executive
  2824. Committee (SEC) at the July meeting, recommending a new coordination
  2825. group be formed.
  2826.  
  2827. Report
  2828.  
  2829. The POSIX.6 group met for the entire week in Chicago. The group
  2830. concentrated their efforts on cleaning up draft 10 of the document.
  2831. The balloting solicitation process has been closed.  If you requested
  2832. to be in the balloting group, please confirm you are on the list by
  2833. calling the IEEE, Anna Kacznarek (908-562-3811).
  2834.  
  2835. A major action item was the creation of the test assertions document
  2836. for POSIX.6.  This will be a separate parallel document.  The
  2837. definitions and overview sections of POSIX.6 were addressed this
  2838. week.  Each subgroup will be responsible for creating the test
  2839. assertions for the document sections they are working on.  The
  2840. subgroups will maintain consistency between the test assertions and
  2841. the POSIX.6 document.  Modifications to the POSIX.6 document will
  2842. signal modifications to the test assertion document.
  2843.  
  2844. In the next meeting we are planning to integrate test assertion
  2845. sections from POSIX.3.1 (Test Assertions for POSIX.1) into our
  2846. document.  Dave Rogers (Data Logic) and I are co-chairing this
  2847. effort.  If you are interested in participating in the test assertion
  2848. work, please let me know (anamaria@sgi.com or 415-335-7309).
  2849.  
  2850. POSIX.6 will mock ballot draft 11 within the working group before
  2851. July.  We plan to review written comments to this mock ballot at the
  2852. July meeting.  If all the written comments are addressed, we will try
  2853. to ship the document for IEEE ballot after July.  We could then start
  2854. resolving the ballot objections at the October meeting.
  2855.  
  2856. Privileges
  2857.  
  2858. Secureware's VP of Marketing proposed eliminating from the standard
  2859. the system global constant, POSIX_PRIV_EFFECTIVE, which turns on/off
  2860. all the privileges already set by the process or set by the file
  2861. privileges in effect.  The system global constant can increase or
  2862. decrease the effective privilege set.
  2863.  
  2864. The argument against the system global constant was that when
  2865. POSIX_PRIV_EFFECTIVE is on, a privilege aware program (i.e. a trusted
  2866. application) will have effective privileges on before it uses them.
  2867. This violates the concept of least privilege, since the process
  2868. contains more privileges than it needs.  It is the responsibility of
  2869. that trusted application to turn off all effective privileges and then
  2870. turn them on one by one as it needs them.
  2871.  
  2872. Another argument against the global constant is that it gives the
  2873. system manager a central point to turn on/off privileges.  With the
  2874. new scheme, programs that turn ``priv_effective'' on are consciously
  2875. given permission to do so, a point that brings higher granularity.
  2876.  
  2877. A vote was taken and the group decided to eliminate the system global
  2878. constant, POSIX_PRIV_EFFECTIVE and use ``priv_effective'' as an
  2879. additional file privilege.  The standard now contains three privilege
  2880. sets associated with a process, (inheritable, permitted, effective)
  2881. and two privilege flags (``allowed'' and ``forced'') associated with
  2882. each privilege on a file. The two file privilege flags are:
  2883.  
  2884.    - Allowed - a flag associated with a file privilege that will
  2885.      authorize it to be on during the execution of that program, if
  2886.      the process possesses that privilege.
  2887.  
  2888.    - Forced - a flag associated with a file privilege that will be on
  2889.      during the execution of that program even if the process does not
  2890.      possess that privilege.  This allows for old setuid programs to
  2891.      continue to work under POSIX.6 without source code modifications.
  2892.  
  2893. The new file privilege ``priv_effective'' will turn on the process's
  2894. effective privilege set.  If your file has ``priv_effective', your
  2895. file makes effective all of the privileges that are on after
  2896. calculating ``allowed'' and ``forced'' flags against the process's
  2897. inheritable flags.
  2898.  
  2899. A process possesses three sets of privilege flags:  inheritable,
  2900. permitted, and effective.  For a process to access a file, the
  2901. process's effective privilege set (built from its inherited and
  2902. permitted sets) is tested against the file's privilege set. To be able
  2903. to pass a privilege from the inheritable set (from its parent
  2904. process), to the permitted set, the system will test the process's
  2905. inheritable privilege against the file's ``allowed'' and ``forced''
  2906. flags for that privilege.  If the file privilege's ``allowed'' flag is
  2907. set, then the privilege is turned on in the process's permitted set.
  2908. If the file privilege's ``forced'' flag is set, then the privilege is
  2909. turned on in the process's permitted set even if the privilege was not
  2910. inherited.
  2911.  
  2912. To be on in the process's effective set, the system compares the
  2913. inheritable privilege against the file's ``allowed'', and ``forced''
  2914. flags. If the process's inherited privilege is in the file's
  2915. ``allowed'' set and the file's ``priv_effective'' privilege is set,
  2916. then the privilege becomes effective.  If the process's inherited
  2917. privilege is in the file's ``forced'' set and the file's
  2918. ``priv_effective'' privilege is set, then the privilege becomes
  2919. effective.  In other words, to be set effective the file's
  2920. ``priv_effective'' flag must be on.
  2921.  
  2922. Some of you might think that this scheme still gives me a trusted
  2923. application with effective privileges turned on.  The list of programs
  2924. with privileges turned on, however, is smaller than using the system
  2925. global constant.  In addition the effective privilege set is not on
  2926. for all processes.
  2927.  
  2928. All of this can become very confusing.  Sometimes I have trouble
  2929. understanding all of the benefits.  Every time I read the document new
  2930. questions come to mind.  Sometimes I agree and other times I don't.
  2931. Hopefully the mock ballot will call attention to any ambiguous areas
  2932. left in the draft document.
  2933.  
  2934. Access Controls
  2935.  
  2936. Both the discretionary and mandatory access control subgroups (DAC and
  2937. MAC) are ready for our internal mock ballot. The primary DAC related
  2938. changes for draft 10 concerned default access control list (ACL)
  2939. behaviour and the command 
  2940.     chacl
  2941. which changes the ACL.  The MAC group had no hot issues to discuss.
  2942.  
  2943.  
  2944. 1.  Audit
  2945.  
  2946. The Audit group finished modifying the draft and writing the rationale
  2947. for integrity protection, header flexibility, and cross references.
  2948. The group felt they cannot address the portable audit format before
  2949. balloting, however, they are planning to define the audit trail header
  2950. containing:
  2951.  
  2952.    - POSIX audit indicator field,
  2953.  
  2954.    - version ID,
  2955.  
  2956.    - data format indicator (type XDR, little endian, big
  2957.      endian),
  2958.  
  2959.    - time zone offset,
  2960.  
  2961.    - machine id, and
  2962.  
  2963.    - audit style.
  2964. The audit file format remains up in the air.
  2965.  
  2966. POSIX.6/POSIX.7/Distributed Services Liaison
  2967.  
  2968. The liaison group met on Wednesday.  Mike Ressler stepped down and I
  2969. became the chair of the group.  We discussed the status of the group
  2970. and what we should bring forward to the TCOS-SS Sponsor Executive
  2971. Committee (SEC). Everyone agreed that we have enough information to
  2972. create a report to the SEC discussing the problems we discovered and
  2973. to make recommendations.
  2974.  
  2975. I will present our report at the July meeting with the help of the
  2976. liaison group.  The report will include an overview of each subgroups
  2977. objectives, a list of problem areas discovered during our meetings,
  2978. and recommendations to solve these problems.  I hope that SEC acts
  2979. upon our recommendations.
  2980.  
  2981. One recommendation we want immediate action on is the lack of a
  2982. mechanism to ensure that one POSIX extension can interoperate with
  2983. another POSIX extension.  An example of this interoperability issue is
  2984. having POSIX.6 and POSIX.8 (Transparent File Access) on the same
  2985. system.  We are proposing a new group be formed which will check that
  2986. POSIX standards interoperate with each other or to at least document
  2987. where different POSIX extensions cannot interoperate.
  2988.  
  2989.  
  2990. Volume-Number: Volume 24, Number 29
  2991.  
  2992. From std-unix-request@uunet.UU.NET  Fri Jun 28 15:33:46 1991
  2993. Received: from relay1.UU.NET by uunet.UU.NET with SMTP 
  2994.     (5.61/UUNET-uucp-primary) id AA13215; Fri, 28 Jun 91 15:33:46 -0400
  2995. Received: from kithrup.com by relay1.UU.NET with SMTP 
  2996.     (5.61/UUNET-internet-primary) id AA20788; Fri, 28 Jun 91 15:33:39 -0400
  2997. Newsgroups: comp.std.unix
  2998. From: "Jerry M. Carlin" <jmcarli@ns.pacbell.com>
  2999. Subject: Re: Report on 1003.6: Security Extensions
  3000. Message-Id: <1991Jun28.192719.17816@uunet.uu.net>
  3001. Originator: sef@uunet.UU.NET
  3002. Nntp-Posting-Host: uunet.uu.net
  3003. X-Submissions: std-unix@uunet.uu.net
  3004. Organization: Pacific * Bell
  3005. References: <1991Jun28.093940.7185@uunet.uu.net>
  3006. Date: Fri, 28 Jun 1991 15:52:49 GMT
  3007. Reply-To: std-unix@uunet.UU.NET
  3008. To: std-unix@uunet.UU.NET
  3009. Sender: Network News <news@kithrup.com>
  3010. Source-Info:  From (or Sender) name not authenticated.
  3011.  
  3012. Submitted-by: jmcarli@ns.PacBell.COM (Jerry M. Carlin)
  3013.  
  3014. The BIG problem I see with 1003.6 is lack of I&A; identification and
  3015. authentication. What has been lacking for a LONG time is decent login.c,
  3016. passwd.c etc functionality including ability to develop local rules
  3017. passwords. We've seen a number of reimplementations of these functions
  3018. on the net precisely because the current ones are so bad & inconsistant.
  3019.  
  3020. The group has worked very hard on things that I see as having little if
  3021. any commercial usefulness such as MAC. I suppose MAC will be useful to
  3022. sell to the government but MAC is not useful to the world of applicatons,
  3023. transactions and databases.
  3024.  
  3025. This is like building a vault but putting no lock on the door or at least
  3026. leaving it to someone else to worry about the lock.
  3027.  
  3028. I'm not sure if P1003.6 committee is coming up with a horse, camel or
  3029. genetic combination but it sure has no head!
  3030. --
  3031. Jerry M. Carlin    (415) 823-2441 jmcarli@srv.pacbell.com
  3032. To dream the impossible dream. To fight the unbeatable foe.
  3033.  
  3034.  
  3035. Volume-Number: Volume 24, Number 30
  3036.  
  3037. From std-unix-request@uunet.UU.NET  Sat Jun 29 04:04:08 1991
  3038. Received: from relay1.UU.NET by uunet.UU.NET with SMTP 
  3039.     (5.61/UUNET-uucp-primary) id AA25522; Sat, 29 Jun 91 04:04:08 -0400
  3040. Received: from kithrup.com by relay1.UU.NET with SMTP 
  3041.     (5.61/UUNET-internet-primary) id AA03238; Sat, 29 Jun 91 04:03:51 -0400
  3042. Newsgroups: comp.std.unix
  3043. From: Dan Bernstein <brnstnd@kramden.acf.nyu.edu>
  3044. Subject: Re: Report on 1003.12: Protocol Independent Interfaces
  3045. Message-Id: <1991Jun29.074743.17652@uunet.uu.net>
  3046. Originator: sef@uunet.UU.NET
  3047. Nntp-Posting-Host: uunet.uu.net
  3048. X-Submissions: std-unix@uunet.uu.net
  3049. Organization: IR
  3050. References: <1991Jun27.024928.6997@uunet.uu.net>
  3051. Date: Sat, 29 Jun 1991 03:34:15 GMT
  3052. Reply-To: std-unix@uunet.UU.NET
  3053. To: std-unix@uunet.UU.NET
  3054. Sender: Network News <news@kithrup.com>
  3055. Source-Info:  From (or Sender) name not authenticated.
  3056.  
  3057. Submitted-by: brnstnd@KRAMDEN.ACF.NYU.EDU (Dan Bernstein)
  3058.  
  3059. People interested in protocol-independent interfaces may also be
  3060. interested in UCSPI (ooks-pie), my UNIX Client-Server Program Interface
  3061. Standard. It's not a standard, of course, until enough people decide
  3062. it's worth using, but it does have implementations for BSD TCP sockets
  3063. (with optional RFC 931 support), BSD UNIX-domain sockets (with username
  3064. security), and System V named pipes (also with username security), and
  3065. I'm working on DECnet and Kerberos v5 implementations. Programs written
  3066. for the UCSPI interface will work properly, with no changes, over all of
  3067. the above communications systems.
  3068.  
  3069. Note that the UCSPI interface is much simpler than what I gather POSIX
  3070. is looking at standardizing. Basically, you get two file descriptors for
  3071. reading and writing to the other side, a protocol-independent record of
  3072. who the other side is, and a variable saying what protocol you're using.
  3073. It doesn't support any sort of structured data, because that wouldn't be
  3074. portable---you can't pass structured data through named pipes. Another
  3075. benefit to this hands-off philosophy is that you can use UCSPI from
  3076. shell scripts. On the other hand, if you do want to control the
  3077. communication at a low level, you can apply protocol-dependent
  3078. operations to the descriptors.
  3079.  
  3080. If UCSPI gains enough momentum, it might be worth making into an
  3081. official standard in a few years. Until then, I wonder why POSIX.12 is
  3082. trying to impose ``standards'' on an area where the real world has seen
  3083. neither successes nor failures. Where are the bad protocol-independent
  3084. interfaces in the history books? What do we know about putting good ones
  3085. together? Where are all the vendors supporting a protocol-independent
  3086. interface? In other words, how does POSIX.12 know it's not going to
  3087. settle on a ``standard'' which forever stands in the way of interface
  3088. research?
  3089.  
  3090. If POSIX.12 merely produces a formal specification of how Berkeley and
  3091. AT&T already do sockets, then the answer is clear: the industry has come
  3092. to a consensus on sockets, people use sockets, and nothing's lost by
  3093. stating the obvious. But sockets are not truly protocol-independent, and
  3094. from the report I gather that the group aims to create a much more
  3095. comprehensive interface. What, pray tell, are they basing their work on?
  3096.  
  3097. Anyway, I just posted my clientserver package, including UCSPI-91, to
  3098. alt.sources. You can also get it from stealth.acf.nyu.edu in
  3099. pub/hier/clientserver/*. Please send any comments (or implementations on
  3100. top of different protocols) to me at brnstnd@nyu.edu.
  3101.  
  3102. ---Dan
  3103.  
  3104. [ I posted this because it contains not only an objection to a POSIX 
  3105. document, but a codified alternative.  However, it was iffy; any followups
  3106. more concerned with the code than with standards should to go alt.sources.d.
  3107. Thanks -- mod ]
  3108.  
  3109. Volume-Number: Volume 24, Number 31
  3110.  
  3111. From std-unix-request@uunet.UU.NET  Tue Jul  2 18:50:44 1991
  3112. Received: from relay1.UU.NET by uunet.UU.NET with SMTP 
  3113.     (5.61/UUNET-uucp-primary) id AA15215; Tue, 2 Jul 91 18:50:44 -0400
  3114. Received: from kithrup.com by relay1.UU.NET with SMTP 
  3115.     (5.61/UUNET-internet-primary) id AA28222; Tue, 2 Jul 91 18:50:35 -0400
  3116. Newsgroups: comp.std.unix
  3117. From: Peter da Silva <peter@sugar.neosoft.com>
  3118. Subject: Re: Report on 1003.6: Security Extensions
  3119. Message-Id: <1991Jul2.224427.784@uunet.uu.net>
  3120. Originator: sef@uunet.UU.NET
  3121. Nntp-Posting-Host: uunet.uu.net
  3122. X-Submissions: std-unix@uunet.uu.net
  3123. Organization: Sugar Land Unix -- Houston, TX
  3124. References: <1991Jun28.093940.7185@uunet.uu.net> <1991Jun28.192719.17816@uunet.uu.net>
  3125. Date: Sun, 30 Jun 1991 02:09:29 GMT
  3126. Reply-To: std-unix@uunet.UU.NET
  3127. To: std-unix@uunet.UU.NET
  3128. Sender: Network News <news@kithrup.com>
  3129. Source-Info:  From (or Sender) name not authenticated.
  3130.  
  3131. Submitted-by: peter@Sugar.NeoSoft.com (Peter da Silva)
  3132.  
  3133. In article <1991Jun28.192719.17816@uunet.uu.net> jmcarli@ns.PacBell.COM (Jerry M. Carlin) writes:
  3134. > The BIG problem I see with 1003.6 is lack of I&A; identification and
  3135. > authentication. What has been lacking for a LONG time is decent login.c,
  3136. > passwd.c etc functionality including ability to develop local rules
  3137. > passwords. We've seen a number of reimplementations of these functions
  3138. > on the net precisely because the current ones are so bad & inconsistant.
  3139.  
  3140. Yes. We need to be able to do the following things:
  3141.  
  3142.     Allow or deny access on a per-port or per account basis (for example,
  3143.         disable ttyM025 and user3... we have this, but it's not
  3144.         very clean and quite inconsistent for the per-port stuff).
  3145.     Allow or deny access on a scheduled basis (only allow backup to log
  3146.         in from 2AM through 10AM, all others are kept off from 2AM
  3147.         through 6AM).
  3148.     Allow or deny access to port/account combinations (for example,
  3149.         ttyM020 only allows user1 and user2 on, all others get
  3150.         "permission denied", root and backup can only log in to
  3151.         console or ttyf01, and "telnet" can't log in on any network
  3152.         ports).
  3153.     And other combinations (allow user1 on ttyM020 from 5PM through 8AM
  3154.         and all day weekends).
  3155. -- 
  3156. Peter da Silva.   `-_-'   <peter@sugar.neosoft.com>.
  3157.                    'U`    "Have you hugged your wolf today?"
  3158.  
  3159.  
  3160. Volume-Number: Volume 24, Number 32
  3161.  
  3162. From std-unix-request@uunet.UU.NET  Tue Jul  2 18:50:50 1991
  3163. Received: from relay1.UU.NET by uunet.UU.NET with SMTP 
  3164.     (5.61/UUNET-uucp-primary) id AA15233; Tue, 2 Jul 91 18:50:50 -0400
  3165. Received: from kithrup.com by relay1.UU.NET with SMTP 
  3166.     (5.61/UUNET-internet-primary) id AA28239; Tue, 2 Jul 91 18:50:47 -0400
  3167. Newsgroups: comp.std.unix
  3168. From: Andrew Hume <andrew@alice.att.com>
  3169. Subject: 1003.1
  3170. Message-Id: <1991Jul2.224518.907@uunet.uu.net>
  3171. Originator: sef@uunet.UU.NET
  3172. Nntp-Posting-Host: uunet.uu.net
  3173. X-Submissions: std-unix@uunet.uu.net
  3174. Organization: AT&T Bell Laboratories, Murray Hill NJ
  3175. Date: Mon, 1 Jul 1991 13:14:53 GMT
  3176. Reply-To: std-unix@uunet.UU.NET
  3177. To: std-unix@uunet.UU.NET
  3178. Sender: Network News <news@kithrup.com>
  3179. Source-Info:  From (or Sender) name not authenticated.
  3180.  
  3181. Submitted-by: andrew@alice.att.com (Andrew Hume)
  3182.  
  3183.     i wanted to get the latest form/version of 1003.1.
  3184. I have the IEEE std 1003.1-1988. I know of ISO 9945-1. Is there
  3185. any other version or form or enhancement to buy?
  3186.  
  3187.     andrew hume
  3188.     andrew@research.att.com
  3189.  
  3190.  
  3191. Volume-Number: Volume 24, Number 33
  3192.  
  3193. From std-unix-request@uunet.UU.NET  Wed Jul  3 15:50:49 1991
  3194. Received: from relay1.UU.NET by uunet.UU.NET with SMTP 
  3195.     (5.61/UUNET-uucp-primary) id AA22456; Wed, 3 Jul 91 15:50:49 -0400
  3196. Received: from kithrup.com by relay1.UU.NET with SMTP 
  3197.     (5.61/UUNET-internet-primary) id AA03852; Wed, 3 Jul 91 15:50:44 -0400
  3198. Newsgroups: comp.std.unix
  3199. From: Andrew Hume <andrew@alice.att.com>
  3200. Subject: electronically available standards (and drafts)
  3201. Message-Id: <1991Jul3.193436.8550@uunet.uu.net>
  3202. Originator: sef@uunet.UU.NET
  3203. Nntp-Posting-Host: uunet.uu.net
  3204. X-Submissions: std-unix@uunet.uu.net
  3205. Organization: AT&T Bell Laboratories, Murray Hill NJ
  3206. Date: Wed, 3 Jul 1991 05:32:55 GMT
  3207. Reply-To: std-unix@uunet.UU.NET
  3208. To: std-unix@uunet.UU.NET
  3209. Sender: Network News <news@kithrup.com>
  3210. Source-Info:  From (or Sender) name not authenticated.
  3211.  
  3212. Submitted-by: andrew@alice.att.com (Andrew Hume)
  3213.  
  3214.     From time to time, people have asked if posix drafts
  3215. were available online. The answer is of course no. (don't ask me why.)
  3216.     Recently I became technical editor for the working paper
  3217. for a file system standard for WORM disks (roughly), done within the
  3218. ANSI X3B11.1 committee. At the request of the committee, our working paper
  3219. is available online in two forms; compressed postscript and plaintext
  3220. (this latter would need a lot of work to format into the former but
  3221. is useful for grep'ping.) The files are available by ftp from
  3222. research.att.com (login as netlib, and cd research/memo).
  3223.     I would recommend others who can to make their working papers
  3224. similiarly available.
  3225.  
  3226.     andrew hume
  3227.  
  3228.  
  3229. Volume-Number: Volume 24, Number 34
  3230.  
  3231. From std-unix-request@uunet.UU.NET  Wed Jul  3 15:50:59 1991
  3232. Received: from relay1.UU.NET by uunet.UU.NET with SMTP 
  3233.     (5.61/UUNET-uucp-primary) id AA22504; Wed, 3 Jul 91 15:50:59 -0400
  3234. Received: from kithrup.com by relay1.UU.NET with SMTP 
  3235.     (5.61/UUNET-internet-primary) id AA03886; Wed, 3 Jul 91 15:50:52 -0400
  3236. Newsgroups: comp.std.unix
  3237. From: Jim Tomlinson <jdt@voodoo.boeing.com>
  3238. Subject: File system/directory structure standards needed
  3239. Message-Id: <1991Jul3.193837.8849@uunet.uu.net>
  3240. Originator: sef@uunet.UU.NET
  3241. Keywords: OSF, Unix International, Posix
  3242. Nntp-Posting-Host: uunet.uu.net
  3243. X-Submissions: std-unix@uunet.uu.net
  3244. Organization: BoGART To You Buddy, Bellevue, WA
  3245. Date: Wed, 3 Jul 1991 16:37:20 GMT
  3246. Reply-To: std-unix@uunet.UU.NET
  3247. To: std-unix@uunet.UU.NET
  3248. Sender: Network News <news@kithrup.com>
  3249. Source-Info:  From (or Sender) name not authenticated.
  3250.  
  3251. Submitted-by: jdt@voodoo.uucp (Jim Tomlinson)
  3252.  
  3253. My organization needs to know (RSN) what, if any, standard file systems
  3254. or directory structures have been dictated or blessed by any of the
  3255. Unix standards organizations.  Where can we find info re: what OSF,
  3256. U.I., Posix, et.al. have to say on the subject?  That is, do any of the
  3257. organizations presuppose the existence of anything beyond '/' and
  3258. '/usr' (or do they even presuppose _those_)?  We're about to have a
  3259. less-than-desirable (to say the least) structure imposed on us from
  3260. above.  We haven't concerned ourselves with this sort of thing up 'til
  3261. now, but them days are gone.  Email if possible, post otherwise.  TIA!
  3262. -- 
  3263. Jim Tomlinson    BoGART Project    Boeing Computer Services    Bellevue, WA
  3264. jdt@voodoo.boeing.com       ...uunet!bcstec!voodoo!jdt        (206)865-6578 
  3265.  "If you don't make mistakes, you aren't really trying." - Coleman Hawkins
  3266.  
  3267. [ Jim is asking about filesystem layout, something which is not really
  3268.   standardized, although there are some de facto standards.  Unfortunately,
  3269.   there are many of them -- mod ]
  3270.  
  3271. Volume-Number: Volume 24, Number 36
  3272.  
  3273. From std-unix-request@uunet.UU.NET  Wed Jul  3 15:51:08 1991
  3274. Received: from relay1.UU.NET by uunet.UU.NET with SMTP 
  3275.     (5.61/UUNET-uucp-primary) id AA22585; Wed, 3 Jul 91 15:51:08 -0400
  3276. Received: from kithrup.com by relay1.UU.NET with SMTP 
  3277.     (5.61/UUNET-internet-primary) id AA03894; Wed, 3 Jul 91 15:50:55 -0400
  3278. Newsgroups: comp.std.unix
  3279. From: Jeremy Epstein <epstein@trwacs.fp.trw.com>
  3280. Subject: Re: Report on 1003.6: Security Extensions
  3281. Message-Id: <1991Jul3.193636.8734@uunet.uu.net>
  3282. Summary: First get 1003.1/2 to adopt I&A
  3283. Originator: sef@uunet.UU.NET
  3284. Nntp-Posting-Host: uunet.uu.net
  3285. X-Submissions: std-unix@uunet.uu.net
  3286. Organization: TRW Systems Division, Fairfax VA
  3287. References: <1991Jun28.093940.7185@uunet.uu.net> <1991Jul2.224427.784@uunet.uu.net> <1991Jul2.224427.784@uunet.uu.net>,
  3288. Date: Wed, 3 Jul 1991 14:05:25 GMT
  3289. Reply-To: std-unix@uunet.UU.NET
  3290. To: std-unix@uunet.UU.NET
  3291. Sender: Network News <news@kithrup.com>
  3292. Source-Info:  From (or Sender) name not authenticated.
  3293.  
  3294. Submitted-by: epstein@trwacs.uucp (Jeremy Epstein)
  3295.  
  3296. In article <1991Jul2.224427.784@uunet.uu.net>, peter@Sugar.NeoSoft.com (Peter da Silva) writes:
  3297. > Submitted-by: peter@Sugar.NeoSoft.com (Peter da Silva)
  3298. > In article <1991Jun28.192719.17816@uunet.uu.net> jmcarli@ns.PacBell.COM (Jerry M. Carlin) writes:
  3299. > > The BIG problem I see with 1003.6 is lack of I&A; identification and
  3300. > > authentication. What has been lacking for a LONG time is decent login.c,
  3301. > > passwd.c etc functionality including ability to develop local rules
  3302. > > passwords. We've seen a number of reimplementations of these functions
  3303. > > on the net precisely because the current ones are so bad & inconsistant.
  3304. > Yes. We need to be able to do the following things:
  3305. >     Allow or deny access on a per-port or per account basis (for example,
  3306. >         disable ttyM025 and user3... we have this, but it's not
  3307. >         very clean and quite inconsistent for the per-port stuff).
  3308. >     Allow or deny access on a scheduled basis (only allow backup to log
  3309. >         in from 2AM through 10AM, all others are kept off from 2AM
  3310. >         through 6AM).
  3311. >     Allow or deny access to port/account combinations (for example,
  3312. >         ttyM020 only allows user1 and user2 on, all others get
  3313. >         "permission denied", root and backup can only log in to
  3314. >         console or ttyf01, and "telnet" can't log in on any network
  3315. >         ports).
  3316. >     And other combinations (allow user1 on ttyM020 from 5PM through 8AM
  3317. >         and all day weekends).
  3318.  
  3319. I'm a member of the 1003.6 working group, but speaking for myself only.
  3320.  
  3321. All of these ideas are good ones, but they miss the point.  1003.6 is
  3322. extending 1003.1 and 1003.2 to add security relevant features.  1003.1
  3323. has no mention of either login or passwd; 1003.2 mentions passwd (although
  3324. I'm not sure that it will make it into the standard), but with many weasel-
  3325. words.  [For example, the passwd command *may* (according to 1003.2) simply
  3326. give you instructions on how to change your password, such as contacting your
  3327. security administrator, getting a brain transplant, or whatever.]
  3328.  
  3329. In the near future we'll see many systems which don't even use passwords
  3330. for authentication (I assume there are already some out there, but I'm
  3331. not sure).  You'll see smart cards, voiceprints, retina scans, fingerprint
  3332. analysis, etc.  It's not a good idea to specify a password-based scheme as
  3333. a standard when technology is already growing beyond that.
  3334.  
  3335. Even if you do accept a password-based scheme, what rules do you want to
  3336. enforce?  Should the standard use the DoD password guidelines (no words,
  3337. randomly chosen pronouncable syllables)?  Password ageing?  There are
  3338. undoubtedly other international standards which may conflict with the DoD
  3339. guidelines.
  3340.  
  3341. Having said all that, once there is some agreement on a meta-mechanism for
  3342. authenticating users I think it's entirely reasonable to define a mechanism
  3343. for rules.  What Peter da Silva suggests are some good ones, but there's
  3344. much more...for example, you might be allowed or denied access based on the
  3345. results of a breathalyzer (sp?) attached to the side of the system (i.e.,
  3346. if you're drunk, no playing footside with top secret information).  There's
  3347. more than simple yes/no decisions that Peter suggests: depending on the time
  3348. of day, day of the week, login terminal, etc., you may have different
  3349. privileges available to you, be audited differently, have different clearances
  3350. available (you may only be able to access "unclassified" data from ttya,
  3351. but "secret" from ttyb), etc.
  3352.  
  3353. Incidentally, 1003.1 has no notion of what a "user" is, which means breaking
  3354. major new ground for any such extensions.
  3355.  
  3356. 1003.6 will be going to ballot soon (I hope!) with the current proposed
  3357. standard.  I assume that we'll then put in another request to pursue additional
  3358. areas of security standardization, possibly including some of the topics
  3359. discussed by Peter and Jerry Carlin.
  3360.  
  3361. Again, I speak only for myself, and not for 1003.6 or my employer.
  3362. -- 
  3363. Jeremy Epstein            UUCP: uunet!trwacs!epstein
  3364. Trusted X Research Group    Internet: epstein@trwacs.fp.trw.com
  3365. TRW Systems Division        Voice: +1 703/876-8776
  3366. Fairfax Virginia
  3367.  
  3368.  
  3369. Volume-Number: Volume 24, Number 35
  3370.  
  3371. From std-unix-request@uunet.UU.NET  Thu Jul  4 19:51:08 1991
  3372. Received: from relay1.UU.NET by uunet.UU.NET with SMTP 
  3373.     (5.61/UUNET-uucp-primary) id AA15666; Thu, 4 Jul 91 19:51:08 -0400
  3374. Received: from kithrup.com by relay1.UU.NET with SMTP 
  3375.     (5.61/UUNET-internet-primary) id AA28571; Thu, 4 Jul 91 19:51:00 -0400
  3376. Xref: kithrup comp.std.unix:253 comp.org.ieee:212
  3377. Newsgroups: comp.std.unix,comp.org.ieee
  3378. From: "Vladimir G. Ivanovic" <vladimir@eng.sun.com>
  3379. Subject: Re: electronically available standards (and drafts)
  3380. Message-Id: <1991Jul4.234648.28894@uunet.uu.net>
  3381. Followup-To: comp.org.ieee
  3382. Originator: sef@uunet.UU.NET
  3383. Nntp-Posting-Host: uunet.uu.net
  3384. X-Submissions: std-unix@uunet.uu.net
  3385. Organization: Sun Microsystems, Inc.
  3386. References: <1991Jul3.193436.8550@uunet.uu.net>
  3387. Date: Thu, 4 Jul 1991 04:55:45 GMT
  3388. Reply-To: std-unix@uunet.UU.NET
  3389. To: std-unix@uunet.UU.NET
  3390. Sender: Network News <news@kithrup.com>
  3391. Source-Info:  From (or Sender) name not authenticated.
  3392.  
  3393. Submitted-by: vladimir@Eng.Sun.COM (Vladimir G. Ivanovic)
  3394.  
  3395. In article <1991Jul3.193436.8550@uunet.uu.net> andrew@alice.att.com (Andrew Hume) writes:
  3396.        From time to time, people have asked if posix drafts
  3397.    were available online. The answer is of course no. (don't ask me why.)
  3398.  
  3399. The reasons I've heard are (1) IEEE loses revenue and (2) how can one be sure
  3400. that the standard hasn't been altered.
  3401.  
  3402. My personal belief is that objection #2 can be met by using the MD4 signature
  3403. system -- witness the X-MD4-Signature header in this posting (I hope).
  3404. Obtaining the MD4 signatures for particular documents could easily be done
  3405. through an 800 (free to caller) or 900 (pay for call plus toll charges) number
  3406. without any human intervention, or by mail, or for the truely paranoid, by
  3407. registered mail.
  3408.  
  3409. Of course, objection #1 still remains.  I wonder how much exactly the IEEE
  3410. makes by selling standards, or more interestingly, how much they would lose if
  3411. they implemented an electronic form of transfer.
  3412.  
  3413. -- Vladimir
  3414. --
  3415. ==============================================================================
  3416. Vladimir G. Ivanovic                            Sun Microsystems, Inc
  3417. (415) 336-2315                                  MTV12-33
  3418. vladimir@Eng.Sun.COM                            2550 Garcia Ave.
  3419. {decwrl,hplabs,ucbvax}!sun!Eng!vladimir         Mountain View, CA 94043-1100
  3420.                          Disclaimer: I speak for myself.
  3421. ==============================================================================
  3422.  
  3423. [ Please note followup -- mod ]
  3424.  
  3425. Volume-Number: Volume 24, Number 37
  3426.  
  3427. From std-unix-request@uunet.UU.NET  Fri Jul  5 14:01:52 1991
  3428. Received: from relay1.UU.NET by uunet.UU.NET with SMTP 
  3429.     (5.61/UUNET-uucp-primary) id AA13061; Fri, 5 Jul 91 14:01:52 -0400
  3430. Received: from kithrup.com by relay1.UU.NET with SMTP 
  3431.     (5.61/UUNET-internet-primary) id AA04539; Fri, 5 Jul 91 14:01:13 -0400
  3432. Newsgroups: comp.std.unix
  3433. From: Dominic Dunlop <dominic@british-national-corpus.oxford.ac.uk>
  3434. Subject: Re: File system/directory structure standards needed
  3435. Message-Id: <1991Jul5.175115.21556@uunet.uu.net>
  3436. Summary: Yes, they are, aren't they.
  3437. Originator: sef@uunet.UU.NET
  3438. Keywords: OSF, UNIX International, POSIX
  3439. Nntp-Posting-Host: uunet.uu.net
  3440. Reply-To: Dominic Dunlop <dominic@uk.ac.ox.natcorp.prg>
  3441. X-Submissions: std-unix@uunet.uu.net
  3442. Organization: Oxford University, GB
  3443. References: <1991Jul3.193837.8849@uunet.uu.net>
  3444. Date: Fri, 5 Jul 1991 14:53:04 GMT
  3445. To: std-unix@uunet.UU.NET
  3446. Sender: Network News <news@kithrup.com>
  3447. Source-Info:  From (or Sender) name not authenticated.
  3448.  
  3449. Submitted-by: dominic@british-national-corpus.oxford.ac.uk (Dominic Dunlop)
  3450.  
  3451. In article <1991Jul3.193837.8849@uunet.uu.net> jdt@voodoo.boeing.com
  3452. (Jim Tomlinson) writes:
  3453. >
  3454. >My organization needs to know (RSN) what, if any, standard file systems
  3455. >or directory structures have been dictated or blessed by any of the
  3456. >Unix standards organizations.
  3457.  
  3458. As Mr. Fagan, our moderator, says
  3459.  
  3460. >[ Jim is asking about filesystem layout, something which is not really
  3461. >  standardized...
  3462.  
  3463. The System V Interface Definition has a fair shot at nailing things
  3464. down, but almost nobody has paid any attention.  Even actual
  3465. implementations of System V Release [34] don't adhere to it that well.
  3466. Apart from that, as far as I am aware, all ``standards'' are [even
  3467. more?] proprietary.  Sun has one idea of the Right Way to do things (or
  3468. maybe more than one:  they moved stuff around in a recent SunOS
  3469. upgrade, and great was the gnashing of teeth among administrators);
  3470. Santa Cruz has another idea; IBM yet a third, and so on.  And then
  3471. outfits like the X consortium come along and do things which look weird
  3472. in any environment.  A directory in /usr/bin?  Hey, wait a minute...
  3473. (Although far more heinous crimes are perpetrated by commercial
  3474. developers.)
  3475.  
  3476. To compound the problem, the rules that you are supposed to follow on a
  3477. particular platform are, more often than not, undocumented or documented
  3478. only eliptically.  If you're lucky, an administration manual will
  3479. explain why things are where they are, and you can figure out that your
  3480. own files of similar function should be in the same place -- or some
  3481. relation of the same place which is set aside for non vendor-supplied
  3482. stuff.  If you're really lucky, an application developers' guide will
  3483. give you chapter and verse.  You may think it stinks, but at least it's
  3484. there in black and white.
  3485.  
  3486. This is all very unsatisfactory, and we all know what we do in response:
  3487. put files in what we think is the right place, independent of what might
  3488. or might not be said or implied by the system supplier.  The trouble is,
  3489. many of us are using a mental map that was drawn before networking and
  3490. file system sharing became so prevalent.  Sun's excuse for moving things
  3491. around is that it makes it easier to set up and administer shared files
  3492. using NFS -- which is medium restrictive in what it allows one to do.
  3493. AT&T's RFS is much less widely used, but allows more flexibility, making
  3494. it less important to rearrange the furniture so as to to accommodate its
  3495. whims.  And Sun's translucent file system (TFS) may do better still by
  3496. creeping up on the problem from a different direction.  (Well, it looks
  3497. useful, but I have yet to try it.)
  3498.  
  3499. What could one standardize?  The Version 7 layout, which ``everybody
  3500. knows''?  Hell, no.  I don't want my users under /usr.  And besides,
  3501. it's not ``network aware''.  You probably want, wearing your asbestos
  3502. underwear, to determine the common subset of current practice, and then
  3503. move out from there, causing equal pain to everybody, and bearing in
  3504. mind that POSIX standards should always cater for hosted as well as
  3505. native environments.
  3506.  
  3507. Would anybody care to suggest which crack in the POSIX scheme of things
  3508. this issue has slipped down and is waitng to crawl out of?  I'd say
  3509. it's somewhere beteen 1003.7, administration, and 1003.18, POSIX
  3510. environment profile.
  3511.  
  3512. -- 
  3513. Dominic Dunlop
  3514.  
  3515.  
  3516. Volume-Number: Volume 24, Number 38
  3517.  
  3518. From std-unix-request@uunet.UU.NET  Fri Jul  5 16:16:00 1991
  3519. Received: from relay1.UU.NET by uunet.UU.NET with SMTP 
  3520.     (5.61/UUNET-uucp-primary) id AA12277; Fri, 5 Jul 91 16:16:00 -0400
  3521. Received: from kithrup.com by relay1.UU.NET with SMTP 
  3522.     (5.61/UUNET-internet-primary) id AA22249; Fri, 5 Jul 91 16:15:42 -0400
  3523. Newsgroups: comp.std.unix
  3524. From: "Jerry M. Carlin" <jmcarli@ns.pacbell.com>
  3525. Subject: Re: Report on 1003.6: Security Extensions
  3526. Message-Id: <1991Jul5.195904.26705@uunet.uu.net>
  3527. Originator: sef@uunet.UU.NET
  3528. Nntp-Posting-Host: uunet.uu.net
  3529. X-Submissions: std-unix@uunet.uu.net
  3530. Organization: Pacific * Bell
  3531. References: <1991Jul2.224427.784@uunet.uu.net> <1991Jul3.193636.8734@uunet.uu.net>
  3532. Date: Fri, 5 Jul 1991 18:11:58 GMT
  3533. Reply-To: std-unix@uunet.UU.NET
  3534. To: std-unix@uunet.UU.NET
  3535. Sender: Network News <news@kithrup.com>
  3536. Source-Info:  From (or Sender) name not authenticated.
  3537.  
  3538. Submitted-by: jmcarli@ns.PacBell.COM (Jerry M. Carlin)
  3539.  
  3540. In article <1991Jul3.193636.8734@uunet.uu.net> epstein@trwacs.fp.trw.com (Jeremy Epstein) writes:
  3541. >Submitted-by: epstein@trwacs.uucp (Jeremy Epstein)
  3542. >In article <1991Jul2.224427.784@uunet.uu.net>, peter@Sugar.NeoSoft.com (Peter da Silva) writes:
  3543. >> Submitted-by: peter@Sugar.NeoSoft.com (Peter da Silva)
  3544. >> 
  3545. >> In article <1991Jun28.192719.17816@uunet.uu.net> jmcarli@ns.PacBell.COM (Jerry M. Carlin) writes:
  3546. >> > The BIG problem I see with 1003.6 is lack of I&A; identification and
  3547. >> > authentication...
  3548.  
  3549. >I'm a member of the 1003.6 working group, but speaking for myself only...
  3550. >
  3551. >All of these ideas are good ones, but they miss the point.  1003.6 is
  3552. >extending 1003.1 and 1003.2 to add security relevant features.  1003.1
  3553. >has no mention of either login or passwd; 1003.2 mentions passwd (although
  3554. >I'm not sure that it will make it into the standard), but with many weasel-
  3555. >words...
  3556.  
  3557. Then 1003.6 is mostly useless and since it really does not address security
  3558. in a comprehensive way it should be called something else. This is like
  3559. saying that we won't worry about networking, windowing systems, your-favorite
  3560. topic because another part of the standard does not consider it. I guess
  3561. we can also forget about system administration. small amount of :-)  but
  3562. a larger :-(
  3563.  
  3564. >In the near future we'll see many systems which don't even use passwords
  3565. >for authentication (I assume there are already some out there, but I'm
  3566. >not sure).  You'll see smart cards, voiceprints, retina scans, fingerprint
  3567. >analysis, etc.  It's not a good idea to specify a password-based scheme as
  3568. >a standard when technology is already growing beyond that.
  3569.  
  3570. Since passwords will be what most systems use for the forseeable future,
  3571. I don't agree but if you want to extend this arguement, it might be
  3572. noted that the Orange book is obsolete so that its concepts should
  3573. not have been used either! After all, how many systems do we have that
  3574. are not networked and have dumb terminals connected to them (and that
  3575. have no databases).
  3576.  
  3577. >...
  3578. >Having said all that, once there is some agreement on a meta-mechanism for
  3579. >authenticating users I think it's entirely reasonable to define a mechanism
  3580. >for rules...
  3581.  
  3582. That is a good idea. I'd support that especially if it were coupled with
  3583. a framework whereby users could plug in authentication mechanisms (smart
  3584. cards, passwd.c with rules, etc.)
  3585.  
  3586. >Incidentally, 1003.1 has no notion of what a "user" is, which means breaking
  3587. >major new ground for any such extensions.
  3588.  
  3589. Does 1003.1 have notions of system administration, windowing systems,
  3590. networks and the like?
  3591.  
  3592. >1003.6 will be going to ballot soon (I hope!) with the current proposed
  3593. >standard...
  3594.  
  3595. And I'll vote against it as incomplete and urge others to do the same. 
  3596. Without I&A the standard is not anything close to a comprehensive
  3597. "security" standard at all. I'd rather see nothing than such a standard.
  3598. --
  3599. Jerry M. Carlin    (415) 823-2441 jmcarli@srv.pacbell.com
  3600. To dream the impossible dream. To fight the unbeatable foe.
  3601.  
  3602.  
  3603. Volume-Number: Volume 24, Number 39
  3604.  
  3605. From std-unix-request@uunet.UU.NET  Fri Jul  5 17:31:10 1991
  3606. Received: from relay1.UU.NET by uunet.UU.NET with SMTP 
  3607.     (5.61/UUNET-uucp-primary) id AB27996; Fri, 5 Jul 91 17:31:10 -0400
  3608. Received: from kithrup.com by relay1.UU.NET with SMTP 
  3609.     (5.61/UUNET-internet-primary) id AA03183; Fri, 5 Jul 91 17:31:02 -0400
  3610. Newsgroups: comp.std.unix
  3611. From: Rich Stevens <rstevens@noao.edu>
  3612. Subject: status of 1003.1a extension
  3613. Message-Id: <1991Jul5.212137.147@uunet.uu.net>
  3614. Originator: sef@uunet.UU.NET
  3615. Keywords: POSIX.1
  3616. Nntp-Posting-Host: uunet.uu.net
  3617. X-Submissions: std-unix@uunet.uu.net
  3618. Organization: National Optical Astronomy Observatories, Tucson, AZ, USA
  3619. Date: Fri, 5 Jul 1991 21:10:20 GMT
  3620. Reply-To: std-unix@uunet.UU.NET
  3621. To: std-unix@uunet.UU.NET
  3622. Sender: Network News <news@kithrup.com>
  3623. Source-Info:  From (or Sender) name not authenticated.
  3624.  
  3625. Submitted-by: rstevens@noao.edu (Rich Stevens)
  3626.  
  3627. Does anyone know the status of the 1003.1 extension draft?
  3628. In June 1990 it was called 1003.1b, but I see from the
  3629. October 1990 posting to this newsgroup that it's been
  3630. renamed 1003.1a.  (This is the extension that's suposed
  3631. to provide symbolic links, among other things.) In Zlotnick's
  3632. book he refers to Draft 3 of this extension, but I've seen
  3633. reference to a Draft 4 (Sept. 1990).
  3634.  
  3635. Anyone know what draft it's currently at, and what a reasonable
  3636. guess as to it's completion date might be?  Someone in this
  3637. newsgroup said early 1991 (which has past) but Zlotnick
  3638. mentions 1993 (which seems a little too far away).  Thanks.
  3639.  
  3640.     Rich Stevens  (rstevens@noao.edu)
  3641.  
  3642.  
  3643. Volume-Number: Volume 24, Number 40
  3644.  
  3645. From std-unix-request@uunet.UU.NET  Fri Jul  5 21:30:55 1991
  3646. Received: from relay1.UU.NET by uunet.UU.NET with SMTP 
  3647.     (5.61/UUNET-uucp-primary) id AA29204; Fri, 5 Jul 91 21:30:55 -0400
  3648. Received: from kithrup.com by relay1.UU.NET with SMTP 
  3649.     (5.61/UUNET-internet-primary) id AA27116; Fri, 5 Jul 91 21:30:47 -0400
  3650. Newsgroups: comp.std.unix
  3651. From: Chuck Karish <karish@mindcraft.com>
  3652. Subject: Re: File system/directory structure standards needed
  3653. Message-Id: <1991Jul6.011750.8351@uunet.uu.net>
  3654. Originator: sef@uunet.UU.NET
  3655. Keywords: OSF, UNIX International, POSIX
  3656. Nntp-Posting-Host: uunet.uu.net
  3657. X-Submissions: std-unix@uunet.uu.net
  3658. Organization: Mindcraft, Inc.
  3659. References: <1991Jul3.193837.8849@uunet.uu.net> <1991Jul5.175115.21556@uunet.uu.net>
  3660. Date: Fri, 5 Jul 1991 21:36:38 GMT
  3661. Reply-To: std-unix@uunet.UU.NET
  3662. To: std-unix@uunet.UU.NET
  3663. Sender: Network News <news@kithrup.com>
  3664. Source-Info:  From (or Sender) name not authenticated.
  3665.  
  3666. Submitted-by: karish@mindcraft.com (Chuck Karish)
  3667.  
  3668. In article <1991Jul5.175115.21556@uunet.uu.net> dominic@uk.ac.ox.natcorp.prg
  3669. (Dominic Dunlop) writes:
  3670. >Submitted-by: dominic@british-national-corpus.oxford.ac.uk (Dominic Dunlop)
  3671.  
  3672. >Would anybody care to suggest which crack in the POSIX scheme of things
  3673. >this issue has slipped down and is waitng to crawl out of?  I'd say
  3674. >it's somewhere beteen 1003.7, administration, and 1003.18, POSIX
  3675. >environment profile.
  3676.  
  3677. I'd suggest 'none of the above'.  Directory structure and the
  3678. existence of particular files with particular names won't need
  3679. to be standardized if the 1003.7 committee can define a
  3680. complete administrative interface.
  3681. -- 
  3682.  
  3683.     Chuck Karish        karish@mindcraft.com
  3684.     Mindcraft, Inc.        (415) 323-9000
  3685.  
  3686. [ .2 has some interest in directory layout... where are sed, cat, etc.
  3687.   in the filesystem?  Can a portable script (or program that uses system()
  3688.   really rely on the invoker not having a different utility of the same
  3689.   name in execution path?  Just a couple of thoughts -- mod ]
  3690.  
  3691. Volume-Number: Volume 24, Number 41
  3692.  
  3693. From std-unix-request@uunet.UU.NET  Tue Jul  9 18:46:31 1991
  3694. Received: from relay1.UU.NET by uunet.UU.NET with SMTP 
  3695.     (5.61/UUNET-uucp-primary) id AA12712; Tue, 9 Jul 91 18:46:31 -0400
  3696. Received: from kithrup.com by relay1.UU.NET with SMTP 
  3697.     (5.61/UUNET-internet-primary) id AA08143; Tue, 9 Jul 91 18:46:26 -0400
  3698. Newsgroups: comp.std.unix
  3699. From: Alain Williams <addw@phcomp.co.uk>
  3700. Subject: Re: File system/directory structure standards needed
  3701. Message-Id: <1991Jul9.222513.12646@uunet.uu.net>
  3702. Originator: sef@uunet.UU.NET
  3703. Nntp-Posting-Host: uunet.uu.net
  3704. X-Submissions: std-unix@uunet.uu.net
  3705. Organization: Parliament Hill Computers Ltd
  3706. Date: Mon, 8 Jul 1991 10:09:15 GMT
  3707. Reply-To: std-unix@uunet.UU.NET
  3708. To: std-unix@uunet.UU.NET
  3709. Sender: Network News <news@kithrup.com>
  3710. Source-Info:  From (or Sender) name not authenticated.
  3711.  
  3712. Submitted-by: addw@phcomp.co.uk (Alain Williams)
  3713.  
  3714. > karish@mindcraft.com (Chuck Karish) writes:
  3715. > I'd suggest 'none of the above'.  Directory structure and the
  3716. > existence of particular files with particular names won't need
  3717. > to be standardized if the 1003.7 committee can define a
  3718. > complete administrative interface.
  3719. NO!! If you are an applications writer you need to know the location
  3720. of some things. Eg you you want to run a program securely (ie without
  3721. relying on $PATH to find it for you), you have to know where to find it
  3722. (to within a couple of guesses).
  3723.  
  3724. Also if you are writing install mechanisms, you often need to know how to
  3725. find things, where to put things (don't rely on the installing user to
  3726. tell you where they should go, they might not even understand the
  3727. question).
  3728.  
  3729. Alain Williams
  3730.  
  3731. +44 734 461232
  3732.  
  3733. phLOGIN our Turnkey Security Login utility is available NOW - ask me for info.
  3734.  
  3735.  
  3736. Volume-Number: Volume 24, Number 42
  3737.  
  3738. From std-unix-request@uunet.UU.NET  Tue Jul  9 18:46:39 1991
  3739. Received: from relay1.UU.NET by uunet.UU.NET with SMTP 
  3740.     (5.61/UUNET-uucp-primary) id AA12728; Tue, 9 Jul 91 18:46:39 -0400
  3741. Received: from kithrup.com by relay1.UU.NET with SMTP 
  3742.     (5.61/UUNET-internet-primary) id AA08167; Tue, 9 Jul 91 18:46:34 -0400
  3743. Newsgroups: comp.std.unix
  3744. From: Rich Salz <rsalz@bbn.com>
  3745. Subject: Re: File system/directory structure standards needed
  3746. Message-Id: <1991Jul9.222640.12766@uunet.uu.net>
  3747. Originator: sef@uunet.UU.NET
  3748. Keywords: OSF, UNIX International, POSIX
  3749. Nntp-Posting-Host: uunet.uu.net
  3750. X-Submissions: std-unix@uunet.uu.net
  3751. Organization: BBN Systems and Technology, Inc.
  3752. References: <1991Jul3.193837.8849@uunet.uu.net> <1991Jul5.175115.21556@uunet.uu.net>
  3753. Date: Tue, 9 Jul 1991 12:56:15 GMT
  3754. Reply-To: std-unix@uunet.UU.NET
  3755. To: std-unix@uunet.UU.NET
  3756. Sender: Network News <news@kithrup.com>
  3757. Source-Info:  From (or Sender) name not authenticated.
  3758.  
  3759. Submitted-by: rsalz@bbn.com (Rich Salz)
  3760.  
  3761. In <1991Jul5.175115.21556@uunet.uu.net> dominic@uk.ac.ox.natcorp.prg (Dominic Dunlop) writes:
  3762. >This is all very unsatisfactory, and we all know what we do in response:
  3763. >put files in what we think is the right place, independent of what might
  3764. >or might not be said or implied by the system supplier.
  3765.  
  3766. Some time ago -- either last January or June Usenix time-frame -- the
  3767. Berkeley folks called a meeting to discuss this.  At least Sun and DEC
  3768. came.  Everyone hashed things out, and CSRG came up with the definitive
  3769. prototype filesystem layout, as well as agreements from some people (DEC
  3770. is one name I recall) to follow it.  Keith Bostic had viewgraphs, and
  3771. posted them to comp.bugs.4bsd-fixes.  (No, I don't have a copy any more.)
  3772.  
  3773. Perhaps people can pressure vendors to pick up the BSD standard.  (A nicely
  3774. vague phraseology...)
  3775.     /r$
  3776. -- 
  3777. Please send comp.sources.unix-related mail to rsalz@uunet.uu.net.
  3778. Use a domain-based address or give alternate paths, or you may lose out.
  3779.  
  3780.  
  3781. Volume-Number: Volume 24, Number 43
  3782.  
  3783. From std-unix-request@uunet.UU.NET  Tue Jul  9 18:46:46 1991
  3784. Received: from relay1.UU.NET by uunet.UU.NET with SMTP 
  3785.     (5.61/UUNET-uucp-primary) id AA12815; Tue, 9 Jul 91 18:46:46 -0400
  3786. Received: from kithrup.com by relay1.UU.NET with SMTP 
  3787.     (5.61/UUNET-internet-primary) id AA08179; Tue, 9 Jul 91 18:46:40 -0400
  3788. Newsgroups: comp.std.unix
  3789. From: Fred Zlotnick <fred@mindcraft.com>
  3790. Subject: Re: File system/directory structure standards needed
  3791. Message-Id: <1991Jul9.222849.12854@uunet.uu.net>
  3792. Originator: sef@uunet.UU.NET
  3793. Keywords: OSF, UNIX International, POSIX
  3794. Nntp-Posting-Host: uunet.uu.net
  3795. X-Submissions: std-unix@uunet.uu.net
  3796. Organization: Mindcraft, Inc.
  3797. References: <1991Jul3.193837.8849@uunet.uu.net> <1991Jul5.175115.21556@uunet.uu.net> <1991Jul6.011750.8351@uunet.uu.net>
  3798. Date: Tue, 9 Jul 1991 15:04:46 GMT
  3799. Reply-To: std-unix@uunet.UU.NET
  3800. To: std-unix@uunet.UU.NET
  3801. Sender: Network News <news@kithrup.com>
  3802. Source-Info:  From (or Sender) name not authenticated.
  3803.  
  3804. Submitted-by: fred@mindcraft.com (Fred Zlotnick)
  3805.  
  3806. In article <1991Jul6.011750.8351@uunet.uu.net> karish@mindcraft.com (Chuck Karish) writes:
  3807.     [All ommitted except comments of the moderator]
  3808. >
  3809. >[ .2 has some interest in directory layout... where are sed, cat, etc.
  3810. >  in the filesystem?  Can a portable script (or program that uses system()
  3811. >  really rely on the invoker not having a different utility of the same
  3812. >  name in execution path?  Just a couple of thoughts -- mod ]
  3813.  
  3814. Dot 2 has considered this issue, and the related issue of having a shell
  3815. function of the same name as the desired utility.  The "command" utility
  3816. (which was proposed as a shell built-in in earlier drafts, but is a
  3817. stand-alone utility in 1003.2 Draft 11) solves at least part of the problem,
  3818. with no explicit knowledge of directory structure.  It relies on the
  3819. existence of a path that is known to make all system utilities (i.e.
  3820. all the utilities specified in Dot 2) accessible.  This path is not
  3821. itself specified by Dot 2.
  3822. -- 
  3823. Fred Zlotnick                       |    #include <std.disclaimer>
  3824. fred@mindcraft.com                  |    #include <brilliant.quote>
  3825. ...!{decwrl,ames,hpda}!mindcrf!fred |
  3826.  
  3827.  
  3828. Volume-Number: Volume 24, Number 44
  3829.  
  3830. From std-unix-request@uunet.UU.NET  Tue Jul  9 22:17:50 1991
  3831. Received: from relay1.UU.NET by uunet.UU.NET with SMTP 
  3832.     (5.61/UUNET-uucp-primary) id AA08974; Tue, 9 Jul 91 22:17:50 -0400
  3833. Received: from kithrup.com by relay1.UU.NET with SMTP 
  3834.     (5.61/UUNET-internet-primary) id AA10456; Tue, 9 Jul 91 22:17:44 -0400
  3835. Newsgroups: comp.std.unix
  3836. From: Ran Atkinson <randall@virginia.edu>
  3837. Subject: Re: File system/directory structure standards needed
  3838. Message-Id: <1991Jul10.000141.17359@uunet.uu.net>
  3839. Originator: sef@uunet.UU.NET
  3840. Nntp-Posting-Host: uunet.uu.net
  3841. X-Submissions: std-unix@uunet.uu.net
  3842. Organization: University of Virginia
  3843. References: <1991Jul3.193837.8849@uunet.uu.net> <1991Jul5.175115.21556@uunet.uu.net> <1991Jul9.222640.12766@uunet.uu.net>
  3844. Date: Tue, 9 Jul 1991 23:54:32 GMT
  3845. Reply-To: std-unix@uunet.UU.NET
  3846. To: std-unix@uunet.UU.NET
  3847. Sender: Network News <news@kithrup.com>
  3848. Source-Info:  From (or Sender) name not authenticated.
  3849.  
  3850. Submitted-by: randall@Virginia.EDU (Ran Atkinson)
  3851.  
  3852. In article <1991Jul9.222640.12766@uunet.uu.net> rsalz@bbn.com wrote:
  3853.  
  3854. >Some time ago -- either last January or June Usenix time-frame -- the
  3855. >Berkeley folks called a meeting to discuss this.  At least Sun and DEC
  3856. >came.  Everyone hashed things out, and CSRG came up with the definitive
  3857. >prototype filesystem layout, as well as agreements from some people (DEC
  3858. >is one name I recall) to follow it.  Keith Bostic had viewgraphs, and
  3859. >posted them to comp.bugs.4bsd-fixes.  (No, I don't have a copy any more.)
  3860. >
  3861. >Perhaps people can pressure vendors to pick up the BSD standard.  
  3862.  
  3863.   What would be really nice is if CSRG could take the time and publish
  3864. the consensus information as an informational RFC.  This would make it
  3865. even more widely accessible and could help encourage vendors to follow
  3866. it.
  3867.  
  3868.   For one thing, it carries more weight with the vendors when several
  3869. customers ask why they aren't doing it the way RFC-HHHH describes.
  3870. For another, it makes it easier for the technical staff to persuade
  3871. managers that changes to conform are justified and worthwhile.
  3872.  
  3873. These are all off-the-top-of-my-head ideas, so add salt liberally.
  3874.  
  3875. Ran Atkinson
  3876. randall@Virginia.EDU
  3877.  
  3878.  
  3879.  
  3880. Volume-Number: Volume 24, Number 45
  3881.  
  3882. From std-unix-request@uunet.UU.NET  Fri Jul 12 18:02:09 1991
  3883. Received: from relay1.UU.NET by uunet.UU.NET with SMTP 
  3884.     (5.61/UUNET-uucp-primary) id AA04731; Fri, 12 Jul 91 18:02:09 -0400
  3885. Received: from kithrup.com by relay1.UU.NET with SMTP 
  3886.     (5.61/UUNET-internet-primary) id AA17013; Fri, 12 Jul 91 18:02:05 -0400
  3887. Newsgroups: comp.std.unix
  3888. From: Dave Decot <decot@hpcupt1.cup.hp.com>
  3889. Subject: Re: File system/directory structure standards needed
  3890. Message-Id: <1991Jul12.213625.7241@uunet.uu.net>
  3891. Originator: sef@uunet.UU.NET
  3892. Nntp-Posting-Host: uunet.uu.net
  3893. X-Submissions: std-unix@uunet.uu.net
  3894. Organization: Hewlett Packard, Cupertino
  3895. References: <1991Jul3.193837.8849@uunet.uu.net>
  3896. Date: Thu, 11 Jul 1991 01:23:59 GMT
  3897. Reply-To: std-unix@uunet.UU.NET
  3898. To: std-unix@uunet.UU.NET
  3899. Sender: Network News <news@kithrup.com>
  3900. Source-Info:  From (or Sender) name not authenticated.
  3901.  
  3902. Submitted-by: decot@hpcupt1.cup.hp.com (Dave Decot)
  3903.  
  3904. To be sure that you are "securely" running a standard utility, POSIX.2
  3905. provides the standard utility path via "getconf CS_PATH" that applications
  3906. can change their PATH to, and be assured of getting the standard version.
  3907.  
  3908. There is no need to know in advance the actual path names, since the
  3909. system tells You the right path to use.
  3910.  
  3911. Dave
  3912.  
  3913. Volume-Number: Volume 24, Number 46
  3914.  
  3915. From std-unix-request@uunet.UU.NET  Tue Jul 16 00:14:56 1991
  3916. Received: from relay1.UU.NET by uunet.UU.NET with SMTP 
  3917.     (5.61/UUNET-uucp-primary) id AA29210; Tue, 16 Jul 91 00:14:56 -0400
  3918. Received: from kithrup.com by relay1.UU.NET with SMTP 
  3919.     (5.61/UUNET-internet-primary) id AA17524; Tue, 16 Jul 91 00:14:37 -0400
  3920. Newsgroups: comp.std.unix
  3921. From: "James H. Moore" <jmoore@ssd.kodak.com>
  3922. Subject: Re: File system/directory structure standards needed
  3923. Message-Id: <1991Jul16.035617.11450@uunet.uu.net>
  3924. Originator: sef@uunet.UU.NET
  3925. Nntp-Posting-Host: uunet.uu.net
  3926. X-Submissions: std-unix@uunet.uu.net
  3927. Organization: UUNET Communications Services
  3928. Date: Mon, 15 Jul 1991 18:27:08 GMT
  3929. Reply-To: std-unix@uunet.UU.NET
  3930. To: std-unix@uunet.UU.NET
  3931. Sender: Network News <news@kithrup.com>
  3932. Source-Info:  From (or Sender) name not authenticated.
  3933.  
  3934. Submitted-by: jmoore@ssd.Kodak.Com (James H. Moore)
  3935.  
  3936. I just tried to post a question to comp.doc and 
  3937. comp.unix.question regarding this very subject.  Although
  3938. no longer in system administration, I now answer questions
  3939. for users, and recently tried to create a .login file that
  3940. would pick up appropriate paths of executables, shared
  3941. libraries, and on-line manual pages.  I ran into some
  3942. file system structure roadblocks, and asked a similar question
  3943. regarding standards, do they exist and what can be done.
  3944.  
  3945. Specifically, I found in trying to create a .login file
  3946. that would localize variances of networks within our 
  3947. division, while allowing for variability in architecture,
  3948. operating system level, GUI as well.  (Sooner or later
  3949. you may have to deal with natural language variables as
  3950. well.   For europe, it is probably sooner -- like now).
  3951. I dealt with various philosophies, and problems.
  3952.  
  3953. The most visible was how many levels of sharing are permitted,
  3954. and how vendors package software.  I know that many vendors 
  3955. put packages under /usr for convenience.  Most system 
  3956. administrators move these elsewhere to a partition(s) which
  3957. won't be wiped out at the next system upgrade.  [This is a
  3958. standard enough practice, from my limited visibility.  If
  3959. someone would standardize on a name for this applications 
  3960. partition - local candidates include /licensed, /licensed4,
  3961. /packages or any one of the previous under the /u directory]
  3962.  
  3963. How authors/vendors view their "space" seems to differ.  
  3964. Frequently there is "encapsulation", where a vendor puts
  3965. everything binaries, configuration files, shared libraries,
  3966. and manual pages under one heading, the package name.  That
  3967. is fine, it make individual package upgrades easy. If the 
  3968. application uses an environment variable, and a shell script 
  3969. which add appropriate things to access shared libraries, and
  3970. man pages, you are in good shape, you can even run multiple 
  3971. versions at once (like testing a new version when it comes 
  3972. out, or allowing projects near completion to finish without
  3973. using the new an improved version).
  3974.  
  3975. But often there are naming problems in subdirectories: sometimes
  3976. the encapsulation is by architecture, so you have .../vendor/bin
  3977. .../vendor/lib etc.  These are picked off of the distribution
  3978. tape by architecture.  
  3979.  
  3980. Others, create the main directory, and then pick off 
  3981. architectures one by one, allowing the sharing of man 
  3982. pages and configuration or data files.  
  3983.  
  3984. E.g. .../vendor/sun3/bin .../vendor/sun3/lib .../vendor/sun4/bin 
  3985. .../vendor/sun4/lib .../vendor/share .../vendor/etc  [sometimes
  3986. the "etc" directory is under "share", othertimes it is not.
  3987.  
  3988. Some do like "." better than "/". So you find .../vendor/bin.sun3
  3989. and .../vendor/bin.sun4.  This saves no keystrokes, and usually
  3990. implies that the applications do not make use of shared libraries.
  3991.  
  3992. When the applications make use of a GUI, things get more 
  3993. interesting.  Most append an X somewhere for X applications.
  3994. Others do things with "ow" for OpenWindows(tm) (actually OpenLook
  3995. (tm)), and "m" for Motif(tm).  The problem is that these
  3996. postfixes can be anywhere, and sometimes users have a menu
  3997. to select a windowing system in their .login.
  3998.  
  3999. After the "encapsulated" approach is the "installed" approach,
  4000. where binaries are added to /usr/bin, man pages to /usr/man, libraries to /usr/lib, and data to /usr/etc.  This works, 
  4001. leveraging existing mechanisms to provide the user with access.
  4002.  
  4003. Two last issues surface, in a related way, from a users perspective,
  4004. in getting access to the applications that they want.
  4005.  
  4006. One is a concept of "locality" - i.e. what is "local".  What
  4007. needs to be local to the machine, working group, subnet, and
  4008. what is "global" to the organization.  This has a lot of
  4009. facets, mainly centered around how you handle overlap.
  4010.  
  4011. The second concept has to do with a concept that I have seen
  4012. prototyped in yellow pages, and bantered around as being part
  4013. of the file system.  Create tables for users, either tables
  4014. of paths for users (distributed via rpc program or yellow
  4015. pages), or have a part of the directories files which define
  4016. variability, and set up user's paths and variables for them
  4017. ("source" files, or environment scripts).
  4018.  
  4019. The issue of standardizing encapsulation seems to be the easiest,
  4020. and would probably make system managers and users lives a lot
  4021. simpler.
  4022.  
  4023. Has anyone worked these things out?  Are there RFCs?  Is
  4024. POSIX.7 addressing these?
  4025.  
  4026. Thanks for listening.  Thanks for any help or suggestions.
  4027.  
  4028. - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
  4029. - - - James H. Moore, USC, ISPD, Eastman Kodak Co, (716)726-0322  - - -
  4030. -  jmoore@ssd.kodak.com, PROFS: DDTC12(JMOORE)  VMS: DDTC12::JMOORE - -
  4031. May the Lord bless you, in Jesus's name for blessing me with your help!
  4032.  
  4033. Volume-Number: Volume 24, Number 47
  4034.  
  4035. From std-unix-request@uunet.UU.NET  Tue Jul 16 18:45:49 1991
  4036. Received: from relay1.UU.NET by uunet.UU.NET with SMTP 
  4037.     (5.61/UUNET-uucp-primary) id AA27378; Tue, 16 Jul 91 18:45:49 -0400
  4038. Received: from kithrup.com by relay1.UU.NET with SMTP 
  4039.     (5.61/UUNET-internet-primary) id AA21030; Tue, 16 Jul 91 18:45:41 -0400
  4040. Newsgroups: comp.std.unix
  4041. From: Peter da Silva <peter@ficc.ferranti.com>
  4042. Subject: Re: File system/directory structure standards needed
  4043. Message-Id: <1991Jul16.223853.17387@uunet.uu.net>
  4044. Originator: sef@uunet.UU.NET
  4045. Nntp-Posting-Host: uunet.uu.net
  4046. Reply-To: Peter da Silva <peter@ficc.ferranti.com>
  4047. X-Submissions: std-unix@uunet.uu.net
  4048. Organization: Xenix Support, FICC
  4049. References: <1991Jul3.193837.8849@uunet.uu.net> <1991Jul12.213625.7241@uunet.uu.net>
  4050. Date: Mon, 15 Jul 1991 22:41:45 GMT
  4051. To: std-unix@uunet.UU.NET
  4052. Sender: Network News <news@kithrup.com>
  4053. Source-Info:  From (or Sender) name not authenticated.
  4054.  
  4055. Submitted-by: peter@ficc.ferranti.com (Peter da Silva)
  4056.  
  4057. In article <1991Jul12.213625.7241@uunet.uu.net> decot@hpcupt1.cup.hp.com (Dave Decot) writes:
  4058. > To be sure that you are "securely" running a standard utility, POSIX.2
  4059. > provides the standard utility path via "getconf CS_PATH" that applications
  4060. > can change their PATH to, and be assured of getting the standard version.
  4061.  
  4062. Is getconf a builtin? If not, it itself can be spoofed!
  4063. -- 
  4064. Peter da Silva; Ferranti International Controls Corporation; +1 713 274 5180;
  4065. Sugar Land, TX  77487-5012;         `-_-' "Have you hugged your wolf, today?"
  4066.  
  4067. [ I would assume getconf is a builtin.  But we all know what happens when
  4068.   one assumes -- mod ]
  4069.  
  4070. Volume-Number: Volume 24, Number 48
  4071.  
  4072. From std-unix-request@uunet.UU.NET  Wed Jul 17 16:00:08 1991
  4073. Received: from relay1.UU.NET by uunet.UU.NET with SMTP 
  4074.     (5.61/UUNET-uucp-primary) id AA07620; Wed, 17 Jul 91 16:00:08 -0400
  4075. Received: from kithrup.com by relay1.UU.NET with SMTP 
  4076.     (5.61/UUNET-internet-primary) id AA26992; Wed, 17 Jul 91 16:00:01 -0400
  4077. Newsgroups: comp.std.unix
  4078. From: Dan Bernstein <brnstnd@kramden.acf.nyu.edu>
  4079. Subject: Re: File system/directory structure standards needed
  4080. Message-Id: <1991Jul17.195136.29019@uunet.uu.net>
  4081. Originator: sef@uunet.UU.NET
  4082. Nntp-Posting-Host: uunet.uu.net
  4083. X-Submissions: std-unix@uunet.uu.net
  4084. Organization: IR
  4085. References: <1991Jul3.193837.8849@uunet.uu.net> <1991Jul12.213625.7241@uunet.uu.net> <1991Jul16.223853.17387@uunet.uu.net>
  4086. Date: Wed, 17 Jul 1991 05:08:14 GMT
  4087. Reply-To: std-unix@uunet.UU.NET
  4088. To: std-unix@uunet.UU.NET
  4089. Sender: Network News <news@kithrup.com>
  4090. Source-Info:  From (or Sender) name not authenticated.
  4091.  
  4092. Submitted-by: brnstnd@KRAMDEN.ACF.NYU.EDU (Dan Bernstein)
  4093.  
  4094. Under BSD, you can easily set up a /inst/bin directory with symlinks to
  4095. every officially ``installed'' executable. Users can then have /inst/bin
  4096. in their paths instead of all the physical directories like /bin, /etc,
  4097. /usr/bin, /usr/ucb, etc. Although the directory is large, the time for
  4098. several failing execve()s is much larger than the time for searching one
  4099. directory (especially with path caching as in BSD 4.3).
  4100.  
  4101. Even on System V, you can put hard links in /inst/bin, and when an
  4102. executable is on a different device you can set up a shell script which
  4103. execs the real executable. It's *still* more efficient, on the average,
  4104. than all the failing execve()s. Try it if you don't believe me.
  4105.  
  4106. Yes, this requires all executables to be given unique names. Any concept
  4107. of a standard path, including the POSIX.2 proposal, forces this. It's
  4108. simply not a disadvantage.
  4109.  
  4110. Anyway, as vendors haven't come to any agreement on this facility---the
  4111. current ``standard'' is to install most programs somewhere under
  4112. /usr/local, with new subdirectories for big programs like ingres---I
  4113. despise POSIX's attempts to name any particular solution a ``standard.''
  4114. In the interests of security, efficiency, and backwards compatibility, I
  4115. propose /inst/bin as a viable alternative to getconf. I suggest that
  4116. POSIX look---and take its time looking---before it leaps.
  4117.  
  4118. ---Dan
  4119.  
  4120.  
  4121. Volume-Number: Volume 24, Number 49
  4122.  
  4123. From std-unix-request@uunet.UU.NET  Thu Jul 18 16:48:26 1991
  4124. Received: from relay1.UU.NET by uunet.UU.NET with SMTP 
  4125.     (5.61/UUNET-uucp-primary) id AA27725; Thu, 18 Jul 91 16:48:26 -0400
  4126. Received: from kithrup.com by relay1.UU.NET with SMTP 
  4127.     (5.61/UUNET-internet-primary) id AA26869; Thu, 18 Jul 91 16:48:05 -0400
  4128. Newsgroups: comp.std.unix
  4129. From: "Marc W. Mengel" <mengel@fnal.fnal.gov>
  4130. Subject: Re: File system/directory structure standards needed
  4131. Message-Id: <1991Jul18.184005.14331@uunet.uu.net>
  4132. Originator: sef@uunet.UU.NET
  4133. Nntp-Posting-Host: uunet.uu.net
  4134. X-Submissions: std-unix@uunet.uu.net
  4135. Organization: UUNET Communications Services
  4136. References: <1991Jul3.193837.8849@uunet.uu.net> <1991Jul12.213625.7241@uunet.uu.net> <1991Jul16.223853.17387@uunet.uu.net> <1991Jul17.195136.29019@uunet.uu.net>
  4137. Date: Thu, 18 Jul 1991 15:17:10 GMT
  4138. Reply-To: std-unix@uunet.UU.NET
  4139. To: std-unix@uunet.UU.NET
  4140. Sender: Network News <news@kithrup.com>
  4141. Source-Info:  From (or Sender) name not authenticated.
  4142.  
  4143. Submitted-by: mengel@fnal.fnal.gov (Marc W. Mengel)
  4144.  
  4145. brnstnd@KRAMDEN.ACF.NYU.EDU (Dan Bernstein) writes:
  4146.  
  4147. >Submitted-by: brnstnd@KRAMDEN.ACF.NYU.EDU (Dan Bernstein)
  4148.  
  4149. >Under BSD, you can easily set up a /inst/bin directory with symlinks to
  4150. >every officially ``installed'' executable. Users can then have /inst/bin
  4151. >in their paths instead of all the physical directories like /bin, /etc,
  4152. >/usr/bin, /usr/ucb, etc. Although the directory is large, the time for
  4153. >several failing execve()s is much larger than the time for searching one
  4154. >directory (especially with path caching as in BSD 4.3).
  4155.  
  4156.     Of course, you can't run /bin/ls there without it blowing
  4157.     up, and the directory search time is much more expensive
  4158.     than split directories.  Also none of your modern shells
  4159.     (SysV sh, csh, ksh, bash, etc.) do mulitple execve()s,
  4160.     they keep a hash table.  Most current UNIX implementations
  4161.     do not handle large (>200 files) directories well at all.
  4162.     Many standard unix utilities choke on huge directories.
  4163.  
  4164.     Due to the filesystem implementation, things like stat-ing
  4165.     all the files in a directory turn out to be order(n**2),
  4166.     making lots of operations slower in non-obvious ways.
  4167.  
  4168. >Even on System V, you can put hard links in /inst/bin, and when an
  4169. >executable is on a different device you can set up a shell script which
  4170. >execs the real executable. It's *still* more efficient, on the average,
  4171. >than all the failing execve()s. Try it if you don't believe me.
  4172.  
  4173.     Well, actually in general you have to write a little
  4174.     stub executable, since you can't exec() shell scripts
  4175.     on Sys. V systems previous to Release 4...
  4176. -------
  4177. Marc Mengel
  4178. mengel@fnal.fnal.gov
  4179.  
  4180.  
  4181. Volume-Number: Volume 24, Number 50
  4182.  
  4183. From std-unix-request@uunet.UU.NET  Thu Jul 18 23:45:26 1991
  4184. Received: from relay1.UU.NET by uunet.UU.NET with SMTP 
  4185.     (5.61/UUNET-uucp-primary) id AA07980; Thu, 18 Jul 91 23:45:26 -0400
  4186. Received: from kithrup.com by relay1.UU.NET with SMTP 
  4187.     (5.61/UUNET-internet-primary) id AA12206; Thu, 18 Jul 91 23:45:11 -0400
  4188. Newsgroups: comp.std.unix
  4189. From: Chuck Karish <karish@mindcraft.com>
  4190. Subject: Re: File system/directory structure standards needed
  4191. Message-Id: <1991Jul19.033239.8917@uunet.uu.net>
  4192. Originator: sef@uunet.UU.NET
  4193. Nntp-Posting-Host: uunet.uu.net
  4194. X-Submissions: std-unix@uunet.uu.net
  4195. Organization: Mindcraft, Inc.
  4196. References: <1991Jul3.193837.8849@uunet.uu.net> <1991Jul12.213625.7241@uunet.uu.net> <1991Jul16.223853.17387@uunet.uu.net> <1991Jul17.195136.29019@uunet.uu.net>
  4197. Date: Thu, 18 Jul 1991 17:14:06 GMT
  4198. Reply-To: std-unix@uunet.UU.NET
  4199. To: std-unix@uunet.UU.NET
  4200. Sender: Network News <news@kithrup.com>
  4201. Source-Info:  From (or Sender) name not authenticated.
  4202.  
  4203. Submitted-by: karish@mindcraft.com (Chuck Karish)
  4204.  
  4205. In article <1991Jul17.195136.29019@uunet.uu.net> brnstnd@KRAMDEN.ACF.NYU.EDU
  4206. (Dan Bernstein) writes:
  4207. >Under BSD, you can easily set up a /inst/bin directory with symlinks to
  4208. >every officially ``installed'' executable. Users can then have /inst/bin
  4209. >in their paths instead of all the physical directories like /bin, /etc,
  4210. >/usr/bin, /usr/ucb, etc. Although the directory is large, the time for
  4211. >several failing execve()s is much larger than the time for searching one
  4212. >directory (especially with path caching as in BSD 4.3).
  4213.  
  4214. This might be a workable optimization on some implementations.
  4215. I don't see the significance to standards of the
  4216. implementation details of your shell.  There's no reason why a
  4217. shell has to find a utility by trial and error.
  4218.  
  4219. >Anyway, as vendors haven't come to any agreement on this facility---the
  4220. >current ``standard'' is to install most programs somewhere under
  4221. >/usr/local, with new subdirectories for big programs like ingres---I
  4222. >despise POSIX's attempts to name any particular solution a ``standard.''
  4223. >In the interests of security, efficiency, and backwards compatibility, I
  4224. >propose /inst/bin as a viable alternative to getconf. I suggest that
  4225. >POSIX look---and take its time looking---before it leaps.
  4226.  
  4227. Dan, do you really understand what getconf does?  I fail to see
  4228. how its use (properly protected) can make any program less
  4229. portable.  It's a utility to return information about system
  4230. limits and options, only one of which is a path.  It's the
  4231. POSIX.2 utility-level interface to the C functionality provided
  4232. by sysconf() and pathconf().  A blanket condemnation of getconf
  4233. based on your idea of the correct default path for installing
  4234. third-party software is nonsensical.
  4235.  
  4236. If your complaint is that the definition of _CS_PATH will
  4237. prevent the system administrator from performing the
  4238. optimization you suggest, I don't think you've thought the
  4239. problem through. If you want programs, including
  4240. vendor-supplied shell scripts, to use /inst/bin, move the
  4241. vendor-supplied getconf aside and provide your own version that
  4242. supplies your path for _CS_PATH and calls the original getconf
  4243. for other values.
  4244.  
  4245. If vendors use "getconf _CS_PATH" consistently, they'll make it
  4246. easier for you to implement your scheme.  Changing getconf will
  4247. optimize PATH searching for all the system's scripts, as well
  4248. as for your interactive users.  No hacking required when you
  4249. install a new release, either.
  4250.  
  4251.  
  4252. A puzzle for the reader (maybe this is obvious to everyone but
  4253. me):  How can a shell script determine whether it's running on
  4254. a POSIX.2 system?  If it calls getconf and getconf does not
  4255. exist, the shell may exit.  It could call getconf in a
  4256. subshell, but that's ugly and expensive.
  4257. -- 
  4258.  
  4259.     Chuck Karish        karish@mindcraft.com
  4260.     Mindcraft, Inc.        (415) 323-9000
  4261.  
  4262. Volume-Number: Volume 24, Number 51
  4263.  
  4264. From std-unix-request@uunet.UU.NET  Sun Jul 21 18:30:46 1991
  4265. Received: from relay1.UU.NET by uunet.UU.NET with SMTP 
  4266.     (5.61/UUNET-uucp-primary) id AA17655; Sun, 21 Jul 91 18:30:46 -0400
  4267. Received: from kithrup.com by relay1.UU.NET with SMTP 
  4268.     (5.61/UUNET-internet-primary) id AA07514; Sun, 21 Jul 91 18:30:40 -0400
  4269. Newsgroups: comp.std.unix
  4270. From: "c. dumitrache" <edb180v@monu6.cc.monash.edu.au>
  4271. Subject: Unix Developments -- Help !
  4272. Message-Id: <1991Jul21.222144.12210@uunet.uu.net>
  4273. Originator: sef@uunet.UU.NET
  4274. Keywords: Unix,OSF,X/open,Posix
  4275. Nntp-Posting-Host: uunet.uu.net
  4276. X-Submissions: std-unix@uunet.uu.net
  4277. Organization: Caulfield Campus, Monash University, Melb., Australia.
  4278. Date: Fri, 19 Jul 1991 03:53:59 GMT
  4279. Reply-To: std-unix@uunet.UU.NET
  4280. To: std-unix@uunet.UU.NET
  4281. Sender: Network News <news@kithrup.com>
  4282. Source-Info:  From (or Sender) name not authenticated.
  4283.  
  4284. Submitted-by: edb180v@monu6.cc.monash.edu.au (c. dumitrache)
  4285.  
  4286. I am a third year student in computer science at Monash
  4287. University in Melbourne.
  4288.  
  4289. I have been asked to research where Unix is at and where it
  4290. is going.
  4291.  
  4292. Topics include :
  4293. 1) OSF developments
  4294. 2) UI developments
  4295. 3) X/open developments
  4296. 4) Open system developments and Posix
  4297.  
  4298. Is there anyone willing to become my referee and guide me through 
  4299. my research ?
  4300.  
  4301. Any help and aricles of interest are much appreciated !
  4302.  
  4303. Catalin Dumitrache edb180v@monu6.cc.monash.edu.au
  4304.  
  4305. [ Reply through email, please. -- mod ]
  4306.  
  4307. Volume-Number: Volume 24, Number 52
  4308.  
  4309. From std-unix-request@uunet.UU.NET  Sun Jul 21 18:30:50 1991
  4310. Received: from relay1.UU.NET by uunet.UU.NET with SMTP 
  4311.     (5.61/UUNET-uucp-primary) id AA17664; Sun, 21 Jul 91 18:30:50 -0400
  4312. Received: from kithrup.com by relay1.UU.NET with SMTP 
  4313.     (5.61/UUNET-internet-primary) id AA07529; Sun, 21 Jul 91 18:30:46 -0400
  4314. Newsgroups: comp.std.unix
  4315. From: "Greg A. Woods" <eci386!woods>
  4316. Subject: Re: File system/directory structure standards needed
  4317. Message-Id: <1991Jul21.222339.12350@uunet.uu.net>
  4318. Originator: sef@uunet.UU.NET
  4319. Nntp-Posting-Host: uunet.uu.net
  4320. X-Submissions: std-unix@uunet.uu.net
  4321. Organization: Elegant Communications Inc.
  4322. References: <1991Jul16.035617.11450@uunet.uu.net>
  4323. Date: Fri, 19 Jul 1991 01:36:31 GMT
  4324. Reply-To: std-unix@uunet.UU.NET
  4325. To: std-unix@uunet.UU.NET
  4326. Sender: Network News <news@kithrup.com>
  4327. Source-Info:  From (or Sender) name not authenticated.
  4328.  
  4329. Submitted-by: woods@eci386.uucp (Greg A. Woods)
  4330.  
  4331. In article <1991Jul16.035617.11450@uunet.uu.net> jmoore@ssd.Kodak.Com (James H. Moore) writes:
  4332. > Has anyone worked these things out?  Are there RFCs?  Is
  4333. > POSIX.7 addressing these?
  4334.  
  4335. Well, some versions of 7th Edition UNIX came with a hier.7 man page,
  4336. and thus so did some V7 derived XENIX versions.
  4337.  
  4338. Then there's the AT&T SVID.  Issue 1, volume 1 has a section called
  4339. filsys(ba_env).  I believe this was translated into a man page in some
  4340. releases of SysV.  There's also envvar(ba_env) and system(ba_os) which
  4341. distill down to defining the default path as ":/bin:/usr/bin".
  4342.  
  4343. Finally, there's filesystem.7 on SysVr4.
  4344. -- 
  4345.                             Greg A. Woods
  4346. woods@{eci386,gate,robohack,ontmoh,tmsoft}.UUCP        ECI and UniForum Canada
  4347. +1-416-443-1734 [h]  +1-416-595-5425 [w]  VE3TCP    Toronto, Ontario CANADA
  4348. Political speech and writing are largely the defense of the indefensible-ORWELL
  4349.  
  4350.  
  4351. Volume-Number: Volume 24, Number 53
  4352.  
  4353. From std-unix-request@uunet.UU.NET  Sun Jul 21 18:31:02 1991
  4354. Received: from relay1.UU.NET by uunet.UU.NET with SMTP 
  4355.     (5.61/UUNET-uucp-primary) id AA17702; Sun, 21 Jul 91 18:31:02 -0400
  4356. Received: from kithrup.com by relay1.UU.NET with SMTP 
  4357.     (5.61/UUNET-internet-primary) id AA07538; Sun, 21 Jul 91 18:30:54 -0400
  4358. Newsgroups: comp.std.unix
  4359. From: Geoff Clare <gwc@root.co.uk>
  4360. Subject: Re: File system/directory structure standards needed
  4361. Message-Id: <1991Jul21.222540.12443@uunet.uu.net>
  4362. Originator: sef@uunet.UU.NET
  4363. Nntp-Posting-Host: uunet.uu.net
  4364. X-Submissions: std-unix@uunet.uu.net
  4365. Organization: UniSoft Ltd., London, England
  4366. References: <1991Jul3.193837.8849@uunet.uu.net> <1991Jul12.213625.7241@uunet.uu.net> <1991Jul16.223853.17387@uunet.uu.net>
  4367. Date: Fri, 19 Jul 1991 13:48:56 GMT
  4368. Reply-To: std-unix@uunet.UU.NET
  4369. To: std-unix@uunet.UU.NET
  4370. Sender: Network News <news@kithrup.com>
  4371. Source-Info:  From (or Sender) name not authenticated.
  4372.  
  4373. Submitted-by: gwc@root.co.uk (Geoff Clare)
  4374.  
  4375. peter@ficc.ferranti.com (Peter da Silva) writes:
  4376.  
  4377. >In article <1991Jul12.213625.7241@uunet.uu.net> decot@hpcupt1.cup.hp.com (Dave Decot) writes:
  4378. >> To be sure that you are "securely" running a standard utility, POSIX.2
  4379. >> provides the standard utility path via "getconf CS_PATH" that applications
  4380. >> can change their PATH to, and be assured of getting the standard version.
  4381.  
  4382. >Is getconf a builtin? If not, it itself can be spoofed!
  4383.  
  4384. Even if getconf is a builtin in the POSIX shell, what is there to stop
  4385. users running these "secure" scripts under a non-standard shell with a
  4386. getconf that just echoes the current PATH?
  4387.  
  4388. [ Requiring shell scripts to be interpreted by a specific shell or by
  4389.   a shell specified by the script, I would imagine. -- mod ]
  4390.  
  4391. -- 
  4392. Geoff Clare <gwc@root.co.uk>  (USA UUCP-only mailers: ...!uunet!root.co.uk!gwc)
  4393. UniSoft Limited, London, England.   Tel: +44 71 729 3773   Fax: +44 71 729 3273
  4394.  
  4395. Volume-Number: Volume 24, Number 54
  4396.  
  4397. From std-unix-request@uunet.UU.NET  Sun Jul 21 18:45:57 1991
  4398. Received: from relay1.UU.NET by uunet.UU.NET with SMTP 
  4399.     (5.61/UUNET-uucp-primary) id AA19811; Sun, 21 Jul 91 18:45:57 -0400
  4400. Received: from kithrup.com by relay1.UU.NET with SMTP 
  4401.     (5.61/UUNET-internet-primary) id AA08724; Sun, 21 Jul 91 18:45:40 -0400
  4402. Newsgroups: comp.std.unix
  4403. From: Dan Bernstein <brnstnd@kramden.acf.nyu.edu>
  4404. Subject: Re: File system/directory structure standards needed
  4405. Message-Id: <1991Jul21.222926.12659@uunet.uu.net>
  4406. Originator: sef@uunet.UU.NET
  4407. Nntp-Posting-Host: uunet.uu.net
  4408. X-Submissions: std-unix@uunet.uu.net
  4409. Organization: IR
  4410. References: <1991Jul3.193837.8849@uunet.uu.net> <1991Jul12.213625.7241@uunet.uu.net> <1991Jul16.223853.17387@uunet.uu.net> <1991Jul17.195136.29019@uunet.uu.net> <1991Jul19.033239.8917@uunet.uu.net>
  4411. Date: Fri, 19 Jul 1991 19:46:32 GMT
  4412. Reply-To: std-unix@uunet.UU.NET
  4413. To: std-unix@uunet.UU.NET
  4414. Sender: Network News <news@kithrup.com>
  4415. Source-Info:  From (or Sender) name not authenticated.
  4416.  
  4417. Submitted-by: brnstnd@KRAMDEN.ACF.NYU.EDU (Dan Bernstein)
  4418.  
  4419. In article <1991Jul19.033239.8917@uunet.uu.net> Chuck Karish (karish@mindcraft.com) writes:
  4420. > >Anyway, as vendors haven't come to any agreement on this facility---the
  4421. > >current ``standard'' is to install most programs somewhere under
  4422. > >/usr/local, with new subdirectories for big programs like ingres---I
  4423. > >despise POSIX's attempts to name any particular solution a ``standard.''
  4424. > >In the interests of security, efficiency, and backwards compatibility, I
  4425. > >propose /inst/bin as a viable alternative to getconf. I suggest that
  4426. > >POSIX look---and take its time looking---before it leaps.
  4427. > Dan, do you really understand what getconf does?  I fail to see
  4428. > how its use (properly protected) can make any program less
  4429. > portable.
  4430.  
  4431. My objection is to the idea of standardizing something which vendors
  4432. haven't even begun to look at. I feel the same way about sysconf() and
  4433. pathconf(), POSIX sessions (oh, right, HP-UX already had something like
  4434. this---how dare I argue against such a precedent?), and most of POSIX's
  4435. other inventions.
  4436.  
  4437. In this particular case, existing programs can be used with /inst/bin
  4438. without even changing the source code. All you have to do is change the
  4439. default system PATH. Adding getconf to a program means that the program
  4440. will no longer work on the vast majority of systems. That's what I mean
  4441. by unportable.
  4442.  
  4443. > A puzzle for the reader (maybe this is obvious to everyone but
  4444. > me):  How can a shell script determine whether it's running on
  4445. > a POSIX.2 system?  If it calls getconf and getconf does not
  4446. > exist, the shell may exit.  It could call getconf in a
  4447. > subshell, but that's ugly and expensive.
  4448.  
  4449. Congratulations. You just hit the nail right on the head.
  4450.  
  4451. ---Dan
  4452.  
  4453. Volume-Number: Volume 24, Number 55
  4454.  
  4455. From std-unix-request@uunet.UU.NET  Mon Jul 22 17:15:59 1991
  4456. Received: from relay1.UU.NET by uunet.UU.NET with SMTP 
  4457.     (5.61/UUNET-uucp-primary) id AA04365; Mon, 22 Jul 91 17:15:59 -0400
  4458. Received: from kithrup.com by relay1.UU.NET with SMTP 
  4459.     (5.61/UUNET-internet-primary) id AA19208; Mon, 22 Jul 91 17:15:55 -0400
  4460. Newsgroups: comp.std.unix
  4461. From: Kai Henningsen <ZV0012%DMSWWU1C.BITNET@vm1.gatech.edu>
  4462. Subject: Re: File system/directory structure standards needed
  4463. Message-Id: <1991Jul22.210408.23708@uunet.uu.net>
  4464. Originator: sef@uunet.UU.NET
  4465. Nntp-Posting-Host: uunet.uu.net
  4466. X-Submissions: std-unix@uunet.uu.net
  4467. Organization: UUNET Communications Services
  4468. References: <1991Jul3.193837.8849@uunet.uu.net> <1991Jul19.033239.8917@uunet.uu.net>,
  4469. Date: Mon, 22 Jul 1991 23:22:00 GMT
  4470. Reply-To: std-unix@uunet.UU.NET
  4471. To: std-unix@uunet.UU.NET
  4472. Sender: Network News <news@kithrup.com>
  4473. Source-Info:  From (or Sender) name not authenticated.
  4474.  
  4475. Submitted-by: ZV0012%DMSWWU1C.BITNET@VM1.gatech.edu (Kai Henningsen)
  4476.  
  4477. In article <1991Jul19.033239.8917@uunet.uu.net>, karish@mindcraft.com (Chuck
  4478. Karish) says:
  4479. >A puzzle for the reader (maybe this is obvious to everyone but
  4480. >me):  How can a shell script determine whether it's running on
  4481. >a POSIX.2 system?  If it calls getconf and getconf does not
  4482. >exist, the shell may exit.  It could call getconf in a
  4483. >subshell, but that's ugly and expensive.
  4484.  
  4485. I don't know what POSIX says, but I'd expect an analog to POSIX.1 -
  4486. an environment variable telling which version of POSIX we are.
  4487. POSIX.1 does the same with #define.
  4488.  
  4489. Volume-Number: Volume 24, Number 56
  4490.  
  4491. From std-unix-request@uunet.UU.NET  Mon Jul 22 17:16:06 1991
  4492. Received: from relay1.UU.NET by uunet.UU.NET with SMTP 
  4493.     (5.61/UUNET-uucp-primary) id AA04411; Mon, 22 Jul 91 17:16:06 -0400
  4494. Received: from kithrup.com by relay1.UU.NET with SMTP 
  4495.     (5.61/UUNET-internet-primary) id AA19212; Mon, 22 Jul 91 17:15:55 -0400
  4496. Newsgroups: comp.std.unix
  4497. From: "James H. Moore (726-0322" <jmoore@ssd.kodak.com>
  4498. Mmdf-Warning:  Parse error in original version of preceding line at kithrup.com
  4499. Subject: Re: File system/directory structure standards needed
  4500. Message-Id: <1991Jul22.210537.23817@uunet.uu.net>
  4501. Originator: sef@uunet.UU.NET
  4502. Nntp-Posting-Host: uunet.uu.net
  4503. X-Submissions: std-unix@uunet.uu.net
  4504. Organization: Eastman Kodak
  4505. References: <1991Jul12.213625.7241@uunet.uu.net> <1991Jul16.223853.17387@uunet.uu.net> <1991Jul17.195136.29019@uunet.uu.net>
  4506. Date: Mon, 22 Jul 1991 18:55:57 GMT
  4507. Reply-To: std-unix@uunet.UU.NET
  4508. To: std-unix@uunet.UU.NET
  4509. Sender: Network News <news@kithrup.com>
  4510. Source-Info:  From (or Sender) name not authenticated.
  4511.  
  4512. Submitted-by: jmoore@ssd.Kodak.Com (James H. Moore (726-0322)))
  4513.  
  4514. In article <1991Jul17.195136.29019@uunet.uu.net> brnstnd@KRAMDEN.ACF.NYU.EDU (Dan Bernstein) writes:
  4515. >
  4516. >Submitted-by: brnstnd@KRAMDEN.ACF.NYU.EDU (Dan Bernstein)
  4517. >
  4518. >Under BSD, you can easily set up a /inst/bin directory with symlinks to
  4519. >every officially ``installed'' executable. Users can then have /inst/bin
  4520. >in their paths instead of all the physical directories like /bin, /etc,
  4521. >/usr/bin, /usr/ucb, etc. 
  4522.  
  4523. This is fine, except when you have to consider shared libraries, and
  4524. man page groupings.  Also, what happens when you have multiple releases?
  4525. You bring up, and test a new release, but users which are finishing
  4526. up a project want a stable, known environment, and insist on keeping the old
  4527. familiar version around.  Most likely, you will have to rename some commands,
  4528. something.old or something equally tedious and annoying.
  4529.  
  4530. >Even on System V, you can put hard links in /inst/bin, ...
  4531.  
  4532. See above:
  4533.  
  4534. >Anyway, as vendors haven't come to any agreement on this facility---the
  4535. >current ``standard'' is to install most programs somewhere under
  4536. >/usr/local, with new subdirectories for big programs like ingres
  4537.  
  4538. We have already found that a single /usr/local, with everything dumped under
  4539. there is not optimal, as "local" can have several meanings, e.g. local
  4540. to the machine, local to the subnet, common to the division ... .
  4541.  
  4542. Still, with "big programs" like ingres or say frame maker, what does the
  4543. directory structure look like underneath the subdirectory?  It does make
  4544. a difference are there multiple architectures? How do you pick up your
  4545. architecture?  What if it is a window based tool, and there are different
  4546. binaries for different GUIs?  
  4547.  
  4548. >I despise POSIX's attempts to name any particular solution a ``standard.''
  4549. >In the interests of security, efficiency, and backwards compatibility, I
  4550. >propose /inst/bin as a viable alternative to getconf. I suggest that
  4551. >POSIX look---and take its time looking---before it leaps.
  4552.  
  4553. We will always be stuck with rearranging directories and renaming them
  4554. unless some guidelines are laid down.  Most system administrators that I
  4555. know have better, more interesting things to do with their time than
  4556. merge man page directories, shared libraries, and rename directories,
  4557. and build links.   Sometimes things are so tied to GUI or whatever,
  4558. that "common" directories are impossible, and that the encapsulation 
  4559. of the vendor needs to be retained.  Can we guide the encapsulation
  4560. process and how to recognize particular types of encpsulation?  Can we
  4561. talk about what we can mean by "local" ?  How do we handle different
  4562. types of locality?
  4563.  
  4564. >
  4565. >---Dan
  4566. Thanks for your input
  4567.  
  4568.                     Jim Moore
  4569. -- 
  4570. - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
  4571. - - - - James H. Moore, USC, ISPD, Eastman Kodak Co, (716)975-0420  - - -
  4572. - -  jmoore@ssd.kodak.com, PROFS: DDTC12(JMOORE)  VMS: DDTC12::JMOORE - -
  4573.  May the Lord bless you, in Jesus's name for blessing me with your help!
  4574.  
  4575. Volume-Number: Volume 24, Number 57
  4576.  
  4577. From std-unix-request@uunet.UU.NET  Mon Jul 22 17:16:23 1991
  4578. Received: from relay1.UU.NET by uunet.UU.NET with SMTP 
  4579.     (5.61/UUNET-uucp-primary) id AA04498; Mon, 22 Jul 91 17:16:23 -0400
  4580. Received: from kithrup.com by relay1.UU.NET with SMTP 
  4581.     (5.61/UUNET-internet-primary) id AA19252; Mon, 22 Jul 91 17:16:06 -0400
  4582. Newsgroups: comp.std.unix
  4583. From: Chuck Karish <karish@mindcraft.com>
  4584. Subject: Re: File system/directory structure standards needed
  4585. Message-Id: <1991Jul22.210828.23994@uunet.uu.net>
  4586. Summary: innovation considered non-harmful
  4587. Originator: sef@uunet.UU.NET
  4588. Nntp-Posting-Host: uunet.uu.net
  4589. X-Submissions: std-unix@uunet.uu.net
  4590. Organization: Mindcraft, Inc.
  4591. References: <1991Jul3.193837.8849@uunet.uu.net> <1991Jul12.213625.7241@uunet.uu.net> <1991Jul16.223853.17387@uunet.uu.net> <1991Jul17.195136.29019@uunet.uu.net> <1991Jul19.033239.8917@uunet.uu.net> <1991Jul21.222926.12659@uunet.uu.net>
  4592. Date: Mon, 22 Jul 1991 19:30:49 GMT
  4593. Reply-To: std-unix@uunet.UU.NET
  4594. To: std-unix@uunet.UU.NET
  4595. Sender: Network News <news@kithrup.com>
  4596. Source-Info:  From (or Sender) name not authenticated.
  4597.  
  4598. Submitted-by: karish@mindcraft.com (Chuck Karish)
  4599.  
  4600. In article <1991Jul21.222926.12659@uunet.uu.net> brnstnd@KRAMDEN.ACF.NYU.EDU
  4601. (Dan Bernstein) writes:
  4602. >In article <1991Jul19.033239.8917@uunet.uu.net> Chuck Karish
  4603. >(karish@mindcraft.com) writes:
  4604. [ Dan Bernstein wrote: ]
  4605. [ Secondary included text deleted for brevity's sake -- mod ]
  4606. >My objection is to the idea of standardizing something which vendors
  4607. >haven't even begun to look at. I feel the same way about sysconf() and
  4608. >pathconf(), POSIX sessions (oh, right, HP-UX already had something like
  4609. >this---how dare I argue against such a precedent?), and most of POSIX's
  4610. >other inventions.
  4611.  
  4612. If you've been paying attention to this newsgroup, you know
  4613. that POSIX sessions were invented because, when the working
  4614. group tried to write a specification for job control, they
  4615. discovered that the BSD behavior was underspecified and
  4616. inconsistent.  They chose invention as the lesser of two
  4617. evils rather than standardize on something that was wrong.
  4618.  
  4619. To elaborate on the security and efficiency issues, I fail to
  4620. see that either getconf or /inst/bin has any impact on the
  4621. administrator's ability to maintain reasonable system security.
  4622. The directories and executables in the default path, including
  4623. getconf, have to be protected no matter how many links there are
  4624. to each file.  If it's possible for a bad guy to put a Trojan
  4625. horse into the default path it doesn't matter whether its name
  4626. is 'getconf' or 'login' or 'sh' or '/.profile' or '/etc/environment'.
  4627.  
  4628. As others have pointed out, the efficiency of using /inst/bin
  4629. depends on the implementation.  I consider it to be a poor
  4630. candidate for standardization.  If you want to use it on
  4631. systems where it helps, go ahead.  Nothing in 1003.1 or 1003.2
  4632. will break it.
  4633.  
  4634. >In this particular case, existing programs can be used with /inst/bin
  4635. >without even changing the source code. All you have to do is change the
  4636. >default system PATH. Adding getconf to a program means that the program
  4637. >will no longer work on the vast majority of systems. That's what I mean
  4638. >by unportable.
  4639.  
  4640. There's a simple fix that makes such scripts work:  install
  4641. getconf.  It's easy to implement and no harder to install than
  4642. patch or compress, which I regularly install on new systems in
  4643. order to port other programs.  Scripts can be written to use
  4644. getconf only if it exists, which allows them to be portable to
  4645. non-POSIX.2 systems.
  4646.  
  4647. The issue of script portability is something of a red herring,
  4648. because it has never been possible to write really portable
  4649. scripts.  There's just too much variability in internal limits
  4650. and return codes in utilities, which are formally standardized
  4651. for the first time ("our implementation IS the standard",
  4652. as AT&T is fond of saying, doesn't cut it) in POSIX.2.
  4653.  
  4654. getconf, sysconf(), pathconf() and fpathconf() exist to make it
  4655. possible to allow programs to make full use of system
  4656. capabilities without being re-compiled for differently-
  4657. configured members of a binary-compatible family and without
  4658. being crippled down to a lowest common denominator.  If
  4659. you're happy to write code that works only on BSD systems,
  4660. you're free to continue to do so.  Others who try to write
  4661. portable programs can protect calls to pathconf(), sysconf(),
  4662. etc. inside "#ifdef _POSIX_SOURCE" blocks and leave the
  4663. traditional porting hackery to you, if that's what you want.
  4664.  
  4665. >> A puzzle for the reader (maybe this is obvious to everyone but
  4666. >> me):  How can a shell script determine whether it's running on
  4667. >> a POSIX.2 system?  If it calls getconf and getconf does not
  4668. >> exist, the shell may exit.  It could call getconf in a
  4669. >> subshell, but that's ugly and expensive.
  4670. >
  4671. >Congratulations. You just hit the nail right on the head.
  4672.  
  4673. There's a trivial fix for this, too: 1003.2 could require
  4674. conforming systems or shells to pre-define an environment
  4675. variable to indicate that POSIX.2 features are available.  Has
  4676. this been considered?  If so, why was it rejected?
  4677. -- 
  4678.  
  4679.     Chuck Karish        karish@mindcraft.com
  4680.     Mindcraft, Inc.        (415) 323-9000
  4681.  
  4682. Volume-Number: Volume 24, Number 58
  4683.  
  4684. From std-unix-request@uunet.UU.NET  Mon Jul 22 18:31:04 1991
  4685. Received: from relay1.UU.NET by uunet.UU.NET with SMTP 
  4686.     (5.61/UUNET-uucp-primary) id AA27899; Mon, 22 Jul 91 18:31:04 -0400
  4687. Received: from kithrup.com by relay1.UU.NET with SMTP 
  4688.     (5.61/UUNET-internet-primary) id AA07364; Mon, 22 Jul 91 18:30:56 -0400
  4689. Newsgroups: comp.std.unix
  4690. From: Eric Gisin <mks!eric>
  4691. Subject: Re: File system/directory structure standards needed
  4692. Message-Id: <1991Jul22.221944.27811@uunet.uu.net>
  4693. Originator: sef@uunet.UU.NET
  4694. Nntp-Posting-Host: uunet.uu.net
  4695. X-Submissions: std-unix@uunet.uu.net
  4696. Organization: Mortice Kern Systems Inc., Waterloo, Ontario, CANADA
  4697. References: <1991Jul3.193837.8849@uunet.uu.net> <1991Jul21.222926.12659@uunet.uu.net>
  4698. Date: Mon, 22 Jul 1991 22:03:57 GMT
  4699. Reply-To: std-unix@uunet.UU.NET
  4700. To: std-unix@uunet.UU.NET
  4701. Sender: Network News <news@kithrup.com>
  4702. Source-Info:  From (or Sender) name not authenticated.
  4703.  
  4704. Submitted-by: eric@mks.uucp (Eric Gisin)
  4705.  
  4706. In article <1991Jul21.222926.12659@uunet.uu.net> brnstnd@KRAMDEN.ACF.NYU.EDU (Dan Bernstein) writes:
  4707.    In article <1991Jul19.033239.8917@uunet.uu.net> Chuck Karish (karish@mindcraft.com) writes:
  4708. >   > A puzzle for the reader (maybe this is obvious to everyone but
  4709.    > me):  How can a shell script determine whether it's running on
  4710.    > a POSIX.2 system?  If it calls getconf and getconf does not
  4711.    > exist, the shell may exit.  It could call getconf in a
  4712.    > subshell, but that's ugly and expensive.
  4713.  
  4714. >   Congratulations. You just hit the nail right on the head.
  4715.  
  4716. I don't see any problem. The most obvious solution is:
  4717.     if PATH=`command -p getconf _CS_PATH`;
  4718.     then # POSIX.2
  4719.     else PATH=<default>
  4720.     fi
  4721. Or simply:
  4722.     PATH=`command -p getconf _CS_PATH` || PATH=<default>
  4723.  
  4724. There is a problem if you want to redirect command's error with 2>/dev/null.
  4725. Existing shells may print errors after (Korn) or before (Bourne) redirection.
  4726.  
  4727. Volume-Number: Volume 24, Number 59
  4728.  
  4729. From std-unix-request@uunet.UU.NET  Tue Jul 23 03:16:08 1991
  4730. Received: from relay1.UU.NET by uunet.UU.NET with SMTP 
  4731.     (5.61/UUNET-uucp-primary) id AA20224; Tue, 23 Jul 91 03:16:08 -0400
  4732. Received: from kithrup.com by relay1.UU.NET with SMTP 
  4733.     (5.61/UUNET-internet-primary) id AA29171; Tue, 23 Jul 91 03:15:56 -0400
  4734. Newsgroups: comp.std.unix
  4735. From: Dan Bernstein <brnstnd@kramden.acf.nyu.edu>
  4736. Subject: Re: File system/directory structure standards needed
  4737. Message-Id: <1991Jul23.065617.20086@uunet.uu.net>
  4738. Originator: sef@uunet.UU.NET
  4739. Nntp-Posting-Host: uunet.uu.net
  4740. X-Submissions: std-unix@uunet.uu.net
  4741. Organization: IR
  4742. References: <1991Jul19.033239.8917@uunet.uu.net> <1991Jul21.222926.12659@uunet.uu.net> <1991Jul22.210828.23994@uunet.uu.net>
  4743. Date: Tue, 23 Jul 1991 05:15:07 GMT
  4744. Reply-To: std-unix@uunet.UU.NET
  4745. To: std-unix@uunet.UU.NET
  4746. Sender: Network News <news@kithrup.com>
  4747. Source-Info:  From (or Sender) name not authenticated.
  4748.  
  4749. Submitted-by: brnstnd@KRAMDEN.ACF.NYU.EDU (Dan Bernstein)
  4750.  
  4751. In the referenced article, Chuck points out that POSIX invented sessions
  4752. because they wanted to fix job control. I'm quite aware of this: when I
  4753. was complaining about sessions a while back Marc Teitelbaum showed me
  4754. what the discussion had been like. There's just one problem.
  4755.  
  4756. In POSIX, job control is an option. Sessions aren't. I defy any POSIX
  4757. supporter to defend this.
  4758.  
  4759. (My guess, btw, is that the committee was thinking about tty security,
  4760. and thought that by adding POSIX sessions they could solve the problems.
  4761. Indeed, published claims by Convex, Sun, and even CERT would lead most
  4762. people to believe that this is true. It's not. POSIX sessions don't help
  4763. tty security one bit.)
  4764.  
  4765. Even without sessions in the way, POSIX job control is not backwards
  4766. compatible. It's missing some BSD features and it added some others.
  4767. (For instance, a BSD program can be in the foreground on one terminal
  4768. and the background on another. Under POSIX a process is either in the
  4769. foreground or in the background [with respect to its controlling
  4770. terminal], and access to other ttys simply doesn't have job control.
  4771. This ``feature'' broke emacs and screen, among other programs.)
  4772.  
  4773. In response to my complaint that POSIX invents one thing after another,
  4774. Chuck finishes his example of job control with this:
  4775.  
  4776. karish@mindcraft.com (Chuck Karish) writes:
  4777. > They chose invention as the lesser of two
  4778. > evils rather than standardize on something that was wrong.
  4779.  
  4780. Oh, I agree that the BSD job control model was wrong. I agree that
  4781. standardizing on a model with many huge flaws is stupid. By what stretch
  4782. of the imagination does this mean that standardizing on another model,
  4783. which not only has its own flaws but is compatible with nothing and
  4784. ridiculously complex, is any less stupid?
  4785.  
  4786. Your unstated assumption is that POSIX had to settle on *something*.
  4787. That's crazy. You don't go making standards this way. It is far, far
  4788. better to leave something completely unstandardized than to invent a
  4789. standard out of thin air.
  4790.  
  4791. Readers of comp.unix.wizards will have seen my new, extremely simple job
  4792. control model, inspired by a comment from Chris Torek. The model solves
  4793. all the problems that POSIX invented sessions to solve. It doesn't need
  4794. cttys or sessions. The programming interface consists of exactly three
  4795. function calls for manipulating process groups, yet it's enough to
  4796. implement a job-control shell. It doesn't interfere with BSD or POSIX
  4797. job control, so vendors can implement it safely.
  4798.  
  4799. Five people responded to that article. Three liked the model. One asked
  4800. how he could do certain operations; there were solutions in each case,
  4801. but he did convince me that it would probably be easier if one of the
  4802. calls were extended or a new call were available.
  4803.  
  4804. The last observed acidly that I'd never get NIST to change its mind
  4805. about a FIPS. Job control will never change again.
  4806.  
  4807. She was right. I like to think that if POSIX hadn't tried to standardize
  4808. job control, some vendors would have implemented my model, some programs
  4809. would have been written to use it, and eventually the sheer simplicity
  4810. of the interface would win most vendors and programmers over within five
  4811. or ten years. But POSIX did standardize job control. They took BSD job
  4812. control, mangled it, patched it so that the flaws were well concealed,
  4813. and made it into a standard that won't change in the foreseeable future.
  4814. Even worse, although they sensibly decided to make job control a mere
  4815. option, they made the patches mandatory. NIST drove the last nail when
  4816. it required the option as well.
  4817.  
  4818. I doubt that anything will change now. Vendors climb the POSIX peak and
  4819. think their users will be happy. They don't want to experiment---who can
  4820. improve on a standard? I can rewrite job control programs to use my
  4821. model, but without a platform I won't be able to convince anyone else to
  4822. follow my lead. Even Berkeley---once the home of UNIX innovation---cares
  4823. more about POSIX compliance than about trying to make life simpler for
  4824. programmers.
  4825.  
  4826. And you, Chuck, tell me that this is how it should be.
  4827.  
  4828. > To elaborate on the security and efficiency issues, I fail to
  4829. > see that either getconf or /inst/bin has any impact on the
  4830. > administrator's ability to maintain reasonable system security.
  4831.  
  4832. As others have pointed out, it is rather difficult to introduce getconf
  4833. into a system so that it actually increases security. You have to change
  4834. system() so that it always uses sh. You have to make getconf---or at
  4835. least the path part of it---a shell builtin. Programs which want to use
  4836. this convention for a secure PATH then have to spawn an extra process.
  4837.  
  4838. In contrast, to introduce /inst/bin into a system is easy. Just make the
  4839. directory and add the links. Programs which want to use this convention
  4840. for a secure PATH can simply call /inst/bin/tee and so on. Even better,
  4841. if you do want to go to all the effort of recompiling programs and
  4842. changing libraries, you can change the default login path to /inst/bin,
  4843. and all your old programs will use the path automatically. On some
  4844. systems you don't even have to recompile---you can just add a line to
  4845. /etc/cshrc and /etc/profile.
  4846.  
  4847. > As others have pointed out, the efficiency of using /inst/bin
  4848. > depends on the implementation.
  4849.  
  4850. Ah, but at least it's getting faster, as more and more vendors adopt
  4851. symlinks. For comparison, the efficiency of getconf doesn't really
  4852. depend on the implementation. It's slow everywhere.
  4853.  
  4854. > I consider it to be a poor
  4855. > candidate for standardization.
  4856.  
  4857. Oh, I do too. I consider every solution to this problem to be a poor
  4858. candidate for standardization, because (drum roll):
  4859.  
  4860.     The Market Hath Not Chosen A Solution.
  4861.     The Market Hath Hardly Even Considered The Problem.
  4862.  
  4863. Can you name a single vendor which has a solution to the problem of a
  4864. secure path for installed utilities? I'm listening.
  4865.  
  4866. > >In this particular case, existing programs can be used with /inst/bin
  4867. > >without even changing the source code. All you have to do is change the
  4868. > >default system PATH. Adding getconf to a program means that the program
  4869. > >will no longer work on the vast majority of systems. That's what I mean
  4870. > >by unportable.
  4871. > There's a simple fix that makes such scripts work:  install
  4872. > getconf.
  4873.  
  4874. But that requires work on the part of *everyone* who wants to use the
  4875. script! Surely you admit that this is not a good thing when it can be
  4876. avoided.
  4877.  
  4878. > The issue of script portability is something of a red herring,
  4879. > because it has never been possible to write really portable
  4880. > scripts.
  4881.  
  4882. Uh, say what? People *do* write scripts all the time which work on lots
  4883. of systems; Configure is a supreme example, but nearly every script is
  4884. portable to similar machines.
  4885.  
  4886. > getconf, sysconf(), pathconf() and fpathconf() exist to make it
  4887. > possible to allow programs to make full use of system
  4888. > capabilities without being re-compiled for differently-
  4889. > configured members of a binary-compatible family and without
  4890. > being crippled down to a lowest common denominator.
  4891.  
  4892. Here's your unstated assumption again: that the standard *has* to
  4893. provide some way to do anything that systems code might want to do.
  4894. Why? Why is this sort of invention better than letting the market come
  4895. to a consensus on each feature first?
  4896.  
  4897. ---Dan
  4898.  
  4899. Volume-Number: Volume 24, Number 60
  4900.  
  4901. From std-unix-request@uunet.UU.NET  Wed Jul 24 15:46:31 1991
  4902. Received: from relay1.UU.NET by uunet.UU.NET with SMTP 
  4903.     (5.61/UUNET-uucp-primary) id AA06246; Wed, 24 Jul 91 15:46:31 -0400
  4904. Received: from kithrup.com by relay1.UU.NET with SMTP 
  4905.     (5.61/UUNET-internet-primary) id AA20171; Wed, 24 Jul 91 15:46:17 -0400
  4906. Newsgroups: comp.std.unix
  4907. From: Alain Williams <addw@phcomp.co.uk>
  4908. Subject: Re: File system/directory structure standards needed
  4909. Message-Id: <1991Jul24.192900.11938@uunet.uu.net>
  4910. Originator: sef@uunet.UU.NET
  4911. Nntp-Posting-Host: uunet.uu.net
  4912. X-Submissions: std-unix@uunet.uu.net
  4913. Organization: Parliament Hill Computers Ltd
  4914. Date: Tue, 23 Jul 1991 09:14:17 GMT
  4915. Reply-To: std-unix@uunet.UU.NET
  4916. To: std-unix@uunet.UU.NET
  4917. Sender: Network News <news@kithrup.com>
  4918. Source-Info:  From (or Sender) name not authenticated.
  4919.  
  4920. Submitted-by: addw@phcomp.co.uk (Alain Williams)
  4921.  
  4922. > >A puzzle for the reader (maybe this is obvious to everyone but
  4923. > >me):  How can a shell script determine whether it's running on
  4924. > >a POSIX.2 system?  If it calls getconf and getconf does not
  4925. > >exist, the shell may exit.  It could call getconf in a
  4926. > >subshell, but that's ugly and expensive.
  4927. > I don't know what POSIX says, but I'd expect an analog to POSIX.1 -
  4928. > an environment variable telling which version of POSIX we are.
  4929. > POSIX.1 does the same with #define.
  4930. Yuck! There is too much in the environment already, and anyway it is far
  4931. too easily changed (accidentally or otherwise).
  4932.  
  4933. What is really wanted is something which can be easily put onto systems, both
  4934. new and existing. One of the problems is "OK we invent a way of doing it,
  4935. but there are still many systems out there which won't have it/do it". Have
  4936. you tried writing a portable program in ansi C ? We have to live with the
  4937. old ones for a while.
  4938.  
  4939. The old machines had commands like `vax' and `pdp11'. That was never really
  4940. developed/continued (sigh).
  4941.  
  4942. OK, use getconf, but what if it doesn't exist. Well, you could use my `path'
  4943. program to find out if it exists. It is a (Bourne) shell script, so portable
  4944. and not very long. I will post it to this list if you think that it would
  4945. be useful. I use it quite a lot for all sorts of things, eg:
  4946.     size `path emacs vi`
  4947. and it can be illuminating to try:
  4948.     path -a some_command
  4949.  
  4950. Alain Williams
  4951. +44 734 461232
  4952. phLOGIN our Turnkey Security Login utility is available NOW - ask me for info.
  4953.  
  4954. Volume-Number: Volume 24, Number 61
  4955.  
  4956. From std-unix-request@uunet.UU.NET  Wed Jul 24 15:46:37 1991
  4957. Received: from relay1.UU.NET by uunet.UU.NET with SMTP 
  4958.     (5.61/UUNET-uucp-primary) id AA06287; Wed, 24 Jul 91 15:46:37 -0400
  4959. Received: from kithrup.com by relay1.UU.NET with SMTP 
  4960.     (5.61/UUNET-internet-primary) id AA20180; Wed, 24 Jul 91 15:46:21 -0400
  4961. Newsgroups: comp.std.unix
  4962. From: peter da silva <peter@ficc.ferranti.com>
  4963. Subject: Re: File system/directory structure standards needed
  4964. Message-Id: <1991Jul24.193022.12044@uunet.uu.net>
  4965. Originator: sef@uunet.UU.NET
  4966. Nntp-Posting-Host: uunet.uu.net
  4967. X-Submissions: std-unix@uunet.uu.net
  4968. Organization: Ferranti International Controls Corporation
  4969. References: <1991Jul3.193837.8849@uunet.uu.net> <1991Jul22.210828.23994@uunet.uu.net> <1991Jul22.210828.23994@uunet.uu.net>,
  4970. Date: Tue, 23 Jul 1991 18:10:28 GMT
  4971. Reply-To: std-unix@uunet.UU.NET
  4972. To: std-unix@uunet.UU.NET
  4973. Sender: Network News <news@kithrup.com>
  4974. Source-Info:  From (or Sender) name not authenticated.
  4975.  
  4976. Submitted-by: peter@ficc.ferranti.com (peter da silva)
  4977.  
  4978. In article <1991Jul22.210828.23994@uunet.uu.net>, karish@mindcraft.com (Chuck Karish) writes:
  4979. > POSIX sessions were invented because, when the working
  4980. > group tried to write a specification for job control, they
  4981. > discovered that the BSD behavior was underspecified and
  4982. > inconsistent.  They chose invention as the lesser of two
  4983. > evils rather than standardize on something that was wrong.
  4984.  
  4985. How about just leaving it out altogether?
  4986.  
  4987. Seriously... what is so compelling about job control that it *must* be
  4988. put into POSIX.2?
  4989.  
  4990. [ I think Peter means .1 -- mod ]
  4991.  
  4992. -- 
  4993. Peter da Silva; Ferranti International Controls Corporation; +1 713 274 5180;
  4994. Sugar Land, TX  77487-5012;         `-_-' "Have you hugged your wolf, today?"
  4995.  
  4996.  
  4997. Volume-Number: Volume 24, Number 62
  4998.  
  4999. From std-unix-request@uunet.UU.NET  Wed Jul 24 15:46:57 1991
  5000. Received: from relay1.UU.NET by uunet.UU.NET with SMTP 
  5001.     (5.61/UUNET-uucp-primary) id AA06379; Wed, 24 Jul 91 15:46:57 -0400
  5002. Received: from kithrup.com by relay1.UU.NET with SMTP 
  5003.     (5.61/UUNET-internet-primary) id AA20291; Wed, 24 Jul 91 15:46:35 -0400
  5004. Newsgroups: comp.std.unix
  5005. From: Chuck Karish <karish@mindcraft.com>
  5006. Subject: Re: File system/directory structure standards needed
  5007. Message-Id: <1991Jul24.193330.12366@uunet.uu.net>
  5008. Originator: sef@uunet.UU.NET
  5009. Nntp-Posting-Host: uunet.uu.net
  5010. X-Submissions: std-unix@uunet.uu.net
  5011. Organization: Mindcraft, Inc.
  5012. References: <1991Jul19.033239.8917@uunet.uu.net> <1991Jul21.222926.12659@uunet.uu.net> <1991Jul22.210828.23994@uunet.uu.net> <1991Jul23.065617.20086@uunet.uu.net>
  5013. Date: Tue, 23 Jul 1991 23:19:39 GMT
  5014. Reply-To: std-unix@uunet.UU.NET
  5015. To: std-unix@uunet.UU.NET
  5016. Sender: Network News <news@kithrup.com>
  5017. Source-Info:  From (or Sender) name not authenticated.
  5018.  
  5019. Submitted-by: karish@mindcraft.com (Chuck Karish)
  5020.  
  5021. In article <1991Jul23.065617.20086@uunet.uu.net> brnstnd@KRAMDEN.ACF.NYU.EDU
  5022. (Dan Bernstein) writes:
  5023. >karish@mindcraft.com (Chuck Karish) writes:
  5024.  
  5025. >I like to think that if POSIX hadn't tried to standardize
  5026. >job control, some vendors would have implemented my model, some programs
  5027. >would have been written to use it, and eventually the sheer simplicity
  5028. >of the interface would win most vendors and programmers over within five
  5029. >or ten years.
  5030. >And you, Chuck, tell me that this is how it should be.
  5031.  
  5032. Sorry, Dan.  No more straight lines from me.  You'll have to
  5033. provide your own soapbox.
  5034.  
  5035. >I consider every solution to this problem to be a poor
  5036. >candidate for standardization, because (drum roll):
  5037. >
  5038. >    The Market Hath Not Chosen A Solution.
  5039. >    The Market Hath Hardly Even Considered The Problem.
  5040. >
  5041. >Can you name a single vendor which has a solution to the problem of a
  5042. >secure path for installed utilities? I'm listening.
  5043.  
  5044. The 1003.2 committee doesn't even see the same problem that
  5045. Dan Bernstein does.  _CS_PATH is there for usability, not
  5046. for security.
  5047.  
  5048. Market forces tend to cause divergence on many technical
  5049. points, rather than agreement.  UNIX systems have been able
  5050. to stay reasonably compatible through the years because of
  5051. a lack of market forces in shaping the basic system: AT&T
  5052. owned it and sold it at reasonable rates with few restrictions.
  5053. Over the last four years competition has splintered the 
  5054. market for UNIX-based workstations.
  5055.  
  5056. >> There's a simple fix that makes [getconf-using] scripts work:  install
  5057. >> getconf.
  5058. >
  5059. >But that requires work on the part of *everyone* who wants to use the
  5060. >script!
  5061.  
  5062. Not everyone; just every system administrator who wants to
  5063. run new software on an obsolete operating system.  Good
  5064. scripts will be written to work properly with or without
  5065. getconf, anyway.
  5066.  
  5067. >> The issue of script portability is something of a red herring,
  5068. >> because it has never been possible to write really portable
  5069. >> scripts.
  5070. >
  5071. >Uh, say what? People *do* write scripts all the time which work on lots
  5072. >of systems; Configure is a supreme example, but nearly every script is
  5073. >portable to similar machines.
  5074.  
  5075. If they require "similar machines", what does "portable" mean?
  5076. UNIX utilities vary quite a bit in syntax, return status, and
  5077. undocumented internal limits.  The goal of POSIX.2 is to get
  5078. rid of a lot of these pitfalls.  getconf is there to make
  5079. visible those differences that aren't to be eliminated.
  5080.  
  5081. "Configure" is a particularly ironic example, because it makes
  5082. inferences about the host that don't always stand up on
  5083. machines that have multiple universes or lots of compatibility
  5084. features.  It has unbounded potential (and need) for increase
  5085. in complexity as it's developed to handle new environments.
  5086. That is exactly why standards are needed.  getconf is intended
  5087. to provide definitive answers to some of the questions that
  5088. Configure has to guess about.
  5089.  
  5090. Configure could be used to write an implementation of getconf
  5091. for an OS that fits its preconceptions.
  5092.  
  5093. >> getconf, sysconf(), pathconf() and fpathconf() exist to make it
  5094. >> possible to allow programs to make full use of system
  5095. >> capabilities without being re-compiled for differently-
  5096. >> configured members of a binary-compatible family and without
  5097. >> being crippled down to a lowest common denominator.
  5098. >
  5099. >Here's your unstated assumption again: that the standard *has* to
  5100. >provide some way to do anything that systems code might want to do.
  5101. >Why?
  5102.  
  5103. Hyperbole aside (though I'm sure you could implement job
  5104. control from the POSIX.2 shell, Dan ;-), it's because software
  5105. developers and end users want software that doesn't have to be
  5106. hacked every time they want to run it on a new platform.
  5107.  
  5108. >Why is this sort of invention better than letting the market come
  5109. >to a consensus on each feature first?
  5110.  
  5111. There's no way to unbundle the features so that market feedback
  5112. on each individual feature can be meaningful.  "The Market"
  5113. seems to be demanding shrink-wrap software for workstations.
  5114. This sort of standardization helps make that possible.
  5115. -- 
  5116.  
  5117.     Chuck Karish        karish@mindcraft.com
  5118.     Mindcraft, Inc.        (415) 323-9000
  5119.  
  5120.  
  5121. [ Moderator's note:  The previous message, by Peter da Silva, went out with
  5122.   the wrong number.  It should have been Volume 24, Number 62.  I apologise
  5123.   for the error -- mod ]
  5124.  
  5125. Volume-Number: Volume 24, Number 63
  5126.  
  5127. From std-unix-request@uunet.UU.NET  Wed Jul 24 20:02:31 1991
  5128. Received: from relay1.UU.NET by uunet.UU.NET with SMTP 
  5129.     (5.61/UUNET-uucp-primary) id AA26194; Wed, 24 Jul 91 20:02:31 -0400
  5130. Received: from kithrup.com by relay1.UU.NET with SMTP 
  5131.     (5.61/UUNET-internet-primary) id AA19612; Wed, 24 Jul 91 20:02:19 -0400
  5132. Newsgroups: comp.std.unix
  5133. From: Henry Spencer <henry@zoo.toronto.edu>
  5134. Subject: job control
  5135. Message-Id: <1991Jul24.234832.24320@uunet.uu.net>
  5136. Originator: sef@uunet.UU.NET
  5137. Nntp-Posting-Host: uunet.uu.net
  5138. X-Submissions: std-unix@uunet.uu.net
  5139. Organization: U of Toronto Zoology
  5140. References: <1991Jul3.193837.8849@uunet.uu.net> <1991Jul22.210828.23994@uunet.uu.net> <1991Jul24.193022.12044@uunet.uu.net>
  5141. Date: Wed, 24 Jul 1991 23:11:35 GMT
  5142. Reply-To: std-unix@uunet.UU.NET
  5143. To: std-unix@uunet.UU.NET
  5144. Sender: Network News <news@kithrup.com>
  5145. Source-Info:  From (or Sender) name not authenticated.
  5146.  
  5147. Submitted-by: henry@zoo.toronto.edu (Henry Spencer)
  5148.  
  5149. In article <1991Jul24.193022.12044@uunet.uu.net> peter@ficc.ferranti.com (peter da silva) writes:
  5150. >How about just leaving it out altogether?
  5151. >Seriously... what is so compelling about job control that it *must* be
  5152. >put into POSIX.[1]?
  5153.  
  5154. Back in the days of the /usr/group standard, POSIX.1's predecessor, one of
  5155. the things that Ian Darwin and I were happiest about was that we'd managed
  5156. to persuade that committee that job control and all its competitors were
  5157. grotesque and inadequate botches which should not be standardized.  I still
  5158. blame myself for getting preoccupied with other things and letting it get
  5159. its slimy tentacles back into POSIX.1.
  5160.  
  5161. Apart from the ability to suspend processes -- in itself a trivial facility
  5162. that could be made fairly inoffensive -- what job control is about is
  5163. multiplexing your terminal among multiple processes.  Unfortunately it does
  5164. the easiest part -- deciding where keystrokes go -- and punts all the
  5165. hard parts, like saving and restoring the state of the tty and the screen,
  5166. to the user processes.  A proper implementation of such a facility would
  5167. be completely invisible to user processes:  no funny signals, no need to
  5168. save and restore tty modes, no need to redraw the screen at random times.
  5169. Just a virtual keyboard which is sometimes connected to the real one (and
  5170. blocks you if you ask for input when it isn't) and a virtual screen which
  5171. is sometimes visible on the real one (and might or might not block on output
  5172. when it's not), with the system doing the multiplexing in the same way
  5173. it multiplexes access to the disk, the processor, etc... and no impact on
  5174. user programs at all.
  5175.  
  5176. Ironically, job control was reasonable for POSIX.1 to consider precisely
  5177. *because* it oozes its way into every program, and hence has to be thought
  5178. about in any application-to-system interface.  Hence the canonicalization
  5179. of a wretched botch, while proper solutions were "outside the scope of .1"
  5180. and hence were not even considered.
  5181. -- 
  5182. Lightweight protocols?  TCP/IP *is*     | Henry Spencer @ U of Toronto Zoology
  5183. lightweight already; just look at OSI.  |  henry@zoo.toronto.edu  utzoo!henry
  5184.  
  5185.  
  5186. Volume-Number: Volume 24, Number 64
  5187.  
  5188. From std-unix-request@uunet.UU.NET  Thu Jul 25 03:31:28 1991
  5189. Received: from relay1.UU.NET by uunet.UU.NET with SMTP 
  5190.     (5.61/UUNET-uucp-primary) id AA20549; Thu, 25 Jul 91 03:31:28 -0400
  5191. Received: from kithrup.com by relay1.UU.NET with SMTP 
  5192.     (5.61/UUNET-internet-primary) id AA23972; Thu, 25 Jul 91 03:31:19 -0400
  5193. Xref: kithrup comp.std.unix:281 comp.os.misc:598
  5194. Newsgroups: comp.std.unix,comp.os.misc
  5195. From: "Thomas M. Breuel" <tmb@ai.mit.edu>
  5196. Subject: Re: job control
  5197. Message-Id: <1991Jul25.071855.13032@uunet.uu.net>
  5198. Followup-To: comp.os.misc
  5199. Originator: sef@uunet.UU.NET
  5200. Nntp-Posting-Host: uunet.uu.net
  5201. X-Submissions: std-unix@uunet.uu.net
  5202. Organization: MIT Artificial Intelligence Lab
  5203. References: <1991Jul3.193837.8849@uunet.uu.net>
  5204. Date: Thu, 25 Jul 1991 04:28:40 GMT
  5205. Reply-To: std-unix@uunet.UU.NET
  5206. To: std-unix@uunet.UU.NET
  5207. Sender: Network News <news@kithrup.com>
  5208. Source-Info:  From (or Sender) name not authenticated.
  5209.  
  5210. Submitted-by: tmb@ai.mit.edu (Thomas M. Breuel)
  5211.  
  5212. henry@zoo.toronto.edu writes:
  5213.  
  5214.    Apart from the ability to suspend processes -- in itself a trivial facility
  5215.    that could be made fairly inoffensive -- what job control is about is
  5216.    multiplexing your terminal among multiple processes.  Unfortunately it does
  5217.    the easiest part -- deciding where keystrokes go -- and punts all the
  5218.    hard parts, like saving and restoring the state of the tty and the screen,
  5219.    to the user processes.  A proper implementation of such a facility would
  5220.    be completely invisible to user processes:  no funny signals, no need to
  5221.    save and restore tty modes, no need to redraw the screen at random times.
  5222.    Just a virtual keyboard which is sometimes connected to the real one (and
  5223.    blocks you if you ask for input when it isn't) and a virtual screen which
  5224.    is sometimes visible on the real one (and might or might not block on output
  5225.    when it's not), with the system doing the multiplexing in the same way
  5226.    it multiplexes access to the disk, the processor, etc... and no impact on
  5227.    user programs at all.
  5228.  
  5229. It is far from obvious to me that this is the "right" thing to do.
  5230. Several systems, including ITS, have tried to keep track of the state
  5231. of the screen and keyboard at a system level, and I personally have
  5232. always disliked the result. It means that the system (either a
  5233. standardized library, or, more likely, the kernel), need to know much
  5234. more about terminals than they ought to. The result is usually that such
  5235. systems enforce suboptimal interfacing between programs and the
  5236. terminal.
  5237.  
  5238. I think it is not unreasonable to expect of screen oriented programs
  5239. to be able to redraw the screen when they get brought into the
  5240. foreground. This is completely analogous to window based programs having
  5241. to redraw their windows when they get exposed.
  5242.  
  5243.                     Thomas.
  5244.  
  5245. [ I, personally, would love to see this discussion continue.  But it
  5246.   is no longer relevent to this group, so I put in a Followup.
  5247.   Thank you for your support -- mod ]
  5248.  
  5249. Volume-Number: Volume 24, Number 65
  5250.  
  5251. From std-unix-request@uunet.UU.NET  Thu Jul 25 03:31:36 1991
  5252. Received: from relay1.UU.NET by uunet.UU.NET with SMTP 
  5253.     (5.61/UUNET-uucp-primary) id AA20562; Thu, 25 Jul 91 03:31:36 -0400
  5254. Received: from kithrup.com by relay1.UU.NET with SMTP 
  5255.     (5.61/UUNET-internet-primary) id AA23998; Thu, 25 Jul 91 03:31:28 -0400
  5256. Newsgroups: comp.std.unix
  5257. From: Dan Bernstein <brnstnd@kramden.acf.nyu.edu>
  5258. Subject: Re: File system/directory structure standards needed
  5259. Message-Id: <1991Jul25.072312.13297@uunet.uu.net>
  5260. Originator: sef@uunet.UU.NET
  5261. Nntp-Posting-Host: uunet.uu.net
  5262. X-Submissions: std-unix@uunet.uu.net
  5263. Organization: IR
  5264. References: <1991Jul22.210828.23994@uunet.uu.net> <1991Jul23.065617.20086@uunet.uu.net> <1991Jul24.193330.12366@uunet.uu.net>
  5265. Date: Thu, 25 Jul 1991 06:12:03 GMT
  5266. Reply-To: std-unix@uunet.UU.NET
  5267. To: std-unix@uunet.UU.NET
  5268. Sender: Network News <news@kithrup.com>
  5269. Source-Info:  From (or Sender) name not authenticated.
  5270.  
  5271. Submitted-by: brnstnd@KRAMDEN.ACF.NYU.EDU (Dan Bernstein)
  5272.  
  5273. karish@mindcraft.com (Chuck Karish) writes:
  5274. > >Can you name a single vendor which has a solution to the problem of a
  5275. > >secure path for installed utilities? I'm listening.
  5276. > The 1003.2 committee doesn't even see the same problem that
  5277. > Dan Bernstein does.  _CS_PATH is there for usability, not
  5278. > for security.
  5279.  
  5280. My apologies. Let me rephrase the question, in a way that will no longer
  5281. let you beat around the bush: Can you name a single vendor which has a
  5282. solution to the problem of a *usable* path for installed utilities? I'm
  5283. listening. And, once again: I consider every solution to this problem to
  5284. be a poor candidate for standardization, because (drum roll):
  5285.  
  5286.     The Market Hath Not Chosen A Solution.
  5287.     The Market Hath Hardly Even Considered The Problem.
  5288.     The Market Apparently Doth Not Even Care.
  5289.  
  5290. > Market forces tend to cause divergence on many technical
  5291. > points, rather than agreement.
  5292.  
  5293. So you're saying that free market competition is a bad thing, and that
  5294. premature standardization is a good thing. Or did I misunderstand? Or
  5295. are you claiming that a standard which doesn't reflect reality at its
  5296. inception, and which rapidly becomes obsolete, isn't premature?
  5297.  
  5298. ---Dan
  5299.  
  5300. [ A couple of requests:
  5301.   1.  Can we keep the discussion civil?  It's on its way to leaving that...
  5302.   2.  The subject is only marginally relevent; could it be changed?
  5303.   I do not wish to do either of those, since the authors of the messages
  5304.   are far more capable of doing so.  Thanks, gentle readers -- mod ]
  5305.  
  5306. Volume-Number: Volume 24, Number 66
  5307.  
  5308. From std-unix-request@uunet.UU.NET  Tue Jul 30 15:50:46 1991
  5309. Received: from relay1.UU.NET by uunet.UU.NET with SMTP 
  5310.     (5.61/UUNET-uucp-primary) id AA23802; Tue, 30 Jul 91 15:50:46 -0400
  5311. Received: from kithrup.com by relay1.UU.NET with SMTP 
  5312.     (5.61/UUNET-internet-primary) id AA22917; Tue, 30 Jul 91 15:50:41 -0400
  5313. Newsgroups: comp.std.unix
  5314. From: Mil Ratcliff <milt@pe-nelson.com>
  5315. Subject: Portable way to get a host name?
  5316. Message-Id: <1991Jul30.194609.28887@uunet.uu.net>
  5317. Summary: Is there a portable way to get a host name?
  5318. Originator: sef@uunet.UU.NET
  5319. Keywords: hostname
  5320. Sender: UseNet News <usenet@uunet.UU.NET>
  5321. Nntp-Posting-Host: uunet.uu.net
  5322. X-Submissions: std-unix@uunet.uu.net
  5323. Organization: UUNET Communications Services
  5324. Date: Tue, 30 Jul 1991 19:46:09 GMT
  5325. Reply-To: std-unix@uunet.UU.NET
  5326. To: std-unix@uunet.UU.NET
  5327.  
  5328. Submitted-by: milt@pe-nelson.com (Mil Ratcliff)
  5329.  
  5330. SunOS provides the gethostname() call to return the host name for the current
  5331. machine.  Neither the POSIX books(D.  Lewine) nor the XPG books have a similar
  5332. call.
  5333.  
  5334. Is there a portable way to get a host name or must it be done on a system
  5335. by system basis?
  5336.  
  5337. --
  5338. Milt Ratcliff                                            milt@pe-nelson.com
  5339. PE-Nelson                                                +1.408.725.1107
  5340. 10040 Bubb Road
  5341. Cupertino, CA  95014
  5342.  
  5343. Volume-Number: Volume 24, Number 67
  5344.  
  5345. From std-unix-request@uunet.UU.NET  Tue Jul 30 16:56:47 1991
  5346. Received: from relay1.UU.NET by uunet.UU.NET with SMTP 
  5347.     (5.61/UUNET-uucp-primary) id AA17442; Tue, 30 Jul 91 16:56:47 -0400
  5348. Received: from kithrup.com by relay1.UU.NET with SMTP 
  5349.     (5.61/UUNET-internet-primary) id AA09362; Tue, 30 Jul 91 16:56:43 -0400
  5350. Newsgroups: comp.std.unix
  5351. From: Henry Spencer <henry@zoo.toronto.edu>
  5352. Subject: Re: Portable way to get a host name?
  5353. Message-Id: <1991Jul30.205157.2691@uunet.uu.net>
  5354. Originator: sef@uunet.UU.NET
  5355. Sender: UseNet News <usenet@uunet.UU.NET>
  5356. Nntp-Posting-Host: uunet.uu.net
  5357. X-Submissions: std-unix@uunet.uu.net
  5358. Organization: U of Toronto Zoology
  5359. References: <1991Jul30.194609.28887@uunet.uu.net>
  5360. Date: Tue, 30 Jul 1991 20:22:55 GMT
  5361. Reply-To: std-unix@uunet.UU.NET
  5362. To: std-unix@uunet.UU.NET
  5363.  
  5364. Submitted-by: henry@zoo.toronto.edu (Henry Spencer)
  5365.  
  5366. In article <1991Jul30.194609.28887@uunet.uu.net> milt@pe-nelson.com (Mil Ratcliff) writes:
  5367. >SunOS provides the gethostname() call to return the host name for the current
  5368. >machine...  Is there a portable way to get a host name ...
  5369.  
  5370. The very concept of a host name -- a unique readable name for the host --
  5371. is not (fully) portable.  No, there is no universal way to get it.
  5372. -- 
  5373. Arthritic bureaucracies don't tame new  | Henry Spencer @ U of Toronto Zoology
  5374. frontiers. -Paul A. Gigot, WSJ, on NASA |  henry@zoo.toronto.edu  utzoo!henry
  5375.  
  5376. [ What about POSIX and networking? -- mod ]
  5377.  
  5378. Volume-Number: Volume 24, Number 68
  5379.  
  5380. From std-unix-request@uunet.UU.NET  Tue Jul 30 20:23:09 1991
  5381. Received: from relay1.UU.NET by uunet.UU.NET with SMTP 
  5382.     (5.61/UUNET-uucp-primary) id AA09265; Tue, 30 Jul 91 20:23:09 -0400
  5383. Received: from kithrup.com by relay1.UU.NET with SMTP 
  5384.     (5.61/UUNET-internet-primary) id AA22003; Tue, 30 Jul 91 20:23:04 -0400
  5385. Newsgroups: comp.std.unix
  5386. From: Fletcher Kittredge <fkittred@bbn.com>
  5387. Subject: Re: Portable way to get a host name?
  5388. Message-Id: <1991Jul31.001825.16027@uunet.uu.net>
  5389. Originator: sef@uunet.UU.NET
  5390. Sender: UseNet News <usenet@uunet.UU.NET>
  5391. Nntp-Posting-Host: uunet.uu.net
  5392. Reply-To: Fletcher Kittredge <fkittred@spca.bbn.com>
  5393. X-Submissions: std-unix@uunet.uu.net
  5394. Organization: Bolt Beranek and Newman Inc., Cambridge MA
  5395. References: <1991Jul30.194609.28887@uunet.uu.net> <1991Jul30.205157.2691@uunet.uu.net>
  5396. Date: Wed, 31 Jul 1991 00:11:20 GMT
  5397. To: std-unix@uunet.UU.NET
  5398.  
  5399. Submitted-by: fkittred@bbn.com (Fletcher Kittredge)
  5400.  
  5401. In article <1991Jul30.205157.2691@uunet.uu.net> henry@zoo.toronto.edu (Henry Spencer) writes:
  5402. >Submitted-by: henry@zoo.toronto.edu (Henry Spencer)
  5403. >
  5404. >In article <1991Jul30.194609.28887@uunet.uu.net> milt@pe-nelson.com (Mil Ratcliff) writes:
  5405. >>SunOS provides the gethostname() call to return the host name for the current
  5406. >>machine...  Is there a portable way to get a host name ...
  5407. >
  5408. >The very concept of a host name -- a unique readable name for the host --
  5409. >is not (fully) portable.  No, there is no universal way to get it.
  5410. >-- 
  5411.  
  5412. POSIX 1003.1 contains the uname(2) system call which returns a structure
  5413. holding information about the host.  One of the fields of the structure
  5414. is nodename, the current name of the host on a communications network. 
  5415. It functions correctly on Sun O/S, DEC Ultrix and HP-UX.
  5416.  
  5417. regards,
  5418. fletcher
  5419. /* Fletcher Kittredge
  5420.  * BBN Software Products
  5421.  * 150 CambridgePark Dr,  Cambridge, MA. 02140
  5422.  * 617-873-3465  /  fkittred@bbn.com  /  fkittred@das.harvard.edu
  5423.  */
  5424.  
  5425. Volume-Number: Volume 24, Number 69
  5426.  
  5427. From std-unix-request@uunet.UU.NET  Wed Jul 31 18:34:02 1991
  5428. Received: from relay1.UU.NET by uunet.UU.NET with SMTP 
  5429.     (5.61/UUNET-uucp-primary) id AA11323; Wed, 31 Jul 91 18:34:02 -0400
  5430. Received: from kithrup.com by relay1.UU.NET with SMTP 
  5431.     (5.61/UUNET-internet-primary) id AA15591; Wed, 31 Jul 91 18:33:56 -0400
  5432. Newsgroups: comp.std.unix
  5433. From: Steve March <march@cs.uiuc.edu>
  5434. Subject: Re: Portable way to get a host name?
  5435. Message-Id: <1991Jul31.222849.6636@uunet.uu.net>
  5436. Originator: sef@uunet.UU.NET
  5437. Sender: UseNet News <usenet@uunet.UU.NET>
  5438. Nntp-Posting-Host: uunet.uu.net
  5439. X-Submissions: std-unix@uunet.uu.net
  5440. Organization: University of Illinois, Dept. of Comp. Sci., Urbana, IL
  5441. References: <1991Jul30.194609.28887@uunet.uu.net> <1991Jul30.205157.2691@uunet.uu.net> <1991Jul31.001825.16027@uunet.uu.net>
  5442. Date: Wed, 31 Jul 1991 05:37:24 GMT
  5443. Reply-To: std-unix@uunet.UU.NET
  5444. To: std-unix@uunet.UU.NET
  5445.  
  5446. Submitted-by: march@cs.uiuc.edu (Steve March)
  5447.  
  5448. The best I've been able to do from the shell (ksh) is ..
  5449.  
  5450. export HOSTNAME=$(hostname || uname -n)
  5451.  
  5452. The first probably maps into the gethostname(2) and the second to uname(2).
  5453. In my experience, uname(2) is more portable.
  5454.  
  5455. Hope this is helpful.
  5456.  
  5457. -Steve
  5458.  
  5459. ===============================================================================
  5460. Steve March                            (H) (217)328-5176/328-5230  (W) 333-7408
  5461. Domain: march@cs.uiuc.edu             Path: {uunet|convex|pur-ee}!uiucdcs!march
  5462. "Time and space are modes by which we think and not conditions in which
  5463.  we live."  - Albert Einstein
  5464.  
  5465.  
  5466. Volume-Number: Volume 24, Number 70
  5467.  
  5468. From std-unix-request@uunet.UU.NET  Wed Jul 31 18:34:09 1991
  5469. Received: from relay1.UU.NET by uunet.UU.NET with SMTP 
  5470.     (5.61/UUNET-uucp-primary) id AA11352; Wed, 31 Jul 91 18:34:09 -0400
  5471. Received: from kithrup.com by relay1.UU.NET with SMTP 
  5472.     (5.61/UUNET-internet-primary) id AA15623; Wed, 31 Jul 91 18:34:02 -0400
  5473. Newsgroups: comp.std.unix
  5474. From: Henry Spencer <henry@zoo.toronto.edu>
  5475. Subject: Re: Portable way to get a host name?
  5476. Message-Id: <1991Jul31.222946.6754@uunet.uu.net>
  5477. Originator: sef@uunet.UU.NET
  5478. Sender: UseNet News <usenet@uunet.UU.NET>
  5479. Nntp-Posting-Host: uunet.uu.net
  5480. X-Submissions: std-unix@uunet.uu.net
  5481. Organization: U of Toronto Zoology
  5482. References: <1991Jul30.194609.28887@uunet.uu.net> <1991Jul30.205157.2691@uunet.uu.net> <1991Jul31.001825.16027@uunet.uu.net>
  5483. Date: Wed, 31 Jul 1991 16:46:08 GMT
  5484. Reply-To: std-unix@uunet.UU.NET
  5485. To: std-unix@uunet.UU.NET
  5486.  
  5487. Submitted-by: henry@zoo.toronto.edu (Henry Spencer)
  5488.  
  5489. In article <1991Jul31.001825.16027@uunet.uu.net> fkittred@spca.bbn.com (Fletcher Kittredge) writes:
  5490. >>The very concept of a host name -- a unique readable name for the host --
  5491. >>is not (fully) portable.  No, there is no universal way to get it.
  5492. >
  5493. >POSIX 1003.1 contains the uname(2) system call which returns a structure
  5494. >holding information about the host.  One of the fields of the structure
  5495. >is nodename, the current name of the host on a communications network. 
  5496.  
  5497. However, note the fine print a few lines further down:
  5498.  
  5499. "The inclusion of the *nodename* member in this structure does not imply
  5500. that it is sufficient information for interfacing to communications
  5501. networks."
  5502.  
  5503. In other words, it's not guaranteed to be the "host name" in the sense
  5504. of the original inquiry.  Indeed, on most current implementations that
  5505. field is too small to hold an Internet domain name of even modest length,
  5506. assuming that an Internet domain name is what you want.  On most SV-derived
  5507. implementations, *nodename* has room for only an 8-character name.  That
  5508. won't even hold "zoo.toronto.edu" or "spca.bbn.com", never mind some of
  5509. the atrocities that show up.
  5510.  
  5511. I stand by my original comment.  Fletcher's confusion here is an example
  5512. of the lack of any standard for what a "host name" should be and what it
  5513. should be good for.
  5514. -- 
  5515. Arthritic bureaucracies don't tame new  | Henry Spencer @ U of Toronto Zoology
  5516. frontiers. -Paul A. Gigot, WSJ, on NASA |  henry@zoo.toronto.edu  utzoo!henry
  5517.  
  5518.  
  5519. Volume-Number: Volume 24, Number 71
  5520.  
  5521. From std-unix-request@uunet.UU.NET  Fri Aug  2 20:31:59 1991
  5522. Received: from relay1.UU.NET by uunet.UU.NET with SMTP 
  5523.     (5.61/UUNET-uucp-primary) id AA26495; Fri, 2 Aug 91 20:31:59 -0400
  5524. Received: from kithrup.com by relay1.UU.NET with SMTP 
  5525.     (5.61/UUNET-internet-primary) id AA02285; Fri, 2 Aug 91 20:31:52 -0400
  5526. Newsgroups: comp.std.unix
  5527. From: Rich Pinder <rpinder@phad.hsc.usc.edu>
  5528. Subject: AWK - ?
  5529. Message-Id: <1991Aug3.002829.527@uunet.uu.net>
  5530. Originator: sef@uunet.UU.NET
  5531. Sender: UseNet News <usenet@uunet.UU.NET>
  5532. Nntp-Posting-Host: uunet.uu.net
  5533. X-Submissions: std-unix@uunet.uu.net
  5534. Organization: University of Southern California, Los Angeles, CA
  5535. Date: Fri, 2 Aug 1991 23:47:15 GMT
  5536. Reply-To: std-unix@uunet.UU.NET
  5537. To: std-unix@uunet.UU.NET
  5538.  
  5539. Submitted-by: rpinder@phad.hsc.usc.edu (Rich Pinder)
  5540.  
  5541. I have a question regarding the behavior of AWK.  The following
  5542. program successfully alters the value of one the fields as a result
  5543. of the 'if' conditional (changes the name LEROY to Snakely).
  5544. However, the output from the print statement seems to leave off the
  5545. field seperators on lines that were altered, but puts them in
  5546. correctly on others.  Is this a bug with my version (SCO's 3.2)?
  5547.  
  5548. Thanks for your help:
  5549.  
  5550. _prog:_
  5551.  
  5552. awk -F '|' ' {
  5553.      if ($3 == "LEROY") $3="Snakely";
  5554.          print $0  ; 
  5555.         } ' $*
  5556. _input:_
  5557.  
  5558. 00011|CARNEY|LEROY
  5559. 00012|CARNEY|ROBERT
  5560. 00021|MCDONALD|ALICE
  5561.  
  5562. _output:_
  5563.  
  5564. 00011 CARNEY Snakely
  5565. 00012|CARNEY|ROBERT
  5566. 00021|MCDONALD|ALICE
  5567.  
  5568.  
  5569.         Rich Pinder
  5570.         USC School of Medicine
  5571.         (213) 342-1640
  5572.  
  5573.         rpinder@usc.edu
  5574.  
  5575.     ||||||||||||||||||||||||||||||||||||||||||||||||||
  5576.  
  5577.  
  5578. Volume-Number: Volume 24, Number 72
  5579.  
  5580. From std-unix-request@uunet.UU.NET  Sun Aug  4 05:19:28 1991
  5581. Received: from relay1.UU.NET by uunet.UU.NET with SMTP 
  5582.     (5.61/UUNET-uucp-primary) id AA11827; Sun, 4 Aug 91 05:19:28 -0400
  5583. Received: from kithrup.com by relay1.UU.NET with SMTP 
  5584.     (5.61/UUNET-internet-primary) id AA22910; Sun, 4 Aug 91 05:19:20 -0400
  5585. Newsgroups: comp.std.unix
  5586. From: Henry Spencer <henry@zoo.toronto.edu>
  5587. Subject: Re: AWK - ?
  5588. Message-Id: <1991Aug4.091544.18409@uunet.uu.net>
  5589. Originator: sef@uunet.UU.NET
  5590. Sender: UseNet News <usenet@uunet.UU.NET>
  5591. Nntp-Posting-Host: uunet.uu.net
  5592. X-Submissions: std-unix@uunet.uu.net
  5593. Organization: U of Toronto Zoology
  5594. References: <1991Aug3.002829.527@uunet.uu.net>
  5595. Date: Sat, 3 Aug 1991 23:26:40 GMT
  5596. Reply-To: std-unix@uunet.UU.NET
  5597. To: std-unix@uunet.UU.NET
  5598.  
  5599. Submitted-by: henry@zoo.toronto.edu (Henry Spencer)
  5600.  
  5601. In article <1991Aug3.002829.527@uunet.uu.net> rpinder@phad.hsc.usc.edu (Rich Pinder) writes:
  5602. >However, the output from the print statement seems to leave off the
  5603. >field seperators on lines that were altered, but puts them in
  5604. >correctly on others.  Is this a bug with my version (SCO's 3.2)?
  5605.  
  5606. No.  The -F option sets the FS variable, but not the OFS variable,
  5607. which is what is used for reconstructing $0 when a field is modified.
  5608. The output you are getting is correct.  Adding a `BEGIN { OFS = FS }'
  5609. to the awk program will get you what you're after.
  5610. -- 
  5611. Arthritic bureaucracies don't tame new  | Henry Spencer @ U of Toronto Zoology
  5612. frontiers. -Paul A. Gigot, WSJ, on NASA |  henry@zoo.toronto.edu  utzoo!henry
  5613.  
  5614. [ Also noted by William Lewis Jr. (lewis@tramp.Colorado.edu) -- mod ]
  5615.  
  5616. Volume-Number: Volume 24, Number 73
  5617.  
  5618. From std-unix-request@uunet.UU.NET  Wed Aug 14 20:16:35 1991
  5619. Received: from relay1.UU.NET by uunet.UU.NET with SMTP 
  5620.     (5.61/UUNET-uucp-primary) id AA14212; Wed, 14 Aug 91 20:16:35 -0400
  5621. Received: from kithrup.com by relay1.UU.NET with SMTP 
  5622.     (5.61/UUNET-internet-primary) id AA07683; Wed, 14 Aug 91 20:16:16 -0400
  5623. Newsgroups: comp.std.unix
  5624. From: "Stephen R. Walli" <stephen%speaker@mks.com>
  5625. Subject: Report on the July IEEE POSIX Meeting for EurOpen
  5626. Message-Id: <1991Aug14.175128.12954@uunet.uu.net>
  5627. Originator: sef@uunet.UU.NET
  5628. Nntp-Posting-Host: uunet.uu.net
  5629. X-Submissions: std-unix@uunet.uu.net
  5630. Organization: UUNET Communications Services
  5631. Date: Wed, 14 Aug 1991 17:51:28 GMT
  5632. Reply-To: std-unix@uunet.UU.NET
  5633. To: std-unix@uunet.UU.NET
  5634. Sender: Network News <news@kithrup.com>
  5635. Source-Info:  From (or Sender) name not authenticated.
  5636.  
  5637.  
  5638.                                   - 1 -
  5639.  
  5640.  
  5641.  
  5642.        ------------------------------------------------------------------
  5643.        Report on the July IEEE POSIX Meeting for EurOpen
  5644.        POSIX is a family of standards which has grown in a hodge-
  5645.        podge fashion since its formal IEEE birth in 1985.  It
  5646.        started small with a specific goal in mind, and it can be
  5647.        argued that the need is answered by the POSIX.1 standard
  5648.        otherwise known as ISO/IEC 9945-1.  Somewhere along the way,
  5649.        the process grew dramatically.  An explosion of projects
  5650.        under the banner of POSIX has created a huge complex entity
  5651.        which everyone expects to fulfill their own diverse needs.
  5652.  
  5653.        Managing this complexity has been pretty informal using
  5654.        seat-of-the-pants discussions until the recent past. Long
  5655.        talked about Committees are being created and are gaining
  5656.        momentum. The management process is being put in place to
  5657.        hopefully co-ordinate this huge volunteer effort of building
  5658.        an industry standard for something as complex as a full
  5659.        function operating system. (By management, I refer to the
  5660.        process co-ordination type, not the suit-and-tie type.)
  5661.  
  5662.        IEEE POSIX meetings now have two very different faces.
  5663.        There is the work group face. Each individual working group
  5664.        has a chair dedicated to the task of preparing a specific
  5665.        draft document to be balloted for eventual acceptance as a
  5666.        standard. Knowledgeable volunteers work in these rooms
  5667.        discussing, editing and arguing the issues for their
  5668.        particular corner of POSIX.
  5669.  
  5670.        Then there's the co-ordination face. Here, also, we are
  5671.        beginning to see an explosion of committees.  There are now
  5672.        steering committees dedicated to:
  5673.  
  5674.           - Conformance Testing issues across all projects,
  5675.  
  5676.           - Distributed Services issues across the several working
  5677.             groups involved with network oriented interfaces,
  5678.  
  5679.           - Windowing User Interfaces issues,
  5680.  
  5681.           - Profiling issues within POSIX, and their relationship
  5682.             to profiles at large.
  5683.  
  5684.        The Project Management Committee (PMC) is a subcommittee of
  5685.        the Sponsor Executive Committee (SEC).  The SEC is the
  5686.        guiding force behind the IEEE's Technical Committee on
  5687.        Operating Systems m Standards Subcommittee (TCOS-SS).
  5688.        TCOS-SS is responsible for Operating Systems standards. The
  5689.        PMC reviews new project requests (PARs) and checks on the
  5690.        status of current working group projects.
  5691.  
  5692.  
  5693.  
  5694.  
  5695.  
  5696.  
  5697.  
  5698.  
  5699.  
  5700.  
  5701.  
  5702.  
  5703.                                   - 2 -
  5704.  
  5705.  
  5706.  
  5707.        A new Ad Hoc Committee began meeting in Santa Clara to
  5708.        discuss the fundamental issues of ``a POSIX architecture.''
  5709.        What does this ``thing'' look like? Will the Security
  5710.        extensions to ISO/IEC 9945-1:1990 (POSIX.1) work together
  5711.        with the Real-Time extensions?  What happens when the
  5712.        Transparent File Access extensions are added to the picture?
  5713.  
  5714.        Here we cover the recent IEEE POSIX working group meeting
  5715.        from the co-ordination point of view, tracking events across
  5716.        the projects instead of covering the individual projects
  5717.        from within.
  5718.  
  5719.  
  5720.        The Project Management Committee
  5721.  
  5722.        July's meeting was the second set of working meetings of the
  5723.        PMC.  This group is still getting used to its role as a
  5724.        project reviewer and scrutinizer of new project
  5725.        authorization requests (PAR). PARs are created for each
  5726.        draft document in the process. Once a PAR has been passed by
  5727.        the PMC, and accepted for sponsorship by the TCOS-SS SEC, it
  5728.        arrives at the IEEE's Standards Advisory Board for final and
  5729.        formal acceptance as a work item for a working group.
  5730.  
  5731.        The PMC suffered the same malaise the rest of POSIX projects
  5732.        suffer at times. People were extraordinarily busy with their
  5733.        ``real employment'' between the April and July meetings.
  5734.        Many of the reviews of existing projects which were
  5735.        scheduled for this meeting weren't done.
  5736.  
  5737.        The mentor for POSIX.0 (POSIX Guide) completed her review of
  5738.        the project. POSIX.0 has become real. It began initially as
  5739.        a working group of people with a higher level of concern for
  5740.        POSIX. It was the group holding discussions about how POSIX
  5741.        would be used in a more global sense, rather than minute
  5742.        examination of the nitty-gritty individual function calls or
  5743.        language bindings.  POSIX.0 isn't building a document for
  5744.        standardization, but rather an overall guide to Open Systems
  5745.        Environments. It was through this group's efforts that the
  5746.        Profiles Steering Committee was born.
  5747.  
  5748.        The POSIX.0 document is now being strongly lobbied for
  5749.        acceptance as an ISO Technical Report. Many issues which
  5750.        have been left to rest for quite some time now, are all
  5751.        rearing up again.
  5752.  
  5753.        It was assumed when the group was formed, that the other
  5754.        working groups would automatically provide the liaison
  5755.        people to ensure the models in the Guide were accurate. This
  5756.        did not happen. The PMC reported on this lack of involvement
  5757.        and took steps to get the SEC to ensure there is adequate
  5758.  
  5759.  
  5760.  
  5761.  
  5762.  
  5763.  
  5764.  
  5765.  
  5766.  
  5767.  
  5768.  
  5769.                                   - 3 -
  5770.  
  5771.  
  5772.  
  5773.        review of the Guide by other working groups.  The
  5774.        participation of working groups was also demanded in the
  5775.        discussion about architecture framework.  This will
  5776.        hopefully see action at the next IEEE POSIX meeting in
  5777.        October.
  5778.  
  5779.        The one new PAR reviewed by the PMC at this meeting was the
  5780.        request from POSIX.5 (Ada Bindings) for a project to address
  5781.        POSIX real-time extensions.  This work passed the PMC with
  5782.        some minor word-smithing, and is discussed later.
  5783.  
  5784.        Language Independence Specifications
  5785.  
  5786.        Programming language independent specifications (LIS) are a
  5787.        requirement placed on the IEEE POSIX working groups by ISO.
  5788.        The current and future C based functional interfaces will
  5789.        eventually be described semantically in an LIS and with
  5790.        various different programming language bindings associated
  5791.        with each.
  5792.  
  5793.        A language independent specification of POSIX.1 and its C
  5794.        binding (POSIX.16) now exist. These documents will shortly
  5795.        go out for mock ballot. A mock ballot is useful for finding
  5796.        remaining problems with a document prior to being sent for
  5797.        real ballot. For comparison reasons POSIX.1/LIS, POSIX.16
  5798.        and the ANSI C standard should be equivalent to the existing
  5799.        ISO 9945-1 standard.
  5800.  
  5801.        The ballot period will hopefully be 45 days, starting early
  5802.        August.  The mock will be sent to the POSIX.1, POSIX.5,
  5803.        POSIX.9 mailing lists, but it is an open ballot.
  5804.  
  5805.        It was suggested that the TCOS-SS Programming Language
  5806.        Independent Specification Guidelines should also be added to
  5807.        the ballot since readers may find something they consider
  5808.        incorrect, and is pervasive in the documents because it is
  5809.        due to a particular method or guideline from the Methods
  5810.        document.
  5811.  
  5812.        General ballot instructions include:
  5813.  
  5814.           - determining the equivalence of the new LIS and C
  5815.             Binding to the existing 9945-1, (remember, 9945-1
  5816.             cannot be broken);
  5817.  
  5818.           - determining if the LIS and C Binding clearly relate;
  5819.  
  5820.           - determining whether the split of material between the
  5821.             LIS and C Binding is a coherent one, and
  5822.  
  5823.  
  5824.  
  5825.  
  5826.  
  5827.  
  5828.  
  5829.  
  5830.  
  5831.  
  5832.  
  5833.  
  5834.  
  5835.                                   - 4 -
  5836.  
  5837.  
  5838.  
  5839.           - determining how easy it is to produce another language
  5840.             binding to the the LIS.
  5841.  
  5842.        There are still many questions to be answered with the LIS
  5843.        work. Conformance specifications for the LIS and the nature
  5844.        of test methods are much talked about issues. The validity
  5845.        of the current object model for LIS and the lack of an event
  5846.        model are problems to be addressed. Interoperability is
  5847.        still not addressed formally.  Hopefully, the mock ballot
  5848.        will contribute to all of these areas.
  5849.  
  5850.        The other POSIX language bindings, Ada (POSIX.5) and
  5851.        FORTRAN-77 (POSIX.9), are still proceeding with their ballot
  5852.        resolution process. ISO/IEC JTC1/SC22/WG15 has accepted the
  5853.        POSIX.5 and POSIX.9 position of finishing their current
  5854.        ballot and producing language bindings to future LIS in the
  5855.        revised ISO languages once all of those documents exist and
  5856.        are stable. Current drafts were circulated at the May WG15
  5857.        meeting for review and comment.  New Zealand has proposed
  5858.        building a Modula-2 binding to POSIX.1 as a work item to
  5859.        ISO.
  5860.  
  5861.        Within the POSIX working groups there is a new wrinkle with
  5862.        the LIS work.  POSIX.12 (Protocol Independent Interfaces) is
  5863.        proposing to do two bindings to an as yet undefined LIS one
  5864.        for BSD sockets, and one for X/Open's Transport Interface
  5865.        (XTI).  Two language bindings to the same LIS isn't unusual.
  5866.        They just happen to be in the same language!  A lot of this
  5867.        has to do with two established bodies of experience unable
  5868.        to compromise, and attempting to arrive at a creative
  5869.        solution.
  5870.  
  5871.        I don't believe that they've really thought it through.
  5872.        Harmonizing the functionality in the two existing C bindings
  5873.        to an independent specification will be non-trivial and
  5874.        possibly infeasible. If the functionality is completely
  5875.        covered by the LIS and the two bindings wholly overlap, why
  5876.        are they not harmonizing the interfaces?
  5877.  
  5878.        Another twist is the interoperability question between two
  5879.        language bindings.  People often use the example of one
  5880.        program running in one process context written in one
  5881.        language which writes a pipe, should be understood by a
  5882.        different program in a different process context written in
  5883.        a different language reading the pipe. I don't think the
  5884.        intent here is that a program using sockets will communicate
  5885.        directly to a program written to use XTI.
  5886.  
  5887.  
  5888.  
  5889.  
  5890.  
  5891.  
  5892.  
  5893.  
  5894.  
  5895.  
  5896.  
  5897.  
  5898.  
  5899.  
  5900.  
  5901.                                   - 5 -
  5902.  
  5903.  
  5904.  
  5905.        Profiles Steering Committee
  5906.  
  5907.        July was the first working meeting of the Profiles Steering
  5908.        Committee (PSC). The fledgling group is attempting to
  5909.        wrestle with a gargantuan task. They seem torn between
  5910.        trying to sort out the possibly limited and thorny problems
  5911.        of POSIX profiles, versus helping to solve the world's
  5912.        profiling and frame work problems. That is a somewhat naive
  5913.        statement, based on my narrow view of what a profile could
  5914.        be, and should understandably be taken liberally salted.
  5915.  
  5916.        The first meeting became somewhat mired in liaison issues
  5917.        with the rest of the world.  They were fortunately able to
  5918.        pull out of this mode and formed two small working groups to
  5919.        address two specific problems.
  5920.  
  5921.        One small group dealt with the harmonization of terminology
  5922.        across various different groups working both inside and
  5923.        outside of POSIX.  The second group dealt with formulating
  5924.        the rules by which POSIX profiles are built. Both of these
  5925.        groups made good progress during the rest of the week.
  5926.  
  5927.        Ada Real-time Study Group
  5928.  
  5929.        The POSIX Ada working group (POSIX.5) wants to begin
  5930.        building a binding to the POSIX.4 Real-time Extensions. They
  5931.        received permission to start a study group at the April
  5932.        meeting, and had a project request formally approved at this
  5933.        meeting. The new project, christened POSIX.5a (Ada Binding
  5934.        to POSIX.4), is under the direction of the current POSIX.5
  5935.        working group.
  5936.  
  5937.        The group is not extending the Ada language for real-time
  5938.        capabilities. They are binding to the currently defined
  5939.        POSIX.4 interface definitions. The ``thick'' binding versus
  5940.        ``thin'' binding issue has been put off. A language
  5941.        independent specification of POSIX.4 does not yet exist.
  5942.        The group will continue in their current process of building
  5943.        usable documents for programmers.
  5944.  
  5945.        The group recognizes that there is a co-ordination issue
  5946.        with ISO for both SC22/WG9 (Ada) and for the current
  5947.        proposed work item for Real Time Ada Extensions (ISO/IEC
  5948.        JTC1 N1266, dated 1991-02-22). This is the ExTRA (Extensions
  5949.        Temps Re'el a` Ada ...) work from AFNOR, the French member
  5950.        body of ISO.  As yet, ISO has not assigned sponsorship for
  5951.        this work item.
  5952.  
  5953.  
  5954.  
  5955.  
  5956.  
  5957.  
  5958.  
  5959.  
  5960.  
  5961.  
  5962.  
  5963.  
  5964.  
  5965.  
  5966.  
  5967.                                   - 6 -
  5968.  
  5969.  
  5970.  
  5971.        GUI Wars Revisited
  5972.  
  5973.        _W_e'_r_e _b_a_a_a_a_c_k ...
  5974.  
  5975.        For the second meeting running, discussion was dominated by
  5976.        the two opposing direct ballot project requests for an Open
  5977.        Toolkit Environment (Open Look) and a Modular Toolkit
  5978.        Environment (OSF/Motif). These projects had been rejected
  5979.        ``at this time'' at the April meeting in Chicago.  A letter
  5980.        from Paul Borrill (vice-president for standards in the IEEE
  5981.        Computer Society, and a member of the IEEE Standards Board)
  5982.        forced the re-opening of the issue.  The letter was seeking
  5983.        reasons for rejection and stated that two standards in the
  5984.        same project space was not sufficient reason to reject the
  5985.        requests.
  5986.  
  5987.        A subcommittee was formed early in the week to summarize all
  5988.        of the discussions that took place at the April meeting.
  5989.        After many meetings and much writing, the subcommittee
  5990.        delivered its report at Thursday evening's SEC meeting.
  5991.  
  5992.        The SEC members were asked if they agreed with any of the
  5993.        statements (pro and con) contained in the sub-committee's
  5994.        report.  The majority of the statements were against
  5995.        acceptance of the PARs.  Many SEC members had many problems
  5996.        with accepting the two PARs.  This is how the motion to
  5997.        sponsor both PARs failed.  A quick straw poll demonstrated
  5998.        that many people felt there was a fundamental problem with
  5999.        the projects.  These problems would not go away with some
  6000.        rewording or re-organization of the PAR.
  6001.  
  6002.        It was readily acknowledged that the documents could not
  6003.        move forward as direct ballot documents. This was a fast
  6004.        track option to be used with non-controversial documents.
  6005.        Clearly not the case here. This should have been used in
  6006.        April as the stopping point!  A real vote was then taken and
  6007.        the motion to sponsor the projects failed.
  6008.  
  6009.        People barely caught their breath when a motion to remove
  6010.        sponsorship from P1201 was made. (You could have heard a pin
  6011.        drop ...).  The rationale is that P1201 was supposed to be
  6012.        developing a standardized toolkit for windowing and clearly
  6013.        suffers from the same fundamental flaws as the two defeated
  6014.        project requests.
  6015.  
  6016.        P1201 has been moving ahead for several meetings, working to
  6017.        an unrecognized project scope.  The working group has been
  6018.        attempting to come up with a ``virtual'' toolkit for
  6019.        windowing, under which Motif or Open Look could be plugged.
  6020.        Indeed, they claim anything could be plugged into the new
  6021.        model, including a MacIntosh or Presentation Manager
  6022.  
  6023.  
  6024.  
  6025.  
  6026.  
  6027.  
  6028.  
  6029.  
  6030.  
  6031.  
  6032.  
  6033.                                   - 7 -
  6034.  
  6035.  
  6036.  
  6037.        interface.
  6038.  
  6039.        They have made substantial progress the past two meetings
  6040.        working with the XVT specification as a base document,
  6041.        probably because former supporters of Motif and Open Look
  6042.        have been busy with their own project requests. Now they
  6043.        face complete termination. This removal of sponsorship
  6044.        effects P1201.2 (Recommended Drivability Practise) as well.
  6045.  
  6046.        The motion to remove the P1201 sponsorship has been tabled
  6047.        until the October meetings. The Project Management Committee
  6048.        was due to review this project for the October meeting
  6049.        anyway, so it was felt they should be allowed to do their
  6050.        job first. What this really means is that yet another
  6051.        meeting is going to be turned on end with discussions of
  6052.        standardization of windowing interfaces.
  6053.  
  6054.        Institutional Representative Voting Issues
  6055.  
  6056.        A subcommittee of the Sponsor Executive Committee (SEC)
  6057.        recently balloted the TCOS Operating Procedures.  In general
  6058.        there is nothing too controversial in them, with one notable
  6059.        exception. The vote is being removed from TCOS SEC
  6060.        Institutional Representatives (IR). It is a sensitive enough
  6061.        issue that it is separately called out in a mini-ballot all
  6062.        by itself.
  6063.  
  6064.        The mini-ballot phrasing was slanted towards removing the
  6065.        vote, and has already been attacked on the net. Apparently
  6066.        history is the culprit here. It's always easy to blame
  6067.        history. It's never there to defend itself.
  6068.  
  6069.        The concept of IR was created within the IEEE standards
  6070.        arena with the intent of allowing other accredited standards
  6071.        organizations to have representation. TCOS extended the IR
  6072.        role to include X/Open, USENIX and Uniforum.  It looks good
  6073.        to be able to point to the greater acceptance of a standard
  6074.        by the technical community this way.
  6075.  
  6076.        Other groups applied for this status.  There was a small
  6077.        proliferation of IRs within the SEC. A concern was raised
  6078.        over the growing numbers of ``outside'' votes being
  6079.        generated.  With no good definition in the IEEE standards
  6080.        hierarchy as to what exactly an IR is, there's no way to
  6081.        limit the number.
  6082.  
  6083.        The results of the mini-ballot will be interesting. I
  6084.        personally objected on my ballot, arguing that IRs have a
  6085.        voting role and that the rules should be modified to
  6086.        adequately define IRs. All of the IRs can be reviewed in the
  6087.        light of the new definition.  There are already rules in
  6088.  
  6089.  
  6090.  
  6091.  
  6092.  
  6093.  
  6094.  
  6095.  
  6096.  
  6097.  
  6098.  
  6099.                                   - 8 -
  6100.  
  6101.  
  6102.  
  6103.        place to remove IRs. IRs often have a broader picture of
  6104.        POSIX than individual working group chairs, intent on their
  6105.        own working group progress and problems, and therefore add
  6106.        to the process.
  6107.  
  6108.        +---------
  6109.        --------------------------------------------------------------------+
  6110.        Stephen R. Walli                               SRW Software
  6111.        phone: (416) 579 0304                          572 Foxrun
  6112.        Court, fax:   (416) 571 1991
  6113.        Oshawa, Ontario, Canada, speaker!stephe@mks.com   -OR-
  6114.        L1K 1N9 uunet!watmath!mks!speaker!stephe +---------
  6115.        --------------------------------------------------------------------+
  6116.  
  6117.  
  6118.  
  6119.  
  6120.  
  6121.  
  6122.  
  6123.  
  6124.  
  6125.  
  6126.  
  6127.  
  6128.  
  6129.  
  6130.  
  6131.  
  6132.  
  6133.  
  6134.  
  6135.  
  6136.  
  6137.  
  6138.  
  6139.  
  6140.  
  6141.  
  6142.  
  6143.  
  6144.  
  6145.  
  6146.  
  6147.  
  6148.  
  6149.  
  6150.  
  6151.  
  6152.  
  6153.  
  6154.  
  6155.  
  6156.  
  6157.  
  6158.  
  6159.  
  6160.  
  6161. Volume-Number: Volume 24, Number 74
  6162.  
  6163. From std-unix-request@uunet.UU.NET  Thu Aug 22 15:24:08 1991
  6164. Received: from relay1.UU.NET by uunet.UU.NET with SMTP 
  6165.     (5.61/UUNET-uucp-primary) id AA21710; Thu, 22 Aug 91 15:24:08 -0400
  6166. Received: from kithrup.com by relay1.UU.NET with SMTP 
  6167.     (5.61/UUNET-internet-primary) id AA06698; Thu, 22 Aug 91 15:24:05 -0400
  6168. Newsgroups: comp.std.unix
  6169. From: Scott Johnson <scott@alfred.itp.com>
  6170. Subject: POSIX Threads with UNIX
  6171. Message-Id: <1991Aug22.191854.23047@uunet.uu.net>
  6172. Originator: sef@uunet.UU.NET
  6173. Sender: UseNet News <usenet@uunet.UU.NET>
  6174. Nntp-Posting-Host: uunet.uu.net
  6175. X-Submissions: std-unix@uunet.uu.net
  6176. Organization: UUNET Communications Services
  6177. Date: Thu, 22 Aug 1991 17:23:06 GMT
  6178. Reply-To: std-unix@uunet.UU.NET
  6179. To: std-unix@uunet.UU.NET
  6180.  
  6181. Submitted-by: scott@alfred.ITP.COM (Scott Johnson)
  6182.  
  6183. Hello all,
  6184.  
  6185.     Does a POSIX compliant threads library for UNIX exist? I would like 
  6186. to hear about any threads package, either public domain or 3rd party 
  6187. offerings even if they are not POSIX compliant.
  6188.  
  6189.     If such a library does not exist, has anyone tried to simulate
  6190. threaded behavior using fork, exec, and shared memory?
  6191.  
  6192.     Please respond directly to scott@itp.com as I do not normally
  6193. read this list.
  6194.  
  6195. Thankyou,
  6196.  
  6197.         -- Scott
  6198.         scott@itp.com
  6199.  
  6200. [ I wasn't aware that a POSIX compliant threads-library for POSIX existed
  6201. yet -- mod ]
  6202.  
  6203. Volume-Number: Volume 24, Number 75
  6204.  
  6205. From std-unix-request@uunet.UU.NET  Thu Aug 22 16:37:50 1991
  6206. Received: from relay1.UU.NET by uunet.UU.NET with SMTP 
  6207.     (5.61/UUNET-uucp-primary) id AA14827; Thu, 22 Aug 91 16:37:50 -0400
  6208. Received: from kithrup.com by relay1.UU.NET with SMTP 
  6209.     (5.61/UUNET-internet-primary) id AA26955; Thu, 22 Aug 91 16:37:47 -0400
  6210. Newsgroups: comp.std.unix
  6211. From: Vladimir Ivanovic <vladimir@eng.sun.com>
  6212. Subject: P1003.2
  6213. Message-Id: <1991Aug22.203214.27369@uunet.uu.net>
  6214. Originator: sef@uunet.UU.NET
  6215. Sender: UseNet News <usenet@uunet.UU.NET>
  6216. Nntp-Posting-Host: uunet.uu.net
  6217. X-Submissions: std-unix@uunet.uu.net
  6218. Organization: Sun Microsystems, Inc.
  6219. Date: Thu, 22 Aug 1991 20:26:10 GMT
  6220. Reply-To: std-unix@uunet.UU.NET
  6221. To: std-unix@uunet.UU.NET
  6222.  
  6223. Submitted-by: vladimir@Eng.Sun.COM (Vladimir Ivanovic)
  6224.  
  6225. I just called the IEEE Computer Society Washington office (1-202-371-0101) to
  6226. order the latest P1003.2 Shell and Utilites draft standard and was told that it
  6227. was no longer available from them because "it was being voted upon" and to
  6228. call 1-800-678-4333 (which follows banker's hours and closes at 4 PM!).
  6229.  
  6230. Is this draft 12 that's being voted upon?
  6231.  
  6232. A previous message said that Draft 12 (aka possibly 11.1) might be distributed
  6233. as a set of changes to Draft 11.  If this is so, where can one obtain the
  6234. original Draft 11 on which to base Draft 12?
  6235.  
  6236. Thanks for any help.
  6237.  
  6238. -- Vladimir
  6239. --
  6240. Vladimir G. Ivanovic                            Sun Microsystems, Inc
  6241. (415) 336-2315                                  MTV12-33
  6242. vladimir@Eng.Sun.COM                            2550 Garcia Ave.
  6243. {decwrl,hplabs,ucbvax}!sun!Eng!vladimir         Mountain View, CA 94043-1100
  6244.                          Disclaimer: I speak for myself.
  6245.  
  6246. Volume-Number: Volume 24, Number 76
  6247.  
  6248. From std-unix-request@uunet.UU.NET  Thu Aug 22 17:00:39 1991
  6249. Received: from relay1.UU.NET by uunet.UU.NET with SMTP 
  6250.     (5.61/UUNET-uucp-primary) id AA22634; Thu, 22 Aug 91 17:00:39 -0400
  6251. Received: from kithrup.com by relay1.UU.NET with SMTP 
  6252.     (5.61/UUNET-internet-primary) id AA02546; Thu, 22 Aug 91 17:00:35 -0400
  6253. Newsgroups: comp.std.unix
  6254. From: Doug Ritter <dougr@meaddata.com>
  6255. Subject: System Evaluations
  6256. Message-Id: <1991Aug22.205526.28847@uunet.uu.net>
  6257. Originator: sef@uunet.UU.NET
  6258. Sender: UseNet News <usenet@uunet.UU.NET>
  6259. Nntp-Posting-Host: uunet.uu.net
  6260. X-Submissions: std-unix@uunet.uu.net
  6261. Organization: Mead Data Central, Dayton OH
  6262. Date: Thu, 22 Aug 1991 20:24:19 GMT
  6263. Reply-To: std-unix@uunet.UU.NET
  6264. To: std-unix@uunet.UU.NET
  6265.  
  6266. Submitted-by: dougr@meaddata.com (Doug Ritter)
  6267.  
  6268. Greetings all!
  6269.  
  6270. I have been given the task of developing a comprehensive hardware
  6271. evaluation procedure for our company.  This procedure should cover
  6272. *everything*, from CPU benchmarking to standards compliance.
  6273. I have no idea where to start with this, so I'm soliciting help
  6274. from the net.
  6275.  
  6276. Some specific questions I have are:
  6277.  
  6278. 1)  Is there an existing suite of programs to test a system for
  6279.     POSIX compliance?
  6280.  
  6281. 2)  Is it possible to get copies of the code used to do the TPC/A
  6282.     and TPC/B benchmarks?
  6283.  
  6284. 3)  Where can I get copies of the code for other benchmarks?
  6285.  
  6286.  
  6287. And in general, could anyone offer some advice as how to approach
  6288. this task?  How do I go about developing a process generic enough
  6289. to evaluate two systems as different as say, an RS/6000 and an NCR
  6290. Enterprise 90?  *AND* come up with results that make a valid
  6291. comparison?  Are there any books on this topic?  Any organizations
  6292. where 'hardware evaluators' hang out?
  6293.  
  6294. Please reply by e-mail, if possible.  
  6295. --
  6296. ===============================================================================
  6297. Douglas N. Ritter                      Hoch und stiel leben!
  6298. dougr@meaddata.com
  6299. ...!uunet!meaddata!dougr             No, I'm not speaking for MDC!
  6300.  
  6301. [ I think Douglas means 'system evaluations,' not 'hardware evaulations,' 
  6302.   so I changed the subject to match -- mod ]
  6303.  
  6304. Volume-Number: Volume 24, Number 77
  6305.  
  6306. From std-unix-request@uunet.UU.NET  Thu Aug 22 19:00:46 1991
  6307. Received: from relay1.UU.NET by uunet.UU.NET with SMTP 
  6308.     (5.61/UUNET-uucp-primary) id AA04124; Thu, 22 Aug 91 19:00:46 -0400
  6309. Received: from kithrup.com by relay1.UU.NET with SMTP 
  6310.     (5.61/UUNET-internet-primary) id AA04883; Thu, 22 Aug 91 19:00:45 -0400
  6311. Newsgroups: comp.std.unix
  6312. From: Rich Stevens <rstevens@noao.edu>
  6313. Subject: XPG4 ?
  6314. Message-Id: <1991Aug22.225533.5978@uunet.uu.net>
  6315. Originator: sef@uunet.UU.NET
  6316. Sender: UseNet News <usenet@uunet.UU.NET>
  6317. Nntp-Posting-Host: uunet.uu.net
  6318. X-Submissions: std-unix@uunet.uu.net
  6319. Organization: National Optical Astronomy Observatories, Tucson, AZ, USA
  6320. Date: Thu, 22 Aug 1991 22:18:33 GMT
  6321. Reply-To: std-unix@uunet.UU.NET
  6322. To: std-unix@uunet.UU.NET
  6323.  
  6324. Submitted-by: rstevens@noao.edu (Rich Stevens)
  6325.  
  6326. Does anyone know anything about XPG4?  I've heard it referred to
  6327. a couple of times but haven't seen anything in print.  I've tried
  6328. sending e-mail to XPG in the UK, but you get back an automated
  6329. reply saying someone will contact you, then nothing.
  6330.  
  6331.     Rich Stevens  (rstevens@noao.edu)
  6332.  
  6333.  
  6334. Volume-Number: Volume 24, Number 78
  6335.  
  6336. From std-unix-request@uunet.UU.NET  Thu Aug 22 21:30:25 1991
  6337. Received: from relay1.UU.NET by uunet.UU.NET with SMTP 
  6338.     (5.61/UUNET-uucp-primary) id AA07700; Thu, 22 Aug 91 21:30:25 -0400
  6339. Received: from kithrup.com by relay1.UU.NET with SMTP 
  6340.     (5.61/UUNET-internet-primary) id AA03461; Thu, 22 Aug 91 21:30:21 -0400
  6341. Newsgroups: comp.std.unix
  6342. From: disk-unit-poll@gnu.ai.mit.edu
  6343. Subject: what units should df and du use?
  6344. Message-Id: <1991Aug23.010957.11231@uunet.uu.net>
  6345. Originator: sef@uunet.UU.NET
  6346. Sender: UseNet News <usenet@uunet.UU.NET>
  6347. Nntp-Posting-Host: uunet.uu.net
  6348. Reply-To: hlj@posix.com
  6349. X-Submissions: std-unix@uunet.uu.net
  6350. Organization: Project GLUE, University of Maryland
  6351. Date: Fri, 23 Aug 1991 01:20:32 GMT
  6352. To: std-unix@uunet.UU.NET
  6353.  
  6354. Submitted-by: djm@eng.umd.edu (David J. MacKenzie)
  6355.  
  6356. [Reposting from gnu.announce for a wider distribution. -- djm]
  6357.  
  6358. [This is from rms, but please send replies to the reply-to addresses
  6359. shown in the header: disk-unit-poll@gnu.ai.mit.edu, hlj@posix.com]
  6360.  
  6361. The current draft of the POSIX user portability extensions spec says
  6362. that df and du should give sizes in units of 512 bytes.  I have found
  6363. this behavior confusing and inconvenient; I suspect others do too.
  6364.  
  6365. Some other people involved in the standards process have said they
  6366. prefer units of 1024; in response, the committee added the -k option,
  6367. which says to use 1024 instead of 512.
  6368.  
  6369. I think this is not a real solution.  The use of 512 as the unit will
  6370. make life difficult for beginning users who don't know about -k.  And
  6371. it seems silly to make 512 the default if users won't like it.
  6372.  
  6373. The committee chose 512, not because they think users prefer it,
  6374. but for totally unrelated reasons having to do with how BSD and 
  6375. System V behave.  I think this decision should be made based on the
  6376. preferences of actual users.  If the users tell the committee what
  6377. they want, the committee may yet listen.
  6378.  
  6379. Aside from that, we can make the GNU system do what users prefer even
  6380. if that disagrees with POSIX.  We don't have to follow the standard.
  6381.  
  6382. But what do most users prefer?  To find out, here is a poll.
  6383.  
  6384.  
  6385. Which of these two alternatives would you prefer, and how much?
  6386.  
  6387. * df and du output is in units of 1024.
  6388.  
  6389. * df and du is in units of 512 unless you use -k.
  6390.  
  6391.  
  6392. hlj@posix.com is included in the reply-to field of this message
  6393. because he is the person to whom people not in the POSIX UPE committee
  6394. should send their comments on the spec.  It's important to send your
  6395. preference to him, because the committee must then officially
  6396. recognize that they know what you prefer.  And they have to pay at
  6397. least a little attention to your preference.  I invited him to set up
  6398. an alternative mailbox for these messages, but he said he'd rather get
  6399. them in his own mailbox.
  6400.  
  6401. I hope he gets a lot of mail. :-)
  6402. --
  6403. David J. MacKenzie <djm@eng.umd.edu> <djm@ai.mit.edu>
  6404.  
  6405.  
  6406. Volume-Number: Volume 24, Number 79
  6407.  
  6408. From std-unix-request@uunet.UU.NET  Fri Aug 23 02:03:45 1991
  6409. Received: from relay1.UU.NET by uunet.UU.NET with SMTP 
  6410.     (5.61/UUNET-uucp-primary) id AA20471; Fri, 23 Aug 91 02:03:45 -0400
  6411. Received: from kithrup.com by relay1.UU.NET with SMTP 
  6412.     (5.61/UUNET-internet-primary) id AA02892; Fri, 23 Aug 91 02:03:40 -0400
  6413. Newsgroups: comp.std.unix
  6414. From: "James Buster bitbug@btr.com" <bitbug@btr.com>
  6415. Subject: Re: POSIX Threads with UNIX
  6416. Message-Id: <1991Aug23.055831.27725@uunet.uu.net>
  6417. Originator: sef@uunet.UU.NET
  6418. Sender: UseNet News <usenet@uunet.UU.NET>
  6419. Nntp-Posting-Host: uunet.uu.net
  6420. X-Submissions: std-unix@uunet.uu.net
  6421. Organization: BTR Public Access UNIX, MtnView CA. Contact: Customer Service 
  6422.     cs@BTR.COM
  6423. References: <1991Aug22.191854.23047@uunet.uu.net>
  6424. Date: Thu, 22 Aug 1991 23:03:10 GMT
  6425. Reply-To: std-unix@uunet.UU.NET
  6426. To: std-unix@uunet.UU.NET
  6427.  
  6428. Submitted-by: bitbug@public.uucp (James Buster bitbug@btr.com)
  6429.  
  6430. In article <1991Aug22.191854.23047@uunet.uu.net> scott@alfred.ITP.COM (Scott Johnson) writes:
  6431. >[ I wasn't aware that a POSIX compliant threads-library for POSIX existed
  6432. >yet -- mod ]
  6433.  
  6434. Not in general, although I have seen systems that implement Draft 9
  6435. of the Posix 1003.4a "pthreads" spec.
  6436. -- 
  6437.                 James Buster
  6438.                    bitbug@btr.com
  6439.  
  6440.  
  6441. Volume-Number: Volume 24, Number 80
  6442.  
  6443. From std-unix-request@uunet.UU.NET  Thu Aug 29 14:56:55 1991
  6444. Received: from relay1.UU.NET by uunet.UU.NET with SMTP 
  6445.     (5.61/UUNET-uucp-primary) id AA19686; Thu, 29 Aug 91 14:56:55 -0400
  6446. Received: from kithrup.com by relay1.UU.NET with SMTP 
  6447.     (5.61/UUNET-internet-primary) id AA13549; Thu, 29 Aug 91 14:56:50 -0400
  6448. Newsgroups: comp.std.unix
  6449. From: Simon Patience <sp@mirabeau.osf.fr>
  6450. Subject: Re: POSIX Threads with UNIX
  6451. Message-Id: <1991Aug29.184907.24971@uunet.uu.net>
  6452. Originator: sef@uunet.UU.NET
  6453. Sender: UseNet News <usenet@uunet.UU.NET>
  6454. Nntp-Posting-Host: uunet.uu.net
  6455. Reply-To: Simon Patience <sp@mirabeau.osf.fr>
  6456. X-Submissions: std-unix@uunet.uu.net
  6457. Organization: OSF Research Institute
  6458. References: <1991Aug22.191854.23047@uunet.uu.net> <1991Aug22.191854.23047@uunet.uu.net>,
  6459. Date: Mon, 26 Aug 1991 09:07:22 GMT
  6460. To: std-unix@uunet.UU.NET
  6461.  
  6462. Submitted-by: sp@mirabeau.osf.fr (Simon Patience)
  6463.  
  6464. In article <1991Aug22.191854.23047@uunet.uu.net>, scott@alfred.ITP.COM
  6465. (Scott Johnson) writes:
  6466. >     Does a POSIX compliant threads library for UNIX exist? I would like 
  6467. > to hear about any threads package, either public domain or 3rd party 
  6468. > offerings even if they are not POSIX compliant.
  6469.  
  6470. There is a 1003.4a Draft 4 compliant threads package in OSF/1. This will
  6471. be updated as the standard progresses. Some modification towards D5 has
  6472. been made but as D6 should be out "any day now" and will deviate
  6473. significantly from D5 in certain areas it is unlikely that any of these
  6474. will be supported until the draft is more stable and nearer adoption.
  6475.  
  6476. >     If such a library does not exist, has anyone tried to simulate
  6477. > threaded behavior using fork, exec, and shared memory?
  6478.  
  6479. I have also heard of a number of other threads packages being developed
  6480. but do not know if any are available as yet.
  6481.  
  6482. >     Please respond directly to scott@itp.com as I do not normally
  6483. > read this list.
  6484.  
  6485. I suppose I will have to do this as well :-)
  6486.  
  6487. > [ I wasn't aware that a POSIX compliant threads-library for POSIX existed
  6488. > yet -- mod ]
  6489.  
  6490. So now you know!
  6491.  
  6492. Simon.
  6493.  
  6494.   Simon Patience
  6495.   Open Software Foundation            Phone: +33-76-63-48-72
  6496.   Research Institute                FAX:   +33-76-51-05-32
  6497.   2 Avenue De Vignate                Email: sp@gr.osf.org
  6498.   38610 Gieres, France                       uunet!gr.osf.org!sp
  6499.  
  6500.  
  6501. Volume-Number: Volume 24, Number 81
  6502.  
  6503. From std-unix-request@uunet.UU.NET  Thu Aug 29 14:57:00 1991
  6504. Received: from relay1.UU.NET by uunet.UU.NET with SMTP 
  6505.     (5.61/UUNET-uucp-primary) id AA19721; Thu, 29 Aug 91 14:57:00 -0400
  6506. Received: from kithrup.com by relay1.UU.NET with SMTP 
  6507.     (5.61/UUNET-internet-primary) id AA13555; Thu, 29 Aug 91 14:56:51 -0400
  6508. Newsgroups: comp.std.unix
  6509. From: Doug Gwyn <gwyn@smoke.brl.mil>
  6510. Subject: Re: what units should df and du use?
  6511. Message-Id: <1991Aug29.185328.25349@uunet.uu.net>
  6512. Originator: sef@uunet.UU.NET
  6513. Sender: UseNet News <usenet@uunet.UU.NET>
  6514. Nntp-Posting-Host: uunet.uu.net
  6515. X-Submissions: std-unix@uunet.uu.net
  6516. Organization: U.S. Army Ballistic Research Laboratory, APG, MD.
  6517. References: <1991Aug23.010957.11231@uunet.uu.net>
  6518. Date: Fri, 23 Aug 1991 20:52:02 GMT
  6519. Reply-To: std-unix@uunet.UU.NET
  6520. To: std-unix@uunet.UU.NET
  6521.  
  6522. Submitted-by: gwyn@smoke.brl.mil (Doug Gwyn)
  6523.  
  6524. In article <1991Aug23.010957.11231@uunet.uu.net> rms writes:
  6525. >The committee chose 512, not because they think users prefer it,
  6526. >but for totally unrelated reasons having to do with how BSD and 
  6527. >System V behave.  I think this decision should be made based on the
  6528. >preferences of actual users.  If the users tell the committee what
  6529. >they want, the committee may yet listen.
  6530.  
  6531. The real issue is whether a STANDARD should codify what existing
  6532. practice IS, or what it SHOULD HAVE BEEN.
  6533.  
  6534. If POSIX.2 really aims at devising new UNIX utility behavior, I
  6535. have a LOT of suggestions for improvement, and would suggest that
  6536. NEW NAMES be chosen for utilities implementing such improvements.
  6537. (Most of the common UNIX utilities have undesirable characteristics.)
  6538.  
  6539. If, on the other hand, POSIX.2 aims at providing a common platform
  6540. consistent with widespread practice, whenever there is a single
  6541. existing behavior then that is what the standard should specify.
  6542.  
  6543. A position should be adopted on this issue then adhered to.
  6544.  
  6545.  
  6546. Volume-Number: Volume 24, Number 82
  6547.  
  6548. From std-unix-request@uunet.UU.NET  Thu Aug 29 14:57:07 1991
  6549. Received: from relay1.UU.NET by uunet.UU.NET with SMTP 
  6550.     (5.61/UUNET-uucp-primary) id AA19779; Thu, 29 Aug 91 14:57:07 -0400
  6551. Received: from kithrup.com by relay1.UU.NET with SMTP 
  6552.     (5.61/UUNET-internet-primary) id AA13609; Thu, 29 Aug 91 14:57:03 -0400
  6553. Newsgroups: comp.std.unix
  6554. From: "Jan R. Cirpka" <cirpka@idca.tds.philips.nl>
  6555. Subject: Re: XPG4
  6556. Message-Id: <1991Aug29.185734.25616@uunet.uu.net>
  6557. Originator: sef@uunet.UU.NET
  6558. Sender: UseNet News <usenet@uunet.UU.NET>
  6559. Nntp-Posting-Host: uunet.uu.net
  6560. X-Submissions: std-unix@uunet.uu.net
  6561. Organization: Philips Information Systems, P.O. Box 245,
  6562. References: <1991Aug22.225533.5978@uunet.uu.net>;
  6563. Date: Tue, 27 Aug 1991 18:10:02 GMT
  6564. Reply-To: std-unix@uunet.UU.NET
  6565. To: std-unix@uunet.UU.NET
  6566.  
  6567. Submitted-by: cirpka@idca.tds.philips.nl (Jan R. Cirpka)
  6568.  
  6569. > Does anyone know anything about XPG4?  I've heard it referred to
  6570. > a couple of times but haven't seen anything in print.
  6571. >     Rich Stevens  (rstevens@noao.edu)
  6572.  
  6573. There is currently no XPG4. X/Open and its member companies, among
  6574. them Philips are working on plans to release XPG4. It will take
  6575. some more time before it will become reality.
  6576.  
  6577. Regards
  6578.  
  6579. Jan
  6580.  
  6581. --
  6582. Jan R. Cirpka                        Domain: cirpka@idca.tds.philips.nl
  6583.                                      UUCP:   ..!mcsun!philapd!cirpka
  6584. Philips Information Systems          Tel:    +31 (0)55 43-3180
  6585. PG P9000 i V2-A07                    Telex:  36345 NLAEDCN
  6586. P.O. Box 245                         Fax:    +31 (0)55 43-2070
  6587. NL 7300 AE Apeldoorn, The Netherlands
  6588.  
  6589.  
  6590. Volume-Number: Volume 24, Number 83
  6591.  
  6592. From std-unix-request@uunet.UU.NET  Thu Aug 29 15:05:24 1991
  6593. Received: from relay1.UU.NET by uunet.UU.NET with SMTP 
  6594.     (5.61/UUNET-uucp-primary) id AA23181; Thu, 29 Aug 91 15:05:24 -0400
  6595. Received: from kithrup.com by relay1.UU.NET with SMTP 
  6596.     (5.61/UUNET-internet-primary) id AA15713; Thu, 29 Aug 91 15:04:43 -0400
  6597. Newsgroups: comp.std.unix
  6598. From: "David J. MacKenzie" <djm@eng.umd.edu>
  6599. Subject: Democracy Triumphs in Disk Units
  6600. Message-Id: <1991Aug29.190057.25838@uunet.uu.net>
  6601. Originator: sef@uunet.UU.NET
  6602. Sender: UseNet News <usenet@uunet.UU.NET>
  6603. Nntp-Posting-Host: uunet.uu.net
  6604. X-Submissions: std-unix@uunet.uu.net
  6605. Organization: Project GLUE, University of Maryland
  6606. Date: Thu, 29 Aug 1991 17:25:35 GMT
  6607. Reply-To: std-unix@uunet.UU.NET
  6608. To: std-unix@uunet.UU.NET
  6609.  
  6610. Submitted-by: djm@eng.umd.edu (David J. MacKenzie)
  6611.  
  6612. [Reposting rms's message from gnu.announce for a wider distribution. -djm]
  6613.  
  6614. Last week users poured out into the streets of the network to rally to
  6615. the cause of 1024-byte blocks for measuring disk space.  When people
  6616. finally chose sides, it was amazing how few actually stood with the
  6617. POSIX Central Committee and its apparatchiks.  Only 20 out of 750
  6618. supported the 512ist coup.
  6619.  
  6620. In the aftermath, the GNU system has declared its independence,
  6621. throwing off the power of the POSIX party.  We are rapidly moving to
  6622. eliminate all vestage of 512ist domination.  We have already taken
  6623. direct control of df, du, and several other programs, converting them
  6624. to use 1024-byte units for measuring output, and to provide ways to
  6625. specify input quantities in units of K.
  6626.  
  6627. We promise to respect the rights of minorities--even tiny ones.  So
  6628. there will be options to request output in units of 512.  Even those
  6629. who cannot bear to deviate from the POSIX party line will be provided
  6630. for--they can define the environment variable POSIX_ME_HARDER.
  6631.  
  6632. But what we really hope is that the POSIX party will itself modernize
  6633. its hardline position, and add its support to 1024ist reform.  If the
  6634. KGB could do it, there must at least be a chance for POSIX.
  6635. --
  6636. David J. MacKenzie <djm@eng.umd.edu> <djm@ai.mit.edu>
  6637.  
  6638.  
  6639. Volume-Number: Volume 24, Number 84
  6640.  
  6641. From std-unix-request@uunet.UU.NET  Fri Aug 30 00:24:27 1991
  6642. Received: from relay1.UU.NET by uunet.UU.NET with SMTP 
  6643.     (5.61/UUNET-uucp-primary) id AA21524; Fri, 30 Aug 91 00:24:27 -0400
  6644. Received: from kithrup.com by relay1.UU.NET with SMTP 
  6645.     (5.61/UUNET-internet-primary) id AA10898; Fri, 30 Aug 91 00:24:25 -0400
  6646. Newsgroups: comp.std.unix
  6647. From: Doug Gwyn <gwyn@smoke.brl.mil>
  6648. Subject: Re: Democracy Triumphs in Disk Units
  6649. Message-Id: <1991Aug30.042028.25466@uunet.uu.net>
  6650. Originator: sef@uunet.UU.NET
  6651. Sender: UseNet News <usenet@uunet.UU.NET>
  6652. Nntp-Posting-Host: uunet.uu.net
  6653. X-Submissions: std-unix@uunet.uu.net
  6654. Organization: U.S. Army Ballistic Research Laboratory, APG, MD.
  6655. References: <1991Aug29.190057.25838@uunet.uu.net>
  6656. Date: Thu, 29 Aug 1991 20:46:02 GMT
  6657. Reply-To: std-unix@uunet.UU.NET
  6658. To: std-unix@uunet.UU.NET
  6659.  
  6660. Submitted-by: gwyn@smoke.brl.mil (Doug Gwyn)
  6661.  
  6662. In article <1991Aug29.190057.25838@uunet.uu.net> djm@eng.umd.edu (David J. MacKenzie) writes:
  6663. >Only 20 out of 750 supported the 512ist coup.
  6664.  
  6665. And how many supported the 1024th revisionists?
  6666. I know I expressed the opinion that the decision should not be made
  6667. until the underlying principles for making such decisions had been
  6668. established..  Did you count me on one side or the other?
  6669.  
  6670. >We promise to respect the rights of minorities--even tiny ones.  So
  6671. >there will be options to request output in units of 512.
  6672.  
  6673. There's no smaller nontrivial minority than me.  Can I specify bits or
  6674. bytes instead of artificial block sizes?
  6675.  
  6676.  
  6677. Volume-Number: Volume 24, Number 85
  6678.  
  6679. From std-unix-request@uunet.UU.NET  Fri Aug 30 13:55:45 1991
  6680. Received: from relay1.UU.NET by uunet.UU.NET with SMTP 
  6681.     (5.61/UUNET-uucp-primary) id AA16404; Fri, 30 Aug 91 13:55:45 -0400
  6682. Received: from kithrup.com by relay1.UU.NET with SMTP 
  6683.     (5.61/UUNET-internet-primary) id AA19846; Fri, 30 Aug 91 13:55:43 -0400
  6684. Newsgroups: comp.std.unix
  6685. From: Chris Ritson <C.R.Ritson@newcastle.ac.uk>
  6686. Subject: Re: Democracy Triumphs in Disk Units
  6687. Message-Id: <1991Aug30.175049.19913@uunet.uu.net>
  6688. Originator: sef@uunet.UU.NET
  6689. Sender: UseNet News <usenet@uunet.UU.NET>
  6690. Nntp-Posting-Host: uunet.uu.net
  6691. X-Submissions: std-unix@uunet.uu.net
  6692. Organization: University of Newcastle upon Tyne, UK, NE1 7RU
  6693. References: <1991Aug29.190057.25838@uunet.uu.net> 
  6694.     <1991Aug30.042028.25466@uunet.uu.net>
  6695. Date: Fri, 30 Aug 1991 08:52:27 GMT
  6696. Reply-To: std-unix@uunet.UU.NET
  6697. To: std-unix@uunet.UU.NET
  6698.  
  6699. Submitted-by: C.R.Ritson@newcastle.ac.uk
  6700.  
  6701. A related issue to the units used by df/du...
  6702.  
  6703. On one of our  sun clusters, the computing service runs process
  6704. accounting, and find that they have to process the files on the
  6705. (dataless) clients, because if they do not do this, the figures
  6706. are wrong.
  6707.  
  6708. All this is because memory accounting seems somewhere to depend on
  6709. the memory page size (the server and the clients have different
  6710. memory page sizes), rather than being expressed in K-bytes. Once
  6711. again I think we need to work in K-bytes to make accounting files
  6712. portable.
  6713.  
  6714. Chris Ritson <C.R.Ritson@newcastle.ac.uk>
  6715.  
  6716. EMAIL: C.R.Ritson@newcastle.ac.uk       Chris Ritson,
  6717. PHONE: +44 91 222 8175                  Computing Laboratory,
  6718. FAX  : +44 91 222 8232                  University of Newcastle upon Tyne,
  6719. TELEX: uk+53654-UNINEW_G                UK, NE1 7RU
  6720.  
  6721.  
  6722. Volume-Number: Volume 24, Number 86
  6723.  
  6724. From std-unix-request@uunet.UU.NET  Fri Aug 30 13:55:49 1991
  6725. Received: from relay1.UU.NET by uunet.UU.NET with SMTP 
  6726.     (5.61/UUNET-uucp-primary) id AA16441; Fri, 30 Aug 91 13:55:49 -0400
  6727. Received: from kithrup.com by relay1.UU.NET with SMTP 
  6728.     (5.61/UUNET-internet-primary) id AA19864; Fri, 30 Aug 91 13:55:47 -0400
  6729. Newsgroups: comp.std.unix
  6730. From: Eric Gisin <eric@mks.com>
  6731. Subject: POSIX.1 stream functions
  6732. Message-Id: <1991Aug30.175152.20038@uunet.uu.net>
  6733. Originator: sef@uunet.UU.NET
  6734. Sender: UseNet News <usenet@uunet.UU.NET>
  6735. Nntp-Posting-Host: uunet.uu.net
  6736. X-Submissions: std-unix@uunet.uu.net
  6737. Organization: Mortice Kern Systems Inc., Waterloo, Ontario, CANADA
  6738. Date: Thu, 29 Aug 1991 17:25:28 GMT
  6739. Reply-To: std-unix@uunet.UU.NET
  6740. To: std-unix@uunet.UU.NET
  6741.  
  6742. Submitted-by: eric@mks.com (Eric Gisin)
  6743.  
  6744. I have POSIX 1003.1-1988 and 1990 in front of me.
  6745. Section 8.2.3 (Interaction with C stream functions) has some major changes.
  6746.  
  6747. Why was the requirement that fclose() set the file descriptor offset
  6748. to the stream offset removed? Note the 1990 rational is wrong.
  6749. This means applications have to do it themselves with
  6750.     fflush(fp);
  6751.     fseek(fp, 0L, SEEK_CUR);
  6752.  
  6753. I understand why fflush is no longer required to invalidate input buffers,
  6754. but is a 1990 implementation required to leave input buffers untouched
  6755. on non-seekable files? For example, can I write
  6756.     fgetc(stdin);        /* first byte */
  6757.     fflush(stdin);
  6758.     [fork(), child does not use stdin but does exit()]
  6759.     fgetc(stdin);        /* second byte */
  6760. without concern that stdin may be a pipe?
  6761. Or do I have to conditionalize the fflush with
  6762.     if (!seekable(fileno(stdin))
  6763. If so, how can I write seekable(), allowing for implementations
  6764. that have non-seekable devices other that ttys and pipes?
  6765.  
  6766. Or, when using fork(), is it required to use _exit() and explicit fflush()s?
  6767.  
  6768.         Eric Gisin, eric@mks.com
  6769.  
  6770.  
  6771. Volume-Number: Volume 24, Number 87
  6772.  
  6773. From std-unix-request@uunet.UU.NET  Sat Aug 31 16:29:34 1991
  6774. Received: from relay1.UU.NET by uunet.UU.NET with SMTP 
  6775.     (5.61/UUNET-uucp-primary) id AA16614; Sat, 31 Aug 91 16:29:34 -0400
  6776. Received: from kithrup.com by relay1.UU.NET with SMTP 
  6777.     (5.61/UUNET-internet-primary) id AA26615; Sat, 31 Aug 91 16:29:32 -0400
  6778. Newsgroups: comp.std.unix
  6779. From: Chuck Karish <karish@pangea.stanford.edu>
  6780. Subject: Re: what units should df and du use?
  6781. Message-Id: <1991Aug31.202615.11996@uunet.uu.net>
  6782. Summary: 'democracy'
  6783. Originator: sef@uunet.UU.NET
  6784. Sender: UseNet News <usenet@uunet.UU.NET>
  6785. Nntp-Posting-Host: uunet.uu.net
  6786. X-Submissions: std-unix@uunet.uu.net
  6787. Organization: Stanford Univ. Earth Sciences
  6788. References: <1991Aug23.010957.11231@uunet.uu.net>
  6789. Date: Sat, 31 Aug 1991 19:11:56 GMT
  6790. Reply-To: std-unix@uunet.UU.NET
  6791. To: std-unix@uunet.UU.NET
  6792.  
  6793. Submitted-by: karish@pangea.stanford.edu (Chuck Karish)
  6794.  
  6795. >The current draft of the POSIX user portability extensions spec says
  6796. >that df and du should give sizes in units of 512 bytes.  I have found
  6797. >this behavior confusing and inconvenient; I suspect others do too.
  6798.  
  6799. I have found this behavior confusing only because it's not
  6800. consistent.  On many systems, df and du use different units,
  6801. the utilities' output doesn't specify which units are used,
  6802. and in some cases the man pages refer only to 'blocks', leaving
  6803. the user to decide whether the block size is 512 bytes, 1024
  6804. bytes, or the file system's block size.
  6805.  
  6806. >Some other people involved in the standards process have said they
  6807. >prefer units of 1024; in response, the committee added the -k option,
  6808. >which says to use 1024 instead of 512.
  6809.  
  6810. On some systems I've used the '-k' option also changes the format
  6811. of df output.  It should always cause the utilities to display
  6812. the units used.
  6813.  
  6814. >I think this is not a real solution.  The use of 512 as the unit will
  6815. >make life difficult for beginning users who don't know about -k.  And
  6816. >it seems silly to make 512 the default if users won't like it.
  6817.  
  6818. Users are surprising adaptable when they're provided a consistent
  6819. interface.  Note also that the default block sizes for other
  6820. UNIX utilities should be considered.  dd, cpio, and tar default
  6821. to 512-byte blocks (except when the medium is tape, for tar).
  6822. It's important to keep in mind what a block is both on the command
  6823. line and in scripts.  I find it easier to do so when the utilities
  6824. all read and write data and report block counts in the same units.
  6825.  
  6826. >The committee chose 512, not because they think users prefer it,
  6827. >but for totally unrelated reasons having to do with how BSD and 
  6828. >System V behave.
  6829.  
  6830. 512 bytes has been a standard block size for tape and disks for
  6831. far longer than BSD and System V have existed.
  6832.  
  6833. >I think this decision should be made based on the
  6834. >preferences of actual users.  If the users tell the committee what
  6835. >they want, the committee may yet listen.
  6836. >
  6837. >Aside from that, we can make the GNU system do what users prefer even
  6838. >if that disagrees with POSIX.  We don't have to follow the standard.
  6839.  
  6840. Your system doesn't ever have to be any more than a hobbyist's
  6841. toy, either.  The more it diverges from industry standards the
  6842. more differences users will have to allow for when moving from
  6843. gnu to a commercial system.  Ask me about alloca() another time ...
  6844. --
  6845.  
  6846.     Chuck Karish        karish@mindcraft.com
  6847.     (415) 323-9000        karish@forel.stanford.edu
  6848.  
  6849.  
  6850. Volume-Number: Volume 24, Number 88
  6851.  
  6852. From std-unix-request@uunet.UU.NET  Sun Sep  1 00:25:46 1991
  6853. Received: from relay1.UU.NET by uunet.UU.NET with SMTP 
  6854.     (5.61/UUNET-uucp-primary) id AA28716; Sun, 1 Sep 91 00:25:46 -0400
  6855. Received: from kithrup.com by relay1.UU.NET with SMTP 
  6856.     (5.61/UUNET-internet-primary) id AA06357; Sun, 1 Sep 91 00:25:45 -0400
  6857. Newsgroups: comp.std.unix
  6858. From: Doug Gwyn <gwyn@smoke.brl.mil>
  6859. Subject: Re: what units should df and du use?
  6860. Message-Id: <1991Sep1.042045.29441@uunet.uu.net>
  6861. Originator: sef@uunet.UU.NET
  6862. Sender: UseNet News <usenet@uunet.UU.NET>
  6863. Nntp-Posting-Host: uunet.uu.net
  6864. X-Submissions: std-unix@uunet.uu.net
  6865. Organization: U.S. Army Ballistic Research Laboratory, APG, MD.
  6866. References: <1991Aug23.010957.11231@uunet.uu.net> <1991Aug31.202615.11996@uunet.uu.net>
  6867. Date: Sun, 1 Sep 1991 00:36:47 GMT
  6868. Reply-To: std-unix@uunet.UU.NET
  6869. To: std-unix@uunet.UU.NET
  6870.  
  6871. Submitted-by: gwyn@smoke.brl.mil (Doug Gwyn)
  6872.  
  6873. In article <1991Aug31.202615.11996@uunet.uu.net> karish@pangea.stanford.edu (Chuck Karish) writes:
  6874. >512 bytes has been a standard block size for tape and disks for
  6875. >far longer than BSD and System V have existed.
  6876.  
  6877. Not really.  On PDP-11s, 512B was indeed a standard disk block size.
  6878. That doesn't mean it also was standard or even common on other
  6879. platforms, even from DEC, or for magtape, which has been blocked in
  6880. a variety of fixed or variable record lengths for as long as I can
  6881. remember, which is at least 20 years.
  6882.  
  6883. I've seen small systems recently with 256B disk block sizes.  There
  6884. are also still some systems with word sizes not an exact multiple of
  6885. 8 bits, on which disk blocks are some integral number of words.
  6886.  
  6887. I like to express sizes in bits, since that is always feasible.
  6888.  
  6889. Volume-Number: Volume 24, Number 89
  6890.  
  6891. From std-unix-request@uunet.UU.NET  Sun Sep  1 00:25:50 1991
  6892. Received: from relay1.UU.NET by uunet.UU.NET with SMTP 
  6893.     (5.61/UUNET-uucp-primary) id AA28718; Sun, 1 Sep 91 00:25:50 -0400
  6894. Received: from kithrup.com by relay1.UU.NET with SMTP 
  6895.     (5.61/UUNET-internet-primary) id AA06363; Sun, 1 Sep 91 00:25:48 -0400
  6896. Newsgroups: comp.std.unix
  6897. From: Dan Bernstein <brnstnd@kramden.acf.nyu.edu>
  6898. Subject: Re: what units should df and du use?
  6899. Message-Id: <1991Sep1.042138.29572@uunet.uu.net>
  6900. Originator: sef@uunet.UU.NET
  6901. Sender: UseNet News <usenet@uunet.UU.NET>
  6902. Nntp-Posting-Host: uunet.uu.net
  6903. X-Submissions: std-unix@uunet.uu.net
  6904. Organization: IR
  6905. References: <1991Aug23.010957.11231@uunet.uu.net> <1991Aug31.202615.11996@uunet.uu.net>
  6906. Date: Sun, 1 Sep 1991 02:12:55 GMT
  6907. Reply-To: std-unix@uunet.UU.NET
  6908. To: std-unix@uunet.UU.NET
  6909.  
  6910. Submitted-by: brnstnd@KRAMDEN.ACF.NYU.EDU (Dan Bernstein)
  6911.  
  6912. In article <1991Aug31.202615.11996@uunet.uu.net> Chuck Karish writes:
  6913. > >Aside from that, we can make the GNU system do what users prefer even
  6914. > >if that disagrees with POSIX.  We don't have to follow the standard.
  6915. > Your system doesn't ever have to be any more than a hobbyist's
  6916. > toy, either.  The more it diverges from industry standards the
  6917. > more differences users will have to allow for when moving from
  6918. > gnu to a commercial system.
  6919.  
  6920. I find this incredibly funny. Chuck implies that a 1024-byte block size
  6921. for df output ``diverges from industry standards,'' when I can type
  6922. ``df'' on practically any BSD machine, including a Sun, and get output
  6923. listed in kbytes. Literally millions of users work on machines which
  6924. have this behavior. That's an industry standard (albeit not the only
  6925. standard) by any reasonable definition.
  6926.  
  6927. POSIX committee members seem to think that they are exempt from the
  6928. moral requirements of (1) implementing their inventions before requiring
  6929. others to do the same; (2) letting the market decide what it wants
  6930. before shoving premature ``standards'' down everyone's throat. Don't
  6931. bother arguing with (1) unless you can show me someone who actually used
  6932. a complete POSIX system before POSIX.1 was standardized. Don't bother
  6933. arguing with (2) unless you can explain how a behavior preferred by 20
  6934. users out of 750 is what the market wants.
  6935.  
  6936. ---Dan
  6937.  
  6938.  
  6939. Volume-Number: Volume 24, Number 90
  6940.  
  6941. From std-unix-request@uunet.uu.net  Mon Sep  2 17:45:05 1991
  6942. Received: from relay1.UU.NET by uunet.uu.net with SMTP 
  6943.     (5.61/UUNET-uucp-primary) id AA14784; Mon, 2 Sep 91 17:45:05 -0400
  6944. Received: from kithrup.com by relay1.UU.NET with SMTP 
  6945.     (5.61/UUNET-internet-primary) id AA08312; Mon, 2 Sep 91 17:44:56 -0400
  6946. From: Chuck Karish <karish@pangea.stanford.edu>
  6947. Newsgroups: comp.std.unix
  6948. Subject: Re: Democracy Triumphs in Disk Units
  6949. Message-Id: <1991Sep2.213952.26445@uunet.uu.net>
  6950. Article-I.D.: uunet.1991Sep2.213952.26445
  6951. References: <1991Aug29.190057.25838@uunet.uu.net>
  6952. Sender: UseNet News <usenet@uunet.uu.net>
  6953. Organization: Stanford Univ. Earth Sciences
  6954. Originator: sef@uunet.UU.NET
  6955. Nntp-Posting-Host: uunet.uu.net
  6956. X-Submissions: std-unix@uunet.uu.net
  6957. Date: 1 Sep 91 04:01:45 GMT
  6958. Reply-To: std-unix@uunet.uu.net
  6959. To: std-unix@uunet.uu.net
  6960.  
  6961. Submitted-by: karish@pangea.stanford.edu (Chuck Karish)
  6962.  
  6963. In article <1991Aug29.190057.25838@uunet.uu.net> djm@eng.umd.edu
  6964. (David J. MacKenzie) forwards an article by Richard Stallman:
  6965. >[Reposting rms's message from gnu.announce for a wider distribution. -djm]
  6966. >
  6967. >Last week users poured out into the streets of the network to rally to
  6968. >the cause of 1024-byte blocks for measuring disk space.  When people
  6969. >finally chose sides, it was amazing how few actually stood with the
  6970. >POSIX Central Committee and its apparatchiks.  Only 20 out of 750
  6971. >supported the 512ist coup.
  6972.  
  6973. Am I the only one who sees this as mindless demagoguery?  This
  6974. 'vote' (really a popularity contest) was held not among end
  6975. users but primarily among GNU developers and system managers.
  6976.  
  6977. Aside from the question of representation, consider the
  6978. procedures used:  It was conducted without advance notice or
  6979. discussion at a time that, save last week of the year, is the
  6980. time when it was least likely to reach a representative
  6981. audience.  The 'Reply-To:' header as posted on comp.std.unix
  6982. directed all replies to Hal Jesperson, so the votes reached
  6983. GNU, if they did at all, only because they were forwarded.
  6984.  
  6985. By the time the call for votes reached Stanford, a new version
  6986. of du reporting disk space in kilobytes had already been
  6987. distributed by GNU.
  6988.  
  6989. >In the aftermath, the GNU system has declared its independence,
  6990. >throwing off the power of the POSIX party.
  6991.  
  6992. Congratulations.  GNU can join Sun.  To paraphrase Bill Joy
  6993. (very loosely, in reference to the GUI wars:) "Standards?
  6994. We don't need no stinkin' standards.  We've got MARKET SHARE!"
  6995.  
  6996. -*-*-*-*-*-*-*-
  6997.  
  6998. It is truly sad to contemplate the false consciousness that
  6999. leads so many worthy programmers to follow Stallman's cult
  7000. of personality rather than the inexorable flow of history.
  7001. --
  7002.  
  7003.     Chuck Karish        karish@mindcraft.com
  7004.     (415) 323-9000        karish@forel.stanford.edu
  7005.  
  7006.  
  7007. Volume-Number: Volume 24, Number 91
  7008.  
  7009. From std-unix-request@uunet.uu.net  Mon Sep  2 17:48:33 1991
  7010. Received: from relay1.UU.NET by uunet.uu.net with SMTP 
  7011.     (5.61/UUNET-uucp-primary) id AA15450; Mon, 2 Sep 91 17:48:33 -0400
  7012. Received: from kithrup.com by relay1.UU.NET with SMTP 
  7013.     (5.61/UUNET-internet-primary) id AA08782; Mon, 2 Sep 91 17:48:25 -0400
  7014. Newsgroups: comp.std.unix
  7015. From: "David J. MacKenzie" <djm@eng.umd.edu>
  7016. Subject: Re: Democracy Triumphs in Disk Units
  7017. Message-Id: <1991Sep2.214221.26606@uunet.uu.net>
  7018. Originator: sef@uunet.UU.NET
  7019. Sender: UseNet News <usenet@uunet.uu.net>
  7020. Nntp-Posting-Host: uunet.uu.net
  7021. X-Submissions: std-unix@uunet.uu.net
  7022. Organization: Project GLUE, University of Maryland
  7023. References: <1991Aug29.190057.25838@uunet.uu.net>
  7024. Date: Sun, 1 Sep 1991 06:41:17 GMT
  7025. Reply-To: std-unix@uunet.uu.net
  7026. To: std-unix@uunet.uu.net
  7027.  
  7028. Submitted-by: djm@eng.umd.edu (David J. MacKenzie)
  7029.  
  7030. Keep in mind that I was only reposting Richard Stallman's message; I
  7031. did not write it.  Richard does not read Usenet groups, only the GNU
  7032. mailing lists.  I forwarded Doug's posting to him in case he wants to
  7033. respond to it.
  7034.  
  7035. >>Only 20 out of 750 supported the 512ist coup.
  7036.  
  7037. > And how many supported the 1024th revisionists?
  7038. > I know I expressed the opinion that the decision should not be made
  7039. > until the underlying principles for making such decisions had been
  7040. > established..  Did you count me on one side or the other?
  7041.  
  7042. I was not involved in counting.  However, I personally looked at about
  7043. the first 200 responses.  All but about 4 or 5 of the ones I read had
  7044. the following approximate content (using different phrasing but the
  7045. same intent):
  7046.     I strongly prefer 1024-byte blocks.  Anything else is
  7047.     ridiculous and unintuitive.
  7048. Many of the respondants mentioned that 512-byte blocks were an
  7049. artifact of old filesystems, and are not relevant to modern systems.
  7050. Many said they had used both Unix systems that reported in 512-byte
  7051. units and Unix systems that reported in 1024-byte units; nearly all of
  7052. those said they found the 512-byte systems frustrating and confusing
  7053. and much preferred the 1024-byte systems.
  7054.  
  7055. >>We promise to respect the rights of minorities--even tiny ones.  So
  7056. >>there will be options to request output in units of 512.
  7057.  
  7058. > There's no smaller nontrivial minority than me.  Can I specify bits or
  7059. > bytes instead of artificial block sizes?
  7060.  
  7061. You can specify bytes in GNU du.  (I added that awhile ago because a
  7062. previous POSIX.2a draft requried it.  They removed it in the current
  7063. draft when they chose 512-bytes as the proposed standard instead.)
  7064. Not in df, but fsstat doesn't give measurements in bytes.  You can get
  7065. bits by multiplying bytes by 8, of course, but that's a silly unit of
  7066. measurement since you can't allocate individual bits in a file.
  7067. --
  7068. David J. MacKenzie <djm@eng.umd.edu> <djm@ai.mit.edu>
  7069.  
  7070.  
  7071. Volume-Number: Volume 24, Number 92
  7072.  
  7073. From std-unix-request@uunet.uu.net  Mon Sep  2 17:48:36 1991
  7074. Received: from relay1.UU.NET by uunet.uu.net with SMTP 
  7075.     (5.61/UUNET-uucp-primary) id AA15455; Mon, 2 Sep 91 17:48:36 -0400
  7076. Received: from kithrup.com by relay1.UU.NET with SMTP 
  7077.     (5.61/UUNET-internet-primary) id AA08788; Mon, 2 Sep 91 17:48:28 -0400
  7078. Newsgroups: comp.std.unix
  7079. From: "David J. MacKenzie" <djm@eng.umd.edu>
  7080. Subject: [rms@gnu.ai.mit.edu: Re: Democracy Triumphs in Disk Units]
  7081. Message-Id: <1991Sep2.214521.26781@uunet.uu.net>
  7082. Originator: sef@uunet.UU.NET
  7083. Sender: UseNet News <usenet@uunet.uu.net>
  7084. Nntp-Posting-Host: uunet.uu.net
  7085. X-Submissions: std-unix@uunet.uu.net
  7086. Organization: Project GLUE, University of Maryland
  7087. Date: Sun, 1 Sep 1991 07:48:21 GMT
  7088. Reply-To: std-unix@uunet.uu.net
  7089. To: std-unix@uunet.uu.net
  7090.  
  7091. Submitted-by: djm@eng.umd.edu (David J. MacKenzie)
  7092.  
  7093. [This is Richard Stallman's reply to Doug Gwynn, which Richard asked
  7094. me to post. -djm]
  7095.  
  7096. 735 out of 763 responses supported 1024-byte units in principle.  (A
  7097. few of these said following POSIX was more important than using the
  7098. best possible units, and another few said the opposite; but all of
  7099. them said that 1024 was better than 512.)  20 responses supported
  7100. 512-byte units.  We can make the entire collection accessible if other
  7101. people want to do their own counting.
  7102.  
  7103. We did not receive a response from Doug Gwyn--at least, I can't find
  7104. the string `gwyn' in the archive of responses send to disk-unit-poll.
  7105. So it seems he was not counted in any fashion.  I am not the one who
  7106. did the counting, but based on what he has said, I would expect a
  7107. reply of that sort to be counted as supporting neither 512 nor 1024.
  7108. We got 8 such replies.
  7109. [Doug might have replied only to hlj@posix.com and not also
  7110. disk-unit-poll@gnu.ai.mit.edu.  The Reply-To: header in the
  7111. comp.std.unix reposting of the original poll mysteriously lost the
  7112. second reply address. -djm]
  7113.  
  7114. (An additional 154 replies have arrived since the counting was done.  I
  7115. skimmed some and they seem much like the earlier replies.)
  7116.  
  7117. As for deciding how to make the decision, for the GNU system, the GNU
  7118. maintainers seem to agree that we should use the disk units that we
  7119. and the users prefer.  How much weight POSIX gives this factor is out
  7120. of our hands, and not vitally important to us since it won't affect
  7121. what we do.  But this would seem like a good idea for POSIX.
  7122.  
  7123.     There's no smaller nontrivial minority than me.  Can I specify bits or
  7124.     bytes instead of artificial block sizes?
  7125.  
  7126. Yes, but you have to do a little more work and edit the source code.
  7127. GNU is famous for creeping featurism, but there are times when even I
  7128. can say no.  Sorry.
  7129. [Richard doesn't know about GNU du -b, I guess :-). -djm]
  7130. --
  7131. David J. MacKenzie <djm@eng.umd.edu> <djm@ai.mit.edu>
  7132.  
  7133. [ The second reply was lost in my effort to set header lines up 
  7134.   appropriately -- sorry for getting it wrong.  Also, this discussion
  7135.   is getting perilously close to an argument -- mod ]
  7136.  
  7137. Volume-Number: Volume 24, Number 93
  7138.  
  7139. From std-unix-request@uunet.uu.net  Mon Sep  2 17:48:41 1991
  7140. Received: from relay1.UU.NET by uunet.uu.net with SMTP 
  7141.     (5.61/UUNET-uucp-primary) id AA15465; Mon, 2 Sep 91 17:48:41 -0400
  7142. Received: from kithrup.com by relay1.UU.NET with SMTP 
  7143.     (5.61/UUNET-internet-primary) id AA08807; Mon, 2 Sep 91 17:48:33 -0400
  7144. Newsgroups: comp.std.unix
  7145. From: alpha@cup.portal.com
  7146. Subject: Re: what units should df and du use?
  7147. Message-Id: <1991Sep2.214720.27005@uunet.uu.net>
  7148. Originator: sef@uunet.UU.NET
  7149. Sender: UseNet News <usenet@uunet.uu.net>
  7150. Nntp-Posting-Host: uunet.uu.net
  7151. X-Submissions: std-unix@uunet.uu.net
  7152. Organization: UUNET Communications Services
  7153. Date: Sun, 1 Sep 1991 22:15:11 GMT
  7154. Reply-To: std-unix@uunet.uu.net
  7155. To: std-unix@uunet.uu.net
  7156.  
  7157. Submitted-by: alpha@cup.portal.com
  7158.  
  7159. I'm new to Unix but have 'been around' for 30 years or so.
  7160. When IBM graduated from punch cards to tape and disk files, they
  7161. specified a 'unit record', analogous to a card, of 128 bytes.
  7162. The term 'block' was generally the minimum data that could be
  7163. read/written to an i/o device, usually a tape or disk.  IBM tapes
  7164. usually had a blocksize of one record (i.e. 128 bytes).  Disk
  7165. subsystems have block sizes of some power of 2 unit records,
  7166. 128, 256, 512 or 1024 bytes.  It seems to me that blocksize is
  7167. implementation specific and of no real use to the user in terms
  7168. of disk usage reports.  The user thinks in terms of bytes, kilobytes,
  7169. megabytes, and now gigabytes and not in block sizes.  He doesn't care.
  7170. Simple reports should be in kilobytes (with a fractional part perhaps).
  7171. A particular file might have a 'size' of 25.5 KB.  A report for a
  7172. 100 megabyte disk partition might be 102400 KB or 100 MB.  As
  7173. our disks are getting larger, GB reports might be supported.
  7174. If the reporting programs are outputting to other than stdout,
  7175. I would prefer the report to be in unit records (128 bytes).
  7176. If to stdout, reports in KB.  Command line options can override
  7177. defaults and format the report any way the user likes.
  7178.  
  7179. My two cents.
  7180.  
  7181. Joe Wright    alpha@cup.portal.com
  7182.  
  7183. Volume-Number: Volume 24, Number 94
  7184.  
  7185. From std-unix-request@uunet.uu.net  Mon Sep  2 19:14:00 1991
  7186. Received: from relay1.UU.NET by uunet.uu.net with SMTP 
  7187.     (5.61/UUNET-uucp-primary) id AA00603; Mon, 2 Sep 91 19:14:00 -0400
  7188. Received: from kithrup.com by relay1.UU.NET with SMTP 
  7189.     (5.61/UUNET-internet-primary) id AA17719; Mon, 2 Sep 91 19:13:52 -0400
  7190. Newsgroups: comp.std.unix
  7191. From: Doug Gwyn <gwyn@smoke.brl.mil>
  7192. Subject: Re: Democracy Triumphs in Disk Units
  7193. Message-Id: <1991Sep2.230739.914@uunet.uu.net>
  7194. Originator: sef@uunet.UU.NET
  7195. Sender: UseNet News <usenet@uunet.uu.net>
  7196. Nntp-Posting-Host: uunet.uu.net
  7197. X-Submissions: std-unix@uunet.uu.net
  7198. Organization: U.S. Army Ballistic Research Laboratory, APG, MD.
  7199. References: <1991Aug29.190057.25838@uunet.uu.net> <1991Sep2.214221.26606@uunet.uu.net>
  7200. Date: Mon, 2 Sep 1991 22:48:07 GMT
  7201. Reply-To: std-unix@uunet.uu.net
  7202. To: std-unix@uunet.uu.net
  7203.  
  7204. Submitted-by: gwyn@smoke.brl.mil (Doug Gwyn)
  7205.  
  7206. In article <1991Sep2.214221.26606@uunet.uu.net> djm@eng.umd.edu (David J. MacKenzie) writes:
  7207. >You can get bits by multiplying bytes by 8, of course, but that's a
  7208. >silly unit of measurement since you can't allocate individual bits
  7209. >in a file.
  7210.  
  7211. Your STRAW MAN argument about allocating individual bits would perhaps
  7212. be "silly", but I did not make that argument.  I did note that not all
  7213. file sizes (expressed as number of bits) are exactly divisible by 8,
  7214. which would make the 8-bit byte rather a silly unit of measure.  And
  7215. other-size bytes more appropriate for such systems aren't necessarily
  7216. any more useful.  While a 9-bit byte may be ideal for an 18-bit system,
  7217. what would you use on a 60-bit system?
  7218.  
  7219. I don't think there is a large advantage to using bit sizing, although
  7220. it does permit CORRECT, PRECISE information to be given in all cases.
  7221. However, the argument that 1024 8-bit bytes is somehow an optimum unit
  7222. of measurement for file sizes needs to be shot down.  It's just one of
  7223. many possible arbitrary choices.  Most users of AT&T UNIX are
  7224. accustomed to 512 8-bit bytes and most users of BSD are accustomed to
  7225. 1024 8-bit bytes.  (I agree with the fellow who criticized the biased
  7226. preference poll that was conducted.)  That doesn't make either of
  7227. these "natural" or "best".  Instead of selecting one arbitrarily, it
  7228. would make more sense to allow it to fit the system characteristics
  7229. (i.e., use the system's minimum disk block size, which could be any
  7230. positive size, and typically is either 512B or 4096B), or to allow the
  7231. user to scale the units according to his own needs.
  7232.  
  7233. If a single size is nonetheless selected for the standard, it must
  7234. make technical sense -- since many important systems allocate files
  7235. in integral (perhaps odd) multiples of 512B, and those units can be
  7236. used to correctly and accurately express sizes of files on systems
  7237. that allocate in integral multiples of 1024B, while the reverse is
  7238. NOT TRUE, obviously 512B would be better than 1024B for a standard
  7239. that must accommodate both kinds of systems.  But flexibility would
  7240. be better yet.
  7241.  
  7242. I must say that attempts to force "solutions" based on popularity
  7243. polls rather than careful reasoning about the actual relevant
  7244. factors is disgusting.  Demagogues would do us all a favor by staying
  7245. out of the standardization process.
  7246.  
  7247. Volume-Number: Volume 24, Number 95
  7248.  
  7249. From std-unix-request@uunet.uu.net  Tue Sep  3 12:56:47 1991
  7250. Received: from relay1.UU.NET by uunet.uu.net with SMTP 
  7251.     (5.61/UUNET-uucp-primary) id AA07765; Tue, 3 Sep 91 12:56:47 -0400
  7252. Received: from kithrup.com by relay1.UU.NET with SMTP 
  7253.     (5.61/UUNET-internet-primary) id AA26684; Tue, 3 Sep 91 12:56:44 -0400
  7254. Newsgroups: comp.std.unix
  7255. From: "David J. MacKenzie" <djm@eng.umd.edu>
  7256. Subject: Re: Democracy Triumphs in Disk Units
  7257. Message-Id: <1991Sep3.164809.2281@uunet.uu.net>
  7258. Originator: sef@uunet.UU.NET
  7259. Sender: UseNet News <usenet@uunet.uu.net>
  7260. Nntp-Posting-Host: uunet.uu.net
  7261. X-Submissions: std-unix@uunet.uu.net
  7262. Organization: Project GLUE, University of Maryland
  7263. References: <1991Aug29.190057.25838@uunet.uu.net>
  7264. Date: Tue, 3 Sep 1991 02:08:35 GMT
  7265. Reply-To: std-unix@uunet.uu.net
  7266. To: std-unix@uunet.uu.net
  7267.  
  7268. Submitted-by: djm@eng.umd.edu (David J. MacKenzie)
  7269.  
  7270. > However, the argument that 1024 8-bit bytes is somehow an optimum unit
  7271. > of measurement for file sizes needs to be shot down.  It's just one of
  7272. > many possible arbitrary choices.  Most users of AT&T UNIX are
  7273. > accustomed to 512 8-bit bytes and most users of BSD are accustomed to
  7274. > 1024 8-bit bytes.
  7275.  
  7276. Users of System V may be "used" to 512-byte units, but the results of
  7277. the poll seem to indicate that most of them hate them nonetheless and
  7278. would rather have 1024-byte units.
  7279.  
  7280. People think and count naturally in powers of 10; since 1024 is close
  7281. to a power of 10, it has become a standard unit for measuring disk
  7282. space on most operating systems, even when selling disks (especially
  7283. floppies).  It is therefore not arbitrary; it is a de facto standard.
  7284.  
  7285. > I did note that not all
  7286. > file sizes (expressed as number of bits) are exactly divisible by 8,
  7287. > which would make the 8-bit byte rather a silly unit of measure.  And
  7288. > other-size bytes more appropriate for such systems aren't necessarily
  7289. > any more useful.  While a 9-bit byte may be ideal for an 18-bit system,
  7290. > what would you use on a 60-bit system?
  7291.  
  7292. GNU and probably POSIX.2 will never run on systems with byte sizes
  7293. other than 8 bits, so there is realistically no point in bothering to
  7294. consider them.  No filesystems allocate or measure space in units of
  7295. less than a byte, either.
  7296.  
  7297. > I must say that attempts to force "solutions" based on popularity
  7298. > polls rather than careful reasoning about the actual relevant
  7299. > factors is disgusting.  
  7300.  
  7301. POSIX committees have engaged in much invention of untested schemes
  7302. because of philosophies like this one.
  7303.  
  7304. --
  7305. David J. MacKenzie <djm@eng.umd.edu> <djm@ai.mit.edu>
  7306.  
  7307. Volume-Number: Volume 24, Number 96
  7308.  
  7309. From std-unix-request@uunet.uu.net  Tue Sep  3 12:56:51 1991
  7310. Received: from relay1.UU.NET by uunet.uu.net with SMTP 
  7311.     (5.61/UUNET-uucp-primary) id AA07787; Tue, 3 Sep 91 12:56:51 -0400
  7312. Received: from kithrup.com by relay1.UU.NET with SMTP 
  7313.     (5.61/UUNET-internet-primary) id AA26690; Tue, 3 Sep 91 12:56:47 -0400
  7314. Newsgroups: comp.std.unix
  7315. From: Tony L Hansen <hansen@pegasus.att.com>
  7316. Subject: Re: what units should df and du use?
  7317. Message-Id: <1991Sep3.164924.2376@uunet.uu.net>
  7318. Summary: 512 is better because it's consistent!
  7319. Originator: sef@uunet.UU.NET
  7320. Keywords: POSIX
  7321. Sender: UseNet News <usenet@uunet.uu.net>
  7322. Nntp-Posting-Host: uunet.uu.net
  7323. X-Submissions: std-unix@uunet.uu.net
  7324. Organization: AT&T Bell Laboratories
  7325. References: <1991Aug23.010957.11231@uunet.uu.net>
  7326. Date: Tue, 3 Sep 1991 01:37:28 GMT
  7327. Reply-To: std-unix@uunet.uu.net
  7328. To: std-unix@uunet.uu.net
  7329.  
  7330. Submitted-by: hansen@pegasus.att.com (Tony L Hansen)
  7331.  
  7332. >The committee chose 512, not because they think users prefer it, but
  7333. >for totally unrelated reasons having to do with how BSD and System V
  7334. >behave.  I think this decision should be made based on the preferences
  7335. >of actual users.  If the users tell the committee what they want, the
  7336. >committee may yet listen.
  7337.  
  7338. As a user, I much prefer the use of 512. Why? It's not because it's such a
  7339. better value than any other value, but because it's consistent with all the
  7340. other tools which talk in terms of "blocks". All I have to remember is that
  7341. "A block is a block is a block" and "A block consists of 512 bytes". I don't
  7342. have to remember that this command uses 1024 bytes for its blocks, and this
  7343. command uses 512 bytes for its blocks, and that one uses 2048 for its
  7344. blocks.  If EVERYTHING uses the same value, then there is LESS confusion!
  7345.  
  7346. I've used systems where some things were in one unit and others were in
  7347. other units, but both uses the same term, and that was much more confusing.
  7348.  
  7349. >Which of these two alternatives would you prefer, and how much?
  7350. >* df and du output is in units of 1024.
  7351. >* df and du is in units of 512 unless you use -k.
  7352.  
  7353. Definitely the latter.
  7354.  
  7355.                     Tony Hansen
  7356.                 hansen@pegasus.att.com, tony@attmail.com
  7357.                 att!pegasus!hansen, attmail!tony
  7358.  
  7359.  
  7360. Volume-Number: Volume 24, Number 97
  7361.  
  7362. From std-unix-request@uunet.uu.net  Tue Sep  3 12:56:56 1991
  7363. Received: from relay1.UU.NET by uunet.uu.net with SMTP 
  7364.     (5.61/UUNET-uucp-primary) id AA07821; Tue, 3 Sep 91 12:56:56 -0400
  7365. Received: from kithrup.com by relay1.UU.NET with SMTP 
  7366.     (5.61/UUNET-internet-primary) id AA26706; Tue, 3 Sep 91 12:56:53 -0400
  7367. Newsgroups: comp.std.unix
  7368. From: "Richard A. O'Keefe" <ok@goanna.cs.rmit.oz.au>
  7369. Subject: Re: what units should df and du use?
  7370. Message-Id: <1991Sep3.165021.2483@uunet.uu.net>
  7371. Summary: constructive suggestion
  7372. Originator: sef@uunet.UU.NET
  7373. Sender: UseNet News <usenet@uunet.uu.net>
  7374. Nntp-Posting-Host: uunet.uu.net
  7375. X-Submissions: std-unix@uunet.uu.net
  7376. Organization: Comp Sci, RMIT, Melbourne, Australia
  7377. References: <1991Aug23.010957.11231@uunet.uu.net> 
  7378.     <1991Aug31.202615.11996@uunet.uu.net>
  7379. Date: Tue, 3 Sep 1991 06:16:04 GMT
  7380. Reply-To: std-unix@uunet.uu.net
  7381. To: std-unix@uunet.uu.net
  7382.  
  7383. Submitted-by: ok@goanna.cs.rmit.oz.au (Richard A. O'Keefe)
  7384.  
  7385. > >The current draft of the POSIX user portability extensions spec says
  7386. > >that df and du should give sizes in units of 512 bytes.  I have found
  7387. > >this behavior confusing and inconvenient; I suspect others do too.
  7388.  
  7389. To be perfectly frank, it seems to _me_ that (since UNIX files are
  7390. logically sequences of bytes, not sequences of blocks, or records, or bits)
  7391. that there is precisely ONE ``natural unit'' for reporting ALL file-related
  7392. sizes, and that is bytes.
  7393.  
  7394. I suggest that it is possible BOTH to make things simple and consistent for
  7395. users AND to be POSIX-compliant.  Have an environment variable
  7396.     BLOCK_UNIT=1        # for me
  7397.     BLOCK_UNIT=512        # for 512ists
  7398.     BLOCK_UNIT=1024        # for 1024ists
  7399.     # no assignment        # for people who want POSIX behaviour
  7400. What about the name to be displayed for the units?  bytes/blocks/k/whatever.
  7401. Ideally, that would be ``locale''-specific.  A simple approach would just be
  7402. to display
  7403. Filesystem          size/512    used   avail capacity  Mounted on
  7404.             ^^^^^^^^
  7405. where the indicated phrase replaces "kbytes", and has the form
  7406. size/${BLOCK_UNIT-1024}.  What price a "-k" option?  You wouldn't need it.
  7407. Just use
  7408.     BLOCK_UNIT=1024 df
  7409.  
  7410. Doing it by making the block unit the value of an environment variable
  7411.     - clutters up the environment with another variable (I firmly believe
  7412.       that any program which uses more than one environment variable --
  7413.       the name of a file with other options -- is badly written)
  7414.  
  7415.     + but at least it's way better than POSIX_ME_HARDER, which is about as
  7416.       obscure as it can be
  7417.  
  7418.     + makes it easy for user-written utilities to follow the SAME convention
  7419.       (and the same way of over-riding it in the command line)
  7420.  
  7421.     - requires one more step when installing a system, setting up the
  7422.       default value (IF an installation wants non-POSIX behaviour)
  7423.  
  7424.     + makes it easy for an installation to configure the default in
  7425.       the default .cshrc / .profile files
  7426.  
  7427.     + provides a natural way of figuring out how to display the units
  7428.  
  7429. Of course, the Right Answer is that 'df' should be a relation, not a
  7430. program, and df itself should be a trivial AWK script on top of that.
  7431. But we can't have all our druthers, can we?
  7432. -- 
  7433. It really is a nice theory.  The only defect I think it has is probably
  7434. common to all philosophical theories.  It's wrong.      -- Saul Kripke.
  7435. I'm ok@goanna.cs.rmit.oz.au; all donations accepted.
  7436.  
  7437.  
  7438. Volume-Number: Volume 24, Number 98
  7439.  
  7440. From std-unix-request@uunet.uu.net  Tue Sep  3 12:57:04 1991
  7441. Received: from relay1.UU.NET by uunet.uu.net with SMTP 
  7442.     (5.61/UUNET-uucp-primary) id AA07887; Tue, 3 Sep 91 12:57:04 -0400
  7443. Received: from kithrup.com by relay1.UU.NET with SMTP 
  7444.     (5.61/UUNET-internet-primary) id AA26743; Tue, 3 Sep 91 12:57:00 -0400
  7445. Newsgroups: comp.std.unix
  7446. From: "Scott E. Preece" <preece@urbana.mcd.mot.com>
  7447. Subject: Re: what units should df and du use?
  7448. Message-Id: <1991Sep3.165115.2576@uunet.uu.net>
  7449. Originator: sef@uunet.UU.NET
  7450. Sender: UseNet News <usenet@uunet.uu.net>
  7451. Nntp-Posting-Host: uunet.uu.net
  7452. X-Submissions: std-unix@uunet.uu.net
  7453. Organization: UUNET Communications Services
  7454. Date: Tue, 3 Sep 1991 13:26:27 GMT
  7455. Reply-To: std-unix@uunet.uu.net
  7456. To: std-unix@uunet.uu.net
  7457.  
  7458. Submitted-by: preece@urbana.mcd.mot.com (Scott E. Preece)
  7459.  
  7460. | Submitted-by: gwyn@smoke.brl.mil (Doug Gwyn)
  7461. |
  7462. | In article <1991Aug23.010957.11231@uunet.uu.net> rms writes:
  7463. | >The committee chose 512, not because they think users prefer it,
  7464. | >but for totally unrelated reasons having to do with how BSD and 
  7465. | >System V behave.  I think this decision should be made based on the
  7466. | >preferences of actual users.  If the users tell the committee what
  7467. | >they want, the committee may yet listen.
  7468. |
  7469. | The real issue is whether a STANDARD should codify what existing
  7470. | practice IS, or what it SHOULD HAVE BEEN.
  7471. ---
  7472. Well, in truth a POSIX working group does both, as it should.  The
  7473. reason you have a working group and that you have a balloting group, is
  7474. that you want to apply as much technical expertise as possible to making
  7475. sure that you have a standard that not only embodies current practice
  7476. but also embodies *good* practice.  This often includes rationalizing
  7477. the behavior of related commands: it would be perfectly reasonable for
  7478. the working group to propose definitions so that all commands reporting
  7479. file sizes used the same units.  They then have to sell their decision
  7480. to the balloting group, because without the consent of the ablloting
  7481. group their is no standard.
  7482.  
  7483. Now, on this particular point I think the masses reported to have
  7484. "voted" for 1K blocks may not have thought all the considerations
  7485. through (there are a LOT more systems which can always express the space
  7486. allocated for any file as an integral multiple of 512 than of 1024, and
  7487. there are many existing shell scripts which assume that du reports as it
  7488. does today).  However, if all those people had taken the time and spent
  7489. the energy to (1) go to work group meetings, (2) read the mailings from
  7490. the work group, (3) sign up for the balloting group, (4) read the
  7491. drafts, and (5) cast thoughtful ballots pointing to what they recognized
  7492. as problems or inconsistencies, they could probably have had their way
  7493. (assuming that, when forced to consider the whole scope of the question,
  7494. they didn't come to a different conclusion than when looking at one
  7495. particular detail in isolation).
  7496.  
  7497. The POSIX process is about the most open process I can imagine; there is
  7498. simply no basis for complaining about "the committee" forcing things on
  7499. the poor downtrodden masses.  *Anyone* can participate in working group
  7500. meetings.  *Anyone* can participate in the balloting process (you have to
  7501. be an IEEE member to vote, but they also accept comments from any
  7502. interested party, and *anyone* can participate in the ballot resolution
  7503. process that works on turning all those ballots into a consensus.
  7504.  
  7505. --
  7506. scott preece
  7507. motorola/mcg urbana design center    1101 e. university, urbana, il   61801
  7508. uucp:    uunet!uiucuxc!udc!preece,     arpa:    preece@urbana.mcd.mot.com
  7509. phone:    217-384-8589              fax:    217-384-8550
  7510.  
  7511.  
  7512. Volume-Number: Volume 24, Number 99
  7513.  
  7514.