./editors/ne, Terminal text editor

[ CVSweb ] [ Homepage ] [ RSS ] [ Required by ] [ Add to tracker ]


Branch: CURRENT, Version: 3.18, Package name: ne-3.18, Maintainer: prlw1

NE is a text editor that was originally designed to run on a wide
variety of machines, from large servers to personal workstations.
In the past it ran on a number of operating systems; however, the
current version supports only Unix-like systems.

The main use of NE is expected to be as an interactive screen
editor. However, it can also function as a line-by-line editor,
and it is programmable, so it can be run non-interactively as a
text manipulation tool.

NE is a re-implementation of a previous editor that was called E,
which in turn evolved from one called Zed and a number of predecessors
that ran on IBM mainframes. The lineage can be traced back to some
very early Cambridge text editors of the 1960s.


Required to run:
[devel/pcre2]

Required to build:
[pkgtools/cwrappers]

Master sites:

Filesize: 650.286 KB

Version history: (Expand)


CVS history: (Expand)


   2021-10-26 12:21:45 by Nia Alarie | Files touched by this commit (161)
Log message:
editors: Replace RMD160 checksums with BLAKE2s checksums

All checksums have been double-checked against existing RMD160 and
SHA512 hashes
   2021-10-07 15:47:53 by Nia Alarie | Files touched by this commit (161)
Log message:
editors: Remove SHA1 hashes for distfiles
   2021-08-07 14:20:18 by Patrick Welche | Files touched by this commit (3)
Log message:
Update ne to 3.18

Version 3.18 04-May-2021
------------------------

1. Allow mark textblock and mark rectangle keystrokes in readonly mode (the
corresponding commands and the "copy" keystroke were already allowed; \ 
this was
an oversight).

2. Two casts in sysunix.c for the 2nd argument of tgetstr().

3. The buffers for file names were too small for very long file names. They
have been increased in size and put on the stack instead of statics in the
binary.

4. Some obsolete memory-handling code has been tidied up. Use size_t for memory
sizes. NE now frees all its memory via an atexit() function, but in screen mode
ncurses doesn't free everything (see various online discussions).

Version 3.17 21-October-2018
----------------------------

1. Added support for Page-up, Page-down, Home, and End keys via terminfo or
termcap.

2. Fix 2 for 3.16 had a bug when the build date was greater than the 9th of the
month.

Version 3.16 07-August-2018
---------------------------

1. In screen mode, if an empty line was given in response to the \ 
"Write" prompt
at the end of editing, NE crashed.

2. Refactor to use memcpy() instead of strncpy() when messing with substrings
in order to avoid GCC string truncation warnings.

3. Implemented the "unformat" command.

