annotate runtime/doc/os_390.txt @ 2092:98cc757f7e3d v7.2.376

updated for version 7.2.376 Problem: ml_get error when using SiSU syntax. (Nathan Thomas) Solution: If the match ends below the last line move it to the end of the last line.
author Bram Moolenaar <bram@zimbu.org>
date Wed, 24 Feb 2010 17:22:20 +0100
parents de5a43c5eedc
children 7c8c7c95a865
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
2033
de5a43c5eedc Update documentation files.
Bram Moolenaar <bram@zimbu.org>
parents: 1702
diff changeset
1 *os_390.txt* For Vim version 7.2. Last change: 2008 Dec 17
7
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
2
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
3
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
4 VIM REFERENCE MANUAL by Ralf Schandl
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
5
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
6 *zOS* *z/OS* *OS390* *os390* *MVS*
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
7 This file contains the particulars for the z/OS UNIX version of Vim.
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
8
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
9 1. Open source on z/OS UNIX |zOS-open-source|
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
10 2. Your feedback is needed |zOS-feedback|
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
11 3. Building VIM for z/OS UNIX |zOS-building|
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
12 4. ASCII/EBCDIC dependent scripts |zOS-has-ebcdic|
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
13 5. XTerm Problems |zOS-xterm|
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
14 6. Motif Problems |zOS-Motif|
236
4707450c2b33 updated for version 7.0066
vimboss
parents: 7
diff changeset
15 7. Bugs |zOS-Bugs|
7
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
16 8. Known weaknesses |zOS-weaknesses|
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
17 9. Changes |zOS-changes|
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
18
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
19 DISCLAIMER: ~
236
4707450c2b33 updated for version 7.0066
vimboss
parents: 7
diff changeset
20 We are IBM employees, but IBM is not responsible for this port. This is our
7
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
21 private fun, and is provided in the hopes that it may be useful to others.
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
22
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
23 Please note that this software has NOT been submitted to any formal IBM
236
4707450c2b33 updated for version 7.0066
vimboss
parents: 7
diff changeset
24 testing and is published AS IS. Please do not contact IBM for support for this
4707450c2b33 updated for version 7.0066
vimboss
parents: 7
diff changeset
25 software, as it is not an official component of any IBM product. IT IS NOT
7
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
26 SUPPORTED, GUARANTEED, OR RELATED WHATSOEVER TO IBM.
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
27
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
28 Contributors: ~
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
29 The port to z/OS UNIX was done by Ralf Schandl for the Redbook mentioned
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
30 below.
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
31
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
32 Changes, bug-reports, or both by:
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
33
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
34 David Moore
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
35 Anthony Giorgio <agiorgio@fastmail.fm>
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
36 and others
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
37
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
38 This document was written by Ralf Schandl and revised by Anthony Giorgio.
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
39
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
40 ==============================================================================
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
41 1. Open source on z/OS UNIX *OS390-open-source* *zOS-open-source*
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
42
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
43 If you are interested in other Open Source Software on z/OS UNIX, have a
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
44 look at the following Redbook:
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
45
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
46 Mike MacIsaac et al
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
47 "Open Source Software for z/OS and OS/390 UNIX"
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
48 IBM Form Number: SG24-5944-01
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
49 ISBN: 0738424633
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
50
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
51 You can find out more information, order a hard copy, or download a PDF
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
52 version of these Redbooks at:
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
53
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
54 http://www.redbooks.ibm.com
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
55
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
56 ==============================================================================
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
57 2. Your feedback is needed *OS390-feedback* *zOS-feedback*
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
58
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
59 Vim should compile, link, and run right out of the box on a standard IBM z/OS
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
60 UNIX mainframe. I've personally run it on z/OS V1R2 and V1R3 machines without
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
61 problems.
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
62
236
4707450c2b33 updated for version 7.0066
vimboss
parents: 7
diff changeset
63 Many changes had to be done to the code to port Vim to z/OS UNIX. As like
4707450c2b33 updated for version 7.0066
vimboss
parents: 7
diff changeset
64 most UNIX programs, Vim contained heavy ASCII dependencies. I might have
7
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
65 missed an ASCII dependency, or it is possible that a new one has been added
236
4707450c2b33 updated for version 7.0066
vimboss
parents: 7
diff changeset
66 with a feature or bug fix. Most programmers are simply not aware of possible
4707450c2b33 updated for version 7.0066
vimboss
parents: 7
diff changeset
67 ASCII/EBCDIC conversion issues. If you hit a problem that seems related to
7
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
68 this, feel free to contact us at the email addresses above.
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
69
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
70 One indication of ASCII/EBCDIC conversion problems is screen corruption with
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
71 "unprintable" characters. For example, at one point the errorbell was broken
236
4707450c2b33 updated for version 7.0066
vimboss
parents: 7
diff changeset
72 in Vim. Any time Vim tried to ring the terminal bell an ASCII character 0x07
4707450c2b33 updated for version 7.0066
vimboss
parents: 7
diff changeset
73 would be printed. This works fine on most terminals, but is broken on an
4707450c2b33 updated for version 7.0066
vimboss
parents: 7
diff changeset
74 EBCDIC one. The correct solution was to define a different value for the bell
7
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
75 character on EBCDIC systems.
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
76
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
77 Remember, it's only possible to fix a bug if the community knows about it.
236
4707450c2b33 updated for version 7.0066
vimboss
parents: 7
diff changeset
78 Don't rely on someone else to report it! See the section |bug-reports|.
7
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
79
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
80 ==============================================================================
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
81 3. Building VIM for z/OS UNIX *OS390-building* *zOS-building*
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
82
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
83 A word on debugging code first: ~
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
84
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
85 The normal run of configure adds the flag '-g' to the compiler options,
236
4707450c2b33 updated for version 7.0066
vimboss
parents: 7
diff changeset
86 to include debugging information into the executable. This information
7
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
87 are normally removed from the executable with the strip command during
236
4707450c2b33 updated for version 7.0066
vimboss
parents: 7
diff changeset
88 installation. On z/OS UNIX, it is not possible to remove this from
4707450c2b33 updated for version 7.0066
vimboss
parents: 7
diff changeset
89 the executable. The strip command exists on z/OS UNIX and is called
7
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
90 during the installation, but it does nothing. It is equivalent to the
236
4707450c2b33 updated for version 7.0066
vimboss
parents: 7
diff changeset
91 'touch' command. This is due to the way debug symbols are stored in the
7
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
92 objects generated by the compiler.
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
93
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
94 If you want to build Vim without debugging code, export the environment
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
95 variable CFLAGS set to an empty string before you call the configure script.
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
96 >
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
97 export CFLAGS=""
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
98
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
99
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
100 Building without X11: ~
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
101
236
4707450c2b33 updated for version 7.0066
vimboss
parents: 7
diff changeset
102 Note: Use cc to build Vim. The c89 compiler has stricter syntax checking
7
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
103 and will not compile Vim cleanly.
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
104
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
105 If you build VIM without X11 support, compiling and building is
236
4707450c2b33 updated for version 7.0066
vimboss
parents: 7
diff changeset
106 straightforward. Don't forget to export _CC_CCMODE=1 before calling
7
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
107 configure and make.
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
108 >
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
109 $ export _CC_CCMODE=1
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
110 $./configure --with-features=big --without-x --enable-gui=no
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
111 $ make
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
112 $ make test
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
113 <
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
114 Test notes:
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
115 Test 11 will fail if you do not have gzip installed.
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
116 Test 42 will fail, as VIM on z/OS UNIX doesn't support the multibyte
236
4707450c2b33 updated for version 7.0066
vimboss
parents: 7
diff changeset
117 feature. (David Moore: "Doesn't work _yet_! :-) I'll see what I
7
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
118 can do.")
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
119 >
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
120
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
121 $ make install
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
122
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
123
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
124 Building with X11: ~
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
125
236
4707450c2b33 updated for version 7.0066
vimboss
parents: 7
diff changeset
126 There are two ways for building Vim with X11 support. You can link it
4707450c2b33 updated for version 7.0066
vimboss
parents: 7
diff changeset
127 statically with the X11 libraries or can bind it with the X11 DLLs. The
7
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
128 statically linked version results in a huge executable (~13MB), while the
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
129 dynamically linked executable is much smaller (~4.5MB).
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
130
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
131 Here is what you do, if you want Motif:
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
132
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
133 a) Static link >
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
134 $ configure --with-features=big --enable-gui=motif
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
135 $ make
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
136 <
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
137 VIM is now linked statically with the X11 libraries.
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
138
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
139 b) Dynamic link:
236
4707450c2b33 updated for version 7.0066
vimboss
parents: 7
diff changeset
140 Make VIM as described for the static link. Then change the contents of
7
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
141 the 'auto/link.sed' file by appending: >
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
142 s%-lXm *%/usr/lib/Xm.x %g
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
143 s%-lX11 *%/usr/lib/X11.x %g
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
144 s%-lSM *%/usr/lib/SM.x %g
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
145 s%-lICE *%/usr/lib/ICE.x %g
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
146 <
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
147 Then do: >
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
148 $ rm vim
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
149 $ make
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
150 <
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
151 Now Vim is linked with the X11-DLLs.
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
152
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
153 See the Makefile and the file link.sh on how link.sed is used.
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
154
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
155 ==============================================================================
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
156 4. ASCII/EBCDIC dependent scripts *OS390-has-ebcdic* *zOS-has-ebcdic*
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
157
236
4707450c2b33 updated for version 7.0066
vimboss
parents: 7
diff changeset
158 For the internal script language the feature "ebcdic" was added. With this
7
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
159 you can fix ASCII dependent scripts like this:
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
160 >
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
161 if has("ebcdic")
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
162 let space = 64
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
163 else
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
164 let space = 32
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
165 endif
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
166 <
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
167 ==============================================================================
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
168 5. XTerm problems *OS390-xterm* *zOS-xterm*
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
169
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
170 Note: This problem was resolved in version 6.1b. ~
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
171
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
172 I saw one problem with XTerm on z/OS UNIX. The terminal code for moving the
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
173 cursor to the left is wrong in the termlib database. Perhaps not wrong, but
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
174 it didn't work with VIM syntax highlighting and command line cursor movement.
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
175
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
176 If the highlighting is messed up while you type, but is okay after you refreshed
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
177 the screen with <C-L> or if you can't move to the left with the cursor key on
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
178 the command line, try adding >
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
179 :set t_le=^H
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
180 <
236
4707450c2b33 updated for version 7.0066
vimboss
parents: 7
diff changeset
181 to your .vimrc. Note: '^H' is one character, hit <C-V><C-H> to get it.
7
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
182
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
183 ==============================================================================
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
184 6. Motif Problems *OS390-Motif* *zOS-Motif*
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
185
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
186 It seems that in porting the Motif library to z/OS, a translation from EBCDIC
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
187 to ASCII for the accelerator characters of the pull-down menus was forgotten.
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
188 Even after I tried to hand convert the menus, the accelerator keys continued
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
189 to only work for the opening of menus (like <Alt-F> to open the file menu).
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
190 They still do not work for the menu items themselves (like <Alt-F>O to open
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
191 the file browser).
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
192
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
193 There is no solution for this as of yet.
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
194
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
195 ==============================================================================
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
196 7. Bugs *OS390-bugs* *zOS-Bugs*
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
197
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
198 - Vim will consistently hang when a large amount of text is selected in
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
199 visual block mode. This may be due to a memory corruption issue. Note that
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
200 this occurs in both the terminal and gui versions.
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
201
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
202 ==============================================================================
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
203 8. Known weaknesses *OS390-weaknesses* *zOS-weaknesses*
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
204
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
205 - No binary search in tag files.
236
4707450c2b33 updated for version 7.0066
vimboss
parents: 7
diff changeset
206 The program /bin/sort sorts by ASCII value by default. This program is
4707450c2b33 updated for version 7.0066
vimboss
parents: 7
diff changeset
207 normally used by ctags to sort the tags. There might be a version of
4707450c2b33 updated for version 7.0066
vimboss
parents: 7
diff changeset
208 ctags out there, that does it right, but we can't be sure. So this seems to
7
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
209 be a permanent restriction.
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
210
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
211 - Multibyte support (utf-8) doesn't work, it's disabled at compile time.
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
212 (|multibyte|)
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
213
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
214 - The cscope interface (|cscope|) doesn't work for the version of cscope
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
215 that we use on our mainframe. We have a copy of version 15.0b12, and it
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
216 causes Vim to hang when using the "cscope add" command. I'm guessing that
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
217 the binary format of the cscope database isn't quite what Vim is expecting.
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
218 I've tried to port the current version of cscope (15.3) to z/OS, without
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
219 much success. If anyone is interested in trying, drop me a line if you
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
220 make any progress.
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
221
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
222 - No glib/gtk support. I have not been able to successfully compile glib on
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
223 z/OS UNIX. This means you'll have to live without the pretty gtk toolbar.
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
224
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
225 Never tested:
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
226 - Perl interface (|perl|)
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
227 - Hangul input (|hangul|)
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
228 - Encryption support (|encryption|)
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
229 - Langmap (|'langmap'|)
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
230 - Python support (|Python|)
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
231 - Right-to-left mode (|'rightleft'|)
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
232 - SNiFF+ interface (|sniff|)
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
233 - TCL interface (|tcl|)
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
234 ...
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
235
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
236 If you try any of these features and they work, drop us a note!
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
237
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
238 ==============================================================================
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
239 9. Changes *OS390-changes* *zOS-changes*
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
240
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
241 This is a small reference of the changes made to the z/OS port of Vim. It is
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
242 not an exhaustive summary of all the modifications made to the code base.
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
243
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
244 6.1b (beta):
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
245 Changed KS_LE in term.c to be "\b" instead of "\010" This fixed the
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
246 screen corruption problems in gVim reported by Anthony Giorgio.
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
247
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
248 Anthony Giorgio updated this document:
236
4707450c2b33 updated for version 7.0066
vimboss
parents: 7
diff changeset
249 - Changed OS/390 to z/OS where appropriate. IBM decided to rename
7
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
250 all of its servers and operating systems. z/OS and OS/390
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
251 are the same product, but the version numbering system was
236
4707450c2b33 updated for version 7.0066
vimboss
parents: 7
diff changeset
252 reset for the name change (e.g. OS/390 V2R11 == z/OS V1R1).
7
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
253 - Added information about second edition of the Open Source Redbook.
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
254 - Moved Redbook information to a separate section.
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
255 - Various tweaks and changes.
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
256 - Updated testing section.
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
257
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
258 6.0au:
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
259 Changed configure.in
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
260 Changed documentation.
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
261 Anthony Giorgio fixed the errorbell.
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
262
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
263 David Moore found some problems, which were fixed by Bram and/or David for
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
264 6.0au.
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
265
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
266 6.0q (alpha):
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
267 Minor changes for nrformats=alpha (see |'nrformats'|).
236
4707450c2b33 updated for version 7.0066
vimboss
parents: 7
diff changeset
268 Problem with hard-coded keycode for the English pound sign. Added a define in
7
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
269 ascii.h
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
270 Disabled multibyte for EBCDIC in feature.h
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
271
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
272 6.0f (alpha):
236
4707450c2b33 updated for version 7.0066
vimboss
parents: 7
diff changeset
273 First compile of Vim 6 on z/OS UNIX. Some minor changes were needed.
7
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
274
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
275 Finally found the reason why make from the top level didn't work (I must have
236
4707450c2b33 updated for version 7.0066
vimboss
parents: 7
diff changeset
276 been blind before!). The Makefile contained a list of targets in one target
4707450c2b33 updated for version 7.0066
vimboss
parents: 7
diff changeset
277 line. On all other UNIX's the macro $@ evaluates to the first target in this
7
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
278 list, only on z/OS UNIX it evaluates to the last one :-(.
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
279
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
280 5.6-390d:
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
281 Cleaned up some hacks.
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
282
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
283 5.6-390c:
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
284 I grepped through the source and examined every spot with a character
2033
de5a43c5eedc Update documentation files.
Bram Moolenaar <bram@zimbu.org>
parents: 1702
diff changeset
285 involved in an operation (+-). I hope I now found all EBCDIC/ASCII
7
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
286 stuff, but ....
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
287
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
288 Fixed:
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
289 - fixed warning message in do_fixdel()
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
290 - fixed translation from Ctrl-Char to symbolic name (like ^h to CTRL-H)
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
291 for :help
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
292 - fixed yank/delete/... into register
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
293 - fixed :register command
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
294 - fixed viminfo register storing
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
295 - fixed quick-access table in findoptions()
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
296 - fixed 'g^H' select mode
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
297 - fixed tgetstr() 'get terminal capability string', ESC and
236
4707450c2b33 updated for version 7.0066
vimboss
parents: 7
diff changeset
298 Ctrl chars where wrong. (Not used on OS/390 UNIX)
7
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
299
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
300
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
301 ctags:
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
302 - added trigraphs support (used in prolog of system header files)
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
303 (get.c)
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
304 - fixed sorting order with LC_COLLATE=S390 to force EBCDIC sorting.
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
305 (sort.c)
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
306
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
307 5.6-390b:
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
308 Changed:
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
309 - configure.in:
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
310 - added test for OS/390 UNIX
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
311 - added special compiler and linker options if building with X11
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
312 - configure:
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
313 - after created via autoconf hand-edited it to make the test for
2033
de5a43c5eedc Update documentation files.
Bram Moolenaar <bram@zimbu.org>
parents: 1702
diff changeset
314 ICEConnectionNumber work. This is an autoconf problem. OS/390 UNIX
7
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
315 needs -lX11 for this.
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
316 - Makefile
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
317 - Don't include the lib directories ('-L...') into the variable
236
4707450c2b33 updated for version 7.0066
vimboss
parents: 7
diff changeset
318 ALL_LIBS. Use own variable ALL_LIB_DIRS instead. A fully POSIX
7
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
319 compliant compiler must not accept objects/libraries and options
236
4707450c2b33 updated for version 7.0066
vimboss
parents: 7
diff changeset
320 mixed. Now we can call the linker like this:
7
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
321
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
322 $(CC) $(LDFLAGS) $(ALL_LIB_DIRS) $(OBJ) $(ALL_LIBS)
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
323
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
324 Fixed:
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
325 - Double quote couldn't be entered
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
326 Missed ASCII dependencies while setting up terminal
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
327 In ASCII 127 is the delete char, in EBCDIC codepage 1047 the value 127
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
328 is the double quote.
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
329 - fixed ':fixdel'
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
330
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
331 5.6-390a:
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
332 first alpha release for OS/390 UNIX.
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
333
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
334 Addition:
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
335 - For the internal script language I added the feature "ebcdic".
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
336 This can be queried with the has()-function of the internal
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
337 script language.
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
338
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
339 ------------------------------------------------------------------------------
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
340 vim:tw=78:fo=tcq2:ts=8:ft=help:norl: