Compare commits

..

5 commits

Author SHA1 Message Date
c2bc9e290e Add a simple manpage and fix some typos 2020-11-12 11:51:13 +01:00
3349c8bf14 Typo 2020-10-20 11:14:45 +02:00
4f3dcb4888 Add some README 2020-10-20 11:13:45 +02:00
876f87ce92 More README.md refinements 2019-01-22 12:19:49 +00:00
1d997d42a5 Update the readme 2019-01-22 12:16:07 +00:00
20 changed files with 55 additions and 10 deletions

1
.gitignore vendored
View file

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

View file

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

View file

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

View file

View file

20
fn.6 Normal file
View file

@ -0,0 +1,20 @@
.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

View file

View file

View file

View file

View file