Kjetil's Information Center: A Blog About My Projects

Block Edit

After having trouble finding a program I needed for a special task (To be honest, I did not search very thorough.), I decided to create it myself. The result is "Block Edit", as it is called in lack of a more descriptive (and complicated?) name.

It is basically a special purpose text editor. Instead of working on lines (like most normal text editors) this program sees the text as one large block/rectangle. All editing happens "in place" and no text is shifted in any direction. It's task area is limited I think, and the only things I can imagine it being used for is ASCII art/graphics or specially formatted data files for certain applications.

Here is a screenshot of the program in action:

Block Edit screenshot

You will need the ncurses library in order to compile it and the source can be found here. There is no Windows binary to get this time since curses programs require special treatment on that OS.

I must warn that you use this program at your own risk and take backup of the files you are trying to edit. Files will be heavily mangled when loaded (in case they do not have static line widths, or have strange characters) and may not look like you expect after saving them back to disk.

Topic: Open Source, by Kjetil @ 08/10-2007, Article Link