[Search for users] [Overall Top Noters] [List of all Conferences] [Download this site]

Conference hydra::amiga_v1

Title:AMIGA NOTES
Notice:Join us in the *NEW* conference - HYDRA::AMIGA_V2
Moderator:HYDRA::MOORE
Created:Sat Apr 26 1986
Last Modified:Wed Feb 05 1992
Last Successful Update:Fri Jun 06 1997
Number of topics:5378
Total number of notes:38326

434.0. "Binary Editors???" by ECADJR::BOSCH () Thu Apr 02 1987 12:20

    I have a slight problem.  Is there anyway to edit a non-ascii file
    in an easy way?  I have to change a few bytes in a binary data file.
    
    Do any editors do this?  I would rather not have to write a program
    to do this.
    
    Derek
    
T.RTitleUserPersonal
Name
DateLines
434.1Maybe EMACS will work.BIZET::TENNYDave TennyThu Apr 02 1987 16:3810
I use emacs for most files, 
I'm guessing it will work for a full binary file.

If you have any of the PD emacs, try it.

Certainly ED and EDIT are useless.

I haven't tried UEDIT, but maybe someone can shed light on that.

Dave
434.2Various ZAPsNOVA::RAVANThu Apr 02 1987 16:5511
    Hmmm... I thought that EDIT was provided for exactly that reason
    (binary files).  I'll have to go home and read my AmigaDos book
    again.
    
    There are at least three PD editors: filezap, on Fish disk 14,
    DiskZap, on Fish disk 50, and NewZAP on Fish disk 58.  DiskZap
    and NewZap are disk sector editors, not disk FILE editors.
    From the slim descriptions on the Fish disks, it sounds like
    you could use filezap.
    
    -jim
434.3filezapHYSTER::DEARBORNTrouvez MieuxThu Apr 02 1987 17:387
    I know that ED won't work.
    
    I've used filezap with success.  It took a little work to figure
    it out though, without documentation.
    
    Randy
    
434.4EMACSCOOKIE::WECKERDave (Cum Grano Salis) WeckerThu Apr 02 1987 17:539
Forget EMACS... it's a line oriented editor (unless you're using the original
TECO based version :-). It will truncate the "lines" that are longer than
n characters (typically n = 256).

I always write a quick little C program to patch binary files (you can also
use basic just as easily).

dave

434.5BAGELS::BRANNONDave BrannonThu Apr 02 1987 22:286
    EDIT will handle binary files as .2 says, not sure if it will
    truncate long records though.  I've used it to edit noise characters
    out of ascii capture files with no problems.  The hassle is that
    it is awkward to use when you're used to a screen editor.
    
    -dave
434.6EDIT and binary dataBIZET::TENNYDave TennyThu Apr 02 1987 22:5712
Long ago whan Kickstart 1.1 was young, I seem to recall
using EDIT on the _main.c routine supplied with the 
Lattice compiler to weed out all the nulls they had at the
end of the file.  Some of you may have done this too since _main.c wouldn't
compile with the nulls in there.

I thought edit didn't recognize them at all, let alone
allow me to manipulate them.  Am I remembering incorrectly,
(possibly I was just using EDIT incorrectly)
or has EDIT become smarter with time?

Dave
434.7FILEZAP ANYONE??POLAR::GOSLINGArt Gosling - Kanata Mfg. I.S.Wed May 20 1987 16:0915
       Anyone have FileZap sitting in a VAX directory that I could get at
       (neither Dave Wecker's or Paul MacDonald's Amiga directories have
       it)?  Failing that, I would appreciate it if someone would upload
       it for me.  I need it to Zap PoPCLI as it conflicts with Uedit in
       that the Esc-Amiga key combination is used by both applications,
       and with POPCLI taking precedence, it is causing me no end of
       grief when I have a runaway process in Uedit that I can't abort.
       
       
       Thanks in advance
       
       
       Art