HEXCURSE(1)
π HEXCURSE π
okay bestie, listen β this is hexcurse, an ncurses-based hex editor. yeah. a hex editor that lives in your terminal. she's giving main character energy and she's been doing it since 2003. π
β¨ NAME β¨
hexcurse β an ncurses-based hex editor π¦
πΈ SYNOPSIS πΈ
hexcurse [ -? | -help ] [ -a ] [ -r rnum ] [ -o outputfile ] [ [ -i ]
inputfile ]
like. that's the whole vibe check right there.
π DESCRIPTION π
so hexcurse is an ncurses-based hexeditor utility β and no, that's not a typo, the manpage literally says "hexeditor" and we respect her β that is able to open, modify, and save a file to disk while providing useful editing and searching options. π₯
open it, poke at the bytes, save it, go about your day. iconic behavior honestly.
π OPTIONS π
-?|-helpβ prints out the command usage info. your lil "what do I do" button. π«Ά-aβ specifies that the addresses should be output in decimal format initially. (yes, initially. you can switch later, keep reading bestie.)-r rnumβ specifies the number of characters per line that the hexeditor should output. β οΈ but listen: ifrnumis either less than 1 or greater than the columns of the current terminal,hexcursewill just fill the terminal width β exactly as if the-rwas not specified at all. so don't try to be cute with it.-o outputfileβ specifies the output file to be written to by default. π[-i] inputfileβ specifies the input file to be read in. and here's the tea:-iis not needed ifinputfileis the last argument on the line. she's flexible like that. π
π INTERACTIVE OPTIONS π
these are the ones you'll actually be mashing, so pay attention bestie π§
F1|ctrl+?β shows key command help. your safety net. no shame in it.F2|ctrl+sβ save the current file. πΎF3|ctrl+oβ opens a file.F4|ctrl+gβ goto a certain location in the current file. and the way this one works is depending on which way the addresses are being viewed at the moment, the search behaves differently:- if the addresses are currently in hex format, the search will search as if the input was given in hexadecimal format.
- if the addresses are in decimal format, the function will search for the address in decimal.
so like. it matches your vibe. but also don't get it twisted. π
F5|ctrl+fβ search for a certain string in the current file. and again, it depends on which window you're currently editing in, so:- if editing in the hex window, the input should only be in hexadecimal, and it will search for the hexadecimal "string."
- if the current editing window is the ASCII window, the input should be ASCII characters, and the search will find that ASCII string in the file.
window-dependent searching. she's complex. we love her. β¨
F6|ctrl+aβ switch between hexadecimal address values and decimal address values.F7|TABβ switch between the hexadecimal and ASCII editing windows. (this is the one you'll press a million times, fr fr.)F8|ctrl+q|ctrl+xβ exit out of the program. three whole ways to leave. queen of boundaries. πPage Up|ctrl+uβ scroll one 'page' up.Page Down|ctrl+dβ scroll one 'page' down.Home|ctrl+tβ returns to the top of the file. πEnd|ctrl+bβ jumps to the bottom of the file.ctrl+zβ undo the last modification. and she's generous: this can be used multiple times. π thank god.Escβ escapes out of the save, open, goto, and find prompts. your "nvm" key. π
π¦ SEE ALSO π¦
π AUTHORS π
the authors of hexcurse are, and I quote:
- James Stephenson β
https://plus.google.com/u/0/103174459258175070784/about - Lonny Gomes β
hexcurse dot lonnygomes dot com
and the current version of this software is always availabe at (their spelling, not mine, we keep it verbatim bestie π«Ά):
π BUGS π
okay so. the caveats. buckle up.
- On some terminals the function keys will not work. π (this is why the
ctrl+bindings exist, iykyk) - Support for resizable terminals is still a bit rudimentary. At this time, when the terminal is resized, the cursor is positioned at the beginning of the file. This will be corrected in the next release.
- There is also an issue where the labels on the bottom of the screen do not resize correctly. A fix for the latter is in the works. π§
to report a bug or problem, please e-mail:
devel@jewfish.net
β TODO β
when they get the time, they would like to implement the ability to insert and delete data from the file. (yes. that's not a thing yet. we wait. patiently. πΈ)
please e-mail them with any additional suggestions.
ngl bestie, she's rough around the edges but she'll open, hex-edit and save your file and that's what matters. π
and that's the whole page!! this version of the hexcurse manual is dated 22 December 2003, and yeah, the footer says HEXCURSE(1) again because manuals are like that β they always gotta say their own name twice. π mwah, go hex-edit something, and remember: save your work. β¨
π¦ where this page comes from
- debian bookworm: hexcurse 1.58-1.4
- debian trixie: hexcurse 1.58-1.4
- nixos 26.05: hexcurse 1.60.0
- nixpkgs unstable: hexcurse 1.60.0
- ubuntu jammy: hexcurse 1.58-1.3
- ubuntu noble: hexcurse 1.58-1.4
- ubuntu questing: hexcurse 1.60.0-1
- ubuntu resolute: hexcurse 1.60.0-1build1 Β· GPL-2.0-or-later
- ubuntu stonking: hexcurse 1.60.0-2ubuntu1 Β· GPL-2.0-or-later
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash on : a language model's rewrite of the original, under its terms