A simple and small text editor.
This doesn't really have a name. Even in it's source it's just called "Text editor".
I didn't need to do any of this:
The text editor is part of the standard Sanos SDK distribution and can be found in
/bin/edit.exe. The source is located in
/usr/src/utils/editand there is a
Makefileto build it.
2017-06-10 - (C) 2002 ∞
I don't know how to judge its versioning. Maybe it only has this one release.
Unfortunately, rxvt-unicode doesn't play well with this, so keys like
F1 don't work. This is an unsolved problem, though I haven't looked into this issue.
\gcc -o edit edit.c -Os
I copied it to
/usr/bin as root. Don't forget to check its permissions so non-root can execute it.
<up> Move one line up (*) Ctrl+N New editor <down> Move one line down (*) Ctrl+O Open file <left> Move one character left (*) Ctrl+S Save file <right> Move one character right (*) Ctrl+W Close file <pgup> Move one page up (*) Ctrl+Q Quit <pgdn> Move one page down (*) Ctrl+P Pipe command <home> Move to start of line (*) Ctrl+A Select all <end> Move to end of line (*) Ctrl+C Copy selection to clipboard Ctrl+<home> Move to start of file (*) Ctrl+X Cut selection to clipboard Ctrl+<end> Move to end of file (*) Ctrl+V Paste from clipboard <backspace> Delete previous character Ctrl+Z Undo <delete> Delete current character Ctrl+R Redo Ctrl+<tab> Next editor Ctrl+F Find text <tab> Indent selection Ctrl+G Find next Shift+<tab> Unindent selection Ctrl+L Goto line F1 Help (*) Extends selection if combined F3 Navigate to file with Shift F5 Redraw screen