home bbs files messages ]

Forums before death by AOL, social media and spammers... "We can't have nice things"

   comp.editors      What? Edlin ain't good enough for you?      123,932 messages   

[   << oldest   |   < older   |   list   |   newer >   |   newest >>   ]

   Message 123,753 of 123,932   
   Carlos E.R. to Janis Papanagnou   
   Re: Editing binary data with editors - o   
   07 Feb 25 11:44:05   
   
   XPost: comp.mobile.android, alt.comp.os.windows-10   
   From: robin_listas@es.invalid   
      
   On 2025-02-07 10:57, Janis Papanagnou wrote:   
   > On 07.02.2025 06:57, Lawrence D'Oliveiro wrote:   
   >> On Thu, 6 Feb 2025 23:58:04 +0100, Carlos E.R. wrote:   
   >>   
   >>> On 2025-02-06 21:57, Lawrence D'Oliveiro wrote:   
   >>>   
   >>>> I have done direct editing of binary data in Emacs.   
   >>>   
   >>> And I have done so in MsDOS times with primitive text editors, just   
   >>> because that was what I had. To change some string.   
   >>   
   >> Did they preserve null characters in the file?   
   >   
   > Cannot tell for MS DOS environments, but why is that "binary" editing   
   > noteworthy in the first place? - Though I may be spoiled by using Vim   
   > where you can of course also operate on files containing any control   
   > characters (including ASCII NUL).   
      
   Nothing, except that some people think it is not possible :-)   
      
   >   
   > The likely more interesting thing is probably to provide more advanced   
   > features in _dedicated_ hex editors. - I recall some tools where you   
   > could edit either the hex values (on the left part of the screen) or   
   > its string representation (on the right part of the screen).   
      
   Certainly. PC Tools on plain MsDOS did just that. Probably the Norton   
   Utilities did too. What I don't remember doing is inserting a byte/char.   
      
   With PC Tools you could edit a binary file, or directly the raw disk.   
   You could edit the FAT table or the directory entries (no structures,   
   just raw). A friend of mine created hard linked files that way (which   
   would be destroyed by a checkdisk).   
      
   ...   
      
   --   
   Cheers, Carlos.   
      
   --- SoupGate-DOS v1.05   
    * Origin: you cannot sedate... all the things you hate (1:229/2)   

[   << oldest   |   < older   |   list   |   newer >   |   newest >>   ]


(c) 1994,  bbs@darkrealms.ca