May 16, 2004 John Bijnens is a CAD/CAM engineer in the KHLim - Dep. IWT which is some kind of technical university in Belgium. He gives training in Pro/E and also writes CNC postprocessors (all development is done on OS/2.) If you have a comment about the content of this article, please feel free to vent in the OS/2 e-Zine discussion forums. There is also a Printer Friendly version of this page. |
|
Compdeux File ComparisonThere are many utilities to compare files and more specific source files of computer programs. Most of them have a very rudimentary interface (e.g. diff). Some of them have a very sophisticated interface like (e.g. Guiffy). CompDeux, part of the Complite File Comparison Family, is situated somewhere in between. The Complite File Comparison Family is shareware and is available for OS/2, Windows and DOS. The OS/2 version consists of 4 members CompDeux, TigDeux, SibDeux, TFuzDeux which are all 4 native OS/2 programs. This article will only review CompDeux which is specifically designed to compare program sources. | |||
InstallationInstallation is very straightforward. The software comes as a zip file. You only have to unzip it in a directory and start it by executing compdeux.exe. If you want you can create a program object for it.UsageAfter you have started compdeux.exe you get the following screenThis screen has two uses :
You can specify the default settings for display, printer, ... by erasing the entry C:\*and replacing this by $SETUPand pressing the enter key. When you have done this you get the following screen 2. Select the sources files you want to compare
If necessary you can change the default drive by overwriting 'C:\*' manually with the drive you want to select the first program source from. You can do this by pressing the backspace and typing the desired location e.g. D:\*
When you press the enter key you can browse the directories on the drive and select the first source file. As with most applications you can type a letter and CompDeux will jump to the first entry that begins with this letter.
After this the comparison of the two files starts.
You can change to other views by pressing repeatedly the function key F5.
The picture below shows one possible view.
To be able to bounce a block from one source to the other you must first activate the Cursor.
Press the space bar until the menu line at the bottom shows the option C-Cursor then press C.
You can now place the cursor on the desired line by using the cursor keys and bounce the block by pressing
As with most programs you have access to a very comprehensive help by pressing F1.
Perhaps some additional notes here on one particular member of the Complite File Comparsion Family namely TFuzDeux. This is one very extraordinary program as it not only can compare text but also numbers and allows you to compare ranges of numbers. You can e.g. specify that numbers situated between 1 and 10 should be considered as equal.
As always don't forget that this is shareware so if you like the software don't forget to register it and send a sign of life and your appreciation to the author. This way he knows his work is valued very much and it will give a stimulation to develop new versions.
If anything isn't working as expected don't start to yell but try to provide the author with a full reproducible error report so he is able to correct the problem in case of a bug.
|
|||||
|