annotate runtime/doc/os_390.txt @ 27448:ca9bc0a44d8a

Added tag v8.2.4252 for changeset 4050f055490224bd35750aa6ee94792bcbe3d6f3
author Bram Moolenaar <Bram@vim.org>
date Sat, 29 Jan 2022 14:15:05 +0100
parents af69c9335223
children f8116058ca76
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
18879
af69c9335223 Vim 8.2 release
Bram Moolenaar <Bram@vim.org>
parents: 18831
diff changeset
1 *os_390.txt* For Vim version 8.2. Last change: 2019 Dec 07
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
2247
c40cd9aad546 Add patch to improve support of z/OS (OS/390). (Ralf Schandl)
Bram Moolenaar <bram@vim.org>
parents: 2207
diff changeset
9 1. ASCII/EBCDIC dependent scripts |zOS-has-ebcdic|
2249
6d3d35ff2c2b Use full path in undofile(). Updated docs.
Bram Moolenaar <bram@vim.org>
parents: 2247
diff changeset
10 2. Putty and Colors |zOS-PuTTY|
2247
c40cd9aad546 Add patch to improve support of z/OS (OS/390). (Ralf Schandl)
Bram Moolenaar <bram@vim.org>
parents: 2207
diff changeset
11 3. Motif Problems |zOS-Motif|
c40cd9aad546 Add patch to improve support of z/OS (OS/390). (Ralf Schandl)
Bram Moolenaar <bram@vim.org>
parents: 2207
diff changeset
12 4. Bugs |zOS-Bugs|
c40cd9aad546 Add patch to improve support of z/OS (OS/390). (Ralf Schandl)
Bram Moolenaar <bram@vim.org>
parents: 2207
diff changeset
13 5. Limitations |zOS-limitations|
c40cd9aad546 Add patch to improve support of z/OS (OS/390). (Ralf Schandl)
Bram Moolenaar <bram@vim.org>
parents: 2207
diff changeset
14 6. Open source on z/OS UNIX |zOS-open-source|
7
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
15
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
16 Contributors: ~
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
17 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
18 below.
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
19
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
20 Changes, bug-reports, or both by:
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
21
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
22 David Moore
2247
c40cd9aad546 Add patch to improve support of z/OS (OS/390). (Ralf Schandl)
Bram Moolenaar <bram@vim.org>
parents: 2207
diff changeset
23 Anthony Giorgio
7
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
24 and others
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
25
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
26 ==============================================================================
2247
c40cd9aad546 Add patch to improve support of z/OS (OS/390). (Ralf Schandl)
Bram Moolenaar <bram@vim.org>
parents: 2207
diff changeset
27 1. ASCII/EBCDIC dependent scripts *OS390-has-ebcdic* *zOS-has-ebcdic*
7
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
28
236
4707450c2b33 updated for version 7.0066
vimboss
parents: 7
diff changeset
29 For the internal script language the feature "ebcdic" was added. With this
7
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
30 you can fix ASCII dependent scripts like this:
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
31 >
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
32 if has("ebcdic")
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
33 let space = 64
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
34 else
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
35 let space = 32
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
36 endif
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
37 <
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
38
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
39 ==============================================================================
2247
c40cd9aad546 Add patch to improve support of z/OS (OS/390). (Ralf Schandl)
Bram Moolenaar <bram@vim.org>
parents: 2207
diff changeset
40 2. PuTTY and Colors *OS390-PuTTY* *zOS-PuTTY*
c40cd9aad546 Add patch to improve support of z/OS (OS/390). (Ralf Schandl)
Bram Moolenaar <bram@vim.org>
parents: 2207
diff changeset
41
c40cd9aad546 Add patch to improve support of z/OS (OS/390). (Ralf Schandl)
Bram Moolenaar <bram@vim.org>
parents: 2207
diff changeset
42 If you see problems with syntax highlighting or screen corruptions when you
c40cd9aad546 Add patch to improve support of z/OS (OS/390). (Ralf Schandl)
Bram Moolenaar <bram@vim.org>
parents: 2207
diff changeset
43 connect to z/OS using Putty, try the following:
c40cd9aad546 Add patch to improve support of z/OS (OS/390). (Ralf Schandl)
Bram Moolenaar <bram@vim.org>
parents: 2207
diff changeset
44
c40cd9aad546 Add patch to improve support of z/OS (OS/390). (Ralf Schandl)
Bram Moolenaar <bram@vim.org>
parents: 2207
diff changeset
45 - Configure Putty as "vt220" terminal (Connection->Data)
c40cd9aad546 Add patch to improve support of z/OS (OS/390). (Ralf Schandl)
Bram Moolenaar <bram@vim.org>
parents: 2207
diff changeset
46 - Add the following 3 lines to your vimrc:
c40cd9aad546 Add patch to improve support of z/OS (OS/390). (Ralf Schandl)
Bram Moolenaar <bram@vim.org>
parents: 2207
diff changeset
47
c40cd9aad546 Add patch to improve support of z/OS (OS/390). (Ralf Schandl)
Bram Moolenaar <bram@vim.org>
parents: 2207
diff changeset
48 >
c40cd9aad546 Add patch to improve support of z/OS (OS/390). (Ralf Schandl)
Bram Moolenaar <bram@vim.org>
parents: 2207
diff changeset
49 set t_AB=[4%p1%dm
c40cd9aad546 Add patch to improve support of z/OS (OS/390). (Ralf Schandl)
Bram Moolenaar <bram@vim.org>
parents: 2207
diff changeset
50 set t_AF=[3%p1%dm
c40cd9aad546 Add patch to improve support of z/OS (OS/390). (Ralf Schandl)
Bram Moolenaar <bram@vim.org>
parents: 2207
diff changeset
51 set t_CO=8
c40cd9aad546 Add patch to improve support of z/OS (OS/390). (Ralf Schandl)
Bram Moolenaar <bram@vim.org>
parents: 2207
diff changeset
52 <
c40cd9aad546 Add patch to improve support of z/OS (OS/390). (Ralf Schandl)
Bram Moolenaar <bram@vim.org>
parents: 2207
diff changeset
53
c40cd9aad546 Add patch to improve support of z/OS (OS/390). (Ralf Schandl)
Bram Moolenaar <bram@vim.org>
parents: 2207
diff changeset
54 Note:  is one character use <C-V><Esc> to enter it.
c40cd9aad546 Add patch to improve support of z/OS (OS/390). (Ralf Schandl)
Bram Moolenaar <bram@vim.org>
parents: 2207
diff changeset
55
c40cd9aad546 Add patch to improve support of z/OS (OS/390). (Ralf Schandl)
Bram Moolenaar <bram@vim.org>
parents: 2207
diff changeset
56 ==============================================================================
c40cd9aad546 Add patch to improve support of z/OS (OS/390). (Ralf Schandl)
Bram Moolenaar <bram@vim.org>
parents: 2207
diff changeset
57 3. Motif Problems *OS390-Motif* *zOS-Motif*
c40cd9aad546 Add patch to improve support of z/OS (OS/390). (Ralf Schandl)
Bram Moolenaar <bram@vim.org>
parents: 2207
diff changeset
58
c40cd9aad546 Add patch to improve support of z/OS (OS/390). (Ralf Schandl)
Bram Moolenaar <bram@vim.org>
parents: 2207
diff changeset
59 Note: Seen with Vim 6.*, never tested since.
7
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
60
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
61 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
62 to ASCII for the accelerator characters of the pull-down menus was forgotten.
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
63 Even after I tried to hand convert the menus, the accelerator keys continued
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
64 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
65 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
66 the file browser).
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
67
2207
b17bbfa96fa0 Add the settabvar() and gettabvar() functions.
Bram Moolenaar <bram@vim.org>
parents: 2154
diff changeset
68 There is no solution for this yet.
7
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
69
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
70 ==============================================================================
2247
c40cd9aad546 Add patch to improve support of z/OS (OS/390). (Ralf Schandl)
Bram Moolenaar <bram@vim.org>
parents: 2207
diff changeset
71 4. Bugs *OS390-bugs* *zOS-Bugs*
7
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
72
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
73 - Vim will consistently hang when a large amount of text is selected in
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
74 visual block mode. This may be due to a memory corruption issue. Note that
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
75 this occurs in both the terminal and gui versions.
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
76
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
77 ==============================================================================
2247
c40cd9aad546 Add patch to improve support of z/OS (OS/390). (Ralf Schandl)
Bram Moolenaar <bram@vim.org>
parents: 2207
diff changeset
78 5. Limitations *OS390-limitations* *zOS-limitations*
7
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
79
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
80 - No binary search in tag files.
236
4707450c2b33 updated for version 7.0066
vimboss
parents: 7
diff changeset
81 The program /bin/sort sorts by ASCII value by default. This program is
4707450c2b33 updated for version 7.0066
vimboss
parents: 7
diff changeset
82 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
83 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
84 be a permanent restriction.
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
85
14945
4ee65b4150fd Update runtime files
Bram Moolenaar <Bram@vim.org>
parents: 14421
diff changeset
86 - The cscope interface (|cscope|) doesn't work for the version of cscope that
4ee65b4150fd Update runtime files
Bram Moolenaar <Bram@vim.org>
parents: 14421
diff changeset
87 we use on our mainframe. We have a copy of version 15.0b12, and it causes
4ee65b4150fd Update runtime files
Bram Moolenaar <Bram@vim.org>
parents: 14421
diff changeset
88 Vim to hang when using the "cscope add" command. I'm guessing that the
4ee65b4150fd Update runtime files
Bram Moolenaar <Bram@vim.org>
parents: 14421
diff changeset
89 binary format of the cscope database isn't quite what Vim is expecting.
7
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
90 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
91 much success. If anyone is interested in trying, drop me a line if you
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
92 make any progress.
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
93
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
94 - No glib/gtk support. I have not been able to successfully compile glib on
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
95 z/OS UNIX. This means you'll have to live without the pretty gtk toolbar.
18831
6848b809a26e Runtime file updates.
Bram Moolenaar <Bram@vim.org>
parents: 14945
diff changeset
96
2247
c40cd9aad546 Add patch to improve support of z/OS (OS/390). (Ralf Schandl)
Bram Moolenaar <bram@vim.org>
parents: 2207
diff changeset
97 Disabled at compile time:
c40cd9aad546 Add patch to improve support of z/OS (OS/390). (Ralf Schandl)
Bram Moolenaar <bram@vim.org>
parents: 2207
diff changeset
98 - Multibyte support (|multibyte|)
c40cd9aad546 Add patch to improve support of z/OS (OS/390). (Ralf Schandl)
Bram Moolenaar <bram@vim.org>
parents: 2207
diff changeset
99 - Right-to-left mode (|rileft|)
c40cd9aad546 Add patch to improve support of z/OS (OS/390). (Ralf Schandl)
Bram Moolenaar <bram@vim.org>
parents: 2207
diff changeset
100 - Farsi key map (|Farsi|)
c40cd9aad546 Add patch to improve support of z/OS (OS/390). (Ralf Schandl)
Bram Moolenaar <bram@vim.org>
parents: 2207
diff changeset
101 - Arabic language support (|Arabic|)
c40cd9aad546 Add patch to improve support of z/OS (OS/390). (Ralf Schandl)
Bram Moolenaar <bram@vim.org>
parents: 2207
diff changeset
102 - Spell checking (|spell|)
7
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
103
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
104 Never tested:
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
105 - Perl interface (|perl|)
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
106 - Hangul input (|hangul|)
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
107 - Encryption support (|encryption|)
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
108 - Langmap (|'langmap'|)
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
109 - Python support (|Python|)
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
110 - Right-to-left mode (|'rightleft'|)
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
111 - TCL interface (|tcl|)
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
112 ...
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
113
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
114 ==============================================================================
2247
c40cd9aad546 Add patch to improve support of z/OS (OS/390). (Ralf Schandl)
Bram Moolenaar <bram@vim.org>
parents: 2207
diff changeset
115 6. Open source on z/OS UNIX *OS390-open-source* *zOS-open-source*
7
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
116
2247
c40cd9aad546 Add patch to improve support of z/OS (OS/390). (Ralf Schandl)
Bram Moolenaar <bram@vim.org>
parents: 2207
diff changeset
117 If you are interested in other Open Source Software on z/OS UNIX, have a
c40cd9aad546 Add patch to improve support of z/OS (OS/390). (Ralf Schandl)
Bram Moolenaar <bram@vim.org>
parents: 2207
diff changeset
118 look at the following Redbook:
7
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
119
2247
c40cd9aad546 Add patch to improve support of z/OS (OS/390). (Ralf Schandl)
Bram Moolenaar <bram@vim.org>
parents: 2207
diff changeset
120 Mike MacIsaac et al
c40cd9aad546 Add patch to improve support of z/OS (OS/390). (Ralf Schandl)
Bram Moolenaar <bram@vim.org>
parents: 2207
diff changeset
121 "Open Source Software for z/OS and OS/390 UNIX"
c40cd9aad546 Add patch to improve support of z/OS (OS/390). (Ralf Schandl)
Bram Moolenaar <bram@vim.org>
parents: 2207
diff changeset
122 IBM Form Number: SG24-5944-01
c40cd9aad546 Add patch to improve support of z/OS (OS/390). (Ralf Schandl)
Bram Moolenaar <bram@vim.org>
parents: 2207
diff changeset
123 ISBN: 0738424633
c40cd9aad546 Add patch to improve support of z/OS (OS/390). (Ralf Schandl)
Bram Moolenaar <bram@vim.org>
parents: 2207
diff changeset
124 http://www-03.ibm.com/systems/resources/servers_eserver_zseries_zos_unix_redbook_sg245944.pdf
7
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
125
2247
c40cd9aad546 Add patch to improve support of z/OS (OS/390). (Ralf Schandl)
Bram Moolenaar <bram@vim.org>
parents: 2207
diff changeset
126 Also look at:
c40cd9aad546 Add patch to improve support of z/OS (OS/390). (Ralf Schandl)
Bram Moolenaar <bram@vim.org>
parents: 2207
diff changeset
127 http://www.redbooks.ibm.com
c40cd9aad546 Add patch to improve support of z/OS (OS/390). (Ralf Schandl)
Bram Moolenaar <bram@vim.org>
parents: 2207
diff changeset
128 http://www-03.ibm.com/systems/z/os/zos/features/unix/
c40cd9aad546 Add patch to improve support of z/OS (OS/390). (Ralf Schandl)
Bram Moolenaar <bram@vim.org>
parents: 2207
diff changeset
129 http://www-03.ibm.com/systems/z/os/zos/features/unix/library/IBM+Redbooks/index.html
7
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
130
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
131
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
132
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
133 ------------------------------------------------------------------------------
14945
4ee65b4150fd Update runtime files
Bram Moolenaar <Bram@vim.org>
parents: 14421
diff changeset
134 vim:tw=78:ts=8:noet:ft=help:norl: