1VBINDIFF(1) Christopher J. Madsen VBINDIFF(1)
2
3
4
6 vbindiff - hexadecimal file display and comparison
7
9 vbindiff file1 [ file2 ]
10
12 Visual Binary Diff (VBinDiff) displays files in hexadecimal and ASCII
13 (or EBCDIC). It can also display two files at once, and highlight the
14 differences between them. Unlike diff, it works well with large files
15 (up to 4 GB).
16
17 Viewing files
18
19 Movement Keys
20 -------------
21 Up Move one line (16 bytes) towards the beginning of the file
22 Down Move one line (16 bytes) towards the end of the file
23 Left Move one byte towards the beginning of the file
24 Right Move one byte towards the end of the file
25 PageUp Move one page towards the beginning of the file
26 PageDn Move one page towards the end of the file
27 Home Move to the beginning of the file
28 End Move to the end of the (shorter) file
29 F Search for a string or byte sequence
30 G Move to a specified file position
31
32 When displaying two files, both files move together. If bytes have
33 been added or removed in one of the files, you can adjust the compari‐
34 son by moving just one of the files. To move only the top file, press
35 "T". To move only the bottom file, press "B". To return to moving
36 both files, press the same key again. (The window at the bottom of the
37 screen will indicate when you are moving only one file.)
38
39 Other Keys
40 ----------
41 Enter Move to the next difference between the files
42 Space (same as Enter)
43 C Toggle between ASCII and EBCDIC display
44 E Edit currently displayed section of file
45 Esc Exit VBinDiff
46 Q Exit VBinDiff
47
48 The "Enter" key will advance to the next difference between the files
49 (after those already displayed on the screen). If there are no more
50 differences, it moves to the end.
51
52 Line editor
53
54 The line editor is used to enter search strings and file positions. It
55 uses the basic Emacs-style editing keys.
56
57 Keys
58 -----------------
59 Ctrl-B, Left Move the cursor one character left
60 Ctrl-F, Right Move the cursor one character right
61 Ctrl-A, Home Move to the beginning of the line
62 Ctrl-E, End Move to the end of the line
63 Ctrl-P, Up Move up in input history
64 Ctrl-N, Down Move down in input history
65 Ctrl-H, Backspace Delete the character to the left
66 Ctrl-D, Delete Delete the character under the cursor
67 Ctrl-K Delete from cursor to end of line
68 Insert Toggle between insert & overstrike mode
69 Enter Finished entering text
70 Esc Abort the operation
71
72 Editing files
73
74 You can press "E" to edit the current file. When displaying two files,
75 this edits the one in the top window, unless you are in "move bottom"
76 mode.
77
78 When editing, you can move the cursor around with the arrow keys. Use
79 TAB to switch between entering hexadecimal or ASCII (or EBCDIC) charac‐
80 ters. Press the Esc key when you are done. You will be given the
81 choice to save or discard your changes then.
82
83 If you are displaying two files, you can use the Enter key to copy a
84 byte from the other file into the one you are editing.
85
86 You cannot scroll through the file while editing, although you can save
87 your changes and then move to a different part of the file. Also, you
88 cannot insert or delete bytes, only change them.
89
91 -L, --license Display license information for vbindiff
92 -V, --version Display the version number
93 --help Display help information
94
96 Does not work properly with files over 4 gigabytes. It should be able
97 to view the first 4 gigabytes ok, but the display only has room for 8
98 hex digits of file position, and the Goto box is also limited to 8 dig‐
99 its.
100
102 VBinDiff is free software; you can redistribute it and/or modify it
103 under the terms of the GNU General Public License as published by the
104 Free Software Foundation; either version 2 of the License, or (at your
105 option) any later version.
106
107 VBinDiff is distributed in the hope that it will be useful, but WITHOUT
108 ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or
109 FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License
110 for more details.
111
112 You should have received a copy of the GNU General Public License along
113 with VBinDiff (see the file COPYING); if not, see
114 <http://www.gnu.org/licenses/>.
115
117 Christopher J. Madsen <vbindiff .at. cjmweb.net>
118 <http://www.cjmweb.net/vbindiff/>
119
120
121
122VBinDiff 3.0_beta4 2008-07-26 VBINDIFF(1)