4. Allow up to function key 30 (previously was 29, don't know why), and set
function keystring 30 to "unformat".

5. When screen mode was temporarily suspended via the "*" command, if the
"load" or "g" commands required a user response, NE crashed.

6. Recognize -version as well as --version and -v since all other long options
have just a single hyphen.
   2021-04-22 12:16:39 by Thomas Klausner | Files touched by this commit (4) | Package updated
Log message:
*: update some HOMEPAGES with help fro prlw1@
   2021-04-21 10:11:17 by Thomas Klausner | Files touched by this commit (7)
Log message:
*: remove dead master site
   2019-06-08 12:41:00 by Roland Illig | Files touched by this commit (93)
Log message:
editors/*: let pkglint fix indentation and variable alignment

pkglint -Wall -F -r editors

Manually fixed the changes in editors/nedit since the "fixed" indentation
was wrong.
   2018-06-06 16:53:04 by Patrick Welche | Files touched by this commit (2)
Log message:
Update ne to 3.15

Version 3.15 01-May-2018
------------------------

1. The "logo" line "NE version xxxx" was showing the PCRE \ 
version which was
current when NE was compiled (static) instead of getting the current (dynamic)
version from a shared library. This is now fixed and the line reformatted.

2. Minor error in command line decoding; for switch items such as -id it was
checking the text pointer (which might be partly unset) instead of the number
field.

3. There is now a maximum linelength that NE will handle when reading a file in
non-binary mode. The limit is 100,000 bytes. This prevents it going into a
meltdown memory thrashing state for a file that contains an excessively long
line.

Version 3.14 26-February-2018
-----------------------------

1. Two calls to error_moan() for failing to open a file were missing a second
argument (specifying reading or writing), leading to a crash for an unknown
file.

2. Added strerror() calls to all failed-do-open file errors.

3. Added some "fall through" comments when deliberately falling through.

4. Increased an internal buffer size to avoid format-overflow warning in "show
wordcount" command.

5. Implemented -notraps to disable catching crash signals. This makes crashes
easier to debug.
   2017-12-16 20:46:29 by Patrick Welche | Files touched by this commit (4)
Log message:
Update ne to 3.13

Version 3.13 19-December-2016
-----------------------------

1. Since 3.12 the list of commands that are allowed in readonly mode was out of
step by one.

2. Output "reading" or "writing" when reporting failure to \ 
open a file.

3. If a regular expression match in widechars mode encountered a line
containing an invalid UTF-8 string, it behaved as "no match" on that line
instead of reporting the error from PCRE.

4. In screen mode, if a global limit was set, the ending message for a global
match (e.g. "No More: x matches, y changes") was overwritten at the \ 
start by a
line number unless "all" was given to the global prompt.

5. The global limit mark has been separated from the text mark and now operates
independently. As a result, it is now possible to cut and paste text and do
bulk line operations while a global limit is set.

6. The "configure" script now checks for the presence of the chosen PCRE
library and also for the termcap or terminfo library.

Version 3.12 04-October-2016
----------------------------

The way that the "back" command works is completely revised. It is now \ 
possible
to change the size of the "regions" that "back" remembers, \ 
using the BACKREGION
command. The "front" command (defaulted on the ^F keystroke) moves to \ 
the line
that is at the top of the back stack.

Version 3.11 19-August-2016
---------------------------

1. NE was crashing if a BACK command was issued before any changes were made
   to the file.

2. "Back" line handling was doing some unnecessary processing and \ 
occasionally
   giving a mysterious (incorrect) error message about reading commands in
   binary mode. This should have been "'back' line not found", an internal
   error. The internal error has been fixed. It happened in some cases when two
   changes were made on a line that was subsequently deleted - only one
   instance was removed from the "back" list if the two instances were
   adjacent.

3. "Back" handling wasn't always remembering modification points for \ 
certain
    cursor movements.

Version 3.10 27-January-2016
----------------------------

1. Default to using PCRE2, but with a configure option to revert to PCRE1.

2. Removed some old coding macros that were set up for 16-bit Borland C, which
   are surely obsolete now.

3. Fix minor uninitialized read issue in argument decoding on 64-bit systems.

4. After compiling with a lot of warnings enabled, a lot of code tidying has
   been done, mainly turning many int variables into unsigned ints, and
   removing parameters that are not used in Unix-like environments (a hangover
   from early versions that ran on different systems). There is still plenty
   that could be done, however.

5. Removed configure tests for strerror(), memmove(), and bcopy() as these are
   nowadays always available, and anyway, the code no longer checked the
   macros (bcopy() wasn't even used). TIOCGWINSZ was assumed in the
   configuration, so removed the checks in the code.

Version 3.04 27-December-13
---------------------------

1. Change 2 for 3.03 broke full-screen editing when run from a non-xterm
   terminal (e.g. "screen") because it acccidentally insisted on the \ 
presence
   of a Delete key.

Version 3.03 09-November-13
---------------------------

1. Removed some set but unused variables (detected by clever new compiler).

2. Updated special keystroke handling for xterm to use more of the default
   strings as specified in the default terminfo file (at least, the one on my
   Arch Linux system).