Binary editor
  • C 98.6%
  • Makefile 1.4%
Find a file
2024-06-09 17:29:37 +02:00
.gitignore Merge branch 'master' of git.w21.org:utils/bined 2024-06-09 17:29:37 +02:00
bined.c Merge branch 'master' of git.w21.org:utils/bined 2024-06-09 17:29:37 +02:00
LICENSE some polishing and version/copyright update 2024-06-09 17:17:27 +02:00
Makefile update version number 2021-11-16 00:19:55 +01:00
README Merge branch 'master' of git.w21.org:utils/bined 2024-06-09 17:29:37 +02:00

-*- text -*-

bined - a command-line oriented editor for binary files
=======================================================

In spring 1989, when I had already a bit of C experience but was new
to Unix, I somehow wanted a binary file editor like the ones I knew
from MS-DOS. Doing a Curses (or, rather, termcap then on that
system) UI was beyond me, so I stuck to a simple command interface.

The main part of it came into being during one night at the university,
while two friends in the same room hacked something together for an
assignment. That was fun, and afterwards we went for a good
breakfast. Bined worked quite well quite soon. I even used it for
real from time to time.

When I needed something like it in 2015, I dug it out and found that
it could be made to compile and run, even with 64-bit sizes and
offsets, with few changes. Now, with some more changes (but still
few, to preserve that 80s feeling) to compile without warnings even
with C99, I think I can let it rest for another 25 years. Or so.


To edit a file, call bined with the file's pathname as the argument.
When you get the bined prompt, show what commands are available with
'h'. The whole UI is meant to be, while not intuitive (how could it
be?), discoverable, explorable. Type 'h command' to get more
information about a command.

Juergen Nickelsen <ni@w21.org> 2024-06-09