Package Details: nvi 1.79-3

Git Clone URL: https://aur.archlinux.org/nvi.git (read-only, click to copy)
Package Base: nvi
Description: Portable OpenBSD vi, originally distributed as part of 4BSD.
Upstream URL: https://github.com/lacamera/nvi
Keywords: editor, nvi, vi
Licenses: BSD
Submitter: 10sr
Maintainer: lacamera
Last Packager: lacamera
Votes: 7
Popularity: 0.000000
First Submitted: 2015-09-05 15:41 (UTC)
Last Updated: 2022-09-25 18:03 (UTC)

Latest Comments

mazieres commented on 2026-02-16 09:22 (UTC)

Since this package wasn't working, I created an nvi-git package to install the latest version from Sven Verdoolaege, who seems to be still maintaining it.

EdeWolf commented on 2026-01-26 15:23 (UTC)

Any news on this? Build fails and this one is getting more importance, as they are now trying to push vim onto us.

==> Starting build()... creating cache ./config.cache checking for a BSD compatible install... /usr/bin/install -c checking host system type... x86_64-pc-linux-gnu checking if --enable-debug option specified... no checking whether cross-compiling... yes checking whether the compiler (cc -pipe -march=znver3 -O2 -Wl,-O1,--sort-common,--as-needed,-z,relro) actually works... yes checking for sh... /usr/bin/sh checking for sendmail... no WARNING: The sendmail utility was not found! WARNING: Users will not be told of saved files. checking for perl5... no checking for perl... /usr/bin/perl checking for preserve directory... /var/tmp/vi.recover checking for chmod... /usr/bin/chmod checking for cp... /usr/bin/cp checking for ln... /usr/bin/ln checking for mkdir... /usr/bin/mkdir checking for rm... /usr/bin/rm checking for strip... /usr/bin/strip checking how to run the C preprocessor... cc -E checking for X... no checking if --enable-perlinterp option specified... no checking if --enable-tknvi option specified... no checking if --enable-tclinterp option specified... no checking for -ltermlib... no checking for -ltermcap... no checking if --disable-curses option specified... bundled curses checking for sys/mman.h... yes checking for sys/select.h... yes checking for ANSI C header files... yes checking for ssize_t... yes checking whether byte ordering is bigendian... no checking for working const... yes checking for st_blksize in struct stat... yes checking for mode_t... yes checking for off_t... yes checking for pid_t... yes checking for size_t... yes checking whether struct tm is in sys/time.h or time.h... time.h checking for bsearch... yes checking for gethostname... yes checking for getopt... yes checking for memchr... yes checking for memcpy... yes checking for memmove... yes checking for memset... yes checking for bsearch... (cached) yes checking for gethostname... (cached) yes checking for getopt... (cached) yes checking for memchr... (cached) yes checking for memcpy... (cached) yes checking for memmove... (cached) yes checking for memset... (cached) yes checking for mkstemp... yes checking for mmap... yes checking for snprintf... yes checking for strdup... yes checking for strerror... yes checking for strpbrk... yes checking for strtol... yes checking for mkstemp... (cached) yes checking for mmap... (cached) yes checking for snprintf... (cached) yes checking for strdup... (cached) yes checking for strerror... (cached) yes checking for strpbrk... (cached) yes checking for strtol... (cached) yes checking for strtoul... yes checking for vsnprintf... yes checking for strtoul... (cached) yes checking for vsnprintf... (cached) yes checking for select... yes checking for setenv... yes checking for strsep... yes checking for unsetenv... yes checking for valloc... yes checking for getpagesize... yes checking for working mmap... (cached) yes checking for vfork.h... no checking for working vfork... checking for vfork... yes yes checking for fcntl/flock... fcntl checking for ftruncate/chsize... ftruncate checking for tigetstr/tigetnum... no checking for setupterm... no checking for broken gettimeofday system call... okay checking for System V pty calls... no checking for revoke system call... no checking for int type sprintf return value... configure: error: can not run test program while cross compiling ==> ERROR: A failure occurred in build(). Aborting...

randiprit commented on 2024-04-01 17:29 (UTC) (edited on 2024-04-01 17:32 (UTC) by randiprit)

Current maintainer of nvi(2) :

https://github.com/lichray/nvi2

Need its companion (DB1) from the BSD world :

https://github.com/matijaskala/db1

Arch repo dependencies :

cmake
libiconv
libbsd

My way of building nvi :

1.  git clone https://github.com/lichray/nvi2
2.  cd nvi2
3.  git clone https://github.com/matijaskala/db1
4.  cmake -DCMAKE_EXE_LINKER_FLAGS=-Ldb1 -DDB_INCLUDE_DIR=db1/include .
5.  make -C db1
6.  make

Then you can copy/move the executable anywhere in your path and invoke 'nvi'. Enjoy

<deleted-account> commented on 2018-03-31 21:47 (UTC)

Segfaults when I run nex.

PKGBUILD should provide nvi since there is nvi-multibyte-upstream.