The NetBSD Project

CVS log for src/lib/libcurses/curses.h

[BACK] Up to [cvs.NetBSD.org] / src / lib / libcurses

Request diff between arbitrary revisions


Default branch: MAIN


Revision 1.130 / (download) - annotate - [select for diffs], Sat Feb 13 10:37:00 2021 UTC (2 years, 1 month ago) by rillig
Branch: MAIN
CVS Tags: netbsd-10-base, netbsd-10, cjep_sun2x-base1, cjep_sun2x-base, cjep_sun2x, cjep_staticlib_x-base1, cjep_staticlib_x-base, cjep_staticlib_x, HEAD
Changes since 1.129: +19 -19 lines
Diff to previous 1.129 (colored)

curses.h: proofread, indent a bit more consistently

Revision 1.121.12.2 / (download) - annotate - [select for diffs], Mon Apr 13 08:03:12 2020 UTC (2 years, 11 months ago) by martin
Branch: phil-wifi
Changes since 1.121.12.1: +72 -1 lines
Diff to previous 1.121.12.1 (colored) to branchpoint 1.121 (colored) next main 1.122 (colored)

Mostly merge changes from HEAD upto 20200411

Revision 1.129 / (download) - annotate - [select for diffs], Mon Mar 23 13:37:36 2020 UTC (3 years ago) by roy
Branch: MAIN
CVS Tags: phil-wifi-20200421, phil-wifi-20200411, phil-wifi-20200406
Changes since 1.128: +69 -1 lines
Diff to previous 1.128 (colored)

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 1.128 / (download) - annotate - [select for diffs], Fri Mar 13 02:57:26 2020 UTC (3 years ago) by roy
Branch: MAIN
Changes since 1.127: +2 -4 lines
Diff to previous 1.127 (colored)

curses: wrap the erase logic in a macro

Easier to use, it's in one place and now hopefully everyone is happy.

X

Revision 1.127 / (download) - annotate - [select for diffs], Thu Mar 12 12:17:15 2020 UTC (3 years ago) by roy
Branch: MAIN
Changes since 1.126: +4 -2 lines
Diff to previous 1.126 (colored)

curses: normalise erase logic with clrtoeol and clrtobot

Define WA_ATTRIBUTES as 0 for the non wide case just to make our code
easier to write.

Revision 1.126 / (download) - annotate - [select for diffs], Tue Sep 3 13:43:34 2019 UTC (3 years, 6 months ago) by roy
Branch: MAIN
CVS Tags: phil-wifi-20191119, is-mlppp-base, is-mlppp
Changes since 1.125: +1 -18 lines
Diff to previous 1.125 (colored)

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.

Revision 1.125 / (download) - annotate - [select for diffs], Tue Sep 3 10:36:17 2019 UTC (3 years, 6 months ago) by roy
Branch: MAIN
Changes since 1.124: +18 -1 lines
Diff to previous 1.124 (colored)

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.

Revision 1.124 / (download) - annotate - [select for diffs], Mon Sep 2 09:08:29 2019 UTC (3 years, 6 months ago) by roy
Branch: MAIN
Changes since 1.123: +4 -1 lines
Diff to previous 1.123 (colored)

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 1.121.12.1 / (download) - annotate - [select for diffs], Mon Jun 10 22:05:22 2019 UTC (3 years, 9 months ago) by christos
Branch: phil-wifi
Changes since 1.121: +3 -3 lines
Diff to previous 1.121 (colored)

Sync with HEAD

Revision 1.121.10.1 / (download) - annotate - [select for diffs], Sat Oct 20 06:58:22 2018 UTC (4 years, 5 months ago) by pgoyette
Branch: pgoyette-compat
CVS Tags: pgoyette-compat-merge-20190127
Changes since 1.121: +3 -3 lines
Diff to previous 1.121 (colored) next main 1.122 (colored)

Sync with head

Revision 1.123 / (download) - annotate - [select for diffs], Sun Sep 30 10:55:00 2018 UTC (4 years, 6 months ago) by kamil
Branch: MAIN
CVS Tags: phil-wifi-20190609, pgoyette-compat-20190127, pgoyette-compat-20190118, pgoyette-compat-1226, pgoyette-compat-1126, pgoyette-compat-1020, netbsd-9-base, 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
Changes since 1.122: +2 -2 lines
Diff to previous 1.122 (colored)

curses.h: Fix typo in a comment of the word 'handling'

No functional change intended.

Revision 1.122 / (download) - annotate - [select for diffs], Sun Sep 30 10:08:13 2018 UTC (4 years, 6 months ago) by kamil
Branch: MAIN
Changes since 1.121: +2 -2 lines
Diff to previous 1.121 (colored)

Fix addchnstr() macro in curses.h

Add a missing argument 'n'.

Revision 1.120.2.1 / (download) - annotate - [select for diffs], Fri Apr 21 16:53:10 2017 UTC (5 years, 11 months ago) by bouyer
Branch: bouyer-socketcan
Changes since 1.120: +19 -1 lines
Diff to previous 1.120 (colored) next main 1.121 (colored)

Sync with HEAD

Revision 1.107.2.2 / (download) - annotate - [select for diffs], Mon Mar 20 06:56:59 2017 UTC (6 years ago) by pgoyette
Branch: pgoyette-localcount
Changes since 1.107.2.1: +20 -1 lines
Diff to previous 1.107.2.1 (colored) to branchpoint 1.107 (colored) next main 1.108 (colored)

Sync with HEAD

Revision 1.121 / (download) - annotate - [select for diffs], Tue Jan 24 17:27:30 2017 UTC (6 years, 2 months ago) by roy
Branch: MAIN
CVS Tags: prg-localcount2-base3, prg-localcount2-base2, prg-localcount2-base1, prg-localcount2-base, prg-localcount2, phil-wifi-base, pgoyette-localcount-20170426, pgoyette-localcount-20170320, pgoyette-compat-base, pgoyette-compat-0930, pgoyette-compat-0906, pgoyette-compat-0728, pgoyette-compat-0625, pgoyette-compat-0521, pgoyette-compat-0502, pgoyette-compat-0422, pgoyette-compat-0415, pgoyette-compat-0407, pgoyette-compat-0330, pgoyette-compat-0322, pgoyette-compat-0315, perseant-stdc-iso10646-base, perseant-stdc-iso10646, netbsd-8-base, netbsd-8-2-RELEASE, netbsd-8-1-RELEASE, netbsd-8-1-RC1, netbsd-8-0-RELEASE, netbsd-8-0-RC2, netbsd-8-0-RC1, netbsd-8, matt-nb8-mediatek-base, matt-nb8-mediatek, bouyer-socketcan-base1
Branch point for: phil-wifi, pgoyette-compat
Changes since 1.120: +19 -1 lines
Diff to previous 1.120 (colored)

Implement POSIX Curses Soft Label Key functions.

Revision 1.120 / (download) - annotate - [select for diffs], Tue Jan 10 10:13:24 2017 UTC (6 years, 2 months ago) by roy
Branch: MAIN
CVS Tags: bouyer-socketcan-base
Branch point for: bouyer-socketcan
Changes since 1.119: +2 -1 lines
Diff to previous 1.119 (colored)

Implement POSIX curses function ripoffline(3).

Revision 1.107.2.1 / (download) - annotate - [select for diffs], Sat Jan 7 08:56:04 2017 UTC (6 years, 2 months ago) by pgoyette
Branch: pgoyette-localcount
Changes since 1.107: +45 -6 lines
Diff to previous 1.107 (colored)

Sync with HEAD.  (Note that most of these changes are simply $NetBSD$
tag issues.)

Revision 1.119 / (download) - annotate - [select for diffs], Fri Jan 6 09:14:07 2017 UTC (6 years, 2 months ago) by roy
Branch: MAIN
CVS Tags: pgoyette-localcount-20170107
Changes since 1.118: +3 -3 lines
Diff to previous 1.118 (colored)

u_int -> unsigned int, u_int32_t -> uint32_t.

Revision 1.118 / (download) - annotate - [select for diffs], Thu Jan 5 23:15:43 2017 UTC (6 years, 2 months ago) by roy
Branch: MAIN
Changes since 1.117: +2 -1 lines
Diff to previous 1.117 (colored)

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

Revision 1.117 / (download) - annotate - [select for diffs], Thu Jan 5 21:25:18 2017 UTC (6 years, 2 months ago) by roy
Branch: MAIN
Changes since 1.116: +3 -1 lines
Diff to previous 1.116 (colored)

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

