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