Implemented project structure
This commit is contained in:
@@ -0,0 +1,40 @@
|
||||
-------------------------------------------------------------------------------
|
||||
-- Copyright 2020,2021 Thomas E. Dickey --
|
||||
-- Copyright 2006,2017 Free Software Foundation, Inc. --
|
||||
-- --
|
||||
-- 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. --
|
||||
-------------------------------------------------------------------------------
|
||||
-- $Id: AUTHORS,v 1.5 2021/06/17 21:20:30 tom Exp $
|
||||
-------------------------------------------------------------------------------
|
||||
These are the principal authors/contributors of ncurses since 1.9.9e,
|
||||
in decreasing order of their contribution:
|
||||
|
||||
TD Thomas E. Dickey
|
||||
JPF Juergen Pfeifer
|
||||
ESR Eric S Raymond
|
||||
AVL Alexander V Lukyanov
|
||||
PB Philippe Blain
|
||||
SV Sven Verdoolaege
|
||||
NB Nicolas Boulenguez
|
||||
@@ -0,0 +1,29 @@
|
||||
Copyright 2018-2023,2024 Thomas E. Dickey
|
||||
Copyright 1998-2017,2018 Free Software Foundation, Inc.
|
||||
|
||||
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.
|
||||
|
||||
-- vile:txtmode fc=72
|
||||
-- $Id: COPYING,v 1.13 2024/01/05 21:13:17 tom Exp $
|
||||
15662
xpack-riscv-none-elf-gcc-13.4.0-1/distro-info/licenses/ncurses-6.5/NEWS
Normal file
15662
xpack-riscv-none-elf-gcc-13.4.0-1/distro-info/licenses/ncurses-6.5/NEWS
Normal file
File diff suppressed because it is too large
Load Diff
@@ -0,0 +1,221 @@
|
||||
-------------------------------------------------------------------------------
|
||||
-- Copyright 2020-2021,2023 Thomas E. Dickey --
|
||||
-- Copyright 1998-2012,2018 Free Software Foundation, Inc. --
|
||||
-- --
|
||||
-- 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. --
|
||||
-------------------------------------------------------------------------------
|
||||
-- $Id: README,v 1.31 2023/10/28 14:49:04 tom Exp $
|
||||
-------------------------------------------------------------------------------
|
||||
README file for the ncurses package
|
||||
|
||||
See the file ANNOUNCE for a summary of ncurses features and ports.
|
||||
See the file INSTALL for instructions on how to build and install ncurses.
|
||||
See the file NEWS for a release history and bug-fix notes.
|
||||
See the file TO-DO for things that still need doing, including known bugs.
|
||||
|
||||
Browse the file doc/html/ncurses-intro.html for narrative descriptions of how
|
||||
to use ncurses and the panel, menu, and form libraries.
|
||||
|
||||
Browse the file doc/html/hackguide.html for a tour of the package internals.
|
||||
|
||||
Find plain text versions of both of these documents in doc/.
|
||||
|
||||
ROADMAP AND PACKAGE OVERVIEW:
|
||||
|
||||
You should be reading this file in a directory called: ncurses-d.d, where d.d
|
||||
is the current version number (see the dist.mk file in this directory for
|
||||
that). There should be a number of subdirectories, including `c++', `form',
|
||||
`man', `menu', `misc', `ncurses', `panel', `progs', `test', and `Ada95'.
|
||||
|
||||
A full build/install of this package typically installs several libraries, a
|
||||
handful of utilities, and a database hierarchy. Here is an inventory of the
|
||||
pieces:
|
||||
|
||||
The libraries are:
|
||||
|
||||
libncurses.a (normal)
|
||||
libncurses.so (shared)
|
||||
libncurses_g.a (debug and trace code enabled)
|
||||
libncurses_p.a (profiling enabled)
|
||||
|
||||
libpanel.a (normal)
|
||||
libpanel.so (shared)
|
||||
libpanel_g.a (debug and trace code enabled)
|
||||
|
||||
libmenu.a (normal)
|
||||
libmenu.so (shared)
|
||||
libmenu_g.a (debug enabled)
|
||||
|
||||
libform.a (normal)
|
||||
libform.so (shared)
|
||||
libform_g.a (debug enabled)
|
||||
|
||||
If you configure using the --enable-widec option, a "w" is appended to the
|
||||
library names (e.g., libncursesw.a), and the resulting libraries support
|
||||
wide-characters, e.g., via a UTF-8 locale. The corresponding header files
|
||||
are compatible with the non-wide-character configuration; wide-character
|
||||
features are provided by ifdef's in the header files. The wide-character
|
||||
library interfaces are not binary-compatible with the non-wide-character
|
||||
version.
|
||||
|
||||
If you configure using the --enable-reentrant option, a "t" is appended to the
|
||||
library names (e.g., libncursest.a) and the resulting libraries have a
|
||||
different binary interface, making the ncurses interface more opaque.
|
||||
|
||||
The ncurses libraries implement the curses API. The panel, menu and forms
|
||||
libraries implement clones of the SVr4 panel, menu and forms APIs. The source
|
||||
code for these lives in the `ncurses', `panel', `menu', and `form' directories
|
||||
respectively.
|
||||
|
||||
In the `c++' directory, you'll find code that defines an interface to the
|
||||
curses, forms, menus and panels library packaged as C++ classes, and a demo
|
||||
program in C++ to test it. These class definition modules are not installed
|
||||
by the 'make install.libs' rule as libncurses++.
|
||||
|
||||
In the `Ada95' directory, you'll find code and documentation for an
|
||||
Ada95 binding of the curses API, to be used with the GNAT compiler.
|
||||
This binding is built by a normal top-level `make' if configure detects
|
||||
an usable version of GNAT (3.11 or above). It is not installed automatically.
|
||||
See the Ada95 directory for more build and installation instructions and
|
||||
for documentation of the binding.
|
||||
|
||||
To do its job, the ncurses code needs your terminal type to be set in the
|
||||
environment variable TERM (normally set by your OS; under UNIX, getty(1)
|
||||
typically does this, but you can override it in your .profile); and, it needs
|
||||
a database of terminal descriptions in which to look up your terminal type's
|
||||
capabilities.
|
||||
|
||||
In older (V7/BSD) versions of curses, the database was a flat text file,
|
||||
/etc/termcap; in newer (USG/USL) versions, the database is a hierarchy of
|
||||
fast-loading binary description blocks under /usr/lib/terminfo. These binary
|
||||
blocks are compiled from an improved editable text representation called
|
||||
`terminfo' format (documented in man/terminfo.5). The ncurses library can use
|
||||
either /etc/termcap or the compiled binary terminfo blocks, but prefers the
|
||||
second form.
|
||||
|
||||
In the `misc' directory, there is a text file terminfo.src, in editable
|
||||
terminfo format, which can be used to generate the terminfo binaries (that's
|
||||
what make install.data does). If the package was built with the
|
||||
--enable-termcap option enabled, and the ncurses library cannot find a
|
||||
terminfo description for your terminal, it will fall back to the termcap file
|
||||
supplied with your system (which the ncurses package installation leaves
|
||||
strictly alone).
|
||||
|
||||
The utilities are as follows:
|
||||
|
||||
tic -- terminfo source to binary compiler
|
||||
infocmp -- terminfo binary to source decompiler/comparator
|
||||
clear -- emits clear-screen for current terminal
|
||||
tabs -- set tabs on a terminal
|
||||
tput -- shell-script access to terminal capabilities.
|
||||
toe -- table of entries utility
|
||||
tset -- terminal-initialization utility
|
||||
|
||||
The first two (tic and infocmp) are used for manipulating terminfo
|
||||
descriptions; the next two (clear and tput) are for use in shell scripts. The
|
||||
last (tset) is provided for 4.4BSD compatibility. The source code for all of
|
||||
these lives in the `progs' directory.
|
||||
|
||||
Detailed documentation for all libraries and utilities can be found in the
|
||||
`man' and `doc' directories. An HTML introduction to ncurses, panels, and
|
||||
menus programming lives in the `doc/html' directory. Manpages in HTML format
|
||||
are under `doc/html/man'.
|
||||
|
||||
The `test' directory contains programs that can be used to verify or
|
||||
demonstrate the functions of the ncurses libraries. See test/README for
|
||||
descriptions of these programs. Notably, the `ncurses' utility is designed to
|
||||
help you systematically exercise the library functions.
|
||||
|
||||
AUTHORS:
|
||||
|
||||
Pavel Curtis:
|
||||
wrote the original ncurses
|
||||
|
||||
Zeyd M. Ben-Halim:
|
||||
port of original to Linux and many enhancements.
|
||||
|
||||
Thomas Dickey (maintainer for 1.9.9g through 4.1, resuming with FSF's 5.0):
|
||||
configuration scripts, porting, mods to adhere to XSI Curses in the
|
||||
areas of background color, terminal modes. Also memory leak testing,
|
||||
the wresize, default colors and key definition extensions and numerous
|
||||
bug fixes -- more than half of those enumerated in NEWS beginning with
|
||||
the internal release 1.8.9, see
|
||||
|
||||
https://invisible-island.net/personal/changelogs.html
|
||||
|
||||
Florian La Roche (official maintainer for FSF's ncurses 4.2)
|
||||
Beginning with release 4.2, ncurses is distributed under an MIT-style
|
||||
license.
|
||||
|
||||
Eric S. Raymond:
|
||||
the man pages, infocmp(1), tput(1), clear(1), captoinfo(1), tset(1),
|
||||
toe(1), most of tic(1), trace levels, the HTML intro, wgetnstr() and
|
||||
many other entry points, the cursor-movement optimization, the
|
||||
scroll-pack optimizer for vertical motions, the mouse interface and
|
||||
xterm mouse support, and the ncurses test program.
|
||||
|
||||
Juergen Pfeifer
|
||||
The menu and form libraries, C++ bindings for ncurses, menus, forms
|
||||
and panels, as well as the Ada95 binding. Ongoing support for panel.
|
||||
|
||||
CONTRIBUTORS:
|
||||
|
||||
Alexander V. Lukyanov
|
||||
for numerous fixes and improvements to the optimization logic.
|
||||
|
||||
David MacKenzie
|
||||
for first-class bug-chasing and methodical testing.
|
||||
|
||||
Ross Ridge
|
||||
for the code that hacks termcap parameterized strings into terminfo.
|
||||
|
||||
Warren Tucker and Gerhard Fuernkranz,
|
||||
for writing and sending the panel library.
|
||||
|
||||
Hellmuth Michaelis,
|
||||
for many patches and testing the optimization code.
|
||||
|
||||
Eric Newton, Ulrich Drepper, and Anatoly Ivasyuk:
|
||||
the C++ code.
|
||||
|
||||
Jonathan Ross,
|
||||
for lessons in using sed.
|
||||
|
||||
Keith Bostic (maintainer of 4.4BSD curses)
|
||||
for help, criticism, comments, bug-finding, and being willing to
|
||||
deep-six BSD curses for this one when it grew up.
|
||||
|
||||
Richard Stallman,
|
||||
for his commitment to making ncurses free software.
|
||||
|
||||
Countless other people have contributed by reporting bugs, sending fixes,
|
||||
suggesting improvements, and generally whining about ncurses :-)
|
||||
|
||||
BUGS:
|
||||
See the INSTALL file for bug and developer-list addresses.
|
||||
The Hacker's Guide in the doc directory includes some guidelines
|
||||
on how to report bugs in ways that will get them fixed most quickly.
|
||||
|
||||
-- vile:txtmode fc=78
|
||||
@@ -0,0 +1,148 @@
|
||||
-------------------------------------------------------------------------------
|
||||
-- Copyright 2020 Thomas E. Dickey --
|
||||
-- Copyright 2008-2011,2012 Free Software Foundation, Inc. --
|
||||
-- --
|
||||
-- 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. --
|
||||
-------------------------------------------------------------------------------
|
||||
-- $Id: README.MinGW,v 1.14 2020/09/06 22:22:44 tom Exp $
|
||||
-- Author: Juergen Pfeifer
|
||||
-------------------------------------------------------------------------------
|
||||
|
||||
This is work in progress, but it is in an state where one can see it
|
||||
works at least on the Windows Console.
|
||||
|
||||
You should install the MSYS2 package, so that you have a shell environment that
|
||||
allows you to run scripts, especially configure, etc. You can get that
|
||||
from
|
||||
https://www.msys2.org/
|
||||
|
||||
or the individual packages from
|
||||
|
||||
https://sourceforge.net/projects/msys2/files/
|
||||
|
||||
You may also use a hosted MinGW cross-compile toolchain, e.g., on Ubuntu or
|
||||
ArchLinux to build the libraries and tools.
|
||||
|
||||
To build ncurses for native Windows with support for the new Windows 10 Virtual
|
||||
Terminal and PseudoConsole support, you should install at least version 8.0 of
|
||||
the mingw-w64-x86_64-headers package as it appears to have support for the
|
||||
required Windows SDK level. Please note that some of the Linux distributions
|
||||
are a bit behind with respect to the required MinGW header versions and you may
|
||||
not be able to properly build the libraries for current Windows 10 using these
|
||||
toolchains. Although it is a bit slow, MSYS2 on Windows 10 64-Bit is the
|
||||
authoritative build environment for the MinGW version of ncurses.
|
||||
|
||||
Using MinGW is a pragmatic decision, it is the easiest way to port this
|
||||
heavily UNIX based sourcebase to native Windows. The goal is of course
|
||||
to provide the includes, libraries and DLLs to be used with the more
|
||||
common traditional development environments on Windows, mainly with
|
||||
Microsoft Visual Studio.
|
||||
|
||||
The TERM environment variable must be set especially to activate the Windows
|
||||
console-driver. The driver checks if TERM is set to "#win32con" (explicit
|
||||
use) or if TERM is unset or empty (implicit).
|
||||
|
||||
Beginning with build 17763 (Fall 2018 update), Windows 10 supports ANSI escape
|
||||
sequences (Virtual Terminal support). If ncurses detects this or a later
|
||||
Windows 10 version, the interpretation of the implicit TERM setting (which
|
||||
means: TERM is not set or empty) changes. In this case, TERM is to be assumed
|
||||
to be "ms-terminal" and ncurses acts using the regular terminfo based driver,
|
||||
thus acting like a regular Terminal we all know from UNIX like environments.
|
||||
|
||||
This code requires WindowsNT 6.0 or better, which means on the client
|
||||
Windows Vista or better, on the server Windows Server 2008 or better.
|
||||
|
||||
If running on Windows 10 Build 17763 or later is detected, any program
|
||||
spawning a subprocess running a ncurses program should use the new
|
||||
PseudoConsole support, which provides what we know as pty from the UNIX
|
||||
world also for Windows. Using the CreatePseudoConsole API
|
||||
(see https://docs.microsoft.com/en-us/windows/console/createpseudoconsole)
|
||||
in the calling process, it is guaranteed that the called ncurses program has
|
||||
a console that is required by its implementation, even if the calling program
|
||||
is NOT a console program, e.g., MSYS2's own mintty Terminal emulator.
|
||||
|
||||
In the current MSYS2/minGW setup, building MinGW shared libraries with
|
||||
libtool for ncurses seems to be broken, so I recommend NOT to use libtool.
|
||||
|
||||
To build a modern but still small footprint ncurses that provides
|
||||
hooks for interop, I recommend using these options:
|
||||
|
||||
--without-libtool
|
||||
--disable-home-terminfo
|
||||
--enable-database
|
||||
--disable-termcap
|
||||
--enable-sp-funcs
|
||||
--enable-term-driver
|
||||
--enable-interop
|
||||
|
||||
This is the configuration command line which I am using at the moment
|
||||
(assuming environment variable MINGW_ROOT holds the root directory name of
|
||||
your MinGW build):
|
||||
|
||||
./configure \
|
||||
--prefix=/mingw64 \
|
||||
--without-cxx \
|
||||
--without-ada \
|
||||
--enable-warnings \
|
||||
--enable-assertions \
|
||||
--enable-exp-win32 \
|
||||
--enable-ext-funcs \
|
||||
--disable-home-terminfo \
|
||||
--disable-echo \
|
||||
--disable-getcap \
|
||||
--disable-hard-tabs \
|
||||
--disable-leaks \
|
||||
--disable-macros \
|
||||
--disable-overwrite \
|
||||
--enable-opaque-curses \
|
||||
--enable-opaque-panel \
|
||||
--enable-opaque-menu \
|
||||
--enable-opaque-form \
|
||||
--enable-database \
|
||||
--enable-sp-funcs \
|
||||
--enable-term-driver \
|
||||
--enable-interop \
|
||||
--disable-termcap \
|
||||
--enable-database \
|
||||
--with-progs \
|
||||
--without-libtool \
|
||||
--enable-pc-files \
|
||||
--with-shared \
|
||||
--with-normal \
|
||||
--without-debug \
|
||||
--with-fallbacks=ms-terminal \
|
||||
--without-manpages
|
||||
|
||||
Please note that it is also necessary to set this environment variable:
|
||||
|
||||
export PATH_SEPARATOR=";"
|
||||
|
||||
in order to parse the terminfo paths correctly. Terminfo paths should
|
||||
always be separated by a semicolon, even when running under MSYS2.
|
||||
|
||||
All the options above are - like the whole Windows support -
|
||||
experimental.
|
||||
|
||||
-- vile:txtmode
|
||||
@@ -0,0 +1,73 @@
|
||||
-------------------------------------------------------------------------------
|
||||
-- Copyright 2020,2021 Thomas E. Dickey --
|
||||
-- Copyright 1998-2006,2018 Free Software Foundation, Inc. --
|
||||
-- --
|
||||
-- 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. --
|
||||
-------------------------------------------------------------------------------
|
||||
-- $Id: README.emx,v 1.12 2021/06/17 21:20:30 tom Exp $
|
||||
-- Author: Thomas Dickey
|
||||
-------------------------------------------------------------------------------
|
||||
|
||||
You can build ncurses on OS/2 in the EMX environment. But you must build and
|
||||
acquire tools. Not all of the tools distributed with EMX work properly, and
|
||||
some additional ones are required.
|
||||
|
||||
First, the configure script distributed with ncurses will not run as-is in EMX.
|
||||
You can generate a new one if you have autoconf built for EMX. You will need
|
||||
the EMX development tools, of course. Get these programs to start:
|
||||
|
||||
GNU m4 program (version 1.4)
|
||||
GNU autoconf (version 2.13).
|
||||
GNU patch (version 2.5)
|
||||
|
||||
Apply the autoconf patches from
|
||||
|
||||
https://invisible-island.net/autoconf
|
||||
ftp://ftp.invisible-island.net/autoconf
|
||||
|
||||
These are ordered by date:
|
||||
|
||||
autoconf-2.13-20030927.patch.gz
|
||||
autoconf-2.13-20030927-emx.patch.gz
|
||||
|
||||
I built my development environment for ncurses using EMX 0.9c at the end of
|
||||
1997. Much of the EMX patch for autoconf was done originally by J.J.G.Ripoll,
|
||||
using a similar environment (he prefers using the 'ash' shell). Newer versions
|
||||
may fix these problems:
|
||||
|
||||
+ The pdksh program distributed at Hobbes and Leo (with a 1996 date) is
|
||||
defective. It does not process "here documents" correctly (which
|
||||
renders it useless for running the autoconf script). I built my own
|
||||
copy of pdksh 5.2.13, which does have the bug corrected (documented
|
||||
in the change log for pdksh).
|
||||
|
||||
+ I also built from sources (because the distributed binaries did not
|
||||
work) the cmp, diff programs.
|
||||
|
||||
Other required utilities such as ar, cat, chmod, cp, gawk, grep, mv,
|
||||
ls, rm, mkdir, sed, sort and tr worked.
|
||||
|
||||
Once you have autoconf patched and installed, run 'autoconf' from the top-level
|
||||
directory of ncurses to generate the EMX-specific configure script.
|
||||
Reference in New Issue
Block a user