History log of /src/lib/libcurses/curses.3
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 cjep_sun2x-base1 cjep_sun2x-base cjep_staticlib_x-base1 cjep_staticlib_x-base phil-wifi-20200421 phil-wifi-20200411 is-mlppp-base phil-wifi-20200406 phil-wifi-20191119
# 1.74 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.73 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: netbsd-8-3-RELEASE netbsd-8-2-RELEASE netbsd-8-1-RELEASE netbsd-8-1-RC1 pgoyette-compat-1020 pgoyette-compat-0930 pgoyette-compat-0906 pgoyette-compat-0728 netbsd-8-0-RELEASE phil-wifi-base pgoyette-compat-0625 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
# 1.72 18-May-2017 abhinav

branches: 1.72.8; 1.72.10;
Fix typo in the man page reference


Revision tags: prg-localcount2-base2 prg-localcount2-base1 prg-localcount2-base pgoyette-localcount-20170426 bouyer-socketcan-base1 pgoyette-localcount-20170320
# 1.71 25-Jan-2017 roy

branches: 1.71.2;
Document baudrate(3).


# 1.70 25-Jan-2017 roy

And more functions ....


# 1.69 25-Jan-2017 roy

Note the substantial work by others on the curses library.


# 1.68 25-Jan-2017 roy

Document recently added functions in curses.3


# 1.67 25-Jan-2017 roy

Reference curses_slk(3).


Revision tags: bouyer-socketcan-base
# 1.66 08-Jan-2017 wiz

branches: 1.66.2;
Use more markup, sort ENVIRONMENT.


Revision tags: pgoyette-localcount-20170107
# 1.65 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.64 05-Jan-2017 roy

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


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 yamt-pagecache-base9 tls-earlyentropy-base 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 tls-maxphys-base yamt-pagecache-base5
# 1.63 21-Apr-2012 roy

branches: 1.63.14;
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.62 04-Oct-2011 roy

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


Revision tags: cherry-xenmp-base bouyer-quota2-nbase bouyer-quota2-base matt-mips64-premerge-20101231
# 1.61 09-Dec-2010 njoly

s/curses_fileo/curses_fileio/ in xrefs.


Revision tags: matt-premerge-20091211
# 1.60 12-Jul-2009 wiz

Bump date for *chgat*.


# 1.59 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.58 23-Feb-2009 wiz

Sort sections.


# 1.57 22-Feb-2009 christos

Document curses environment variables.


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 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-baseX yamt-pf42-base2 wrstuden-revivesa-base yamt-pf42-base
# 1.56 14-Apr-2008 jdc

branches: 1.56.10;
Add new file IO functions.


Revision tags: matt-armv6-nbase
# 1.55 21-Mar-2008 jdc

Add termattrs() and term_attrs().


Revision tags: netbsd-4-0-1-RELEASE wrstuden-fixsa-newbase keiichi-mipv6-base matt-armv6-prevmlocking wrstuden-fixsa-base-1 netbsd-4-0-RELEASE cube-autoconf-base netbsd-4-0-RC5 netbsd-4-0-RC4 netbsd-4-0-RC3 netbsd-4-0-RC2 netbsd-4-0-RC1 matt-armv6-base matt-mips64-base hpcarm-cleanup-base 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-2-0-3-RELEASE netbsd-2-1-RELEASE netbsd-2-1-RC6 netbsd-2-1-RC5 netbsd-2-1-RC4 netbsd-2-1-RC3 netbsd-2-1-RC2 netbsd-2-1-RC1 netbsd-2-0-2-RELEASE netbsd-3-base 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.54 16-Mar-2004 jdc

branches: 1.54.24;
s/can_change_colors/can_change_color/


# 1.53 20-Jan-2004 wiz

Add mv{,w}inch{,n}str and mvwscanw.


# 1.52 05-Oct-2003 jdc

Add redrawwin() and wredrawln().
Fixes PR lib/20038.


# 1.51 07-Aug-2003 agc

Move UCB-licensed code from 4-clause to 3-clause licence.

Patches provided by Joel Baker in PR 22280, verified by myself.


# 1.50 04-Jul-2003 wiz

Sort list of functions.


# 1.49 20-Jun-2003 jdc

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


# 1.48 20-Jun-2003 jdc

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


# 1.47 21-May-2003 jdc

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


# 1.46 21-May-2003 wiz

Bump date for last.


# 1.45 21-May-2003 jdc

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


# 1.44 30-Mar-2003 jdc

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


Revision tags: fvdl_fs64_base
# 1.43 23-Dec-2002 jdc

Add entries for newpad(), subpad(), prefresh() and pnoutrefresh().


