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
HEXCURSE(1) FreeBSD General Commands Manual HEXCURSE(1)

hexcurse - an ncurses-based hex editor

hexcurse [ -? | -help ] [ -a ] [ -c colorlevel ] [ -e ] [ -f ] [ -o outputfile ] [ -r rnum ] [ -t ] [ [ -i ] inputfile ]

hexcurse is an ncurses-based hexeditor utility that is able to open, modify, and save a file to disk while providing useful editing and searching options.

-? | -help
Prints out the command usage info
Specifies the addresses to be output in decimal format initially.
Specifies the color level.
0: no colors
1: only color for addresses
2: 1 + color for 00 (default if terminal supports color)
3: multicolor by FrankSansC
Specifies the characters to be output in EBCDIC format rather than ASCII.
Specifies that function key numbers will be shown along names in the labels.
Specifies the output file to be written to by default.
Specifies the number of characters per line that the hexeditor should output. If rnum is either less than 1 or greater than the columns of the current terminal, hexcurse will fill the terminal width, just as if the -r was not specified.
Specifies the colors set by the terminal should be kept (all background and normal foreground). Set this if you see ugly colors or don't see some colors at all.
[ -i ] inputfile
Specifies the input file to be read in. -i is not needed if inputfile is the last argument on the line.

Shows key command help.
Save the current file.
Opens a file.
Goto a certain location in the current file. Depending on which way the addresses are being viewed at the moment, the search will behave 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.
Search for a certain string in the current file starting at the next position to the cursor. Depending on which window the user is currently editing in, this search will behave differently. 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. The search string is limited to 80 bytes.
Switch between hexadecimal address values and decimal address values.
Switch between the hexadecimal and ASCII editing windows.
Exit out of the program.
Scroll one 'page' up.
Scroll one 'page' down.
Returns to the top of the file.
Jumps to the bottom of the file.
Undo the last modification. Can be used multiple times.
Escapes out of the save, open, goto, and find prompts.

hexdump(1) , ncurses(3)

The authors of hexcurse are:

James Stephenson - https://plus.google.com/u/0/103174459258175070784/about
Lonny Gomes - hexcurse dot lonnygomes dot com
prso at Github - https://github.com/prso

The current version of this software is always availabe at

https://github.com/prso/hexcurse

On some terminals the function keys will not work.

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 open an issue:

https://github.com/prso/hexcurse/issues

When we get the time, we would like to implement the ability to insert and delete data from the file. Please send any additional suggestions.

15 April 2022

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.