Jump to content

ne (text editor)

From Wikipedia, the free encyclopedia

This is an old revision of this page, as edited by Jonesey95 (talk | contribs) at 20:32, 8 June 2022 (Changing short description from "Text editor for POSIX" to "Text editor for POSIX operating systems"). The present address (URL) is a permanent link to this revision, which may differ significantly from the current revision.

ne
Developer(s)Sebastiano Vigna, Todd Lewis
Initial release1993; 31 years ago (1993)
Stable release
3.3.3[1] Edit this on Wikidata / 19 October 2023; 14 months ago (19 October 2023)
Repository
Written inC
Operating systemPOSIX/Unix/Linux
TypeText editor
LicenseGPL-3.0-or-later
Websitene.di.unimi.it

ne (for "nice editor") is a console text editor for POSIX computer operating systems such as Linux or Mac OS X. It uses the terminfo library, but it can also be compiled using a bundled copy of the GNU termcap implementation. There is also a Cygwin version. It was developed by Sebastiano Vigna of the University of Milan.

ne is intended to provide an alternative to vi that will be more familiar to beginners [1] and modern users and still be portable across all POSIX-compliant operating systems, and remain usable on slow remote connections. It uses GUI-derived keyboard shortcuts such as Ctrl+Q to quit and Ctrl+O to open a file instead of the multi-mode command structure of vi. It supports many features common in advanced text editors, such as syntax highlighting, regular expressions, configurable menus and keybindings and autocomplete. ne can pipe a marked block of text through any command line filter using the Through command bound to Meta+T by default.[2] ne has some support for UTF-8 encoding[3] and is 8-bit clean.

ne was originally developed on an Amiga 3000T[4] using the curses library and was inspired by that platform's TurboText editor, which was written by Martin Taillefer. Development then moved to Linux in order to take advantage of the terminfo library. Todd Lewis joined the development team, donating code he wrote to add features required at the University of North Carolina at Chapel Hill, which implemented ne as part of their migration of their research computers from MVS to UNIX.[5]. Daniele Filaretti helped with syntax highlighting using code derived from the Joe editor.[6]

Version 2.6 adds narrowing for the file open screen, adds status indicators in the open documents list and improves syntax highlighting. Version 3.1.0 is fully 64-bit: file size and line length are limited only by the core memory and disk space available, as large files are memory mapped transparently.

Linux Voice has rated ne as the third best editor for Linux.[2]

See also

References

  1. ^ "Release 3.3.3". 19 October 2023. Retrieved 20 October 2023.
  2. ^ "Linux Voice issue 6" (PDF). As decade-long Linux geeks we always recommend mastering Vim or Emacs, but we understand that some people simply don't get along with the modal editing or key combinations of those editors. So NE has become our number 3 recommendation now...