get rid of USD.docs,
[nvi.git] / README
blobae81e65c48ef574f477fee364e9cd353984f3ac7
1 #       $Id: README,v 8.148 1997/04/13 14:27:21 bostic Exp $ (Berkeley) $Date: 1997/04/13 14:27:21 $
3 This is version 1.79 (%H%) of nex/nvi, a freely redistributable implementation
4 of the ex/vi text editors originally distributed as part of the Fourth Berkeley
5 Software Distribution (4BSD), by the University of California, Berkeley.
7 The directory layout is as follows:
9     FAQ ........... Frequently asked questions.
10     LICENSE ....... Copyright, use and redistribution information.
11     README ........ This file.
12     catalog ....... Message catalogs; see catalog/README.
13     changelog ..... Log of changes from version to version.
14     cl ............ Vi interface to the curses(3) library.
15     clib .......... C library replacement source code.
16     common ........ Code shared by ex and vi.
17     curses ........ A stripped-down, replacement curses(3) library.
18     db ............ A stripped-down, replacement db(3) library.
19     dist .......... Various files used to build the vi distribution.
20     docs .......... Ex/vi documentation, both current and historic.
21     docs/README ... Documentation overview.
22     docs/edit ..... Edit: A tutorial.
23     docs/exref .... Ex Reference Manual -- Version 3.7.
24     docs/vi.man ... UNIX manual page for nex/nvi.
25     docs/vi.ref ... Nex/nvi reference manual.
26     docs/vitut .... An Introduction to Display Editing with Vi.
27     ex ............ Ex source code.
28     include ....... Replacement include files.
29     ip ............ Library interface to vi: vi side.
30     ipc ........... Library interface to vi: application side.
31     motif ......... Vi motif application.
32     motif_l ....... Motif library interface to vi.
33     perl_api ...... Perl scripting language support.
34     perl_scripts .. Perl scripts.
35     regex ......... POSIX 1003.2 regular expression library.
36     tcl_api ....... Tcl scripting language support.
37     tcl_scripts ... Tcl scripts.
38     vi ............ Vi source code.
40 Bug fixes and updated versions of this software will periodically be made
41 available.  For more information see:
43         http://www.sleepycat.com/vi
45 To ask questions about vi, report vi problems, request notification of
46 future releases and/or bug fixes, or to contact the authors for any reason,
47 please send email to:
49         bostic@bostic.com
51 =-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=
52 o This software is several years old and is the product of many folks' work.  
54         This software was originally derived from software contributed to
55         the University of California, Berkeley by Steve Kirkendall, the
56         author of the vi clone elvis.  Without his work, this work would
57         have been far more difficult.
59         IEEE POSIX 1003.2 style regular expression support is courtesy of
60         Henry Spencer, for which I am *very* grateful.
62         Elan Amir did the original 4BSD curses work that made it possible
63         to support a full-screen editor using curses.
65         George Neville-Neil added the Tcl interpreter, and the initial
66         interpreter design was his.
68         Sven Verdoolaege added the Perl interpreter.
70         Rob Mayoff provided the original Cscope support.
72 o Many, many people suggested enhancements, and provided bug reports and
73   testing, far too many to individually thank.
75 o From the original vi acknowledgements, by William Joy and Mark Horton:
77         Bruce Englar encouraged the early development of this display
78         editor.  Peter Kessler helped bring sanity to version 2's
79         command layout.  Bill Joy wrote versions 1 and 2.0 through 2.7,
80         and created the framework that users see in the present editor.
81         Mark Horton added macros and other features and made the editor
82         work on a large number of terminals and Unix systems.
84 o And...
85         The financial support of UUNET Communications Services is gratefully
86         acknowledged.
88 =-=-=-=-=-=-=-=-=-=-=
89 o Status:
91 This software is in beta test, and it's pretty stable.  Almost all of the
92 historic functionality in ex/vi is there, the only major missing pieces
93 are open mode and the lisp edit option.
95 Nvi is largely 8-bit clean.  This isn't difficult to fix, and was left in
96 during initial development to keep things simple.  Wide character support
97 will be integrated at the same time that it is made fully 8-bit clean.
99 There aren't a lot of new features in nex/nvi, but there are a few things
100 you might like.  The "Additional Features" section of the reference work
101 (docs/USD.doc/vi.ref/vi.ref.txt, docs/USD.doc/vi.ref/vi.ref.ps) has more
102 information.
104 =-=-=-=-=-=-=-=-=-=-=
105 o Debugging:
107 Code fixes are greatly appreciated, of course, but if you can't provide
108 them, please email me as much information as you can as to how I might
109 reproduce the bug, and I'll try to fix it locally.  Stack traces of core
110 dumps are only rarely helpful -- an example file with a set of keystrokes
111 that causes the problem is almost invariably necessary.  I know it's
112 annoying, but simply playing with the bug until you can reproduce it at
113 will, with minimal keystrokes, is immensely helpful to me.
115 Please include the following in the bug report;
117         o The version of nvi you're running (use :version to get it).
118         o The row/column dimensions of the screen (80 x 32).
119         o Unless you're confident that they're not part of the problem,
120           your startup files (.exrc, .nexrc) and the environment variable
121           (EXINIT, NEXINIT) values.  (Cutting and pasting the output
122           of ":set all" is usually sufficient.)
124 If you want to do your own debugging, recompile the program with DEBUG
125 defined.  (Configuring with --enable-debug will do this for you.)  This
126 turns on the additional command-line option -D, that takes either s or w
127 as an argument.  The option -Ds causes nvi to ignore the EXINIT and
128 .exrc files on startup, and -Dw causes nvi to print out the process id
129 and wait for you to enter a <carriage-return> to continue.
131 If you're running a memory checker (e.g. Purify) on nvi, you will first
132 want to  recompile everything with "-DPURIFY" set in the CFLAGS.  This
133 initializes allocated pages in the DB code, and free's allocated memory
134 at the end of the nvi execution.