# 1.42 22-Oct-2002 blymn

Added the ncurses extensions define_key and keyok.


# 1.41 21-Oct-2002 blymn

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


# 1.40 01-Oct-2002 wiz

New sentence, new line. From Robert Elz.


# 1.39 04-Aug-2002 jdc

Set the curses default colours to white on black when using colour.
See the Single UNIX Specification, Version 2 :

http://www.opengroup.org/onlinepubs/007908799/xcurses/can_change_color.html

Also, add the functions :

use_default_colors();
assume_default_colors(fore, back);

(from ncurses) that allow the terminal default colours or user-specified
default colours to be used.


# 1.38 19-Jul-2002 blymn

Add idcok to documentation.


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.37 25-Mar-2002 wiz

Two formatting fixes.


# 1.36 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.35 14-Oct-2001 wiz

Whitespace, section name, and punctuation fixes.


# 1.34 14-Oct-2001 blymn

Added 2 new functions and a macro:
- getparx
- getpary
- getparyx (macro)
Also minor tweak to the man page to correct grammar on a couple of items.


# 1.33 08-Oct-2001 blymn

Add mvderwin function.


# 1.32 20-Sep-2001 blymn

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


# 1.31 20-Apr-2001 jdc

Add entries for scrolling regions and getnstr() functions.


# 1.30 01-Jan-2001 simonb

Add the instr and inchstr families of functions.


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 04-Jun-2000 simonb

Minor formatting nit.


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

branches: 1.28.2;
Documemt getattrs(), delay_output() and napms().
Document functions (get*).


# 1.27 05-May-2000 blymn

* Fixed lack of win arg in wattr* man entries.


# 1.26 01-May-2000 blymn

* Made erasechar and killchar into functions
* Modified __init_getch to use termcap handle that has been allocated
(_cursesi_genbuf) instead of refetching it.
* Make wgetstr support erase - this is not a full blown SUSv2 version
but it is a start.


# 1.25 27-Apr-2000 jdc

Add wnoutrefresh() and doupdate().


# 1.24 26-Apr-2000 blymn

* Fixed bug in copywin.
* Fixed bug in overwrite.
* Added functions is_linetouched, is_wintouched, untouchwin and wtouchln.


# 1.23 24-Apr-2000 pk

Fix `.Fn' call.


# 1.22 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.21 22-Apr-2000 blymn

* Added ungetch
* Converted inkey and getch to use getchar instead of read so ungetch
will work.


# 1.20 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.19 20-Apr-2000 blymn

* Added new function dupwin.
* Fixed bug in copywin overwrite code.


# 1.18 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.17 12-Apr-2000 jdc

Add colour capabilities and functions.
Add background manipulation functions.
Add def/reset_prog/shell_mode().


# 1.16 11-Apr-2000 blymn

Made data structures opaque


Revision tags: curses-v3-base wrstuden-devbsize-19991221 wrstuden-devbsize-base comdex-fall-1999-base
# 1.15 17-Aug-1999 enami

branches: 1.15.6;
In name section, use .Dq macro rather than writing double quote directly.


# 1.14 28-Jun-1999 simonb

Get rid of the evil trailing spaces and tabs.


# 1.13 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.12 22-Mar-1999 garbled

Last of the .Os cleanups. .Os is defined in the tmac.doc-common file,
so we shouldn't override it with versions in the manpages. Wheee!


# 1.11 05-Feb-1998 perry

add LIBRARY section to man page


# 1.10 05-Nov-1997 fair

add addnstr() to curses.3 man page per PR#2305


Revision tags: netbsd-1-3-base
# 1.9 23-Jul-1997 mikel

branches: 1.9.2;
RCSid police


# 1.8 23-May-1997 jtc

Fix tipo: flusok -> flushok


Revision tags: netbsd-1-2-PATCH001 netbsd-1-2-RELEASE netbsd-1-2-BETA netbsd-1-2-base netbsd-1-1-PATCH001 netbsd-1-1-RELEASE netbsd-1-1-base 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.7 17-Aug-1994 cgd

branches: 1.7.2;
clean up import


# 1.6 06-Aug-1994 jtc

Fix typo, wdelch() only takes on arg (PR 392)


Revision tags: netbsd-1-0-base
# 1.5 09-Nov-1993 cgd

branches: 1.5.2;
repeat after me: "I hate rcs ids"


Revision tags: CSRG-94-01-23 CSRG-last CSRG-93-11-06
# 1.4 09-Nov-1993 cgd

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 indentifiers.


# 1.1 21-Mar-1993 cgd

branches: 1.1.1;
Initial revision