传统 Vi
The Traditional Vi

原始链接: https://ex-vi.sourceforge.net/

传统的 *vi* 编辑器由比尔·乔伊(Bill Joy)于 1976 年开发,最初受限于商业 Unix 许可证。2002 年,Caldera 公司以 BSD 风格的许可证发布了其源代码,使其最终成为自由软件。 此版本保留了原版极简、轻量化的设计,没有语法高亮或多窗口等现代功能,但引入了对包括 UTF-8 在内的国际字符集的支持,并同步了来自 System V 和 POSIX.2 的更新。 该项目提供源代码发布,用户可通过 CVS 访问开发代码库(但一般建议使用稳定版)。项目中包含详尽的文档,包括安装指南、更新日志、名为《Vi 显示编辑入门》(An Introduction to Display Editing with Vi)的教程,以及 *ex* 和 *vi* 的手册页。该版本由贡纳·里特(Gunnar Ritter)维护,确保了经典的 Unix 编辑体验能够在现代系统上继续使用。

Hacker News 最新 | 往期 | 评论 | 提问 | 展示 | 招聘 | 提交 登录 The Traditional Vi (sourceforge.net) 4 个积分,由 exvi 于 1 小时前发布 | 隐藏 | 往期 | 收藏 | 讨论 帮助 准则 | 常见问题 | 列表 | API | 安全 | 法律 | 申请 YC | 联系 搜索:
相关文章

原文
The Traditional Vi

The vi editor is one of the most common text editors on Unix. It was developed starting around 1976 by Bill Joy at UCB, who was tired of the ed editor. But since he used ed as a code base, access to the original sources has required a commercial Unix Source Code License for more than twenty years. In January 2002, Caldera was so kind to remove usage restrictions to the Ancient Unix Code by a BSD-style license (see the announcement at Slashdot) and thus vi is now finally free.

Compared to most of its many clones, the traditional vi is a rather small program (the binary size is approximately 160 kBytes on i386) just with its extremely powerful editing interface, but lacking fancy features like multiple undo, multiple screens, or syntax highlighting.

This port of vi has generally preserved the original style, terminal control, and feature set. It adds support for international character sets, including multibyte encodings such as UTF-8, and some minor enhancements that were not present in BSD vi 3.7, but had been included in later vi versions for System V or in POSIX.2.


Download the source code

Release 050325 (current)

New releases of this project are announced on freshmeat.net. You can use their subscription service to get an email when a new version is available.

All releases

Browse the CVS repository

The most recent results of development are sometimes made available in the public CVS repository. Use

$ cvs -d:pserver:[email protected]:/cvsroot/ex-vi login
CVS password:<just type return>
$ cvs -d:pserver:[email protected]:/cvsroot/ex-vi co ex-vi
to retrieve a copy. Follow these instructions for more information. If you want to report a problem, please look at the Changes file in CVS to see if it has already been resolved, and if so, try if the fix works for you. Do not use the code from CVS unless you have a special reason to do so. It may be incorrect, not well tested, and might not even compile. Also note that the libuxre subdirectory and the regexp.h include file are not available from CVS because their contents are maintained as part of the Heirloom Toolchest. So to build from CVS sources, copy these items from an earlier release archive.

Documentation

  • For installation instructions and a list of supported systems, see the README.
  • Changes in ex and vi is a detailed listing of all modifications in the port.
  • An Introduction to Display Editing with Vi is both a tutorial and a source of knowledge for more advanced users. This edition contains some annotations for changes in the port. It is also available as a complete archive for offline reading.
  • The manual page ex(1) provides reference documentation for the basic concepts of the editor, addressing lines, ex commands (prefixed by a ':' in visual mode), regular expressions and substitutions, and configuration options.
  • The manual page vi(1) describes the command characters in visual mode.

This Site vi powered
Gunnar Ritter <[email protected]> 2007-11-29
vi logo by Urmas Reinsalu (10/3/05)
SourceForge.net Logo
联系我们 contact @ memedata.com