bitedit bit editor

Andrew McGill, andrew at ledge dot co.za

Document revision 0.2, 15 May 2003


bitedit is a simple ncurses program for editing a file. It allows direct editing of the individual bits in a graphical fashion. This is useful for directly editing existing bitmap font files, such as linux psf and psfu font files.

1. Introduction

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.

2. Compiling

If 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.

3. Invoking

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:

cp /usr/lib/kbd/consolefonts/fonttoedit.psfu.gz .
gunzip fonttoedit.psfu.gz
./bitedit fonttoedit.psfu
setfont fonttoedit.psfu
The following command line options are supported:

4. Keys

The keys you use for editing and movement are similar to the vi keystrokes:

4.1 Movement keys

These are the keys to move the cursor in the editing area and edit.

4.2 Display control

These are the keys to change the format of the display.

4.3 Editing keys

These are the keys that make changes to the data in memory.

There is (currently) no undo function.

4.4 Saving and stuff

The keys to manage the file are: