Sanos

HomePage | RecentChanges | EditorIndex | TextEditorFamilies | Preferences

 Open source text editor component of SANOS, an OS kernel for embedded network devices 

 Author:      Michael Ringgaard
 Homepage:    http://www.jbox.dk/sanos/editor.htm
 Source code: http://www.jbox.dk/downloads/edit.c
 Family:      TinyEditors, CuaFamily
 Platform:    SANOS, Linux
 License:     Open Source
 Screenshot:

Sanos has a simple text editor. It is a text-mode application that runs with any VT-100 compliant console or terminal, like xterm, telnet, PuTTY, and the Linux console. While most other text-mode editors (e.g. vi, emacs, and nano) have custom key bindings, the Sanos text editor tries to follow the principle of least surprise by using the same key bindings as most GUI-based text editors like gedit and notepad. These key bindings should also be familiar to anyone who has used a web browsers. You navigate around in the text using the normal cursor control keys (up, down, left, right, home, end, pgup, pgdn) and text can be selected by holding down the shift key while navigating. The text editor has a clipboard and you can cut (Ctrl+X), copy (Ctrl+C), and paste (Ctrl+V) text. Other commands also use the standard key bindings for GUI applications, like Ctrl+O to open a file, Ctrl+S to save the file, and Ctrl+Q to quit the editor.

There is only one source file (edit.c) and it does not rely only any external components except the standard libraries. It doesn't need any install program. It just consists of a single executable binary, and it doesn't require any configuration files to work.

Sanos follows the CUA standards for text editing, i.e., arrow keys and pgup/pgdown/home/end for navigation, the same with shift for selection, Ctrl-X / Ctrl-C / Ctrl-V for cut/copy/paste etc.

Press F1 in the editor to see the (non-configurable) key bindings.

Editor Command Summary

(*) Extends selection if combined with Shift


HomePage | RecentChanges | EditorIndex | TextEditorFamilies | Preferences
Edit text of this page | View other revisions
Last edited May 6, 2024 3:17 pm (diff)
Search: