Compare commits
5 commits
search-opt
...
master
Author | SHA1 | Date | |
---|---|---|---|
c2bc9e290e | |||
3349c8bf14 | |||
4f3dcb4888 | |||
876f87ce92 | |||
1d997d42a5 |
20 changed files with 55 additions and 10 deletions
1
.gitignore
vendored
1
.gitignore
vendored
|
@ -5,3 +5,4 @@ fn
|
||||||
tags
|
tags
|
||||||
TAGS
|
TAGS
|
||||||
*.c~
|
*.c~
|
||||||
|
fn.6.gz
|
||||||
|
|
|
@ -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}
|
33
README.md
33
README.md
|
@ -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
|
||||||
|
|
||||||
|
|
20
fn.6
Normal file
20
fn.6
Normal 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
|
Loading…
Reference in a new issue