home *** CD-ROM | disk | FTP | other *** search
- Path: sparky!uunet!ogicse!das-news.harvard.edu!spdcc!merk!miracle!phil
- From: phil@miracle.com (Phil Hill)
- Newsgroups: comp.bbs.waffle
- Subject: Re: The woes of ^Z
- Message-ID: <27Dec92070848@miracle.com>
- Date: 27 Dec 92 11:08:48 GMT
- Article-I.D.: miracle.27Dec92070848
- Organization: Miracle Computer Consultants
- Lines: 54
-
- bob@1776.COM (Robert Coe) writes:
- >Thank you for your insightful analysis of my understanding of computer I/O.
- >You'll have to forgive me, but I'm not altogether sure that you got my point.
- >Raw mode is faster because it does less, and some of the less that it does
- >(such as newline checking), Waffle needs. If the file system doesn't find
- >the newlines, then Waffle has to find them, presumably in a second scan of
- >the incoming character stream. I'd be surprised if Waffle could do this
- >search as quickly as the file system (which has to count the characters any-
- >way) could do it. But as you say, what do I know?
-
- It doesn't matter who does newline scanning, it all costs the same.
- Scanning for a newline is very simple, and only takes an additional
- few instruction. It's the same instructions if the DOS kernel does
- the scanning or if Waffle does the scanning.
-
- The real question is: "Is it work the programmers time to correct the
- situation?" Doing your own newline scanning involves writing and
- debugging more code.
-
- >>The use of text mode was a *LAZY* decision (or an ommission, cause Tom for-
- >>got about ^Z processing). It doesn't change the fact that it is a BUG.
- >
- >I don't know Tom personally, but you're the first person I ever heard call
- >him lazy or forgetful. I wish all the commercial software that I use were as
- >reliable as Waffle.
-
- I didn't call Tom lazy or forgetful, I said he made a lazy or a forgetful
- decision. Look at it this way: Waffle runs on Unix and DOS. Tom wants it
- to run the same on the two operating systems. A ^Z in a news record is
- treated differently on the two OS's. So one of the following is True:
-
- A: Tom is unaware of the problem.
-
- 1) Tom *forgot* that the defaults for OPEN were differnt
- on DOS or UNIX.
- 2) Tom is unaware of the difference.
- (Considering the scope of a project like Waffle, it's
- very unlikely that Tom hasn't run across this before)
-
- B: Tom decided not to fix the problem.
-
- 1) Tom decided that it wasn't worth his effort. (in other
- words: he was *lazy* - especially because he didn't
- bother to document the difference)
-
- 2) Tom couldn't figure out how to fix the problem
- (Another unlikely event, Tom seems to be a good
- programmer, and this is a simple problem).
- -------------------------------------------------------------------------
- | Phil Hill | "All you people in TV land, |
- | Miracle Computer Consultants | I will wake up your empty shells. |
- | | Peak time viewing blown in a flash, |
- | | as I burn into your memory cells. |
- | Email: phil@miracle.com | 'cause I'm alive." - Peter Gabriel |
-