History log of /src/lib/libcurses/Makefile
Revision (<<< Hide revision tags) (Show revision tags >>>) Date Author Comments
Revision tags: perseant-exfatfs-base-20250801 netbsd-11-base netbsd-10-1-RELEASE perseant-exfatfs-base-20240630 perseant-exfatfs-base netbsd-10-0-RELEASE netbsd-10-0-RC6 netbsd-10-0-RC5 netbsd-10-0-RC4 netbsd-10-0-RC3 netbsd-10-0-RC2 netbsd-10-0-RC1 netbsd-10-base
# 1.96 06-Sep-2021 rin

Always autogen fileio.h.

Bump CURSES_LIB_MAJOR.CURSES_LIB_MINOR to 9.0 belatedly.


# 1.95 27-Jun-2021 christos

Fix SSP build


Revision tags: cjep_sun2x-base1 cjep_sun2x-base cjep_staticlib_x-base1 cjep_staticlib_x-base phil-wifi-20200421 phil-wifi-20200411 phil-wifi-20200406
# 1.94 23-Mar-2020 roy

curses: Add stubs for mouse functions

No mouse support actually included.
But that doesn't matter because most terms don't actually support a mouse.

We should look into hooking these into wsmouse(4) and xterm mouse
in the future.

Compatable with nCurses mouse API version 2.


Revision tags: is-mlppp-base phil-wifi-20191119
# 1.93 03-Sep-2019 roy

curses: believe in unicorns

Hopefully this ends the bikeshed.
If you don't believe in unicorns, please #if 0 it out to preserve
the humour.


# 1.92 03-Sep-2019 roy

curses: Add __NetBSD_Curses_Version__

Similar to __NetBSD_Version__ from sys/param.h but has no
correlation to it or the ELF symver libcurses is built as.

If we say that v1 was everything prior to this, it makes sense to
start this from v2.


# 1.91 02-Sep-2019 roy

curses(3): add curses_version()

Returns NetBSD-Curses %s
Where %s is the NetBSD version taken from sys/param.h

Discussed on tech-net@, only for ncurses compat.


Revision tags: netbsd-9-4-RELEASE netbsd-9-3-RELEASE netbsd-9-2-RELEASE netbsd-9-1-RELEASE netbsd-9-0-RELEASE netbsd-9-0-RC2 netbsd-9-0-RC1 netbsd-9-base phil-wifi-20190609 pgoyette-compat-20190127 pgoyette-compat-20190118 pgoyette-compat-1226 pgoyette-compat-1126
# 1.90 22-Nov-2018 uwe

We need insstr.c for !HAVE_WCHAR too.


# 1.89 19-Nov-2018 uwe

Provide basic documentation on getcchar(3) and setcchar(3).

Looks like we don't have any of wide curses stuff documented, so this
seems to be a good place to start. Needs more exposition on wide
attr_t and how it's related to non-wide chtype, etc, etc.


# 1.88 18-Nov-2018 uwe

Oops, revert previous. Wrong tree.


# 1.87 18-Nov-2018 uwe

Comment out LIBDPLIBS so that this can be built outside of the tree.


# 1.86 25-Oct-2018 uwe

Rename curses_insertch.3 to curses_insch.3 to match the function names
documented in that manpage. With the letter salad used in curses
function names naming consistency is very important and this page was
the only one that didn't match.

Add mvinsch and mvwinsch links. Update xrefs in other man pages.


Revision tags: pgoyette-compat-1020 pgoyette-compat-0930 pgoyette-compat-0906 pgoyette-compat-0728 phil-wifi-base pgoyette-compat-0625
# 1.85 10-Jun-2018 christos

branches: 1.85.2;
use SUBDIR.roff suggested by uwe@


