HYX(1)

πŸ‘‘ HYX(1) β€” the manual page, but make it cute

okay bestie, gather round, because hyx is about to become your whole personality πŸ’– it's a terminal hex editor, it lives in section 1 of the manual, and it's genuinely iconic.


✨ NAME ✨

hyx β€” a minimalistic but powerful terminal hex editor πŸ¦‹


🌸 SYNOPSIS 🌸

hyx [filename]
command | hyx

πŸ’… DESCRIPTION πŸ’…

So like, hyx is a minimalistic (< 2300 lines of C, no cap, she's tiny) vim-like hex editor. πŸ’€ She's small but she does NOT play.

Here's the vibe check on what she can do:

  • display ASCII with colors 🌈
  • insert/replace/delete
  • copy/paste
  • undo/redo
  • search

That's the whole personality and honestly? Ate. πŸ”₯


πŸŽ€ OPTIONS πŸŽ€

  • -h, --help β€” shows you the help text with the editor keys and commands, like a little bestie handing you the cheat sheet 🫢
  • -v, --version β€” shows the version of the program, so you can be like "which era of hyx am I in" ⭐

✨ KEYS ✨

these are your main character moves, memorize them iykyk πŸ’œ

  • q β€” quit
  • h, j, k, l β€” move cursor
  • (hex digits) β€” edit bytes (in hex mode)
  • (printable) β€” edit bytes (in ascii mode)
  • i β€” switch between replace and insert modes
  • tab β€” switch between hex and ascii input
  • u β€” undo
  • ctrl+r β€” redo
  • v β€” start a selection
  • escape β€” abort a selection
  • x β€” delete current byte or selection
  • s β€” substitute current byte or selection
  • y β€” copy current byte or selection to clipboard
  • p β€” paste
  • P β€” paste and move cursor
  • ], [ β€” increase/decrease number of columns
  • ctrl+u, ctrl+d β€” scroll up/down one page
  • g, G β€” jump to start/end of screen or file
  • ^, $ β€” jump to start/end of current line
  • : β€” enter command (see below, bestie, keep reading πŸ‘‡)
  • /x (hex string) β€” search for hexadecimal bytes
  • /s (characters) β€” search for unicode string (utf8)
  • /w (characters) β€” search for unicode string (ucs2)
  • n, N β€” jump to next/previous match
  • ctrl+a, ctrl+x β€” increment/decrement current byte
  • ctrl+g β€” show file name and current position
  • ctrl+z β€” suspend editor; use "fg" to continue
πŸ’€ not the ctrl+z suspend catching you off guard. just type "fg" and you're back, breathe.

πŸ¦‹ COMMANDS πŸ¦‹

type : first, then one of these queens πŸ‘‘

  • $offset β€” jump to offset (supports hex/dec/oct, so she's flexible fr fr)
  • q β€” quit
  • w [$filename] β€” save
  • wq [$filename] β€” save and quit
  • color y/n β€” toggle colors

and that's the whole page bestie, no notes, periodt πŸ’–βœ¨

this was the hyx page from the General Commands Manual, dated 30 Jan 2022, and yes the footer said HYX(1) again because she's consistent like that. mwah. πŸŽ€πŸ«Ά

πŸ“¦ where this page comes from