Page MenuHomeSolus

ne: the nice editor
Closed, ResolvedPublic

Description

Name: ne

Homepage: http://ne.di.unimi.it/

Why: ne is a free (GPL'd) text editor based on the POSIX standard that runs (we hope) on almost any UN*X machine. ne is easy to use for the beginner, but powerful and fully configurable for the wizard, and most sparing in its resource usage. Even though ne is not as powerful as vim or emacs, but ne is very easy to use with the compatible shortcuts for those who come from Windows. I can directly install ne from almost all major linux distros.

Is it Open Source: yes

How many users do you anticipate will use this software? Thousands or more

Link to source tarball/zip file: http://ne.di.unimi.it/ne-3.0.1.tar.gz

github repo: https://github.com/vigna/ne

Thanks

Event Timeline

anewgene created this task.Feb 9 2017, 6:26 AM
skmlcd added a subscriber: skmlcd.EditedFeb 9 2017, 8:49 AM

@anewgene While you wait for this issue to be resolved, you might be interested in micro text editor which is similar to ne (shortcuts) and is already packaged.

So, this is basically ed. :D
Agreed with @skmlcd , micro is in repo and it's easy to use. Can be extend with plugin written in Lua, and support for keyboard shortcut like ctrl+c for copy and ctrl+v for paste.

still think ne would be good to be added, and don't think it's any similar to ed. But yes, micro would be a good alternative, I will give it a try for now.

What does this do that the other already packaged editors don't do? (e.g. Micro, Vim, Emacs, etc.)

anewgene added a comment.EditedFeb 24 2017, 8:18 AM

Feature-wise, I think ne is sitting between nano and Vim/Emacs. Easy to use, yet still comes with a lot of useful features, including autocompletion. All of its features are organized in menus. You can see a screenshot here (http://beforewisdom.com/blog/tech/ne-nice-editor/). For beginners, you can just use the menu for certain actions if you don't remember the shortcuts. I like to use shortcuts too, but I found myself I still need to check the menus sometimes to remind me the shortcut for some actions I don't use very often.

I'm not a vim or emacs guy, and never find I need to be. For my local coding projects, I would use Sublime-text or Atom. For minor edits I need to make, especially editing on a server, I need to use a terminal text editor. I chose ne for that purpose.

Ne is very easy to install in almost all major linux distros, typically included in the official repositories. Newer editor like micro is a close option, but feature-wise, I like ne is still better by far. I also like to use the same terminal editor both locally and all the servers I need to access. Micro might need a bit more work to get installed on those servers (e.g. on Ubuntu server, you will need to either compile from source or add a custom ppa).

Anyway, I think ne would be a nice (and should be easy to package) addition to Solus as well, just like other distros.

BTW, I noticed that ne is also mentioned here: https://itsfoss.com/command-line-text-editors-linux/

skmlcd added a comment.EditedFeb 24 2017, 9:28 AM

@anewgene I think micro (because it is written in Go) is a single statically linked binary (for download) that you can simply copy to /usr/bin on server and you can use it. No compiling nor external repository (PPA) needed. Obviously this way it won't update automatically. Not trying to dismantle your argument about ne editor, just throwing it out there if it is of any use to you.

Must admit the menus in ne look pretty convenient.

JoshStrobl triaged this task as Low priority.Mar 21 2017, 10:13 PM
JoshStrobl moved this task from Backlog to Accepted For Inclusion on the Package Requests board.
JoshStrobl added a project: Needs Maintainer.

Currently trying to build this package fyi. @DataDrake, the build is failing because gcc isn't symlinked to c99. Do you have any suggestions on what to do here?

In the setup : phase:

sed -i "s|CC=c99|CC=gcc" src/makefile

Got it. I'll upload the patch most likely tomorrow. Thanks for your help!

Tested. Works great. Thanks!