1*c838626fSBram MoolenaarVIM LICENSE 2*c838626fSBram Moolenaar 3*c838626fSBram MoolenaarI) There are no restrictions on distributing unmodified copies of Vim except 4*c838626fSBram Moolenaar that they must include this license text. You can also distribute 5*c838626fSBram Moolenaar unmodified parts of Vim, likewise unrestricted except that they must 6*c838626fSBram Moolenaar include this license text. You are also allowed to include executables 7*c838626fSBram Moolenaar that you made from the unmodified Vim sources, plus your own usage 8*c838626fSBram Moolenaar examples and Vim scripts. 9*c838626fSBram Moolenaar 10*c838626fSBram MoolenaarII) It is allowed to distribute a modified (or extended) version of Vim, 11*c838626fSBram Moolenaar including executables and/or source code, when the following four 12*c838626fSBram Moolenaar conditions are met: 13*c838626fSBram Moolenaar 1) This license text must be included unmodified. 14*c838626fSBram Moolenaar 2) The modified Vim must be distributed in one of the following five ways: 15*c838626fSBram Moolenaar a) If you make changes to Vim yourself, you must clearly describe in 16*c838626fSBram Moolenaar the distribution how to contact you. When the maintainer asks you 17*c838626fSBram Moolenaar (in any way) for a copy of the modified Vim you distributed, you 18*c838626fSBram Moolenaar must make your changes, including source code, available to the 19*c838626fSBram Moolenaar maintainer without fee. The maintainer reserves the right to 20*c838626fSBram Moolenaar include your changes in the official version of Vim. What the 21*c838626fSBram Moolenaar maintainer will do with your changes and under what license they 22*c838626fSBram Moolenaar will be distributed is negotiable. If there has been no negotiation 23*c838626fSBram Moolenaar then this license, or a later version, also applies to your changes. 24*c838626fSBram Moolenaar The current maintainer is Bram Moolenaar <[email protected]>. If this 25*c838626fSBram Moolenaar changes it will be announced in appropriate places (most likely 26*c838626fSBram Moolenaar vim.sf.net, www.vim.org and/or comp.editors). When it is completely 27*c838626fSBram Moolenaar impossible to contact the maintainer, the obligation to send him 28*c838626fSBram Moolenaar your changes ceases. Once the maintainer has confirmed that he has 29*c838626fSBram Moolenaar received your changes they will not have to be sent again. 30*c838626fSBram Moolenaar b) If you have received a modified Vim that was distributed as 31*c838626fSBram Moolenaar mentioned under a) you are allowed to further distribute it 32*c838626fSBram Moolenaar unmodified, as mentioned at I). If you make additional changes the 33*c838626fSBram Moolenaar text under a) applies to those changes. 34*c838626fSBram Moolenaar c) Provide all the changes, including source code, with every copy of 35*c838626fSBram Moolenaar the modified Vim you distribute. This may be done in the form of a 36*c838626fSBram Moolenaar context diff. You can choose what license to use for new code you 37*c838626fSBram Moolenaar add. The changes and their license must not restrict others from 38*c838626fSBram Moolenaar making their own changes to the official version of Vim. 39*c838626fSBram Moolenaar d) When you have a modified Vim which includes changes as mentioned 40*c838626fSBram Moolenaar under c), you can distribute it without the source code for the 41*c838626fSBram Moolenaar changes if the following three conditions are met: 42*c838626fSBram Moolenaar - The license that applies to the changes permits you to distribute 43*c838626fSBram Moolenaar the changes to the Vim maintainer without fee or restriction, and 44*c838626fSBram Moolenaar permits the Vim maintainer to include the changes in the official 45*c838626fSBram Moolenaar version of Vim without fee or restriction. 46*c838626fSBram Moolenaar - You keep the changes for at least three years after last 47*c838626fSBram Moolenaar distributing the corresponding modified Vim. When the maintainer 48*c838626fSBram Moolenaar or someone who you distributed the modified Vim to asks you (in 49*c838626fSBram Moolenaar any way) for the changes within this period, you must make them 50*c838626fSBram Moolenaar available to him. 51*c838626fSBram Moolenaar - You clearly describe in the distribution how to contact you. This 52*c838626fSBram Moolenaar contact information must remain valid for at least three years 53*c838626fSBram Moolenaar after last distributing the corresponding modified Vim, or as long 54*c838626fSBram Moolenaar as possible. 55*c838626fSBram Moolenaar e) When the GNU General Public License (GPL) applies to the changes, 56*c838626fSBram Moolenaar you can distribute the modified Vim under the GNU GPL version 2 or 57*c838626fSBram Moolenaar any later version. 58*c838626fSBram Moolenaar 3) A message must be added, at least in the output of the ":version" 59*c838626fSBram Moolenaar command and in the intro screen, such that the user of the modified Vim 60*c838626fSBram Moolenaar is able to see that it was modified. When distributing as mentioned 61*c838626fSBram Moolenaar under 2)e) adding the message is only required for as far as this does 62*c838626fSBram Moolenaar not conflict with the license used for the changes. 63*c838626fSBram Moolenaar 4) The contact information as required under 2)a) and 2)d) must not be 64*c838626fSBram Moolenaar removed or changed, except that the person himself can make 65*c838626fSBram Moolenaar corrections. 66*c838626fSBram Moolenaar 67*c838626fSBram MoolenaarIII) If you distribute a modified version of Vim, you are encouraged to use 68*c838626fSBram Moolenaar the Vim license for your changes and make them available to the 69*c838626fSBram Moolenaar maintainer, including the source code. The preferred way to do this is 70*c838626fSBram Moolenaar by e-mail or by uploading the files to a server and e-mailing the URL. 71*c838626fSBram Moolenaar If the number of changes is small (e.g., a modified Makefile) e-mailing a 72*c838626fSBram Moolenaar context diff will do. The e-mail address to be used is 73*c838626fSBram Moolenaar <[email protected]> 74*c838626fSBram Moolenaar 75*c838626fSBram MoolenaarIV) It is not allowed to remove this license from the distribution of the Vim 76*c838626fSBram Moolenaar sources, parts of it or from a modified version. You may use this 77*c838626fSBram Moolenaar license for previous Vim releases instead of the license that they came 78*c838626fSBram Moolenaar with, at your option. 79