Revision tags: netbsd-8-3-RELEASE netbsd-8-2-RELEASE netbsd-8-1-RELEASE netbsd-8-1-RC1 netbsd-8-0-RELEASE netbsd-8-0-RC2 pgoyette-compat-0521 pgoyette-compat-0502 pgoyette-compat-0422 netbsd-8-0-RC1 pgoyette-compat-0415 pgoyette-compat-0407 pgoyette-compat-0330 pgoyette-compat-0322 pgoyette-compat-0315 pgoyette-compat-base matt-nb8-mediatek-base perseant-stdc-iso10646-base netbsd-8-base prg-localcount2-base3 prg-localcount2-base2 prg-localcount2-base1 prg-localcount2-base pgoyette-localcount-20170426 bouyer-socketcan-base1 pgoyette-localcount-20170320
# 1.84 24-Jan-2017 roy

branches: 1.84.10;
Implement POSIX Curses Soft Label Key functions.


Revision tags: bouyer-socketcan-base
# 1.83 11-Jan-2017 roy

branches: 1.83.2;
Move the ripoffline logic out of screen.c and into ripoffline.c.
Store ripped off lines in the SCREEN structure so we can repaint then
when the terminal is resized.
Fix mvwin(3) so it can move windows in the ripped off area.


# 1.82 10-Jan-2017 roy

Implement POSIX curses function ripoffline(3).


Revision tags: pgoyette-localcount-20170107
# 1.81 05-Jan-2017 roy

Implement ncurses is_pad(3).
Correct documentation about is_keypad(3).


# 1.80 05-Jan-2017 roy

Implement is_term_resized and resize_term(3) ncurses extensions.
resizeterm(3) is now a wrapper for resize_term(3).


# 1.79 05-Jan-2017 roy

Add the set_escdelay(3) and set_tabsize(3) ncurses extensions.


# 1.78 03-Jan-2017 roy

Add missing man pages for wsyncup.3 and wcursyncup.3


# 1.77 02-Jan-2017 roy

Implement POSIX Curses functions immedok(3) and syncok(3).


# 1.76 01-Jan-2017 roy

Implement ncurses extension has_key.


# 1.75 31-Dec-2016 roy

Implement POSIX Curses typeahead function.


# 1.74 31-Dec-2016 roy

Implement POSIX curses use_env function.


# 1.73 31-Dec-2016 roy

Implement ncurses extensions is_leaveok and is_keypad.

The former allows the ncurses (and pdcurses) macros getsyx and setsyx
to be implemented, which is needed by a surprising number of applications.

The latter is needed for Python curses support so it doesn't have to dive
into ncurses window structure.


# 1.72 30-Dec-2016 roy

Add the POSIX filter() function to libcurses.


Revision tags: netbsd-7-2-RELEASE netbsd-7-1-2-RELEASE netbsd-7-1-1-RELEASE netbsd-7-1-RELEASE netbsd-7-1-RC2 netbsd-7-nhusb-base-20170116 netbsd-7-1-RC1 pgoyette-localcount-20161104 netbsd-7-0-2-RELEASE localcount-20160914 netbsd-7-nhusb-base pgoyette-localcount-20160806 pgoyette-localcount-20160726 pgoyette-localcount-base netbsd-7-0-1-RELEASE netbsd-7-0-RELEASE netbsd-7-0-RC3 netbsd-7-0-RC2 netbsd-7-0-RC1 netbsd-7-base tls-earlyentropy-base tls-maxphys-base
# 1.71 05-Jul-2014 dholland

branches: 1.71.6;
Remove stray .if make(insatll).

I would really like to know why this didn't fail the clean build I ran
last night.


# 1.70 13-Jun-2014 mrg

remove the build support for GCC 4.1, and any hacks i found for it.

there could still be more -- i only looked for lines matching
both "HAVE_GCC" and "4" as words (grep -w.)


# 1.69 21-May-2014 abs

Add workaround for lib/48827 for vax to avoid segv in sysinst for now


Revision tags: yamt-pagecache-base9 riastradh-xf86-video-intel-2-7-1-pre-2-21-15 riastradh-drm2-base3 riastradh-drm2-base2 riastradh-drm2-base1 riastradh-drm2-base agc-symver-base yamt-pagecache-base8 yamt-pagecache-base7 yamt-pagecache-base6 yamt-pagecache-base5
# 1.68 21-Apr-2012 roy

