[comp.emacs] Hex/Binary Editor Mode

flash@lehi3b15.UUCP (Stephen Corbesero) (06/16/88)

Does anyone have a Binary Editor mode for GnuEmacs?  I am looking for
something like the PC Norton Utilities, which brings up the hex code
on the left, and the displayable ASCII characters on the right, and
lets you jump between the two (via the TAB key.)

-- 
Stephen Corbesero                              flash@lehi3b15.UUCP
VLSI Design Automation Lab                     usgcorb@vax1.cc.Lehigh.EDU
Computer Science And Electrical Engineering,
Lehigh University

X230GV@TAMVM1.BITNET (Glenn Vanderburg) (06/21/88)

>Does anyone have a Binary Editor mode for GnuEmacs?  I am looking for
>something like the PC Norton Utilities, which brings up the hex code
>on the left, and the displayable ASCII characters on the right, and
>lets you jump between the two (via the TAB key.)

I don't have one, but I thought about it a while back.  It would be a
spectacular addition to Emacs.  Amdahl supplies a great hex editor (called
hed) with its version of UNIX for IBM mainframes; the screen looks almost
just like the output from xd, and you can edit either the hex portion or the
ASCII portion.

If nobody has a mode like this, does anyone have any pointers for implementing
it?  I'm not an Emacs-lisp expert, but if someone can give me some advice on
implementation strategies I might be willing to give it a try.  In particular,
I'm sure that hex-mode editing of a single file will require at least two
buffers, and maybe three.  Does anyone have any opinions?

---Glenn

cdr@symbol.UUCP (Constantine Rasmussen - Sun ECD) (06/21/88)

>  I'm sure that hex-mode editing of a single file will require at least two
>  buffers, and maybe three.

I don't under stand why it would require more than one.  I wrote one
in  pascal for a company I worked for and it was a single buffer
arrangement that looked like "od -x" on eon side of the screen and
ascii strings on the other.  Let me know about progress or lack there
of.

Thanks,
   Constantine Rasmussen              Sun Microsystems,  East Coast Division
   (617) 671-0404                     2 Federal Street; Billerica, Ma. 01824
   ARPA: cdr@sun.com           USENET: {cbosgd,decvax,hplabs,seismo}!sun!cdr