Revision 1.116 / (download) - annotate - [select for diffs], Thu Jan 5 20:31:37 2017 UTC (6 years, 2 months ago) by roy
Branch: MAIN
Changes since 1.115: +3 -1 lines
Diff to previous 1.115 (colored)

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

Revision 1.115 / (download) - annotate - [select for diffs], Wed Jan 4 03:51:29 2017 UTC (6 years, 2 months ago) by roy
Branch: MAIN
Changes since 1.114: +4 -4 lines
Diff to previous 1.114 (colored)

White space police

Revision 1.114 / (download) - annotate - [select for diffs], Wed Jan 4 02:05:23 2017 UTC (6 years, 2 months ago) by roy
Branch: MAIN
Changes since 1.113: +7 -1 lines
Diff to previous 1.113 (colored)

Allow C++ to link with all curses parts.

Revision 1.113 / (download) - annotate - [select for diffs], Mon Jan 2 10:28:34 2017 UTC (6 years, 2 months ago) by roy
Branch: MAIN
Changes since 1.112: +3 -1 lines
Diff to previous 1.112 (colored)

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

Revision 1.112 / (download) - annotate - [select for diffs], Sun Jan 1 03:06:06 2017 UTC (6 years, 2 months ago) by roy
Branch: MAIN
Changes since 1.111: +2 -1 lines
Diff to previous 1.111 (colored)

Implement ncurses extension has_key.

Revision 1.111 / (download) - annotate - [select for diffs], Sat Dec 31 22:47:01 2016 UTC (6 years, 2 months ago) by roy
Branch: MAIN
Changes since 1.110: +2 -1 lines
Diff to previous 1.110 (colored)

Implement POSIX Curses typeahead function.

Revision 1.110 / (download) - annotate - [select for diffs], Sat Dec 31 17:46:35 2016 UTC (6 years, 2 months ago) by roy
Branch: MAIN
Changes since 1.109: +2 -1 lines
Diff to previous 1.109 (colored)

Implement POSIX curses use_env function.

Revision 1.109 / (download) - annotate - [select for diffs], Sat Dec 31 13:50:16 2016 UTC (6 years, 2 months ago) by roy
Branch: MAIN
Changes since 1.108: +23 -1 lines
Diff to previous 1.108 (colored)

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.

Revision 1.108 / (download) - annotate - [select for diffs], Fri Dec 30 22:38:38 2016 UTC (6 years, 2 months ago) by roy
Branch: MAIN
Changes since 1.107: +2 -1 lines
Diff to previous 1.107 (colored)

Add the POSIX filter() function to libcurses.

Revision 1.103.4.1 / (download) - annotate - [select for diffs], Fri Jun 19 17:16:11 2015 UTC (7 years, 9 months ago) by snj
Branch: netbsd-6
Changes since 1.103: +2 -2 lines
Diff to previous 1.103 (colored) next main 1.104 (colored)

