Compare commits

..

No commits in common. "master" and "search-optimization" have entirely different histories.

20 changed files with 10 additions and 55 deletions

1
.gitignore vendored
View file

@ -5,4 +5,3 @@ fn
tags tags
TAGS TAGS
*.c~ *.c~
fn.6.gz

View file

@ -1,38 +1,21 @@
# fuNote # FuNote
This is a minimalistic, (almost) POSIX complaint terminal text editor, This is a sinple (mostly) POSIX complaint terminal text editor, which
which should be working on all common (and not so common) VT100 should be working on all common (and not so common) VT100 compatible
compatible terminal emulators. 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 ## Features
* Load/Save/Create text files * Load/Save/create text files
* Common keyboard controls * Common keyboard controls
* Search * Search
* Syntax Highlighting for C (so you can edit fuNote source IN fuNote) * Syntax Highlighting
* 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 ## Compile
$ cd src
$ make $ make
$ ./fn
## Run
$ ./fn [filename]
## Author ## Author

20
fn.6
View file

@ -1,20 +0,0 @@
.TH fn 6 "November 2020" "" "version 0.2"
.SH NAME
fn - a simple and super small text editor
.SH SYNOPSIS
.B fn
[filename]
.SH DESCRIPTION
.B fn
aim not to be a very good editor. It was a learning experiment, which ended
up in a super compact text editor, which can be used to edit configuration
files and C source code with syntax highlightung. This project was inspired
by Salvatore Sanfilippos "kilo".
.SH BUGS
The editor is not jet suitable to edit UTF-8 reliable. So keep that in mind
if you want to write non english texts.
.SH AUTHOR AND LINKS
The project is created by Aaron Fischer <mail@aaron-fischer.net>.
.RE
.I https://aaron-fischer.net/abc
.RS

View file

@ -16,13 +16,6 @@ SRC=$(wildcard *.c)
fn: $(SRC) fn: $(SRC)
$(CC) -o $@ $^ $(CFLAGS) $(CC) -o $@ $^ $(CFLAGS)
man: fn.6
cat fn.6 | gzip - > fn.6.gz
man-test: fn.6.gz
groff -man -Tascii fn.6
all: fn man
clean: clean:
rm -f fn{,.6.gz} rm -f fn

View file

View file

View file

View file

View file

View file

View file

View file