xref: /minix3/external/bsd/nvi/dist/build.unix/README (revision 84d9c625bfea59e274550651111ae9edfdc40fbd)
1*84d9c625SLionel Sambuc#	Id: README,v 8.29 2001/05/13 20:52:36 skimo Exp  (Berkeley) Date: 2001/05/13 20:52:36
2*84d9c625SLionel Sambuc
3*84d9c625SLionel SambucNvi uses the GNU autoconf program for configuration and compilation.  You
4*84d9c625SLionel Sambucshould enter:
5*84d9c625SLionel Sambuc
6*84d9c625SLionel Sambuc	../dist/configure
7*84d9c625SLionel Sambuc	make
8*84d9c625SLionel Sambuc
9*84d9c625SLionel Sambucand nvi will configure the system and build one or two binaries:  nvi and
10*84d9c625SLionel Sambuctknvi.  You can use any path to the configure script, e.g., to build for
11*84d9c625SLionel Sambucan x86 architecture, I suggest that you do:
12*84d9c625SLionel Sambuc
13*84d9c625SLionel Sambuc	mkdir build.x86
14*84d9c625SLionel Sambuc	cd build.x86
15*84d9c625SLionel Sambuc	../dist/configure
16*84d9c625SLionel Sambuc	make
17*84d9c625SLionel Sambuc
18*84d9c625SLionel SambucThere are options that you can specify to the configure command.  See
19*84d9c625SLionel Sambucthe next section for a description of these options.
20*84d9c625SLionel Sambuc
21*84d9c625SLionel SambucIf you want to rebuild or reconfigure nvi, for example, because you change
22*84d9c625SLionel Sambucyour mind as to the curses library that you want to use, create a new
23*84d9c625SLionel Sambucdirectory and reconfigure it using "configure" and whatever options you
24*84d9c625SLionel Sambucchoose, don't try to selectively edit the files.
25*84d9c625SLionel Sambuc
26*84d9c625SLionel SambucBy default, nvi is installed as "vi", with hard links to "ex" and "view".
27*84d9c625SLionel SambucTo install them using different names, use the configure program options.
28*84d9c625SLionel SambucFor example, to install them as "nvi", "nex" and "nview", use:
29*84d9c625SLionel Sambuc
30*84d9c625SLionel Sambuc	configure --program-prefix=n
31*84d9c625SLionel Sambuc
32*84d9c625SLionel SambucSee the section below on installation for details.
33*84d9c625SLionel Sambuc
34*84d9c625SLionel SambucNote, if you're building nvi on a LynxOS system, you should read the
35*84d9c625SLionel SambucREADME.LynxOS file in this directory for additional build instructions
36*84d9c625SLionel Sambucthat are specific to that operating system.
37*84d9c625SLionel Sambuc
38*84d9c625SLionel SambucIf you have trouble with this procedure, send email to the addresses
39*84d9c625SLionel Sambuclisted in ../README.  In that email, please provide a complete script
40*84d9c625SLionel Sambucof the output for all of the above commands that you entered.
41*84d9c625SLionel Sambuc
42*84d9c625SLionel Sambuc=-=-=-=-=-=-=
43*84d9c625SLionel SambucNVI'S OPTIONS TO THE CONFIGURE PROGRAM
44*84d9c625SLionel Sambuc=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=
45*84d9c625SLionel Sambuc
46*84d9c625SLionel SambucThere are many options that you can enter to the configuration program.
47*84d9c625SLionel SambucTo see a complete list of the options, enter "configure --help".  Only
48*84d9c625SLionel Sambuca few of them are nvi specific.  These options are as follows:
49*84d9c625SLionel Sambuc
50*84d9c625SLionel Sambuc  --disable-re            DON'T use the nvi-provided RE routines.
51*84d9c625SLionel Sambuc  --enable-debug          Build a debugging version.
52*84d9c625SLionel Sambuc  --enable-perlinterp     Include a Perl interpreter in vi.
53*84d9c625SLionel Sambuc  --enable-tclinterp      Include a Tk/Tcl interpreter in vi.
54*84d9c625SLionel Sambuc  --enable-gtk		  Build a gtk front-end.
55*84d9c625SLionel Sambuc  --enable-motif	  Build a motif front-end.
56*84d9c625SLionel Sambuc  --enable-threads	  Turn on thread support.
57*84d9c625SLionel Sambuc  --enable-widechar	  Build a wide character aware vi (experimental).
58*84d9c625SLionel Sambuc  --with-curses=DIR       Path to curses installation.
59*84d9c625SLionel Sambuc  --with-db3=db3prefix    Path to db3 installation.
60*84d9c625SLionel Sambuc  --enable-dynamic-loading Load DB 3 dynamically.
61*84d9c625SLionel Sambuc
62*84d9c625SLionel Sambucdisable-re:
63*84d9c625SLionel Sambuc	By default, nvi loads its own versions of the POSIX 1003.2 Regular
64*84d9c625SLionel Sambuc	Expression routines (which are Henry Spencer's implementation).
65*84d9c625SLionel Sambuc	If your C library contains an implementation of the POSIX 1003.2
66*84d9c625SLionel Sambuc	RE routines (note, this is NOT the same as the historic UNIX RE
67*84d9c625SLionel Sambuc	routines), and you want to use them instead, enter:
68*84d9c625SLionel Sambuc
69*84d9c625SLionel Sambuc	--disable-re
70*84d9c625SLionel Sambuc
71*84d9c625SLionel Sambuc	as an argument to configure, and the RE routines will be taken
72*84d9c625SLionel Sambuc	from whatever libraries you load.  Please ensure that your RE
73*84d9c625SLionel Sambuc	routines implement Henry Spencer's extensions for doing vi-style
74*84d9c625SLionel Sambuc	"word" searches.
75*84d9c625SLionel Sambuc
76*84d9c625SLionel Sambucenable-debug:
77*84d9c625SLionel Sambuc	If you want to build nvi with no optimization (i.e. without -O
78*84d9c625SLionel Sambuc	as a compiler flag), with -g as a compiler flag, and with DEBUG
79*84d9c625SLionel Sambuc	defined during compilation, enter:
80*84d9c625SLionel Sambuc
81*84d9c625SLionel Sambuc	--enable-debug
82*84d9c625SLionel Sambuc
83*84d9c625SLionel Sambuc	as an argument to configure.
84*84d9c625SLionel Sambuc
85*84d9c625SLionel Sambucenable-perlinterp:
86*84d9c625SLionel Sambuc	If you have the Perl 5 libraries and you want to compile in the
87*84d9c625SLionel Sambuc	Perl interpreter, enter:
88*84d9c625SLionel Sambuc
89*84d9c625SLionel Sambuc	--enable-perlinterp
90*84d9c625SLionel Sambuc
91*84d9c625SLionel Sambuc	as an argument to configure.  (Note: this is NOT possible with
92*84d9c625SLionel Sambuc	Perl 4, or even with Perl 5 versions earlier than 5.002.)
93*84d9c625SLionel Sambuc
94*84d9c625SLionel Sambucenable-tclinterp:
95*84d9c625SLionel Sambuc	If you have the Tk/Tcl libraries and you want to compile in the
96*84d9c625SLionel Sambuc	Tcl/Tk interpreter, enter:
97*84d9c625SLionel Sambuc
98*84d9c625SLionel Sambuc	--enable-tclinterp
99*84d9c625SLionel Sambuc
100*84d9c625SLionel Sambuc	as an argument to configure.  If your Tk/Tcl include files and
101*84d9c625SLionel Sambuc	libraries aren't in the standard library and include locations,
102*84d9c625SLionel Sambuc	see the next section of this README file for more information.
103*84d9c625SLionel Sambuc
104*84d9c625SLionel Sambucenable-gtk:
105*84d9c625SLionel Sambuc	If you have the Gtk libraries and you want to build the Gtk
106*84d9c625SLionel Sambuc	nvi front-end, enter:
107*84d9c625SLionel Sambuc
108*84d9c625SLionel Sambuc	--enable-gtk
109*84d9c625SLionel Sambuc
110*84d9c625SLionel Sambuc	as an argument to configure.  If your Gtk include files and
111*84d9c625SLionel Sambuc	libraries aren't in the standard library and include locations,
112*84d9c625SLionel Sambuc	see the next section of this README file for more information.
113*84d9c625SLionel Sambuc	See also the enable-threads option.
114*84d9c625SLionel Sambuc
115*84d9c625SLionel Sambucenable-motif:
116*84d9c625SLionel Sambuc	If you have the Motif libraries and you want to build the Motif
117*84d9c625SLionel Sambuc	nvi front-end, enter:
118*84d9c625SLionel Sambuc
119*84d9c625SLionel Sambuc	--enable-motif
120*84d9c625SLionel Sambuc
121*84d9c625SLionel Sambuc	as an argument to configure.  If your Motif include files and
122*84d9c625SLionel Sambuc	libraries aren't in the standard library and include locations,
123*84d9c625SLionel Sambuc	see the next section of this README file for more information.
124*84d9c625SLionel Sambuc
125*84d9c625SLionel Sambucenable-threads:
126*84d9c625SLionel Sambuc	If you want to be able to use multiple windows in the Gtk
127*84d9c625SLionel Sambuc	front-end, you should specify this option.
128*84d9c625SLionel Sambuc
129*84d9c625SLionel Sambucwith-curses:
130*84d9c625SLionel Sambuc	Specifies the path where curses is installed.
131*84d9c625SLionel Sambuc
132*84d9c625SLionel Sambucwith-db3:
133*84d9c625SLionel Sambuc	Specifies the path where DB3 is installed.
134*84d9c625SLionel Sambuc	See README.DB3 for more information about DB3.
135*84d9c625SLionel Sambuc
136*84d9c625SLionel Sambucenable-dynamic-loading:
137*84d9c625SLionel Sambuc	Dynamically load DB3 library.
138*84d9c625SLionel Sambuc	See README.DB3 for more information about DB3.
139*84d9c625SLionel Sambuc
140*84d9c625SLionel Sambucenable-widechar:
141*84d9c625SLionel Sambuc	Enables support for wide characters.
142*84d9c625SLionel Sambuc	Note that this is still rather experimental.
143*84d9c625SLionel Sambuc
144*84d9c625SLionel Sambuc	If you try this out on Solaris, you will want to point nvi
145*84d9c625SLionel Sambuc	to the curses in /usr/xpg4/ which is CSI compliant.
146*84d9c625SLionel Sambuc
147*84d9c625SLionel Sambuc=-=-=-=-=-=-=
148*84d9c625SLionel SambucADDING OR CHANGING COMPILERS, OR COMPILE OR LOAD LINE FLAGS
149*84d9c625SLionel Sambuc=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=
150*84d9c625SLionel Sambuc
151*84d9c625SLionel SambucIf you want to use a specific compiler, specify the CC environment
152*84d9c625SLionel Sambucvariable before running configure.  For example:
153*84d9c625SLionel Sambuc
154*84d9c625SLionel Sambuc	env CC=gcc configure
155*84d9c625SLionel Sambuc
156*84d9c625SLionel SambucUsing anything other than the native compiler will almost certainly
157*84d9c625SLionel Sambucmean that you'll want to check the compile and load line flags, too.
158*84d9c625SLionel Sambuc
159*84d9c625SLionel SambucIf you want to specify additional load line flags, specify the ADDLDFLAGS
160*84d9c625SLionel Sambucenvironment variable before running configure.  For example:
161*84d9c625SLionel Sambuc
162*84d9c625SLionel Sambuc	env ADDLDFLAGS="-Q" configure
163*84d9c625SLionel Sambuc
164*84d9c625SLionel Sambucwould specify the -Q flag in the load line when the nvi programs are
165*84d9c625SLionel Sambucloaded.
166*84d9c625SLionel Sambuc
167*84d9c625SLionel SambucIf you don't want configure to use the default load line flags for the
168*84d9c625SLionel Sambucsystem, specify the LDFLAGS environment variable before running configure.
169*84d9c625SLionel SambucFor example:
170*84d9c625SLionel Sambuc
171*84d9c625SLionel Sambuc	env LDFLAGS="-32" configure
172*84d9c625SLionel Sambuc
173*84d9c625SLionel Sambucwill cause configure to set the load line flags to "-32", and not set
174*84d9c625SLionel Sambucthem based on the current system.
175*84d9c625SLionel Sambuc
176*84d9c625SLionel SambucIf you want to specify additional compile line flags, specify the
177*84d9c625SLionel SambucADDCPPFLAGS environment variable before running configure.  For example:
178*84d9c625SLionel Sambuc
179*84d9c625SLionel Sambuc	env ADDCPPFLAGS="-I../foo" configure
180*84d9c625SLionel Sambuc
181*84d9c625SLionel Sambucwould cause the compiler to be passed the -I../foo flag when compiling
182*84d9c625SLionel Sambuctest programs during configuration as well as when building nvi object
183*84d9c625SLionel Sambucfiles.
184*84d9c625SLionel Sambuc
185*84d9c625SLionel SambucIf you don't want configure to use the default compile line flags for the
186*84d9c625SLionel Sambucsystem, specify the CPPFLAGS environment variable before running configure.
187*84d9c625SLionel SambucFor example:
188*84d9c625SLionel Sambuc
189*84d9c625SLionel Sambuc	env CPPFLAGS="-I.." configure
190*84d9c625SLionel Sambuc
191*84d9c625SLionel Sambucwill cause configure to use "-I.." as the compile line flags instead of
192*84d9c625SLionel Sambucthe default values.
193*84d9c625SLionel Sambuc
194*84d9c625SLionel Sambuc=-=-=-=-=-=-=
195*84d9c625SLionel SambucADDING LIBRARIES AND INCLUDE FILES
196*84d9c625SLionel Sambuc=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=
197*84d9c625SLionel Sambuc
198*84d9c625SLionel SambucIf the Tk/Tcl or any other include files or libraries are in non-standard
199*84d9c625SLionel Sambucplaces on your system, you will need to specify the directory path where
200*84d9c625SLionel Sambucthey can be found.
201*84d9c625SLionel Sambuc
202*84d9c625SLionel SambucIf you want to specify additional library paths, set the ADDLIBS environment
203*84d9c625SLionel Sambucvariable before running configure.  For example:
204*84d9c625SLionel Sambuc
205*84d9c625SLionel Sambuc	env ADDLIBS="-L/a/b -L/e/f -ldb" configure
206*84d9c625SLionel Sambuc
207*84d9c625SLionel Sambucwould specify two additional directories to search for libraries, /a/b
208*84d9c625SLionel Sambucand /e/f, and one additional library to load, "db".
209*84d9c625SLionel Sambuc
210*84d9c625SLionel SambucIf you want to specify additional include paths, specify the ADDCPPFLAGS
211*84d9c625SLionel Sambucenvironment variable before running configure.  For example:
212*84d9c625SLionel Sambuc
213*84d9c625SLionel Sambuc	env ADDCPPFLAGS="-I/usr/local/include" LIBS="-ldb" configure
214*84d9c625SLionel Sambuc
215*84d9c625SLionel Sambucwould search /usr/local/include for include files, as well as load the db
216*84d9c625SLionel Sambuclibrary as described above.
217*84d9c625SLionel Sambuc
218*84d9c625SLionel SambucAs a final example, let's say that you've downloaded ncurses from the net
219*84d9c625SLionel Sambucand you've built it in a directory named ncurses which is at the same
220*84d9c625SLionel Sambuclevel in the filesystem hierarchy as nvi.  You would enter something like:
221*84d9c625SLionel Sambuc
222*84d9c625SLionel Sambuc	env ADDCPPFLAGS="-I../../ncurses/include" \
223*84d9c625SLionel Sambuc	    ADDLIBS="-L../../ncurses/libraries" configure
224*84d9c625SLionel Sambuc
225*84d9c625SLionel Sambucto cause nvi to look for the curses include files and the curses library
226*84d9c625SLionel Sambucin the ncurses environment.
227*84d9c625SLionel Sambuc
228*84d9c625SLionel SambucNotes:
229*84d9c625SLionel Sambuc	Make sure that you prepend -L to any library directory names, and
230*84d9c625SLionel Sambuc	that you prepend -I to any include file directory names!  Also,
231*84d9c625SLionel Sambuc	make sure that you quote the paths as shown above, i.e. with
232*84d9c625SLionel Sambuc	single or double quotes around the values you're specifying for
233*84d9c625SLionel Sambuc	ADDCPPFLAGS and ADDLIBS.
234*84d9c625SLionel Sambuc
235*84d9c625SLionel Sambuc	=-=-=-=-=-=
236*84d9c625SLionel Sambuc	You should NOT need to add any libraries or include files to load
237*84d9c625SLionel Sambuc	the Perl5 interpreter.  The configure script will obtain that
238*84d9c625SLionel Sambuc	information directly from the Perl5 program.  This means that the
239*84d9c625SLionel Sambuc	configure script must be able to find perl in its path.  It looks
240*84d9c625SLionel Sambuc	for "perl5" first, and then "perl".  If you're building a Perl
241*84d9c625SLionel Sambuc	interpreter and neither is found, it's a fatal error.
242*84d9c625SLionel Sambuc
243*84d9c625SLionel Sambuc	=-=-=-=-=-=
244*84d9c625SLionel Sambuc	You do not need to specify additional libraries to load Tk/Tcl,
245*84d9c625SLionel Sambuc	Perl or curses, as the nvi configuration script adds the
246*84d9c625SLionel Sambuc	appropriate libraries to the load line whenever you specify
247*84d9c625SLionel Sambuc	--enable-tknvi or other Perl or Tk/Tcl related option, or build
248*84d9c625SLionel Sambuc	the Tk/Tcl or curses version of nvi.  The library names that are
249*84d9c625SLionel Sambuc	automatically loaded are as follows:
250*84d9c625SLionel Sambuc
251*84d9c625SLionel Sambuc	for Perl:	-lperl
252*84d9c625SLionel Sambuc	for Tk/Tcl:	-ltk -ltcl -lm
253*84d9c625SLionel Sambuc	for curses:	-lcurses
254*84d9c625SLionel Sambuc
255*84d9c625SLionel Sambuc	In addition, the configure script loads:
256*84d9c625SLionel Sambuc
257*84d9c625SLionel Sambuc		... the X libraries when loading the Tk/Tcl libraries,
258*84d9c625SLionel Sambuc		    if they exist.
259*84d9c625SLionel Sambuc
260*84d9c625SLionel Sambuc		... the -ltermcap or -ltermlib libraries when loading
261*84d9c625SLionel Sambuc		    any curses library, if they exist.
262*84d9c625SLionel Sambuc
263*84d9c625SLionel Sambuc	=-=-=-=-=-=
264*84d9c625SLionel Sambuc	The env command is available on most systems, and simply sets one
265*84d9c625SLionel Sambuc	or more environment variables before running a command.  If the
266*84d9c625SLionel Sambuc	env command is not available to you, you can set the environment
267*84d9c625SLionel Sambuc	variables in your shell before running configure.  For example,
268*84d9c625SLionel Sambuc	in sh or ksh, you could do:
269*84d9c625SLionel Sambuc
270*84d9c625SLionel Sambuc		ADDLIBS="-L/a/b -L/e/f -ldb" configure
271*84d9c625SLionel Sambuc
272*84d9c625SLionel Sambuc	and in csh or tcsh, you could do:
273*84d9c625SLionel Sambuc
274*84d9c625SLionel Sambuc		setenv ADDLIBS "-L/a/b -L/e/f -ldb"
275*84d9c625SLionel Sambuc		configure
276*84d9c625SLionel Sambuc
277*84d9c625SLionel Sambuc	See your shell manual page for further information.
278*84d9c625SLionel Sambuc
279*84d9c625SLionel Sambuc=-=-=-=-=-=-=
280*84d9c625SLionel SambucINSTALLING NVI
281*84d9c625SLionel Sambuc=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=
282*84d9c625SLionel Sambuc
283*84d9c625SLionel SambucNvi installs the following files into the following locations, with
284*84d9c625SLionel Sambucthe following default values:
285*84d9c625SLionel Sambuc
286*84d9c625SLionel SambucVariables:		Default value:
287*84d9c625SLionel Sambucprefix			/usr/local
288*84d9c625SLionel Sambucexec_prefix		$(prefix)
289*84d9c625SLionel Sambucbindir			$(prefix)/bin
290*84d9c625SLionel Sambucdatadir			$(prefix)/share
291*84d9c625SLionel Sambucmandir			$(prefix)/man
292*84d9c625SLionel Sambuc
293*84d9c625SLionel SambucFile(s):		Default location
294*84d9c625SLionel Sambuc----------------------------------------
295*84d9c625SLionel Sambucvi			$(bindir)/vi
296*84d9c625SLionel Sambucvi.1			$(mandir)/man1/vi.1
297*84d9c625SLionel Sambucvi.0			$(mandir)/cat1/vi.0
298*84d9c625SLionel SambucPerl scripts		$(datadir)/vi/perl/
299*84d9c625SLionel SambucTcl scripts		$(datadir)/vi/tcl/
300*84d9c625SLionel SambucMessage Catalogs	$(datadir)/vi/catalog/
301*84d9c625SLionel Sambuc
302*84d9c625SLionel SambucNotes:
303*84d9c625SLionel Sambuc	There are two hard links to the vi program, named ex and view.
304*84d9c625SLionel Sambuc	Similarly, there are two hard links to the unformatted vi manual
305*84d9c625SLionel Sambuc	page, named ex.1 and view.1, and two hard links to the formatted
306*84d9c625SLionel Sambuc	manual page, named ex.0 and view.0.  These links are created when
307*84d9c625SLionel Sambuc	the program and man pages are installed.
308*84d9c625SLionel Sambuc
309*84d9c625SLionel Sambuc	If you want to install vi, ex, view and the man pages as nvi, nex,
310*84d9c625SLionel Sambuc	nview, use the configure option --program-prefix=n.  Other, more
311*84d9c625SLionel Sambuc	complex transformations are possible -- use configure --help to
312*84d9c625SLionel Sambuc	see more options.
313*84d9c625SLionel Sambuc
314*84d9c625SLionel Sambuc	To move the entire installation tree somewhere besides /usr/local,
315*84d9c625SLionel Sambuc	change the value of both "exec_prefix" and "prefix".  To move the
316*84d9c625SLionel Sambuc	binaries to a different place, change the value of "bindir".
317*84d9c625SLionel Sambuc	Similarly, to put the datafiles (the message catalogs, Perl and
318*84d9c625SLionel Sambuc	Tcl scripts) or the man pages in a different place, change the
319*84d9c625SLionel Sambuc	value of "datadir" or "mandir".  These values can be changed as
320*84d9c625SLionel Sambuc	part of configuration:
321*84d9c625SLionel Sambuc
322*84d9c625SLionel Sambuc		configure --exec_prefix=/usr/contrib --prefix=/usr/share
323*84d9c625SLionel Sambuc
324*84d9c625SLionel Sambuc	or when doing the install itself:
325*84d9c625SLionel Sambuc
326*84d9c625SLionel Sambuc		make exec_prefix=/usr/contrib prefix=/usr/contrib install
327*84d9c625SLionel Sambuc
328*84d9c625SLionel Sambuc	The datafile directory (e.g., /usr/local/share/vi by default) is
329*84d9c625SLionel Sambuc	completely removed and then recreated as part of the installation
330*84d9c625SLionel Sambuc	process.
331*84d9c625SLionel Sambuc
332*84d9c625SLionel Sambuc=-=-=-=-=-=-=
333*84d9c625SLionel SambucNVI AND THE CURSES LIBRARY
334*84d9c625SLionel Sambuc=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=
335*84d9c625SLionel Sambuc
336*84d9c625SLionel SambucThe major portability problem for nvi is selecting a curses library.
337*84d9c625SLionel SambucUnfortunately, it is common to find broken versions of curses -- the
338*84d9c625SLionel Sambucoriginal System V curses was broken, resulting in all vendors whose
339*84d9c625SLionel Sambucimplementations are derived from System V having broken implementations
340*84d9c625SLionel Sambucin turn.
341*84d9c625SLionel Sambuc
342*84d9c625SLionel SambucIf you use the vendor's or other curses library, and you see any of the
343*84d9c625SLionel Sambucfollowing symptoms:
344*84d9c625SLionel Sambuc
345*84d9c625SLionel Sambuc	+ Core dumps in curses routines.
346*84d9c625SLionel Sambuc	+ Missing routines when compiling.
347*84d9c625SLionel Sambuc	+ Repainting the wrong characters on the screen.
348*84d9c625SLionel Sambuc	+ Displaying inverse video in the wrong places.
349*84d9c625SLionel Sambuc	+ Failure to reset your terminal to the correct modes on exit.
350*84d9c625SLionel Sambuc
351*84d9c625SLionel Sambucyou have a broken curses implementation, and you should reconfigure nvi
352*84d9c625SLionel Sambucto use another curses library.
353*84d9c625SLionel Sambuc
354*84d9c625SLionel SambucAn alternative for your vendor's curses is ncurses, available from
355*84d9c625SLionel Sambucftp://ftp.gnu.org/pub/gnu/ncurses/
356*84d9c625SLionel Sambuc
357*84d9c625SLionel SambucOne final note.  If you see the following symptoms:
358*84d9c625SLionel Sambuc
359*84d9c625SLionel Sambuc	+ Line-by-line screen repainting instead of scrolling.
360*84d9c625SLionel Sambuc
361*84d9c625SLionel Sambucit usually means that your termcap or terminfo information is insufficient
362*84d9c625SLionel Sambucfor the terminal.
363