home *** CD-ROM | disk | FTP | other *** search
/ NetNews Usenet Archive 1992 #26 / NN_1992_26.iso / spool / comp / lang / ada / 3236 < prev    next >
Encoding:
Internet Message Format  |  1992-11-09  |  5.6 KB

  1. Path: sparky!uunet!spool.mu.edu!agate!usenet.ins.cwru.edu!gatech!pitt.edu!gvls1!aviary!stars.reston.unisys.com!shields
  2. From: shields@stars.reston.unisys.com (Thomas E. Shields)
  3. Newsgroups: comp.lang.ada
  4. Subject: Re: STARS Ada OSF/Motif-Binding
  5. Keywords: Motif, STARS, binding
  6. Message-ID: <1781@aviary.Stars.Reston.Unisys.COM>
  7. Date: 9 Nov 92 17:13:48 GMT
  8. References: <1549@speedy.ada.cci.de>
  9. Sender: news@Stars.Reston.Unisys.COM
  10. Reply-To: shields@stars.reston.unisys.com
  11. Followup-To: comp.lang.ada
  12. Distribution: inet
  13. Organization: Paramax Information Systems - STARS Program
  14. Lines: 98
  15.  
  16. --
  17.  
  18. In article <1549@speedy.ada.cci.de>, rathert@speedy.ada.cci.de (Jochen Rathert) writes:
  19. |> I did some work with the STARS Ada-binding for OSF / Motif v1.1.
  20. |> There are some mistakes in this binding. If anyone have experience
  21. |> with this binding, please mail them back to me.
  22. |> 
  23. |> The biggest mistake I've found:
  24. |>     Some OSF / Motif functions allocate memory and give back a
  25. |>     pointer. But the Ada-binding doesn't give this pointer to 
  26. |>     the application and doesn't free itself the allocated memory.
  27. |>     So no one (can) frees the memory.
  28. |>     Function: xm_string_get_l_to_r.
  29. |> 
  30. |> Thanks
  31. |> 
  32. |> Jochen Rathert      rathert@speedy.ada.cci.de (Jochen Rathert)
  33. |> CCI GmbH
  34. |> 4470 Meppen
  35. |> Germany 
  36.  
  37. First, let me clarify some confusion.  There is no such thing as "the
  38. STARS Ada-binding for OSF / Motif v1.1"!  There never was, and there
  39. never will be.
  40.  
  41. Now, with that said, I will admit that there is a file "AdaMotif.tar.Z"
  42. on the STARS anonymous FTP archive.  However, this file contains an Ada
  43. Motif binding DONATED to STARS by Boeing Commercial Airplane Company.  The
  44. only reason it is even on that repository is as a political concession
  45. to Boeing, one of the STARS Prime contractors.
  46.  
  47. Here is the top of the READ_ME file:
  48.  
  49. --| Welcome to the BCA/STARS MOTIF ADA BINDINGS!!
  50. --| 
  51. --| This software, the  BCA Ada language interface to the OSF/Motif toolkit,
  52. --| produced by the Boeing  Commercial Airplane Company and made available under
  53. --| STARS  (Software Technology  for Adaptable,  Reliable Systems) is  approved
  54. --| for release  under Distribution   "A"  of  the  Scientific  and  Technical
  55. --| Information  Program Classification  Scheme (DoD  Directive 5230.24)  unless
  56. --| otherwise  indicated.
  57. --| 
  58. --| These bindings were developed using Motif v. 1.0.1 and have been tested
  59. --| on Verdix Ada v. 5.5 and above running on SCO Unix, DEC Ultrix, and Apollo
  60. --| Domain.
  61.  
  62. Note that it was developed for Motif v1.0.1, not Motif v1.1, so it wouldn't
  63. surprise me if there were a lot more problems that the one you ran into!
  64.  
  65. This binding was not developed under STARS funding, and is neither supported
  66. nor necessarily recommended by the STARS Program (nor by Boeing Commercial
  67. Aircraft Company, so far as I know).
  68.  
  69. I recommend that anyone trying to use this binding throw it away and buy a copy
  70. of the SERC SA-Motif Ada Motif binding product.  I don't know all the details of
  71. the cost, but for quantity 5, it was $1995/copy plus $399/year full maintenance
  72. and support (the cost overseas will be higher, no doubt).  This is not an ad
  73. for SERC's product, it is merely a recommendation from those of us who have
  74. "been there".  I realize that this is not easy to swallow after hoping
  75. to use "freeware", however I'm sure we are all aware that "unsupported freeware"
  76. costs a lot of money when you really get down to trying to use it.  I suspect
  77. that you will save more in time and energy than the cost of the license.
  78.  
  79. When STARS funding priorities were changed, the Paramax STARS team could
  80. no longer afford to maintain/upgrade the STARS Ada/Xt Toolkit (the only
  81. STARS funded Ada X Windows product) from its current X11R3 Xt / X11R4 Xlib
  82. compatibility level.  We evaluated SA-Motif and ATC's AXI Ada Motif binding
  83. products, and selected SA-Motif.  We are now nearing completion of the
  84. rehost of our Ada X tools from the STARS Ada/Xt Toolkit to SA-Motif.  As soon
  85. as we have completed this rehost, Paramax STARS will be dropping support for the
  86. STARS Ada/Xt Toolkit and removing it from the STARS FTP archive (STARS will
  87. probably delete the obsolete Boeing Ada Motif binding from the archive as well,
  88. since it seems causing more public relations trouble that it is worth to make
  89. it available - everyone seems to think it is a STARS approved product).
  90.  
  91. SERC is committed to supporting all major Ada compiler vendors on all major
  92. platforms with their Motif bindings, which was one of the reasons we chose
  93. SA-Motif (we are attempting to remain as portable as we can with our code).
  94. SERC also has a Motif UIL to Ada translator (which, of course, assumes that the
  95. resulting Ada code will be using their Motif bindings).  You may find that the
  96. AXI bindings suite your needs better (I don't know what the AXI bindings cost,
  97. but they are also sold by Verdix).  I presume that ATC, the AXI developer,
  98. has similar interests in supporting all major Ada compiler vendors, but I
  99. don't remember what the story is there.
  100.  
  101. If you want to contact SERC, call Scott Cleveland at (415) 962-8092 or
  102. (800) ADA-SERC.  For information on the AXI bindings, contact your local
  103. Verdix sales rep.  I don't have any contact information for ATC.
  104.  
  105.  
  106.    --------------------------------------------------------------------------
  107.    Thomas E. Shields, PhD, CCP          STARS Center - 7670
  108.    former STARS Deputy Program Manager  Paramax Systems Corporation
  109.    (703) 620-7028                                  A Unisys Company
  110.    (703) 620-7916 FAX                   Information Systems
  111.                                         12010 Sunrise Valley Drive
  112.    shields@stars.reston.unisys.com      Reston, VA 22091
  113.    --------------------------------------------------------------------------
  114.