Questions tagged [hexl-mode]

The tag has no usage guidance.

Filter by
Sorted by
Tagged with
0
votes
0answers
14 views

Insert byte without overwrite in Hexl mode

The funtion hexl-insert-hex-char in Hexl mode only allows you to replace a byte. How can I insert a new byte between two existing bytes?
2
votes
1answer
28 views

Adjust columns in Hexl-Mode?

By default, it looks like hexl-mode shows 16-bytes per row as the column numbers range from 0x0 - 0xf. Is there a way to adjust how many byte are displayed per row? E.g. 8-byes per row.
2
votes
2answers
200 views

How convert text to hex value?

I has some sybmol, e.g. O and I want to convert it to hex value. The result must be 4f How I can do this in Emacs 26.1 ?
1
vote
1answer
100 views

config hex mode to show data byte by byte

By default, the hexl mode will show binary data two bytes by two bytes as below: 00000000: 0000 0020 6674 7970 6973 6f6d 0000 0200 ... ftypisom.... Is it possible to change the style to show data ...
7
votes
2answers
556 views

How to search for a sequence of bytes in hexl-mode?

Is it possible to search for a byte sequence in hexl-mode and possibly highlight it? E.g. in the file below I want to search the byte sequence f9beb4d9. isearch does not work because it searches the ...
1
vote
2answers
71 views

Moving forward / backward using a hexadecimal offset

There is hexl-forward-char which lets me move forward/backward specifying a decimal offset. And there is also hexl-goto-hex-address to specify an absolute location using a hexadecimal number. Is ...
0
votes
1answer
148 views

Is it Possible to automate file editing using emacs?

So what i am trying to achieve is the auto-editing of hex files. For example - The user enters a hex address, and the hex value to replace at that address. This change is to be applied to 10 different ...
2
votes
1answer
150 views

Meaningful Copy/Paste in hexl-mode

Copy/Paste seems broken for hexl-mode, eg. M-w copies the hex tables to the clipboard, rather useless. Since hexl-mode has overwrite-mode by default, how can the following be implemented? M-w should ...
2
votes
1answer
673 views

Enter hex numbers continuously in hexl-mode

In hexl-mode how can I make Emacs enter a state where it takes everything I enter as hex input until I tell it to stop? Eg. I want to tap "A", "B", "1", "0", etc., and have this entered as $AB, $10, ...
0
votes
2answers
187 views

Can we just see the Hex code without preview in hexl-mode?

I would like to use the hexl-mode but without the ASCII characters printed on the right side as it is mostly gibberish and not a very helpful feature for me. Is there a way to achieve that? For ...
8
votes
1answer
1k views

Make emacs automatically open binary files in hexl-mode

How can I make emacs automatically open binary files in hexl-mode? It's probably sufficient to define "binary" as "contains a null byte" (I suppose https://github.com/audreyr/binaryornot could be used ...
2
votes
1answer
307 views

Hexl-mode with colors?

I have just been using Hexl-mode to investigate some binary files. What I would like though, is some way of highlighting the byte under consideration: at the moment the line and column indices are ...
5
votes
2answers
487 views

How can I convert hexidecimal values to base 10 in hexl-mode?

A nice feature of viewing binary files with hexl-mode is it displays the equivalent ASCII values to the right of your hexidecimal lines. Is there a way to make hexl-mode treat hex values as floats, ...
6
votes
1answer
132 views

Batch loading binary files

I just discovered vlf-mode (View Large Files) and I am using it to view a large binary file in hexl-mode and read certain metadata from headers within the file. It works great, with one exception. ...