blob: e15cd258f73f99b1e0750736961ff36baf3e5fbe [file] [log] [blame]
Christian Brabandtb4ddc6c2024-01-02 16:51:11 +01001*os_390.txt* For Vim version 9.1. Last change: 2019 Dec 07
Bram Moolenaar071d4272004-06-13 20:20:40 +00002
3
4 VIM REFERENCE MANUAL by Ralf Schandl
5
6 *zOS* *z/OS* *OS390* *os390* *MVS*
7This file contains the particulars for the z/OS UNIX version of Vim.
8
Bram Moolenaar2c704a72010-06-03 21:17:25 +020091. ASCII/EBCDIC dependent scripts |zOS-has-ebcdic|
Bram Moolenaar945e2db2010-06-05 17:43:32 +0200102. Putty and Colors |zOS-PuTTY|
Bram Moolenaar2c704a72010-06-03 21:17:25 +0200113. Motif Problems |zOS-Motif|
124. Bugs |zOS-Bugs|
Bram Moolenaar938ae282023-02-20 20:44:55 +0000135. Limitations |zOS-limitations|
Bram Moolenaar2c704a72010-06-03 21:17:25 +0200146. Open source on z/OS UNIX |zOS-open-source|
Bram Moolenaar071d4272004-06-13 20:20:40 +000015
16Contributors: ~
17The port to z/OS UNIX was done by Ralf Schandl for the Redbook mentioned
18below.
19
20Changes, bug-reports, or both by:
21
22 David Moore
Bram Moolenaar2c704a72010-06-03 21:17:25 +020023 Anthony Giorgio
Bram Moolenaar071d4272004-06-13 20:20:40 +000024 and others
25
Bram Moolenaar071d4272004-06-13 20:20:40 +000026==============================================================================
Bram Moolenaar2c704a72010-06-03 21:17:25 +0200271. ASCII/EBCDIC dependent scripts *OS390-has-ebcdic* *zOS-has-ebcdic*
Bram Moolenaar071d4272004-06-13 20:20:40 +000028
Bram Moolenaar402d2fe2005-04-15 21:00:38 +000029For the internal script language the feature "ebcdic" was added. With this
Bram Moolenaar071d4272004-06-13 20:20:40 +000030you 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<
Bram Moolenaar2c704a72010-06-03 21:17:25 +020038
Bram Moolenaar071d4272004-06-13 20:20:40 +000039==============================================================================
Bram Moolenaar2c704a72010-06-03 21:17:25 +0200402. PuTTY and Colors *OS390-PuTTY* *zOS-PuTTY*
Bram Moolenaar071d4272004-06-13 20:20:40 +000041
Bram Moolenaar2c704a72010-06-03 21:17:25 +020042If you see problems with syntax highlighting or screen corruptions when you
43connect to z/OS using Putty, try the following:
Bram Moolenaar071d4272004-06-13 20:20:40 +000044
Bram Moolenaar2c704a72010-06-03 21:17:25 +020045- Configure Putty as "vt220" terminal (Connection->Data)
46- Add the following 3 lines to your vimrc:
Bram Moolenaar071d4272004-06-13 20:20:40 +000047
Bram Moolenaar2c704a72010-06-03 21:17:25 +020048>
49 set t_AB=[4%p1%dm
50 set t_AF=[3%p1%dm
51 set t_CO=8
Bram Moolenaar071d4272004-06-13 20:20:40 +000052<
Bram Moolenaar2c704a72010-06-03 21:17:25 +020053
54Note:  is one character use <C-V><Esc> to enter it.
Bram Moolenaar071d4272004-06-13 20:20:40 +000055
56==============================================================================
Bram Moolenaar2c704a72010-06-03 21:17:25 +0200573. Motif Problems *OS390-Motif* *zOS-Motif*
58
59Note: Seen with Vim 6.*, never tested since.
Bram Moolenaar071d4272004-06-13 20:20:40 +000060
61It seems that in porting the Motif library to z/OS, a translation from EBCDIC
62to ASCII for the accelerator characters of the pull-down menus was forgotten.
63Even after I tried to hand convert the menus, the accelerator keys continued
64to only work for the opening of menus (like <Alt-F> to open the file menu).
65They still do not work for the menu items themselves (like <Alt-F>O to open
66the file browser).
67
Bram Moolenaar06b5d512010-05-22 15:37:44 +020068There is no solution for this yet.
Bram Moolenaar071d4272004-06-13 20:20:40 +000069
70==============================================================================
Bram Moolenaar2c704a72010-06-03 21:17:25 +0200714. Bugs *OS390-bugs* *zOS-Bugs*
Bram Moolenaar071d4272004-06-13 20:20:40 +000072
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==============================================================================
Bram Moolenaar938ae282023-02-20 20:44:55 +0000785. Limitations *OS390-limitations* *zOS-limitations*
Bram Moolenaar071d4272004-06-13 20:20:40 +000079
80- No binary search in tag files.
Bram Moolenaar402d2fe2005-04-15 21:00:38 +000081 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
Bram Moolenaar071d4272004-06-13 20:20:40 +000084 be a permanent restriction.
85
Bram Moolenaar2c64ca12018-10-19 16:22:31 +020086- The cscope interface (|cscope|) doesn't work for the version of cscope that
87 we use on our mainframe. We have a copy of version 15.0b12, and it causes
88 Vim to hang when using the "cscope add" command. I'm guessing that the
89 binary format of the cscope database isn't quite what Vim is expecting.
Bram Moolenaar071d4272004-06-13 20:20:40 +000090 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.
Bram Moolenaar664f3cf2019-12-07 16:03:51 +010096
Bram Moolenaar2c704a72010-06-03 21:17:25 +020097Disabled at compile time:
98 - Multibyte support (|multibyte|)
99 - Right-to-left mode (|rileft|)
100 - Farsi key map (|Farsi|)
101 - Arabic language support (|Arabic|)
102 - Spell checking (|spell|)
Bram Moolenaar071d4272004-06-13 20:20:40 +0000103
104Never 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'|)
Bram Moolenaar071d4272004-06-13 20:20:40 +0000111 - TCL interface (|tcl|)
112 ...
113
Bram Moolenaar071d4272004-06-13 20:20:40 +0000114==============================================================================
Bram Moolenaar2c704a72010-06-03 21:17:25 +02001156. Open source on z/OS UNIX *OS390-open-source* *zOS-open-source*
Bram Moolenaar071d4272004-06-13 20:20:40 +0000116
Bram Moolenaar2c704a72010-06-03 21:17:25 +0200117If you are interested in other Open Source Software on z/OS UNIX, have a
118look at the following Redbook:
Bram Moolenaar071d4272004-06-13 20:20:40 +0000119
Bram Moolenaar2c704a72010-06-03 21:17:25 +0200120 Mike MacIsaac et al
121 "Open Source Software for z/OS and OS/390 UNIX"
122 IBM Form Number: SG24-5944-01
123 ISBN: 0738424633
124 http://www-03.ibm.com/systems/resources/servers_eserver_zseries_zos_unix_redbook_sg245944.pdf
Bram Moolenaar071d4272004-06-13 20:20:40 +0000125
Bram Moolenaar2c704a72010-06-03 21:17:25 +0200126Also look at:
127 http://www.redbooks.ibm.com
128 http://www-03.ibm.com/systems/z/os/zos/features/unix/
129 http://www-03.ibm.com/systems/z/os/zos/features/unix/library/IBM+Redbooks/index.html
Bram Moolenaar071d4272004-06-13 20:20:40 +0000130
131
Bram Moolenaar071d4272004-06-13 20:20:40 +0000132
133------------------------------------------------------------------------------
Bram Moolenaar2c64ca12018-10-19 16:22:31 +0200134 vim:tw=78:ts=8:noet:ft=help:norl: