home *** CD-ROM | disk | FTP | other *** search
/ NetNews Usenet Archive 1992 #31 / NN_1992_31.iso / spool / comp / bbs / waffle / 5682 < prev    next >
Encoding:
Internet Message Format  |  1992-12-30  |  4.2 KB

  1. Path: sparky!uunet!spool.mu.edu!agate!linus!alliant!merk!miracle!phil
  2. From: phil@miracle.com (Phil Hill)
  3. Newsgroups: comp.bbs.waffle
  4. Subject: Re: The woes of ^Z
  5. Message-ID: <28Dec92234255@miracle.com>
  6. Date: Mon, 28 Dec 92 23:42:55 EDT
  7. Organization: Miracle Computer Consultants
  8. Lines: 80
  9.  
  10. jgostin@eternal.chi.il.us (Jeff Gostin) writes:
  11. >phil@miracle.com (Phil Hill) writes:
  12. >> The use of text mode was a *LAZY* decision (or an ommission, cause Tom forgot
  13. >> about ^Z processing).  It doesn't change the fact that it is a BUG.
  14. >
  15. >     I've stayed out of this issue for a few reasons, but I work for a
  16. >software company, so I find the need to defend the programmer (in this
  17. >case Tom) from such remarks, as it indicates a growing trend among
  18. >software users that I'd much rather stop.
  19.  
  20. You missed the mark here a little.  I am not a programmer, not a user.  This
  21. is what enables me to see what is going on here.  I'm not attacking Tom, I'm
  22. mearly commenting on the ^Z problem (?).  I've had to address hundreds of bugs
  23. like this one.  Often I have taken the *LAZY* approach, and not bothered to
  24. fix such a problem.  If I were placed in charge of Waffle, I'd probably make
  25. the decision not to fix the ^Z problem.  I consider this a *LAZY* decision,
  26. because the *PROPER* thing to do is fix the problem.
  27. >
  28. >     I would tend to disagree with this statement, Phil. What we are
  29. >arguing about here is a matter of programming preference. Firstly, just
  30. >because it doesn't work the way you WANT it to does NOT make it a bug. It
  31. >just makes a gripe, which is a seperate, but equal issue. To call it a bug
  32. >is inappropriate. If your gripe is with the "^Z", talk to Microsoft. If
  33. >your gripe is with the way Waffle handles it, I would suggest talking to
  34. >Tom directly about it, as he is the ONLY person who could handle it.
  35.  
  36. No.  You are wrong here.  First, anything that causes any customer complaints
  37. must be considered a bug.  Second, anything that makes Waffle different on
  38. DOS and UNIX must be concidered a bug.  And Third, anything that doesn't work
  39. the way it *SHOULD* is a bug.  The ^Z problem meets at least two of these
  40. conditions.
  41.  
  42. My main gripe with this thread is the number of people (like you) who like
  43. to sit back and say "talk to Microsoft," it's their problem.  IT IS NOT DOS'S
  44. FAULT.  The blame is totally on Tom and the Waffle implementation.  If you
  45. had complained that Waffle limits filenames to 8 characters, and doesn't
  46. allow "+" in directory names, then you can blame Microsoft.  But when there
  47. is a simple solution to the problem, you can only blame the products author.
  48. >
  49. >     Secondly, we are working with TEXT here, so it would seem that TEXT
  50. >mode is the most appropriate. What we are talking about is the ability to
  51. >have the compiler automatically check for NEWLINEs and such as it is
  52. >ripping the info from the disk (TEXT mode, for those who don't know), or
  53. >to have the entire chunk brought into memory, and MANUALLY check for
  54. >newlines (BINARY mode, for the uninitiated). Again, since we are working
  55. >with TEXT, it would be appropriate to work in TEXT mode.
  56.  
  57. TEXT mode does TWO things, it treats CRLF as a line delimiter, and it
  58. treats ^Z as a EOF character.  If you don't want to use *BOTH* modes, then
  59. you have to use RAW I/O mode.  In text mode, you have to read data looking
  60. for a LF.  In raw mode, you have to read data looking for a LF, and strip
  61. off the CR.  One whole line of code.
  62.     
  63. >     We are arguing the specific (Waffle handling ^Z's), stating the
  64. >general (the equivalent of "all my other programs do such and such") as
  65. >the cause. This is not a valid argument, and is not warranted.
  66.  
  67. The most important argument is that **WAFFLE** doesn't treat ^Z's the same
  68. when run on a UNIX system.  It is important that Waffle remain compatible with
  69. itself.  Or to at least document the difference.
  70.  
  71. -------------------------------------------------------------------------
  72. | Phil Hill                     | "All you people in TV land,           |
  73. | Miracle Computer Consultants  |   I will wake up your empty shells.   |
  74. |                               |  Peak time viewing blown in a flash,  |
  75. |                               |   as I burn into your memory cells.   |
  76. | Email: phil@miracle.com       |  'cause I'm alive." - Peter Gabriel   |
  77.  
  78.  
  79.  
  80.  
  81.  
  82.  
  83.  
  84.  
  85.  
  86.  
  87.  
  88.  
  89.  
  90.