X-Authentication-Warning: delorie.com: mail set sender to djgpp-bounces using -f From: "one2001boy AT yahoo DOT com" User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.7) Gecko/20040514 X-Accept-Language: en-us, en MIME-Version: 1.0 Newsgroups: comp.os.msdos.djgpp Subject: Re: latest ls.exe version in XP problem References: <6jKbd.13476$nj DOT 4016 AT newssvr13 DOT news DOT prodigy DOT com> <416fec3d AT news DOT upm DOT es> <01c4b377$Blat.v2.2.2$bd9427e0 AT zahav DOT net DOT il> <01c4b404$Blat.v2.2.2$848b3140 AT zahav DOT net DOT il> <01c4b54b$Blat.v2.2.2$224c0ac0 AT zahav DOT net DOT il> <01c4b72e$Blat.v2.2.2$159b62a0 AT zahav DOT net DOT il> In-Reply-To: <01c4b72e$Blat.v2.2.2$159b62a0@zahav.net.il> Content-Type: text/plain; charset=us-ascii; format=flowed Content-Transfer-Encoding: 7bit Lines: 53 Message-ID: <1k_dd.17187$nj.2376@newssvr13.news.prodigy.com> NNTP-Posting-Host: 69.110.163.208 X-Complaints-To: abuse AT prodigy DOT net X-Trace: newssvr13.news.prodigy.com 1098412413 ST000 69.110.163.208 (Thu, 21 Oct 2004 22:33:33 EDT) NNTP-Posting-Date: Thu, 21 Oct 2004 22:33:33 EDT Organization: SBC http://yahoo.sbc.com X-UserInfo1: OH]UBVKEDPCCGFD[LZKJOPHAWB\^PBQLGPQRZ\YIJYWZUYICD^RAQBKZQTZTX\_I[^G_KGFNON[ZOE_AZNVO^\XGGNTCIRPIJH[@RQKBXLRZ AT CD^HKANYVW AT RLGEZEJN@\_WZJBNZYYKVIOR]T]MNMG_Z[YVWSCH_Q[GPC_A AT CARQVXDSDA^M]@DRVUM AT RBM Date: Fri, 22 Oct 2004 02:33:33 GMT To: djgpp AT delorie DOT com DJ-Gateway: from newsgroup comp.os.msdos.djgpp Reply-To: djgpp AT delorie DOT com Eli Zaretskii wrote: >>From: "one2001boy AT yahoo DOT com" >>Date: Thu, 21 Oct 2004 02:39:53 GMT >> >>I run the command in an old computer. > > > How old? if it's slow, what is its CPU clock speed? And how many > files are in that directory, anyway? > > >> > are there lots of large subdirectories or files >> >>>with unusual file-name extensions? >> >>The file name extensions are normal. > > > Can you give examples of those ``normal extensions''? > I tried the computer in my desktop right now, under Windows XP in directory C:\windows\system32, I have 2558 File(s). run ls -F, I wait for 16 seconds, and then screen start to display the files and directories. The computer I am running is Pentium 4, 3.0 Ghz, with 512 Meg. > >>But why subdirecries matter here? I don't have option "-R" > > > ls.exe needs to read the subdirectories to compute their size (DOS > system calls always return zero for a size of a directory). > I don't know why ls -F needs to calcuate the size of a directory? it doesn't display the size of a directory for ls -F. Maybe we can eliminate such a step for speed? > >>I just noticed if using "dir", the displayed director or files will show >>the first page and pause for a second, then display the seoncd page. >>This way, it displayes thousands of files. > > > `dir' doesn't tell you all the information that `ls' does. That is right. What I mean is that the way dir display is different from ls.exe. Maybe this information is not helpful.