Pull up following revision(s) (requested by joerg in ticket #1307):
	lib/libcurses/curses.h: revision 1.107
mvgetnstr should have a length argument as the name implies.

Revision 1.93.8.2 / (download) - annotate - [select for diffs], Fri Jun 19 17:14:04 2015 UTC (7 years, 9 months ago) by snj
Branch: netbsd-5
Changes since 1.93.8.1: +2 -2 lines
Diff to previous 1.93.8.1 (colored) to branchpoint 1.93 (colored) next main 1.94 (colored)

Pull up following revision(s) (requested by joerg in ticket #1970):
	lib/libcurses/curses.h: revision 1.107
mvgetnstr should have a length argument as the name implies.

Revision 1.106.4.1 / (download) - annotate - [select for diffs], Wed Jun 10 16:59:32 2015 UTC (7 years, 9 months ago) by snj
Branch: netbsd-7
CVS Tags: netbsd-7-nhusb-base-20170116, netbsd-7-nhusb-base, netbsd-7-nhusb, netbsd-7-2-RELEASE, netbsd-7-1-RELEASE, netbsd-7-1-RC2, netbsd-7-1-RC1, netbsd-7-1-2-RELEASE, netbsd-7-1-1-RELEASE, netbsd-7-1, netbsd-7-0-RELEASE, netbsd-7-0-RC3, netbsd-7-0-RC2, netbsd-7-0-RC1, netbsd-7-0-2-RELEASE, netbsd-7-0-1-RELEASE, netbsd-7-0
Changes since 1.106: +2 -2 lines
Diff to previous 1.106 (colored) next main 1.107 (colored)

Pull up following revision(s) (requested by joerg in ticket #836):
	lib/libcurses/curses.h: revision 1.107
mvgetnstr should have a length argument as the name implies.

Revision 1.107 / (download) - annotate - [select for diffs], Mon Jun 8 12:38:57 2015 UTC (7 years, 9 months ago) by joerg
Branch: MAIN
CVS Tags: pgoyette-localcount-base, pgoyette-localcount-20161104, pgoyette-localcount-20160806, pgoyette-localcount-20160726, localcount-20160914
Branch point for: pgoyette-localcount
Changes since 1.106: +2 -2 lines
Diff to previous 1.106 (colored)

mvgetnstr should have a length argument as the name implies.

Revision 1.104.2.1 / (download) - annotate - [select for diffs], Wed Aug 20 00:02:17 2014 UTC (8 years, 7 months ago) by tls
Branch: tls-maxphys
Changes since 1.104: +3 -1 lines
Diff to previous 1.104 (colored) next main 1.105 (colored)

Rebase to HEAD as of a few days ago.

Revision 1.103.2.2 / (download) - annotate - [select for diffs], Thu May 22 11:36:55 2014 UTC (8 years, 10 months ago) by yamt
Branch: yamt-pagecache
Changes since 1.103.2.1: +3 -1 lines
Diff to previous 1.103.2.1 (colored) to branchpoint 1.103 (colored) next main 1.104 (colored)

sync with head.

for a reference, the tree before this commit was tagged
as yamt-pagecache-tag8.

this commit was splitted into small chunks to avoid
a limitation of cvs.  ("Protocol error: too many arguments")

Revision 1.106 / (download) - annotate - [select for diffs], Wed Oct 16 19:59:29 2013 UTC (9 years, 5 months ago) by roy
Branch: MAIN
CVS Tags: yamt-pagecache-base9, tls-maxphys-base, tls-earlyentropy-base, tls-earlyentropy, riastradh-xf86-video-intel-2-7-1-pre-2-21-15, riastradh-drm2-base3, netbsd-7-base
Branch point for: netbsd-7
Changes since 1.105: +2 -1 lines
Diff to previous 1.105 (colored)

Add TABSIZE, which is derived from terminfo init_tabs.
Use this when processing \t.
If TABSIZE is set in the environment, this takes precedence.

Revision 1.105 / (download) - annotate - [select for diffs], Wed Oct 16 12:43:35 2013 UTC (9 years, 5 months ago) by roy
Branch: MAIN
Changes since 1.104: +2 -1 lines
Diff to previous 1.104 (colored)

Define WA_NORMAL

Revision 1.103.2.1 / (download) - annotate - [select for diffs], Wed May 23 10:07:31 2012 UTC (10 years, 10 months ago) by yamt
Branch: yamt-pagecache
CVS Tags: yamt-pagecache-tag8
Changes since 1.103: +1 -2 lines
Diff to previous 1.103 (colored)

sync with head.

Revision 1.104 / (download) - annotate - [select for diffs], Sat Apr 21 12:27:27 2012 UTC (10 years, 11 months ago) by roy
Branch: MAIN
CVS Tags: yamt-pagecache-base8, yamt-pagecache-base7, yamt-pagecache-base6, yamt-pagecache-base5, riastradh-drm2-base2, riastradh-drm2-base1, riastradh-drm2-base, riastradh-drm2, agc-symver-base, agc-symver
Branch point for: tls-maxphys
Changes since 1.103: +1 -2 lines
Diff to previous 1.103 (colored)

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 1.103 / (download) - annotate - [select for diffs], Tue Oct 4 11:01:13 2011 UTC (11 years, 5 months ago) by roy
Branch: MAIN
CVS Tags: yamt-pagecache-base4, yamt-pagecache-base3, yamt-pagecache-base2, yamt-pagecache-base, netbsd-6-base, netbsd-6-1-RELEASE, netbsd-6-1-RC4, netbsd-6-1-RC3, netbsd-6-1-RC2, netbsd-6-1-RC1, netbsd-6-1-5-RELEASE, netbsd-6-1-4-RELEASE, netbsd-6-1-3-RELEASE, netbsd-6-1-2-RELEASE, netbsd-6-1-1-RELEASE, netbsd-6-1, netbsd-6-0-RELEASE, netbsd-6-0-RC2, netbsd-6-0-RC1, netbsd-6-0-6-RELEASE, netbsd-6-0-5-RELEASE, netbsd-6-0-4-RELEASE, netbsd-6-0-3-RELEASE, netbsd-6-0-2-RELEASE, netbsd-6-0-1-RELEASE, netbsd-6-0, matt-nb6-plus-nbase, matt-nb6-plus-base, matt-nb6-plus
Branch point for: yamt-pagecache, netbsd-6
Changes since 1.102: +1 -2 lines
Diff to previous 1.102 (colored)

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

Revision 1.102 / (download) - annotate - [select for diffs], Sun Jul 17 20:54:34 2011 UTC (11 years, 8 months ago) by joerg
Branch: MAIN
Changes since 1.101: +5 -5 lines
Diff to previous 1.101 (colored)

Retire varargs.h support. Move machine/stdarg.h logic into MI
sys/stdarg.h and expect compiler to provide proper builtins, defaulting
to the GCC interface. lint still has a special fallback.
Reduce abuse of _BSD_VA_LIST_ by defining __va_list by default and
derive va_list as required by standards.

Revision 1.101 / (download) - annotate - [select for diffs], Thu Dec 16 17:42:28 2010 UTC (12 years, 3 months ago) by wiz
Branch: MAIN
CVS Tags: matt-mips64-premerge-20101231, cherry-xenmp-base, cherry-xenmp, bouyer-quota2-nbase, bouyer-quota2-base, bouyer-quota2
Changes since 1.100: +4 -4 lines
Diff to previous 1.100 (colored)

Observe the following spelling:
- wide character (noun)
- wide-character (adjective)

Inspired by jmc@OpenBSD.

Revision 1.93.14.1 / (download) - annotate - [select for diffs], Wed Apr 21 05:28:09 2010 UTC (12 years, 11 months ago) by matt
Branch: matt-nb5-mips64
CVS Tags: matt-nb5-mips64-premerge-20101231, matt-nb5-mips64-k15
Changes since 1.93: +2 -2 lines
Diff to previous 1.93 (colored) next main 1.94 (colored)

sync to netbsd-5

Revision 1.100 / (download) - annotate - [select for diffs], Tue Feb 23 19:48:26 2010 UTC (13 years, 1 month ago) by drochner
Branch: MAIN
Changes since 1.99: +39 -33 lines
Diff to previous 1.99 (colored)

misc fixes and improvements:
-call setlocale(LC_CTYPE, "") before nl_langinfo(CODESET) if the
 locale settings is (still) at "C" - otherwise the CODESET doesn't work
-fix the type of the WACS_* symbols -- this needs to be cchar_t*
-add safeguards where the return value of wcwidth() is used for
 loop counters or indexing -- it can be -1
-use more common code in the widechar support case -- in particular
 let the wchar functions do the work even if chtype ones were called
-implement wcursyncup/wsyncup/wsyncdown
-somewhat experimental: allow ACS_* variables to refer to WACS_*
 table entries -- this way, programs using the old chtype using API
 can use UTF8 line drawing on terminals which support UTF8 but not
 ACS switching
-fix some logics bugs in UTF8 recognition and ALTCHARSET handling

Revision 1.99 / (download) - annotate - [select for diffs], Wed Feb 3 15:34:40 2010 UTC (13 years, 1 month ago) by roy
Branch: MAIN
Changes since 1.98: +3 -3 lines
Diff to previous 1.98 (colored)

Userland now builds and uses terminfo instead of termcap.

OK: core@, jdc@

Revision 1.93.8.1 / (download) - annotate - [select for diffs], Thu Dec 10 23:18:48 2009 UTC (13 years, 3 months ago) by snj
Branch: netbsd-5
CVS Tags: netbsd-5-2-RELEASE, netbsd-5-2-RC1, netbsd-5-2-3-RELEASE, netbsd-5-2-2-RELEASE, netbsd-5-2-1-RELEASE, netbsd-5-2, netbsd-5-1-RELEASE, netbsd-5-1-RC4, netbsd-5-1-RC3, netbsd-5-1-RC2, netbsd-5-1-RC1, netbsd-5-1-5-RELEASE, netbsd-5-1-4-RELEASE, netbsd-5-1-3-RELEASE, netbsd-5-1-2-RELEASE, netbsd-5-1-1-RELEASE, netbsd-5-1, matt-nb5-pq3-base, matt-nb5-pq3
Changes since 1.93: +2 -2 lines
Diff to previous 1.93 (colored)

Pull up following revision(s) (requested by drochner in ticket #1190):
	lib/libcurses/keypad.c: revision 1.11
	lib/libcurses/curses.h: revision 1.94
Make keypad return an int instead of nothing, as the SUS and even
curses_input(3) [!] say it should.
OK'd jdc@.  ABI lawyers say this doesn't need major bump.

Revision 1.98 / (download) - annotate - [select for diffs], Wed Jul 22 16:57:14 2009 UTC (13 years, 8 months ago) by roy
Branch: MAIN
CVS Tags: matt-premerge-20091211
Changes since 1.97: +2 -2 lines
Diff to previous 1.97 (colored)

Prepare curses for the possibility of changing from termcap to terminfo.
term.h #defines lines, pad_char and no_color_video macros which conflict
with existing curses code. We change lines to alines and nlines depending
on use, pad_char to padchar and no_color_video becomes no_color_attributes
but with a strong alias from no_color_video.

Revision 1.97 / (download) - annotate - [select for diffs], Tue Jul 7 10:16:52 2009 UTC (13 years, 8 months ago) by joerg
Branch: MAIN
Changes since 1.96: +3 -1 lines
Diff to previous 1.96 (colored)

Add vw_printw and vw_scanw as mandated by SUSv2's xcurses. Follow
ncurses and just make the historic vwprintw and vwscanw functions
aliases, ignoring that they should take a varargs.h va_list argument.

Revision 1.96 / (download) - annotate - [select for diffs], Tue Jul 7 09:58:08 2009 UTC (13 years, 8 months ago) by joerg
Branch: MAIN
Changes since 1.95: +11 -21 lines
Diff to previous 1.95 (colored)

Use __printflike/__scanflike.

Revision 1.95 / (download) - annotate - [select for diffs], Mon Jul 6 15:19:49 2009 UTC (13 years, 8 months ago) by joerg
Branch: MAIN
Changes since 1.94: +6 -1 lines
Diff to previous 1.94 (colored)

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 1.93.10.1 / (download) - annotate - [select for diffs], Wed May 13 19:18:28 2009 UTC (13 years, 10 months ago) by jym
Branch: jym-xensuspend
Changes since 1.93: +2 -2 lines
Diff to previous 1.93 (colored) next main 1.94 (colored)

Sync with HEAD.

Third (and last) commit. See http://mail-index.netbsd.org/source-changes/2009/05/13/msg221222.html

Revision 1.94 / (download) - annotate - [select for diffs], Wed Apr 1 20:59:15 2009 UTC (14 years ago) by cube
Branch: MAIN
CVS Tags: jym-xensuspend-nbase, jym-xensuspend-base
Changes since 1.93: +2 -2 lines
Diff to previous 1.93 (colored)

Make keypad return an int instead of nothing, as the SUS and even
curses_input(3) [!] say it should.

OK'd jdc@.  ABI lawyers say this doesn't need major bump.

Revision 1.93 / (download) - annotate - [select for diffs], Mon Apr 14 20:40:54 2008 UTC (14 years, 11 months ago) by jdc
Branch: MAIN
CVS Tags: yamt-pf42-baseX, yamt-pf42-base4, yamt-pf42-base3, yamt-pf42-base2, yamt-pf42-base, yamt-pf42, wrstuden-revivesa-base-3, wrstuden-revivesa-base-2, wrstuden-revivesa-base-1, wrstuden-revivesa-base, wrstuden-revivesa, netbsd-5-base, netbsd-5-0-RELEASE, netbsd-5-0-RC4, netbsd-5-0-RC3, netbsd-5-0-RC2, netbsd-5-0-RC1, netbsd-5-0-2-RELEASE, netbsd-5-0-1-RELEASE, netbsd-5-0, matt-nb5-mips64-u2-k2-k4-k7-k8-k9, matt-nb5-mips64-u1-k1-k5, matt-nb5-mips64-premerge-20091211, matt-nb4-mips64-k7-u2a-k9b, matt-mips64-base2, hpcarm-cleanup-nbase
Branch point for: netbsd-5, matt-nb5-mips64, jym-xensuspend
Changes since 1.92: +2 -0 lines
Diff to previous 1.92 (colored)

Add new file IO functions.

Revision 1.92 / (download) - annotate - [select for diffs], Mon Mar 24 16:57:28 2008 UTC (15 years ago) by jdc
Branch: MAIN
Changes since 1.91: +1 -1 lines
Diff to previous 1.91 (colored)

Don't define HAVE_WCHAR if DISABLE_WCHAR is defined.
Pointed out by martin@.

Revision 1.90.4.1 / (download) - annotate - [select for diffs], Sun Mar 23 00:40:26 2008 UTC (15 years ago) by matt
Branch: matt-armv6
Changes since 1.90: +21 -12 lines
Diff to previous 1.90 (colored) next main 1.91 (colored)

sync with HEAD

Revision 1.91 / (download) - annotate - [select for diffs], Fri Mar 21 13:42:39 2008 UTC (15 years ago) by jdc
Branch: MAIN
CVS Tags: matt-armv6-nbase
Changes since 1.90: +21 -12 lines
Diff to previous 1.90 (colored)

Add termattrs() and term_attrs().
Conditionally define HAVE_WCHAR, so that userland programs can see wide
definitions and functions.

Revision 1.87.8.1 / (download) - annotate - [select for diffs], Sun Sep 30 03:38:57 2007 UTC (15 years, 6 months ago) by wrstuden
Branch: wrstuden-fixsa
Changes since 1.87: +2 -6 lines
Diff to previous 1.87 (colored) next main 1.88 (colored)

Catch up on netbsd-4 as of a few days ago.

Revision 1.87.4.1 / (download) - annotate - [select for diffs], Thu Sep 27 13:52:21 2007 UTC (15 years, 6 months ago) by xtraeme
Branch: netbsd-4
CVS Tags: wrstuden-fixsa-newbase, wrstuden-fixsa-base-1, wrstuden-fixsa-base, netbsd-4-0-RELEASE, netbsd-4-0-RC5, netbsd-4-0-RC4, netbsd-4-0-RC3, netbsd-4-0-RC2, netbsd-4-0-1-RELEASE, netbsd-4-0
Changes since 1.87: +2 -6 lines
Diff to previous 1.87 (colored) next main 1.88 (colored)

Pull up following revision(s) (requested by joerg in ticket #891):
	lib/libcurses/curses.h: revision 1.89 (via patch)

Do not typedef bool as char, just include stdbool.h. Fixes a build
failure with regress/include/okheaders.
Suggestion by mlelstv@ and ok by blymn@.

Revision 1.90 / (download) - annotate - [select for diffs], Wed Jul 11 18:44:46 2007 UTC (15 years, 8 months ago) by jdc
Branch: MAIN
CVS Tags: matt-mips64-base, matt-mips64, matt-armv6-prevmlocking, matt-armv6-base, keiichi-mipv6-base, keiichi-mipv6, hpcarm-cleanup-base, hpcarm-cleanup, cube-autoconf-base, cube-autoconf
Branch point for: matt-armv6
Changes since 1.89: +19 -1 lines
Diff to previous 1.89 (colored)

Add additional line drawing and characters.
Pointed out by pooka@.

Revision 1.89 / (download) - annotate - [select for diffs], Sun Jul 1 10:53:59 2007 UTC (15 years, 9 months ago) by xtraeme
Branch: MAIN
Changes since 1.88: +2 -6 lines
Diff to previous 1.88 (colored)

Do not typedef bool as char, just include stdbool.h. Fixes a build
failure with regress/include/okheaders.

Suggestion by mlelstv@ and ok by blymn@.

Revision 1.88 / (download) - annotate - [select for diffs], Mon May 28 15:01:55 2007 UTC (15 years, 10 months ago) by blymn
Branch: MAIN
Changes since 1.87: +200 -1 lines
Diff to previous 1.87 (colored)

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

Revision 1.87.6.2 / (download) - annotate - [select for diffs], Sun Jan 21 17:43:35 2007 UTC (16 years, 2 months ago) by jdc
Branch: wcurses
Changes since 1.87.6.1: +3 -2 lines
Diff to previous 1.87.6.1 (colored) to branchpoint 1.87 (colored) next main 1.88 (colored)

Apply the changes that add debug "areas" on HEAD to the wcurses branch.
Add correspending changes to the debug code that is only present on the branch.

Revision 1.87.6.1 / (download) - annotate - [select for diffs], Sun Jan 21 11:38:59 2007 UTC (16 years, 2 months ago) by blymn
Branch: wcurses
Changes since 1.87: +201 -3 lines
Diff to previous 1.87 (colored)

Wide curses merge

Revision 1.87 / (download) - annotate - [select for diffs], Tue Aug 9 02:33:38 2005 UTC (17 years, 7 months ago) by christos
Branch: MAIN
CVS Tags: wcurses-base, netbsd-4-base, netbsd-4-0-RC1, abandoned-netbsd-4-base, abandoned-netbsd-4
Branch point for: wrstuden-fixsa, wcurses, netbsd-4
Changes since 1.86: +38 -29 lines
Diff to previous 1.86 (colored)

Deal with modern c++ casts.

Revision 1.86 / (download) - annotate - [select for diffs], Sun Mar 28 08:58:37 2004 UTC (19 years ago) by jdc
Branch: MAIN
CVS Tags: netbsd-3-base, netbsd-3-1-RELEASE, netbsd-3-1-RC4, netbsd-3-1-RC3, netbsd-3-1-RC2, netbsd-3-1-RC1, netbsd-3-1-1-RELEASE, netbsd-3-1, 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-0-3-RELEASE, netbsd-3-0-2-RELEASE, netbsd-3-0-1-RELEASE, netbsd-3-0, netbsd-3, netbsd-2-base, 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-1, netbsd-2-0-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-3-RELEASE, netbsd-2-0-2-RELEASE, netbsd-2-0-1-RELEASE, netbsd-2-0, netbsd-2
Changes since 1.85: +5 -1 lines
Diff to previous 1.85 (colored)

Changes to support *echochar().
Should fix PR lib/24927.

Revision 1.85 / (download) - annotate - [select for diffs], Tue Mar 23 21:35:29 2004 UTC (19 years ago) by jdc
Branch: MAIN
Changes since 1.84: +2 -2 lines
Diff to previous 1.84 (colored)

Change the values of ERR and OK.
This makes our getch() and related functions conform to SUSv2.
Also fixes PR lib/15920.

XXX: This causes an API incompatability, but comes less than 27 hours after
     the libcurses major number was incremented, so should have minimal impact.

Revision 1.84 / (download) - annotate - [select for diffs], Mon Mar 22 18:57:38 2004 UTC (19 years ago) by jdc
Branch: MAIN
Changes since 1.83: +16 -16 lines
Diff to previous 1.83 (colored)

Because we are changing the libcurses major number, remove can_change_colors()
and change the attribute definitions so that we can support more colour pairs.

Revision 1.83 / (download) - annotate - [select for diffs], Tue Mar 16 07:46:24 2004 UTC (19 years ago) by jdc
Branch: MAIN
Changes since 1.82: +4 -4 lines
Diff to previous 1.82 (colored)

s/colour/color/.  From Douwe Keila.

Revision 1.82 / (download) - annotate - [select for diffs], Sat Feb 14 18:23:45 2004 UTC (19 years, 1 month ago) by christos
Branch: MAIN
Changes since 1.81: +2 -7 lines
Diff to previous 1.81 (colored)

Fix the non working unctrl mess:
1. delete the incorrect duplicate macro from unctrl.h
2. move unctrl macros from curses.h to unctrl.h and make curses.h include
   unctrl.h in curses.h instead of duplicating their definition.
3. constify unctrl arrays; make length unsigned.

Revision 1.81 / (download) - annotate - [select for diffs], Tue Dec 23 23:12:44 2003 UTC (19 years, 3 months ago) by christos
Branch: MAIN
Changes since 1.80: +26 -26 lines
Diff to previous 1.80 (colored)

Avoid array type is char warning.

Revision 1.80 / (download) - annotate - [select for diffs], Thu Dec 4 21:24:36 2003 UTC (19 years, 3 months ago) by jdc
Branch: MAIN
Changes since 1.79: +2 -2 lines
Diff to previous 1.79 (colored)

Make nodelay() return an int.
Now conforms to the Single Unix Specification.
Fixes PR lib/23531 by usa at garbagecollect dot jp.

Revision 1.79 / (download) - annotate - [select for diffs], Sun Oct 5 10:13:02 2003 UTC (19 years, 5 months ago) by jdc
Branch: MAIN
Changes since 1.78: +3 -1 lines
Diff to previous 1.78 (colored)

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

Revision 1.78 / (download) - annotate - [select for diffs], Thu Aug 7 16:44:20 2003 UTC (19 years, 7 months ago) by agc
Branch: MAIN
Changes since 1.77: +2 -6 lines
Diff to previous 1.77 (colored)

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

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

Revision 1.77 / (download) - annotate - [select for diffs], Fri Jun 20 06:58:53 2003 UTC (19 years, 9 months ago) by jdc
Branch: MAIN
Changes since 1.76: +6 -0 lines
Diff to previous 1.76 (colored)

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

Revision 1.76 / (download) - annotate - [select for diffs], Fri Jun 20 06:56:29 2003 UTC (19 years, 9 months ago) by jdc
Branch: MAIN
Changes since 1.75: +2 -1 lines
Diff to previous 1.75 (colored)

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

Revision 1.75 / (download) - annotate - [select for diffs], Wed May 21 21:19:52 2003 UTC (19 years, 10 months ago) by jdc
Branch: MAIN
Changes since 1.74: +17 -1 lines
Diff to previous 1.74 (colored)

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

Revision 1.74 / (download) - annotate - [select for diffs], Tue Apr 8 18:55:43 2003 UTC (19 years, 11 months ago) by jdc
Branch: MAIN
Changes since 1.73: +3 -1 lines
Diff to previous 1.73 (colored)

Add ESCDELAY variable to control the inter-key delay in escape sequences.
Fixes PR 20031 by Thomas Klausner.

Revision 1.73 / (download) - annotate - [select for diffs], Sun Mar 30 07:38:42 2003 UTC (20 years ago) by jdc
Branch: MAIN
Changes since 1.72: +16 -1 lines
Diff to previous 1.72 (colored)

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

Revision 1.72 / (download) - annotate - [select for diffs], Mon Jan 27 21:08:09 2003 UTC (20 years, 2 months ago) by jdc
Branch: MAIN
Changes since 1.71: +3 -1 lines
Diff to previous 1.71 (colored)

Add can_change_color() and no_color_video().

Revision 1.71 / (download) - annotate - [select for diffs], Thu Jan 9 12:48:05 2003 UTC (20 years, 2 months ago) by blymn
Branch: MAIN
Changes since 1.70: +2 -1 lines
Diff to previous 1.70 (colored)

Added halfdelay() function.

Revision 1.70 / (download) - annotate - [select for diffs], Mon Dec 23 12:13:44 2002 UTC (20 years, 3 months ago) by jdc
Branch: MAIN
CVS Tags: fvdl_fs64_base
Changes since 1.69: +5 -1 lines
Diff to previous 1.69 (colored)

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

Revision 1.69 / (download) - annotate - [select for diffs], Tue Oct 22 12:07:20 2002 UTC (20 years, 5 months ago) by blymn
Branch: MAIN
Changes since 1.68: +3 -1 lines
Diff to previous 1.68 (colored)

Added the ncurses extensions define_key and keyok.

Revision 1.68 / (download) - annotate - [select for diffs], Mon Oct 14 16:25:52 2002 UTC (20 years, 5 months ago) by jdc
Branch: MAIN
Changes since 1.67: +1 -5 lines
Diff to previous 1.67 (colored)

Remove duplicate definitions of getyx, getbegyx and getmaxyx.

Revision 1.67 / (download) - annotate - [select for diffs], Sun Aug 4 17:08:16 2002 UTC (20 years, 7 months ago) by jdc
Branch: MAIN
Changes since 1.66: +8 -8 lines
Diff to previous 1.66 (colored)

Sort attr* functions/macros.

Revision 1.66 / (download) - annotate - [select for diffs], Sun Aug 4 16:43:07 2002 UTC (20 years, 8 months ago) by jdc
Branch: MAIN
Changes since 1.65: +3 -1 lines
Diff to previous 1.65 (colored)

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.

Revision 1.65 / (download) - annotate - [select for diffs], Fri Jul 19 13:22:41 2002 UTC (20 years, 8 months ago) by blymn
Branch: MAIN
Changes since 1.64: +2 -1 lines
Diff to previous 1.64 (colored)

* 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 1.64 / (download) - annotate - [select for diffs], Tue Dec 11 11:18:17 2001 UTC (21 years, 3 months ago) by blymn
Branch: MAIN
CVS Tags: netbsd-1-6-base, netbsd-1-6-RELEASE, netbsd-1-6-RC3, netbsd-1-6-RC2, netbsd-1-6-RC1, netbsd-1-6-PATCH002-RELEASE, netbsd-1-6-PATCH002-RC4, netbsd-1-6-PATCH002-RC3, netbsd-1-6-PATCH002-RC2, netbsd-1-6-PATCH002-RC1, netbsd-1-6-PATCH002, netbsd-1-6-PATCH001-RELEASE, netbsd-1-6-PATCH001-RC3, netbsd-1-6-PATCH001-RC2, netbsd-1-6-PATCH001-RC1, netbsd-1-6-PATCH001, netbsd-1-6
Changes since 1.63: +6 -128 lines
Diff to previous 1.63 (colored)

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

Revision 1.63 / (download) - annotate - [select for diffs], Sun Dec 2 22:43:44 2001 UTC (21 years, 4 months ago) by christos
Branch: MAIN
Changes since 1.62: +3 -5 lines
Diff to previous 1.62 (colored)

lib/14813: Jason R. Thorpe: worm(6) no longer builds w/ new libcurses
Make baudrate a function, gc old variables, implement ospeed in terms of
baudrate, bump major number to 5, since we don't have __baset anymore.

Revision 1.62 / (download) - annotate - [select for diffs], Sun Dec 2 09:14:21 2001 UTC (21 years, 4 months ago) by blymn
Branch: MAIN
Changes since 1.61: +6 -2 lines
Diff to previous 1.61 (colored)

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

Revision 1.61 / (download) - annotate - [select for diffs], Sun Oct 14 12:36:09 2001 UTC (21 years, 5 months ago) by blymn
Branch: MAIN
Changes since 1.60: +4 -1 lines
Diff to previous 1.60 (colored)

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.

Revision 1.60 / (download) - annotate - [select for diffs], Mon Oct 8 10:45:13 2001 UTC (21 years, 5 months ago) by blymn
Branch: MAIN
Changes since 1.59: +2 -1 lines
Diff to previous 1.59 (colored)

Add mvderwin function.

Revision 1.59 / (download) - annotate - [select for diffs], Thu Sep 20 11:11:54 2001 UTC (21 years, 6 months ago) by blymn
Branch: MAIN
Changes since 1.58: +3 -1 lines
Diff to previous 1.58 (colored)

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

Revision 1.58 / (download) - annotate - [select for diffs], Sun Sep 16 16:34:25 2001 UTC (21 years, 6 months ago) by wiz
Branch: MAIN
Changes since 1.57: +2 -2 lines
Diff to previous 1.57 (colored)

Spell 'occurred' with two 'r's.

Revision 1.57 / (download) - annotate - [select for diffs], Mon Jun 11 01:50:51 2001 UTC (21 years, 9 months ago) by wiz
Branch: MAIN
Changes since 1.56: +2 -2 lines
Diff to previous 1.56 (colored)

Fix various misspellings of compatible/compatibility.

Revision 1.56 / (download) - annotate - [select for diffs], Sat Apr 21 16:19:37 2001 UTC (21 years, 11 months ago) by jdc
Branch: MAIN
Changes since 1.55: +8 -0 lines
Diff to previous 1.55 (colored)

Add missing prototypes.
Fixes PR lib/12714.

Revision 1.55 / (download) - annotate - [select for diffs], Fri Apr 20 12:56:08 2001 UTC (21 years, 11 months ago) by jdc
Branch: MAIN
Changes since 1.54: +6 -1 lines
Diff to previous 1.54 (colored)

Implement scrolling regions :
  has_ic()
  has_il()
  setscrreg()
  wsetscrreg()

Revision 1.54 / (download) - annotate - [select for diffs], Fri Jan 5 22:57:56 2001 UTC (22 years, 2 months ago) by christos
Branch: MAIN
Changes since 1.53: +3 -3 lines
Diff to previous 1.53 (colored)

de-lint:
	- bad arithmetic shift
	- const castaways.

Revision 1.53 / (download) - annotate - [select for diffs], Fri Jan 5 22:51:21 2001 UTC (22 years, 2 months ago) by christos
Branch: MAIN
Changes since 1.52: +1 -2 lines
Diff to previous 1.52 (colored)

remove redundant declarations.

Revision 1.52 / (download) - annotate - [select for diffs], Mon Jan 1 10:36:12 2001 UTC (22 years, 3 months ago) by simonb
Branch: MAIN
Changes since 1.51: +33 -1 lines
Diff to previous 1.51 (colored)

Add the instr and inchstr families of functions.

Revision 1.51 / (download) - annotate - [select for diffs], Sun Dec 31 12:33:02 2000 UTC (22 years, 3 months ago) by jdc
Branch: MAIN
Changes since 1.50: +115 -3 lines
Diff to previous 1.50 (colored)

Libcurses-4.0
Removal of termcap capabilities requires major bump.  Pointed out by Itojun.
Capabilities are still available if `_CURSES_TERMCAP_COMPAT' is defined.

Revision 1.50 / (download) - annotate - [select for diffs], Fri Dec 22 17:07:13 2000 UTC (22 years, 3 months ago) by jdc
Branch: MAIN
Changes since 1.49: +3 -0 lines
Diff to previous 1.49 (colored)

Revert the change to the `pc' capability from the previous change.  Pointed
out in email by Thomas Dickey.

Revision 1.49 / (download) - annotate - [select for diffs], Tue Dec 19 21:34:24 2000 UTC (22 years, 3 months ago) by jdc
Branch: MAIN
Changes since 1.48: +1 -23 lines
Diff to previous 1.48 (colored)

Rename variables refering to termcap capabilities from NN to __tc_nn.  Case
adjusted to match termcap capability.  A few other variable names renamed too
(ones related to or derived from termcap variables).

Revision 1.48 / (download) - annotate - [select for diffs], Thu May 11 22:50:23 2000 UTC (22 years, 10 months ago) by jdc
Branch: MAIN
CVS Tags: netbsd-1-5-base, netbsd-1-5-RELEASE, netbsd-1-5-PATCH003, netbsd-1-5-PATCH002, netbsd-1-5-PATCH001, netbsd-1-5-BETA2, netbsd-1-5-BETA, netbsd-1-5-ALPHA2, netbsd-1-5, minoura-xpg4dl-base, minoura-xpg4dl
Changes since 1.47: +4 -1 lines
Diff to previous 1.47 (colored)

Add getattrs(), delay_output() and napms().

Revision 1.47 / (download) - annotate - [select for diffs], Thu May 11 12:05:39 2000 UTC (22 years, 10 months ago) by blymn
Branch: MAIN
Changes since 1.46: +92 -95 lines
Diff to previous 1.46 (colored)

*  Applied patch by mrg to remove variable names from function
   prototypes to prevent name space collisions.

Revision 1.46 / (download) - annotate - [select for diffs], Mon May 1 12:30:30 2000 UTC (22 years, 11 months ago) by blymn
Branch: MAIN
Changes since 1.45: +3 -3 lines
Diff to previous 1.45 (colored)

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

Revision 1.45 / (download) - annotate - [select for diffs], Thu Apr 27 19:54:40 2000 UTC (22 years, 11 months ago) by mycroft
Branch: MAIN
Changes since 1.44: +3 -3 lines
Diff to previous 1.44 (colored)

Fix a silly bit-shifting error that causes color pairs >=8 to fail.

Revision 1.44 / (download) - annotate - [select for diffs], Thu Apr 27 00:22:16 2000 UTC (22 years, 11 months ago) by jdc
Branch: MAIN
Changes since 1.43: +105 -88 lines
Diff to previous 1.43 (colored)

Background colour erase is 'ut' not 'be'.
Add extra KEY_* definition.
Wrap definition of 'bool' with "#ifndef __cplusplus".
Add __attributes(...) to *printw() and *scanw().
Add wnoutrefresh()/doupdate() definitions.

Revision 1.43 / (download) - annotate - [select for diffs], Wed Apr 26 12:29:47 2000 UTC (22 years, 11 months ago) by blymn
Branch: MAIN
Changes since 1.42: +5 -1 lines
Diff to previous 1.42 (colored)

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

Revision 1.42 / (download) - annotate - [select for diffs], Mon Apr 24 14:09:43 2000 UTC (22 years, 11 months ago) by blymn
Branch: MAIN
Changes since 1.41: +9 -1 lines
Diff to previous 1.41 (colored)

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

Revision 1.41 / (download) - annotate - [select for diffs], Sat Apr 22 14:32:45 2000 UTC (22 years, 11 months ago) by blymn
Branch: MAIN
Changes since 1.40: +2 -1 lines
Diff to previous 1.40 (colored)

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

Revision 1.40 / (download) - annotate - [select for diffs], Sat Apr 22 13:29:01 2000 UTC (22 years, 11 months ago) by blymn
Branch: MAIN
Changes since 1.39: +9 -7 lines
Diff to previous 1.39 (colored)

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

Revision 1.39 / (download) - annotate - [select for diffs], Thu Apr 20 13:12:14 2000 UTC (22 years, 11 months ago) by blymn
Branch: MAIN
Changes since 1.38: +2 -1 lines
Diff to previous 1.38 (colored)

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

Revision 1.38 / (download) - annotate - [select for diffs], Tue Apr 18 12:23:01 2000 UTC (22 years, 11 months ago) by blymn
Branch: MAIN
Changes since 1.37: +5 -1 lines
Diff to previous 1.37 (colored)

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.

Revision 1.37 / (download) - annotate - [select for diffs], Mon Apr 17 12:25:45 2000 UTC (22 years, 11 months ago) by blymn
Branch: MAIN
Changes since 1.36: +5 -5 lines
Diff to previous 1.36 (colored)

Multiple fixes:
* Added Bill's fixes for errors when compiling with WARNS=1
* Incorporated fixes to make usage of unctrl consistent in debug and
  made improvements to ctrace - it now timestamps it's output better.
* Reduced the number of mallocs done by __init_getch by allocating key
  structs in bunches instead of singly.
* Removed the shadowing of global declarations in newwin and subwin
  functions

Revision 1.36 / (download) - annotate - [select for diffs], Sun Apr 16 09:52:49 2000 UTC (22 years, 11 months ago) by jdc
Branch: MAIN
Changes since 1.35: +3 -1 lines
Diff to previous 1.35 (colored)

Add bkgd() and bkgdset() (which were previously just macros).

Revision 1.35 / (download) - annotate - [select for diffs], Sun Apr 16 01:23:11 2000 UTC (22 years, 11 months ago) by thorpej
Branch: MAIN
Changes since 1.34: +3 -1 lines
Diff to previous 1.34 (colored)

Add a couple of missing prototypes.

Revision 1.34 / (download) - annotate - [select for diffs], Sat Apr 15 23:37:30 2000 UTC (22 years, 11 months ago) by jdc
Branch: MAIN
Changes since 1.33: +3 -3 lines
Diff to previous 1.33 (colored)

Add prototype for waddstr()

Revision 1.33 / (download) - annotate - [select for diffs], Sat Apr 15 13:17:03 2000 UTC (22 years, 11 months ago) by blymn
Branch: MAIN
Changes since 1.32: +168 -101 lines
Diff to previous 1.32 (colored)

Added functions to replace what were previously macros in curses.h
(this is a requirement of SUSv2) - the old macro behaviour can be
restored by defining _CURSES_USE_MACROS.
Changed function prototypes to use ANSI style.
All externally visible functions now have ANSI style declarations.

Revision 1.32 / (download) - annotate - [select for diffs], Thu Apr 13 07:07:33 2000 UTC (22 years, 11 months ago) by jdc
Branch: MAIN
Changes since 1.31: +11 -11 lines
Diff to previous 1.31 (colored)

Restore const after the Open Group decided it was OK.
Thanks due to Brett Lymn.

Revision 1.31 / (download) - annotate - [select for diffs], Wed Apr 12 21:46:00 2000 UTC (22 years, 11 months ago) by jdc
Branch: MAIN
Changes since 1.30: +107 -110 lines
Diff to previous 1.30 (colored)

Add colour capabilities and functions.
Add background manipulation functions.
Add def/reset_prog/shell_mode().
Remove __TERMATTR.
Tidy up tab vs. space.
Macros get...y and get...x are now functions.
Private functions/variables moved to curses_private.h
Replace character/attribute definitions from curses_private.h

Revision 1.30 / (download) - annotate - [select for diffs], Tue Apr 11 13:57:09 2000 UTC (22 years, 11 months ago) by blymn
Branch: MAIN
Changes since 1.29: +143 -138 lines
Diff to previous 1.29 (colored)

Made data structures opaque

Revision 1.29.2.2 / (download) - annotate - [select for diffs], Sun Mar 5 23:22:16 2000 UTC (23 years ago) by jdc
Branch: curses-v3
Changes since 1.29.2.1: +37 -11 lines
Diff to previous 1.29.2.1 (colored) to branchpoint 1.29 (colored) next main 1.30 (colored)

Add alternate character set support.
Add scrl(), wscrl() and insdelln().
Removed suspendwin - what was it?

Revision 1.29.2.1 / (download) - annotate - [select for diffs], Sun Jan 9 20:43:18 2000 UTC (23 years, 2 months ago) by jdc
Branch: curses-v3
Changes since 1.29: +140 -101 lines
Diff to previous 1.29 (colored)

Changes to make libcurses SUS v2 compatible.

Revision 1.26.2.1 / (download) - annotate - [select for diffs], Mon Dec 27 18:29:56 1999 UTC (23 years, 3 months ago) by wrstuden
Branch: wrstuden-devbsize
Changes since 1.26: +7 -5 lines
Diff to previous 1.26 (colored) next main 1.27 (colored)

Pull up to last week's -current.

Revision 1.29 / (download) - annotate - [select for diffs], Tue Dec 7 03:22:10 1999 UTC (23 years, 3 months ago) by simonb
Branch: MAIN
CVS Tags: wrstuden-devbsize-base, wrstuden-devbsize-19991221, curses-v3-base
Branch point for: curses-v3
Changes since 1.28: +5 -3 lines
Diff to previous 1.28 (colored)

Use unsigned offsets into __unctrl and __unctrllen.
Only prototype __CTRACE if DEBUG is defined.

Revision 1.28 / (download) - annotate - [select for diffs], Mon Oct 4 23:21:18 1999 UTC (23 years, 6 months ago) by lukem
Branch: MAIN
CVS Tags: comdex-fall-1999-base, comdex-fall-1999
Changes since 1.27: +2 -2 lines
Diff to previous 1.27 (colored)

update post change to return value of tputs() third argument

Revision 1.27 / (download) - annotate - [select for diffs], Wed Sep 29 00:34:38 1999 UTC (23 years, 6 months ago) by simonb
Branch: MAIN
Changes since 1.26: +2 -2 lines
Diff to previous 1.26 (colored)

Change attr in __LDATA from a char to an int.  Fixes a few annoying
screen update problems (particularly on the pmax, sparc and alpha,
and i386 to a lesser extent).  It seems that because __LDATA wasn't a
fully packed structure (and hashes to check for screen updates hashed
unused areas in the structure as well) that under some circumstances the
compiler filled the unused areas with garbage.

Doesn't break binary compatibiliy - no shared library version number
changes.

Revision 1.26 / (download) - annotate - [select for diffs], Sun Aug 8 08:58:08 1999 UTC (23 years, 7 months ago) by simonb
Branch: MAIN
Branch point for: wrstuden-devbsize
Changes since 1.25: +3 -3 lines
Diff to previous 1.25 (colored)

Remove extra semicolons that crept in previous.  Noted by Julian Coleman.

Revision 1.25 / (download) - annotate - [select for diffs], Sun Aug 8 01:51:37 1999 UTC (23 years, 7 months ago) by simonb
Branch: MAIN
Changes since 1.24: +4 -4 lines
Diff to previous 1.24 (colored)

Use waddnstr() instead of __waddbytes() in *addstr(), so we don't need
strlen() in scope.

Reviewed by Julian Coleman and Matthew Green.

Revision 1.24 / (download) - annotate - [select for diffs], Mon Jun 28 13:32:43 1999 UTC (23 years, 9 months ago) by simonb
Branch: MAIN
Changes since 1.23: +5 -5 lines
Diff to previous 1.23 (colored)

Get rid of the evil trailing spaces and tabs.

Revision 1.23 / (download) - annotate - [select for diffs], Mon Jun 28 12:32:07 1999 UTC (23 years, 9 months ago) by simonb
Branch: MAIN
Changes since 1.22: +3 -3 lines
Diff to previous 1.22 (colored)

In struct __window, change flags back to an "unsigned int" from an
"u_int32_t", and move new member "delay" to the end of the structure.
Restores binary compatibility with older curses-based programs that
called any macros that modified window flags (like clearok, which
bites vi).

Fixes PR lib/7863 from Ross Harvey.

Revision 1.22 / (download) - annotate - [select for diffs], Tue Apr 13 14:08:17 1999 UTC (23 years, 11 months ago) by mrg
Branch: MAIN
Changes since 1.21: +202 -29 lines
Diff to previous 1.21 (colored)

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 1.21 / (download) - annotate - [select for diffs], Fri Jan 30 04:33:32 1998 UTC (25 years, 2 months ago) by perry
Branch: MAIN
CVS Tags: netbsd-1-4-base, netbsd-1-4-RELEASE, netbsd-1-4-PATCH003, netbsd-1-4-PATCH002, netbsd-1-4-PATCH001, netbsd-1-4
Changes since 1.20: +4 -5 lines
Diff to previous 1.20 (colored)

merge with lite-2

Revision 1.1.1.3 / (download) - annotate - [select for diffs] (vendor branch), Fri Jan 30 03:38:35 1998 UTC (25 years, 2 months ago) by perry
Branch: WFJ-920714, CSRG
CVS Tags: lite-2
Changes since 1.1.1.2: +3 -5 lines
Diff to previous 1.1.1.2 (colored)

import lite-2

Revision 1.20 / (download) - annotate - [select for diffs], Mon Oct 13 16:10:36 1997 UTC (25 years, 5 months ago) by lukem
Branch: MAIN
CVS Tags: netbsd-1-3-base, netbsd-1-3-RELEASE, netbsd-1-3-PATCH003-CANDIDATE2, netbsd-1-3-PATCH003-CANDIDATE1, netbsd-1-3-PATCH003-CANDIDATE0, netbsd-1-3-PATCH003, netbsd-1-3-PATCH002, netbsd-1-3-PATCH001, netbsd-1-3-BETA, netbsd-1-3
Changes since 1.19: +2 -11 lines
Diff to previous 1.19 (colored)

use <termcap.h> instead of defining termcap(3) stuff here

Revision 1.19 / (download) - annotate - [select for diffs], Fri Sep 12 21:08:22 1997 UTC (25 years, 6 months ago) by phil
Branch: MAIN
Changes since 1.18: +3 -1 lines
Diff to previous 1.18 (colored)

Make endwin() save state so a subsequent call to wrefresh restores curses
and makes endwin()/wrefresh() act like a SIGTSTP.

Revision 1.18 / (download) - annotate - [select for diffs], Tue Jul 22 07:36:18 1997 UTC (25 years, 8 months ago) by mikel
Branch: MAIN
Changes since 1.17: +2 -0 lines
Diff to previous 1.17 (colored)

RCSid police, fix warnings

Revision 1.17 / (download) - annotate - [select for diffs], Sat May 24 00:44:57 1997 UTC (25 years, 10 months ago) by jtc
Branch: MAIN
Changes since 1.16: +11 -2 lines
Diff to previous 1.16 (colored)

Add get{beg,max}yx and get{cur,beg,max}[yx] macros like XPG4.2 curses.

Revision 1.16 / (download) - annotate - [select for diffs], Tue Mar 26 02:43:59 1996 UTC (27 years ago) by jtc
Branch: MAIN
CVS Tags: netbsd-1-2-base, netbsd-1-2-RELEASE, netbsd-1-2-PATCH001, netbsd-1-2-BETA, netbsd-1-2
Changes since 1.15: +4 -4 lines
Diff to previous 1.15 (colored)

Expand "u_int" to "unsigned int" so that curses.h can be used when
_XOPEN_SOURCE or _POSIX_SOURCE is defined.

Revision 1.15 / (download) - annotate - [select for diffs], Tue Jun 6 08:10:00 1995 UTC (27 years, 10 months ago) by pk
Branch: MAIN
CVS Tags: netbsd-1-1-base, netbsd-1-1-RELEASE, netbsd-1-1-PATCH001, netbsd-1-1
Changes since 1.14: +1 -1 lines
Diff to previous 1.14 (colored)

Declare tputs() as void.

Revision 1.14.2.2 / (download) - annotate - [select for diffs], Wed Sep 7 21:28:06 1994 UTC (28 years, 6 months ago) by jtc
Branch: netbsd-1-0
Changes since 1.14.2.1: +341 -0 lines
Diff to previous 1.14.2.1 (colored) to branchpoint 1.14 (colored) next main 1.15 (colored)

Add __BEGIN_DECLS, __END_DECLS around public functions so curses library
can be used by C++ programs (PR #401).

Revision 1.14.2.1, Wed Sep 7 21:28:05 1994 UTC (28 years, 6 months ago) by jtc
Branch: netbsd-1-0
Changes since 1.14: +0 -341 lines
FILE REMOVED

file curses.h was added on branch netbsd-1-0 on 1994-09-07 21:28:06 +0000

Revision 1.14 / (download) - annotate - [select for diffs], Wed Sep 7 21:28:05 1994 UTC (28 years, 6 months ago) by jtc
Branch: MAIN
CVS Tags: netbsd-1-0-base, netbsd-1-0-RELEASE, netbsd-1-0-PATCH1, netbsd-1-0-PATCH06, netbsd-1-0-PATCH05, netbsd-1-0-PATCH04, netbsd-1-0-PATCH03, netbsd-1-0-PATCH02, netbsd-1-0-PATCH0
Branch point for: netbsd-1-0
Changes since 1.13: +4 -0 lines
Diff to previous 1.13 (colored)

Add __BEGIN_DECLS, __END_DECLS around public functions so curses library
can be used by C++ programs (PR #401).

Revision 1.13 / (download) - annotate - [select for diffs], Wed Aug 17 21:52:09 1994 UTC (28 years, 7 months ago) by cgd
Branch: MAIN
Changes since 1.12: +12 -17 lines
Diff to previous 1.12 (colored)

clean up import

Revision 1.1.1.2 / (download) - annotate - [select for diffs] (vendor branch), Wed Aug 17 21:12:35 1994 UTC (28 years, 7 months ago) by cgd
Branch: WFJ-920714, CSRG
CVS Tags: CSRG-94-08-17
Changes since 1.1.1.1: +285 -164 lines
Diff to previous 1.1.1.1 (colored)

new libcurses, from new nvi

Revision 1.12 / (download) - annotate - [select for diffs], Mon May 23 01:12:33 1994 UTC (28 years, 10 months ago) by cgd
Branch: MAIN
Changes since 1.11: +4 -4 lines
Diff to previous 1.11 (colored)

ansi type renaming

Revision 1.11 / (download) - annotate - [select for diffs], Mon Jan 24 08:36:51 1994 UTC (29 years, 2 months ago) by cgd
Branch: MAIN
Changes since 1.10: +2 -2 lines
Diff to previous 1.10 (colored)

changes from branch

Revision 1.7.2.2 / (download) - annotate - [select for diffs], Mon Jan 24 08:17:26 1994 UTC (29 years, 2 months ago) by cgd
CVS Tags: CSRG-last, CSRG-94-01-23
Changes since 1.7.2.1: +1 -1 lines
Diff to previous 1.7.2.1 (colored) to branchpoint 1.7 (colored) next main 1.8 (colored)

minor fixups

Revision 1.10 / (download) - annotate - [select for diffs], Sat Dec 4 23:03:46 1993 UTC (29 years, 4 months ago) by cgd
Branch: MAIN
Changes since 1.9: +3 -3 lines
Diff to previous 1.9 (colored)

update from branch

Revision 1.7.2.1 / (download) - annotate - [select for diffs], Sat Dec 4 22:56:31 1993 UTC (29 years, 4 months ago) by cgd
Changes since 1.7: +2 -2 lines
Diff to previous 1.7 (colored)

update from latest

Revision 1.9 / (download) - annotate - [select for diffs], Tue Nov 9 04:08:59 1993 UTC (29 years, 4 months ago) by cgd
Branch: MAIN
Changes since 1.8: +4 -4 lines
Diff to previous 1.8 (colored)

oops; forgot this bit

Revision 1.8 / (download) - annotate - [select for diffs], Tue Nov 9 04:05:35 1993 UTC (29 years, 4 months ago) by cgd
Branch: MAIN
Changes since 1.7: +4 -1 lines
Diff to previous 1.7 (colored)

rcs id's and don't include "compat.h"

Revision 1.7 / (download) - annotate - [select for diffs], Tue Nov 9 03:34:21 1993 UTC (29 years, 4 months ago) by cgd
Branch: MAIN
CVS Tags: CSRG-93-11-06
Changes since 1.6: +165 -112 lines
Diff to previous 1.6 (colored)

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

Revision 1.6 / (download) - annotate - [select for diffs], Sun Aug 15 16:43:27 1993 UTC (29 years, 7 months ago) by mycroft
Branch: MAIN
Changes since 1.5: +2 -2 lines
Diff to previous 1.5 (colored)

Remove spurious `)'.

Revision 1.5 / (download) - annotate - [select for diffs], Sun Aug 15 16:23:59 1993 UTC (29 years, 7 months ago) by mycroft
Branch: MAIN
Changes since 1.4: +13 -11 lines
Diff to previous 1.4 (colored)

waddbytes() is private; make the rest of *addbytes() be.
Make waddbytes() and waddstr() take a `const char *'.

Revision 1.4 / (download) - annotate - [select for diffs], Sat Aug 7 05:48:47 1993 UTC (29 years, 7 months ago) by mycroft
Branch: MAIN
Changes since 1.3: +230 -166 lines
Diff to previous 1.3 (colored)

New version from uunet.

Revision 1.3 / (download) - annotate - [select for diffs], Sun Aug 1 18:35:59 1993 UTC (29 years, 8 months ago) by mycroft
Branch: MAIN
Changes since 1.2: +2 -1 lines
Diff to previous 1.2 (colored)

Add RCS identifiers.

Revision 1.2 / (download) - annotate - [select for diffs], Fri Jul 9 05:34:23 1993 UTC (29 years, 8 months ago) by alm
Branch: MAIN
CVS Tags: netbsd-0-9-base, netbsd-0-9-RELEASE, netbsd-0-9-BETA, netbsd-0-9-ALPHA2, netbsd-0-9-ALPHA, netbsd-0-9
Changes since 1.1: +7 -5 lines
Diff to previous 1.1 (colored)

added Andrew Chernov's patch set:
Standard curses library use eight bit for standout mode, so
8-bit characters displays like highlighted 7-bit characters.

This patch produce library which is fully compatible with all curses
programs and add 8-bit chars to all input/display functions.
---
I don't think, that any programs wish to use internal curses
attribute _STANDOUT directly, in expressions like:
        addch( ch | _STANDOUT );
        Normal interface use standout() and standend() functions instead.
        Many programs use 'char' type (with sign extention) for input characters
        and sign extention becomes _STANDOUT mode in this case.
        So, I refuse this future and allow 8-bit characters for programs,
        which is designed for 7-bit only ('char' type using instead of
        'unsigned char').
---
This small patch fix unpleasant standard curses bug:
curses can't expand TAB at all (but tries).
A man who wrote this curses misplace SYNC_IN and SYNCH_OUT,
this patch exchange macro calls.

This patch useful for standard 7-bit curses too, for this
you must delete '_' symbol before waddbytes and apply patch.
---
Oh, NO! This curses are really buggy!

This small patch fix following problem:
[ assumed scrollok(stdscr, TRUE) ]
when addch(ch) at lower right corner of screen, curses are realy
gone mad instead if simple scrolling... Curses code assumed that
this will be done correctly, but implement it with two bugs.

Revision 1.1.1.1 / (download) - annotate - [select for diffs] (vendor branch), Sun Mar 21 09:45:37 1993 UTC (30 years ago) by cgd
Branch: WFJ-920714, CSRG
CVS Tags: patchkit-0-2-2, netbsd-alpha-1, netbsd-0-8, WFJ-386bsd-01
Changes since 1.1: +0 -0 lines
Diff to previous 1.1 (colored)

initial import of 386bsd-0.1 sources

Revision 1.1 / (download) - annotate - [select for diffs], Sun Mar 21 09:45:37 1993 UTC (30 years ago) by cgd
Branch: MAIN

Initial revision

This form allows you to request diff's between any two revisions of a file. You may select a symbolic revision name using the selection box or you may type in a numeric name using the type-in text box.




CVSweb <webmaster@jp.NetBSD.org>