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?
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).
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).
On 2025-02-07 10:57, Janis Papanagnou wrote:
[...]
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.
[...]
On 07.02.2025 11:44, Carlos E.R. wrote:
On 2025-02-07 10:57, Janis Papanagnou wrote:
[...]
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.
Good point. Inserting is just a normal operation in editors like Vim.
(And I don't remember that those dedicated hex-editors were capable
of that. OTOH, there were so many of these specific editors that I'd
also not be surprised if some supported that.) For certain data that
feature might be useful, but generally inserting/deleting of binary
data might likely just create an inconsistent data file.
But even domain-specific tailored "editors" seem to have issues with
data consistency.[*]
Janis
[*] I recall during the 1990's I had some tools for video processing
on a Windows computer; the tools were incapable of creating consistent results even when staying within the vendor's tools chest. Every single component seemed to do its job correctly on arbitrary data, but one of
their tool working on the output of another of their tools created just trash. It was a well known vendor, but it's name evades my memories.
On my complaints they had argued that the original data wasn't correct.
(That was of course the last time that I used their products at all.)
[...]
The likely more interesting thing is probably to provide more advanced features in _dedicated_ hex editors.
Sysop: | Keyop |
---|---|
Location: | Huddersfield, West Yorkshire, UK |
Users: | 508 |
Nodes: | 16 (2 / 14) |
Uptime: | 232:59:49 |
Calls: | 9,984 |
Calls today: | 2 |
Files: | 13,833 |
Messages: | 6,359,841 |