PDA

View Full Version : read binary



bspooner
22nd January 2008, 11:51 PM
Pure ignorance

Is it possible to view binary files in vi?

Evil_Bert
22nd January 2008, 11:53 PM
Not legibly.

Install a hex editor:

yum install ghex

bspooner
22nd January 2008, 11:56 PM
Not legibly.

Install a hex editor:

yum install ghex



sweet

spank you

Evil_Bert
23rd January 2008, 12:00 AM
spank you
I'm sorry, I'm just not made that way. :)

pete_1967
23rd January 2008, 02:46 AM
Pure ignorance

Is it possible to view binary files in vi?

In both Vim and gVim:


:%!xxd


converts binary to hex.