logoalt Hacker News

NetBSD adds a new beginner-friendly text editor called atto

97 points • by luke8086 • today at 11:59 AM • 90 comments • view on HN

Comments

chipotle_coyote • today at 1:40 PM

To promote this to a top-level comment, because I think it's important context: nothing in the README file says the point is to be "beginner-friendly". As far as I can tell, that's something that Hacker News or whoever submitted this used as a description. Neither the word "beginner" nor the word "friendly" appear in the README; its goal is to "be the smallest functional Emacs in less than 2000 lines of C."

I think somebody incorrectly described Atto as comparable to nano/pico, and these comments are dragging it because it's not something that it was never intended as.

➕ show 4 replies
Fil0sOFF • today at 3:57 PM

> https://man.netbsd.org/atto.1

> atto is not the standard editor.

Hah. That is clearly a reference to https://www.gnu.org/fun/jokes/ed-msg.en.html

MonkeyClub • today at 2:19 PM

OpenBSD also has an Emacs-y non-extensible editor, mg(1):

https://man.openbsd.org/mg

Just noting for completeness, as I didn’t catch any mention of it.

➕ show 2 replies
Levitating • today at 12:41 PM

NetBSD isn't the first to use the name. My pet text editor is also called atto: https://git.levitati.ng/Levitating/atto

whartung • today at 4:25 PM

I always thought the essential feature of an emacs was its extensibility. I never felt that emacs was just a collection of keybinds and split buffer windows.

Note, I'm not talking about Lisp per se, just some kind of mechanic within the editor to allow the user to make extensions to it.

Gracana • today at 2:16 PM

Who knew a little emacs-like editor would be so controversial.

I think it looks great. Syntax highlighting, multi-buffer, splits, standard emacs commands... For new users in the emacs camp, this seems like a nice editor to include in the base install. Even as a vi user, I'd be pretty happy being stuck with this in a rescue system.

itomato • today at 12:38 PM

NetBSD has beginners?

➕ show 3 replies
dkenyser • today at 3:38 PM

Genuine question: Are there a lot of "beginners" hopping on NetBSD?

I feel like most people who even know about NetBSD would be technical enough to at least function at a basic level in something like vi or nano.

markusQi • today at 1:25 PM

The source code and README are here: https://github.com/NetBSD/src/tree/trunk/usr.bin/atto

You are welcome!

➕ show 1 reply
mig39 • today at 2:31 PM

Is this the same editor that is used in the open-source Moodle LMS?

https://docs.moodle.org/400/en/Atto_editor https://github.com/moodlehq/moodle-editor_atto

OnlineTux • today at 12:48 PM

Why not just add nano?

➕ show 2 replies
Rucadi • today at 12:44 PM

For me the most easy-to-use editor for cli / ssh and relatively lightweight is https://github.com/sinelaw/fresh everybody can just use it intuitively.

➕ show 3 replies
bmacho • today at 2:19 PM

Badly editorialized title.

cowlevel • today at 2:03 PM

To be beginner friendly they should call it text editor. Or notepad, or quickwriter. No beginner is going to guess that something called Atto lets you write words on a computer.

jmclnx • today at 1:03 PM

>making it suitable for inclusion in the rescue system

People seem to be missing the point. Also NetBSD has what I call a "real single user mode". Last time I had to boot single user, ed(1) was the only editor available without some work. My guess is this new editor will be useful for people who do not want to deal with ed(1).

I have not seen it yet, but I guess it will be included in 11.1.

➕ show 1 reply
arbor-group • today at 1:57 PM

[flagged]

georgestones • today at 1:01 PM

[dead]

IshKebab • today at 12:44 PM

> Perhaps all that needs to be known to use atto at a basic level is that holding the control key, pressing x, then pressing w will write the currently open file, and holding the control key, pressing x, then pressing c will exit the editor.

Very beginner friendly lol. These people have no idea.

Micro is a beginner-friendly console text editor. This isn't.

➕ show 6 replies
codedokode • today at 1:32 PM

Why are they using weird key combinations instead of traditional Ctrl + S, Ctrl + A, Ctrl + C used in desktop applications? Why every console program wants to be a special snowflake and not use standard key combinations, please explain. I do not care that 40 years ago someone used Ctrl + C to send SIGINT, it is 2026 now.

➕ show 7 replies