CVS log for src/lib/libcurses/curses.h (original) (raw)

The NetBSD Project

[[BACK]](./#curses.h) Up to [cvs.NetBSD.org] / src / lib / libcurses

Request diff between arbitrary revisions


Keyword substitution: kv
Default branch: MAIN


Revision 1.132.2.1: download - view: text, markup, annotated - select for diffs
Sat Aug 2 05:54:45 2025 UTC (4 months, 2 weeks ago) by perseant
Branches: perseant-exfatfs
Diff to: previous 1.132: preferred, colored; next MAIN 1.133: preferred, colored
Changes since revision 1.132: +3 -1 lines

Sync with HEAD


Revision 1.133: download - view: text, markup, annotated - select for diffs
Thu Dec 5 04:08:12 2024 UTC (12 months, 1 week ago) by blymn
Branches: MAIN
CVS tags: perseant-exfatfs-base-20250801,netbsd-11-base,netbsd-11,HEAD
Diff to: previous 1.132: preferred, colored
Changes since revision 1.132: +3 -1 lines

Fixes PR lib/58823

Implement the ncurses extension wgetscrreg which returns the scrolling region of the given window. Also implement getscrreg to get the scrolling region of stdscr which appears to be missing from ncurses but does follow the convention of having a non w prefixed function that applies to stdscr.

Due to the addtion of a new function a minor library version bump has been done.


Revision 1.132: download - view: text, markup, annotated - select for diffs
Fri May 17 23:32:50 2024 UTC (19 months ago) by uwe
Branches: MAIN
CVS tags: perseant-exfatfs-base-20240630,perseant-exfatfs-base
Branch point for: perseant-exfatfs
Diff to: previous 1.131: preferred, colored
Changes since revision 1.131: +3 -3 lines

curses: constify newterm() and setterm() arguments

newterm() argument is const in the spec, so this fixes our conformance.

setterm() is not in the spec, but it's natural and in ncurses its argument is const too, so follow suit.

Doesn't change the ABI, so no bump required.

ok blymn@


Revision 1.131: download - view: text, markup, annotated - select for diffs
Tue May 14 10:22:48 2024 UTC (19 months ago) by uwe
Branches: MAIN
Diff to: previous 1.130: preferred, colored
Changes since revision 1.130: +2 -2 lines

curse: constify define_key() argument

define_key() is ncurses extension and ncurses defines its first argument as "const char *". Follow suit.

PR lib/58254


Revision 1.130: download - view: text, markup, annotated - select for diffs
Sat Feb 13 10:37:00 2021 UTC (4 years, 10 months ago) by rillig
Branches: MAIN
CVS tags: netbsd-10-base,netbsd-10-1-RELEASE,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,cjep_sun2x-base1,cjep_sun2x-base,cjep_sun2x,cjep_staticlib_x-base1,cjep_staticlib_x-base,cjep_staticlib_x
Diff to: previous 1.129: preferred, colored
Changes since revision 1.129: +19 -19 lines

curses.h: proofread, indent a bit more consistently


Revision 1.121.12.2: download - view: text, markup, annotated - select for diffs
Mon Apr 13 08:03:12 2020 UTC (5 years, 8 months ago) by martin
Branches: phil-wifi
Diff to: previous 1.121.12.1: preferred, colored; branchpoint 1.121: preferred, colored; next MAIN 1.122: preferred, colored
Changes since revision 1.121.12.1: +72 -1 lines

Mostly merge changes from HEAD upto 20200411


Revision 1.129: download - view: text, markup, annotated - select for diffs
Mon Mar 23 13:37:36 2020 UTC (5 years, 8 months ago) by roy
Branches: MAIN
CVS tags: phil-wifi-20200421,phil-wifi-20200411,phil-wifi-20200406
Diff to: previous 1.128: preferred, colored
Changes since revision 1.128: +69 -1 lines

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 - view: text, markup, annotated - select for diffs
Fri Mar 13 02:57:26 2020 UTC (5 years, 9 months ago) by roy
Branches: MAIN
Diff to: previous 1.127: preferred, colored
Changes since revision 1.127: +2 -4 lines

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 - view: text, markup, annotated - select for diffs
Thu Mar 12 12:17:15 2020 UTC (5 years, 9 months ago) by roy
Branches: MAIN
Diff to: previous 1.126: preferred, colored
Changes since revision 1.126: +4 -2 lines

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 - view: text, markup, annotated - select for diffs
Tue Sep 3 13:43:34 2019 UTC (6 years, 3 months ago) by roy
Branches: MAIN
CVS tags: phil-wifi-20191119,is-mlppp-base,is-mlppp
Diff to: previous 1.125: preferred, colored
Changes since revision 1.125: +1 -18 lines

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 - view: text, markup, annotated - select for diffs
Tue Sep 3 10:36:17 2019 UTC (6 years, 3 months ago) by roy
Branches: MAIN
Diff to: previous 1.124: preferred, colored
Changes since revision 1.124: +18 -1 lines

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 - view: text, markup, annotated - select for diffs
Mon Sep 2 09:08:29 2019 UTC (6 years, 3 months ago) by roy
Branches: MAIN
Diff to: previous 1.123: preferred, colored
Changes since revision 1.123: +4 -1 lines

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 - view: text, markup, annotated - select for diffs
Mon Jun 10 22:05:22 2019 UTC (6 years, 6 months ago) by christos
Branches: phil-wifi
Diff to: previous 1.121: preferred, colored
Changes since revision 1.121: +3 -3 lines

Sync with HEAD


Revision 1.121.10.1: download - view: text, markup, annotated - select for diffs
Sat Oct 20 06:58:22 2018 UTC (7 years, 1 month ago) by pgoyette
Branches: pgoyette-compat
CVS tags: pgoyette-compat-merge-20190127
Diff to: previous 1.121: preferred, colored; next MAIN 1.122: preferred, colored
Changes since revision 1.121: +3 -3 lines

Sync with head


Revision 1.123: download - view: text, markup, annotated - select for diffs
Sun Sep 30 10:55:00 2018 UTC (7 years, 2 months ago) by kamil
Branches: 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-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
Diff to: previous 1.122: preferred, colored
Changes since revision 1.122: +2 -2 lines

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

No functional change intended.


Revision 1.122: download - view: text, markup, annotated - select for diffs
Sun Sep 30 10:08:13 2018 UTC (7 years, 2 months ago) by kamil
Branches: MAIN
Diff to: previous 1.121: preferred, colored
Changes since revision 1.121: +2 -2 lines

Fix addchnstr() macro in curses.h

Add a missing argument 'n'.


Revision 1.120.2.1: download - view: text, markup, annotated - select for diffs
Fri Apr 21 16:53:10 2017 UTC (8 years, 7 months ago) by bouyer
Branches: bouyer-socketcan
Diff to: previous 1.120: preferred, colored; next MAIN 1.121: preferred, colored
Changes since revision 1.120: +19 -1 lines

Sync with HEAD


Revision 1.107.2.2: download - view: text, markup, annotated - select for diffs
Mon Mar 20 06:56:59 2017 UTC (8 years, 8 months ago) by pgoyette
Branches: pgoyette-localcount
Diff to: previous 1.107.2.1: preferred, colored; branchpoint 1.107: preferred, colored; next MAIN 1.108: preferred, colored
Changes since revision 1.107.2.1: +20 -1 lines

Sync with HEAD


Revision 1.121: download - view: text, markup, annotated - select for diffs
Tue Jan 24 17:27:30 2017 UTC (8 years, 10 months ago) by roy
Branches: 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-3-RELEASE,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
Diff to: previous 1.120: preferred, colored
Changes since revision 1.120: +19 -1 lines

Implement POSIX Curses Soft Label Key functions.


Revision 1.120: download - view: text, markup, annotated - select for diffs
Tue Jan 10 10:13:24 2017 UTC (8 years, 11 months ago) by roy
Branches: MAIN
CVS tags: bouyer-socketcan-base
Branch point for: bouyer-socketcan
Diff to: previous 1.119: preferred, colored
Changes since revision 1.119: +2 -1 lines

Implement POSIX curses function ripoffline(3).


Revision 1.107.2.1: download - view: text, markup, annotated - select for diffs
Sat Jan 7 08:56:04 2017 UTC (8 years, 11 months ago) by pgoyette
Branches: pgoyette-localcount
Diff to: previous 1.107: preferred, colored
Changes since revision 1.107: +45 -6 lines

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


Revision 1.119: download - view: text, markup, annotated - select for diffs
Fri Jan 6 09:14:07 2017 UTC (8 years, 11 months ago) by roy
Branches: MAIN
CVS tags: pgoyette-localcount-20170107
Diff to: previous 1.118: preferred, colored
Changes since revision 1.118: +3 -3 lines

u_int -> unsigned int, u_int32_t -> uint32_t.


Revision 1.118: download - view: text, markup, annotated - select for diffs
Thu Jan 5 23:15:43 2017 UTC (8 years, 11 months ago) by roy
Branches: MAIN
Diff to: previous 1.117: preferred, colored
Changes since revision 1.117: +2 -1 lines

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


Revision 1.117: download - view: text, markup, annotated - select for diffs
Thu Jan 5 21:25:18 2017 UTC (8 years, 11 months ago) by roy
Branches: MAIN
Diff to: previous 1.116: preferred, colored
Changes since revision 1.116: +3 -1 lines

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


Revision 1.116: download - view: text, markup, annotated - select for diffs
Thu Jan 5 20:31:37 2017 UTC (8 years, 11 months ago) by roy
Branches: MAIN
Diff to: previous 1.115: preferred, colored
Changes since revision 1.115: +3 -1 lines

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


Revision 1.115: download - view: text, markup, annotated - select for diffs
Wed Jan 4 03:51:29 2017 UTC (8 years, 11 months ago) by roy
Branches: MAIN
Diff to: previous 1.114: preferred, colored
Changes since revision 1.114: +4 -4 lines

White space police


Revision 1.114: download - view: text, markup, annotated - select for diffs
Wed Jan 4 02:05:23 2017 UTC (8 years, 11 months ago) by roy
Branches: MAIN
Diff to: previous 1.113: preferred, colored
Changes since revision 1.113: +7 -1 lines

Allow C++ to link with all curses parts.


Revision 1.113: download - view: text, markup, annotated - select for diffs
Mon Jan 2 10:28:34 2017 UTC (8 years, 11 months ago) by roy
Branches: MAIN
Diff to: previous 1.112: preferred, colored
Changes since revision 1.112: +3 -1 lines

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


Revision 1.112: download - view: text, markup, annotated - select for diffs
Sun Jan 1 03:06:06 2017 UTC (8 years, 11 months ago) by roy
Branches: MAIN
Diff to: previous 1.111: preferred, colored
Changes since revision 1.111: +2 -1 lines

Implement ncurses extension has_key.


Revision 1.111: download - view: text, markup, annotated - select for diffs
Sat Dec 31 22:47:01 2016 UTC (8 years, 11 months ago) by roy
Branches: MAIN
Diff to: previous 1.110: preferred, colored
Changes since revision 1.110: +2 -1 lines

Implement POSIX Curses typeahead function.


Revision 1.110: download - view: text, markup, annotated - select for diffs
Sat Dec 31 17:46:35 2016 UTC (8 years, 11 months ago) by roy
Branches: MAIN
Diff to: previous 1.109: preferred, colored
Changes since revision 1.109: +2 -1 lines

Implement POSIX curses use_env function.


Revision 1.109: download - view: text, markup, annotated - select for diffs
Sat Dec 31 13:50:16 2016 UTC (8 years, 11 months ago) by roy
Branches: MAIN
Diff to: previous 1.108: preferred, colored
Changes since revision 1.108: +23 -1 lines

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 - view: text, markup, annotated - select for diffs
Fri Dec 30 22:38:38 2016 UTC (8 years, 11 months ago) by roy
Branches: MAIN
Diff to: previous 1.107: preferred, colored
Changes since revision 1.107: +2 -1 lines

Add the POSIX filter() function to libcurses.


Revision 1.103.4.1: download - view: text, markup, annotated - select for diffs
Fri Jun 19 17:16:11 2015 UTC (10 years, 6 months ago) by snj
Branches: netbsd-6
Diff to: previous 1.103: preferred, colored; next MAIN 1.104: preferred, colored
Changes since revision 1.103: +2 -2 lines

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 - view: text, markup, annotated - select for diffs
Fri Jun 19 17:14:04 2015 UTC (10 years, 6 months ago) by snj
Branches: netbsd-5
Diff to: previous 1.93.8.1: preferred, colored; branchpoint 1.93: preferred, colored; next MAIN 1.94: preferred, colored
Changes since revision 1.93.8.1: +2 -2 lines

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 - view: text, markup, annotated - select for diffs
Wed Jun 10 16:59:32 2015 UTC (10 years, 6 months ago) by snj
Branches: 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
Diff to: previous 1.106: preferred, colored; next MAIN 1.107: preferred, colored
Changes since revision 1.106: +2 -2 lines

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 - view: text, markup, annotated - select for diffs
Mon Jun 8 12:38:57 2015 UTC (10 years, 6 months ago) by joerg
Branches: MAIN
CVS tags: pgoyette-localcount-base,pgoyette-localcount-20161104,pgoyette-localcount-20160806,pgoyette-localcount-20160726,localcount-20160914
Branch point for: pgoyette-localcount
Diff to: previous 1.106: preferred, colored
Changes since revision 1.106: +2 -2 lines

mvgetnstr should have a length argument as the name implies.


Revision 1.104.2.1: download - view: text, markup, annotated - select for diffs
Wed Aug 20 00:02:17 2014 UTC (11 years, 4 months ago) by tls
Branches: tls-maxphys
Diff to: previous 1.104: preferred, colored; next MAIN 1.105: preferred, colored
Changes since revision 1.104: +3 -1 lines

Rebase to HEAD as of a few days ago.


Revision 1.103.2.2: download - view: text, markup, annotated - select for diffs
Thu May 22 11:36:55 2014 UTC (11 years, 6 months ago) by yamt
Branches: yamt-pagecache
Diff to: previous 1.103.2.1: preferred, colored; branchpoint 1.103: preferred, colored; next MAIN 1.104: preferred, colored
Changes since revision 1.103.2.1: +3 -1 lines

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 - view: text, markup, annotated - select for diffs
Wed Oct 16 19:59:29 2013 UTC (12 years, 2 months ago) by roy
Branches: 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
Diff to: previous 1.105: preferred, colored
Changes since revision 1.105: +2 -1 lines

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 - view: text, markup, annotated - select for diffs
Wed Oct 16 12:43:35 2013 UTC (12 years, 2 months ago) by roy
Branches: MAIN
Diff to: previous 1.104: preferred, colored
Changes since revision 1.104: +2 -1 lines

Define WA_NORMAL


Revision 1.103.2.1: download - view: text, markup, annotated - select for diffs
Wed May 23 10:07:31 2012 UTC (13 years, 6 months ago) by yamt
Branches: yamt-pagecache
CVS tags: yamt-pagecache-tag8
Diff to: previous 1.103: preferred, colored
Changes since revision 1.103: +1 -2 lines

sync with head.


Revision 1.104: download - view: text, markup, annotated - select for diffs
Sat Apr 21 12:27:27 2012 UTC (13 years, 7 months ago) by roy
Branches: 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
Diff to: previous 1.103: preferred, colored
Changes since revision 1.103: +1 -2 lines

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 - view: text, markup, annotated - select for diffs
Tue Oct 4 11:01:13 2011 UTC (14 years, 2 months ago) by roy
Branches: 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
Diff to: previous 1.102: preferred, colored
Changes since revision 1.102: +1 -2 lines

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


Revision 1.102: download - view: text, markup, annotated - select for diffs
Sun Jul 17 20:54:34 2011 UTC (14 years, 5 months ago) by joerg
Branches: MAIN
Diff to: previous 1.101: preferred, colored
Changes since revision 1.101: +5 -5 lines

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 - view: text, markup, annotated - select for diffs
Thu Dec 16 17:42:28 2010 UTC (15 years ago) by wiz
Branches: MAIN
CVS tags: matt-mips64-premerge-20101231,cherry-xenmp-base,cherry-xenmp,bouyer-quota2-nbase,bouyer-quota2-base,bouyer-quota2
Diff to: previous 1.100: preferred, colored
Changes since revision 1.100: +4 -4 lines

Observe the following spelling:

Inspired by jmc@OpenBSD.


Revision 1.93.14.1: download - view: text, markup, annotated - select for diffs
Wed Apr 21 05:28:09 2010 UTC (15 years, 8 months ago) by matt
Branches: matt-nb5-mips64
CVS tags: matt-nb5-mips64-premerge-20101231,matt-nb5-mips64-k15
Diff to: previous 1.93: preferred, colored; next MAIN 1.94: preferred, colored
Changes since revision 1.93: +2 -2 lines

sync to netbsd-5


Revision 1.100: download - view: text, markup, annotated - select for diffs
Tue Feb 23 19:48:26 2010 UTC (15 years, 9 months ago) by drochner
Branches: MAIN
Diff to: previous 1.99: preferred, colored
Changes since revision 1.99: +39 -33 lines

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 - view: text, markup, annotated - select for diffs
Wed Feb 3 15:34:40 2010 UTC (15 years, 10 months ago) by roy
Branches: MAIN
Diff to: previous 1.98: preferred, colored
Changes since revision 1.98: +3 -3 lines

Userland now builds and uses terminfo instead of termcap.

OK: core@, jdc@


Revision 1.93.8.1: download - view: text, markup, annotated - select for diffs
Thu Dec 10 23🔞48 2009 UTC (16 years ago) by snj
Branches: 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
Diff to: previous 1.93: preferred, colored
Changes since revision 1.93: +2 -2 lines

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 - view: text, markup, annotated - select for diffs
Wed Jul 22 16:57:14 2009 UTC (16 years, 4 months ago) by roy
Branches: MAIN
CVS tags: matt-premerge-20091211
Diff to: previous 1.97: preferred, colored
Changes since revision 1.97: +2 -2 lines

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 - view: text, markup, annotated - select for diffs
Tue Jul 7 10:16:52 2009 UTC (16 years, 5 months ago) by joerg
Branches: MAIN
Diff to: previous 1.96: preferred, colored
Changes since revision 1.96: +3 -1 lines

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 - view: text, markup, annotated - select for diffs
Tue Jul 7 09:58:08 2009 UTC (16 years, 5 months ago) by joerg
Branches: MAIN
Diff to: previous 1.95: preferred, colored
Changes since revision 1.95: +11 -21 lines

Use __printflike/__scanflike.


Revision 1.95: download - view: text, markup, annotated - select for diffs
Mon Jul 6 15:19:49 2009 UTC (16 years, 5 months ago) by joerg
Branches: MAIN
Diff to: previous 1.94: preferred, colored
Changes since revision 1.94: +6 -1 lines

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 - view: text, markup, annotated - select for diffs
Wed May 13 19🔞28 2009 UTC (16 years, 7 months ago) by jym
Branches: jym-xensuspend
Diff to: previous 1.93: preferred, colored; next MAIN 1.94: preferred, colored
Changes since revision 1.93: +2 -2 lines

Sync with HEAD.

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


Revision 1.94: download - view: text, markup, annotated - select for diffs
Wed Apr 1 20:59:15 2009 UTC (16 years, 8 months ago) by cube
Branches: MAIN
CVS tags: jym-xensuspend-nbase,jym-xensuspend-base
Diff to: previous 1.93: preferred, colored
Changes since revision 1.93: +2 -2 lines

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 - view: text, markup, annotated - select for diffs
Mon Apr 14 20:40:54 2008 UTC (17 years, 8 months ago) by jdc
Branches: 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
Diff to: previous 1.92: preferred, colored
Changes since revision 1.92: +2 -0 lines

Add new file IO functions.


Revision 1.92: download - view: text, markup, annotated - select for diffs
Mon Mar 24 16:57:28 2008 UTC (17 years, 8 months ago) by jdc
Branches: MAIN
Diff to: previous 1.91: preferred, colored
Changes since revision 1.91: +1 -1 lines

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


Revision 1.90.4.1: download - view: text, markup, annotated - select for diffs
Sun Mar 23 00:40:26 2008 UTC (17 years, 8 months ago) by matt
Branches: matt-armv6
Diff to: previous 1.90: preferred, colored; next MAIN 1.91: preferred, colored
Changes since revision 1.90: +21 -12 lines

sync with HEAD


Revision 1.91: download - view: text, markup, annotated - select for diffs
Fri Mar 21 13:42:39 2008 UTC (17 years, 9 months ago) by jdc
Branches: MAIN
CVS tags: matt-armv6-nbase
Diff to: previous 1.90: preferred, colored
Changes since revision 1.90: +21 -12 lines

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 - view: text, markup, annotated - select for diffs
Sun Sep 30 03:38:57 2007 UTC (18 years, 2 months ago) by wrstuden
Branches: wrstuden-fixsa
Diff to: previous 1.87: preferred, colored; next MAIN 1.88: preferred, colored
Changes since revision 1.87: +2 -6 lines

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


Revision 1.87.4.1: download - view: text, markup, annotated - select for diffs
Thu Sep 27 13:52:21 2007 UTC (18 years, 2 months ago) by xtraeme
Branches: 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
Diff to: previous 1.87: preferred, colored; next MAIN 1.88: preferred, colored
Changes since revision 1.87: +2 -6 lines

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 - view: text, markup, annotated - select for diffs
Wed Jul 11 18:44:46 2007 UTC (18 years, 5 months ago) by jdc
Branches: 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
Diff to: previous 1.89: preferred, colored
Changes since revision 1.89: +19 -1 lines

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


Revision 1.89: download - view: text, markup, annotated - select for diffs
Sun Jul 1 10:53:59 2007 UTC (18 years, 5 months ago) by xtraeme
Branches: MAIN
Diff to: previous 1.88: preferred, colored
Changes since revision 1.88: +2 -6 lines

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 - view: text, markup, annotated - select for diffs
Mon May 28 15:01:55 2007 UTC (18 years, 6 months ago) by blymn
Branches: MAIN
Diff to: previous 1.87: preferred, colored
Changes since revision 1.87: +200 -1 lines

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


Revision 1.87.6.2: download - view: text, markup, annotated - select for diffs
Sun Jan 21 17:43:35 2007 UTC (18 years, 10 months ago) by jdc
Branches: wcurses
Diff to: previous 1.87.6.1: preferred, colored; branchpoint 1.87: preferred, colored; next MAIN 1.88: preferred, colored
Changes since revision 1.87.6.1: +3 -2 lines

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 - view: text, markup, annotated - select for diffs
Sun Jan 21 11:38:59 2007 UTC (18 years, 10 months ago) by blymn
Branches: wcurses
Diff to: previous 1.87: preferred, colored
Changes since revision 1.87: +201 -3 lines

Wide curses merge


Revision 1.87: download - view: text, markup, annotated - select for diffs
Tue Aug 9 02:33:38 2005 UTC (20 years, 4 months ago) by christos
Branches: 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
Diff to: previous 1.86: preferred, colored
Changes since revision 1.86: +38 -29 lines

Deal with modern c++ casts.


Revision 1.86: download - view: text, markup, annotated - select for diffs
Sun Mar 28 08:58:37 2004 UTC (21 years, 8 months ago) by jdc
Branches: 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
Diff to: previous 1.85: preferred, colored
Changes since revision 1.85: +5 -1 lines

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


Revision 1.85: download - view: text, markup, annotated - select for diffs
Tue Mar 23 21:35:29 2004 UTC (21 years, 8 months ago) by jdc
Branches: MAIN
Diff to: previous 1.84: preferred, colored
Changes since revision 1.84: +2 -2 lines

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 - view: text, markup, annotated - select for diffs
Mon Mar 22 18:57:38 2004 UTC (21 years, 9 months ago) by jdc
Branches: MAIN
Diff to: previous 1.83: preferred, colored
Changes since revision 1.83: +16 -16 lines

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 - view: text, markup, annotated - select for diffs
Tue Mar 16 07:46:24 2004 UTC (21 years, 9 months ago) by jdc
Branches: MAIN
Diff to: previous 1.82: preferred, colored
Changes since revision 1.82: +4 -4 lines

s/colour/color/. From Douwe Keila.


Revision 1.82: download - view: text, markup, annotated - select for diffs
Sat Feb 14 18:23:45 2004 UTC (21 years, 10 months ago) by christos
Branches: MAIN
Diff to: previous 1.81: preferred, colored
Changes since revision 1.81: +2 -7 lines

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 - view: text, markup, annotated - select for diffs
Tue Dec 23 23:12:44 2003 UTC (21 years, 11 months ago) by christos
Branches: MAIN
Diff to: previous 1.80: preferred, colored
Changes since revision 1.80: +26 -26 lines

Avoid array type is char warning.


Revision 1.80: download - view: text, markup, annotated - select for diffs
Thu Dec 4 21:24:36 2003 UTC (22 years ago) by jdc
Branches: MAIN
Diff to: previous 1.79: preferred, colored
Changes since revision 1.79: +2 -2 lines

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 - view: text, markup, annotated - select for diffs
Sun Oct 5 10:13:02 2003 UTC (22 years, 2 months ago) by jdc
Branches: MAIN
Diff to: previous 1.78: preferred, colored
Changes since revision 1.78: +3 -1 lines

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


Revision 1.78: download - view: text, markup, annotated - select for diffs
Thu Aug 7 16:44:20 2003 UTC (22 years, 4 months ago) by agc
Branches: MAIN
Diff to: previous 1.77: preferred, colored
Changes since revision 1.77: +2 -6 lines

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 - view: text, markup, annotated - select for diffs
Fri Jun 20 06:58:53 2003 UTC (22 years, 6 months ago) by jdc
Branches: MAIN
Diff to: previous 1.76: preferred, colored
Changes since revision 1.76: +6 -0 lines

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


Revision 1.76: download - view: text, markup, annotated - select for diffs
Fri Jun 20 06:56:29 2003 UTC (22 years, 6 months ago) by jdc
Branches: MAIN
Diff to: previous 1.75: preferred, colored
Changes since revision 1.75: +2 -1 lines

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


Revision 1.75: download - view: text, markup, annotated - select for diffs
Wed May 21 21:19:52 2003 UTC (22 years, 7 months ago) by jdc
Branches: MAIN
Diff to: previous 1.74: preferred, colored
Changes since revision 1.74: +17 -1 lines

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


Revision 1.74: download - view: text, markup, annotated - select for diffs
Tue Apr 8 18:55:43 2003 UTC (22 years, 8 months ago) by jdc
Branches: MAIN
Diff to: previous 1.73: preferred, colored
Changes since revision 1.73: +3 -1 lines

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


Revision 1.73: download - view: text, markup, annotated - select for diffs
Sun Mar 30 07:38:42 2003 UTC (22 years, 8 months ago) by jdc
Branches: MAIN
Diff to: previous 1.72: preferred, colored
Changes since revision 1.72: +16 -1 lines

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


Revision 1.72: download - view: text, markup, annotated - select for diffs
Mon Jan 27 21:08:09 2003 UTC (22 years, 10 months ago) by jdc
Branches: MAIN
Diff to: previous 1.71: preferred, colored
Changes since revision 1.71: +3 -1 lines

Add can_change_color() and no_color_video().


Revision 1.71: download - view: text, markup, annotated - select for diffs
Thu Jan 9 12:48:05 2003 UTC (22 years, 11 months ago) by blymn
Branches: MAIN
Diff to: previous 1.70: preferred, colored
Changes since revision 1.70: +2 -1 lines

Added halfdelay() function.


Revision 1.70: download - view: text, markup, annotated - select for diffs
Mon Dec 23 12:13:44 2002 UTC (22 years, 11 months ago) by jdc
Branches: MAIN
CVS tags: fvdl_fs64_base
Diff to: previous 1.69: preferred, colored
Changes since revision 1.69: +5 -1 lines

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


Revision 1.69: download - view: text, markup, annotated - select for diffs
Tue Oct 22 12:07:20 2002 UTC (23 years, 2 months ago) by blymn
Branches: MAIN
Diff to: previous 1.68: preferred, colored
Changes since revision 1.68: +3 -1 lines

Added the ncurses extensions define_key and keyok.


Revision 1.68: download - view: text, markup, annotated - select for diffs
Mon Oct 14 16:25:52 2002 UTC (23 years, 2 months ago) by jdc
Branches: MAIN
Diff to: previous 1.67: preferred, colored
Changes since revision 1.67: +1 -5 lines

Remove duplicate definitions of getyx, getbegyx and getmaxyx.


Revision 1.67: download - view: text, markup, annotated - select for diffs
Sun Aug 4 17:08:16 2002 UTC (23 years, 4 months ago) by jdc
Branches: MAIN
Diff to: previous 1.66: preferred, colored
Changes since revision 1.66: +8 -8 lines

Sort attr* functions/macros.


Revision 1.66: download - view: text, markup, annotated - select for diffs
Sun Aug 4 16:43:07 2002 UTC (23 years, 4 months ago) by jdc
Branches: MAIN
Diff to: previous 1.65: preferred, colored
Changes since revision 1.65: +3 -1 lines

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 - view: text, markup, annotated - select for diffs
Fri Jul 19 13:22:41 2002 UTC (23 years, 5 months ago) by blymn
Branches: MAIN
Diff to: previous 1.64: preferred, colored
Changes since revision 1.64: +2 -1 lines


Revision 1.64: download - view: text, markup, annotated - select for diffs
Tue Dec 11 11🔞17 2001 UTC (24 years ago) by blymn
Branches: 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
Diff to: previous 1.63: preferred, colored
Changes since revision 1.63: +6 -128 lines


Revision 1.63: download - view: text, markup, annotated - select for diffs
Sun Dec 2 22:43:44 2001 UTC (24 years ago) by christos
Branches: MAIN
Diff to: previous 1.62: preferred, colored
Changes since revision 1.62: +3 -5 lines

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 - view: text, markup, annotated - select for diffs
Sun Dec 2 09:14:21 2001 UTC (24 years ago) by blymn
Branches: MAIN
Diff to: previous 1.61: preferred, colored
Changes since revision 1.61: +6 -2 lines


Revision 1.61: download - view: text, markup, annotated - select for diffs
Sun Oct 14 12:36:09 2001 UTC (24 years, 2 months ago) by blymn
Branches: MAIN
Diff to: previous 1.60: preferred, colored
Changes since revision 1.60: +4 -1 lines

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 - view: text, markup, annotated - select for diffs
Mon Oct 8 10:45:13 2001 UTC (24 years, 2 months ago) by blymn
Branches: MAIN
Diff to: previous 1.59: preferred, colored
Changes since revision 1.59: +2 -1 lines

Add mvderwin function.


Revision 1.59: download - view: text, markup, annotated - select for diffs
Thu Sep 20 11:11:54 2001 UTC (24 years, 3 months ago) by blymn
Branches: MAIN
Diff to: previous 1.58: preferred, colored
Changes since revision 1.58: +3 -1 lines

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


Revision 1.58: download - view: text, markup, annotated - select for diffs
Sun Sep 16 16:34:25 2001 UTC (24 years, 3 months ago) by wiz
Branches: MAIN
Diff to: previous 1.57: preferred, colored
Changes since revision 1.57: +2 -2 lines

Spell 'occurred' with two 'r's.


Revision 1.57: download - view: text, markup, annotated - select for diffs
Mon Jun 11 01:50:51 2001 UTC (24 years, 6 months ago) by wiz
Branches: MAIN
Diff to: previous 1.56: preferred, colored
Changes since revision 1.56: +2 -2 lines

Fix various misspellings of compatible/compatibility.


Revision 1.56: download - view: text, markup, annotated - select for diffs
Sat Apr 21 16:19:37 2001 UTC (24 years, 8 months ago) by jdc
Branches: MAIN
Diff to: previous 1.55: preferred, colored
Changes since revision 1.55: +8 -0 lines

Add missing prototypes. Fixes PR lib/12714.


Revision 1.55: download - view: text, markup, annotated - select for diffs
Fri Apr 20 12:56:08 2001 UTC (24 years, 8 months ago) by jdc
Branches: MAIN
Diff to: previous 1.54: preferred, colored
Changes since revision 1.54: +6 -1 lines

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


Revision 1.54: download - view: text, markup, annotated - select for diffs
Fri Jan 5 22:57:56 2001 UTC (24 years, 11 months ago) by christos
Branches: MAIN
Diff to: previous 1.53: preferred, colored
Changes since revision 1.53: +3 -3 lines

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


Revision 1.53: download - view: text, markup, annotated - select for diffs
Fri Jan 5 22:51:21 2001 UTC (24 years, 11 months ago) by christos
Branches: MAIN
Diff to: previous 1.52: preferred, colored
Changes since revision 1.52: +1 -2 lines

remove redundant declarations.


Revision 1.52: download - view: text, markup, annotated - select for diffs
Mon Jan 1 10:36:12 2001 UTC (24 years, 11 months ago) by simonb
Branches: MAIN
Diff to: previous 1.51: preferred, colored
Changes since revision 1.51: +33 -1 lines

Add the instr and inchstr families of functions.


Revision 1.51: download - view: text, markup, annotated - select for diffs
Sun Dec 31 12:33:02 2000 UTC (24 years, 11 months ago) by jdc
Branches: MAIN
Diff to: previous 1.50: preferred, colored
Changes since revision 1.50: +115 -3 lines

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 - view: text, markup, annotated - select for diffs
Fri Dec 22 17:07:13 2000 UTC (25 years ago) by jdc
Branches: MAIN
Diff to: previous 1.49: preferred, colored
Changes since revision 1.49: +3 -0 lines

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


Revision 1.49: download - view: text, markup, annotated - select for diffs
Tue Dec 19 21:34:24 2000 UTC (25 years ago) by jdc
Branches: MAIN
Diff to: previous 1.48: preferred, colored
Changes since revision 1.48: +1 -23 lines

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 - view: text, markup, annotated - select for diffs
Thu May 11 22:50:23 2000 UTC (25 years, 7 months ago) by jdc
Branches: 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
Diff to: previous 1.47: preferred, colored
Changes since revision 1.47: +4 -1 lines

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


Revision 1.47: download - view: text, markup, annotated - select for diffs
Thu May 11 12:05:39 2000 UTC (25 years, 7 months ago) by blymn
Branches: MAIN
Diff to: previous 1.46: preferred, colored
Changes since revision 1.46: +92 -95 lines


Revision 1.46: download - view: text, markup, annotated - select for diffs
Mon May 1 12:30:30 2000 UTC (25 years, 7 months ago) by blymn
Branches: MAIN
Diff to: previous 1.45: preferred, colored
Changes since revision 1.45: +3 -3 lines


Revision 1.45: download - view: text, markup, annotated - select for diffs
Thu Apr 27 19:54:40 2000 UTC (25 years, 7 months ago) by mycroft
Branches: MAIN
Diff to: previous 1.44: preferred, colored
Changes since revision 1.44: +3 -3 lines

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


Revision 1.44: download - view: text, markup, annotated - select for diffs
Thu Apr 27 00:22:16 2000 UTC (25 years, 7 months ago) by jdc
Branches: MAIN
Diff to: previous 1.43: preferred, colored
Changes since revision 1.43: +105 -88 lines

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 - view: text, markup, annotated - select for diffs
Wed Apr 26 12:29:47 2000 UTC (25 years, 7 months ago) by blymn
Branches: MAIN
Diff to: previous 1.42: preferred, colored
Changes since revision 1.42: +5 -1 lines


Revision 1.42: download - view: text, markup, annotated - select for diffs
Mon Apr 24 14:09:43 2000 UTC (25 years, 7 months ago) by blymn
Branches: MAIN
Diff to: previous 1.41: preferred, colored
Changes since revision 1.41: +9 -1 lines


Revision 1.41: download - view: text, markup, annotated - select for diffs
Sat Apr 22 14:32:45 2000 UTC (25 years, 8 months ago) by blymn
Branches: MAIN
Diff to: previous 1.40: preferred, colored
Changes since revision 1.40: +2 -1 lines


Revision 1.40: download - view: text, markup, annotated - select for diffs
Sat Apr 22 13:29:01 2000 UTC (25 years, 8 months ago) by blymn
Branches: MAIN
Diff to: previous 1.39: preferred, colored
Changes since revision 1.39: +9 -7 lines


Revision 1.39: download - view: text, markup, annotated - select for diffs
Thu Apr 20 13:12:14 2000 UTC (25 years, 8 months ago) by blymn
Branches: MAIN
Diff to: previous 1.38: preferred, colored
Changes since revision 1.38: +2 -1 lines


Revision 1.38: download - view: text, markup, annotated - select for diffs
Tue Apr 18 12:23:01 2000 UTC (25 years, 8 months ago) by blymn
Branches: MAIN
Diff to: previous 1.37: preferred, colored
Changes since revision 1.37: +5 -1 lines

More multiple changes:


Revision 1.37: download - view: text, markup, annotated - select for diffs
Mon Apr 17 12:25:45 2000 UTC (25 years, 8 months ago) by blymn
Branches: MAIN
Diff to: previous 1.36: preferred, colored
Changes since revision 1.36: +5 -5 lines

Multiple fixes:


Revision 1.36: download - view: text, markup, annotated - select for diffs
Sun Apr 16 09:52:49 2000 UTC (25 years, 8 months ago) by jdc
Branches: MAIN
Diff to: previous 1.35: preferred, colored
Changes since revision 1.35: +3 -1 lines

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


Revision 1.35: download - view: text, markup, annotated - select for diffs
Sun Apr 16 01:23:11 2000 UTC (25 years, 8 months ago) by thorpej
Branches: MAIN
Diff to: previous 1.34: preferred, colored
Changes since revision 1.34: +3 -1 lines

Add a couple of missing prototypes.


Revision 1.34: download - view: text, markup, annotated - select for diffs
Sat Apr 15 23:37:30 2000 UTC (25 years, 8 months ago) by jdc
Branches: MAIN
Diff to: previous 1.33: preferred, colored
Changes since revision 1.33: +3 -3 lines

Add prototype for waddstr()


Revision 1.33: download - view: text, markup, annotated - select for diffs
Sat Apr 15 13:17:03 2000 UTC (25 years, 8 months ago) by blymn
Branches: MAIN
Diff to: previous 1.32: preferred, colored
Changes since revision 1.32: +168 -101 lines

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 - view: text, markup, annotated - select for diffs
Thu Apr 13 07:07:33 2000 UTC (25 years, 8 months ago) by jdc
Branches: MAIN
Diff to: previous 1.31: preferred, colored
Changes since revision 1.31: +11 -11 lines

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


Revision 1.31: download - view: text, markup, annotated - select for diffs
Wed Apr 12 21:46:00 2000 UTC (25 years, 8 months ago) by jdc
Branches: MAIN
Diff to: previous 1.30: preferred, colored
Changes since revision 1.30: +107 -110 lines

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 - view: text, markup, annotated - select for diffs
Tue Apr 11 13:57:09 2000 UTC (25 years, 8 months ago) by blymn
Branches: MAIN
Diff to: previous 1.29: preferred, colored
Changes since revision 1.29: +143 -138 lines

Made data structures opaque


Revision 1.29.2.2: download - view: text, markup, annotated - select for diffs
Sun Mar 5 23:22:16 2000 UTC (25 years, 9 months ago) by jdc
Branches: curses-v3
Diff to: previous 1.29.2.1: preferred, colored; branchpoint 1.29: preferred, colored; next MAIN 1.30: preferred, colored
Changes since revision 1.29.2.1: +37 -11 lines

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


Revision 1.29.2.1: download - view: text, markup, annotated - select for diffs
Sun Jan 9 20:43:18 2000 UTC (25 years, 11 months ago) by jdc
Branches: curses-v3
Diff to: previous 1.29: preferred, colored
Changes since revision 1.29: +140 -101 lines

Changes to make libcurses SUS v2 compatible.


Revision 1.26.2.1: download - view: text, markup, annotated - select for diffs
Mon Dec 27 18:29:56 1999 UTC (25 years, 11 months ago) by wrstuden
Branches: wrstuden-devbsize
Diff to: previous 1.26: preferred, colored; next MAIN 1.27: preferred, colored
Changes since revision 1.26: +7 -5 lines

Pull up to last week's -current.


Revision 1.29: download - view: text, markup, annotated - select for diffs
Tue Dec 7 03:22:10 1999 UTC (26 years ago) by simonb
Branches: MAIN
CVS tags: wrstuden-devbsize-base,wrstuden-devbsize-19991221,curses-v3-base
Branch point for: curses-v3
Diff to: previous 1.28: preferred, colored
Changes since revision 1.28: +5 -3 lines

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


Revision 1.28: download - view: text, markup, annotated - select for diffs
Mon Oct 4 23:21:18 1999 UTC (26 years, 2 months ago) by lukem
Branches: MAIN
CVS tags: comdex-fall-1999-base,comdex-fall-1999
Diff to: previous 1.27: preferred, colored
Changes since revision 1.27: +2 -2 lines

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


Revision 1.27: download - view: text, markup, annotated - select for diffs
Wed Sep 29 00:34:38 1999 UTC (26 years, 2 months ago) by simonb
Branches: MAIN
Diff to: previous 1.26: preferred, colored
Changes since revision 1.26: +2 -2 lines

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 - view: text, markup, annotated - select for diffs
Sun Aug 8 08:58:08 1999 UTC (26 years, 4 months ago) by simonb
Branches: MAIN
Branch point for: wrstuden-devbsize
Diff to: previous 1.25: preferred, colored
Changes since revision 1.25: +3 -3 lines

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


Revision 1.25: download - view: text, markup, annotated - select for diffs
Sun Aug 8 01:51:37 1999 UTC (26 years, 4 months ago) by simonb
Branches: MAIN
Diff to: previous 1.24: preferred, colored
Changes since revision 1.24: +4 -4 lines

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 - view: text, markup, annotated - select for diffs
Mon Jun 28 13:32:43 1999 UTC (26 years, 5 months ago) by simonb
Branches: MAIN
Diff to: previous 1.23: preferred, colored
Changes since revision 1.23: +5 -5 lines

Get rid of the evil trailing spaces and tabs.


Revision 1.23: download - view: text, markup, annotated - select for diffs
Mon Jun 28 12:32:07 1999 UTC (26 years, 5 months ago) by simonb
Branches: MAIN
Diff to: previous 1.22: preferred, colored
Changes since revision 1.22: +3 -3 lines

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 - view: text, markup, annotated - select for diffs
Tue Apr 13 14:08:17 1999 UTC (26 years, 8 months ago) by mrg
Branches: MAIN
Diff to: previous 1.21: preferred, colored
Changes since revision 1.21: +202 -29 lines

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 - view: text, markup, annotated - select for diffs
Fri Jan 30 04:33:32 1998 UTC (27 years, 10 months ago) by perry
Branches: 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
Diff to: previous 1.20: preferred, colored
Changes since revision 1.20: +4 -5 lines

merge with lite-2


Revision 1.1.1.3 (vendor branch): download - view: text, markup, annotated - select for diffs
Fri Jan 30 03:38:35 1998 UTC (27 years, 10 months ago) by perry
Branches: WFJ-920714,CSRG
CVS tags: lite-2
Diff to: previous 1.1.1.2: preferred, colored
Changes since revision 1.1.1.2: +3 -5 lines

import lite-2


Revision 1.20: download - view: text, markup, annotated - select for diffs
Mon Oct 13 16:10:36 1997 UTC (28 years, 2 months ago) by lukem
Branches: 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
Diff to: previous 1.19: preferred, colored
Changes since revision 1.19: +2 -11 lines

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


Revision 1.19: download - view: text, markup, annotated - select for diffs
Fri Sep 12 21:08:22 1997 UTC (28 years, 3 months ago) by phil
Branches: MAIN
Diff to: previous 1.18: preferred, colored
Changes since revision 1.18: +3 -1 lines

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


Revision 1.18: download - view: text, markup, annotated - select for diffs
Tue Jul 22 07:36:18 1997 UTC (28 years, 5 months ago) by mikel
Branches: MAIN
Diff to: previous 1.17: preferred, colored
Changes since revision 1.17: +2 -0 lines

RCSid police, fix warnings


Revision 1.17: download - view: text, markup, annotated - select for diffs
Sat May 24 00:44:57 1997 UTC (28 years, 7 months ago) by jtc
Branches: MAIN
Diff to: previous 1.16: preferred, colored
Changes since revision 1.16: +11 -2 lines

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


Revision 1.16: download - view: text, markup, annotated - select for diffs
Tue Mar 26 02:43:59 1996 UTC (29 years, 8 months ago) by jtc
Branches: MAIN
CVS tags: netbsd-1-2-base,netbsd-1-2-RELEASE,netbsd-1-2-PATCH001,netbsd-1-2-BETA,netbsd-1-2
Diff to: previous 1.15: preferred, colored
Changes since revision 1.15: +4 -4 lines

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 - view: text, markup, annotated - select for diffs
Tue Jun 6 08:10:00 1995 UTC (30 years, 6 months ago) by pk
Branches: MAIN
CVS tags: netbsd-1-1-base,netbsd-1-1-RELEASE,netbsd-1-1-PATCH001,netbsd-1-1
Diff to: previous 1.14: preferred, colored
Changes since revision 1.14: +1 -1 lines

Declare tputs() as void.


Revision 1.14.2.2: download - view: text, markup, annotated - select for diffs
Wed Sep 7 21:28:06 1994 UTC (31 years, 3 months ago) by jtc
Branches: netbsd-1-0
Diff to: previous 1.14.2.1: preferred, colored; branchpoint 1.14: preferred, colored; next MAIN 1.15: preferred, colored
Changes since revision 1.14.2.1: +341 -0 lines

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 (31 years, 3 months ago) by jtc
Branches: netbsd-1-0
FILE REMOVED
Changes since revision 1.14: +0 -341 lines

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


Revision 1.14: download - view: text, markup, annotated - select for diffs
Wed Sep 7 21:28:05 1994 UTC (31 years, 3 months ago) by jtc
Branches: 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
Diff to: previous 1.13: preferred, colored
Changes since revision 1.13: +4 -0 lines

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


Revision 1.13: download - view: text, markup, annotated - select for diffs
Wed Aug 17 21:52:09 1994 UTC (31 years, 4 months ago) by cgd
Branches: MAIN
Diff to: previous 1.12: preferred, colored
Changes since revision 1.12: +12 -17 lines

clean up import


Revision 1.1.1.2 (vendor branch): download - view: text, markup, annotated - select for diffs
Wed Aug 17 21:12:35 1994 UTC (31 years, 4 months ago) by cgd
Branches: WFJ-920714,CSRG
CVS tags: CSRG-94-08-17
Diff to: previous 1.1.1.1: preferred, colored
Changes since revision 1.1.1.1: +285 -164 lines

new libcurses, from new nvi


Revision 1.12: download - view: text, markup, annotated - select for diffs
Mon May 23 01:12:33 1994 UTC (31 years, 7 months ago) by cgd
Branches: MAIN
Diff to: previous 1.11: preferred, colored
Changes since revision 1.11: +4 -4 lines

ansi type renaming


Revision 1.11: download - view: text, markup, annotated - select for diffs
Mon Jan 24 08:36:51 1994 UTC (31 years, 11 months ago) by cgd
Branches: MAIN
Diff to: previous 1.10: preferred, colored
Changes since revision 1.10: +2 -2 lines

changes from branch


Revision 1.7.2.2: download - view: text, markup, annotated - select for diffs
Mon Jan 24 08:17:26 1994 UTC (31 years, 11 months ago) by cgd
CVS tags: CSRG-last,CSRG-94-01-23
Diff to: previous 1.7.2.1: preferred, colored; branchpoint 1.7: preferred, colored; next MAIN 1.8: preferred, colored
Changes since revision 1.7.2.1: +1 -1 lines

minor fixups


Revision 1.10: download - view: text, markup, annotated - select for diffs
Sat Dec 4 23:03:46 1993 UTC (32 years ago) by cgd
Branches: MAIN
Diff to: previous 1.9: preferred, colored
Changes since revision 1.9: +3 -3 lines

update from branch


Revision 1.7.2.1: download - view: text, markup, annotated - select for diffs
Sat Dec 4 22:56:31 1993 UTC (32 years ago) by cgd
Diff to: previous 1.7: preferred, colored
Changes since revision 1.7: +2 -2 lines

update from latest


Revision 1.9: download - view: text, markup, annotated - select for diffs
Tue Nov 9 04:08:59 1993 UTC (32 years, 1 month ago) by cgd
Branches: MAIN
Diff to: previous 1.8: preferred, colored
Changes since revision 1.8: +4 -4 lines

oops; forgot this bit


Revision 1.8: download - view: text, markup, annotated - select for diffs
Tue Nov 9 04:05:35 1993 UTC (32 years, 1 month ago) by cgd
Branches: MAIN
Diff to: previous 1.7: preferred, colored
Changes since revision 1.7: +4 -1 lines

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


Revision 1.7: download - view: text, markup, annotated - select for diffs
Tue Nov 9 03:34:21 1993 UTC (32 years, 1 month ago) by cgd
Branches: MAIN
CVS tags: CSRG-93-11-06
Diff to: previous 1.6: preferred, colored
Changes since revision 1.6: +165 -112 lines

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


Revision 1.6: download - view: text, markup, annotated - select for diffs
Sun Aug 15 16:43:27 1993 UTC (32 years, 4 months ago) by mycroft
Branches: MAIN
Diff to: previous 1.5: preferred, colored
Changes since revision 1.5: +2 -2 lines

Remove spurious `)'.


Revision 1.5: download - view: text, markup, annotated - select for diffs
Sun Aug 15 16:23:59 1993 UTC (32 years, 4 months ago) by mycroft
Branches: MAIN
Diff to: previous 1.4: preferred, colored
Changes since revision 1.4: +13 -11 lines

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


Revision 1.4: download - view: text, markup, annotated - select for diffs
Sat Aug 7 05:48:47 1993 UTC (32 years, 4 months ago) by mycroft
Branches: MAIN
Diff to: previous 1.3: preferred, colored
Changes since revision 1.3: +230 -166 lines

New version from uunet.


Revision 1.3: download - view: text, markup, annotated - select for diffs
Sun Aug 1 18:35:59 1993 UTC (32 years, 4 months ago) by mycroft
Branches: MAIN
Diff to: previous 1.2: preferred, colored
Changes since revision 1.2: +2 -1 lines

Add RCS identifiers.


Revision 1.2: download - view: text, markup, annotated - select for diffs
Fri Jul 9 05:34:23 1993 UTC (32 years, 5 months ago) by alm
Branches: 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
Diff to: previous 1.1: preferred, colored
Changes since revision 1.1: +7 -5 lines

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 (vendor branch): download - view: text, markup, annotated - select for diffs
Sun Mar 21 09:45:37 1993 UTC (32 years, 9 months ago) by cgd
Branches: WFJ-920714,CSRG
CVS tags: patchkit-0-2-2,netbsd-alpha-1,netbsd-0-8,WFJ-386bsd-01
Diff to: previous 1.1: preferred, colored
Changes since revision 1.1: +0 -0 lines

initial import of 386bsd-0.1 sources


Revision 1.1: download - view: text, markup, annotated - select for diffs
Sun Mar 21 09:45:37 1993 UTC (32 years, 9 months ago) by cgd
Branches: MAIN

Initial revision



CVSweb <webmaster@jp.NetBSD.org>