OpenVi: Portable OpenBSD vi for Unix systems

This page summarizes the projects mentioned and recommended in the original post on news.ycombinator.com

Our great sponsors
  • InfluxDB - Power Real-Time Data Analytics at Scale
  • WorkOS - The modern identity platform for B2B SaaS
  • SaaSHub - Software Alternatives and Reviews
  • OpenVi

    OpenVi: Portable OpenBSD vi for UNIX systems

  • The behavior of the traditional vi is much different than vim and other clones. Nvi was a actually a re-implementation of the traditional vi for 4BSD (to be clean of AT&T code) and thus was originally intended to be bug-for-bug compatible, but breaking away where the original vi behavior was nonsensical or terrible.

    For vim, `set compatible` or `set cp` is close, but still not traditional vi by any means.

    A multibyte variant of the tradition vi is maintained - https://github.com/n-t-roff/heirloom-ex-vi/.

    Nvi (now on version 1.8x) is also maintained - https://repo.or.cz/nvi.git

    Nvi2 is yet another fork of Nvi, https://github.com/lichray/nvi2

    Despite the very similar names, all of these editors have a variety of different features, and are structured very differently.

    Nvi has a concept of a front-end and a back-end (which uses the BDB database). OpenVi uses the OpenBSD version of Berkeley DB which derives from 1.85. Nvi (1.8x) provides a minimal version of code also derived from that release intended from use with Nvi, and (IIRC) also provides support for using Db3/4/5. Similar situation for Nvi2.

    Nvi 1.8 has been structured where a third library layer has been added, which doesn't exist in OpenBSD's vi or OpenVi. There is scripting support (Tcl, Perl, etc.) and GUI code in the other various forks ... all of these support various different options as well.

    I should probably make a matrix of these, but you can get an idea by looking at the settable options implemented in each of the variants (as they historically include a comment to document from where the option originated):

    OpenVi: https://github.com/johnsonjh/OpenVi/blob/22c2a7022e31d91e09e...

    OpenBSD vi: https://github.com/openbsd/src/blob/master/usr.bin/vi/common...

    Nvi2: https://github.com/lichray/nvi2/blob/5fcdc13656500a8c5b4c073...

    Nvi1: https://repo.or.cz/nvi.git/blob/HEAD:/common/options.c#l52

  • nvi2

    A multibyte fork of the nvi editor for BSD

  • The behavior of the traditional vi is much different than vim and other clones. Nvi was a actually a re-implementation of the traditional vi for 4BSD (to be clean of AT&T code) and thus was originally intended to be bug-for-bug compatible, but breaking away where the original vi behavior was nonsensical or terrible.

    For vim, `set compatible` or `set cp` is close, but still not traditional vi by any means.

    A multibyte variant of the tradition vi is maintained - https://github.com/n-t-roff/heirloom-ex-vi/.

    Nvi (now on version 1.8x) is also maintained - https://repo.or.cz/nvi.git

    Nvi2 is yet another fork of Nvi, https://github.com/lichray/nvi2

    Despite the very similar names, all of these editors have a variety of different features, and are structured very differently.

    Nvi has a concept of a front-end and a back-end (which uses the BDB database). OpenVi uses the OpenBSD version of Berkeley DB which derives from 1.85. Nvi (1.8x) provides a minimal version of code also derived from that release intended from use with Nvi, and (IIRC) also provides support for using Db3/4/5. Similar situation for Nvi2.

    Nvi 1.8 has been structured where a third library layer has been added, which doesn't exist in OpenBSD's vi or OpenVi. There is scripting support (Tcl, Perl, etc.) and GUI code in the other various forks ... all of these support various different options as well.

    I should probably make a matrix of these, but you can get an idea by looking at the settable options implemented in each of the variants (as they historically include a comment to document from where the option originated):

    OpenVi: https://github.com/johnsonjh/OpenVi/blob/22c2a7022e31d91e09e...

    OpenBSD vi: https://github.com/openbsd/src/blob/master/usr.bin/vi/common...

    Nvi2: https://github.com/lichray/nvi2/blob/5fcdc13656500a8c5b4c073...

    Nvi1: https://repo.or.cz/nvi.git/blob/HEAD:/common/options.c#l52

  • InfluxDB

    Power Real-Time Data Analytics at Scale. Get real-time insights from all types of time series data with InfluxDB. Ingest, query, and analyze billions of data points in real-time with unbounded cardinality.

    InfluxDB logo
  • src

    Read-only git conversion of OpenBSD's official CVS src repository. Pull requests not accepted - send diffs to the tech@ mailing list.

  • The behavior of the traditional vi is much different than vim and other clones. Nvi was a actually a re-implementation of the traditional vi for 4BSD (to be clean of AT&T code) and thus was originally intended to be bug-for-bug compatible, but breaking away where the original vi behavior was nonsensical or terrible.

    For vim, `set compatible` or `set cp` is close, but still not traditional vi by any means.

    A multibyte variant of the tradition vi is maintained - https://github.com/n-t-roff/heirloom-ex-vi/.

    Nvi (now on version 1.8x) is also maintained - https://repo.or.cz/nvi.git

    Nvi2 is yet another fork of Nvi, https://github.com/lichray/nvi2

    Despite the very similar names, all of these editors have a variety of different features, and are structured very differently.

    Nvi has a concept of a front-end and a back-end (which uses the BDB database). OpenVi uses the OpenBSD version of Berkeley DB which derives from 1.85. Nvi (1.8x) provides a minimal version of code also derived from that release intended from use with Nvi, and (IIRC) also provides support for using Db3/4/5. Similar situation for Nvi2.

    Nvi 1.8 has been structured where a third library layer has been added, which doesn't exist in OpenBSD's vi or OpenVi. There is scripting support (Tcl, Perl, etc.) and GUI code in the other various forks ... all of these support various different options as well.

    I should probably make a matrix of these, but you can get an idea by looking at the settable options implemented in each of the variants (as they historically include a comment to document from where the option originated):

    OpenVi: https://github.com/johnsonjh/OpenVi/blob/22c2a7022e31d91e09e...

    OpenBSD vi: https://github.com/openbsd/src/blob/master/usr.bin/vi/common...

    Nvi2: https://github.com/lichray/nvi2/blob/5fcdc13656500a8c5b4c073...

    Nvi1: https://repo.or.cz/nvi.git/blob/HEAD:/common/options.c#l52

  • heirloom-ex-vi

    The Traditional Vi (vi with many enhancements from Gunnar Ritter)

  • The behavior of the traditional vi is much different than vim and other clones. Nvi was a actually a re-implementation of the traditional vi for 4BSD (to be clean of AT&T code) and thus was originally intended to be bug-for-bug compatible, but breaking away where the original vi behavior was nonsensical or terrible.

    For vim, `set compatible` or `set cp` is close, but still not traditional vi by any means.

    A multibyte variant of the tradition vi is maintained - https://github.com/n-t-roff/heirloom-ex-vi/.

    Nvi (now on version 1.8x) is also maintained - https://repo.or.cz/nvi.git

    Nvi2 is yet another fork of Nvi, https://github.com/lichray/nvi2

    Despite the very similar names, all of these editors have a variety of different features, and are structured very differently.

    Nvi has a concept of a front-end and a back-end (which uses the BDB database). OpenVi uses the OpenBSD version of Berkeley DB which derives from 1.85. Nvi (1.8x) provides a minimal version of code also derived from that release intended from use with Nvi, and (IIRC) also provides support for using Db3/4/5. Similar situation for Nvi2.

    Nvi 1.8 has been structured where a third library layer has been added, which doesn't exist in OpenBSD's vi or OpenVi. There is scripting support (Tcl, Perl, etc.) and GUI code in the other various forks ... all of these support various different options as well.

    I should probably make a matrix of these, but you can get an idea by looking at the settable options implemented in each of the variants (as they historically include a comment to document from where the option originated):

    OpenVi: https://github.com/johnsonjh/OpenVi/blob/22c2a7022e31d91e09e...

    OpenBSD vi: https://github.com/openbsd/src/blob/master/usr.bin/vi/common...

    Nvi2: https://github.com/lichray/nvi2/blob/5fcdc13656500a8c5b4c073...

    Nvi1: https://repo.or.cz/nvi.git/blob/HEAD:/common/options.c#l52

  • neovim

    Vim-fork focused on extensibility and usability

  • pEmacs

    pEmacs - Perfect Emacs

NOTE: The number of mentions on this list indicates mentions on common posts plus user suggested alternatives. Hence, a higher number means a more popular project.

Suggest a related project

Related posts