Debian Patches

Status for nvi/1.81.6-21

Patch Description Author Forwarded Bugs Origin Last update
01additional_upstream_data.patch A few documentation files cherry-picked from the last stable release tarball, because they are missing in later development
branch releases.

diff -Naur nvi-1.81.6.orig/nvi-1.79/FAQ nvi-1.81.6/nvi-1.79/FAQ
<hesso@pool.math.tu-berlin.de> no
03db4.patch libdb4 compatibility adjustments.=================================================================== Jan Christoph Nordholz <hesso@pool.math.tu-berlin.de> no 2009-03-01
04confdefs.patch Help configure by decreeing that some headers are present.
diff -Naur nvi-1.81.6.orig/build/confdefs.h nvi-1.81.6/build/confdefs.h
<hesso@pool.math.tu-berlin.de> no
06default_value_escapetime.patch Increase the default 'escapetime' setting to accommodate slow lines.
diff -Naur nvi-1.81.6.orig/common/options.c nvi-1.81.6/common/options.c
<hesso@pool.math.tu-berlin.de> no
07flush_cache.patch No description.
diff -Naur nvi-1.81.6.orig/common/db1.c nvi-1.81.6/common/db1.c
<hesso@pool.math.tu-berlin.de> no
08lfs.patch Insert a safety check to save large files from being overwritten.
diff -Naur nvi-1.81.6.orig/common/exf.c nvi-1.81.6/common/exf.c
<hesso@pool.math.tu-berlin.de> no
08safe_printf.patch No description.
diff -Naur nvi-1.81.6.orig/common/exf.c nvi-1.81.6/common/exf.c
<hesso@pool.math.tu-berlin.de> no
08tempfile_umask.patch No description.
diff -Naur nvi-1.81.6.orig/common/exf.c nvi-1.81.6/common/exf.c
<hesso@pool.math.tu-berlin.de> no
09casting.patch No description.
diff -Naur nvi-1.81.6.orig/vi/v_ch.c nvi-1.81.6/vi/v_ch.c
<hesso@pool.math.tu-berlin.de> no
10no_one_line_visual.patch Catch segfaults when the screen is only one line high.
diff -Naur nvi-1.81.6.orig/vi/vi.c nvi-1.81.6/vi/vi.c
<hesso@pool.math.tu-berlin.de> no
11backward_sentence_moving.patch No description.
diff -Naur nvi-1.81.6.orig/vi/v_sentence.c nvi-1.81.6/vi/v_sentence.c
<hesso@pool.math.tu-berlin.de> no
12horiz_scroll_count.patch No description.
diff -Naur nvi-1.81.6.orig/vi/vs_refresh.c nvi-1.81.6/vi/vs_refresh.c
<hesso@pool.math.tu-berlin.de> no
14private_regex_fixes.patch Fixes to the private regex library; includes fix for #523934.
diff -Naur regex.orig/regcomp.c regex/regcomp.c
<hesso@pool.math.tu-berlin.de> no
16manpage_errors.patch Fix a truckload of roff markup glitches.
diff -Naur nvi-1.81.6.orig/docs/vi.man/vi.1 nvi-1.81.6/docs/vi.man/vi.1
<hesso@pool.math.tu-berlin.de> no
17tutorial_typos.patch Fix typos in the nvi tutorial.=================================================================== Unknown no
18dbpagesize_binpower.patch Make sure that the pagesize passed to db__set_pagesize() isa power of two. <hesso@pool.math.tu-berlin.de> no
19include_term_h.patch Add <term.h> to the include list to suppress a few warnings.
diff -Naur nvi-1.81.6.orig/cl/cl_funcs.c nvi-1.81.6/cl/cl_funcs.c
<hesso@pool.math.tu-berlin.de> no
20glibc_has_grantpt.patch glibc has grantpt(), so only hceck for HAVE_SYS5_PTY on non-glibc installations.

diff -Naur nvi-1.81.6.orig/ex/ex_script.c nvi-1.81.6/ex/ex_script.c
<hesso@pool.math.tu-berlin.de> no
21exrc_writability_check.patch No description.
diff -Naur nvi-1.81.6.orig/ex/ex_init.c nvi-1.81.6/ex/ex_init.c
<hesso@pool.math.tu-berlin.de> no
23debian_alternatives.patch Adapt the internal program name if nvi was called via one of the Debian alternative symlinks.

diff -Naur nvi-1.81.6.orig/common/gs.c nvi-1.81.6/common/gs.c
<hesso@pool.math.tu-berlin.de> no
24fallback_to_dumb_term.patch If there's no $TERM around, just fall back to "dumb".
diff -Naur nvi-1.81.6.orig/cl/cl_main.c nvi-1.81.6/cl/cl_main.c
<hesso@pool.math.tu-berlin.de> no
25manpage_note_dropped_F.patch Replace the manpage paragraph about the '-F' commandline option with a notice that is has been dropped.
===================================================================
Jan Christoph Nordholz <hesso@pool.math.tu-berlin.de> no
26trailing_tab_segv.patch Prevent a segfault if a trailing tab is pushed to a new line by insertingcharacters before it if 'set number' is in effect. <hesso@pool.math.tu-berlin.de> no
27support_C_locale.patch Allow users to edit 8-bit files even under LC_CTYPE=C.=================================================================== Jan Christoph Nordholz <hesso@pool.math.tu-berlin.de> no
29file_backup.patch Save the intermediate CHAR2INT conversion pointer because that pointer is reused by later conversions in calls below.

