### Install hexhog with Cargo Source: https://github.com/dvdtsb/hexhog/blob/main/README.md Installation instructions for hexhog using the Cargo package manager. This method requires Cargo to be installed on the system. ```bash cargo install hexhog ``` -------------------------------- ### Install hexhog from AUR Source: https://github.com/dvdtsb/hexhog/blob/main/README.md Installation instructions for hexhog from the Arch User Repository (AUR). This command is typically used with an AUR helper like 'yay'. ```bash yay -S hexhog ``` -------------------------------- ### Install hexhog with Homebrew Source: https://github.com/dvdtsb/hexhog/blob/main/README.md Installation instructions for hexhog using the Homebrew package manager. This command is used on macOS and Linux systems with Homebrew installed. ```bash brew install hexhog ``` -------------------------------- ### Example hexhog Configuration Source: https://github.com/dvdtsb/hexhog/blob/main/README.md An example TOML configuration file for hexhog, demonstrating theme and character set settings. This file allows customization of the viewer's appearance and character representation. ```toml [theme] null = "dark_gray" ascii_printable = "blue" ascii_whitespace = [67, 205, 128] # rgb ascii_other = 162 # ansi non_ascii = "red" accent = "blue" primary = "green" background = "black" border = "cyan" [charset] null = "." ascii_whitespace = "·" ascii_other = "°" non_ascii = "×" ``` -------------------------------- ### Install hexhog via package managers Source: https://context7.com/dvdtsb/hexhog/llms.txt Commands to install the hexhog utility on various platforms using Cargo, AUR, or Homebrew. ```bash # Install via Cargo (Rust package manager) cargo install hexhog # Install via AUR (Arch Linux) yay -S hexhog # Install via Homebrew (macOS) brew install hexhog ``` -------------------------------- ### Run hexhog Command Source: https://github.com/dvdtsb/hexhog/blob/main/README.md The primary command to run hexhog, which takes a file path as an argument. This is the basic usage for opening a file in the hex viewer/editor. ```bash hexhog ``` -------------------------------- ### Open files with hexhog Source: https://context7.com/dvdtsb/hexhog/llms.txt Basic command-line usage for opening existing files or creating new ones for hex editing. ```bash # Open a file for hex viewing/editing hexhog # Example: Open a binary file hexhog myfile.bin # Example: Open an executable hexhog /usr/bin/ls # Create a new file (opens empty editor if file doesn't exist) hexhog newfile.dat ``` -------------------------------- ### Define Theme Colors Source: https://context7.com/dvdtsb/hexhog/llms.txt Detailed configuration for theme colors using various formats including named colors, RGB arrays, and ANSI 256-color indices. ```toml [theme] null = "dark_gray" ascii_printable = [100, 149, 237] ascii_whitespace = 51 ascii_other = "yellow" non_ascii = [255, 99, 71] accent = "cyan" primary = "white" background = "black" border = "white" select = "dark_gray" ``` -------------------------------- ### Customize Charset Display Source: https://context7.com/dvdtsb/hexhog/llms.txt Configure how non-printable bytes are rendered in the ASCII column by mapping them to specific placeholder characters. ```toml [charset] null = "0" ascii_whitespace = "W" ascii_other = "C" non_ascii = "X" ``` -------------------------------- ### Configure HexHog Appearance Source: https://context7.com/dvdtsb/hexhog/llms.txt Customize the editor's theme and character display using a TOML configuration file. The configuration supports named colors, RGB arrays, and ANSI codes for byte types and UI elements. ```toml [theme] null = "dark_gray" ascii_printable = "blue" ascii_whitespace = [67, 205, 128] ascii_other = 162 non_ascii = "red" accent = "blue" primary = "green" background = "black" border = "cyan" select = "dark_gray" [charset] null = "." ascii_whitespace = "·" ascii_other = "°" non_ascii = "×" ``` === COMPLETE CONTENT === This response contains all available snippets from this library. No additional content exists. Do not make further requests.