An experimental, super compact and small terminal editor.
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 
Aaron Fischer c2bc9e290e Add a simple manpage and fix some typos 10 months ago
.gitignore Add a simple manpage and fix some typos 10 months ago
Makefile Add a simple manpage and fix some typos 10 months ago
README.md Add a simple manpage and fix some typos 10 months ago
file.c Add some README 11 months ago
file.h Add some README 11 months ago
fn.6 Add a simple manpage and fix some typos 10 months ago
fn.c Add some README 11 months ago
fn.h Add some README 11 months ago
hl.c Add some README 11 months ago
hl.h Add some README 11 months ago
input.c Add some README 11 months ago
input.h Add some README 11 months ago
output.c Add some README 11 months ago
output.h Add some README 11 months ago
row.c Add some README 11 months ago
row.h Add some README 11 months ago
search.c Add some README 11 months ago
search.h Add some README 11 months ago
terminal.c Add some README 11 months ago
terminal.h Add some README 11 months ago

README.md

fuNote

This is a minimalistic, (almost) POSIX complaint terminal text editor, which should be working on all common (and not so common) VT100 compatible terminal emulators.

This started as a little experiment, how far I can go with just a C compiler and the Linux manpages, without any libs or other external dependencies such as ncurses. This is a working text editor and perfectly fine for quickly edit some configuration files or take some notes, but definitive not intended to use as a full blown IDE.

Features

  • Load/Save/Create text files
  • Common keyboard controls
  • Search
  • Syntax Highlighting for C (so you can edit fuNote source IN fuNote)
  • Super small (23k binary)
  • No dependencies

Limitations

  • No UTF-8. If you open an UTF-8 file with only characters from the ASCII table (most of English texts and source code), it works just fine (because ASCII and UTF-8 are compatible in the "upper part" of the table), but you will mess up your file when you are edit files with special chars like ö in it.

Compile

$ make

Run

$ ./fn [filename]

Author

Aaron Fischer (mail@aaron-fischer.net) https://aaron-fischer.net/