Changes since 7.1.16
- In
v_event_get
checkqp->output
forNULL
before passing toe_memcmp()
; other users ofqp->output
already include aNULL
check; avoids a crash when cursor key support is disabled incl/cl_term.c
; from Jeremy Mates; ok tb@ - Check
tkp->output != NULL
before takingstrlen
for both command mappings and input mappings; this adds a missing check for command mappings and simplifies the input mappings; ok millert@ - From upstream man page, add missing comma; ok jmc@
- Update documentation
- Document that PCC (Portable C Compiler) is working
- Add a BSD make wrapper that calls
gmake
if available - Add OpenBSD
basename
functionality for use withxinstall
- Simplify compatibility headers
- Make
sstrip
target depend on thestrip
target, since many platforms do not support all the sstrip options, so still stripping as much as is possible is the most user-friendly thing to try. - Add support for Solaris; tested on Oracle Solaris 11.4.0 with GCC, Clang (V6+), and the Oracle Developer Studio V12.6 compiler.
- Add support for illumos; tested on OpenIndiana Hipster 2022.03
- Add support for NetBSD; tested on NetBSD/amd64 9.2-stable with the system provided GCC and Clang from binary packages; compiling
CC=clang LTO=1
requires the LLVM LLD linkerld.lld
installed - Add support for IBM AIX 7+; tested on IBM AIX 7.2 and IBM AIX 7.3 with GNU GCC (8, 9, 10, 11), IBM XL C/C++ V16.1+ (
gxlc
,xlclang
), and IBM Open XL C/C++ V17.1+ using ncurses from IBM's AIX Toolbox; AIX builds default to 64-bit (on 64-bit systems) when using a supported compiler; the environment variableMAIXBITS
can be set to32
or64
to force compilation of a 32-bit or 64-bit binary - Various portability improvements (portable BSD getopt, warn, etc.)
- Reorganize source tree to better separate logical components
WCOREDUMP
is not in POSIX.1-2008, so don't require it to build- Similarly, check if
TIOCSCTTY
is available and don't require it - Add
xinstall
, a BSD install utility based on OpenBSDinstall(1)
- Switch
vfork
tofork
asvfork
is now gone from POSIX.1-2008 - Clear pointer after ending screen for safety
README.md
, documentation, and man page corrections and improvements- Apply
expandtab
to lines filtered with the!
command, vianvi2