EMG(1)

NAME
emg - very small Emacs-like text editor

SYNOPSIS
emg [file]

DESCRIPTION
emg, or Ersatz Mg, is an Emacs-like text editor designed for RetroBSD and other memory-constrained environments. emg was originally created to fit into an operating environment of 96K of RAM, and one in which Mg did not fit and Ersatz Emacs did not build. By combining parts of each a working editor was created.

When invoked without a file argument, emg creates a *scratch* buffer. This buffer can be edited and saved like a named buffer.

As both Ersatz Emacs and Mg are Public Domain, emg is also Public Domain.

FILES
There is a chart of key bindings in /usr/local/share/doc/emg/emg.keys. Consulting this file is a must. While emg strives to maintain compatibility with larger Emacs implementations, there may be features intentionally left unimplemented in order to keep emg as small as possible.

AUTHORS
emg is a combination of Ersatz Emacs and Mg and therefore all authors for both deserve credit. Ersatz Emacs and Mg were combined by Brian Callahan <bcallah@openbsd.org> to create emg.

BUGS
It would be nice to have automatic window resizing. It would also be nice if emg could clear the screen when quit, like Mg does.