NetBSD adds a new text editor called atto
Posted by luke8086 6 hours ago
Comments
Comment by chipotle_coyote 4 hours ago
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.
Comment by luke8086 3 hours ago
> To ease the transition for new users, #NetBSD -current now includes an alternative editor to vi(1) and xedit(1) in its base system, atto(1). https://man.netbsd.org/atto.1
> It is a modeless screen-based editor similar to nano, pico, xedit, or emacs. It is only 48 kilobytes, making it suitable for inclusion in the rescue system.
I think it's fair to call it beginner-friendly, in context of BSD and vi, but maybe indeed it shouldn't be a part of the title.
Comment by SoftTalker 3 hours ago
Every time I get launched into nano/pico on a new system I find it very confusing. To use the help menu you need to know that ^-X means Ctrl-X and M-X means Alt-X. Why "Write Out" and not "Save"? And when I "Write Out" I'm offered DOS format or Mac format, and options to Append or Prepend (not even sure what that does).
It's completely bizarre if you're used to something like Notepad or Word.
Comment by basscomm 1 hour ago
When you launch nano without a file loaded, there's a notice at the bottom of the screen: [ Welcome to nano. For basic help, type Ctrl+G. ]
Press 'Ctrl + G' and it takes you to a help page that says, among other things, "Shortcuts are written as follows: Control-key sequences are notated with a '^' and can be entered either by using the Ctrl key or pressing the Esc key twice. Meta-key sequences are notated with 'M-' and can be entered using either the Alt, Cmd, or Esc key, depending on your keyboard setup."
You can't force a user to read docs or learn how the programs they're using work, but this is a reasonable attempt.
Comment by mmmlinux 1 hour ago
Comment by forgotpwd16 1 hour ago
At least "Uncut" has been renamed to "Paste".
Comment by dang 55 minutes ago
Comment by zimpenfish 22 minutes ago
"for users who are not accustomed to text editors with separate insertion and editing modes"[0] could be construed as "beginner-friendly" (albeit with some squinting, I'd concede.)
Comment by drummojg 4 hours ago
Comment by Natfan 4 hours ago
Comment by majorchord 2 hours ago
Reminds me of that House MD episode where the delivery driver was a secret genius who was abusing DXM to dumb himself down just to feel happy.
"For with much wisdom comes much sorrow; the more knowledge, the more grief."
Comment by MonkeyClub 3 hours ago
Comment by vinceguidry 3 hours ago
Comment by aleph_minus_one 2 hours ago
Most people don't want to learn (in particular not learn sufficiently hard to really improve).
Comment by lioeters 1 hour ago
Learning requires some amount of humbleness, to accept you don't know everything.
Comment by vinceguidry 1 hour ago
Comment by metchio 3 hours ago
Comment by insanetake 4 hours ago
> To ease the transition for new users...
So I would consider it for beginners ("new users") and friendly ("to ease").
Comment by shevy-java 1 hour ago
I think the main take-away is that vi/vim is too complicated for many folks. I use nano a lot on the commandline. For quick editing it is so much more convenient than vim.
Comment by MonkeyClub 3 hours ago
Just noting for completeness, as I didn’t catch any mention of it.
Comment by torstenvl 3 hours ago
However, the code is a mess, with deliberately cryptic identifiers (e.g., `w_doto` for `cursorOffset`), redundant functions (e.g., `vtputc()` is a strict subset of the behavior of `vtpute()`) and a bunch of other weird choices (e.g., deeply-baked assumptions that one byte == one char == one column, even thought Big5 and ShiftJIS were already a thing when it was written).
I tried adding UTF-8 support to mg a couple years ago and basically gave up.
I'll probably be an atto convert.
Comment by SoftTalker 3 hours ago
Comment by Fil0sOFF 2 hours ago
> atto is not the standard editor.
Hah. That is clearly a reference to https://www.gnu.org/fun/jokes/ed-msg.en.html
Comment by Levitating 5 hours ago
Comment by mig39 38 minutes ago
Comment by forgotpwd16 1 hour ago
Comment by whartung 1 hour ago
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.
Comment by itomato 5 hours ago
Comment by helterskelter2 15 minutes ago
Comment by officeplant 4 hours ago
Comment by Narishma 3 hours ago
Comment by antiframe 1 hour ago
Comment by tancop 1 hour ago
Comment by graemep 5 hours ago
Comment by mehjustmeh 17 minutes ago
Comment by excannuk 4 hours ago
Comment by graemep 1 hour ago
I spend a fair bit of time on Linux command lines, but I use a mix of different TUI and GUI editors (including ones that work over ssh for editing files on servers), and none of those are vi. I can manage vi if I must, but its an effort and distracts from the task because I have to think about how to do things in vi.
Comment by Gracana 3 hours ago
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.
Comment by markusQi 4 hours ago
You are welcome!
Comment by passthejoe 3 hours ago
Comment by OnlineTux 5 hours ago
Comment by Matl 5 hours ago
Comment by ninjin 5 hours ago
Comment by Matl 5 hours ago
Comment by brewmarche 4 hours ago
The parts of Linux that get integrated into BSDs should not be GPL-licensed, e.g. <https://github.com/torvalds/linux/blob/c339f4010dea8b0d754f8...> and its siblings use MIT.
Comment by ninjin 4 hours ago
https://netbsd.org/about/redistribution.html
As for being compatible. Yes, FSF considers anything permissive to be compatible with their family of licenses. However, it is a one-way relationship in that permissive code can be freely used by GPL projects, but not the other way around as using GPL code would impose further restrictions compared to a permissive license.
Comment by jmclnx 4 hours ago
Linux:
-rwxr-xr-x 1 root root 321832 Dec 15 2021 /usr/bin/nano
per the link, atto(1) is 48 kilobytes.Comment by mig39 3 hours ago
https://docs.moodle.org/400/en/Atto_editor https://github.com/moodlehq/moodle-editor_atto
Comment by forgotpwd16 1 hour ago
Comment by dkenyser 2 hours ago
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.
Comment by Rucadi 5 hours ago
Comment by hnlmorg 4 hours ago
Comment by Daunk 4 hours ago
Comment by stonogo 3 hours ago
Comment by bmacho 3 hours ago
Comment by cowlevel 3 hours ago
Comment by jmclnx 4 hours ago
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.
Comment by iamnothere 3 hours ago
Edit: apparently it requires /usr to be mounted though
Comment by arbor-group 4 hours ago
Comment by georgestones 5 hours ago
Comment by IshKebab 5 hours ago
Very beginner friendly lol. These people have no idea.
Micro is a beginner-friendly console text editor. This isn't.
Comment by hnlmorg 4 hours ago
By this I mean, a beginner to NetBSD is already a far more competent user than a beginner in many other contexts of OS users.
Comment by chipotle_coyote 4 hours ago
tl;dr: I think somebody incorrectly described Atto as comparable to nano/pico, and these comments are dragging it because it's not the thing that it was never meant to be.
Comment by passthejoe 4 hours ago
Comment by lukaslalinsky 4 hours ago
Comment by iamnothere 3 hours ago
I do think Micro is a nice editor, but we need a tiny, BSD licensed pico/nano for true beginners
Comment by passthejoe 3 hours ago
Atto has a great man page that would give a user everything they needed to know if they were unfamiliar with emacs keybindings.
Comment by passthejoe 4 hours ago
Comment by CodeCompost 4 hours ago
Comment by pwdisswordfishq 4 hours ago
Comment by yearolinuxdsktp 4 hours ago
How someone jumped to beginner-friendly from that is the real question.
Comment by codedokode 4 hours ago
Comment by elehack 4 hours ago
Comment by jruohonen 24 minutes ago
For many, it is indeed about what they call "muscle memory". Almost impossible to change after so many years. And therefore I hope everyone would provide keybinding alternatives generally (shouldn't be that hard).
Comment by pjmlp 3 hours ago
Comment by cowlevel 3 hours ago
Comment by codedokode 3 hours ago
Comment by MonkeyClub 3 hours ago
Comment by pjmlp 3 hours ago
Comment by codedokode 3 hours ago
Comment by pjmlp 2 hours ago
Despite all those flaws, people keep writing new software in C every day, go figure.
Comment by knorker 1 hour ago
Or ARM? It's from the 1980s! So old!
Comment by superbaconman 3 hours ago
Comment by codedokode 3 hours ago
Comment by basscomm 1 hour ago
Comment by codedokode 1 hour ago
Comment by knorker 1 hour ago
That's… not what "standard" means.
Comment by currysausage 4 hours ago
Comment by jhgb 1 hour ago
Comment by athorax 3 hours ago
Comment by insanetake 4 hours ago
Comment by boricj 4 hours ago
I would prefer ms-edit or nano if I have to edit text files from the terminal.
Comment by rustyhancock 4 hours ago
Comment by knorker 1 hour ago
Not "40 years ago". Non-stop all day every day for 55 years.
The fact that you personally don't use it today is as irrelevant as if you were ranting about "why doesn't Linux have a Start menu!? It's 2026!!!"