In vim you can enter :%! xxd to turn it into a hexeditor. :%! xxd -r to return to normal mode. xxd comes with a vim installation.
See here for some notes on editing binary files using vim (it comes down to : set binary to avoid problems, use only the "R" or "r" command to change the text, do not delete characters).
If you are a fan of Emacs, see here for a guide to editing a binary using Emacs.
Paweł Polewicz May 08 '09 at 12:24 2009-05-08 12:24
source share