Need help?
<- Back

Comments (114)

  • chipotle_coyote
    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.
  • MonkeyClub
    OpenBSD also has an Emacs-y non-extensible editor, mg(1):https://man.openbsd.org/mgJust noting for completeness, as I didn’t catch any mention of it.
  • agumonkey
    stings to see emacs keybinding hardcodedunless someone can offer a custom keybinding mechanism.. and custom dynamic functions the user can bind to..
  • Fil0sOFF
    > 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
  • fodkodrasz
    I guess it has poor (or nonexistent) unicode support in 48kb. My only gripe with NetBSD was its lacking UTF-8 support for many core tools (eg. wscons, vi when I used it as daily driver)
  • Levitating
    NetBSD isn't the first to use the name. My pet text editor is also called atto: https://git.levitati.ng/Levitating/atto
  • Gracana
    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
    NetBSD has beginners?
  • OnlineTux
    Why not just add nano?
  • markusQi
    The source code and README are here: https://github.com/NetBSD/src/tree/trunk/usr.bin/attoYou are welcome!
  • Rucadi
    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.
  • whartung
    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.
  • mig39
    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
  • dkenyser
    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.
  • hoppp
    How do you exit atto? Gotta make it hard:)
  • bmacho
    Badly editorialized title.
  • cowlevel
    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
    >making it suitable for inclusion in the rescue systemPeople 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.
  • arbor-group
    The beginner-friendly label seems to be obscuring what atto actually is, which is a very small Emacs-like editor meant to live in the base system. At roughly 48 KB and under 2,000 lines of C, it fits places nano and the larger alternatives do not, especially a rescue environment or single-user mode where you still need something more usable than ed or a stripped-down vi. That constraint also explains the choices people are arguing about here: Emacs bindings come with the design, and a permissively licensed C program can be maintained with the tools NetBSD already ships, unlike a Go editor such as micro. For someone new to NetBSD but already comfortable at a Unix terminal, that is a reasonable trade. It is less a first editor for a general beginner than a safety net that happens to be approachable once you are already in that world.
  • georgestones
    [dead]
  • IshKebab
    > 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.
  • codedokode
    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.