Relay-Version: version B 2.10 5/3/83; site utzoo.UUCP Path: utzoo!mnetor!seismo!rutgers!sri-unix!sri-spam!mordor!lll-tis!ames!ptsfa!well!ewhac From: ewhac@well.UUCP (Leo 'Bols Ewhac' Schwab) Newsgroups: comp.sys.amiga Subject: Re: Comments/questions on fast directory listings Message-ID: <3092@well.UUCP> Date: Tue, 19-May-87 03:33:08 EDT Article-I.D.: well.3092 Posted: Tue May 19 03:33:08 1987 Date-Received: Wed, 20-May-87 05:00:51 EDT References: <6561@amdahl.amdahl.com> Reply-To: ewhac@well.UUCP (Leo 'Bols Ewhac' Schwab) Organization: Whole Earth 'Lectronic Link, Sausalito, CA Lines: 38 In article <6561@amdahl.amdahl.com> kim@amdahl.amdahl.com (Kim DeVaughn) writes: >On Leo's "eless": > >Nice implementation! Looks alot like the Manx "ls", with the sorting done >in a variable number of columns, and the directories displayed in the cursor's >color (UNIX(R) "ls -FC" style). > >Question: After I run Manx's "ls" a couple of times, further directory >listings are almost "instant", the data being obtained from the AddBuffers. >If I then run "eless", the 1st time the data seems to come from them >also, but on subsequent successive invocations of "eless" the data is *always* >obtained from disk. Any comments on what's going on here? > Good question. Wish I knew the answer. I noticed this behavior during testing. I am going through the DOS for the data blocks, so any weirdness you observe is the DOS's fault (isn't it always? :-) ). I can only assume that the ACTION_GET_BLOCK packet somehow trashes the buffering scheme, perhaps marking buffers as invalid (which, of course, makes no sense). I'm convinced MetaComCo is trying to sabotage the Amiga :-). Would anyone at Commodore care to explain this? Side note: I've received a couple of notes (one private, one public) concerning the size of my .signature. Odd, thought I, since it's only 564 bytes. However, not wishing to aggrevate the net.gods who so graciously provide me with this (largely) free information source, I've made a new one, which is 360 bytes. So, if you have a copy of the old one, save it; it may become a collector's item :-). _-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_ Leo L. Schwab -- The Guy in The Cape ihnp4!ptsfa -\ \_ -_ Bike shrunk by popular demand, dual ---> !{well,unicom}!ewhac O----^o But it's still the only way to fly. hplabs / (pronounced "AE-wack") "Work FOR? I don't work FOR anybody! I'm just having fun." -- The Doctor