The NetBSD Project

CVS log for src/lib/libcurses/getch.c

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

Request diff between arbitrary revisions


Default branch: MAIN


Revision 1.65.4.3 / (download) - annotate - [select for diffs], Wed Oct 3 17:49:06 2018 UTC (4 months, 2 weeks ago) by martin
Branch: netbsd-8
Changes since 1.65.4.2: +4 -4 lines
Diff to previous 1.65.4.2 (colored) to branchpoint 1.65 (colored) next main 1.66 (colored)

Pull up following revision(s) (requested by roy in ticket #1043):

	lib/libcurses/resize.c: revision 1.27
	lib/libcurses/get_wch.c: revision 1.19
	lib/libcurses/getch.c: revision 1.70

curses: resizeterm(3) should always send KEY_RESIZE

Fixes #53636

OK kamil@

Revision 1.65.10.1 / (download) - annotate - [select for diffs], Sun Sep 30 01:45:33 2018 UTC (4 months, 3 weeks ago) by pgoyette
Branch: pgoyette-compat
CVS Tags: pgoyette-compat-merge-20190127
Changes since 1.65: +36 -17 lines
Diff to previous 1.65 (colored) next main 1.66 (colored)

Ssync with HEAD

Revision 1.70 / (download) - annotate - [select for diffs], Fri Sep 28 15:03:48 2018 UTC (4 months, 3 weeks ago) by roy
Branch: MAIN
CVS Tags: pgoyette-compat-20190127, pgoyette-compat-20190118, pgoyette-compat-1226, pgoyette-compat-1126, pgoyette-compat-1020, pgoyette-compat-0930, HEAD
Changes since 1.69: +4 -4 lines
Diff to previous 1.69 (colored)

curses: resizeterm(3) should always send KEY_RESIZE

Fixes #53636

OK kamil@

Revision 1.65.4.2 / (download) - annotate - [select for diffs], Thu Sep 27 15:12:15 2018 UTC (4 months, 3 weeks ago) by martin
Branch: netbsd-8
Changes since 1.65.4.1: +35 -29 lines
Diff to previous 1.65.4.1 (colored) to branchpoint 1.65 (colored)

Pull up following revision(s) (requested by roy in ticket #1042):
	lib/libcurses/getch.c: revision 1.68
	lib/libcurses/getch.c: revision 1.69
	lib/libcurses/get_wch.c: revision 1.17
	lib/libcurses/get_wch.c: revision 1.18
	lib/libcurses/curses_private.h: revision 1.63
curses: unify resize handling in getch
Instead of testing each fgetc call for resize event, add the wrapper
__fgetc_resize to simplify the logic.
While here, ensure that get_wch uses the correct input stream which
may or may not be stdin.
curses: call resizeterm if getch issues KEY_RESIZE
This fixes PR #53633.

Revision 1.65.4.1 / (download) - annotate - [select for diffs], Thu Sep 27 14:59:28 2018 UTC (4 months, 3 weeks ago) by martin
Branch: netbsd-8
Changes since 1.65: +18 -5 lines
Diff to previous 1.65 (colored)

Pull up following revision(s) (requested by kamil in ticket #1039):

	lib/libcurses/getch.c: revision 1.66
	lib/libcurses/getch.c: revision 1.67
	lib/libcurses/tstp.c: revision 1.43
	lib/libcurses/get_wch.c: revision 1.15
	lib/libcurses/get_wch.c: revision 1.16

PR lib/53615
getch() and get_wch() should return KEY_RESIZE when interrupted by SIGWIN=
CH.

OK roy

 -

PR lib/53615
Before invoking a previous signal handler, make sure it is not SIG_*.
Fix potential crash with SIGWINCH.

OK roy

 -

Correct detecting of terminal resize in curses(3) with keypad(,TRUE)
A previous change fixed only keypad(,FALSE) scenarios.

 -

Handle catching terminal resize in INKEY_NORM and INKEY_ASSEMBLING (in the
middle of assembling a key code from passed codes) as both accept keys with
fgetc(3) and both can be in theory interrupted with a resize.

PR lib/53615

Revision 1.69 / (download) - annotate - [select for diffs], Thu Sep 27 14:07:55 2018 UTC (4 months, 3 weeks ago) by roy
Branch: MAIN
Changes since 1.68: +4 -2 lines
Diff to previous 1.68 (colored)

curses: call resizeterm if getch issues KEY_RESIZE

This fixes PR #53633.

Revision 1.68 / (download) - annotate - [select for diffs], Thu Sep 27 14:05:26 2018 UTC (4 months, 3 weeks ago) by roy
Branch: MAIN
Changes since 1.67: +33 -29 lines
Diff to previous 1.67 (colored)

curses: unify resize handling in getch

Instead of testing each fgetc call for resize event, add the wrapper
__fgetc_resize to simplify the logic.
While here, ensure that get_wch uses the correct input stream which
may or may not be stdin.

Revision 1.67 / (download) - annotate - [select for diffs], Wed Sep 26 14:42:22 2018 UTC (4 months, 3 weeks ago) by kamil
Branch: MAIN
Changes since 1.66: +12 -4 lines
Diff to previous 1.66 (colored)

Correct detecting of terminal resize in curses(3) with keypad(,TRUE)

A previous change fixed only keypad(,FALSE) scenarios.

Handle catching terminal resize in INKEY_NORM and INKEY_ASSEMBLING (in the
middle of assembling a key code from passed codes) as both accept keys with
fgetc(3) and both can be in theory interrupted with a resize.

PR lib/53615

Revision 1.66 / (download) - annotate - [select for diffs], Tue Sep 18 22:46:18 2018 UTC (5 months ago) by rin
Branch: MAIN
Changes since 1.65: +8 -3 lines
Diff to previous 1.65 (colored)

PR lib/53615

getch() and get_wch() should return KEY_RESIZE when interrupted by SIGWINCH.

OK roy

Revision 1.62.2.1 / (download) - annotate - [select for diffs], Fri Apr 21 16:53:10 2017 UTC (22 months ago) by bouyer
Branch: bouyer-socketcan
Changes since 1.62: +21 -14 lines
Diff to previous 1.62 (colored) next main 1.63 (colored)

Sync with HEAD

Revision 1.59.14.2 / (download) - annotate - [select for diffs], Mon Mar 20 06:56:59 2017 UTC (23 months ago) by pgoyette
Branch: pgoyette-localcount
Changes since 1.59.14.1: +21 -14 lines
Diff to previous 1.59.14.1 (colored) to branchpoint 1.59 (colored) next main 1.60 (colored)

Sync with HEAD

Revision 1.65 / (download) - annotate - [select for diffs], Tue Jan 31 09:17:53 2017 UTC (2 years ago) by roy
Branch: MAIN
CVS Tags: prg-localcount2-base3, prg-localcount2-base2, prg-localcount2-base1, prg-localcount2-base, prg-localcount2, phil-wifi-base, phil-wifi, pgoyette-localcount-20170426, pgoyette-localcount-20170320, pgoyette-compat-base, 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-0-RELEASE, netbsd-8-0-RC2, netbsd-8-0-RC1, matt-nb8-mediatek-base, matt-nb8-mediatek, bouyer-socketcan-base1
Branch point for: pgoyette-compat, netbsd-8
Changes since 1.64: +4 -9 lines
Diff to previous 1.64 (colored)

Move ESCDELAY to curses.c so all globals are close to each other.
Remove _reentrant and use ESCDELAY and TABSIZE as we're not really
reentrant.

Revision 1.64 / (download) - annotate - [select for diffs], Mon Jan 30 16:50:44 2017 UTC (2 years ago) by roy
Branch: MAIN
Changes since 1.63: +19 -9 lines
Diff to previous 1.63 (colored)

Check _cursesi_term is set in a few places and sprinkle some static.

Revision 1.63 / (download) - annotate - [select for diffs], Mon Jan 30 14:55:58 2017 UTC (2 years ago) by roy
Branch: MAIN
Changes since 1.62: +5 -3 lines
Diff to previous 1.62 (colored)

If either set_escdelay(3) or set_tabsize(3) are called, set _reentrant
to ensure we use the saved value for the sceen.

This effectively makes ESCDELAY and TABSIZE read-only when either
of these functions are called.

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

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

Revision 1.62 / (download) - annotate - [select for diffs], Fri Jan 6 13:53:18 2017 UTC (2 years, 1 month ago) by roy
Branch: MAIN
CVS Tags: pgoyette-localcount-20170107, bouyer-socketcan-base
Branch point for: bouyer-socketcan
Changes since 1.61: +11 -11 lines
Diff to previous 1.61 (colored)

KNF.
Normalise coding style.
White space police.
Sprinkle some extra braces to make the flow more clear.

No functional changes.

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

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

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

Implement ncurses extension has_key.

Revision 1.58.4.1 / (download) - annotate - [select for diffs], Wed May 23 10:07:31 2012 UTC (6 years, 9 months ago) by yamt
Branch: yamt-pagecache
CVS Tags: yamt-pagecache-tag8
Changes since 1.58: +5 -5 lines
Diff to previous 1.58 (colored) next main 1.59 (colored)

sync with head.

Revision 1.59 / (download) - annotate - [select for diffs], Sat Apr 21 12:27:28 2012 UTC (6 years, 10 months ago) by roy
Branch: MAIN
CVS Tags: yamt-pagecache-base9, yamt-pagecache-base8, yamt-pagecache-base7, yamt-pagecache-base6, yamt-pagecache-base5, tls-maxphys-base, tls-maxphys, tls-earlyentropy-base, tls-earlyentropy, riastradh-xf86-video-intel-2-7-1-pre-2-21-15, riastradh-drm2-base3, riastradh-drm2-base2, riastradh-drm2-base1, riastradh-drm2-base, riastradh-drm2, pgoyette-localcount-base, pgoyette-localcount-20161104, pgoyette-localcount-20160806, pgoyette-localcount-20160726, netbsd-7-nhusb-base-20170116, netbsd-7-nhusb-base, netbsd-7-nhusb, netbsd-7-base, 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, netbsd-7, localcount-20160914, agc-symver-base, agc-symver
Branch point for: pgoyette-localcount
Changes since 1.58: +5 -5 lines
Diff to previous 1.58 (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.58 / (download) - annotate - [select for diffs], Thu Apr 21 08:10:49 2011 UTC (7 years, 10 months ago) by blymn
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, netbsd-6, matt-nb6-plus-nbase, matt-nb6-plus-base, matt-nb6-plus, cherry-xenmp-base, cherry-xenmp
Branch point for: yamt-pagecache
Changes since 1.57: +13 -12 lines
Diff to previous 1.57 (colored)

Fix deleting a key definition, it did not work.  Also improve tracing
of key definition deletion.

Revision 1.57 / (download) - annotate - [select for diffs], Tue Dec 7 22:02:52 2010 UTC (8 years, 2 months ago) by joerg
Branch: MAIN
CVS Tags: matt-mips64-premerge-20101231, bouyer-quota2-nbase, bouyer-quota2-base, bouyer-quota2
Changes since 1.56: +3 -3 lines
Diff to previous 1.56 (colored)

Since limit and l are both unsigned, comparing to 0 doesn't work, so compare
the values directly.

Revision 1.56 / (download) - annotate - [select for diffs], Fri Nov 5 11:38:54 2010 UTC (8 years, 3 months ago) by blymn
Branch: MAIN
Changes since 1.55: +3 -3 lines
Diff to previous 1.55 (colored)

Don't echo key symbols.

Revision 1.55 / (download) - annotate - [select for diffs], Wed Feb 3 15:34:40 2010 UTC (9 years ago) by roy
Branch: MAIN
Changes since 1.54: +167 -161 lines
Diff to previous 1.54 (colored)

Userland now builds and uses terminfo instead of termcap.

OK: core@, jdc@

Revision 1.54 / (download) - annotate - [select for diffs], Wed Nov 4 21:51:11 2009 UTC (9 years, 3 months ago) by dsl
Branch: MAIN
CVS Tags: matt-premerge-20091211
Changes since 1.53: +5 -5 lines
Diff to previous 1.53 (colored)

Read input from the correct FILE.

Revision 1.53 / (download) - annotate - [select for diffs], Sun Nov 1 22:11:27 2009 UTC (9 years, 3 months ago) by dsl
Branch: MAIN
Changes since 1.52: +7 -17 lines
Diff to previous 1.52 (colored)

Move calls to __restore_termios() into the failing path of the functions
that fail - instead of in most of the callers.
All rather pointless if tcsetattr() fails to set the mode we want we
are very unlikely to be able to restore any later on.

Revision 1.51.10.1 / (download) - annotate - [select for diffs], Wed May 13 19:18:28 2009 UTC (9 years, 9 months ago) by jym
Branch: jym-xensuspend
Changes since 1.51: +8 -8 lines
Diff to previous 1.51 (colored) next main 1.52 (colored)

Sync with HEAD.

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

Revision 1.51.8.1 / (download) - annotate - [select for diffs], Wed Feb 18 01:13:54 2009 UTC (10 years 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, netbsd-5-0-RELEASE, netbsd-5-0-RC4, netbsd-5-0-RC3, netbsd-5-0-2-RELEASE, netbsd-5-0-1-RELEASE, netbsd-5-0, matt-nb5-pq3-base, matt-nb5-pq3, matt-nb5-mips64-u2-k2-k4-k7-k8-k9, matt-nb5-mips64-u1-k1-k5, matt-nb5-mips64-premerge-20101231, matt-nb5-mips64-premerge-20091211, matt-nb5-mips64-k15, matt-nb5-mips64, matt-nb4-mips64-k7-u2a-k9b
Changes since 1.51: +8 -8 lines
Diff to previous 1.51 (colored) next main 1.52 (colored)

Pull up following revision(s) (requested by jdc in ticket #451):
	lib/libcurses/getch.c: revision 1.52
Fix bug where a single ESC was not recognised when in keypad() mode.
Noticed by abs@.

Revision 1.52 / (download) - annotate - [select for diffs], Mon Feb 9 12:45:59 2009 UTC (10 years ago) by jdc
Branch: MAIN
CVS Tags: jym-xensuspend-nbase, jym-xensuspend-base
Changes since 1.51: +8 -8 lines
Diff to previous 1.51 (colored)

Fix bug where a single ESC was not recognised when in keypad() mode.
Noticed by abs@.

Revision 1.51 / (download) - annotate - [select for diffs], Mon Apr 14 20:32:53 2008 UTC (10 years, 10 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-RC2, netbsd-5-0-RC1, matt-mips64-base2, hpcarm-cleanup-nbase
Branch point for: netbsd-5, jym-xensuspend
Changes since 1.50: +8 -2 lines
Diff to previous 1.50 (colored)

Add extra debugging information.

Revision 1.48.4.2 / (download) - annotate - [select for diffs], Wed Jan 9 01:36:23 2008 UTC (11 years, 1 month ago) by matt
Branch: matt-armv6
Changes since 1.48.4.1: +58 -27 lines
Diff to previous 1.48.4.1 (colored) to branchpoint 1.48 (colored) next main 1.49 (colored)

sync with HEAD

Revision 1.50 / (download) - annotate - [select for diffs], Sat Dec 8 18:38:11 2007 UTC (11 years, 2 months ago) by jdc
Branch: MAIN
CVS Tags: matt-armv6-nbase, matt-armv6-base, keiichi-mipv6-base, keiichi-mipv6, hpcarm-cleanup-base, cube-autoconf-base, cube-autoconf
Changes since 1.49: +58 -27 lines
Diff to previous 1.49 (colored)

Keep pushed-back characters locally.  Fixes problems where KEY_* symbols
are pushed back.  Should fix the arrow keys part of PR pkg/37173.

While we are here, make getch() and get_wch() check for resize immediately,
instead of reading a key, checking for resize and then having to push-back
the just read key.

Revision 1.48.4.1 / (download) - annotate - [select for diffs], Tue Nov 6 23:11:24 2007 UTC (11 years, 3 months ago) by matt
Branch: matt-armv6
CVS Tags: matt-armv6-prevmlocking
Changes since 1.48: +15 -2 lines
Diff to previous 1.48 (colored)

sync with HEAD

Revision 1.49 / (download) - annotate - [select for diffs], Tue Aug 28 12:28:18 2007 UTC (11 years, 5 months ago) by blymn
Branch: MAIN
Changes since 1.48: +15 -2 lines
Diff to previous 1.48 (colored)

Fix a crash caused by having a single NULL character as a string capability.
This fix is about the best we can do given the current interfaces. We
could extend the cgetcap(3) interfaces with a function that would return
a character count and handle this in libterm which would provide a more
complete fix and allow a NULL character in a string capability.

Revision 1.48 / (download) - annotate - [select for diffs], Mon May 28 15:01:55 2007 UTC (11 years, 8 months ago) by blymn
Branch: MAIN
CVS Tags: matt-mips64-base, matt-mips64, hpcarm-cleanup
Branch point for: matt-armv6
Changes since 1.47: +36 -96 lines
Diff to previous 1.47 (colored)

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

Revision 1.46.6.3 / (download) - annotate - [select for diffs], Thu Jan 25 08:50:14 2007 UTC (12 years, 1 month ago) by blymn
Branch: wcurses
Changes since 1.46.6.2: +176 -19 lines
Diff to previous 1.46.6.2 (colored) to branchpoint 1.46 (colored) next main 1.47 (colored)

 * rearrange code to ensure that SET_WCOL() is called after attributes
   are copied/set.

 * fix some instances where attributes were being checked without
   masking with WA_ATTRIBUTES

 * Replace another instance of non-spacing character copying with function
   call.

Revision 1.46.6.2 / (download) - annotate - [select for diffs], Sun Jan 21 17:43:35 2007 UTC (12 years, 1 month ago) by jdc
Branch: wcurses
Changes since 1.46.6.1: +25 -20 lines
Diff to previous 1.46.6.1 (colored) to branchpoint 1.46 (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.47 / (download) - annotate - [select for diffs], Sun Jan 21 13:25:36 2007 UTC (12 years, 1 month ago) by jdc
Branch: MAIN
Changes since 1.46: +22 -17 lines
Diff to previous 1.46 (colored)

Add debug "areas" that allow selective debugging by setting the
"CURSES_TRACE_MASK" environment variable.  Postive vales include
debug areas, negative values exclude them.

Revision 1.46.6.1 / (download) - annotate - [select for diffs], Sun Jan 21 11:38:59 2007 UTC (12 years, 1 month ago) by blymn
Branch: wcurses
Changes since 1.46: +12 -229 lines
Diff to previous 1.46 (colored)

Wide curses merge

Revision 1.46 / (download) - annotate - [select for diffs], Tue Jul 25 21:45:00 2006 UTC (12 years, 7 months ago) by christos
Branch: MAIN
CVS Tags: wrstuden-fixsa-newbase, wrstuden-fixsa-base-1, wrstuden-fixsa-base, wrstuden-fixsa, wcurses-base, netbsd-4-base, netbsd-4-0-RELEASE, netbsd-4-0-RC5, netbsd-4-0-RC4, netbsd-4-0-RC3, netbsd-4-0-RC2, netbsd-4-0-RC1, netbsd-4-0-1-RELEASE, netbsd-4-0, netbsd-4, abandoned-netbsd-4-base, abandoned-netbsd-4
Branch point for: wcurses
Changes since 1.45: +9 -2 lines
Diff to previous 1.45 (colored)

PR/34011: Julian Coleman: Limit timeout to 25.5 seconds.

Revision 1.45 / (download) - annotate - [select for diffs], Sun Mar 19 01:58:48 2006 UTC (12 years, 11 months ago) by christos
Branch: MAIN
Changes since 1.44: +3 -3 lines
Diff to previous 1.44 (colored)

Coverity CID 1246: Don't allow getc == -1 to propagate as an array index.

Revision 1.44 / (download) - annotate - [select for diffs], Mon Mar 22 18:57:10 2004 UTC (14 years, 11 months 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.43: +26 -3 lines
Diff to previous 1.43 (colored)

Add KEY_RESIZE support and a SIGWINCH handler.
Fixes PR bin/20032.
This requires a change to KEY_MAX, which affects libform and libmenu, so we
need to change libcurses major number.

Revision 1.43 / (download) - annotate - [select for diffs], Tue Mar 16 07:44:31 2004 UTC (14 years, 11 months ago) by jdc
Branch: MAIN
Changes since 1.42: +3 -3 lines
Diff to previous 1.42 (colored)

Minor style change.

Revision 1.42 / (download) - annotate - [select for diffs], Thu Aug 7 16:44:21 2003 UTC (15 years, 6 months ago) by agc
Branch: MAIN
Changes since 1.41: +3 -7 lines
Diff to previous 1.41 (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.36.2.1 / (download) - annotate - [select for diffs], Mon Jun 16 13:14:31 2003 UTC (15 years, 8 months ago) by grant
Branch: netbsd-1-6
CVS Tags: 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
Changes since 1.36: +7 -4 lines
Diff to previous 1.36 (colored) next main 1.37 (colored)

Apply patch (requested by jdc in ticket #1244):

Keep the cr->nl translation state in a separate variable, so that we can
do the translation ourselves (if the tty didn't do it for us).
Add debugging to track functions that change tty state.

Revision 1.41 / (download) - annotate - [select for diffs], Tue Apr 8 18:55:43 2003 UTC (15 years, 10 months ago) by jdc
Branch: MAIN
Changes since 1.40: +6 -6 lines
Diff to previous 1.40 (colored)

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

Revision 1.40 / (download) - annotate - [select for diffs], Sat Apr 5 10:06:59 2003 UTC (15 years, 10 months ago) by jdc
Branch: MAIN
Changes since 1.39: +7 -4 lines
Diff to previous 1.39 (colored)

Keep the cr->nl translation state in a separate variable, so that we can
do the translation ourselves (if the tty didn't do it for us).
Add debugging to track functions that change tty state.

Fixes PR 20834 by Stephen Borrill.

Revision 1.39 / (download) - annotate - [select for diffs], Mon Feb 17 11:07:20 2003 UTC (16 years ago) by dsl
Branch: MAIN
Changes since 1.38: +3 -3 lines
Diff to previous 1.38 (colored)

Fix resize of windows with subwins.
Let window size be given as a -ver number => lines from bottom.
Fix trace calls of pointers
(approved by Brett Lumn)

Revision 1.38 / (download) - annotate - [select for diffs], Mon Dec 23 12:11:38 2002 UTC (16 years, 2 months ago) by jdc
Branch: MAIN
CVS Tags: fvdl_fs64_base
Changes since 1.37: +3 -3 lines
Diff to previous 1.37 (colored)

Increase default delay when assembling key sequences.  This seems to
eliminate the occasional non-recognition of key sequences over remote
connections.
Okayed by blymn.

Revision 1.37 / (download) - annotate - [select for diffs], Tue Oct 22 12:07:20 2002 UTC (16 years, 4 months ago) by blymn
Branch: MAIN
Changes since 1.36: +208 -69 lines
Diff to previous 1.36 (colored)

Added the ncurses extensions define_key and keyok.

Revision 1.36 / (download) - annotate - [select for diffs], Wed Jan 2 10:38:27 2002 UTC (17 years, 1 month 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-PATCH001-RELEASE, netbsd-1-6-PATCH001-RC3, netbsd-1-6-PATCH001-RC2, netbsd-1-6-PATCH001-RC1, netbsd-1-6-PATCH001
Branch point for: netbsd-1-6
Changes since 1.35: +5 -5 lines
Diff to previous 1.35 (colored)

Remove extraneous tabs from blank lines.

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

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

Revision 1.34 / (download) - annotate - [select for diffs], Thu Nov 1 16:06:59 2001 UTC (17 years, 3 months ago) by tron
Branch: MAIN
Changes since 1.33: +2 -3 lines
Diff to previous 1.33 (colored)

Remove bogus call to free(3) which caused several warning messages in
application using our "curses" library after the latest change to
memory management in the "c" library.

Revision 1.33 / (download) - annotate - [select for diffs], Wed Jan 10 14:02:32 2001 UTC (18 years, 1 month ago) by blymn
Branch: MAIN
Changes since 1.32: +6 -6 lines
Diff to previous 1.32 (colored)

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

Revision 1.29.4.3 / (download) - annotate - [select for diffs], Fri Sep 29 12:33:52 2000 UTC (18 years, 4 months ago) by itojun
Branch: netbsd-1-5
CVS Tags: netbsd-1-5-RELEASE, netbsd-1-5-PATCH003, netbsd-1-5-PATCH002, netbsd-1-5-PATCH001, netbsd-1-5-BETA2, netbsd-1-5-BETA
Changes since 1.29.4.2: +4 -3 lines
Diff to previous 1.29.4.2 (colored) to branchpoint 1.29 (colored) next main 1.30 (colored)

pullup 1.31 -> 1.32 (approved by releng-1-5)

>do not call wrefresh() uncondintionally from wgetch().  call it only
>when the window was touched (is_wintouched()).
>the previous behavior damaged existing applications, especially when it issues
>lots of subwindow manipulation and mvcur().
>
>it was introduced in 1.23 -> 1.24 or sometime before.

Revision 1.32 / (download) - annotate - [select for diffs], Sat Sep 23 09:34:07 2000 UTC (18 years, 5 months ago) by itojun
Branch: MAIN
Changes since 1.31: +4 -3 lines
Diff to previous 1.31 (colored)

do not call wrefresh() uncondintionally from wgetch().  call it only
when the window was touched (is_wintouched()).
the previous behavior damaged existing applications, especially when it issues
lots of subwindow manipulation and mvcur().

it was introduced in 1.23 -> 1.24 or sometime before.

Revision 1.29.4.2 / (download) - annotate - [select for diffs], Thu Aug 3 11:40:01 2000 UTC (18 years, 6 months ago) by itojun
Branch: netbsd-1-5
CVS Tags: netbsd-1-5-ALPHA2
Changes since 1.29.4.1: +6 -3 lines
Diff to previous 1.29.4.1 (colored) to branchpoint 1.29 (colored)

pullup 1.30 -> 1.31 (approved by releng-1-5)

 > free region got from t_getstr().  we will experience memory leak if
 > we call initscr() multiple times (rare, but it's better to be pedant).

Revision 1.29.4.1 / (download) - annotate - [select for diffs], Thu Aug 3 11:38:26 2000 UTC (18 years, 6 months ago) by itojun
Branch: netbsd-1-5
Changes since 1.29: +5 -5 lines
Diff to previous 1.29 (colored)

pullup 1.29 -> 1.30 (approved by releng-1-5)

 > fix 8bit cleanness of getch() and wgetch().  never use char variable against
 > stdio functions which return "int" (including getchar()).
 > the bug was introduced in 1.9 -> 1.10.  fixes PR10723.

Revision 1.31 / (download) - annotate - [select for diffs], Mon Jul 31 18:55:35 2000 UTC (18 years, 6 months ago) by itojun
Branch: MAIN
Changes since 1.30: +6 -3 lines
Diff to previous 1.30 (colored)

free region got from t_getstr().  we will experience memory leak if
we call initscr() multiple times (rare, but it's better to be pedant).

Revision 1.30 / (download) - annotate - [select for diffs], Mon Jul 31 16:22:46 2000 UTC (18 years, 6 months ago) by itojun
Branch: MAIN
Changes since 1.29: +5 -5 lines
Diff to previous 1.29 (colored)

fix 8bit cleanness of getch() and wgetch().  never use char variable against
stdio functions which return "int" (including getchar()).
the bug was introduced in 1.9 -> 1.10.  fixes PR10723.

Revision 1.29 / (download) - annotate - [select for diffs], Thu May 25 06:46:26 2000 UTC (18 years, 9 months ago) by jdc
Branch: MAIN
CVS Tags: netbsd-1-5-base, minoura-xpg4dl-base, minoura-xpg4dl
Branch point for: netbsd-1-5
Changes since 1.28: +0 -8 lines
Diff to previous 1.28 (colored)

Send 'ks' sequence from first call to keypad(win, TRUE) only and not from
wgetch().  Don't send 'ke' sequence from keypad(win, FALSE) or wgetch().
This makes us compatible with Solaris.
Suggested by ITOH Yasufumi.

Revision 1.28 / (download) - annotate - [select for diffs], Wed May 17 16:23:49 2000 UTC (18 years, 9 months ago) by jdc
Branch: MAIN
Changes since 1.27: +10 -2 lines
Diff to previous 1.27 (colored)

Send, if necessary, 'ks' or 'ke' sequences from keypad() and wgetch().
Fixes PR 10116.

Revision 1.27 / (download) - annotate - [select for diffs], Mon May 1 12:30:30 2000 UTC (18 years, 9 months ago) by blymn
Branch: MAIN
Changes since 1.26: +44 -45 lines
Diff to previous 1.26 (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.26 / (download) - annotate - [select for diffs], Thu Apr 27 17:50:01 2000 UTC (18 years, 10 months ago) by mycroft
Branch: MAIN
Changes since 1.25: +3 -4 lines
Diff to previous 1.25 (colored)

No, really, make sure ECHO is cleared in cbreak() mode too.

Revision 1.25 / (download) - annotate - [select for diffs], Thu Apr 27 00:23:26 2000 UTC (18 years, 10 months ago) by jdc
Branch: MAIN
Changes since 1.24: +119 -3 lines
Diff to previous 1.24 (colored)

Add extra KEY_* definitions (from SUSv2).
Fix `gcc -Wuninitialized`.

Revision 1.24 / (download) - annotate - [select for diffs], Sun Apr 23 14:14:49 2000 UTC (18 years, 10 months ago) by blymn
Branch: MAIN
Changes since 1.23: +4 -3 lines
Diff to previous 1.23 (colored)

* Fixed bug in copywin which was copying more than it should.
* Changed call to wrefresh in wgetch to be before input read.
* Changed default old cursor mode to be high vis in curs_set
* Added documentation for various new functions to fns.doc.

Revision 1.23 / (download) - annotate - [select for diffs], Sat Apr 22 21:14:19 2000 UTC (18 years, 10 months ago) by thorpej
Branch: MAIN
Changes since 1.22: +5 -4 lines
Diff to previous 1.22 (colored)

Fully initialize the structure allocated in new_keymap().

Revision 1.22 / (download) - annotate - [select for diffs], Sat Apr 22 14:32:45 2000 UTC (18 years, 10 months ago) by blymn
Branch: MAIN
Changes since 1.21: +36 -21 lines
Diff to previous 1.21 (colored)

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

Revision 1.21 / (download) - annotate - [select for diffs], Tue Apr 18 21:44:48 2000 UTC (18 years, 10 months ago) by jdc
Branch: MAIN
Changes since 1.20: +6 -6 lines
Diff to previous 1.20 (colored)

Make sure we don't read a negative character value (again).

Revision 1.20 / (download) - annotate - [select for diffs], Mon Apr 17 12:25:46 2000 UTC (18 years, 10 months ago) by blymn
Branch: MAIN
Changes since 1.19: +164 -94 lines
Diff to previous 1.19 (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.19 / (download) - annotate - [select for diffs], Sat Apr 15 22:59:05 2000 UTC (18 years, 10 months ago) by jdc
Branch: MAIN
Changes since 1.18: +10 -5 lines
Diff to previous 1.18 (colored)

Add a missing __restore_termios() in an error return.
Don't display the character on curscr if the terminal has echo on :
  - doing so will break the tracking of curscr->cury|x if we've just refreshed
  a non-fullscreen window
  - with echo on, the terminal displays the character for us anyway

Revision 1.18 / (download) - annotate - [select for diffs], Sat Apr 15 13:17:03 2000 UTC (18 years, 10 months ago) by blymn
Branch: MAIN
Changes since 1.17: +46 -9 lines
Diff to previous 1.17 (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.17 / (download) - annotate - [select for diffs], Wed Apr 12 21:34:24 2000 UTC (18 years, 10 months ago) by jdc
Branch: MAIN
Changes since 1.16: +6 -6 lines
Diff to previous 1.16 (colored)

Make sure we don't read a negative character value.

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

Made data structures opaque

Revision 1.15.2.2 / (download) - annotate - [select for diffs], Mon Mar 27 13:45:18 2000 UTC (18 years, 11 months ago) by jdc
Branch: curses-v3
Changes since 1.15.2.1: +6 -6 lines
Diff to previous 1.15.2.1 (colored) to branchpoint 1.15 (colored) next main 1.16 (colored)

Handle characters with top bit set.

Revision 1.15.2.1 / (download) - annotate - [select for diffs], Sun Jan 9 20:43:19 2000 UTC (19 years, 1 month ago) by jdc
Branch: curses-v3
Changes since 1.15: +20 -19 lines
Diff to previous 1.15 (colored)

Changes to make libcurses SUS v2 compatible.

Revision 1.14.4.1 / (download) - annotate - [select for diffs], Mon Dec 27 18:29:57 1999 UTC (19 years, 2 months ago) by wrstuden
Branch: wrstuden-devbsize
Changes since 1.14: +10 -3 lines
Diff to previous 1.14 (colored) next main 1.15 (colored)

Pull up to last week's -current.

Revision 1.15 / (download) - annotate - [select for diffs], Tue Dec 7 03:53:11 1999 UTC (19 years, 2 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.14: +10 -3 lines
Diff to previous 1.14 (colored)

Only unctrl() the first 256 input values.

This and the previous curses patches were from Brett Lymn.

Revision 1.14 / (download) - annotate - [select for diffs], Mon Jun 28 13:32:43 1999 UTC (19 years, 8 months ago) by simonb
Branch: MAIN
CVS Tags: comdex-fall-1999-base, comdex-fall-1999
Branch point for: wrstuden-devbsize
Changes since 1.13: +6 -6 lines
Diff to previous 1.13 (colored)

Get rid of the evil trailing spaces and tabs.

Revision 1.13 / (download) - annotate - [select for diffs], Tue Jun 15 04:50:28 1999 UTC (19 years, 8 months ago) by simonb
Branch: MAIN
Changes since 1.12: +13 -13 lines
Diff to previous 1.12 (colored)

Make a few private variables and functions static.

Revision 1.12 / (download) - annotate - [select for diffs], Sun Jun 6 21:05:03 1999 UTC (19 years, 8 months ago) by pk
Branch: MAIN
Changes since 1.11: +142 -140 lines
Diff to previous 1.11 (colored)

Re-arrange some code to approach our regular style.

Revision 1.11 / (download) - annotate - [select for diffs], Sun Jun 6 20:43:00 1999 UTC (19 years, 8 months ago) by pk
Branch: MAIN
Changes since 1.10: +4 -3 lines
Diff to previous 1.10 (colored)

Hang on to the termcap buffer that we have tgetent() fill.
 (someone ows me two hours worth of beer for this... :-)

Revision 1.10 / (download) - annotate - [select for diffs], Tue Apr 13 14:08:18 1999 UTC (19 years, 10 months ago) by mrg
Branch: MAIN
Changes since 1.9: +455 -8 lines
Diff to previous 1.9 (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.9 / (download) - annotate - [select for diffs], Tue Feb 3 19:12:24 1998 UTC (21 years 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.8: +4 -4 lines
Diff to previous 1.8 (colored)

remove obsolete register declarations

Revision 1.8 / (download) - annotate - [select for diffs], Tue Jul 22 07:36:42 1997 UTC (21 years, 7 months ago) by mikel
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.7: +7 -0 lines
Diff to previous 1.7 (colored)

RCSid police, fix warnings

Revision 1.7.2.2 / (download) - annotate - [select for diffs], Wed Aug 17 21:52:18 1994 UTC (24 years, 6 months ago) by cgd
Branch: netbsd-1-0
Changes since 1.7.2.1: +75 -0 lines
Diff to previous 1.7.2.1 (colored) to branchpoint 1.7 (colored) next main 1.8 (colored)

clean up import

Revision 1.7.2.1, Wed Aug 17 21:52:17 1994 UTC (24 years, 6 months ago) by cgd
Branch: netbsd-1-0
Changes since 1.7: +0 -75 lines
FILE REMOVED

file getch.c was added on branch netbsd-1-0 on 1994-08-17 21:52:18 +0000

Revision 1.7 / (download) - annotate - [select for diffs], Wed Aug 17 21:52:17 1994 UTC (24 years, 6 months ago) by cgd
Branch: MAIN
CVS Tags: netbsd-1-2-base, netbsd-1-2-RELEASE, netbsd-1-2-PATCH001, netbsd-1-2-BETA, netbsd-1-2, netbsd-1-1-base, netbsd-1-1-RELEASE, netbsd-1-1-PATCH001, netbsd-1-1, 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.6: +3 -4 lines
Diff to previous 1.6 (colored)

clean up import

Revision 1.1.1.2 / (download) - annotate - [select for diffs] (vendor branch), Wed Aug 17 21:12:55 1994 UTC (24 years, 6 months ago) by cgd
Branch: WFJ-920714, CSRG
CVS Tags: lite-2, CSRG-94-08-17
Changes since 1.1.1.1: +30 -27 lines
Diff to previous 1.1.1.1 (colored)

new libcurses, from new nvi

Revision 1.6 / (download) - annotate - [select for diffs], Tue Nov 9 04:07:34 1993 UTC (25 years, 3 months ago) by cgd
Branch: MAIN
CVS Tags: netbsd-1-0-base
Changes since 1.5: +2 -1 lines
Diff to previous 1.5 (colored)

repeat after me: "I hate rcs ids"

Revision 1.5 / (download) - annotate - [select for diffs], Tue Nov 9 03:34:28 1993 UTC (25 years, 3 months ago) by cgd
Branch: MAIN
CVS Tags: CSRG-last, CSRG-94-01-23, CSRG-93-11-06
Changes since 1.4: +8 -9 lines
Diff to previous 1.4 (colored)

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

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

New version from uunet.

Revision 1.3 / (download) - annotate - [select for diffs], Sun Aug 1 18:35:41 1993 UTC (25 years, 6 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:27 1993 UTC (25 years, 7 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: +5 -3 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 (25 years, 11 months 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 (25 years, 11 months 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>