Mercurial > vim
annotate runtime/doc/os_390.txt @ 10390:6c8a4d21b873 v8.0.0089
commit https://github.com/vim/vim/commit/a859f04b4db651860c07db3587f29906517c552b
Author: Bram Moolenaar <Bram@vim.org>
Date: Thu Nov 17 19:11:55 2016 +0100
patch 8.0.0089
Problem: Various problems with GTK 3.22.2.
Solution: Fix the problems, add #ifdefs. (Kazunobu Kuriyama)
author | Christian Brabandt <cb@256bit.org> |
---|---|
date | Thu, 17 Nov 2016 19:15:04 +0100 |
parents | 9f48eab77d62 |
children | 1174611ad715 |
rev | line source |
---|---|
10198
9f48eab77d62
commit https://github.com/vim/vim/commit/bb76f24af2010943387ce696a7092175b4ecccf2
Christian Brabandt <cb@256bit.org>
parents:
8303
diff
changeset
|
1 *os_390.txt* For Vim version 8.0. Last change: 2016 Feb 27 |
7 | 2 |
3 | |
4 VIM REFERENCE MANUAL by Ralf Schandl | |
5 | |
6 *zOS* *z/OS* *OS390* *os390* *MVS* | |
7 This file contains the particulars for the z/OS UNIX version of Vim. | |
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 | 15 |
16 Contributors: ~ | |
17 The port to z/OS UNIX was done by Ralf Schandl for the Redbook mentioned | |
18 below. | |
19 | |
20 Changes, bug-reports, or both by: | |
21 | |
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 | 24 and others |
25 | |
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 | 28 |
236 | 29 For the internal script language the feature "ebcdic" was added. With this |
7 | 30 you can fix ASCII dependent scripts like this: |
31 > | |
32 if has("ebcdic") | |
33 let space = 64 | |
34 else | |
35 let space = 32 | |
36 endif | |
37 < | |
38 | |
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 | 60 |
61 It seems that in porting the Motif library to z/OS, a translation from EBCDIC | |
62 to ASCII for the accelerator characters of the pull-down menus was forgotten. | |
63 Even after I tried to hand convert the menus, the accelerator keys continued | |
64 to only work for the opening of menus (like <Alt-F> to open the file menu). | |
65 They still do not work for the menu items themselves (like <Alt-F>O to open | |
66 the file browser). | |
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 | 69 |
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 | 72 |
73 - Vim will consistently hang when a large amount of text is selected in | |
74 visual block mode. This may be due to a memory corruption issue. Note that | |
75 this occurs in both the terminal and gui versions. | |
76 | |
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 | 79 |
80 - No binary search in tag files. | |
236 | 81 The program /bin/sort sorts by ASCII value by default. This program is |
82 normally used by ctags to sort the tags. There might be a version of | |
83 ctags out there, that does it right, but we can't be sure. So this seems to | |
7 | 84 be a permanent restriction. |
85 | |
86 - The cscope interface (|cscope|) doesn't work for the version of cscope | |
87 that we use on our mainframe. We have a copy of version 15.0b12, and it | |
88 causes Vim to hang when using the "cscope add" command. I'm guessing that | |
89 the binary format of the cscope database isn't quite what Vim is expecting. | |
90 I've tried to port the current version of cscope (15.3) to z/OS, without | |
91 much success. If anyone is interested in trying, drop me a line if you | |
92 make any progress. | |
93 | |
94 - No glib/gtk support. I have not been able to successfully compile glib on | |
95 z/OS UNIX. This means you'll have to live without the pretty gtk toolbar. | |
2247
c40cd9aad546
Add patch to improve support of z/OS (OS/390). (Ralf Schandl)
Bram Moolenaar <bram@vim.org>
parents:
2207
diff
changeset
|
96 |
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 | 103 |
104 Never tested: | |
105 - Perl interface (|perl|) | |
106 - Hangul input (|hangul|) | |
107 - Encryption support (|encryption|) | |
108 - Langmap (|'langmap'|) | |
109 - Python support (|Python|) | |
110 - Right-to-left mode (|'rightleft'|) | |
111 - TCL interface (|tcl|) | |
112 ... | |
113 | |
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 | 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 | 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 | 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 | 130 |
131 | |
132 | |
133 ------------------------------------------------------------------------------ | |
134 vim:tw=78:fo=tcq2:ts=8:ft=help:norl: |