branches: 1.68.2; 1.68.8;
Fix build


# 1.67 21-Apr-2012 roy

Add capfile(5) to describe the termcap format.
Adjust various man pages and other documentation to point to capfile(5)
instead of termcap(5).
Remove getcap(3) as curses hasn't been building it for a long time.
Punt wrterm.c as tset no longer uses it.


Revision tags: netbsd-6-0-6-RELEASE netbsd-6-1-5-RELEASE netbsd-6-1-4-RELEASE netbsd-6-0-5-RELEASE netbsd-6-1-3-RELEASE netbsd-6-0-4-RELEASE netbsd-6-1-2-RELEASE netbsd-6-0-3-RELEASE netbsd-6-1-1-RELEASE netbsd-6-0-2-RELEASE netbsd-6-1-RELEASE netbsd-6-1-RC4 netbsd-6-1-RC3 netbsd-6-1-RC2 netbsd-6-1-RC1 netbsd-6-0-1-RELEASE matt-nb6-plus-nbase netbsd-6-0-RELEASE netbsd-6-0-RC2 matt-nb6-plus-base netbsd-6-0-RC1 yamt-pagecache-base4 netbsd-6-base yamt-pagecache-base3 yamt-pagecache-base2 yamt-pagecache-base
# 1.66 04-Oct-2011 roy

branches: 1.66.2;
Move longname(3) from curses to terminfo, pre-cursor to fix PR/43386.


Revision tags: cherry-xenmp-base
# 1.65 04-Apr-2011 blymn

Add man page link for define_key


Revision tags: bouyer-quota2-nbase bouyer-quota2-base matt-mips64-premerge-20101231
# 1.64 03-Feb-2010 roy

Userland now builds and uses terminfo instead of termcap.

OK: core@, jdc@


Revision tags: matt-premerge-20091211
# 1.63 06-Jul-2009 joerg

Add support for the chgat(3) family. It is a useful extension from
ncurses, supporting it dramatically reduces the need for ncurses in
pkgsrc.


Revision tags: jym-xensuspend-nbase jym-xensuspend-base
# 1.62 06-Apr-2009 christos

make fileio.h work with objdir.


Revision tags: netbsd-5-2-3-RELEASE netbsd-5-1-5-RELEASE netbsd-5-2-2-RELEASE netbsd-5-1-4-RELEASE netbsd-5-2-1-RELEASE netbsd-5-1-3-RELEASE netbsd-5-2-RELEASE netbsd-5-2-RC1 netbsd-5-1-2-RELEASE netbsd-5-1-1-RELEASE matt-nb5-mips64-premerge-20101231 matt-nb5-pq3-base netbsd-5-1-RELEASE netbsd-5-1-RC4 matt-nb5-mips64-k15 netbsd-5-1-RC3 netbsd-5-1-RC2 netbsd-5-1-RC1 netbsd-5-0-2-RELEASE matt-nb5-mips64-premerge-20091211 matt-nb5-mips64-u2-k2-k4-k7-k8-k9 matt-nb4-mips64-k7-u2a-k9b matt-nb5-mips64-u1-k1-k5 netbsd-5-0-1-RELEASE netbsd-5-0-RELEASE netbsd-5-0-RC4 netbsd-5-0-RC3 netbsd-5-0-RC2 netbsd-5-0-RC1 netbsd-5-base
# 1.61 27-Oct-2008 apb

branches: 1.61.4;
s/AWK/TOOL_AWK/. Problem reported by Greg Oster.


Revision tags: matt-mips64-base2 wrstuden-revivesa-base-3 wrstuden-revivesa-base-2 wrstuden-revivesa-base-1 yamt-pf42-base4 yamt-pf42-base3 hpcarm-cleanup-nbase yamt-pf42-base2 wrstuden-revivesa-base
# 1.60 13-May-2008 tsutsui

Use WARNS=2, which just works.


# 1.59 27-Apr-2008 tsutsui

branches: 1.59.2;
Use WARNS=1 rather than adding warning options to COPTS.
Tested on several MACHINE_ARCHs.


