HEXED - Binary editor

   HEXED is a screen oriented (window) editor, which allows you to
patch binary files in a HEX/ASCII DUMP display format.

   HEXED is invoked with the  command  "HEXED  <filename>",  where
<filename> is the name of an existing file.

   To patch the file,  simply position the cursor  over  the  byte
which you wish to change (using the special keys described below),
in either the HEXADECIMAL or ASCII display windows,  and enter the
new value. Values in the HEXADECIMAL window must be entered as two
(2)  HEX/ASCII characters (0-9,  A-F).  Value in the ASCII display
window may be entered by simply typing  ASCII  characters  on  the
keyboard.


   HEXED recognizes the following special function keys:

Right Arrow

      Advance the cursor position by one byte.

Left arrow

      Backup the cursor position by one byte.

Up Arrow

      Moves the cursor up one line (Back 16 bytes).

Down Arrow

      Moves the cursor down one line (Forward 16 bytes).

PgUp

      Displays the preceding screen of data (backup 256 bytes).

PgDn

      Displays the following screen of data (advance 256 bytes).

Home

      Moves the cursor to the start of the line.

End

      Moves the cursor to the end of the line.


CTRL-PgUp

      Displays the first page of data in the file,  and  positions
   the cursor on the first byte.

CTRL-PgDn

      Displays the last page of data in the  file,  and  positions
   the cursor on the last byte.

CTRL-Home

      Re-draw the screen.

Ins

      Insert a byte in the file.  The value under  the  cursor  is
   duplicated.  All subsequent data is shifted down by one byte to
   make room.

Del

      Delete a byte from the file.  The value under the cursor  is
   removed.  All subsequent data is shifted up by one byte to fill
   in.

F1

      Toggles the cursor between the HEXADECIMAL and ASCII display
   windows, allowing data entry in either form.

F10 or Keypad '+'

      Prompts for a command, and executes it.

F9 or Keypad '-'

      Re-executes the last line mode command entered.


   HEXED recognizes the following commands:

G <xxxx> - Goto position

      Positions the display to begin at specified address (xxxx).

   Examples:

          g100            - Position to 0100
          g1000           - Position to 1000

Q - Quit (exit) editor

      The  'Q'uit command exits the editor.  This command will not
   allow an exit if unsaved changes are present in the file.

   Examples:

          Q               - Quit editor

QQ - Unconditional 'Q'uit

      The 'QQ'uit command exits the editor unconditionally.

   Examples:

          QQ              - Quit unconditionally.

W [filename] - Write to file

      The  'W'  command writes the contents of the edit buffer  to
   the named file,  or to the original file edited if no  name  is
   specified.  Use of this command also resets  the  FILE  CHANGED
   flag, allowing exit via 'q'.

   Examples:

          W               - Write file
          Wabc            - Write file to 'abc'

X [filename] - Write file and eXit

      This  command  behaves  exactly  as  the  'W'rite   command,
   followed  immediately  by  a  'Q'uit  command.  It  provides  a
   shorthand way of saving your file and leaving the editor.

   Examples:

          X               - Write file & exit
          Xabc            - Write to 'abc' and exit


?<xx> <xx> ... - HEX search

      This  command  searches  for  the  specified   sequence   of
   hexadecimal values,  beginning at the byte following the cursor
   position.

   Examples:

          ?01 02 03       - Search for bytes

/<text> - ASCII search

      This command searches for the specified text string of ASCII
   values, beginning at the byte following the cursor position.

   Examples

          /dave           - Search for text
