Source-Changes archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

CVS commit: src/usr.bin/atto



Module Name:    src
Committed By:   nia
Date:           Fri Oct 30 16:14:35 UTC 2026

Modified Files:
        src/usr.bin/atto: Makefile header.h key.c main.c
Added Files:
        src/usr.bin/atto: menu.c

Log Message:
atto(1): For users who can't easily remember key bindings, add a menu
which is opened by pressing the escape key twice, and operated using
the cursor keys. This uses libedit, so is conditional on SMALLPROG
to still allow easy inclusion of a minimal editor in ramdisks and so
on.

As the copyright might reveal, I nicked some code from blymn@'s editor
from othersrc to implement the menu. Thanks!

XXX it should really be renamed to natto now, since this is totally
beyond the vision of the original atto.


To generate a diff of this commit:
cvs rdiff -u -r1.1 -r1.2 src/usr.bin/atto/Makefile src/usr.bin/atto/key.c
cvs rdiff -u -r1.3 -r1.4 src/usr.bin/atto/header.h src/usr.bin/atto/main.c
cvs rdiff -u -r0 -r1.1 src/usr.bin/atto/menu.c

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.




Home | Main Index | Thread Index | Old Index