home *** CD-ROM | disk | FTP | other *** search
-
-
-
-
- 1
-
-
-
-
-
-
-
-
- -------------------------------
- - Giflog v1.1 -
- - GIF File Cataloging Program -
- -------------------------------
- - User Information -
- -------------------------------
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
- Executable Program and Documentation
- Copyright (C)1990,1991 by Michael Rice
-
-
-
- 2
-
-
-
-
-
- Introduction:
- -------------
-
- Giflog is a simple, easy to use program to help you manage your
- GIF picture file collection. If you are anything like me,
- collecting these GIF files has gotten a bit out of hand. At the
- this time I have about 125 1.2Mb disks with GIF files on them.
- Most of the files sit in one of my floppy boxes and never get
- looked at. This can cause quite a problem for the collector. If
- I obtain a GIF today how can I remember if I already have it or
- not? I certainly don't want to keep multiple copies of the same
- file. Giflog helps with this in quite a number of ways. First,
- it has a built in CRC (Cyclic Redundancy Check) algorithm that
- will help you spot duplicate files. Secondly, it lets you add
- comments for each file while cataloging so you can remember what
- is in that file at a later date. Thirdly, it has report printing
- features to let you know the details of each file such as
- filesize, resolution, name, and comment. There are other nifty
- little features that make it a nice program to have around. I
- hope you'll give it a try. What do you have to lose?
-
-
-
- Installation:
- -------------
-
- Giflog will create the file GIFLOG.CAT as a default. So the
- first time you run Giflog, GIFLOG.CAT will be the name of your
- catalog file. You may change this by going to the FILE menu LOAD
- option and loading in the filename you desire. You may only load
- a filename. Do NOT try to use a full pathname in the LOAD
- option. To make this your default go to the OPTIONS menu SAVE
- CONFIGURATION option.
-
- Giflog will also look for the file GIFLOG.CFG. It contains the
- Options settings. If this file does not exist, it will use the
- default values.
-
- Giflog will always look in two places for GIFLOG.CFG and your
- catalog files (normally GIFLOG.CAT). It will first check your
- environment for the variable GIFLOG. If this exists it will look
- in the directory assigned to the GIFLOG variable. If it doesn't
- exist it will look in the directory from which you ran
- GIFLOG.EXE. You need to setup in one of the following ways:
-
- 1) In your AUTOEXEC.BAT file add the following line:
-
- SET GIFLOG=\GIFLOG\PATH\
-
- Where "\GIFLOG\PATH" is the directory you want GIFLOG.CAT and
- GIFLOG.CFG to be kept. Don't forget the trailing "\" as it is
-
-
-
- 3
-
-
- essential. After this is done you need to also put GIFLOG.EXE in
- a directory that is in your PATH or set your PATH to include
- GIFLOG.EXE. You now can run Giflog from any directory in your
- system.
-
- 2) You may also put GIFLOG.EXE into a directory and specifically
- change to that directory before running Giflog. If this is done
- GIFLOG.CAT, GIFLOG.CFG, and GIFLOG.EXE will all be in the same
- directory. You can put the needed commands into a batch file
- (We'll say GIFLOG.BAT) and put this batch file somewhere in your
- PATH. You can then run Giflog by typing GIFLOG at any prompt.
- With the help of the PUSHDIR and POPDIR utility you can even
- return to the directory you started in. Below is a sample batch
- file, that I have included with Giflog:
-
- @ECHO OFF
- PUSHDIR > NULL
- CD \PATH\OF\GIFLOG
- GIFLOG
- POPDIR > NULL
-
-
-
- Basic Features:
- ---------------
-
- Giflog is a set of procedures run from an easy-to-use pulldown
- menu. The menu options may be selected by either the mouse, the
- keyboard, or a combination of both. In general, the left mouse
- button will select an option and the right button will remove a
- menu. When using the mouse you must unselect a menu with the
- right button before moving to another menu. You may remove the
- mouse cursor by pressing Alt-M. With the keyboard, you move with
- the cursor keys, select with the RETURN key, and unselect with
- the ESCAPE key. You may also select an option by pressing the
- letter that is highlighted in red. You may hit F1 at any point
- to get a brief help message. These aren't meant to be
- comprehensive, but may be of some use to those who are a bit
- lost.
-
- The program was written in C with the Turbo C++ compiler. The
- menuing features are from TCU v3.1a (Turbo C Utilities) by Karl
- Keyte. I highly recommend this!
-
-
-
- File Menu Options:
- ------------------
-
- *Save Catalog:
- This saves the current catalog including any new changes made
- since the last save. The old catalog is backed up in the file
- GIFLOG.BUP.
-
-
-
- 4
-
-
- *Load Catalog:
- This loads a catalog file from disk. You can use this to load
- GIFLOG.BUP if you just made a mistake, or if you are using
- multiple catalog files you can use this to load them. If you
- have made changes to the current catalog it will ask you if you
- want to save first.
-
-
- *Add Comments:
- This allows you to add comments to a specified volume. You can
- also add comments by setting the auto-commenting feature on.
-
-
- *Activate Viewer:
- This will try to activate a GIF file viewer. You must have the
- pathname/filename and command line options of the viewer set from
- the OPTIONS menu. The default is CSHOW.EXE. It is assumed that
- CSHOW.EXE is somewhere in your PATH since the full pathname is
- not specified. You must also have enough free memory to do this.
- This shouldn't be a problem unless you have a huge catalog file.
- Some viewers, such as CSHOW, VUIMG, and VPIC, work well with this
- option.
-
-
- *Delete File:
- This option allows you to remove only one file from a volume. It
- is useful when you find a duplicate file in your catalog. It
- asks for a volume and a file and deletes it if the file is in the
- catalog. It also updates volume and file information. Use this
- when you only want to remove a few files from the catalog, and
- the Uncatalog function when you want to remove the whole volume.
-
-
- *About GIFLOG:
- This will display a screen full of information about GIFLOG, such
- as where I can be reached, and a few restrictions.
-
-
-
- Catalog Menu Options:
- ---------------------
-
- *Catalog:
- This is the heart of the Giflog program. This option will add
- GIF files to the database. There are two ways in which
- cataloging can work. The first is designed to work mainly on
- floppy disks. Giflog will find all the GIFS in the root
- directory of a disk, associate them with the disk's volume label,
- and store them in the database. All disks cataloged in this way
- must have a volume label. If it does not have one, you will be
- given the chance to add it. You can set the drive to catalog
- from, in the OPTIONS menu. If the files are already in the
- catalog it notifies you and adds the files that are new. If the
-
-
-
- 5
-
-
- auto-commenting option is set on, you will then be given a chance
- to update or create comments for each file.
-
- Giflog does not check to see that you have a unique volume label.
- All disks labelled the same are thought of as one volume. I
- suggest using a labelling method that makes duplicates easy to
- spot, and makes disks easy to find. I use the label "GIFS xxx"
- where xxx is a number which counts up with each new disk.
-
- The other option you have for cataloging is from a subdirectory.
- This is useful if you have a small collection which you keep on
- your hard drive, or if keep some on floppies and some in
- subdirectories. To use this you must set the option in the
- OPTIONS menu CATALOG DRIVE option. With this option set, Giflog
- will ask you for the full pathname of the subdirectory you want
- to catalog. A full pathname starting with a "\" is required.
- You may also specify the drive in the pathname, but it will
- default to the drive set in the CATALOG DRIVE option. Giflog
- will use the innermost directory as the volume. For example in
- the path C:\TEMP\GIFS\BIGCOLOR, the volume would be BIGCOLOR.
- The same rules apply for volumes with both ways of cataloging.
-
-
- *Uncatalog:
- This will remove a volume from the catalog. This is a drastic
- step. It will erase all information including comments. All
- information, except comments, can be scanned back in quickly and
- automatically; but comments must be re-entered manually. You may
- want to uncatalog a disk if you find a duplicate on it using the
- SEARCH DUPLICATES option. If you find a duplicate make a note of
- it and use the DELETE FILE option. Since this is such a drastic
- step, you will be asked to confirm your choice.
-
-
-
- Search Menu Options:
- --------------------
-
- *Duplicates:
- This checks through the whole catalog and compares the CRC value
- of each file with every other file. If two files have a matching
- CRC value, there is a good chance that the files are the same.
- These files are reported, so you can delete them if needed. The
- CRC calculated is a CRC of only a limited number of bytes of the
- file. This allows much faster cataloging and eliminates CRCs
- that are different because of a few stray bytes at the end of the
- file. I have over 1300 files cataloged and don't have any false
- reports at this time.
-
-
-
- 6
-
-
- *Search For File:
- This allows you to search for files that begin with a certain
- number of characters. For example, searching for "A*" would show
- all files that start with "A". Searching for "ALL" would find
- any files called "ALL.GIF".
-
-
- *Search By Comment:
- This allows you to find files that are commented. For example,
- searching for "NUDE" would find all files in which the word
- "NUDE" was added in its comment. The search is case insensitive.
-
-
-
- List Menu Options:
- ------------------
-
- *List All:
- This will list on the screen the entire catalog, with all fields,
- one screen at a time. The number of lines per screen can be set
- from the OPTIONS menu.
-
-
- *List Volumes:
- This will list on the screen a summary of all volumes. This
- includes the number of files on a volume, bytes free, etc.
-
-
- *Files on Volume:
- This will list on the screen all files on a particular specified
- volume.
-
-
-
- Print Menu Options:
- -------------------
-
- All print options allow you to print to STDPRN or a FILE. You
- are prompted for this information each time. Both these options
- are governed by the number of lines per printer page. This can
- be set from the OPTIONS menu. You can also choose to print in
- single sheet mode, from the OPTIONS menu.
-
-
- *Full Report:
- This will print all information, one file per line. This
- includes name, filesize, resolution, volume, and comment.
-
-
-
- 7
-
-
- *Universal Report:
- This will print only name, filesize, and resolution. It is
- printed one file per line. This report will contain only the
- information that is file related, leaving out information
- pertaining to your individual system. This might be useful for
- making a trading list.
-
-
- *2 Column Report:
- This will print name, filesize, and volume; 2 files per line.
-
-
- *4 Column Report:
- This will print name, filesize, and volume; 4 files per line.
- This will require either a 132 column printer or putting your
- printer into condensed mode.
-
-
-
- Options Menu:
- -------------
-
- *Printer Lines:
- Allows you to specify the number of lines to be printed on one
- page. The default is 55.
-
-
- *Screen Lines:
- Allows you to specify the number of lines to be printed on one
- screen before a pause. The default is 24.
-
-
- *Auto-Commenting:
- Allows you to either comment after every catalog (ON) or only
- when chosen explicitly from the menu (OFF).
-
-
- *Catalog Drive:
- This allows you to set the drive to catalog from. The default is
- drive A:. It also allows you to toggle between sub-directory
- mode and floppy root directory mode.
-
-
- *Viewer Path:
- This allows you to specify the GIF viewer path and filename. You
- may also add up to three command line parameters.
-
-
- *Save Configuration:
- This allows you to save to GIFLOG.CFG any changes you have made
- to the options.
-
-
-
- 8
-
-
- *Set Single Sheet:
- This allows you to tell Giflog to wait after each printer sheet
- so you can add a sheet of paper to your printer.
-
-
-
- Quit Menu:
- ----------
-
- This will exit GIFLOG after saving any changes to the catalog
- file. You may also exit GIFLOG by hitting the ESCAPE key when
- there are no pulldown menus showing. Hitting ESCAPE with a
- pulldown menu showing will hide the menu. If you want to exit
- the program without saving you can hit Ctrl-C or Ctrl-Break.
-
-
-
- Technical Information:
- ----------------------
-
- I am providing this information in case your catalog is somehow
- corrupted. With the following information you may be able to
- salvage your file with a editor. Some unpredictable events may
- cause errors. Things like corrupt GIF file may cause data file
- errors. If your data file is getting corrupted somehow, let me
- know about it. The program has very little error checking and it
- assumes you will give it the right data.
- This is the format of the GIFLOG.CAT file:
-
- {Number of volumes} {Number of files}
- Volume entry 1
- :
- :
- Volume entry N
- File entry 1
- :
- :
- File entry N
-
- Volume entry:
-
- {Volume Name}
- {Zero byte}
- {Space}
- {Volume Index number}
- {Space}
- {Files in Volume}
- {Space}
- {Bytes free}
- {Space}
- {Bytes Used}
- {0D}
- {0A}
-
-
-
- 9
-
-
- File entry:
-
- {File Name}
- {Space}
- {Filesize}
- {Space}
- {Width}
- {Space}
- {Height}
- {Space}
- {Colors}
- {Space}
- {Index number}
- {Space}
- {Checksum}
- {Space}
- {Comment}
- {00}
- {0D}
- {0A}
-
- If there is no comment a "/" is put in the comment field.
-
-
-
- Liability:
- ----------
-
- I cannot and will not take any liability for the use or misuse of
- this program. By using Giflog you automatically agree to this. I
- use this program everyday and have not found anything dangerous in
- it. This is just a precaution on my part.
-
-
-
- Distribution:
- -------------
-
- By all means pass this program around. All I ask in return is:
-
- 1) Do not remove my name or copyright.
- 2) Distribute the program with all the original files.
- 3) Contact me by one of the below means, so I know who
- is using the program. This is the only way I can
- contact you with bug fixes, updates, and
- improvements. I would also like your comments and
- suggestions.
-
- If you feel this program is useful and you use it regularly send
- me some GIF files. My mailboxes (both email and US Mail) are
- always open for quality GIFs of any content. Or you may want to
- send me a list of your favorite FTP sites.
-
-
-
- 10
-
-
- Contact me in one of the following ways:
-
- Internet : mrice@caen.engin.umich.edu (preferred)
- Compuserve : 71341,2226
- U.S. Mail : Michael Rice
- 6481 Crest
- Waterford, Michigan 48329
-
-
-
- Version Information:
- --------------------
-
- v1.1:
-
- * Set Drive option now uses LASTDRIVE variable to allow you to
- use any legal drive for cataloging.
-
- * Changed options settings to stay at current value if a carriage
- return is entered instead of a value.
-
- * GIF viewer now can have up to 3 command line options.
-
- * Corrected a bug which resulted in incorrect comma placement.
-
- * Fixed bug in duplicate search function which resulted in only 7
- of 8 filename characters being shown.
-
- * Fixed problem with backup file creation.
-
- * Improved Control-C/Control-Break handling
-
- * Implemented cataloging of subdirectories as volumes.
-
- * Improved Critical Error handler/DOS Error handler.
-
- * Provided the environment variable GIFLOG to let the user put
- Giflog's files where ever he wants.
-
- * Added Delete File option.
-
- * Added a safety prompt in the Uncatalog option.
-
- * Printing to a file now allows you to overwrite an existing
- file.
-
- * Improved documentation.
-
- * CTRL-M now toggles the mouse availability (A feature of TCU)
-
- * Printing to a file allows you to overwrite an existing file.
-
- v1.0 - Initial Release
-
-
-
- 11
-
-
- Bugs:
- -----
-
- The previous version didn't seem to work on all machines. The
- problem seemed to occur on older machines with older BIOS dates.
- Most of the trouble is on 8086 level machines, but the problem
- did occur on at least one 80286 level machine. I think this
- problem is corrected in v1.1. I have tested it on a true IBM XT
- and AT and it has no problems. If Giflog locks up your machine,
- or doesn't work as it should please contact me with a complete
- list of your hardware. In this list try to include processor,
- graphics display, BIOS version and date, DOS version, and any
- TSRs that you have installed.
-
-
-
- Legal Stuff:
- ------------
-
- `GIF' and `Graphics Interchange Format' are trademarks of
- CompuServe Incorporated, an H&R Block Company.
-
- `CSHOW' and `CompuShow' are Copyright (c) Canyon State
- Systems and Software.
-
- `VPIC' is Copyright (c) Bob Montgomery.
-
- `VUIMG' is Copyright (c) Offe Enterprises.
-