home *** CD-ROM | disk | FTP | other *** search
/ NetNews Usenet Archive 1993 #1 / NN_1993_1.iso / spool / comp / bbs / waffle / 5870 < prev    next >
Encoding:
Internet Message Format  |  1993-01-05  |  1.8 KB

  1. Path: sparky!uunet!ogicse!das-news.harvard.edu!spdcc!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: <05Jan93014236@miracle.com>
  6. Date: 5 Jan 93 05:42:36 GMT
  7. Article-I.D.: miracle.05Jan93014236
  8. Organization: Miracle Computer Consultants
  9. Lines: 26
  10.  
  11. barr@pop.psu.edu (David Barr) writes:
  12. >In article <30Dec92081914@miracle.com> phil@miracle.com (Phil Hill) writes:
  13. >>Gee, TWO WHOLE LINES OF CODE!  That was so difficult.
  14. >
  15. >My point was that if you multiply that by the number of times this is
  16. >used in code, that's an awful lot of #ifdef MSDOS/#endif's to stick in
  17. >just to you can put a ^Z in a file that shouldn't have one anyway.
  18.  
  19. You don't have to #ifdef/#endif the code, the same code would work on UNIX,
  20. and have the side effect of stripping out extra <CR> characters.  (which
  21. would be good).
  22.  
  23. I'm not saying that Waffle should be modified.  It's really a pretty silly
  24. problem.  What I was sick and tired of was people wining "DOS sucks, DOS
  25. *always* treats ^Z as EOF, it's too hard to fix, it's too inefficient
  26. to fix, etc.etc.etc."  People should really learn how an operating system
  27. works before complaining about it.  (And don't put me down as a "DOS is
  28. really great" person: DOS is a terrible, inefficent OS.  But treating ^Z
  29. as EOF is only DOS's *default* mode, if you make a little effort you can
  30. make a better product.
  31. -------------------------------------------------------------------------
  32. | Phil Hill                     | "All you people in TV land,           |
  33. | Miracle Computer Consultants  |   I will wake up your empty shells.   |
  34. |                               |  Peak time viewing blown in a flash,  |
  35. |                               |   as I burn into your memory cells.   |
  36. | Email: phil@miracle.com       |  'cause I'm alive." - Peter Gabriel   |
  37.