[clue-talk] Looking for an editor

Dave Price kinaole at gmail.com
Sun May 6 19:41:44 MDT 2007


vim has a hex mode:

<http://www.vim.org/htmldoc/usr_23.html>

USING XXD

A real binary editor shows the text in two ways: as it is and in hex format.
You can do this in Vim by first converting the file with the "xxd" program.
This comes with Vim.
   First edit the file in binary mode:

	vim -b datafile

Now convert the file to a hex dump with xxd:

	:%!xxd

The text will look like this:

	0000000: 1f8b 0808 39d7 173b 0203 7474 002b 4e49  ....9..;..tt.+NI
	0000010: 4b2c 8660 eb9c ecac c462 eb94 345e 2e30  K,.`.....b..4^.0
	0000020: 373b 2731 0b22 0ca6 c1a2 d669 1035 39d9  7;'1.".....i.59.

(kindof like the old norton utilities for messy-dos)

aloha,
dave

On 5/6/07, Grant Johnson <grant at amadensor.com> wrote:
> I am looking for an editor that will show me hex values, and preferably
> decimal values as well for a large binary file.   I would prefer
> something X based, but curses would be OK too.
>
> I am working on some audio files, and really need to look at the numbers
> associated with each sample.
>
> There are many out there.   I am mostly looking for opinions on which
> are good, and which are kinda stinky.
> _______________________________________________
> clue-talk mailing list
> clue-talk at cluedenver.org
> http://www.cluedenver.org/mailman/listinfo/clue-talk
>


-- 
aloha,
dave



More information about the clue-talk mailing list