
BPATCH.C
Original code written by Garry M. Johnson and Steven Lisk.

Neat code and program.  Dump or edit files (binary or acsii), displayed
by 256-byte records in side-by-side hex and ascii formats.  Various
other features (eg, toggled swap within byte pairs).

Here converted to 80286 (Microport sysV/AT). More details in bpatch.c, 
under Change History.  Some of the changes also serve to fix code that 
appeared to be broken even for a 32-bit environment.

Makefile.sys5 is set for Microport SysV/AT.2.2.  The code should compile 
under standard SysV environments.

The man pages are changed only slightly from the original distribution.

The code compiles on a Vax running BSD4.3, with Makefile.bsd, of 
course.  Testing was with an AT compatible logged in as a terminal, 
with setenv TERM vt100.  There may be curses/terminal problems for 
other environments.  A terminal which was an adm3a equivalent was ok.

Beware of using the shell escape feature!

Like the previous authors, I would appreciate learning of further 
changes and improvements in the code:

John Rupley
 uucp: ..{ihnp4 | hao!noao}!arizona!rupley!local
 internet: rupley!local@megaron.arizona.edu
 telex: 9103508679(JARJAR)
 (H) 30 Calle Belleza, Tucson AZ 85716 - (602) 325-4533
 (O) Dept. Biochemistry, Univ. Arizona, Tucson AZ 85721 - (602) 621-3929

+++++++++++++++++++++original distribution README+++++++++++++++++++++++
>Herewith find BPATCH - a marvelously utile utility.  While not of
>my original creation, I have been given permission to place in the
>public domain.  I have made substantial modifications to the original
>source given to me.  Specifically I cleaned it up a bit and made it
>work with SVR2 curses.  Personally, I think it's pretty neat.
>
>OK - for those of you who may scream by now "WHAT THE HELL IS IT ALREADY?"
>I respond that it is a binary file editor and dump utility!  That's 
>right!  You can dump your file in the nicely laid out side-by-side
>hex and ascii format or you can actually EDIT it at your terminal!
>Yes, I have seen the BED editor that came across the network.
>Unfortunately, it converted the entire file before and after editing.
>Bpatch, on the other hand, works with one 256 byte page at a time.
>It is marvelously useful for looking at things like raw disk UNIFY
>databases and even raw disks!  While the man page may not be absolutely
>up to date, the online help is.  Try the question mark (?) command.
>
>As always, I would love to hear about bugs/changes/enhancements/requests.
>	Steven List @ Benetics Corporation, Mt. View, CA
>	Just part of the stock at "Uncle Bene's Farm"
>	{cdp,engfocus,idi,oliveb,opusys,plx,pyramid,tolerant}!bene!luke!itkin
>
>Addition by the moderator:
>I have added code, surrounded by #ifdef MOD_HAX, that gets bpatch
>(barely?) working on my 4.2 system.  I would be very interested in
>publishing a set of diffs that's less of a hack.  Oh yeah:  I also
>wrote the Makefile.
>	/Rich $alz
+++++++++++++++++++++end of original distribution README++++++++++++++++++++
