summaryrefslogtreecommitdiff
path: root/doc/DOC.txt
blob: ad5ae54eb53a456507b420a76f281b133a441bd1 (plain) (blame)
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
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
                         IHE DOC VERSION 0.0.1 (EARLY ALFA)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

    ihe - interactive hex editor multi purpose hex editor basicaly to edit files
containes experimental features and not suppose to become mainstream. 
Philosophy of editor is to be minimal and simple without any depencecies on
third party libraries. Not suppose to be mutli-OS multi-ARCH multi-PLATFORM.
Not suppouse to be user-friendly but suppose to be file-freindly and 
old-school friendly.

++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
COMMANDS SUPPORTED
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
-- version 

    Show current program version

-- quit 

    Quit programm without freeing resources

-- help 

    Print avaliable commands

-- ?

    Same as HELP 

-- open 

    open file

    EXAMPLE:
        >open test/test1

-- close 

    close currently opened file

    EXAMPLE:
        >close

-- info 

    show various info about programm resource usage

-- seek 

    change file cursor position. dont do anything after changing file position.
    minimal value 0 and maximal is file size value.

    EXAMPLE:
        move cursor to +1000 positions
        >seek 1000

        go back 10 positions
        >seek -10

-- pos 

    show current position of file cursor

-- size 

   show opened file size

-- blk 

   show currently used block size

-- read 

   read from openede file. read from current cursor position reading block size.
   block size could be checked with BLK command.

-- dump 

   show currently readed data in buffer. just hex in one row.

-- dumpx 

   show buffer data as hex values like hexdump stuff

-- write 

   supports 1 argument. write hex values at currently opened file. at current
   buffer and write that buffer back to file. maximal write amount is maximal
   buffer size. file cursor position stays same.

   EXAMPLE:
       write 0x00 0x11 0x22 0x33 at current position at file
       >write 00112233

-- writes 

    write string to current file buffer and to current file position. Support
    only one word to write.

    EXAMPLE:
        write "Hello" to file
        >writes Hello


-- flags

    file opening flags. now is supported R/W/RW

    EXAMPLE:
        show currently supported flags
        >flags ?
        show current flag mask
        >flags