# 1.58 27-Apr-2008 tsutsui

Enable gcc optimization on m68000 (sun2) again with minimum hacks.
gcc -O0 generates a bit fat binaries.


Revision tags: yamt-pf42-baseX yamt-pf42-base
# 1.57 15-Apr-2008 jdc

branches: 1.57.2;
Add getwin and putwin mlinks.


# 1.56 14-Apr-2008 jdc

Add new file IO functions.
Define DISABLE_WCHAR, so that we can build without HAVE_WCHAR.


Revision tags: keiichi-mipv6-base matt-armv6-nbase hpcarm-cleanup-base
# 1.55 09-Feb-2008 mrg

only use -Wuninitialized with -O>0.


Revision tags: matt-armv6-prevmlocking cube-autoconf-base matt-armv6-base matt-mips64-base
# 1.54 29-May-2007 blymn

branches: 1.54.4;
Change debug handling, now we write debug out iff CURSES_TRACE_FILE
has been set in the environment, this prevents people using MKDEBUGLIB
getting more than they bargained for.

Tidied up the debug settings in the Makefile to reflect the above change,
we no longer need to have FULL_DEBUG since nothing is written by default.


# 1.53 28-May-2007 blymn

Merge in wide curses code done as a Summer of Code project by
Ruibiao Qiu.


Revision tags: netbsd-4-0-1-RELEASE wrstuden-fixsa-newbase wrstuden-fixsa-base-1 netbsd-4-0-RELEASE netbsd-4-0-RC5 netbsd-4-0-RC4 netbsd-4-0-RC3 netbsd-4-0-RC2 netbsd-4-0-RC1 netbsd-3-1-1-RELEASE netbsd-3-0-3-RELEASE wrstuden-fixsa-base wcurses-base abandoned-netbsd-4-base netbsd-3-1-RELEASE netbsd-3-0-2-RELEASE netbsd-3-1-RC4 netbsd-3-1-RC3 netbsd-3-1-RC2 netbsd-3-1-RC1 netbsd-4-base netbsd-3-0-1-RELEASE netbsd-3-0-RELEASE netbsd-3-0-RC6 netbsd-3-0-RC5 netbsd-3-0-RC4 netbsd-3-0-RC3 netbsd-3-0-RC2 netbsd-3-0-RC1 netbsd-3-base
# 1.52 21-Apr-2004 jdc

branches: 1.52.12;
Add missing mvin* and mvwin* manual pages.


Revision tags: netbsd-2-0-3-RELEASE netbsd-2-0-2-RELEASE netbsd-2-0-1-RELEASE netbsd-2-base netbsd-2-0-RELEASE netbsd-2-0-RC5 netbsd-2-0-RC4 netbsd-2-0-RC3 netbsd-2-0-RC2 netbsd-2-0-RC1 netbsd-2-0-base
# 1.51 28-Mar-2004 jdc

branches: 1.51.4;
Changes to support *echochar().
Should fix PR lib/24927.


# 1.50 23-Mar-2004 jdc

Add (missing) mvgetch() and mvwgetch() manual pages.


# 1.49 16-Mar-2004 jdc

s/can_change_colors/can_change_color/


# 1.48 18-Oct-2003 wiz

Link curses_cursor(3) to getmaxyx(3); from Steve Rumble in PR 23183.


# 1.47 20-Jun-2003 jdc

Add noqiflush() and qiflush()
Fixes PR lib/20037.


# 1.46 20-Jun-2003 jdc

Add keyname().
Fixes PR lib/20033.
Allow SMALL to be defined, to reduce the size of the library.


# 1.45 21-May-2003 jdc

Add addchstr() family of functions.
Based on mail from Douwe Kiela.
Fixes PR lib/21285 by Thomas Klausner.


# 1.44 21-May-2003 jdc

Add missing *printw manual page links.
Patch provided in PR lib/21446 by Douwe Kiela.


# 1.43 20-May-2003 jdc

Add missing manual page links.


# 1.42 08-Apr-2003 jdc

Add mvwin manual pages.
From PR 21041.


