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

  1. Path: sparky!uunet!zaphod.mps.ohio-state.edu!sdd.hp.com!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: <21Dec92200230@miracle.com>
  6. Date: Mon, 21 Dec 92 20:02:30 EDT
  7. Organization: Miracle Computer Consultants
  8. Lines: 35
  9.  
  10. >phil@miracle.com (Phil Hill) writes:
  11. >> Doesn't have anything to do with the filesystem.  The DEFAULT mode to read
  12. >> a file is "TEXT" mode, in which case a ^Z is treated as EOF.
  13.  
  14. roy%cybrspc@cs.umn.edu (Roy M. Silvernail) writes:
  15. >That sure sounds like filesystem behavior to me.
  16.  
  17. You had better get out those beginning computer science books again.  A file-
  18. system is how an operating system stores information on disk.  It keeps track
  19. of filenames and their physical location on the hard disk.  The filesystem
  20. doesn't care one bit what data is being stored.
  21.  
  22. Now, on the other hand... the DOS file access routines by default treat
  23. a ^Z as an EOF.  This has nothing to do with the underlying filesystem.
  24. If you took the DOS access routines, and ran them on a UNIX, OS/2, MAC or
  25. *any* other filesystem, they would still be braindamaged.
  26.  
  27.  
  28. -------------------------------------------------------------------------
  29. | Phil Hill                     | "All you people in TV land,           |
  30. | Miracle Computer Consultants  |   I will wake up your empty shells.   |
  31. |                               |  Peak time viewing blown in a flash,  |
  32. |                               |   as I burn into your memory cells.   |
  33. | Email: phil@miracle.com       |  'cause I'm alive." - Peter Gabriel   |
  34.  
  35.  
  36.  
  37.  
  38.  
  39.  
  40.  
  41.  
  42.  
  43.  
  44.  
  45.