News for hackers. Stuff that matters.
Re:Modern terminal-based text editor by plq on Thursday September 28, 2017 @08:23PM (#15361869)
mcedit, the editor of the infamous Norton--err, Midnight Commander, was my best friend back in the good old days of writing php via ssh directly on the server of our university's LUG. It even supports block editing!

But please, instead of screaming upon being hit with that bright blue background, run mc, press F9, go to General > Appearance and select the dark or darkfar theme :) (and F10 to save config and exit)

Having said that, it breaks my heart a little to see nano bashed like that. (those of you who upvoted parent, I'm looking at you too!)

nano is 1) designed to be the best editor for slow connections, 2) Its source code is also quite easy to instrument. Eg. if you need a nano that is able to edit just a single file, someone familiar with application programming in C on linux can do it in no time.

Re:Modern terminal-based text editor by petre on Friday September 29, 2017 @12:20AM (#15362686)
Actually any vi editor is better than nano on slow connections. It has commands to move the cursor wherever you like with way less keypresses than using the directional keys.
Re:Modern terminal-based text editor by edoceo on Friday September 29, 2017 @01:20AM (#15362895)
Nano can jump too
Re:Modern terminal-based text editor by michaelmior on Thursday September 28, 2017 @11:24PM (#15362527)
I'm curious about the claim that nano is "best editor for slow connections." What features make that the case? Genuinely curious as it's not a factor I've considered.
Re:Modern terminal-based text editor by Spivak on Thursday September 28, 2017 @11:54PM (#15362617)
Remember that over SSH you have to send every character over the wire. If you have a slow connection you'll probably prefer editors that avoid redrawing a lot and nano fits the bill pretty well. Although since they added syntax highlighting it's getting pretty heavy.
Re:Modern terminal-based text editor by michaelmior on Friday September 29, 2017 @04:35PM (#15368921)
Fair point. Personally this is why I like to use mosh[0] where possible. For a period of time, my parents had satellite Internet and unsurprisingly the latency was terrible. mosh made any remote work during my visits tolerable.

[0] https://mosh.org/