head 1.4; access; symbols pkgsrc-2023Q4:1.4.0.50 pkgsrc-2023Q4-base:1.4 pkgsrc-2023Q3:1.4.0.48 pkgsrc-2023Q3-base:1.4 pkgsrc-2023Q2:1.4.0.46 pkgsrc-2023Q2-base:1.4 pkgsrc-2023Q1:1.4.0.44 pkgsrc-2023Q1-base:1.4 pkgsrc-2022Q4:1.4.0.42 pkgsrc-2022Q4-base:1.4 pkgsrc-2022Q3:1.4.0.40 pkgsrc-2022Q3-base:1.4 pkgsrc-2022Q2:1.4.0.38 pkgsrc-2022Q2-base:1.4 pkgsrc-2022Q1:1.4.0.36 pkgsrc-2022Q1-base:1.4 pkgsrc-2021Q4:1.4.0.34 pkgsrc-2021Q4-base:1.4 pkgsrc-2021Q3:1.4.0.32 pkgsrc-2021Q3-base:1.4 pkgsrc-2021Q2:1.4.0.30 pkgsrc-2021Q2-base:1.4 pkgsrc-2021Q1:1.4.0.28 pkgsrc-2021Q1-base:1.4 pkgsrc-2020Q4:1.4.0.26 pkgsrc-2020Q4-base:1.4 pkgsrc-2020Q3:1.4.0.24 pkgsrc-2020Q3-base:1.4 pkgsrc-2020Q2:1.4.0.22 pkgsrc-2020Q2-base:1.4 pkgsrc-2020Q1:1.4.0.18 pkgsrc-2020Q1-base:1.4 pkgsrc-2019Q4:1.4.0.20 pkgsrc-2019Q4-base:1.4 pkgsrc-2019Q3:1.4.0.16 pkgsrc-2019Q3-base:1.4 pkgsrc-2019Q2:1.4.0.14 pkgsrc-2019Q2-base:1.4 pkgsrc-2019Q1:1.4.0.12 pkgsrc-2019Q1-base:1.4 pkgsrc-2018Q4:1.4.0.10 pkgsrc-2018Q4-base:1.4 pkgsrc-2018Q3:1.4.0.8 pkgsrc-2018Q3-base:1.4 pkgsrc-2018Q2:1.4.0.6 pkgsrc-2018Q2-base:1.4 pkgsrc-2018Q1:1.4.0.4 pkgsrc-2018Q1-base:1.4 pkgsrc-2017Q4:1.4.0.2 pkgsrc-2017Q4-base:1.4 pkgsrc-2017Q3:1.3.0.14 pkgsrc-2017Q3-base:1.3 pkgsrc-2017Q2:1.3.0.10 pkgsrc-2017Q2-base:1.3 pkgsrc-2017Q1:1.3.0.8 pkgsrc-2017Q1-base:1.3 pkgsrc-2016Q4:1.3.0.6 pkgsrc-2016Q4-base:1.3 pkgsrc-2016Q3:1.3.0.4 pkgsrc-2016Q3-base:1.3 pkgsrc-2016Q2:1.3.0.2 pkgsrc-2016Q2-base:1.3 pkgsrc-2016Q1:1.2.0.56 pkgsrc-2016Q1-base:1.2 pkgsrc-2015Q4:1.2.0.54 pkgsrc-2015Q4-base:1.2 pkgsrc-2015Q3:1.2.0.52 pkgsrc-2015Q3-base:1.2 pkgsrc-2015Q2:1.2.0.50 pkgsrc-2015Q2-base:1.2 pkgsrc-2015Q1:1.2.0.48 pkgsrc-2015Q1-base:1.2 pkgsrc-2014Q4:1.2.0.46 pkgsrc-2014Q4-base:1.2 pkgsrc-2014Q3:1.2.0.44 pkgsrc-2014Q3-base:1.2 pkgsrc-2014Q2:1.2.0.42 pkgsrc-2014Q2-base:1.2 pkgsrc-2014Q1:1.2.0.40 pkgsrc-2014Q1-base:1.2 pkgsrc-2013Q4:1.2.0.38 pkgsrc-2013Q4-base:1.2 pkgsrc-2013Q3:1.2.0.36 pkgsrc-2013Q3-base:1.2 pkgsrc-2013Q2:1.2.0.34 pkgsrc-2013Q2-base:1.2 pkgsrc-2013Q1:1.2.0.32 pkgsrc-2013Q1-base:1.2 pkgsrc-2012Q4:1.2.0.30 pkgsrc-2012Q4-base:1.2 pkgsrc-2012Q3:1.2.0.28 pkgsrc-2012Q3-base:1.2 pkgsrc-2012Q2:1.2.0.26 pkgsrc-2012Q2-base:1.2 pkgsrc-2012Q1:1.2.0.24 pkgsrc-2012Q1-base:1.2 pkgsrc-2011Q4:1.2.0.22 pkgsrc-2011Q4-base:1.2 pkgsrc-2011Q3:1.2.0.20 pkgsrc-2011Q3-base:1.2 pkgsrc-2011Q2:1.2.0.18 pkgsrc-2011Q2-base:1.2 pkgsrc-2011Q1:1.2.0.16 pkgsrc-2011Q1-base:1.2 pkgsrc-2010Q4:1.2.0.14 pkgsrc-2010Q4-base:1.2 pkgsrc-2010Q3:1.2.0.12 pkgsrc-2010Q3-base:1.2 pkgsrc-2010Q2:1.2.0.10 pkgsrc-2010Q2-base:1.2 pkgsrc-2010Q1:1.2.0.8 pkgsrc-2010Q1-base:1.2 pkgsrc-2009Q4:1.2.0.6 pkgsrc-2009Q4-base:1.2 pkgsrc-2009Q3:1.2.0.4 pkgsrc-2009Q3-base:1.2 pkgsrc-2009Q2:1.2.0.2 pkgsrc-2009Q2-base:1.2 pkgsrc-2009Q1:1.1.0.56 pkgsrc-2009Q1-base:1.1 pkgsrc-2008Q4:1.1.0.54 pkgsrc-2008Q4-base:1.1 pkgsrc-2008Q3:1.1.0.52 pkgsrc-2008Q3-base:1.1 cube-native-xorg:1.1.0.50 cube-native-xorg-base:1.1 pkgsrc-2008Q2:1.1.0.48 pkgsrc-2008Q2-base:1.1 cwrapper:1.1.0.46 pkgsrc-2008Q1:1.1.0.44 pkgsrc-2008Q1-base:1.1 pkgsrc-2007Q4:1.1.0.42 pkgsrc-2007Q4-base:1.1 pkgsrc-2007Q3:1.1.0.40 pkgsrc-2007Q3-base:1.1 pkgsrc-2007Q2:1.1.0.38 pkgsrc-2007Q2-base:1.1 pkgsrc-2007Q1:1.1.0.36 pkgsrc-2007Q1-base:1.1 pkgsrc-2006Q4:1.1.0.34 pkgsrc-2006Q4-base:1.1 pkgsrc-2006Q3:1.1.0.32 pkgsrc-2006Q3-base:1.1 pkgsrc-2006Q2:1.1.0.30 pkgsrc-2006Q2-base:1.1 pkgsrc-2006Q1:1.1.0.28 pkgsrc-2006Q1-base:1.1 pkgsrc-2005Q4:1.1.0.26 pkgsrc-2005Q4-base:1.1 pkgsrc-2005Q3:1.1.0.24 pkgsrc-2005Q3-base:1.1 pkgsrc-2005Q2:1.1.0.22 pkgsrc-2005Q2-base:1.1 pkgsrc-2005Q1:1.1.0.20 pkgsrc-2005Q1-base:1.1 pkgsrc-2004Q4:1.1.0.18 pkgsrc-2004Q4-base:1.1 pkgsrc-2004Q3:1.1.0.16 pkgsrc-2004Q3-base:1.1 pkgsrc-2004Q2:1.1.0.14 pkgsrc-2004Q2-base:1.1 pkgsrc-2004Q1:1.1.0.12 pkgsrc-2004Q1-base:1.1 pkgsrc-2003Q4:1.1.0.10 pkgsrc-2003Q4-base:1.1 netbsd-1-6-1:1.1.0.6 netbsd-1-6-1-base:1.1 netbsd-1-6:1.1.0.8 netbsd-1-6-RELEASE-base:1.1 pkgviews:1.1.0.4 pkgviews-base:1.1 buildlink2:1.1.0.2 buildlink2-base:1.1 netbsd-1-5-PATCH003:1.1; locks; strict; comment @# @; 1.4 date 2017.12.16.19.46.29; author prlw1; state Exp; branches; next 1.3; commitid aBhIXwDDqbjnv9jA; 1.3 date 2016.06.19.17.25.31; author prlw1; state Exp; branches; next 1.2; commitid ZWJ34wnlYGO7g6bz; 1.2 date 2009.06.14.17.50.25; author joerg; state Exp; branches; next 1.1; 1.1 date 2001.10.31.21.23.09; author zuntum; state Exp; branches; next ; desc @@ 1.4 log @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). @ text @@@comment $NetBSD: PLIST,v 1.3 2016/06/19 17:25:31 prlw1 Exp $ bin/ne man/man1/ne.1 @ 1.3 log @Update ne to 3.02 Change Log for New E (NE) ------------------------- Version 3.02 15-May-12 ---------------------- 1. The icurrent command did not remove the line number from the line it copied. 2. Cutting and pasting did not always remove line numbers, as it is documented to do. 3. Some additional information has been added to the output from "show settings". Version 3.01 02-Mar-12 ---------------------- 1. There were bugs in the table the controls what commands may be obeyed in read-only mode. For example, the "readonly" command was not allowed, so the mode could not be turned off. Doh! In addition, the single-character commands such as # ? etc. were not correctly handled in readonly mode; neither were bracketed groups nor procedures. Using any of these commands caused segfaults. Version 3.00 23-Feb-11 ---------------------- 1. Rather than just fixing an out-by-one bug in eversion.c, I re-designed how it works. Added the copyright notice to the -help output. Added a lot more casts for signed/unsigned chars so that it compiles clean with -Wall on today's compilers (it's been over 5 years since the last release). 2. Renamed configure.in as configure.ac in line with modern practice, and did some tidying/updating of the configure and make files. 3. Made --help a synonym of -help, and added -v and --version as synonyms of (the very ancient) -id. 4. Removed the -stream facility, as it seems redundant nowadays. 5. Fixed reference to unset memory in rdargs.c. 6. Removed redundant code for various special (no longer existing) terminal types, and unused code for the Acorn windowing environment. The only special terminal type now recognized is xterm. Also removed the unixregexp command, which used to switch between different regex types, but has been obsolete for ages. 7. In screen mode, test whether an xterm is set to UTF-8, and adjust output accordingly. UTF-8 sequences are sent for certain characters whose code points are greater than 127. Characters that do not occupy exactly one cell on an xterm display are displayed as the substitute character (defaulting to a question mark). These include zero-width and double-width characters. Characters with code points greater than 0xFFFF are also substituted. 8. If -w[idechars] is specified, or the "widechars on" command is obeyed, recognize valid wide UTF-8 characters in the text being edited, without modifying the text bytes. A top-bit-set byte that is not part of a valid UTF-8 character is treated as a single-byte character. This affects how data lines are displayed on the screen and in verification output. You can flip between modes during an editing session. 9. "Show wordcount" was including line-ending characters in its character count, contrary to its documentation. Of course, previously it was just a byte count. It now shows both a byte count and a character count in wide character mode, in both cases excluding line ending characters. Words are now delimited by either tabs or spaces (previously it was just spaces). The output is now on multiple lines. 10. Added new keyboard escapes for inputting Unicode characters, for example, ESC A ' for aacute. Also recognize ESC U or ESC u followed by up to 5 hex digits (short-terminated by a non-hex digit or another ESC). This feature applies only to input in screen mode because in line-by-line mode the commands are read using standard C input functions. 11. While implementing 8/9/10, several old bugs/infelicities were found and fixed: (a) In the code for formatting paragraphs, if the begin/end paragraph settings did not include indented lines, and some lines of a paragraph were indented less than earlier lines, characters could sometimes get scrambled. (b) Characters deleted by keystroke while in overstrike mode did not get remembered for recall by "undelete". (c) Some redundant arguments for certain functions were discovered and removed (they probably related to code for environments no longer supported which itself has gone). (d) If a command line from a .nerc file was recovered by the use of the "up" key in a screen command line, the final newline was still present, and displayed as "?". 12. When running in an xterm, NE now recognizes a left-button mouse click in the window, and moves the cursor appropriately. It also recognizes twiddling the wheel in a wheel mouse, and for each twiddle scrolls the screen up or down by an amount that can be set by "set autovmousescroll" (default 1). The current line is changed only if it would disappear off the screen. The "mouse" command can be used to turn mouse recognition on and off. Unfortunately, you have to turn it off if you want to use normal xterm cut-and-paste. 13. NE was maintaining a value in a variable called main_currentlinenumber, but never actually using it for anything. This must be an historic relic. Removing it does not seem to have broken anything. 14. When writing a file, NE was not testing for an error on the fclose() call at the end. Errors can happen here if, for example, the system is buffering the output and a quota overrun is not detected until fclose(). 15. When "show keys" was issued in screen mode, NE was pausing for interaction more often than actually necessary if the screen or window was relatively deep. It now notices the available depth. 16. The subchar command now allows for altering the character that is substituted on screen for undisplayable characters. Version 2.01 06-Jun-05 ---------------------- 1. Lines whose length was between 32768 and 65535 were ending up with negative lengths because I was using short int rather than unsigned short int. They showed up therefore as empty lines, which was pretty disastrous. As well as inserting "unsigned", I have removed "short", since memory is plentiful these days. So line lengths can in principle be *really* big. 2. Change from -lcurses to -lncurses in the Makefile. 3. Insert $(DESTDIR) before all the path names for make install. Version 2.00 01-Mar-04 ---------------------- This version has had the code refactored in several ways, and the compiling process has been converted into a conventional "configure, make, make install" paradigm. Only PCRE regular expressions are supported, and the PCRE library has to be installed. Only Unix-like systems are now supported. The initialization now uses .nerc instead of an environment variable. A number of other tidies and minor interface changes were made. The documentation was re-worked to remove all the obsolete stuff and to incorporate the changes. @ text @d1 1 a1 1 @@comment $NetBSD$ a3 1 share/doc/ne.pdf @ 1.2 log @Remove @@dirrm entries from PLISTs @ text @d1 1 a1 1 @@comment $NetBSD: PLIST,v 1.1 2001/10/31 21:23:09 zuntum Exp $ d4 1 a4 3 share/doc/ne/NE.spec.ascii share/doc/ne/NE.changes.spec share/doc/ne/LICENCE @ 1.1 log @Move pkg/ files into package's toplevel directory @ text @d1 1 a1 1 @@comment $NetBSD: PLIST,v 1.1 1998/08/14 22:14:41 tron Exp $ a6 1 @@dirrm share/doc/ne @