home *** CD-ROM | disk | FTP | other *** search
- FlopiCat - the FLOPpy dIsc CATaloguer
- -------------------------------------
-
-
- by Rob Davis
-
- Sysop, <<tWO>> the Watch Office BBS
-
-
-
- Why FlopiCat anyway?
-
- Like many computerists I have a large selection of software stored or
- archived on floppy discs in a cardboard box full of floppy boxes.
- Whilst I knew reasonably accurately what was on the discs, a recent
- hunt through them revealed not only a lot of apparent file
- duplications but also some files missing which were supposed to be
- there, and some files there which I had either forgotten or didn't
- even know about.
-
- A further search through the several hundred floppies did not produce
- a floppy disc cataloguer so I wrote FlopiCat. FlopiCat scans the
- contents of a floppy disc, including all subdirectories, and stores
- each file's details in a master file on your hard disc. Each floppy
- has a disc number which is also stored; and as each filename is shown,
- you can enter a description.
-
- Naturally you can interrogate the database and find a file by filename
- or description. It makes the cataloguing of a floppy disc collection
- very easy, and as the data file is a simple random-access type, you
- can easily import it into Dbase, Pc-File etc and work with it in a way
- which FlopiCat might not.
-
- FlopiCat is written in QuickBASIC v4.5 with help from John Sutcliffe's
- SLIB library. In fact without SLIB the program would never have been
- written; thank you John!
-
-
- System Requirements
-
- FlopiCat requires an IBM-PC or clone running Ms-Dos v2.00 or later.
- Whilst it is possible to run it on a twin floppy machine, a hard disc
- is strongly recommended. If you run FlopiCat on a floppy drive, note
- that it MUST be run from Drive B:. It will refuse to run from Drive
- A: because that is the drive it will try and read files from.
-
- The program requires about 170k to run and works in text mode only, so
- it should operate on any monitor type. I have tried it on CGA, EGA,
- VGA, and Hercules without problems. A printer on LPT1 is also
- recommended.
-
-
-
- Loading and Running
-
- To run FlopiCat, copy it to a directory on your hard drive, preferably
- not the root. FlopiCat stores its data in the default directory. At
- the system prompt, enter:-
-
- FLOPICAT (for colour display)
- FLOPICAT m (for monochrome display)
-
- You can toggle between colour and mono whilst the program is running
- by pressing the hash key. (On some keyboards, this may be the pound
- sterling key). The 'm' option is to make it easier to run the program
- in mono from a batch file. (To configure your own colours, see the
- section at the end of these notes.)
-
- The first thing you need to know after loading the program is how to
- get out again. Press [ESC] and FlopiCat asks 'are you sure' before
- returning you to the system prompt or whatever it was that your
- computer was doing before you loaded FlopiCat.
-
- At the top of the screen is the header. This tells you which version
- of FlopiCat you have got and in the right hand corner, how many
- records you have created, and whereabouts you are in the stack of
- records. At first of course this will read zero.
-
- At the bottom of the display is the status bar. This tells you what
- you can do. If you cannot see an option displayed on the status bar,
- you cannot use that particular option. For example you cannot Print,
- Edit, Sort or Search the records when there aren't any!
-
-
-
- Moving About
-
- FlopiCat always displays as many records as it can either side of the
- current position in the stack of records. This means that usually,
- the record under the highlight bar will be in the middle of the
- screen, and the display scrolls vertically in response to the keys you
- press.
-
- Use the normal cursor and word processor keys Up / Down / PgUp / PgDn
- / Home / End to move up and down the record stack. [Home] takes you
- to the top, [End] to the bottom. [PgUp] and [PgDn] go 10 records at a
- jump; [Up] and [Down] one record. If you are at the the top and you
- press [Up] you will go to the bottom, and vice versa.
-
-
-
- Cataloguing A New Disc
-
- Press [C] for [C]at. You will be asked to put your floppy in drive A:
- and press [RETURN] to proceed, or [ESC] to abort. If the drive or
- disc is faulty, FlopiCat will tell you and prompt you to check out the
- problem.
-
- FlopiCat then reads each file in turn off the disc. It ignores
- subdirectory names, although all the files, no matter how deeply they
- are embedded in subdirectories, will be found; even invisible, system
- or other files.
-
- Firstly, it asks you for a disc number. This can be anything between
- 0000 and 9999, but you have to use a numeric number such as '0123' you
- can't have 'AB12' as the disc number. FlopiCat knows the most
- recently used disc number, and when you catalogue a new disc, it will
- suggest the next logical number as a default, ie if the last one was
- 0145 the next one will be 0146 unless you change it.
-
- (It is up to you how you number your floppies; you may prefer a
- straight logical progession, although personally I use the first two
- number as a 'disc group' ie 01 for personal data, 02 for source code,
- 03 for wordprocessed stuff, etc etc. with the last 2 digits as the
- actual disc number. This way I can see at a glance into which group a
- disc belongs, and a card inside my the cardboard carton I use as a
- floppy disc archive box shows me which group is which. But this is up
- to you.)
-
- Next the file details are read and shown on the screen; you can't edit
- these, but you can enter up to 39 characters of description. This can
- consist of anything you choose to key in. FlopiCat knows some of the
- more popular Ms-Dos filenames and will sometimes suggest a description
- as a default. You are free to type over this if you like.
-
- Flopicat also knows when it has read the volume label and describes
- this as such, although it will think that any file with a zero
- bytecount is the volume label. It will also retain the most recent
- description which you entered as a default; this is unaffected by any
- 'automatic' guesses it may make. If you accept the defaults it
- suggests, just press [ENTER] but otherwise key in your own
- description.
-
- This process is repeated until the entire disc contents are
- catalogued, whereupon you are prompted to remove the disc and you
- return to the normal status bar display.
-
- Note that you cannot escape from cataloguing a new disc until all the
- files are scanned. This is deliberate, and prevents you from missing
- some files off a disc by mistake.
-
-
-
- Searching for an Entry
-
- You can interrogate the catalogue data by searching for either a
- filename or a description. Press [F] for a filename search or [D] for
- a description search. FlopiCat will find words-within-words, ie it
- will find CESS inside WordProcessor. The searches are not case
- sensitive. If FlopiCat finds the record you want, it displays it. If
- it finds any more, it asks 'continue search ? [y/n]' and if you
- press [N] the search stops. FlopiCat searches from the 1st position
- in the record stack to thge last one.
-
-
-
- Sorting
-
- FlopiCat can sort the date by Disc Number, Filename, or Description,
- as you wish. When you press [S] for Sort, you are asked which way you
- want the data sorted. [N] for Disc Number, [F] for Filename, [D] for
- Description. Press the appropriate key, or [ESC] to abort.
-
- I am afraid that with more than a couple of hundred records, the
- sorting is rather slow. If FlopiCat can perform the sort in memory,
- it does so, and this is quite fast. However, is the size of the data
- file is larger than the amount of free memory, FlopiCat does an on-
- disc sort. If you have an 8mHz computer and upwards of 500 records, I
- suggest that you import the file into Pc-File or other database and
- sort it using that, afterwards exporting the data as a random (fixed
- length) file. Here is the data dictionary :-
-
- DiscNumber$ 4 bytes
- FileSpec$ 35 bytes
- Description$ 39 bytes
- ------------------------
- record length 78 bytes
-
- There is a blank configuration header for Pc-File bundled with this
- archive; this will import the data produced by FlopiCat and let you
- use Pc-File to sort it in whatever way you wish. I will hopefully be
- able to improve the built-in sorting speed in later versions.
-
-
-
- Dos Shell
-
- A Dos Shell can be invoked by pressing Shift/6 or the Caret [^]. This
- temporarily exits FlopiCat and allows you normal access to Dos
- commands, or you may load and run other programs provided that you
- have enough memory left. To re-enter Flopicat, exter EXIT at the Dos
- prompt. This does not damage the data in any way, as the file is
- closed prior to the shell and reopened afterwards.
-
- However, you must resume FlopiCat in the directory where it is stored.
- If you change directory during the shell, change back to the one where
- FlopiCat is before you enter the EXIT command.
-
-
-
- Customizing the Colours
-
- To customise the colours, use a text editor to amend the FLOPICAT.CFG
- file which is included in the archive. This configuration file
- contains the standard Microsoft colour codes, in the following order:
-
- Black, Blue, Green, Cyan, Red, Magenta, Yellow, White
- LowBlack, LowBlue, LowGreen, LowCyan, LowRed, Low Magenta, LowYellow,
- LowWhite
-
- The default settings are:-
-
- 8, 9, 10, 11, 12, 13, 14, 15
- 0, 1, 2, 3, 4, 5, 6, 7
-
- Change these values as you wish and store the FLOPICAT.CFG file in the
- same directory where FlopiCat is to be run. The program will read the
- configuration file if it exists; if it doesn't exist, the default
- colours are used anyway.
-
- Thank You
-
- Thanks to all the people who have test driven this program and
- responded with comments and useful criticism.
-
- Rob Davis, "Elsham" 113 LE9 6SA, England.