The native UNIX general purpose editors are ed - a line editor and vi (visual editor) - a screen editor. Other modern editors have been made available in the Fermi UNIX environment.
We strongly recommend emacs/xemacs for your editing applications. Efforts are being made to further customize emacs for D0.
C-h enter on-line help C-h t help tutorial for beginners C-x b change buffer C-f move forward by a character C-b move backward by a character C-p move to previous line C-n move to next line C-v move forward by one screen M-v move backward by one screen M-< go to beginning of the buffer M-> go to end of the buffer C-s search for string (you will be prompted) C-d delete a character at the cursor C-k delete/kill from cursor to end of line C-y restore what you have just deleted C-g abort current search C-x i insert file at cursor (you will be prompted for filename C-x C-s save the file C-x C-w write to file(system will prompt you for filename) C-x C-c exit emacsFor a more complete command set, look up EMACS Reference Card.
Some D0 extensions to emacs are available.
To use xemacs, do
%setup xemacs
To edit a file then, you can type
% xemacs filename
Almost all the commands are the same as emacs.