xref: /illumos-gate/usr/src/cmd/vi/port/ex_vars.h (revision 2a8bcb4efb45d99ac41c94a75c396b362c414f7f)
1 /*
2  * CDDL HEADER START
3  *
4  * The contents of this file are subject to the terms of the
5  * Common Development and Distribution License, Version 1.0 only
6  * (the "License").  You may not use this file except in compliance
7  * with the License.
8  *
9  * You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
10  * or http://www.opensolaris.org/os/licensing.
11  * See the License for the specific language governing permissions
12  * and limitations under the License.
13  *
14  * When distributing Covered Code, include this CDDL HEADER in each
15  * file and include the License file at usr/src/OPENSOLARIS.LICENSE.
16  * If applicable, add the following below this CDDL HEADER, with the
17  * fields enclosed by brackets "[]" replaced with your own identifying
18  * information: Portions Copyright [yyyy] [name of copyright owner]
19  *
20  * CDDL HEADER END
21  */
22 /*
23  * Copyright 1992 Sun Microsystems, Inc.  All rights reserved.
24  * Use is subject to license terms.
25  */
26 
27 /*	Copyright (c) 1984, 1986, 1987, 1988, 1989 AT&T	*/
28 /*	  All Rights Reserved  	*/
29 
30 
31 /*
32  * University Copyright- Copyright (c) 1982, 1986, 1988
33  * The Regents of the University of California
34  * All Rights Reserved
35  *
36  * University Acknowledgment- Portions of this document are derived from
37  * software developed by the University of California, Berkeley, and its
38  * contributors.
39  */
40 
41 #define	vi_AUTOINDENT		0
42 #define	vi_AUTOPRINT		1
43 #define	vi_AUTOWRITE		2
44 #define	vi_BEAUTIFY		3
45 #define	vi_DIRECTORY		4
46 #define	vi_EDCOMPATIBLE		5
47 #define	vi_ERRORBELLS		6
48 #define	vi_EXRC			7
49 #define	vi_FLASH		8
50 #define	vi_HARDTABS		9
51 #define	vi_IGNORECASE		10
52 #define	vi_LISP			11
53 #define	vi_LIST			12
54 #define	vi_MAGIC		13
55 #define	vi_MESG			14
56 #define	vi_MODELINES		15
57 #define	vi_NUMBER		16
58 #define	vi_NOVICE		17
59 #define	vi_OPTIMIZE		18
60 #define	vi_PARAGRAPHS		19
61 #define	vi_PROMPT		20
62 #define	vi_READONLY		21
63 #define	vi_REDRAW		22
64 #define	vi_REMAP		23
65 #define	vi_REPORT		24
66 #define	vi_SCROLL		25
67 #define	vi_SECTIONS		26
68 #define	vi_SHELL		27
69 #define	vi_SHIFTWIDTH		28
70 #define	vi_SHOWMATCH		29
71 #define	vi_SHOWMODE		30
72 #define	vi_SLOWOPEN		31
73 #define	vi_TABSTOP		32
74 #define	vi_TAGLENGTH		33
75 #define	vi_TAGS			34
76 #ifdef TAG_STACK
77 #define vi_TAGSTACK             35
78 #define vi_TERM                 36
79 #define vi_TERSE                37
80 #define vi_TIMEOUT              38
81 #define vi_TTYTYPE              39
82 #define vi_WARN                 40
83 #define vi_WINDOW               41
84 #define vi_WRAPSCAN             42
85 #define vi_WRAPMARGIN           43
86 #define vi_WRITEANY             44
87 
88 #define vi_NOPTS        45
89 #else
90 #define vi_TERM                 35
91 #define vi_TERSE                36
92 #define vi_TIMEOUT              37
93 #define vi_TTYTYPE              38
94 #define vi_WARN                 39
95 #define vi_WINDOW               40
96 #define vi_WRAPSCAN             41
97 #define vi_WRAPMARGIN           42
98 #define vi_WRITEANY             43
99 
100 #define vi_NOPTS        44
101 #endif
102 
103