andrew at ledge dot co.za
bitedit is a ncurses program for editing a file. It allows direct editing of the individual bits in a graphical fashion. This is useful for editing existing bitmap font files, such as linux psf and psfu font files.
bitedit is a rather simple program (at the moment) (and it will probably stay this way). It does not attempt to interpret the data it is displaying, beyond showing the bits of the data file on the screen graphically.
make doesn't do it for you, and you are really excited about this program,
send your problem report to me, or, even better, a patch.
To run the program, you need a file containing the data you want to edit. Although the program works perfectly well in an X terminal, the testing of your bitmap is not as satisfying outside of the linux console environment:
The following command line options are supported:
cp /usr/lib/kbd/consolefonts/fonttoedit.psfu.gz . gunzip fonttoedit.psfu.gz ./bitedit fonttoedit.psfu setfont fonttoedit.psfu
-t 'command'- use the supplied command instead of `setfont' to test the changes to the file you are editing.
-1- 1 byte display width (default)
-2- 2 byte display width (default)
-3- 3 byte display width (default)
-4- 4 byte display width (default)
The keys you use for editing and movement are similar to the
These are the keys to move the cursor in the editing area and edit.
020j, you will move 20 lines down - like in vi, but not quite as useful. This is probably the only way to get to where you want to be in a huge file.
These are the keys to change the format of the display.
These are the keys that make changes to the data in memory.
The keys to manage the file are:
setfontfor the file you are editing. The program which is run can be changed from the default using the
-tcommand line switch. An
xsetfont.shfile is included for showing the ascii characters in an xterm.
:), and print a message that SIGINT will do it.