3

There isn't a single good hex editor for the command line.

No, xxd+vim is not a solution when you need to move bytes around or create files from scratch.

I want something that shows me e.g. u32/u64 values at certain locations as I'm editing, color coding bytes by printable or not, etc.

There are lots of *viewers*, and a lot of shitty basic editors that hardly work, but nothing that feels solid and actually usable.

Frustrating.

Comments
  • 1
    📌
  • 1
    So something like hexyl but with the ability to edit.. Maybe someone made a fork of it with the ability to edit files, but I don't think so.

    The only editor I know is Hexcurse as a cli based editor, but I guess you already checked that one out.
  • 1
    @Crowns Yeah I couldn't figure out the bindings for it. The whole emacs control scheme thing was blah. Also it's missing any sort of helpful integer features and whatnot.
  • 1
    @junon while searching in some forums I found this:
    https://www.dettus.net/dhex/
    https://www.dettus.net/dhex/themes/

    Don't know if this could be sufficient.
  • 3
    @Crowns Couldn't get it to work. It just hangs at the configuration thing (KEYESC). Nothing other than ctrl+c did anything (which, of course, closed the program). I mashed my keyboard, no luck.

    EDIT: appears to be a bug (https://bugs.debian.org/cgi-bin/...). It says it's fixed as of last november but I've not had any luck with it.

    EDIT2: I downloaded the tarball and compiled from source; seems to be working now. I'll give it a try.
  • 3
    @Crowns yeah okay dhex works for me for now. It doesn't have everything I want but it's close enough. Thanks for making me look at it again!
  • 0
    What about r2?
Add Comment