-
Notifications
You must be signed in to change notification settings - Fork 2
/
Copy pathREADME
67 lines (52 loc) · 2.4 KB
/
README
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
HexInspector - A better hex inspection tool
Examine binary files, diff two binary files
To invoke
hi <file1> [<file2>]
Todo
* Floating point representation on ruler
* Display modes
* Decimal mode (Int16 LE/BE, Int32 LE/BE)
* Highlight modes
* MPEG-TS packet mode needs improvement
* Add selection mode
* CRC32/MD5/SHA1 of selection
* File format detection (gzip, jffs2 etc)
* ANSI/Unicode string
* Search mode, improvements to regular expressions suitable for binary files
* Restore find duplicates in binary files
* Dependancies *
glib - 2.0.0 or later (For list, hash and balanced binary tree support)
ncurses - Tested with version 5
pcre - Perl compatibile regular expresions (Optional)
* Platform *
Tested on Ubuntu Linux and MacOS X and RHEL4
* Future enhancements *
* Allow it to work with files that are bigger than off_t or the maximum mmap size
* Allow the document to be opened before the hashing and diffing is completed, by moving the diff and hash into the background
* Keyboard help *
Buffer
Certain commands can be prefixed with a 'buffer' argument, this takes an int
in either decimal, octal (preceeded by 0),or hex (preceeded by 0x) formats
Escape | Clear the buffer
Backspace | Remove the last character from buffer
All mode keys
q/Q | Quit
? | This help (Press to remove)
[buffer] Page Up/Down/Arrows | Move around the file
[buffer] g/G | Goto (Negative value in buffer)
act as bytes from EOF
/ | Search using a regular expression
Display modes
Note that display modes are not applied to both pagers
= | Set the unfocused pager to the same settings
h/H | Next/Prev Highlight mode
v/V | Next/Prev Display mode (Dec, Hex, Oct etc)
l/L | Next/Prev base for address location
[buffer] , | Set byte grouping (default of 4)
[buffer] . | Limit/Set number of bytes per line
(0 = auto-adjust to the terminal size)
Diff mode only
The following only operate when two files are open
p/P | Switch between pagers/files
[buffer] [ or ] | Previous or next hunk
[buffer] { or } | Previous or next big diff hunk