os_390.txt (4735B)
1 *os_390.txt* For Vim version 9.2. Last change: 2026 Feb 14 2 3 4 VIM REFERENCE MANUAL by Ralf Schandl 5 6 7 *zOS* *z/OS* *OS390* *os390* *MVS* 8 This file contains the particulars for the z/OS UNIX version of Vim. 9 10 1. ASCII/EBCDIC dependent scripts |zOS-has-ebcdic| 11 2. Putty and Colors |zOS-PuTTY| 12 3. Motif Problems |zOS-Motif| 13 4. Bugs |zOS-Bugs| 14 5. Limitations |zOS-limitations| 15 6. Open source on z/OS UNIX |zOS-open-source| 16 17 Contributors: ~ 18 The port to z/OS UNIX was done by Ralf Schandl for the Redbook mentioned 19 below. 20 21 Changes, bug-reports, or both by: 22 23 David Moore 24 Anthony Giorgio 25 and others 26 27 ============================================================================== 28 1. ASCII/EBCDIC dependent scripts *OS390-has-ebcdic* *zOS-has-ebcdic* 29 30 For the internal script language the feature "ebcdic" was added. With this 31 you can fix ASCII dependent scripts like this: 32 > 33 if has("ebcdic") 34 let space = 64 35 else 36 let space = 32 37 endif 38 < 39 40 ============================================================================== 41 2. PuTTY and Colors *OS390-PuTTY* *zOS-PuTTY* 42 43 If you see problems with syntax highlighting or screen corruptions when you 44 connect to z/OS using Putty, try the following: 45 46 - Configure Putty as "vt220" terminal (Connection->Data) 47 - Add the following 3 lines to your vimrc: 48 49 > 50 set t_AB=[4%p1%dm 51 set t_AF=[3%p1%dm 52 set t_CO=8 53 < 54 55 Note: is one character use <C-V><Esc> to enter it. 56 57 ============================================================================== 58 3. Motif Problems *OS390-Motif* *zOS-Motif* 59 60 Note: Seen with Vim 6.*, never tested since. 61 62 It seems that in porting the Motif library to z/OS, a translation from EBCDIC 63 to ASCII for the accelerator characters of the pull-down menus was forgotten. 64 Even after I tried to hand convert the menus, the accelerator keys continued 65 to only work for the opening of menus (like <Alt-F> to open the file menu). 66 They still do not work for the menu items themselves (like <Alt-F>O to open 67 the file browser). 68 69 There is no solution for this yet. 70 71 ============================================================================== 72 4. Bugs *OS390-bugs* *zOS-Bugs* 73 74 - Vim will consistently hang when a large amount of text is selected in 75 visual block mode. This may be due to a memory corruption issue. Note that 76 this occurs in both the terminal and gui versions. 77 78 ============================================================================== 79 5. Limitations *OS390-limitations* *zOS-limitations* 80 81 - No binary search in tag files. 82 The program /bin/sort sorts by ASCII value by default. This program is 83 normally used by ctags to sort the tags. There might be a version of 84 ctags out there, that does it right, but we can't be sure. So this seems to 85 be a permanent restriction. 86 87 - The cscope interface (|cscope|) doesn't work for the version of cscope that 88 we use on our mainframe. We have a copy of version 15.0b12, and it causes 89 Vim to hang when using the "cscope add" command. I'm guessing that the 90 binary format of the cscope database isn't quite what Vim is expecting. 91 I've tried to port the current version of cscope (15.3) to z/OS, without 92 much success. If anyone is interested in trying, drop me a line if you 93 make any progress. 94 95 - No glib/gtk support. I have not been able to successfully compile glib on 96 z/OS UNIX. This means you'll have to live without the pretty gtk toolbar. 97 98 Disabled at compile time: 99 - Multibyte support (|multibyte|) 100 - Right-to-left mode (|rileft|) 101 - Farsi key map (|Farsi|) 102 - Arabic language support (|Arabic|) 103 - Spell checking (|spell|) 104 105 Never tested: 106 - Perl interface (|perl|) 107 - Hangul input (|hangul|) 108 - Encryption support (|encryption|) 109 - Langmap ('langmap') 110 - Python support (|Python|) 111 - Right-to-left mode ('rightleft') 112 - TCL interface (|tcl|) 113 ... 114 115 ============================================================================== 116 6. Open source on z/OS UNIX *OS390-open-source* *zOS-open-source* 117 118 If you are interested in other Open Source Software on z/OS UNIX, have a 119 look at the following Redbook: 120 121 Mike MacIsaac et al 122 "Open Source Software for z/OS and OS/390 UNIX" 123 IBM Form Number: SG24-5944-01 124 ISBN: 0738424633 125 http://www-03.ibm.com/systems/resources/servers_eserver_zseries_zos_unix_redbook_sg245944.pdf 126 127 Also look at: 128 http://www.redbooks.ibm.com 129 http://www-03.ibm.com/systems/z/os/zos/features/unix/ 130 http://www-03.ibm.com/systems/z/os/zos/features/unix/library/IBM+Redbooks/index.html 131 132 133 134 ------------------------------------------------------------------------------ 135 vim:tw=78:ts=8:noet:ft=help:norl: