GSP
Quick Navigator

Search Site

Unix VPS
A - Starter
B - Basic
C - Preferred
D - Commercial
MPS - Dedicated
Previous VPSs
* Sign Up! *

Support
Contact Us
Online Help
Handbooks
Domain Status
Man Pages

FAQ
Virtual Servers
Pricing
Billing
Technical

Network
Facilities
Connectivity
Topology Map

Miscellaneous
Server Agreement
Year 2038
Credits
 

USA Flag

 

 

Man Pages
heme(1) heme User Manual heme(1)

heme - console hex editor

heme [ -d, --disable-colors ] [ -c, --config-file CONFIGFILE ] [ -n, --no-backup-files ] [ -h, --help ] [ -v, --version ] file

heme is intended to be fast and portable console hex editor for unix systems. It has undo support (number of undo operations is only limited by available memory), ability to fill a range of addresses with the specified byte, ability to search for a single byte or character string. Offsets can be given in hexadecimal, octal or decimal. There are two editing modes: hex and ascii. In hex mode you type hexadecimal digits and in ascii mode you type characters. In the ascii mode cursor is automatically moved to the next byte after typing a character (this behaviour is configurable for hex mode). heme uses curses library for screen and input handling. Colors are supported and they may be configured in the configuration file (see below). If the configuration file isn't present, heme will use defaults. You may also specify which configuration file to use with the -c command line option.

Don't make backup files.
Read configuration from CONFIGFILE. If not given, heme will try to read ~/.hemerc. If that fails, defaults will be used.
Don't use colors.
Show all available command line options.
Show heme version.

Keys (all are case-insensitive, except in the ascii mode):

Move to previous (next) byte
Move to previous (next) line
<
Move to beginning of line
>
Move to end of line
Move 1 page up
Move 1 page down
Move to beginning of file
Move to end of file
Display help screen
Jump to offset
Search for byte (string)
Repeat last search
Fill range with byte
Toggle between hex and ascii editing modes
Undo
Save file
Quit

Configuration file is expected to reside in ~/.hemerc. The syntax is very simple:


# this is a comment
option_1 = value
option_2 = "value 2"

Everything beyond the '#' is considered a comment and is ignored to the end of that line. Supported options are:

Set this to 1 if you want colors, 0 otherwise (default: 1)
Set this to 1 if you want to advance to the next byte after editing byte at the current offset (default: 1)
Set this to 1 if you want heme to make backup files, 0 otherwise (default: 1)
Background color (default: "blue")
Foreground color (default: "white")
Background color of selected byte (default: "black")
Foreground color of selected byte (default: "green")
Background color of status lines (default: "cyan")
Foreground color of status lines (default: "black")

Color names are "black", "red", "green", "yellow", "blue", "magenta", "cyan" and "white".

# This is sample configuration file.
advance_after_edit = 0
make_backup_files = 1
use_colors = 1
bg_color = black
fg_color = white
bg_color_selected = green
fg_color_selected = yellow
bg_color_status = blue
fg_color_status = white

~/.hemerc
User's configuration file.

heme is distributed under the GNU General Public License. For details see the file COPYING included in the source distribution.

Some portability problems, probably. Send bug reports to <pokemon@fly.srk.fer.hr>.

January 30, 2003

Search for    or go to Top of page |  Section 1 |  Main Index

Powered by GSP Visit the GSP FreeBSD Man Page Interface.
Output converted with ManDoc.