Go Back!

termhex

[Source Code]

A simple terminal hex reader written in Rust that displays the contents of binary files in hexadecimal format with an optional ASCII representation.

Control

Arrow keys - move
Page Up – Scroll up by one full screen
Page Down – Scroll down by one full screen
End key - Jump to end of file
Home key - Jump to start of file
Tab - Switch from hex to ASCII
E - Extract all ASCII graphic bytes and write to file
Q - Quit

Color palette

ascii_graphic => Cyan,
ascii_whitespace => Red,
ascii_control => Default,
not_ascii => Yellow,
else => Green

Usage

Opening a file

Switching from hexadecimal to ASCII representation