# 1.41 30-Mar-2003 jdc

Add attr_set() group of functions.
Fixes PR lib/20034 by Thomas Klausner.


# 1.40 09-Jan-2003 blymn

Added halfdelay() function.


Revision tags: fvdl_fs64_base
# 1.39 24-Dec-2002 jdc

Add curses pad manual pages.
Forgot to commit this. Pointed out by wiz.


# 1.38 21-Oct-2002 blymn

Added separate man pages for curses functions to provide better
documentation of the curses functions.


# 1.37 19-Aug-2002 lukem

Use ${NETBSDSRCDIR}/some/path instead of ${.CURDIR}/../../some/path (etc).
(Reduces make output by ~ 20%)


# 1.36 19-Jul-2002 blymn

* Added new function idcok - this closes PR 10802
* Added sentinels to the line structures when in debug mode to try
to pick up data overwrite problems, if they occur.


Revision tags: netbsd-1-6-PATCH002-RELEASE netbsd-1-6-PATCH002 netbsd-1-6-PATCH002-RC4 netbsd-1-6-PATCH002-RC3 netbsd-1-6-PATCH002-RC2 netbsd-1-6-PATCH002-RC1 netbsd-1-6-PATCH001 netbsd-1-6-PATCH001-RELEASE netbsd-1-6-PATCH001-RC3 netbsd-1-6-PATCH001-RC2 netbsd-1-6-PATCH001-RC1 netbsd-1-6-RELEASE netbsd-1-6-RC3 netbsd-1-6-RC2 netbsd-1-6-RC1 netbsd-1-6-base
# 1.35 11-Dec-2001 blymn

* Remove termcap globals from public interface
* Clean up commented out code


# 1.34 02-Dec-2001 blymn

* Major change to add support for the newterm/set_term functions.
* Added fix to getch.c suggested by Gabriel Rosenkoetter (thanks :-)


# 1.33 20-Sep-2001 blymn

Add code to allow resizing of windows and the underlying terminal.


# 1.32 10-Jan-2001 blymn

Fixed casting bug in array indexing, a signed char was being sign
extended when cast to unsigned, made the cast "unsigned char"


# 1.31 01-Jan-2001 simonb

Add the instr and inchstr families of functions.


# 1.30 13-Aug-2000 itojun

build a trace version of libcurses, with "make -DDEBUG_CURSES"
(commented out as it is very uncommon)


Revision tags: netbsd-1-5-PATCH003 netbsd-1-5-PATCH002 netbsd-1-5-PATCH001 netbsd-1-5-RELEASE netbsd-1-5-BETA2 netbsd-1-5-BETA netbsd-1-5-ALPHA2 netbsd-1-5-base
# 1.29 03-Jun-2000 blymn

* Added libterm to the include path - tgoto requires it for the private
structure definition.


Revision tags: minoura-xpg4dl-base
# 1.28 11-May-2000 jdc

branches: 1.28.2;
Add pause.c.


# 1.27 24-Apr-2000 blymn

* Added rcs id line to files missing it.
* Added code to __restartwin to restore meta and cursor visibility states
* Added code to __stopwin to disable meta.
* Added the *line group of functions for drawing character lines.


# 1.26 22-Apr-2000 blymn

* Fixed need for duplicate namp string in setterm.c
* Added meta function (turns meta bit on and off on terminal if supported)
* Added curs_set to control cursor visibility if supported.


# 1.25 20-Apr-2000 kleink

* Move <wchar.h> from libcurses to include (for the missing functionality
is to be provided by libc).
* Define wint_t and size_t in <wchar.h> as well.


# 1.24 18-Apr-2000 blymn

More multiple changes:
* Added function derwin.
* Added function copywin.
* Modified both overlay and overwrite to use copywin.
* Updated man page with new functions and fixed minor format glitch.


# 1.23 12-Apr-2000 jdc

Add color.c, background.c, getyx.c.


# 1.22 11-Apr-2000 blymn

Made data structures opaque


