1Copyright (c) 2002-2006, Marc Prud'hommeaux <mwp1@cornell.edu> 2All rights reserved. 3 4Redistribution and use in source and binary forms, with or 5without modification, are permitted provided that the following 6conditions are met: 7 8Redistributions of source code must retain the above copyright 9notice, this list of conditions and the following disclaimer. 10 11Redistributions in binary form must reproduce the above copyright 12notice, this list of conditions and the following disclaimer 13in the documentation and/or other materials provided with 14the distribution. 15 16Neither the name of JLine nor the names of its contributors 17may be used to endorse or promote products derived from this 18software without specific prior written permission. 19 20THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS 21"AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, 22BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY 23AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO 24EVENT SHALL THE COPYRIGHT OWNER OR CONTRIBUTORS BE LIABLE 25FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, 26OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, 27PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, 28DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED 29AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT 30LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING 31IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED 32OF THE POSSIBILITY OF SUCH DAMAGE. 33 34