===================================================================
Jan Christoph Nordholz <hesso@pool.math.tu-berlin.de> no
30make_recover_script_init_ready.patch Changes recover script so it can be run by initThis was mostly just merging code from the previous init script Bryan Quigley <bryan.quigley@canonical.com> no
31regex_heap_overflow.patch Disallow an excessively large pattern space Apply heap overflow vulnerability patch to bundled regex library.
Unfortunately nvi uses the BSD-specific REG_NOSPEC flag, so we can't easily
switch to the system library.

===================================================================
no debian vendor, https://gitweb.dragonflybsd.org/dragonfly.git/commitdiff/2841837793bd095a82f477e9c370cfe6cfb3862c 2016-12-31
32allow_exec_of_nvi_opened_file.patch Allow exec of nvi-opened file
This patch allows the files that are being edited by nvi to be
executed by others. Otherwise a ETXTBSY will occur.

Fix proposed in https://bugs.debian.org/891174 . The original
bug report also listed the fix.

Explanation from Bug#891174:

Opening the file read-only is enough for flock() -- please notice that
ep->fd is only used to keep the lock hot, that's not the descriptor that
is used for reading or writing data to the file.
Jim Lebeau <jiml@ladsnet.com> no debian 2016-05-20
33-fix-spelling-error.patch Fix spelling mistakes.=================================================================== Hugo Torres de Lima <hugotorres@protonmail.com> no 2021-11-28
34-fix-long-line.patch Breaking very long Line.=================================================================== Hugo Torres de Lima <hugotorres@protonmail.com> no 2021-11-28
35-fix-encoding.patch converting the file to UTF-8 using iconv. Example: iconv -f ISO-8859-15 -t UTF-8 < french.
===================================================================
Hugo Torres de Lima <hugotorres@protonmail.com> no 2021-12-01
upstream/0032-ex-ex_display.c-ex_display-fix-argument-checking-in-.patch ex/ex_display.c (ex_display): fix argument checking in case of wide characters

With wide characters, the ex command :display did not recognise arguments
abbreviated by a prefix of more than one letter, e.g., :di bu.
Wolfgang Jenkner <wjenkner@inode.at> no upstream, https://repo.or.cz/nvi.git/commit/8baeabea947da678f516997392d76c2a9462f925 2008-04-04
upstream/0033-vi-v_increment.c-v_increment-fix-support-for-wide-ch.patch vi/v_increment.c: v_increment: fix support for wide characters
Without this change, the vi commands `#+' `#-' and `##' don't work:
the number under the cursor disappears, vi hangs or dumps core.
Wolfgang Jenkner <wjenkner@inode.at> no upstream, https://repo.or.cz/nvi.git/commit/7bdd574d4225d2047c24b266f835b3f1036e83b3 2008-04-07
upstream/0034-cut-fix-appending-to-unused-cut-buffer-and-support-f.patch cut: fix appending to unused cut buffer and support for wide characters

Fix an if clause whose test assumes that a successful isupper test
returns 1 (grepping through the nvi sources, I haven't found other cases
where a character classification function is used with this assumption).

This fixes the following problem (on my i686 glibc based Gnu/Linux
system): Take an unused cut buffer, say a, and append something to
it, like "Ayy. Now, :di b shows a cut buffer named (uppercase!) A.
Repeating "Ayy shows this bogus buffer twice instead of appending to it.
This affects both the 8-bit and wchar version.
Wolfgang Jenkner <wjenkner@inode.at> no upstream, https://repo.or.cz/nvi.git/commit/53b5b0c8e89673871f4d89702ecb2e22ca61c8e8 2008-04-09
upstream/0035-Word-search-ignored-word-end-boundaries.patch Word search ignored word end boundaries.
Put the cursor at the beginning of: a ab abc, then type ^A twice; this
would move the cursor to ab and then to abc.
Wolfgang Jenkner <wjenkner@inode.at> no upstream, https://repo.or.cz/nvi.git/commit/bfbd19beadea6ba5db63a3789d18928f16cade6a 2008-05-22
upstream/0036-Fix-how-keywords-are-picked-up.patch Fix how keywords are picked up.
The way v_curword built up keywords starting with a non-word character
was incompatible with historical tagstring search and POSIX.
Wolfgang Jenkner <wjenkner@inode.at> no upstream, https://repo.or.cz/nvi.git/commit/7ff00d30a4434354797effaa3d10504497586358 2008-05-22
upstream/0037-New-macro-MEMPCPY.patch New macro MEMPCPY. Wolfgang Jenkner <wjenkner@inode.at> no upstream, https://repo.or.cz/nvi.git/commit/193d6e7fb11a7da6ad611a6bba3f020e87b7b3a8 2008-05-22
upstream/0038-Fix-A-word-search-for-keywords-starting-with-a-non-w.patch Fix ^A word search for keywords starting with a non-word character.
E.g., putting the cursor over ^ and typing ^A would give a 'Pattern
not found' message (with wrapscan set).

Adjust v_searchw to the current version of v_curword (the bug was already
present before the recent changes, though).

There's also a new auxiliary function is_especial, for clarity.
Wolfgang Jenkner <wjenkner@inode.at> no upstream, https://repo.or.cz/nvi.git/commit/9ba2bd88564a5bcfbc612fa954e16f15b5c81be6 2008-05-22
0039-Add-function-prototypes-to-fix-implicit-function-dec.patch Add function prototypes to fix implicit function declaration errors Michael Hudson-Doyle <michael.hudson@ubuntu.com> no debian 2024-04-11

All known versions for source package 'nvi'

Links