Format: https://www.debian.org/doc/packaging-manuals/copyright-format/1.0/
Upstream-Name: JLine
Upstream-Contact: Guillaume Nodet <gnodet@gmail.com>
Source: https://github.com/jline/jline3
Comment:
 The orig tarball is repacked (+ds2) to drop:
  - prebuilt native libraries for every platform (the JNI library is built
    from native/src/main/native at build time);
  - demo/wget.exe, a prebuilt Windows executable;
  - .mvn, .mvx, mvx and mvx.cmd: Maven extensions (git versioning, release
    tooling) and a launcher that downloads Maven, none usable offline;
  - website/, the documentation web site (not used by the build);
  - the help texts of the nano and less builtins and three nano syntax
    files, copied from GNU nano and less without their licence notices;
    they belong to the builtins, demo and groovy modules, which this
    package does not build;
  - other third-party copies in modules not built here: nano syntax
    (sh-repl.nanorc, test nano/java.nanorc and xml.nanorc), the Readline
    manual's sample inputrc (test config1, config2), a Stack Overflow answer
    (PackageHelper.java) and an unlicensed gist (SystemRegistryImpl.java).
Files-Excluded:
 .mvn
 .mvx
 mvx
 mvx.cmd
 demo/wget.exe
 native/src/main/resources/org/jline/nativ/FreeBSD
 native/src/main/resources/org/jline/nativ/Linux
 native/src/main/resources/org/jline/nativ/Mac
 native/src/main/resources/org/jline/nativ/Windows
 website
 builtins/src/main/resources/org/jline/builtins/*-help.txt
 demo/src/main/scripts/nanorc/groovy.nanorc
 demo/src/main/scripts/nanorc/java.nanorc
 demo/src/main/scripts/nanorc/xml.nanorc
 groovy/src/main/resources/org/jline/groovy/java.nanorc
 demo/src/main/scripts/nanorc/sh-repl.nanorc
 builtins/src/test/resources/nano/java.nanorc
 builtins/src/test/resources/nano/xml.nanorc
 builtins/src/test/resources/org/jline/builtins/config1
 builtins/src/test/resources/org/jline/builtins/config2
 groovy/src/main/java/org/jline/script/PackageHelper.java
 console/src/main/java/org/jline/console/impl/SystemRegistryImpl.java

Files: *
Copyright: 2002-2026, the original author(s)
           2002-2026, the original author or authors
License: BSD-3-clause
Comment:
 Most files carry the short JLine header ("This software is distributable
 under the BSD license"), which refers to LICENSE.txt.

Files: console-ui/*
Copyright: 2020, Andreas Wegmann
           2025, the original author(s)
License: BSD-3-clause
Comment:
 ConsoleUI was written by Andreas Wegmann and merged into JLine
 (console-ui/README.md); its sources now carry the JLine BSD-3-clause
 header. This module is not built by this package.

Files: console-ui/LICENSE.txt
       docs/ConsoleUI-Logo.png
Copyright: 2016-2020, Andreas Wegmann
License: Apache-2.0
Comment: Licence file and logo of the original ConsoleUI project.

Files: native/src/main/native/clibrary.c
       native/src/main/native/kernel32.c
       native/src/main/resources/org/jline/nativ/jlinenative.properties
       terminal/src/main/resources/META-INF/jline/README.md
       terminal/src/main/resources/META-INF/jline/providers/dumb
       terminal/src/main/resources/META-INF/jline/providers/exec
       terminal/src/main/resources/META-INF/services/org.jline.terminal.spi.TerminalProvider
       terminal-ffm/src/main/resources/META-INF/jline/providers/ffm
       terminal-ffm/src/main/resources/META-INF/services/org.jline.terminal.spi.TerminalProvider
       terminal-jni/src/main/resources/META-INF/jline/providers/jni
       terminal-jni/src/main/resources/META-INF/services/org.jline.terminal.spi.TerminalProvider
Copyright: 2009-2026, the original author(s)
           2019, the original author or authors
License: Apache-2.0

Files: .github/dependabot.yml
       .github/release-drafter-3x.yml
       .github/release-drafter.yml
       .github/workflows/master-build.yml
       demo/etc/logging.properties
       demo/etc/logging-verbose.properties
       native/Makefile
       native/Makefile.common
Copyright: The Apache Software Foundation
License: Apache-2.0
Comment:
 These files carry the Apache Software Foundation licence header, which
 has no copyright line; the ASF is the holder it refers to.

Files: builtins/src/main/java/org/jline/builtins/Options.java
       builtins/src/test/java/org/jline/builtins/OptionsTest.java
       demo/src/main/java/org/apache/felix/gogo/jline/Posix.java
       demo/src/main/java/org/apache/felix/gogo/jline/Shell.java
Copyright: the original author(s)
           The Apache Software Foundation
License: BSD-3-clause and Apache-2.0
Comment:
 These files carry the JLine BSD-3-clause header and, below it, the
 Apache Software Foundation licence header. Both licences apply.

Files: native/src/main/java/org/jline/nativ/JLineNativeLoader.java
       native/src/main/java/org/jline/nativ/OSInfo.java
Copyright: the original author(s)
           The Apache Software Foundation
           2007-2008, Taro L. Saito
License: BSD-3-clause and Apache-2.0
Comment: JLine and ASF headers; code by Taro L. Saito, via Jansi.

Files: native/src/main/java/org/jline/nativ/CLibrary.java
       native/src/main/java/org/jline/nativ/Kernel32.java
       native/src/main/native/jlinenative.h
       terminal/src/main/java/org/jline/utils/AnsiWriter.java
       terminal-ffm/src/main/java/org/jline/terminal/impl/ffm/WindowsAnsiWriter.java
       terminal-jni/src/main/java/org/jline/terminal/impl/jni/win/WindowsAnsiWriter.java
Copyright: the original author(s)
           2009, Progress Software Corporation and/or its subsidiaries or affiliates
License: BSD-3-clause and Apache-2.0
Comment: Adapted from Jansi (https://github.com/fusesource/jansi).

Files: jansi-core/src/main/java/org/jline/jansi/Ansi.java
       jansi-core/src/main/java/org/jline/jansi/AnsiColors.java
       jansi-core/src/main/java/org/jline/jansi/AnsiConsole.java
       jansi-core/src/main/java/org/jline/jansi/AnsiMain.java
       jansi-core/src/main/java/org/jline/jansi/AnsiMode.java
       jansi-core/src/main/java/org/jline/jansi/AnsiPrintStream.java
       jansi-core/src/main/java/org/jline/jansi/AnsiRenderer.java
       jansi-core/src/main/java/org/jline/jansi/AnsiType.java
       jansi-core/src/main/java/org/jline/jansi/io/AnsiOutputStream.java
       jansi-core/src/main/java/org/jline/jansi/io/AnsiProcessor.java
       jansi-core/src/main/java/org/jline/jansi/io/ColorsAnsiProcessor.java
       jansi-core/src/main/java/org/jline/jansi/io/WindowsAnsiProcessor.java
       jansi-core/src/main/resources/org/jline/jansi/jansi.txt
       jansi-core/src/test/java/org/jline/jansi/AnsiConsoleExample.java
       jansi-core/src/test/java/org/jline/jansi/AnsiConsoleExample2.java
       jansi-core/src/test/java/org/jline/jansi/AnsiRendererTest.java
       jansi-core/src/test/java/org/jline/jansi/AnsiStringTest.java
       jansi-core/src/test/java/org/jline/jansi/AnsiTest.java
       jansi-core/src/test/java/org/jline/jansi/EncodingTest.java
       jansi-core/src/test/java/org/jline/jansi/io/AnsiOutputStreamTest.java
       jansi-core/src/test/resources/jansi.ans
Copyright: 2009-2023, the original author(s)
           2009, Progress Software Corporation and/or its subsidiaries or affiliates
License: BSD-3-clause and Apache-2.0
Comment: Jansi 2.4 (Apache-2.0) relabelled with the JLine header; not built.

Files: builtins/src/main/java/org/jline/builtins/PosixCommands.java
       builtins/src/main/java/org/jline/builtins/ScreenTerminal.java
       demo/src/main/java/org/apache/felix/gogo/runtime/Reflective.java
       demo/src/main/java/org/jline/demo/FunctionConverter.java
       remote-ssh/src/main/java/org/jline/builtins/ssh/ShellCommand.java
       remote-ssh/src/main/java/org/jline/builtins/ssh/ShellFactoryImpl.java
       remote-telnet/src/main/java/org/jline/builtins/telnet/Telnet.java
       style/src/main/java/org/jline/style/InterpolationHelper.java
       terminal/src/test/java/org/jline/utils/ScreenTerminal.java
Copyright: the original author(s)
           The Apache Software Foundation
License: BSD-3-clause and Apache-2.0
Comment: Adapted from Apache Felix gogo/utils and Apache Karaf; not built.

Files: demo/src/main/java/org/jline/demo/consoleui/BasicDynamic.java
       prompt/src/main/java/org/jline/prompt/impl/DefaultPrompter.java
Copyright: the original author(s)
           2020, Andreas Wegmann
License: BSD-3-clause
Comment: Partly adapted from the ConsoleUI sources in console-ui/.

Files: terminal/src/main/java/org/jline/utils/InputStreamReader.java
Copyright: the original author(s)
           The Apache Software Foundation
License: BSD-3-clause and Apache-2.0
Comment: Adapted from Apache Harmony's java.io.InputStreamReader.

Files: terminal/src/main/java/org/jline/utils/WCWidth.java
Copyright: the original author(s)
           2007, Markus Kuhn
License: BSD-3-clause and Kuhn-wcwidth
Comment: Java port of https://www.cl.cam.ac.uk/~mgk25/ucs/wcwidth.c.

Files: terminal/src/main/resources/org/jline/utils/ansi.caps
       terminal/src/main/resources/org/jline/utils/dumb.caps
       terminal/src/main/resources/org/jline/utils/rxvt-basic.caps
       terminal/src/main/resources/org/jline/utils/rxvt-unicode-256color.caps
       terminal/src/main/resources/org/jline/utils/rxvt-unicode.caps
       terminal/src/main/resources/org/jline/utils/rxvt.caps
       terminal/src/main/resources/org/jline/utils/screen-256color.caps
       terminal/src/main/resources/org/jline/utils/screen.caps
       terminal/src/main/resources/org/jline/utils/xterm-256color.caps
       terminal/src/main/resources/org/jline/utils/xterm.caps
Copyright: 1998-2018, Free Software Foundation, Inc.
           2018-2020, Thomas E. Dickey
License: X11-distribute-modifications-variant
Comment: Printed by infocmp from the ncurses terminfo database.

Files: remote-telnet/src/main/java/org/jline/builtins/telnet/Connection.java
       remote-telnet/src/main/java/org/jline/builtins/telnet/ConnectionData.java
       remote-telnet/src/main/java/org/jline/builtins/telnet/ConnectionEvent.java
       remote-telnet/src/main/java/org/jline/builtins/telnet/ConnectionFilter.java
       remote-telnet/src/main/java/org/jline/builtins/telnet/ConnectionListener.java
       remote-telnet/src/main/java/org/jline/builtins/telnet/ConnectionManager.java
       remote-telnet/src/main/java/org/jline/builtins/telnet/PortListener.java
       remote-telnet/src/main/java/org/jline/builtins/telnet/TelnetIO.java
Copyright: 2000-2005, Dieter Wimberger
           the original author(s)
License: BSD-3-clause and BSD-3-clause-telnetd
Comment:
 Code from the Java TelnetD library: the JLine BSD-3-clause header and the
 original TelnetD licence (text below). Both apply. This module is not
 built by this package.

Files: demo/src/main/scripts/nanorc/dark.nanorctheme
       demo/src/main/scripts/nanorc/light.nanorctheme
Copyright: 2016, Yuri Sakhno
           2021, the original author(s)
License: CC0-1.0 and BSD-3-clause
Comment: Adapted from https://github.com/YSakhno/nanorc themes (CC0-1.0).

Files: debian/*
Copyright: 2026, Juan Manuel Méndez Rey <juan.mendezr@proton.me>
License: BSD-3-clause

License: BSD-3-clause
 Redistribution and use in source and binary forms, with or
 without modification, are permitted provided that the following
 conditions are met:
 .
 Redistributions of source code must retain the above copyright
 notice, this list of conditions and the following disclaimer.
 .
 Redistributions in binary form must reproduce the above copyright
 notice, this list of conditions and the following disclaimer
 in the documentation and/or other materials provided with
 the distribution.
 .
 Neither the name of JLine nor the names of its contributors
 may be used to endorse or promote products derived from this
 software without specific prior written permission.
 .
 THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS
 "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING,
 BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY
 AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO
 EVENT SHALL THE COPYRIGHT OWNER OR CONTRIBUTORS BE LIABLE
 FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY,
 OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO,
 PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE,
 DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED
 AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT
 LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING
 IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED
 OF THE POSSIBILITY OF SUCH DAMAGE.

License: BSD-3-clause-telnetd
 Redistribution and use in source and binary forms, with or without
 modification, are permitted provided that the following conditions are
 met:
 Redistributions of source code must retain the above copyright notice,
 this list of conditions and the following disclaimer.
 Redistributions in binary form must reproduce the above copyright notice,
 this list of conditions and the following disclaimer in the documentation
 and/or other materials provided with the distribution.
 .
 Neither the name of the author nor the names of its contributors
 may be used to endorse or promote products derived from this software
 without specific prior written permission.
 .
 THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDER AND CONTRIBUTORS ``AS
 IS'' AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO,
 THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR
 PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE REGENTS OR CONTRIBUTORS BE
 LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR
 CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF
 SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS
 INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN
 CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE)
 ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE
 POSSIBILITY OF SUCH DAMAGE.

License: Apache-2.0
 Licensed under the Apache License, Version 2.0 (the "License");
 you may not use this file except in compliance with the License.
 You may obtain a copy of the License at
 .
 http://www.apache.org/licenses/LICENSE-2.0
 .
 Unless required by applicable law or agreed to in writing, software
 distributed under the License is distributed on an "AS IS" BASIS,
 WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
 See the License for the specific language governing permissions and
 limitations under the License.
 .
 On Debian systems, the complete text of the Apache version 2.0 license
 can be found in "/usr/share/common-licenses/Apache-2.0".

License: CC0-1.0
 To the extent possible under law, the author(s) have dedicated all
 copyright and related and neighboring rights to this software to the
 public domain worldwide. This software is distributed without any
 warranty.
 .
 On Debian systems, the complete text of the CC0 1.0 Universal license
 can be found in "/usr/share/common-licenses/CC0-1.0".

License: Kuhn-wcwidth
 Permission to use, copy, modify, and distribute this software
 for any purpose and without fee is hereby granted. The author
 disclaims all warranties with regard to this software.

License: X11-distribute-modifications-variant
 Permission is hereby granted, free of charge, to any person obtaining a
 copy of this software and associated documentation files (the
 "Software"), to deal in the Software without restriction, including
 without limitation the rights to use, copy, modify, merge, publish,
 distribute, distribute with modifications, sublicense, and/or sell
 copies of the Software, and to permit persons to whom the Software is
 furnished to do so, subject to the following conditions:
 .
 The above copyright notice and this permission notice shall be included
 in all copies or substantial portions of the Software.
 .
 THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS
 OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF
 MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT.
 IN NO EVENT SHALL THE ABOVE COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM,
 DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR
 OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR
 THE USE OR OTHER DEALINGS IN THE SOFTWARE.
 .
 Except as contained in this notice, the name(s) of the above copyright
 holders shall not be used in advertising or otherwise to promote the
 sale, use or other dealings in this Software without prior written
 authorization.