Revision tags: curses-v3-base wrstuden-devbsize-19991221 wrstuden-devbsize-base comdex-fall-1999-base
# 1.21 28-Jun-1999 simonb

branches: 1.21.6;
Get rid of the evil trailing spaces and tabs.


# 1.20 13-Apr-1999 mrg

Upgrades the standard NetBSD curses library to provide some
of the SYSV curses facilities. The added features are the collapsing
of arrow and function keysequences (as defined by termcap for the
terminal) into symbolic code returns thus relieving the application of
recognising multi-character key sequences. Other features are the
capability to perform a timed wait for a key (good for when you are
not sure if there is a keypress ready or not) and the capability for
turning off the inter-key timeout when assembling multi-character
function keys.

this work was done by Julian Coleman <J.D.Coleman@newcastle.ac.uk>
and blymn@baea.com.au (Brett Lymn). i'm just integrating it. thanks
HEAPS guys!


Revision tags: netbsd-1-4-PATCH003 netbsd-1-4-PATCH002 netbsd-1-4-PATCH001 netbsd-1-4-RELEASE netbsd-1-4-base
# 1.19 18-Feb-1998 jtc

Ncurses (like SysV/XOpen based curses implementations) includes
the termcap API. This changes bsd-curses to do the same, so we
can update program Makefiles and the like *before* ncurses 4.2
is integrated.


# 1.18 22-Oct-1997 lukem

use CPPFLAGS instead of CFLAGS


Revision tags: netbsd-1-3-base
# 1.17 11-Oct-1997 mycroft

branches: 1.17.2;
Use bsd.subdir.mk as appropriate.


# 1.16 09-Oct-1997 lukem

- define WARNS?=1 in the top-level Makefile.inc, and don't define
anywhere else.
- for now, override WARNS=0 in librpcsvc and libwrap, until they're
cleaned up
- rcsid police

lib is now clean (except for librpcsvc and libwrap) on the i386, and
this should motivate the other ports to fix any other minor problems
that their compilers pick up that the i386 version doesn't.


# 1.15 23-Jul-1997 mikel

RCSid police, set WARNS?=1


# 1.14 23-May-1997 jtc

Moved unctrl.h from games/mille.
Install it, as it's part of the curses interface.


# 1.13 24-Mar-1997 christos

Makefile cleanups:
use INCS variable to install includes and FILES to install objects.


# 1.12 18-Oct-1996 thorpej

Use ${INSTALL}.


Revision tags: netbsd-1-2-PATCH001 netbsd-1-2-RELEASE netbsd-1-2-BETA netbsd-1-2-base
# 1.11 25-Apr-1996 jtc

Use 'includes' instead of 'beforeinstall' target to install curses.h header


Revision tags: netbsd-1-1-PATCH001 netbsd-1-1-RELEASE netbsd-1-1-base
# 1.10 22-Dec-1994 cgd

specify man pages the new way.


Revision tags: netbsd-1-0-PATCH06 netbsd-1-0-PATCH05 netbsd-1-0-PATCH04 netbsd-1-0-PATCH03 netbsd-1-0-PATCH02 netbsd-1-0-PATCH1 netbsd-1-0-PATCH0 netbsd-1-0-RELEASE
# 1.9 17-Aug-1994 cgd

branches: 1.9.2;
clean up import


Revision tags: netbsd-1-0-base
# 1.8 30-Jun-1994 cgd

deal with new share/doc strategy


# 1.7 25-Jun-1994 cgd

update for new doc-make/install strategy


# 1.6 24-Jan-1994 cgd

changes from branch


# 1.5 09-Nov-1993 cgd

repeat after me: "I hate rcs ids"


Revision tags: CSRG-93-11-06
# 1.4 09-Nov-1993 cgd

branches: 1.4.2;
update to new version from berkeley. doesn't compile yet, nor
does it have rcsid's. this is for diffs.


# 1.3 07-Aug-1993 mycroft

New version from uunet.


# 1.2 01-Aug-1993 mycroft

Add RCS identifiers.


# 1.1 21-Mar-1993 cgd

branches: 1.1.1;
Initial revision