home *** CD-ROM | disk | FTP | other *** search
/ NetNews Usenet Archive 1992 #19 / NN_1992_19.iso / spool / comp / sys / amiga / datacomm / 5971 < prev    next >
Encoding:
Internet Message Format  |  1992-08-30  |  6.5 KB

  1. Path: sparky!uunet!utcsri!torn!cunews!revcan!sidus!atronx.OCUnix.On.Ca!rwm
  2. From: rwm@atronx.OCUnix.On.Ca (Russell McOrmond)
  3. Message-ID: <rwm.715101479@atronx.OCUnix.On.Ca>
  4. Date: 29 Aug 92 09:17:59 EST
  5. Newsgroups: comp.sys.amiga.datacomm
  6. Subject: Re: Amiga Comms (was RE: Amiga Kiosks?)
  7. In-Reply-To: kehlet@kehlet.adsp.sub.org (Jesper Kehlet)
  8. References: <kehlet.06kg@kehlet.adsp.sub.org>
  9.     <1992Aug21.162454.7251@TorreyPinesCA.ncr.com>
  10. Lines: 116
  11.  
  12. kehlet@kehlet.adsp.sub.org (Jesper Kehlet) writes:
  13. >The difference is really not that great.  But when you call library
  14. >functions, you lose to major overhead on those and that's bad!
  15.  
  16.   I don't know what compiler you are using, but the stack-requirements of
  17. doing a procedure call are often greater than the optimizations that SAS
  18. can do when setting registers for a library call.  I would think that the
  19. overhead, if it exists at all, is a minor issue considering the number
  20. of other O.S. calls one does in their software anyways (Which goes through
  21. the same library inteface).
  22.  
  23. >No matter, how you do it, built-in protocols will, if written properly,
  24. >always be more efficient than the XPR ones.
  25.  
  26.   How?  Lets get extremely specific?  By the same token, an MS-DOS box which
  27. isn't using a fossil driver will always be faster than an Amiga who has to
  28. go through a 'device' (==library) interface in order to talk to the modem?
  29. So, for the same reason we should 'not' be using XPR's, we should not be using
  30. serial.device, and we should be hard-coding to the hardware?  Funny, last
  31. time I checked JRComm was even still talking through the .device interface ;-)
  32.  
  33. >When I do a fast, small and efficient Zmodem implement, I still have to pay
  34. >my bills.  When I announce it as a being a good Zmodem implement and it IS,
  35. >then people will, if not pay more, then at least pay for it!
  36.  
  37.   I'm curious what this has to do with XPR?  I'm not suggesting that nobody
  38. should make money writing software, all I'm ever suggesting is that people
  39. offer more choices in the 'format' of their products.  In most
  40. other situations, people consider a library interface as an ADVANTAGE instead
  41. of the dis-advantage people 'seem' to think it is with transfer protocols.
  42.  
  43.   BTW: I think you are confusing the Chuck Forresberg Zmodem issue with the
  44. XPR issue.  Eithor that, or I didn't understand what you were trying to
  45. refer to with the above text.
  46.  
  47.   P.S.  The software that I write 'costs' just like anything else.  It's just
  48. that I have a 'customer' (Which happens to mostly be myself and a few other
  49. close supporters) and don't feel that it's the 'software' that I'm selling, but
  50. the support.  I still SELL support, and expect to get paid one way or another
  51. for my work.  Any Welmat user can attest to the fact that I listen to
  52. 'supporting' users and other developers (Who can support via writing code) a
  53. lot better than just 'some Joe who wants to use some software, but doesn't
  54. have any money/time to spend' ;-)
  55.  
  56. >>   If everyone wants better protocols, encouraging authors to support XPR
  57. >> (On both sides of the interface by writing XPR's themselves as well), we'll
  58. >> all be better off.
  59.  
  60. >Except for those of us considering overhead and flexibility.
  61.  
  62.   Give me specifics!  How can allowing the users access to more protocols in
  63. a method where THEY can add what they want be considered 'less flexible'.
  64. You're talking to a person who is writing a Telecom LANGUAGE for a network
  65. mailer, so flexability and configurability are one of the largest reasons
  66. I am SUPPORTING XPR.
  67.  
  68.  
  69.   Since you haven't given any real data yet, I'll start discussions by
  70. giving you my current gripes with XPR:
  71.  
  72.   a) There is no way for a 'host' to mandate a certain 'level' for the 
  73. libraries that it opens.  Unlike where the XPR itself can read
  74. the xpr_extension and the XPR_IO fields to determine what callbacks exist, 
  75. the host cannot determine whether a library will USE these extensions.
  76.  
  77.   b) The success/failure of an individual file transfer in a batch is not 
  78. given. What XPR badly needs is a 'success' parameter to be passed to 
  79. the xpr_fclose() call.  This can easily be added as an extension where 
  80. a new 'xpr_fclose_status()' can be added to give that functionality.  
  81. (You don't want to know the 'assumptions' I have currently
  82. had to make in Welmat to determine file transfer success).
  83.  
  84.   c) Knowledge of 'what direction' (Upload/download/config reading?) is not 
  85. really  clearly given when staring a transfer.  Many XPR's use opening 
  86. of a file in 'read' mode as a method to check the existance of a file 
  87. (xpr_finfo() should be upgraded to include an 'exists'), and it would be 
  88. nice to know that all these opens are related to the 'same transfer'.  
  89. Having a callback that sets up the 'direction' of a transfer for a 
  90. specific file would allow things like directories to be added, security 
  91. dealt with/etc without any problems.  (It's private knowledge to the host
  92. where a file is actually going to be placed, the XPR has no reason to 
  93. actually know).
  94.  
  95.   d) No facility to make use of the TermArray[] handling exists with the
  96. current XPR interface.  This interface makes many 'escape' based protocols 
  97. considerably more efficient.  The least CPU intensive Zmodem is going to be 
  98. the one that makes use of this standardized Amiga serial device feature.
  99.  
  100.   e) While it is not a personal gripe, many complain about the non-existance
  101. of asynchronous read/writes to the file/serial.  Personally I feel this is
  102. solved by having a more intellegent HOST, but that's another issue to be
  103. discussed.  Adding an asynch write, and a 'check status of last write' calls
  104. could again easily be added as xpr_extension's (And one version of this
  105. has already been done on the Xenolink BBS system)
  106.  
  107.  
  108.  
  109.   Now, rather than deciding to limit my users to the protocols I have time to
  110. write, or limiting the protocols to only being usable with my own HOST, I
  111. would rather work with other authors to get the remaining problems out of
  112. the XPR interface.
  113.  
  114.   If you are interested in helping work towards a possible 'XPR 3.0' 
  115. specification, please let me know.  I'd like to get a group together with
  116. different transfer needs (IE: I'm a mailer author, not a BBS or Terminal
  117. package author) so that things can be improved for everyone.
  118.  
  119. >Hey, I'll start it for him...  8-d:-)
  120.  
  121.   I need DATA to consider this an actual flame-war or discussion ;-)
  122.  
  123. >     Jesper Kehlet, Compos Mentis Software Systems -- A Kind Of Magic
  124. --
  125.   Opinions expressed in this message are my Own. I represent nobody else.
  126.   Russell McOrmond  rwm@Atronx.OCUnix.On.Ca Net Support:(613) 230-2282(V.32Bis)
  127.   FidoNet 1:163/109 Welmat Help 1:1/139  Current WELMAT 'keeper of sources'.
  128.