[comp.sys.atari.st] os bug..also hdscan 1.3/2.3

trb@stag.UUCP ( Todd Burkey ) (05/13/87)

Well, I sat down this weekend and added the following features to hdscan
1.3 (shareware) and 2.3 (professional):
  1) Pressing S (as opposed to s) will allow subsearches of a currently
     selected set of files (i.e. you can select all the .c files on drive
     E for example). Oh yeah, you can do searches by extension as well.
     Plus you can specify selection of all tagged files.
  2) Enhanced sort option.
  3) Mass copy now supports options to allow multi-disk copy to floppies,
     copying a file and retaining its date and attributes, etc.
  4) R option now allows file rename and/or attribute changing (i.e. it
     is now simple to make files read only, hidden, system, etc).
And there were some other things that were cleaned up. The problem of
reading from a 'changed' floppy still remains, but I got fed up with all
the other little nuances I had to learn this weekend getting the above stuff
to work to spend much time on it. I tried fopens, Fopens, opens, etc. to no
avail and I really don't care to go in and figure out how to vector a
'desktop' ESC or whatever it takes to get GEM to recognize the floppies!

Speaking of nuances, I spent several hours just getting Fdatime to work. Make
a note that doing a Fcreate, then setting the files time with Fdatime, and
then Fclosing the file will not work. You have to Fcreate, write out your
whatever to the file, Fclose the file, Fopen the file, Fdatime it, and then
Fclose it again. That is a lot of F'ing around...:) I also found out how to
create totally unerasable directories that are hidden, unaccesible from the
desktop, and read-only to boot. Apparently it is not a good idea to do a
Fattrib (reading the attributes) right after an Frename...the result has
all of it's bits set. Has any of you ST guru types out there put together
a list of these kinds of quirks? I have the pertinent sections of the developer
kit, the Mark Williams C 2.0 manual (the compleate ST manual as far as I am
concerned), the ST Tacklebox (ditto if you are a Pascal enthusiast), and
a variety of 'reference' books from abacus, but nowhere could I find anything
that could have prevented the 20 or so compiles I went through...

  -Todd Burkey
  ...ihnp4!meccts!stag!trb or ..ihnp4!meccts!zeke!stag!trb

p.s. To those of you who sent in for the professional version, now you know
     why I was a tad bit slow getting it out...I hate the idea of old, dated
     software out there...soon. Also, since 1.22 never made it past turners'
     queue I will either mail 1.30 out directly if you want it or post it
     if I get sufficient interest. Let me know.