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.
NetBSD adds a new text editor called atto (mastodon.sdf.org)
chipotle_coyote 20 hours ago
drummojg 20 hours ago
Natfan 20 hours ago
metchio 20 hours ago
MonkeyClub 20 hours ago
vinceguidry 20 hours ago
aleph_minus_one 18 hours ago
Most people don't want to learn (in particular not learn sufficiently hard to really improve).
vinceguidry 18 hours ago
aleph_minus_one 10 hours ago
lioeters 18 hours ago
Learning requires some amount of humbleness, to accept you don't know everything.
majorchord 18 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."
marssaxman 15 hours ago
I only stopped using pico/nano after writing my own editor, which blatantly stole pico's interface design.
insanetake 20 hours ago
> To ease the transition for new users...
So I would consider it for beginners ("new users") and friendly ("to ease").
luke8086 20 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.
SoftTalker 19 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.
basscomm 18 hours 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.
mmmlinux 18 hours ago
forgotpwd16 18 hours ago
At least "Uncut" has been renamed to "Paste".
jpablo 15 hours ago
SoftTalker 9 hours ago
lakeviewterrace 15 hours ago
Nano was a (bloated as usual) GNU clone of Pico. Its only reason for existing is GPL freedumb nonsense that was popular back in the day. It copied the UX of Pico.
Pico was not developed as a standalone editor; rather it was the builtin editor for the Pine email reader. Hence the weird keybindings — it followed the UX of the email client.
Pico stood for PIne COmposer.
It became a simple universal editor because vi and emacs sucked and for some reason no one felt it necessary to invent something better.
Users repurposed the editor from a mail client because it was already there. Nearly every university Sun box in the 90s had Pine installed for reading email.
It was written by the same guy that invented IMAP at the University of Washington.
Can't wait for the Rust clone of Nano then the cycle will be complete.
anthk 14 hours ago
oblio 13 hours ago
People that do that are weirdos, and yes, I'm one. But I don't expect regular people to learn that way.
> Its only reason for existing is GPL freedumb nonsense that was popular back in the day.
These days we need more GPL, not less. We need AGPL and apparently, soon, AntiLLM-GPL.
lakeviewterrace 8 hours ago
The reason Pico became popular — if you went to university in the 90s — is normal people, not just turbonerds, needed the occasional ability to edit simple text files on Unix hosts.
They were already using Pine to read their email, so why not use the editor that used the same keybindings they already knew for sending mail?
setopt 14 hours ago
> Command-line option --modernbindings (-/) makes ^Q quit, ^X cut, ^C copy, ^V paste, ^Z undo, ^Y redo, ^O open a file, ^W write a file, ^R replace, ^G find again, ^D find again backwards, ^A set the mark, ^T jump to a line, ^P show the position, and ^E execute.
> Above modern bindings are activated also when the name of nano's executable (or a symlink to it) starts with the letter "e".
So if you symlink nano to /usr/bin/editor and make it the default $EDITOR, then you now do get CUA-like bindings by default.
There’s still a lot of more things they perhaps should enable by default. I don’t know whether you’ve looked into .nanorc, but you can turn on stuff like syntax highlighting and line numbers, it’s just all off by default.
I don’t actually use nano myself, but I was really taken aback by how featureful it is when you look closely. Not st the level of Vim or Emacs, but more than expected. I basically stumbled upon someone on Reddit /r/unixporn that "riced" their nanorc and it piqued my curiosity.
For most people though, I think micro is a better fit than nano if you want a terminal CUA-style editor.
echoangle 11 hours ago
Maybe stupid question but do you then need to run nano through the symlink to get the new bindings or is the existence of a symlink enough? Wouldn’t nano have to check every directory for a symlink to itself to do that? There’s no way to get all symlinks for a specific file without checking the whole file system, right?
setopt 11 hours ago
wongarsu an hour ago
Sure, GUI software is much more intuitive. But if you start with the constraint of being a TUI editor with no mouse support, nano does extremely well
dang 17 hours ago
shevy-java 17 hours 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.
zimpenfish 16 hours 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.)
MonkeyClub 20 hours ago
Just noting for completeness, as I didn’t catch any mention of it.
SoftTalker 19 hours ago
torstenvl 19 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.
Koshkin 15 hours ago
Well, sometimes we call the cursor "the dot."
torstenvl 15 hours ago
skydhash 12 hours ago
pratyahava 10 hours ago
kragen 9 hours ago
I think this alias was an aid to porting Lisp from some other Emacs variant in the 80s that used "dot" instead of "point". Never figured out which. It isn't mg because mg doesn't run Lisp.
rfmoz 14 hours ago
Fil0sOFF 18 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
dsevil 12 hours ago
Levitating 21 hours ago
forgotpwd16 17 hours ago
mig39 16 hours ago
Gracana 20 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.
markusQi 20 hours ago
You are welcome!
passthejoe 19 hours ago
itomato 21 hours ago
graemep 21 hours ago
excannuk 21 hours ago
graemep 18 hours 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.
hxorr 16 hours ago
My favourite editor is mcedit, which you get by installing mc (midnight commander)
Like nano but (IMO) easier to use with a lot more features
mehjustmeh 16 hours ago
alnsn 21 hours ago
daishi55 20 hours ago
officeplant 21 hours ago
Narishma 19 hours ago
antiframe 18 hours ago
tancop 17 hours ago
bityard 15 hours ago
helterskelter2 16 hours ago
dogcow 14 hours ago
I'd argue that OpenBSD would be worthy of that title, too. It is incredibly easy, elegant, and simple. The thoughtfulness that goes into all the base system utilities in OpenBSD is so appreciated.
FreeBSD is kinda somewhere in between Open/NetBSD and Linux in my opinion. Their docs are OK, but the handbook leaves a lot to be desired, and they don't seem to have nearly nice little quality of life utilities that OpenBSD has out of the box.
whartung 17 hours 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.
kragen 9 hours ago
OnlineTux 21 hours ago
Matl 21 hours ago
ninjin 21 hours ago
Matl 21 hours ago
ninjin 21 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.
brewmarche 20 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.
jmclnx 21 hours ago
Linux:
-rwxr-xr-x 1 root root 321832 Dec 15 2021 /usr/bin/nano
per the link, atto(1) is 48 kilobytes.LeFantome 7 hours ago
Rucadi 21 hours ago
hnlmorg 21 hours ago
Daunk 20 hours ago
stonogo 20 hours ago
mig39 19 hours ago
https://docs.moodle.org/400/en/Atto_editor https://github.com/moodlehq/moodle-editor_atto
forgotpwd16 17 hours ago
hoppp 16 hours ago
fodkodrasz 14 hours ago
GalaxyNova 13 hours ago
fodkodrasz 12 hours ago
JdeBP 11 hours ago
fodkodrasz 2 hours ago
agumonkey 13 hours ago
unless someone can offer a custom keybinding mechanism.. and custom dynamic functions the user can bind to..
dkenyser 18 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.
shakna 13 hours ago
A lot of people in my circles recently got fed up with Windows breaking everything. They went from teasing about Linux, to installing it.
... And then the kernel fully embraced genAI.
The same people went, "No thanks." Saw NetBSD's AI stance, and started installing it.
Granted, tech people. But not that deep into things. Most are scared of the command line - but find they don't need it.
cowlevel 20 hours ago
kragen 8 hours ago
"Hey, how do I insert one file into another in text editor?"
"Which text editor?"
"Text editor."
"Sounds like a personal problem."
talideon 13 hours ago
> atto is not the standard editor
1vuio0pswjnm7 12 hours ago
(If don't want to link curses and terminfo)
For me ait is a 277.3K static binary (musl)
Here's an earlier "Anthony's Editor" by Anthony Howe of MK Systems for IOCC 1991
https://www.ioccc.org/1991/ant/index.html
Here is a message about writing editors he sent to comp.editors in 1991
https://web.archive.org/web/20031214211718if_/http://ned.rub...
https://web.archive.org/web/20040221091356if_/http://ned.rub...
The later Anthony's Editor upon which atto is based, from 1993:
https://web.archive.org/web/20101130024855if_/http://sites.g...
The atto author got it to compile on GNU/Linux:
https://github.com/hughbarney/Anthonys-Editor--for-Ubuntu-Li...
According to the above Usenet communication, Howe was not a CS major
Perhaps this explains why his IOCC entries are so good IMHO
His 6086-character grep-like utility, "ag", from 1993 is all-time favorite
It still compiles today: 30.6K static binary (musl)
ktnb 10 hours ago
kragen 8 hours ago
Atto seems to be a little smaller than that version of ae, though.
jmclnx 21 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.
iamnothere 20 hours ago
Edit: apparently it requires /usr to be mounted though
JdeBP 11 hours ago
bmacho 20 hours ago
arbor-group 20 hours ago
IshKebab 21 hours ago
Very beginner friendly lol. These people have no idea.
Micro is a beginner-friendly console text editor. This isn't.
CodeCompost 21 hours ago
pwdisswordfishq 20 hours ago
passthejoe 21 hours ago
lukaslalinsky 20 hours ago
passthejoe 20 hours ago
iamnothere 20 hours ago
I do think Micro is a nice editor, but we need a tiny, BSD licensed pico/nano for true beginners
passthejoe 20 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.
hnlmorg 21 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.
yearolinuxdsktp 20 hours ago
How someone jumped to beginner-friendly from that is the real question.
IshKebab 14 hours ago
chipotle_coyote 20 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.
IshKebab 14 hours ago
codedokode 20 hours ago
boricj 20 hours ago
I would prefer ms-edit or nano if I have to edit text files from the terminal.
lostmsu 12 hours ago
Honestly after VSCode ate a good chunk of vim and emacs users I am not sure why something with similar UX but in terminal is not the standard yet in every *nix. Talk about sunken cost fallacy.
forevernoob an hour ago
It did make for quite a surprise for existing users when the msedit logo popped up in their KDE Plasma launchers though.
currysausage 20 hours ago
elehack 20 hours ago
cowlevel 20 hours ago
codedokode 20 hours ago
MonkeyClub 20 hours ago
pjmlp 20 hours ago
codedokode 19 hours ago
pjmlp 18 hours ago
Despite all those flaws, people keep writing new software in C every day, go figure.
anthk 8 hours ago
knorker 18 hours ago
Or ARM? It's from the 1980s! So old!
pjmlp 20 hours ago
Narishma 19 hours ago
pjmlp 18 hours ago
anthk 14 hours ago
pjmlp an hour ago
jruohonen 16 hours 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).
rustyhancock 20 hours ago
insanetake 20 hours ago
superbaconman 19 hours ago
codedokode 19 hours ago
knorker 18 hours ago
That's… not what "standard" means.
basscomm 18 hours ago
codedokode 17 hours ago
athorax 19 hours ago
knorker 18 hours 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!!!"
jhgb 17 hours ago