summaryrefslogtreecommitdiff
path: root/usr.bin/vi/LAYOUT
blob: a7e0e81a049bf6888548d446efe1ebd4067b4d16 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
#	@(#)LAYOUT	8.11 (Berkeley) 8/11/96

LAYOUT
	This file: the layout of the nvi sources.

LICENSE
	Nvi's copyright notice and conditions for redistribution.

README
	Welcome message and basic information.

build/
	The build/configuration directory for nvi.  See build/README for
	more information.

catalog/
	Support for message catalogs for nvi.  See catalog/README for more
	information.

cl/
	Source files for nvi's curses screen support.

clib/
	Replacement source files for C library functions.

common/
	Source files for pieces of code that are shared by ex and vi,
	e.g., searching and logging code or code translating line numbers
	into requests to the dbopen(3) database code.  It also has the
	interface code for modifying "records" in the underlying database.

curses/
	A stripped-down replacement curses library.  Do not try and use
	this library outside of nvi, many standard curses functions have
	been removed because nvi doesn't use them.  See build/README for
	more information.

db/
	A stripped-down replacement DB library.  Do not try and use this
	library outside of nvi, many standard DB functions have been
	removed because nvi doesn't use them.  See db/README for more
	information.

docs/
	Ex/vi documentation, both current and historic.

	USD.doc/
		[USD stands for "User's Supplementary Documents".]

		edit/   Roff source for "Edit: A tutorial".  This document
			was USD:14 in the 4.3BSD manuals, but was not
			distributed with 4.4BSD.

		exref/  Roff source for "Ex Reference Manual -- Version
			3.7".  This document was USD:16 in the 4.3BSD
			manuals, and USD tabbed 12 in the 4.4BSD manuals.

		vi.man/ Roff source for a UNIX manual page for nex/nvi.
			An updated version of the 4.4BSD manual page.

		vi.ref/ Roff source for the nex/nvi reference document.
			An updated version of the 4.4BSD document, USD
			tabbed 13.

		vitut/  Roff source for "An Introduction to Display
			Editing with Vi".  This document was USD:15 in
			the 4.3BSD manuals, but was not distributed with
			4.4BSD.  It includes the historic "Vi Quick
			Reference" card.


		PostScript preformatted versions of the nex/nvi reference
		manual and manual page are in the files named with a ".ps"
		suffix, in their respective source directories.  Flat text
		preformatted versions of the nex/nvi reference manual and
		manual page are in the files named with a ".txt" suffix,
		in their respective source directories.

	changelog	-- Log of changes from version to version.
	features	-- Todo list, suggested features list.
	internals/
	    autowrite	-- Vi autowrite option discussion.
	    context	-- Previous context marks discussion.
	    gdb.script	-- GDB debugging scripts.
	    input	-- Vi maps, executable buffers, and input discussion.
	    openmode	-- Open mode behaviors.
	    quoting	-- Vi quoting discussion.
	    structures	-- Out-of-date nvi internal structure description.
	tutorial/	-- Historic vi tutorial(s), of unknown quality.

ex/
	The ex source code.  Because vi has the colon command, lots of
	this code is used by vi.  Generally, if functionality is shared
	by both ex and vi, it's in the ex directory.  If it's vi only,
	it's in the vi directory.  Files are generally named by the
	command(s) they support, but occasionally with a name that
	describes their functionality.

	version.h	-- Version information.

include/
	Replacement include files:

	bitstring.h	-- The 4.4BSD bitstring operations.
	sys/queue.h	-- The 4.4BSD queue operations.

install/
	Things to install on the local system.

	recover.script	-- Vi recovery script.

perl_api/
	Source code supporting the Perl scripting language for nvi.

perl_scripts/
	Scripts for Perl included with nvi.

regex/
	Henry Spencer's POSIX 1003.2 regular expression (RE) library.

tcl_api/
	Source code supporting the Tcl scripting language for nvi.

tcl_scripts/
	Scripts for Tcl included with nvi.

tk/
	Source files for nvi's Tk screen support.

	init.tcl	-- Vi startup tcl script.

vi/
	The vi source code.