🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: comp.sys.amiga.tech
Article #2536

Re: AmigaDos directory knowledge

#2536
From: Rodney Ricks
Date: Mon, 04 Dec 1989 21:16
31 lines
2001 bytes
In article <5615@cps3xx.UUCP> porkka@frith.UUCP (Joe Porkka) writes:
>In article <3459@jhunix.HCF.JHU.EDU> barrett@jhunix.UUCP (Dan Barrett) writes:
>>
>>	I don't really understand all the concern about the speed of
>>directory listings and wildcards, at least for hard drives. I have a slow
>
>Try doing a "dir df0:c" with your workbench disk in the
>floppy drive....

Actually, that is not a good test.  There is another reason why the Amiga's
dir command seems so slow.

If my memory serves me correctly, the Amiga's dir command reads in a list of
all of the files in the directory, then sorts them, THEN it prints them out.
The MSDOS dir prints out what it gets to as it gets to it.

So the Amiga's dir command SEEMS much slower because it doesn't start printing
to the screen until it has seen ALL of the files in a directory.

Use the list command instead (I do).  It seems much faster than the dir
command in that, like the MSDOS dir command, it lists the files as it gets
to them, instead of after it has read and sorted them.

> Joe Porkka   porkka@frith.egr.msu.edu

Rodney Ricks
-- 
"We may have come over here in different ships,
 but we're all in the same boat now."   --   Jesse Jackson                   //
                                                                       \\  //
Rodney Ricks,   Morehouse College                                        \/
Technical Details
Message-ID: <32335@auc.UUCP>
Path: arc1-ca.pugleaf.net!utzoo!attcan!utgpu!jarvis.csri.toronto.edu!cs.utexas.edu!swrinde!emory!auc!rar
References: <88.filbo@gorn.santa-cruz.ca.us> <8742@cbmvax.UUCP> <ANDREWT.89Nov29154933@watsnew.waterloo.edu> <3459@jhunix.HCF.JHU.EDU> <5615@cps3xx.UUCP>

Show Full Headers
Complete Article Headers
Path: arc1-ca.pugleaf.net!utzoo!attcan!utgpu!jarvis.csri.toronto.edu!cs.utexas.edu!swrinde!emory!auc!rar
From: rar@auc.UUCP (Rodney Ricks)
Newsgroups: comp.sys.amiga.tech
Subject: Re: AmigaDos directory knowledge
Summary: Don't compare MSDOS "dir" to AmigaDOS "dir", compare it to "list"
Message-ID: <32335@auc.UUCP>
Date: 4 Dec 89 21:16:33 GMT
References: <88.filbo@gorn.santa-cruz.ca.us> <8742@cbmvax.UUCP> <ANDREWT.89Nov29154933@watsnew.waterloo.edu> <3459@jhunix.HCF.JHU.EDU> <5615@cps3xx.UUCP>
Reply-To: rar@auc.UUCP (Rodney Ricks)
Organization: Atlanta University Center, Atlanta, Ga.
Lines: 31