I have a fairly large binary file (a few tens of MB) and would like to remove a few KB somewhere in the middle, it's sandwiched data not the beginning nor the end.
Ideally I'd like to use emacs and hexl-mode seems a likely candidate.
Is it possible to delete one line from hexl buffer? Ctrl-k does not seem to do the job. I'm happy to look at the code but for whatever reason looking for hexl-mode.el all I find is the compiled .elc file on my Ubuntu 10.04 machine Emacs 23.1.
Additionally: in a sneaky move I'd like to add another hexl-mode question that is not directly related to the question as phrased in the title but is part of the complete problem I'm facing: It would be very useful for me if I could display X hexadecimal characters per line where X obviously changes with the format of the binary file I'm editing, I could not find a way to do that with hexl-mode and thought I'll throw the question here.