| 1 |
|
| 2 |
HEXCOMPARE - Visual File Comparison Utility |
| 3 |
http://sourceforge.net/projects/hexcompare/ |
| 4 |
|
| 5 |
|
| 6 |
DESCRIPTION: |
| 7 |
------------ |
| 8 |
hexcompare is a tool used to compare two binary or ASCII files. In overview |
| 9 |
mode, it presents a block diagram which quickly displays what's the |
| 10 |
same/different between two sets of files. |
| 11 |
|
| 12 |
|
| 13 |
LICENSE: |
| 14 |
-------- |
| 15 |
hexcompare is released under the GNU GPLv3. |
| 16 |
|
| 17 |
|
| 18 |
HOW TO COMPILE: |
| 19 |
--------------- |
| 20 |
Enter the "make" command in your terminal, minus the quote. It will produce |
| 21 |
an executable called "hexcompare". This is our program. |
| 22 |
|
| 23 |
|
| 24 |
HOW TO INTERPRET: |
| 25 |
----------------- |
| 26 |
Start the program by using the files you want to compare as the arguments. |
| 27 |
For instance: |
| 28 |
|
| 29 |
./hexcompare file_one file_two |
| 30 |
|
| 31 |
Once in the program has started, you will see that the screen is divided |
| 32 |
into two. In the top portion, you have the "overview." This is a block diagram |
| 33 |
representing the differences between both files at a given offset. |
| 34 |
|
| 35 |
A blue block means that the bytes that it represents are the same between |
| 36 |
both files. Red means that they're different. Grey means that neither file has |
| 37 |
any data at an offset. |
| 38 |
|
| 39 |
Each block represents a number of bytes. How many bytes are represented |
| 40 |
depends on your terminal window size: the bigger it is, the more blocks that |
| 41 |
can be fit on screen. The more blocks on screen, the more the files are |
| 42 |
divided up into smaller chunks of bytes. |
| 43 |
|
| 44 |
The bottom half of the screen contains the raw data at a specified offset. |
| 45 |
Using the "m" key will alternate the display between presenting the data as |
| 46 |
hex and as ASCII. Pressing "v" will make the data view of the lower part of |
| 47 |
the screen take up the whole terminal. |
| 48 |
|
| 49 |
|
| 50 |
HOW TO NAVIGATE: |
| 51 |
---------------- |
| 52 |
The mouse can be used to navigate the block diagram "overview." Single |
| 53 |
clicking on a block will load in the offset represented by that block, and |
| 54 |
show the data that's found there. |
| 55 |
|
| 56 |
Double-clicking on a block will bring up a more detailed hex view of the |
| 57 |
specified location. |
| 58 |
|
| 59 |
The arrow keys can be used to go from block to block in the overview. Page |
| 60 |
Up/Down can be used to go up/down lines of hex/ASCII data. |
| 61 |
|
| 62 |
|
| 63 |
CHANGELOG: |
| 64 |
---------- |
| 65 |
1.0.4 Mateusz Viste contributed several patches that improve portability, |
| 66 |
remove unnecessary dependencies and fix a few cosmetical issues, also |
| 67 |
fixed a flicker issue reported by Rene Liebscher. |
| 68 |
1.0.3 Tomasz Wasilczyk contributed numerous fixes to correct eroneous |
| 69 |
comparisons, compiler warnings and build issues. |
| 70 |
1.0.2 More efficient byte comparison scheme. |
| 71 |
1.0.1 Thanks to Grawity: fixed how the files were tarred together. Thanks to |
| 72 |
pickledspiders: changed from -curses to -lcurses in the Makefile. |
| 73 |
1.0.0 Initial Release by Julien McArdle (julien.im) |
| 74 |
|
| 75 |
========================================================= |