[Color Computer] [coco] OS-9, alphabetizing directories..
Gene Heskett
gene.heskett at verizon.net
Thu Nov 24 09:07:58 EST 2005
On Thursday 24 November 2005 08:01, Mark Marlette wrote:
>Gene,
>
>What is/was flaky about it????
>
>Mark
I don't recall the exact scenario at this late date Mark. I do know
that on inspecting the directories it had sorted with ded, that there
was a lot of garbage left between the end of the filename with its msb
of the last char set, and the 3 byte fd sector address. And, once in a
great while, this garbage apparently confused it into leaving a name
out of the newly sort list it re-wrote. I re-wrote it to zero out that
stuff and never had another problem with it.
But before I did, I had had to run dcheck 2 or 3 times, and make a new
directory entry with ded to recover a missing file. Thats what
prompted the re-write. dsort, which used exactly the same method IIRC,
never suffered from that malady that I know of, so I don't know what the
difference that triggered the problem actually was, just that it was
apparently fixed with my extra housekeeping. And having once gotten
into the habit of using gsort, I probably didn't use dsort very much, so
its
possible I never accumulated enough of the right kind of garbage to
trigger in dsort whatever did it to the original gsort.
>
>At 11/23/2005 08:40 PM, you wrote:
>>On Wednesday 23 November 2005 20:08, George Ramsower wrote:
>> >I'm sure there is something to do this..
>> >
>> > Where can I find a utility to alphabetize a directory of files for
>> > OS-9?
>> >
>> > My CMDS directory is a wreck!
>> >
>> >
>> >George
>>
>>Hi George;
>>
>>A slightly flaky gsort was included in the multiview package, which I
>>re-wrote to do a bunch of cleanups while it was running, should be
>>gsort14 or some such on rtsi.
>>
>>My version zeros out everything after the high msb byte in the name
>>except the fd pointer. I'd found an instance or two where the
>> original could get confused, with the possibility of a file loss you
>> wouldn't find until you ran a dcheck on the drive.
>>
>>--
>>Cheers, Gene
>>"There are four boxes to be used in defense of liberty:
>> soap, ballot, jury, and ammo. Please use in that order."
>>-Ed Howdershelt (Author)
>>99.36% setiathome rank, not too shabby for a WV hillbilly
>>Yahoo.com and AOL/TW attorneys please note, additions to the above
>>message by Gene Heskett are:
>>Copyright 2005 by Maurice Eugene Heskett, all rights reserved.
>>
>>
>>
>>------------------------ Yahoo! Groups Sponsor
>> --------------------~--> AIDS in India: A "lurking bomb." Click and
>> help stop AIDS now.
>> http://us.click.yahoo.com/VpTY2A/lzNLAA/yQLSAA/CFFolB/TM
>>--------------------------------------------------------------------~-
>>>
>>
>>Brought to you by the 6809, the 6803 and their cousins!
>>Yahoo! Groups Links
>>
>><*> To visit your group on the web, go to:
>> http://groups.yahoo.com/group/ColorComputer/
>>
>><*> To unsubscribe from this group, send an email to:
>> ColorComputer-unsubscribe at yahoogroups.com
>>
>><*> Your use of Yahoo! Groups is subject to:
>> http://docs.yahoo.com/info/terms/
>>
>>
>>
>>
>>--
>>Coco mailing list
>>Coco at maltedmedia.com
>>http://five.pairlist.net/mailman/listinfo/coco
--
Cheers, Gene
"There are four boxes to be used in defense of liberty:
soap, ballot, jury, and ammo. Please use in that order."
-Ed Howdershelt (Author)
99.36% setiathome rank, not too shabby for a WV hillbilly
Yahoo.com and AOL/TW attorneys please note, additions to the above
message by Gene Heskett are:
Copyright 2005 by Maurice Eugene Heskett, all rights reserved.
More information about the Coco
mailing list