annotate src/INSTALLvms.txt @ 32838:eaf22d1df3c1 v9.0.1731

patch 9.0.1731: blockwise Visual highlight not working with virtual text Commit: https://github.com/vim/vim/commit/6e940d9a1d4ff122aad1b0821c784a60b507d45c Author: zeertzjq <zeertzjq@outlook.com> Date: Thu Aug 17 23:21:40 2023 +0200 patch 9.0.1731: blockwise Visual highlight not working with virtual text Problem: blockwise Visual highlight not working with virtual text Solution: Reset the correct variable at the end of virtual selection and Check for double-width char inside virtual text. closes: #12606 Signed-off-by: Christian Brabandt <cb@256bit.org> Co-authored-by: zeertzjq <zeertzjq@outlook.com>
author Christian Brabandt <cb@256bit.org>
date Thu, 17 Aug 2023 23:30:04 +0200
parents 2295ee9c025d
children cb88e5c589d0
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
7
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
1 INSTALLvms.txt - Installation of Vim on OpenVMS
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
2
412
53c36fa7dc29 updated for version 7.0108
vimboss
parents: 7
diff changeset
3 Maintainer: Zoltan Arpadffy <arpadffy@polarhome.com>
1619
b9740fb41986 updated for version 7.2a
vimboss
parents: 1188
diff changeset
4 Last change: 2008 Jan 06
7
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
5
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
6 This file contains instructions for compiling Vim on Openvms.
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
7 If you already have an executable version of Vim, you don't need this.
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
8
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
9 If you skip settings described here, then you will get the default Vim
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
10 behavior as it is documented, which should be fine for most users.
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
11
23047
29c5f168c6fd Update runtime files
Bram Moolenaar <Bram@vim.org>
parents: 19195
diff changeset
12 The file "feature.h" can be edited to match your preferences, but this file
7
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
13 does not describe possibilities hidden in feature.h acrobatics, however
23047
29c5f168c6fd Update runtime files
Bram Moolenaar <Bram@vim.org>
parents: 19195
diff changeset
14 parameters from MAKE_VMS.MMS actively use and set up parameters in relation
7
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
15 with feature.h
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
16
23047
29c5f168c6fd Update runtime files
Bram Moolenaar <Bram@vim.org>
parents: 19195
diff changeset
17 More information and case analysis you can find in os_vms.txt
7
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
18 ([runtime.doc]os_vms.txt or :help vms from vim prompt)
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
19
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
20 Contents:
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
21 1. Download files
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
22 2. Configuration
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
23 3. Compilation DECC
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
24 4. Compilation VAXC
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
25 5. CTAGS, XXD
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
26 6. Deployment
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
27 7. GTK and other features
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
28 8. Notes
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
29 9. Authors
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
30
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
31 ----------------------------------------------------------------------------
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
32 1. Download files
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
33
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
34 1.1. Visit the Vim ftp site (see ftp://ftp.vim.org/pub/vim/MIRRORS)
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
35 and obtain the following three files:
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
36
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
37 unix/vim-X.X-src.tar.gz
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
38 unix/vim-X.X-rt.tar.gz
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
39 extra/vim-X.X-extra.tar.gz
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
40
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
41 where X.X is the version number.
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
42
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
43 1.2. Expand the three archives.
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
44
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
45 1.3. Apply patches if they exist. (Patch files are found in the ftp
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
46 site in the "patches" directory.)
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
47
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
48 1.4. You will need either the DECSET mms utility or the freely available clone
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
49 of it called mmk (VMS has no make utility in the standard distribution).
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
50 You can download mmk from http://www.openvms.digital.com/freeware/MMK/
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
51
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
52 1.5. If you want to have Perl, Python or Tcl support in Vim you will need VMS
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
53 distributions for them as well.
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
54
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
55 1.6 If you want to have GTK executable, you need to have properly installed
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
56 GTK libraries.
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
57
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
58 NOTE: procedure in chapter 1 describes source code preparation from multi OS
1188
2a276274c592 updated for version 7.1b
vimboss
parents: 856
diff changeset
59 code, however it is available OpenVMS optimized (and tested) source code from:
7
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
60 ftp://ftp.polarhome.com/pub/vim/source/vms/
412
53c36fa7dc29 updated for version 7.0108
vimboss
parents: 7
diff changeset
61 (http://www.polarhome.com/vim/files/source/vms/)
7
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
62
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
63 Current OpenVMS source code as .zip or .tar.gz file is possible to download
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
64 from CVS mirror ftp://ftp.polarhome.com/pub/cvs/SOURCE/
412
53c36fa7dc29 updated for version 7.0108
vimboss
parents: 7
diff changeset
65 (http://www.polarhome.com/cvs/SOURCE/)
7
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
66
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
67 2. Configuration
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
68
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
69 2.1. Edit vim-X.X/src/feature.h for your preference. (You can skip
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
70 this, then you will get the default behavior as is documented,
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
71 which should be fine for most people.)
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
72
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
73 For example, if you want to add the MULTI_BYTE feature, turn on
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
74 #define MULTI_BYTE
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
75
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
76 2.2 Edit vim-X.X/src/Make_vms.mms to customize your Vim. Options are:
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
77
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
78 Parameter name : MODEL
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
79 Description : Build model selection
30645
101f08b49ed3 patch 9.0.0657: too many #ifdefs
Bram Moolenaar <Bram@vim.org>
parents: 23047
diff changeset
80 Options: : TINY - No optional features enabled
7
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
81 NORMAL - A default selection of features enabled
30731
2295ee9c025d patch 9.0.0700: there is no real need for a "big" build
Bram Moolenaar <Bram@vim.org>
parents: 30645
diff changeset
82 (OpenVMS default)
1619
b9740fb41986 updated for version 7.2a
vimboss
parents: 1188
diff changeset
83 HUGE - All possible features enabled.
30731
2295ee9c025d patch 9.0.0700: there is no real need for a "big" build
Bram Moolenaar <Bram@vim.org>
parents: 30645
diff changeset
84 Uncommented - will default to NORMAL
2295ee9c025d patch 9.0.0700: there is no real need for a "big" build
Bram Moolenaar <Bram@vim.org>
parents: 30645
diff changeset
85 Default : MODEL = NORMAL
7
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
86
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
87 Parameter name : GUI
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
88 Description : GUI or terminal mode executable
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
89 Options: : YES - GUI executable
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
90 Uncommented - char only
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
91 Default : GUI = YES
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
92
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
93 Parameter name : GTK
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
94 Description : Enable GTK in GUI mode.
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
95 It enables features as toolbar etc.
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
96 Options: : YES - GTK executable
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
97 Uncommented - without GTK
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
98 Default : Uncommented
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
99
412
53c36fa7dc29 updated for version 7.0108
vimboss
parents: 7
diff changeset
100 Parameter name : XPM
53c36fa7dc29 updated for version 7.0108
vimboss
parents: 7
diff changeset
101 Description : Enable XPM libraries in GUI/Motif mode.
53c36fa7dc29 updated for version 7.0108
vimboss
parents: 7
diff changeset
102 It enables features as toolbar etc.
53c36fa7dc29 updated for version 7.0108
vimboss
parents: 7
diff changeset
103 Options: : YES - GUI executable
53c36fa7dc29 updated for version 7.0108
vimboss
parents: 7
diff changeset
104 Uncommented - without XPM
53c36fa7dc29 updated for version 7.0108
vimboss
parents: 7
diff changeset
105 Default : Uncommented
53c36fa7dc29 updated for version 7.0108
vimboss
parents: 7
diff changeset
106
7
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
107 Parameter name : DECC
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
108 Description : Compiler selection
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
109 Options: : YES - DECC compiler
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
110 Uncommented - VAXC compiler
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
111 Default : DECC = YES
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
112
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
113 Parameter name : CCVER
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
114 Description : Compiler version with :ver command
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
115 Options: : YES - Compiler version info will be added
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
116 Uncommented - will not be added
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
117 Default : CCVER = YES
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
118
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
119 Parameter name : DEBUG
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
120 Description : Building a debug version
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
121 Options: : YES - debug version will be built
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
122 Uncommented - building normal executable
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
123 Default : Uncommented
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
124
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
125 Parameter name : VIM_TCL
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
126 Description : Add Tcl support
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
127 Options: : YES - Build with support
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
128 Uncommented - build without support.
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
129 Default : Uncommented
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
130
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
131 Parameter name : VIM_PERL
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
132 Description : Add Perl support
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
133 Options: : YES - Build with support
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
134 Uncommented - build without support.
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
135 Default : Uncommented
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
136
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
137 Parameter name : VIM_PYTHON
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
138 Description : Add Python support
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
139 Options: : YES - Build with support
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
140 Uncommented - build without support.
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
141 Default : Uncommented
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
142
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
143 Parameter name : VIM_XIM
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
144 Description : X Input Method. For entering special languages
23047
29c5f168c6fd Update runtime files
Bram Moolenaar <Bram@vim.org>
parents: 19195
diff changeset
145 like Chinese and Japanese. Please define just
7
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
146 one: VIM_XIM or VIM_HANGULIN
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
147 Options: : YES - Build with support
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
148 Uncommented - build without support.
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
149 Default : Uncommented
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
150
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
151 Parameter name : VIM_HANGULIN
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
152 Description : Internal Hangul input method. GUI only.
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
153 Please define just one: VIM_XIM or VIM_HANGULIN
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
154 Options: : YES - Build with support
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
155 Uncommented - build without support.
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
156 Default : Uncommented
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
157
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
158 Parameter name : VIM_TAG_ANYWHITE
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
159 Description : Allow any white space to separate the fields in a
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
160 tags file
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
161 When not defined, only a TAB is allowed.
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
162 Options: : YES - Build with support
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
163 Uncommented - build without support.
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
164 Default : Uncommented
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
165
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
166 You can edit the *_INC and *_LIB qualifiers, but it is really
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
167 not recommended for beginners.
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
168
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
169 3. Compilation DECC
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
170
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
171 3.1. If you have MSS on your system, the command
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
172
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
173 mms /descrip=Make_vms.mms
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
174
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
175 will start building your own customized version of Vim.
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
176 The adequate command for mmk is:
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
177
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
178 mmk /descrip=Make_vms.mms
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
179
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
180 NOTE: Because of empty /auto/config.h (needed for Unix configure) build
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
181 will fail with very strange messages. Therefore before building, it is
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
182 recommended to make one clean up, to prepare everything for OpenVMS
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
183 development. The command is:
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
184
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
185 mms /descrip=Make_vms.mms clean
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
186
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
187 4. Compilation VAXC
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
188
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
189 4.1. VAXC compiler is not fully ANSI C compatible in pre-processor directives
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
190 semantics, therefore you have to use a converter program what will do the
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
191 lion part of the job.
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
192
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
193 @os_vms_fix.com *.c *.h <.proto>*.pro
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
194
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
195 more information can be found in os_vms_fix.com file itself.
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
196
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
197 NOTE: even if os_vms_fix.com will fix all pre-processor directives it will
19195
2ef19eed524a patch 8.2.0156: various typos in source files and tests
Bram Moolenaar <Bram@vim.org>
parents: 18456
diff changeset
198 leave single (long) line directives. You have to fix them manually.
7
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
199 Known problematic files are option.h and option.c
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
200
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
201 4.2. After the conversion you can continue building as it has been described
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
202 above.
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
203
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
204 5. CTAGS, XXD
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
205
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
206 5.1. MMS_VIM.EXE is building together with VIM.EXE, but for CTAGS.EXE and
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
207 XXD.EXE you should change to subdirectory <.CTAGS> or <.XXD> and build
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
208 them separately.
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
209
23047
29c5f168c6fd Update runtime files
Bram Moolenaar <Bram@vim.org>
parents: 19195
diff changeset
210 5.2. In these directories you can find one make file for VMS as well.
7
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
211 Please read the detailed build instructions in the related *.MMS file.
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
212
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
213 6. Deployment
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
214
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
215 6.1. Copy over all executables to the deployment directory.
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
216
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
217 6.2. Vim uses a special directory structure to hold the document and runtime
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
218 files:
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
219
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
220 vim (or wherever)
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
221 |-- doc
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
222 |-- syntax
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
223 vimrc (system rc files)
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
224 gvimrc
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
225
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
226 6.3 Define logicals VIM
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
227
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
228 define/nolog VIM device:[leading-path-here.vim]
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
229
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
230 to get vim.exe to find its document, filetype, and syntax files.
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
231
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
232 Now, if you are lucky you should have one own built, customized and
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
233 working Vim.
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
234
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
235 7. GTK and other features
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
236
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
237 7.1 General notes
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
238
2453
1cd1c68045a2 Fix typos in README files. (Dominique Pelle)
Bram Moolenaar <bram@vim.org>
parents: 1619
diff changeset
239 To be able to build external GUI or language support you have to enable
18456
6d11fc4aa683 Update runtime files
Bram Moolenaar <Bram@vim.org>
parents: 4352
diff changeset
240 related feature in MAKE_VMS.MMS file. Usually it needs some extra tuning
7
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
241 around include files, shared libraries etc.
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
242
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
243 Please note, that leading "," are valuable for MMS/MMK syntax.
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
244
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
245 MAKE_VMS.MMS uses defines as described below:
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
246
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
247 7.1.1 feature_DEF = ,"SOME_FEATURE"
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
248
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
249 Submits definition to compiler preprocessor to enable code blocks
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
250 defined with
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
251 #ifdef SOME_FEATURE
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
252 {some code here}
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
253 #endif
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
254
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
255 Example: TCL_DEF = ,"FEAT_TCL"
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
256
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
257
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
258 7.1.2 feature_SRC = code1.c code2.c
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
259
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
260 Defines source code related with particular feature.
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
261 Example: TCL_SRC = if_tcl.c
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
262
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
263 7.1.3 feature_OBJ = code1.obj code2.obj
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
264
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
265 Lists objects created from source codes listed in feature_SRC
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
266 Example: PERL_OBJ = if_perlsfio.obj if_perl.obj
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
267
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
268 7.1.4 feature_LIB = ,OS_VMS_TCL.OPT/OPT
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
269
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
270 Defines the libraries that have to be used for build.
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
271 If it is an OPT file then MAKE_VMS.MMS creates OPT files
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
272 in gen_feature procedure.
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
273
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
274 Example:
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
275 PERL_LIB = ,OS_VMS_PERL.OPT/OPT
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
276
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
277 .IFDEF VIM_PERL
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
278 perl_env :
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
279 -@ write sys$output "creating OS_VMS_PERL.OPT file."
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
280 -@ open/write opt_file OS_VMS_PERL.OPT
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
281 -@ write opt_file "PERLSHR /share"
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
282 -@ close opt_file
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
283 .ELSE
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
284 perl_env :
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
285 -@ !
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
286 .ENDIF
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
287
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
288
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
289 7.1.5 feature_INC = ,dka0:[tcl80.generic]
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
290
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
291 Defines the directory where the necessary include files are.
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
292 Example: TCL_INC = ,dka0:[tcl80.generic]
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
293
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
294 7.2 GTK
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
295
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
296 To build VIM with GTK you have to install GTK on your OpenVMS.
412
53c36fa7dc29 updated for version 7.0108
vimboss
parents: 7
diff changeset
297 So far it works just on Alpha and IA64. More information at:
7
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
298 http://www.openvms.compaq.com/openvms/products/ips/gtk.html
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
299
23047
29c5f168c6fd Update runtime files
Bram Moolenaar <Bram@vim.org>
parents: 19195
diff changeset
300 You also need the OpenVMS Porting Library:
7
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
301 http://www.openvms.compaq.com/openvms/products/ips/porting.html
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
302
856
8cd729851562 updated for version 7.0g
vimboss
parents: 701
diff changeset
303 Source code for GTK and porting library that is used to build
701
4cf1c5977c35 updated for version 7.0212
vimboss
parents: 412
diff changeset
304 VMS executables at polarhome.com are at
4cf1c5977c35 updated for version 7.0212
vimboss
parents: 412
diff changeset
305 http://www.polarhome.com/vim/files/source/vms/
4cf1c5977c35 updated for version 7.0212
vimboss
parents: 412
diff changeset
306
7
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
307 Enable GTK in make_vms.mms file with GTK = YES
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
308 Define GTK_ROOT that points to your GTK root directory.
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
309
701
4cf1c5977c35 updated for version 7.0212
vimboss
parents: 412
diff changeset
310 You will need to edit GTKDIR variable in order to point
4cf1c5977c35 updated for version 7.0212
vimboss
parents: 412
diff changeset
311 to GTK header files and libraries.
4cf1c5977c35 updated for version 7.0212
vimboss
parents: 412
diff changeset
312
4cf1c5977c35 updated for version 7.0212
vimboss
parents: 412
diff changeset
313 GTK_DIR = ALPHA$DKA0:[GTK128.]
4cf1c5977c35 updated for version 7.0212
vimboss
parents: 412
diff changeset
314
4cf1c5977c35 updated for version 7.0212
vimboss
parents: 412
diff changeset
315 ".]" at the end is very important.
4cf1c5977c35 updated for version 7.0212
vimboss
parents: 412
diff changeset
316
7
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
317 Build it as normally.
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
318
19195
2ef19eed524a patch 8.2.0156: various typos in source files and tests
Bram Moolenaar <Bram@vim.org>
parents: 18456
diff changeset
319 Used shareable images are:
7
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
320 gtk_root:[glib]libglib.exe /share,-
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
321 gtk_root:[glib.gmodule]libgmodule.exe /share,-
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
322 gtk_root:[gtk.gdk]libgdk.exe /share,-
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
323 gtk_root:[gtk.gtk]libgtk.exe /share
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
324
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
325 During runtime it is suggested to have all these files installed and
1188
2a276274c592 updated for version 7.1b
vimboss
parents: 856
diff changeset
326 copied to SYS$LIBRARY: to be able to use it without problems.
7
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
327 Also VMS_JACKETS.EXE from OpenVMS Porting Library.
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
328
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
329 Please note, that GTK uses /name=(as_is,short)/float=ieee/ieee=denorm
4352
04736b4030ec updated for version 7.3.925
Bram Moolenaar <bram@vim.org>
parents: 2453
diff changeset
330 compiler directives that is not compatible with "standard" VMS usage,
7
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
331 therefore other external features might fail as PERL, PYTHON and TCL
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
332 support.
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
333
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
334 7.3 PERL
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
335
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
336 You have to install OpenVMS perl package from:
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
337 http://www.openvms.compaq.com/openvms/products/ips/apache/csws_perl_relnotes.html or build on your own from sources downloaded from http://www.perl.org
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
338
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
339 You need defined PERLSHR logical that points to PERL shareable image
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
340 (or you can just copy over to SYS$LIBRARY:)
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
341
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
342 Enable Perl feature at make_vms.mms with VIM_PERL = YES
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
343
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
344 Edit PERL_INC = to point to perl includes directory where is extern.h
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
345
23047
29c5f168c6fd Update runtime files
Bram Moolenaar <Bram@vim.org>
parents: 19195
diff changeset
346 Build as usual.
7
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
347
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
348 7.4 PYTHON
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
349
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
350 You have to install an OpenVMS python package.
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
351 Set up the normal Python work environment.
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
352
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
353 You have to have defined PYTHON_INCLUDE and PYTHON_OLB logicals.
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
354 PYTHON_INCLUDE should point to Python include files where for ex:
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
355 python.h is located.
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
356 Enable Python feature at make_vms.mms with VIM_PYTHON = YES
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
357
23047
29c5f168c6fd Update runtime files
Bram Moolenaar <Bram@vim.org>
parents: 19195
diff changeset
358 Build as usual.
7
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
359
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
360 7.5 TCL
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
361
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
362 You have to install an OpenVMS TCL package.
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
363 Set up the normal TCL work environment.
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
364
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
365 You have to have defined TCLSHR logical that points to shareable image.
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
366
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
367 Enable TCL feature at make_vms.mms with VIM_TCL = YES
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
368
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
369 Edit TCL_INC = to point to TCL includes directory where is tcl.h
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
370
23047
29c5f168c6fd Update runtime files
Bram Moolenaar <Bram@vim.org>
parents: 19195
diff changeset
371 Build as usual.
7
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
372
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
373 8. Notes
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
374
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
375 8.1. New Compaq C compiler
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
376
23047
29c5f168c6fd Update runtime files
Bram Moolenaar <Bram@vim.org>
parents: 19195
diff changeset
377 If you are using Compaq C compiler V6.2 or newer, informational messages
7
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
378 of the type QUESTCOMPARE will be displayed. You should ignore those
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
379 messages ; they are generated only because some test comparisons are done
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
380 with variables which type vary depending on the OS. Under VMS, those are
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
381 "unsigned" and the compiler issue a message whenever the comparison is
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
382 done with '<=' to 0. However, the code is correct and will behave as
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
383 expected.
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
384 ( Jerome Lauret <JLAURET@mail.chem.sunysb.edu> Vim 6.0n )
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
385 NOTE: from version 6.0ad Vim code has been reviewed and these warnings
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
386 have been corrected.
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
387
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
388 9. Authors
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
389
412
53c36fa7dc29 updated for version 7.0108
vimboss
parents: 7
diff changeset
390 Initial version, 2000 Jul 19, Zoltan Arpadffy <arpadffy@polarhome.com>