home *** CD-ROM | disk | FTP | other *** search
/ Usenet 1994 January / usenetsourcesnewsgroupsinfomagicjanuary1994.iso / sources / std_unix / csu.shar / 37 < prev    next >
Internet Message Format  |  1988-12-19  |  10KB

  1. Path: longway!std-unix
  2. From: ahby@bungia.bungia.mn.org (Shane P. McCarron)
  3. Newsgroups: comp.std.unix
  4. Subject: Standards Update, Part 5: IEEE 1003.2
  5. Message-ID: <273@longway.TIC.COM>
  6. Date: 11 Dec 88 16:44:10 GMT
  7. Sender: std-unix@longway.TIC.COM
  8. Reply-To: Shane P. McCarron <ahby@bungia.bungia.mn.org>
  9. Lines: 223
  10. Approved: jsq@longway.tic.com (Moderator, John S. Quarterman)
  11.  
  12. [ These Standards Updates are published after each IEEE 1003
  13. meeting, and are commissioned by the USENIX Association.
  14. See Part 1 for contact information.  -mod ]
  15.  
  16.  
  17.       An update on UNIX|= Standards Activities - Part 5
  18.  
  19.                     POSIX 1003.2 Update
  20.  
  21.                      November 18, 1988
  22.  
  23.            Shane P. McCarron, NAPS International
  24.  
  25. 1003.2 - Shell and Tools Interface
  26.  
  27. This working group never ceases to impress me.  In September
  28. the group was given about three weeks to go over draft 7 of
  29. the standard and review it as if it were a formal ballot.
  30. This means that problems discovered in the draft must be
  31. reported to the committee using the formal POSIX balloting
  32. format, within the specified time limits, in order to be
  33. considered.  A surprising number of people were able to work
  34. very hard and come up with about 1500 objections to the 600
  35. page document.
  36.  
  37. Okay, so a lot of people, given 3 weeks, can really find a
  38. lot of problems with a somewhat immature document.  Maybe
  39. not terribly impressive.  Then a group of 40 people meet in
  40. Hawaii, not a place known to be conducive to work, and
  41. manage to review every single objection and resolve them!
  42. This is truly amazing, and I think everyone at that meeting
  43. (including myself) deserves a medal.  Moreover, I would like
  44. to take this opportunity to publicly eat the words I wrote
  45. last quarter.  They may just pull it off!  The draft that
  46. goes out for balloting in the formal IEEE process is
  47. certainly in much better shape than the 1003.1 document was
  48. when it first went out.  Also, P1003 learned a lot from the
  49. .1 ballot, and that knowledge should help make the balloting
  50. of .2 smoother.
  51.  
  52. Reaching back a bit for a transition, there were 1500
  53. objections.  That is really quite a few, but its not as bad
  54. as it sounds (unless you had to carry them around for a
  55. week).  It is true that many changes were made to the
  56. standard, and I couldn't tell you what most of them were.
  57. What I can tell you is that they were primarily
  58. inconsequential.  Some objections requested changes in
  59. functionality or interface, pointing out existing or new
  60. practice that should be standardized.  But all of the rest
  61.  
  62. __________
  63.  
  64.   |= UNIX is a registered trademark of AT&T in the U.S. and
  65.     other countries.
  66.  
  67.  
  68.                            - 2 -
  69.  
  70. can be broken down to spelling or grammatical corrections,
  71. requests for clarification, or questions about the necessity
  72. of specifications or lack of same.  Some specific changes of
  73. interest were:
  74.  
  75.    o+ Based on a decision from the previous meeting and
  76.      several balloting objections, the fgrep and egrep
  77.      commands have been removed from the standard, and the
  78.      functionality that they provide is being encompassed in
  79.      the definition of grep.  This new grep will have
  80.      options -E and -F which will give it the exact
  81.      functionality of egrep or fgrep, respectively.
  82.  
  83.    o+ The draft has a command in it called colldef.  Colldef
  84.      allows the portable definition of collating sequences,
  85.      which can then be used by utilities that do string
  86.      comparisons with the C Standard function strcoll.  The
  87.      theory goes that an implementation will provide
  88.      applications with a means for creating collation
  89.      sequence definitions (colldef), and then also allow the
  90.      application to specify which collation sequence to use
  91.      when calling utilities like sort (through the
  92.      environment variable LC_COLLATE).
  93.  
  94.      It all sounds pretty good, but the definition of
  95.      colldef was so incomplete and confusing that some
  96.      balloters suggested it be removed from the standard
  97.      altogether.  The definition of this utility now
  98.      provides for a lot of additional functionality, and is
  99.      much clearer than it used to be. While this part of the
  100.      standard is not talked about much, I believe that it is
  101.      probably the most important part.  The international
  102.      aspects of POSIX are sort of obscure, but they will
  103.      allow for more portable applications, and also allow
  104.      for some previously unheard of uses for utilities like
  105.      sort.
  106.  
  107.    o+ A closely related utility, xform, was placed in the
  108.      standard to allow for the transformation of strings by
  109.      a shell script just as can be done using the strxfrm
  110.      function in Standard C.  After much discussion in the
  111.      small group, this command was removed from the draft.
  112.      While there was some dissenting opinion, the majority
  113.      thought that this would have very limited usefulness to
  114.      a portable shell application.  As I was the dissenter,
  115.      I can say that I wanted it in because there is no other
  116.      way to portably compare strings in the shell from an
  117.      international perspective.  If a user enters something
  118.      and then later you want them to enter it again, you
  119.      cannot portably compare those strings without the xform
  120.      utility.  Alas, you win some...
  121.  
  122.  
  123.                            - 3 -
  124.  
  125.    o+ An interesting development was the decision that the C
  126.      language functions in the standard be moved into a
  127.      chapter for C Language interfaces, and that their
  128.      original position in the document be reserved for the
  129.      language independent descriptions of some of the
  130.      functions.  In the end it may be that some of the
  131.      functions are really not ones that need to exist in
  132.      other languages, and as such should not be in the
  133.      language independent section.  This event is
  134.      interesting because it shows the intent of this working
  135.      group, and indeed all of the POSIX working groups, to
  136.      describe their standards in a language independent
  137.      manner.  This was a requirement of the international
  138.      community, and I am glad to see that it is being
  139.      carried out.
  140.  
  141.    o+ In what I consider a victory for the users of the
  142.      world, the UUCP style commands in the standard have
  143.      been moved out of the document and into an appendix.
  144.      These commands, uuxqt and uuname, have been in the
  145.      standard for about a year, but no one could really
  146.      figure out why.  As described there was no underlying
  147.      transport mechanism or protocol defined, so they could
  148.      not possibly have been reliable in any event.  They
  149.      were placed in the standard as a spear; something that
  150.      you could throw out and have no idea if it worked or
  151.      not.  The working group has now realized that this is
  152.      not really a service to the application developer, and
  153.      has moved the commands (and concepts) into an appendix.
  154.      Depending on the feeling of the balloting group, these
  155.      commands will either be fleshed out into a full
  156.      definition of the UUCP "networking" system, or removed
  157.      from the standard altogether.  It may be that these
  158.      concepts will fit into the P1003.8 standard on
  159.      networking, but I doubt it.  While it is probably the
  160.      most widely used form of electronic networking on UNIX
  161.      systems, it is not really something that should be
  162.      carried into the future.
  163.  
  164.    o+ While the UUCP commands are gone, the message sending
  165.      command sendto is still in the standard.  This command
  166.      allows an application to send text to an address with
  167.      an implementation defined format to be deposited in an
  168.      implementation defined location and delivered in an
  169.      implementation defined manner.  No kidding.  That's
  170.      what it says.  It also used to say sendto -r would try
  171.      to read from your personal implementation defined
  172.      storage location, but that it might not do anything.
  173.      Fortunately, the working group couldn't figure out a
  174.      single reason why a portable application would want to
  175.      read mail.  While this is usually not enough cause to
  176.  
  177.  
  178.                            - 4 -
  179.  
  180.      remove something from a standard, when coupled with the
  181.      danger that it might not do anything if executed, the
  182.      evidence seemed to lean toward removal.  This option
  183.      has been axed.
  184.  
  185.    o+ There is now a section of the standard on application
  186.      installation.  Actually, there has always been a
  187.      section for that, but until now it has been full of
  188.      stuff that wasn't really worth reading.  The new
  189.      definition is a little bit complex, but it seems to be
  190.      fine.  It allows for an application, on installation,
  191.      to determine what system resources are available, and
  192.      to then sort of dynamically inform itself about them.
  193.      There is also a system resource database, and all sorts
  194.      of other neat stuff.  I don't have a handle on all of
  195.      it yet, so stay tuned.  If I decide I hate it, I will
  196.      be sure to let you know.
  197.  
  198. There were all sorts of other changes made to the draft, but
  199. they are primarily editorial, and are of course all subject
  200. to review by the balloting group.
  201.  
  202. The schedule for balloting goes something like this:
  203. Assuming the document gets to the balloting group in mid-
  204. january, the period will close in mid-february.  Then all of
  205. the received objections will have to be resolved or
  206. commented on, and it will be recirculated.  This may happen
  207. several times before the document is finalized.  Since each
  208. recirculation/resolution period takes 3 to 4 months, it
  209. could be early 1990 before we see a ratified standard.
  210.  
  211. In the mean time, since the working group doesn't have
  212. anything to do with a standard while it is going through
  213. balloting, work will progress on the new User Portability
  214. Extensions supplement.  The idea here is that a supplement
  215. to 1003.2 will be released soon after the initial standard.
  216. This supplement will describe the traditional UNIX utilities
  217. that have user interfaces (e.g. vi).  Note that the
  218. utilities to be described are the traditional ones, and have
  219. nothing to do with windowing/mouse interfaces.  Work on that
  220. topic is progressing in other areas.
  221.  
  222. I am the Watchdog committee contact for 1003.2:
  223.  
  224.           Shane P. McCarron
  225.           NAPS International
  226.           117 Mackubin St.
  227.           Suite 6
  228.           St. Paul, MN  55102
  229.           +1 (612) 224-9239
  230.           ahby@bungia.mn.org
  231.           uunet!bungia.mn.org!ahby
  232.  
  233.  
  234. Volume-Number: Volume 15, Number 41
  235.