EVERYTHING FROM THE OTHER REPO

This commit is contained in:
2026-07-29 03:36:26 +03:00
parent 6777ea96db
commit 92a6ae42f5
4426 changed files with 1696506 additions and 2 deletions
@@ -0,0 +1,52 @@
This file is a list of frequently reported problems with ncurses which are
considered bugs elsewhere or configuration problems. If you're going to report a
bug in ncurses, you should probably look over this list first.
********
If you use escape codes to configure a terminal, ncurses applications will just
overwrite your settings when they exit.
The proper way to do this is to also provide a custom terminfo type which sets
the terminal correctly. For instance, for controlling the cursor
shape/color/etc., change the 'cnorm' capability.
********
If you hit the "Print Screen" key while in a Linux console, your current
application will likely dump core.
The kernel maps that key to ^\, which generates a SIGQUIT by default. There's no
bug here (although why that key was chosen is unclear).
********
Home/End keys don't work in some non-full-screen applications.
The situation with this is somewhat complicated. For a background summary, see:
http://invisible-island.net/xterm/xterm.faq.html#xterm_pc_style
http://invisible-island.net/xterm/xterm.faq.html#xterm_arrows
Essentially, the key sequences in terminfo entries (particularly khome and kend)
are for full-screen applications only. This means that they are only valid after
an 'smkx' sequence, to put the terminal into application mode. If you want to
use these sequences in non-application mode, you need to recognize similar
sequences - the versions which start with CSI (\E [) rather than SS3 (\E O). One
example of how is in /etc/zshrc in recent Debian ZSH packages.
********
The Debian terminfo entry for xterm doesn't work with some other xterms
There's no way to win this. For a while, Debian made its xterm default to a
terminal type of 'xterm-debian', which seemed to fix the problem. In that case,
however, connecting to remote non-Debian machines requires you to change your
terminal type (since there will be no entry for xterm-debian there). Having
changed back to a default terminal type of 'xterm', when you sit at a non-Debian
system using some other version of xterm, applications on the Debian system may
use features not available in your current xterm.
The only workaround for this problem is to set your terminal type from xterm to
one of the feature-limited versions when you log in to a Debian system remotely.
"xterm-r6" and the associated terminal types are appropriate for this.
@@ -0,0 +1,4 @@
A possibility that could be explored is to only ship development packages
for the wide libraries. Doing so would give automatic UTF-8 support at the
cost of increased memory usage, see for instance
https://bugzilla.redhat.com/show_bug.cgi?id=1270534#c26.
@@ -0,0 +1,92 @@
Format: https://www.debian.org/doc/packaging-manuals/copyright-format/1.0/
Upstream-Name: ncurses
Upstream-Contact: bug-ncurses@gnu.org
Thomas Dickey <dickey@his.com>
Source: https://invisible-mirror.net/archives/ncurses/
Files: *
Copyright: 1998-2017,2018 Free Software Foundation, Inc.
1996-2024,2025 Thomas E. Dickey
2001 Pradeep Padala
License: MIT/X11
Files: install-sh
Copyright: 1994 X Consortium
License: X11
Files: progs/tset.c ncurses/tinfo/read_termcap.c
Copyright: 1980,1991,1992,1993 The Regents of the University of California
License: BSD-3-clause
License: MIT/X11
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.
License: X11
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, 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
X CONSORTIUM BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN
AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNEC-
TION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
.
Except as contained in this notice, the name of the X Consortium shall not
be used in advertising or otherwise to promote the sale, use or other deal-
ings in this Software without prior written authorization from the X Consor-
tium.
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:
1. Redistributions of source code must retain the above copyright
notice, this list of conditions and the following disclaimer.
2. 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.
3. Neither the name of the University 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 REGENTS 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.