CVS log for src/lib/libcurses/getch.c
Up to [cvs.NetBSD.org] / src / lib / libcurses
Request diff between arbitrary revisions
Keyword substitution: kv
Default branch: MAIN
Revision 1.79: download - view: text, markup, annotated - select for diffs
Tue May 14 10:22:48 2024 UTC (8 months ago) by uwe
Branches: MAIN
CVS tags: perseant-exfatfs-base-20240630,
perseant-exfatfs-base,
perseant-exfatfs,
HEAD
Diff to: previous 1.78: preferred, colored
Changes since revision 1.78: +5 -5
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.78: download - view: text, markup, annotated - select for diffs
Tue Oct 19 06:37:29 2021 UTC (3 years, 2 months ago) by blymn
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
Diff to: previous 1.77: preferred, colored
Changes since revision 1.77: +4 -4
lines
Fix for PR pkg/55931
Don't move the cursor when getch is called if input is not going to
be echoed. Lynx uses the cursor to mark the current selection in a
pop-up, previously the cursor was being relocated when getch was called
which broke the Lynx item marking.
Revision 1.77: download - view: text, markup, annotated - select for diffs
Mon Sep 6 07:45:48 2021 UTC (3 years, 4 months ago) by rin
Branches: MAIN
Diff to: previous 1.76: preferred, colored
Changes since revision 1.76: +29 -24
lines
Style fixes most for __CTRACE().
Revision 1.76: download - view: text, markup, annotated - select for diffs
Mon Sep 6 07:03:49 2021 UTC (3 years, 4 months ago) by rin
Branches: MAIN
Diff to: previous 1.75: preferred, colored
Changes since revision 1.75: +2 -36
lines
Expand __CTRACE() to __nothing #ifndef DEBUG.
Remove most of #ifdef DEBUG around __CTRACE() calls.
No binary changes, except for line numbers for assert().
Revision 1.73.2.1: download - view: text, markup, annotated - select for diffs
Tue Jul 7 12:51:18 2020 UTC (4 years, 6 months ago) by martin
Branches: netbsd-9
CVS tags: netbsd-9-4-RELEASE,
netbsd-9-3-RELEASE,
netbsd-9-2-RELEASE,
netbsd-9-1-RELEASE
Diff to: previous 1.73: preferred, colored; next MAIN 1.74: preferred, colored
Changes since revision 1.73: +7 -7
lines
Pull up following revision(s) (requested by uwe in ticket #987):
lib/libcurses/get_wch.c: revision 1.24
lib/libcurses/getch.c: revision 1.75
Pads are not to be automatically refreshed on input.
X/Open Curses says in the documentation for newpad():
Automatic refreshes of pads (e.g., from scrolling or echoing of
input) do not occur.
And in the documentation for get*():
If the current or specified window is not a pad, and it has been
moved or modified since the last refresh operation, then it will be
refreshed before another character is read.
From Michael Forney in PR lib/55457
Revision 1.75: download - view: text, markup, annotated - select for diffs
Mon Jul 6 23:33:38 2020 UTC (4 years, 6 months ago) by uwe
Branches: MAIN
CVS tags: cjep_sun2x-base1,
cjep_sun2x-base,
cjep_sun2x,
cjep_staticlib_x-base1,
cjep_staticlib_x-base,
cjep_staticlib_x
Diff to: previous 1.74: preferred, colored
Changes since revision 1.74: +7 -7
lines
Pads are not to be automatically refreshed on input.
X/Open Curses says in the documentation for newpad():
Automatic refreshes of pads (e.g., from scrolling or echoing of
input) do not occur.
And in the documentation for get*():
If the current or specified window is not a pad, and it has been
moved or modified since the last refresh operation, then it will be
refreshed before another character is read.
From Michael Forney in PR lib/55457
Revision 1.74: download - view: text, markup, annotated - select for diffs
Thu May 14 11:50:04 2020 UTC (4 years, 8 months ago) by simonb
Branches: MAIN
Diff to: previous 1.73: preferred, colored
Changes since revision 1.73: +4 -6
lines
KNF nit.
Revision 1.65.12.1: download - view: text, markup, annotated - select for diffs
Mon Jun 10 22:05:22 2019 UTC (5 years, 7 months ago) by christos
Branches: phil-wifi
Diff to: previous 1.65: preferred, colored; next MAIN 1.66: preferred, colored
Changes since revision 1.65: +75 -31
lines
Sync with HEAD
Revision 1.73: download - view: text, markup, annotated - select for diffs
Sun Jun 9 07:40:14 2019 UTC (5 years, 7 months ago) by blymn
Branches: MAIN
CVS tags: phil-wifi-20200421,
phil-wifi-20200411,
phil-wifi-20200406,
phil-wifi-20191119,
phil-wifi-20190609,
netbsd-9-base,
netbsd-9-0-RELEASE,
netbsd-9-0-RC2,
netbsd-9-0-RC1,
is-mlppp-base,
is-mlppp
Branch point for: netbsd-9
Diff to: previous 1.72: preferred, colored
Changes since revision 1.72: +13 -12
lines
Rework previous fix for getch cursor position when cursor is moved
without refresh. If the window is not dirty but the window cursor
position does not match curscr then move the cursor. This fixes
the issues seen in PR lib/54263.
Revision 1.72: download - view: text, markup, annotated - select for diffs
Mon May 20 22:17:41 2019 UTC (5 years, 7 months ago) by blymn
Branches: MAIN
Diff to: previous 1.71: preferred, colored
Changes since revision 1.71: +25 -3
lines
Back out incorrect fix for PR 53617 and fix it in a different way.
Keep track of the cursor location, if getch is called without a refresh
and without pending updates (dirty windows) then move the cursor to the
correct location directly. Doing this prevents unnecessary refreshes.
Revision 1.59.10.1: download - view: text, markup, annotated - select for diffs
Fri Mar 15 14:36:22 2019 UTC (5 years, 10 months ago) by martin
Branches: netbsd-7
Diff to: previous 1.59: preferred, colored; next MAIN 1.60: preferred, colored
Changes since revision 1.59: +18 -16
lines
Pull up following revision(s) (requested by rin in ticket #1686):
lib/libcurses/get_wch.c: revision 1.21
lib/libcurses/getch.c: revision 1.71
Rename global variable "state" to "_cursesi_state".
Until now, if application happens to have a global variable of the same
name, it was overridden by curses routines. This is the scenario in
which aspell crashes when linked to our curses, reported in pkg/44005.
We need to wipe out global/static variables like "_cursesi_state" or
"wstate" for thread safety. But it would be a future task...
XXX pullup to netbsd-8 and netbsd-7
Revision 1.65.4.4: download - view: text, markup, annotated - select for diffs
Fri Mar 15 14:30:19 2019 UTC (5 years, 10 months ago) by martin
Branches: netbsd-8
CVS tags: netbsd-8-3-RELEASE,
netbsd-8-2-RELEASE,
netbsd-8-1-RELEASE,
netbsd-8-1-RC1
Diff to: previous 1.65.4.3: preferred, colored; branchpoint 1.65: preferred, colored; next MAIN 1.66: preferred, colored
Changes since revision 1.65.4.3: +18 -16
lines
Pull up following revision(s) (requested by rin in ticket #1214):
lib/libcurses/get_wch.c: revision 1.21
lib/libcurses/getch.c: revision 1.71
Rename global variable "state" to "_cursesi_state".
Until now, if application happens to have a global variable of the same
name, it was overridden by curses routines. This is the scenario in
which aspell crashes when linked to our curses, reported in pkg/44005.
We need to wipe out global/static variables like "_cursesi_state" or
"wstate" for thread safety. But it would be a future task...
XXX pullup to netbsd-8 and netbsd-7
Revision 1.71: download - view: text, markup, annotated - select for diffs
Thu Mar 14 00:36:06 2019 UTC (5 years, 10 months ago) by rin
Branches: MAIN
Diff to: previous 1.70: preferred, colored
Changes since revision 1.70: +18 -16
lines
Rename global variable "state" to "_cursesi_state".
Until now, if application happens to have a global variable of the same
name, it was overridden by curses routines. This is the scenario in
which aspell crashes when linked to our curses, reported in pkg/44005.
We need to wipe out global/static variables like "_cursesi_state" or
"wstate" for thread safety. But it would be a future task...
XXX pullup to netbsd-8 and netbsd-7
Revision 1.65.4.3: download - view: text, markup, annotated - select for diffs
Wed Oct 3 17:49:06 2018 UTC (6 years, 3 months ago) by martin
Branches: netbsd-8
Diff to: previous 1.65.4.2: preferred, colored; branchpoint 1.65: preferred, colored
Changes since revision 1.65.4.2: +4 -4
lines
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 - view: text, markup, annotated - select for diffs
Sun Sep 30 01:45:33 2018 UTC (6 years, 3 months ago) by pgoyette
Branches: pgoyette-compat
CVS tags: pgoyette-compat-merge-20190127
Diff to: previous 1.65: preferred, colored; next MAIN 1.66: preferred, colored
Changes since revision 1.65: +36 -17
lines
Ssync with HEAD
Revision 1.70: download - view: text, markup, annotated - select for diffs
Fri Sep 28 15:03:48 2018 UTC (6 years, 3 months ago) by roy
Branches: MAIN
CVS tags: pgoyette-compat-20190127,
pgoyette-compat-20190118,
pgoyette-compat-1226,
pgoyette-compat-1126,
pgoyette-compat-1020,
pgoyette-compat-0930
Diff to: previous 1.69: preferred, colored
Changes since revision 1.69: +4 -4
lines
curses: resizeterm(3) should always send KEY_RESIZE
Fixes #53636
OK kamil@
Revision 1.65.4.2: download - view: text, markup, annotated - select for diffs
Thu Sep 27 15:12:15 2018 UTC (6 years, 3 months ago) by martin
Branches: netbsd-8
Diff to: previous 1.65.4.1: preferred, colored; branchpoint 1.65: preferred, colored
Changes since revision 1.65.4.1: +35 -29
lines
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 - view: text, markup, annotated - select for diffs
Thu Sep 27 14:59:28 2018 UTC (6 years, 3 months ago) by martin
Branches: netbsd-8
Diff to: previous 1.65: preferred, colored
Changes since revision 1.65: +18 -5
lines
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 - view: text, markup, annotated - select for diffs
Thu Sep 27 14:07:55 2018 UTC (6 years, 3 months ago) by roy
Branches: MAIN
Diff to: previous 1.68: preferred, colored
Changes since revision 1.68: +4 -2
lines
curses: call resizeterm if getch issues KEY_RESIZE
This fixes PR #53633.
Revision 1.68: download - view: text, markup, annotated - select for diffs
Thu Sep 27 14:05:26 2018 UTC (6 years, 3 months ago) by roy
Branches: MAIN
Diff to: previous 1.67: preferred, colored
Changes since revision 1.67: +33 -29
lines
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 - view: text, markup, annotated - select for diffs
Wed Sep 26 14:42:22 2018 UTC (6 years, 3 months ago) by kamil
Branches: MAIN
Diff to: previous 1.66: preferred, colored
Changes since revision 1.66: +12 -4
lines
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 - view: text, markup, annotated - select for diffs
Tue Sep 18 22:46:18 2018 UTC (6 years, 3 months ago) by rin
Branches: MAIN
Diff to: previous 1.65: preferred, colored
Changes since revision 1.65: +8 -3
lines
PR lib/53615
getch() and get_wch() should return KEY_RESIZE when interrupted by SIGWINCH.
OK roy
Revision 1.62.2.1: download - view: text, markup, annotated - select for diffs
Fri Apr 21 16:53:10 2017 UTC (7 years, 8 months ago) by bouyer
Branches: bouyer-socketcan
Diff to: previous 1.62: preferred, colored; next MAIN 1.63: preferred, colored
Changes since revision 1.62: +21 -14
lines
Sync with HEAD
Revision 1.59.14.2: download - view: text, markup, annotated - select for diffs
Mon Mar 20 06:56:59 2017 UTC (7 years, 9 months ago) by pgoyette
Branches: pgoyette-localcount
Diff to: previous 1.59.14.1: preferred, colored; branchpoint 1.59: preferred, colored; next MAIN 1.60: preferred, colored
Changes since revision 1.59.14.1: +21 -14
lines
Sync with HEAD
Revision 1.65: download - view: text, markup, annotated - select for diffs
Tue Jan 31 09:17:53 2017 UTC (7 years, 11 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-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: phil-wifi,
pgoyette-compat,
netbsd-8
Diff to: previous 1.64: preferred, colored
Changes since revision 1.64: +4 -9
lines
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 - view: text, markup, annotated - select for diffs
Mon Jan 30 16:50:44 2017 UTC (7 years, 11 months ago) by roy
Branches: MAIN
Diff to: previous 1.63: preferred, colored
Changes since revision 1.63: +19 -9
lines
Check _cursesi_term is set in a few places and sprinkle some static.
Revision 1.63: download - view: text, markup, annotated - select for diffs
Mon Jan 30 14:55:58 2017 UTC (7 years, 11 months ago) by roy
Branches: MAIN
Diff to: previous 1.62: preferred, colored
Changes since revision 1.62: +5 -3
lines
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 - view: text, markup, annotated - select for diffs
Sat Jan 7 08:56:04 2017 UTC (8 years ago) by pgoyette
Branches: pgoyette-localcount
Diff to: previous 1.59: preferred, colored
Changes since revision 1.59: +45 -20
lines
Sync with HEAD. (Note that most of these changes are simply $NetBSD$
tag issues.)
Revision 1.62: download - view: text, markup, annotated - select for diffs
Fri Jan 6 13:53:18 2017 UTC (8 years ago) by roy
Branches: MAIN
CVS tags: pgoyette-localcount-20170107,
bouyer-socketcan-base
Branch point for: bouyer-socketcan
Diff to: previous 1.61: preferred, colored
Changes since revision 1.61: +11 -11
lines
KNF.
Normalise coding style.
White space police.
Sprinkle some extra braces to make the flow more clear.
No functional changes.
Revision 1.61: download - view: text, markup, annotated - select for diffs
Thu Jan 5 20:31:37 2017 UTC (8 years ago) by roy
Branches: MAIN
Diff to: previous 1.60: preferred, colored
Changes since revision 1.60: +19 -5
lines
Add the set_escdelay(3) and set_tabsize(3) ncurses extensions.
Revision 1.60: download - view: text, markup, annotated - select for diffs
Sun Jan 1 03:06:06 2017 UTC (8 years ago) by roy
Branches: MAIN
Diff to: previous 1.59: preferred, colored
Changes since revision 1.59: +19 -8
lines
Implement ncurses extension has_key.
Revision 1.58.4.1: download - view: text, markup, annotated - select for diffs
Wed May 23 10:07:31 2012 UTC (12 years, 7 months ago) by yamt
Branches: yamt-pagecache
CVS tags: yamt-pagecache-tag8
Diff to: previous 1.58: preferred, colored; next MAIN 1.59: preferred, colored
Changes since revision 1.58: +5 -5
lines
sync with head.
Revision 1.59: download - view: text, markup, annotated - select for diffs
Sat Apr 21 12:27:28 2012 UTC (12 years, 8 months ago) by roy
Branches: 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,
localcount-20160914,
agc-symver-base,
agc-symver
Branch point for: pgoyette-localcount,
netbsd-7
Diff to: previous 1.58: preferred, colored
Changes since revision 1.58: +5 -5
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.58: download - view: text, markup, annotated - select for diffs
Thu Apr 21 08:10:49 2011 UTC (13 years, 8 months ago) by blymn
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,
netbsd-6,
matt-nb6-plus-nbase,
matt-nb6-plus-base,
matt-nb6-plus,
cherry-xenmp-base,
cherry-xenmp
Branch point for: yamt-pagecache
Diff to: previous 1.57: preferred, colored
Changes since revision 1.57: +13 -12
lines
Fix deleting a key definition, it did not work. Also improve tracing
of key definition deletion.
Revision 1.57: download - view: text, markup, annotated - select for diffs
Tue Dec 7 22:02:52 2010 UTC (14 years, 1 month ago) by joerg
Branches: MAIN
CVS tags: matt-mips64-premerge-20101231,
bouyer-quota2-nbase,
bouyer-quota2-base,
bouyer-quota2
Diff to: previous 1.56: preferred, colored
Changes since revision 1.56: +3 -3
lines
Since limit and l are both unsigned, comparing to 0 doesn't work, so compare
the values directly.
Revision 1.56: download - view: text, markup, annotated - select for diffs
Fri Nov 5 11:38:54 2010 UTC (14 years, 2 months ago) by blymn
Branches: MAIN
Diff to: previous 1.55: preferred, colored
Changes since revision 1.55: +3 -3
lines
Don't echo key symbols.
Revision 1.55: download - view: text, markup, annotated - select for diffs
Wed Feb 3 15:34:40 2010 UTC (14 years, 11 months ago) by roy
Branches: MAIN
Diff to: previous 1.54: preferred, colored
Changes since revision 1.54: +167 -161
lines
Userland now builds and uses terminfo instead of termcap.
OK: core@, jdc@
Revision 1.54: download - view: text, markup, annotated - select for diffs
Wed Nov 4 21:51:11 2009 UTC (15 years, 2 months ago) by dsl
Branches: MAIN
CVS tags: matt-premerge-20091211
Diff to: previous 1.53: preferred, colored
Changes since revision 1.53: +5 -5
lines
Read input from the correct FILE.
Revision 1.53: download - view: text, markup, annotated - select for diffs
Sun Nov 1 22:11:27 2009 UTC (15 years, 2 months ago) by dsl
Branches: MAIN
Diff to: previous 1.52: preferred, colored
Changes since revision 1.52: +7 -17
lines
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 - view: text, markup, annotated - select for diffs
Wed May 13 19:18:28 2009 UTC (15 years, 8 months ago) by jym
Branches: jym-xensuspend
Diff to: previous 1.51: preferred, colored; next MAIN 1.52: preferred, colored
Changes since revision 1.51: +8 -8
lines
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 - view: text, markup, annotated - select for diffs
Wed Feb 18 01:13:54 2009 UTC (15 years, 11 months 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,
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
Diff to: previous 1.51: preferred, colored; next MAIN 1.52: preferred, colored
Changes since revision 1.51: +8 -8
lines
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 - view: text, markup, annotated - select for diffs
Mon Feb 9 12:45:59 2009 UTC (15 years, 11 months ago) by jdc
Branches: MAIN
CVS tags: jym-xensuspend-nbase,
jym-xensuspend-base
Diff to: previous 1.51: preferred, colored
Changes since revision 1.51: +8 -8
lines
Fix bug where a single ESC was not recognised when in keypad() mode.
Noticed by abs@.
Revision 1.51: download - view: text, markup, annotated - select for diffs
Mon Apr 14 20:32:53 2008 UTC (16 years, 9 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-RC2,
netbsd-5-0-RC1,
matt-mips64-base2,
hpcarm-cleanup-nbase
Branch point for: netbsd-5,
jym-xensuspend
Diff to: previous 1.50: preferred, colored
Changes since revision 1.50: +8 -2
lines
Add extra debugging information.
Revision 1.48.4.2: download - view: text, markup, annotated - select for diffs
Wed Jan 9 01:36:23 2008 UTC (17 years ago) by matt
Branches: matt-armv6
Diff to: previous 1.48.4.1: preferred, colored; branchpoint 1.48: preferred, colored; next MAIN 1.49: preferred, colored
Changes since revision 1.48.4.1: +58 -27
lines
sync with HEAD
Revision 1.50: download - view: text, markup, annotated - select for diffs
Sat Dec 8 18:38:11 2007 UTC (17 years, 1 month ago) by jdc
Branches: MAIN
CVS tags: matt-armv6-nbase,
matt-armv6-base,
keiichi-mipv6-base,
keiichi-mipv6,
hpcarm-cleanup-base,
cube-autoconf-base,
cube-autoconf
Diff to: previous 1.49: preferred, colored
Changes since revision 1.49: +58 -27
lines
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 - view: text, markup, annotated - select for diffs
Tue Nov 6 23:11:24 2007 UTC (17 years, 2 months ago) by matt
Branches: matt-armv6
CVS tags: matt-armv6-prevmlocking
Diff to: previous 1.48: preferred, colored
Changes since revision 1.48: +15 -2
lines
sync with HEAD
Revision 1.49: download - view: text, markup, annotated - select for diffs
Tue Aug 28 12:28:18 2007 UTC (17 years, 4 months ago) by blymn
Branches: MAIN
Diff to: previous 1.48: preferred, colored
Changes since revision 1.48: +15 -2
lines
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 - view: text, markup, annotated - select for diffs
Mon May 28 15:01:55 2007 UTC (17 years, 7 months ago) by blymn
Branches: MAIN
CVS tags: matt-mips64-base,
matt-mips64,
hpcarm-cleanup
Branch point for: matt-armv6
Diff to: previous 1.47: preferred, colored
Changes since revision 1.47: +36 -96
lines
Merge in wide curses code done as a Summer of Code project by
Ruibiao Qiu.
Revision 1.46.6.3: download - view: text, markup, annotated - select for diffs
Thu Jan 25 08:50:14 2007 UTC (17 years, 11 months ago) by blymn
Branches: wcurses
Diff to: previous 1.46.6.2: preferred, colored; branchpoint 1.46: preferred, colored; next MAIN 1.47: preferred, colored
Changes since revision 1.46.6.2: +176 -19
lines
* 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 - view: text, markup, annotated - select for diffs
Sun Jan 21 17:43:35 2007 UTC (17 years, 11 months ago) by jdc
Branches: wcurses
Diff to: previous 1.46.6.1: preferred, colored; branchpoint 1.46: preferred, colored
Changes since revision 1.46.6.1: +25 -20
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.47: download - view: text, markup, annotated - select for diffs
Sun Jan 21 13:25:36 2007 UTC (17 years, 11 months ago) by jdc
Branches: MAIN
Diff to: previous 1.46: preferred, colored
Changes since revision 1.46: +22 -17
lines
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 - view: text, markup, annotated - select for diffs
Sun Jan 21 11:38:59 2007 UTC (17 years, 11 months ago) by blymn
Branches: wcurses
Diff to: previous 1.46: preferred, colored
Changes since revision 1.46: +12 -229
lines
Wide curses merge
Revision 1.46: download - view: text, markup, annotated - select for diffs
Tue Jul 25 21:45:00 2006 UTC (18 years, 5 months ago) by christos
Branches: 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
Diff to: previous 1.45: preferred, colored
Changes since revision 1.45: +9 -2
lines
PR/34011: Julian Coleman: Limit timeout to 25.5 seconds.
Revision 1.45: download - view: text, markup, annotated - select for diffs
Sun Mar 19 01:58:48 2006 UTC (18 years, 10 months ago) by christos
Branches: MAIN
Diff to: previous 1.44: preferred, colored
Changes since revision 1.44: +3 -3
lines
Coverity CID 1246: Don't allow getc == -1 to propagate as an array index.
Revision 1.44: download - view: text, markup, annotated - select for diffs
Mon Mar 22 18:57:10 2004 UTC (20 years, 10 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.43: preferred, colored
Changes since revision 1.43: +26 -3
lines
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 - view: text, markup, annotated - select for diffs
Tue Mar 16 07:44:31 2004 UTC (20 years, 10 months ago) by jdc
Branches: MAIN
Diff to: previous 1.42: preferred, colored
Changes since revision 1.42: +3 -3
lines
Minor style change.
Revision 1.42: download - view: text, markup, annotated - select for diffs
Thu Aug 7 16:44:21 2003 UTC (21 years, 5 months ago) by agc
Branches: MAIN
Diff to: previous 1.41: preferred, colored
Changes since revision 1.41: +3 -7
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.36.2.1: download - view: text, markup, annotated - select for diffs
Mon Jun 16 13:14:31 2003 UTC (21 years, 7 months ago) by grant
Branches: 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
Diff to: previous 1.36: preferred, colored; next MAIN 1.37: preferred, colored
Changes since revision 1.36: +7 -4
lines
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 - view: text, markup, annotated - select for diffs
Tue Apr 8 18:55:43 2003 UTC (21 years, 9 months ago) by jdc
Branches: MAIN
Diff to: previous 1.40: preferred, colored
Changes since revision 1.40: +6 -6
lines
Add ESCDELAY variable to control the inter-key delay in escape sequences.
Fixes PR 20031 by Thomas Klausner.
Revision 1.40: download - view: text, markup, annotated - select for diffs
Sat Apr 5 10:06:59 2003 UTC (21 years, 9 months ago) by jdc
Branches: MAIN
Diff to: previous 1.39: preferred, colored
Changes since revision 1.39: +7 -4
lines
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 - view: text, markup, annotated - select for diffs
Mon Feb 17 11:07:20 2003 UTC (21 years, 11 months ago) by dsl
Branches: MAIN
Diff to: previous 1.38: preferred, colored
Changes since revision 1.38: +3 -3
lines
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 - view: text, markup, annotated - select for diffs
Mon Dec 23 12:11:38 2002 UTC (22 years ago) by jdc
Branches: MAIN
CVS tags: fvdl_fs64_base
Diff to: previous 1.37: preferred, colored
Changes since revision 1.37: +3 -3
lines
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 - view: text, markup, annotated - select for diffs
Tue Oct 22 12:07:20 2002 UTC (22 years, 3 months ago) by blymn
Branches: MAIN
Diff to: previous 1.36: preferred, colored
Changes since revision 1.36: +208 -69
lines
Added the ncurses extensions define_key and keyok.
Revision 1.36: download - view: text, markup, annotated - select for diffs
Wed Jan 2 10:38:27 2002 UTC (23 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-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
Diff to: previous 1.35: preferred, colored
Changes since revision 1.35: +5 -5
lines
Remove extraneous tabs from blank lines.
Revision 1.35: download - view: text, markup, annotated - select for diffs
Sun Dec 2 09:14:21 2001 UTC (23 years, 1 month ago) by blymn
Branches: MAIN
Diff to: previous 1.34: preferred, colored
Changes since revision 1.34: +49 -28
lines
* 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 - view: text, markup, annotated - select for diffs
Thu Nov 1 16:06:59 2001 UTC (23 years, 2 months ago) by tron
Branches: MAIN
Diff to: previous 1.33: preferred, colored
Changes since revision 1.33: +2 -3
lines
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 - view: text, markup, annotated - select for diffs
Wed Jan 10 14:02:32 2001 UTC (24 years ago) by blymn
Branches: MAIN
Diff to: previous 1.32: preferred, colored
Changes since revision 1.32: +6 -6
lines
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 - view: text, markup, annotated - select for diffs
Fri Sep 29 12:33:52 2000 UTC (24 years, 3 months ago) by itojun
Branches: 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
Diff to: previous 1.29.4.2: preferred, colored; branchpoint 1.29: preferred, colored; next MAIN 1.30: preferred, colored
Changes since revision 1.29.4.2: +4 -3
lines
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 - view: text, markup, annotated - select for diffs
Sat Sep 23 09:34:07 2000 UTC (24 years, 3 months ago) by itojun
Branches: MAIN
Diff to: previous 1.31: preferred, colored
Changes since revision 1.31: +4 -3
lines
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 - view: text, markup, annotated - select for diffs
Thu Aug 3 11:40:01 2000 UTC (24 years, 5 months ago) by itojun
Branches: netbsd-1-5
CVS tags: netbsd-1-5-ALPHA2
Diff to: previous 1.29.4.1: preferred, colored; branchpoint 1.29: preferred, colored
Changes since revision 1.29.4.1: +6 -3
lines
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 - view: text, markup, annotated - select for diffs
Thu Aug 3 11:38:26 2000 UTC (24 years, 5 months ago) by itojun
Branches: netbsd-1-5
Diff to: previous 1.29: preferred, colored
Changes since revision 1.29: +5 -5
lines
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 - view: text, markup, annotated - select for diffs
Mon Jul 31 18:55:35 2000 UTC (24 years, 5 months ago) by itojun
Branches: MAIN
Diff to: previous 1.30: preferred, colored
Changes since revision 1.30: +6 -3
lines
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 - view: text, markup, annotated - select for diffs
Mon Jul 31 16:22:46 2000 UTC (24 years, 5 months ago) by itojun
Branches: MAIN
Diff to: previous 1.29: preferred, colored
Changes since revision 1.29: +5 -5
lines
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 - view: text, markup, annotated - select for diffs
Thu May 25 06:46:26 2000 UTC (24 years, 7 months ago) by jdc
Branches: MAIN
CVS tags: netbsd-1-5-base,
minoura-xpg4dl-base,
minoura-xpg4dl
Branch point for: netbsd-1-5
Diff to: previous 1.28: preferred, colored
Changes since revision 1.28: +0 -8
lines
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 - view: text, markup, annotated - select for diffs
Wed May 17 16:23:49 2000 UTC (24 years, 8 months ago) by jdc
Branches: MAIN
Diff to: previous 1.27: preferred, colored
Changes since revision 1.27: +10 -2
lines
Send, if necessary, 'ks' or 'ke' sequences from keypad() and wgetch().
Fixes PR 10116.
Revision 1.27: download - view: text, markup, annotated - select for diffs
Mon May 1 12:30:30 2000 UTC (24 years, 8 months ago) by blymn
Branches: MAIN
Diff to: previous 1.26: preferred, colored
Changes since revision 1.26: +44 -45
lines
* 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 - view: text, markup, annotated - select for diffs
Thu Apr 27 17:50:01 2000 UTC (24 years, 8 months ago) by mycroft
Branches: MAIN
Diff to: previous 1.25: preferred, colored
Changes since revision 1.25: +3 -4
lines
No, really, make sure ECHO is cleared in cbreak() mode too.
Revision 1.25: download - view: text, markup, annotated - select for diffs
Thu Apr 27 00:23:26 2000 UTC (24 years, 8 months ago) by jdc
Branches: MAIN
Diff to: previous 1.24: preferred, colored
Changes since revision 1.24: +119 -3
lines
Add extra KEY_* definitions (from SUSv2).
Fix `gcc -Wuninitialized`.
Revision 1.24: download - view: text, markup, annotated - select for diffs
Sun Apr 23 14:14:49 2000 UTC (24 years, 8 months ago) by blymn
Branches: MAIN
Diff to: previous 1.23: preferred, colored
Changes since revision 1.23: +4 -3
lines
* 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 - view: text, markup, annotated - select for diffs
Sat Apr 22 21:14:19 2000 UTC (24 years, 9 months ago) by thorpej
Branches: MAIN
Diff to: previous 1.22: preferred, colored
Changes since revision 1.22: +5 -4
lines
Fully initialize the structure allocated in new_keymap().
Revision 1.22: download - view: text, markup, annotated - select for diffs
Sat Apr 22 14:32:45 2000 UTC (24 years, 9 months ago) by blymn
Branches: MAIN
Diff to: previous 1.21: preferred, colored
Changes since revision 1.21: +36 -21
lines
* Added ungetch
* Converted inkey and getch to use getchar instead of read so ungetch
will work.
Revision 1.21: download - view: text, markup, annotated - select for diffs
Tue Apr 18 21:44:48 2000 UTC (24 years, 9 months ago) by jdc
Branches: MAIN
Diff to: previous 1.20: preferred, colored
Changes since revision 1.20: +6 -6
lines
Make sure we don't read a negative character value (again).
Revision 1.20: download - view: text, markup, annotated - select for diffs
Mon Apr 17 12:25:46 2000 UTC (24 years, 9 months ago) by blymn
Branches: MAIN
Diff to: previous 1.19: preferred, colored
Changes since revision 1.19: +164 -94
lines
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 - view: text, markup, annotated - select for diffs
Sat Apr 15 22:59:05 2000 UTC (24 years, 9 months ago) by jdc
Branches: MAIN
Diff to: previous 1.18: preferred, colored
Changes since revision 1.18: +10 -5
lines
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 - view: text, markup, annotated - select for diffs
Sat Apr 15 13:17:03 2000 UTC (24 years, 9 months ago) by blymn
Branches: MAIN
Diff to: previous 1.17: preferred, colored
Changes since revision 1.17: +46 -9
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.17: download - view: text, markup, annotated - select for diffs
Wed Apr 12 21:34:24 2000 UTC (24 years, 9 months ago) by jdc
Branches: MAIN
Diff to: previous 1.16: preferred, colored
Changes since revision 1.16: +6 -6
lines
Make sure we don't read a negative character value.
Revision 1.16: download - view: text, markup, annotated - select for diffs
Tue Apr 11 13:57:09 2000 UTC (24 years, 9 months ago) by blymn
Branches: MAIN
Diff to: previous 1.15: preferred, colored
Changes since revision 1.15: +22 -20
lines
Made data structures opaque
Revision 1.15.2.2: download - view: text, markup, annotated - select for diffs
Mon Mar 27 13:45:18 2000 UTC (24 years, 9 months ago) by jdc
Branches: curses-v3
Diff to: previous 1.15.2.1: preferred, colored; branchpoint 1.15: preferred, colored; next MAIN 1.16: preferred, colored
Changes since revision 1.15.2.1: +6 -6
lines
Handle characters with top bit set.
Revision 1.15.2.1: download - view: text, markup, annotated - select for diffs
Sun Jan 9 20:43:19 2000 UTC (25 years ago) by jdc
Branches: curses-v3
Diff to: previous 1.15: preferred, colored
Changes since revision 1.15: +20 -19
lines
Changes to make libcurses SUS v2 compatible.
Revision 1.14.4.1: download - view: text, markup, annotated - select for diffs
Mon Dec 27 18:29:57 1999 UTC (25 years ago) by wrstuden
Branches: wrstuden-devbsize
Diff to: previous 1.14: preferred, colored; next MAIN 1.15: preferred, colored
Changes since revision 1.14: +10 -3
lines
Pull up to last week's -current.
Revision 1.15: download - view: text, markup, annotated - select for diffs
Tue Dec 7 03:53:11 1999 UTC (25 years, 1 month 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.14: preferred, colored
Changes since revision 1.14: +10 -3
lines
Only unctrl() the first 256 input values.
This and the previous curses patches were from Brett Lymn.
Revision 1.14: download - view: text, markup, annotated - select for diffs
Mon Jun 28 13:32:43 1999 UTC (25 years, 6 months ago) by simonb
Branches: MAIN
CVS tags: comdex-fall-1999-base,
comdex-fall-1999
Branch point for: wrstuden-devbsize
Diff to: previous 1.13: preferred, colored
Changes since revision 1.13: +6 -6
lines
Get rid of the evil trailing spaces and tabs.
Revision 1.13: download - view: text, markup, annotated - select for diffs
Tue Jun 15 04:50:28 1999 UTC (25 years, 7 months ago) by simonb
Branches: MAIN
Diff to: previous 1.12: preferred, colored
Changes since revision 1.12: +13 -13
lines
Make a few private variables and functions static.
Revision 1.12: download - view: text, markup, annotated - select for diffs
Sun Jun 6 21:05:03 1999 UTC (25 years, 7 months ago) by pk
Branches: MAIN
Diff to: previous 1.11: preferred, colored
Changes since revision 1.11: +142 -140
lines
Re-arrange some code to approach our regular style.
Revision 1.11: download - view: text, markup, annotated - select for diffs
Sun Jun 6 20:43:00 1999 UTC (25 years, 7 months ago) by pk
Branches: MAIN
Diff to: previous 1.10: preferred, colored
Changes since revision 1.10: +4 -3
lines
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 - view: text, markup, annotated - select for diffs
Tue Apr 13 14:08:18 1999 UTC (25 years, 9 months ago) by mrg
Branches: MAIN
Diff to: previous 1.9: preferred, colored
Changes since revision 1.9: +455 -8
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.9: download - view: text, markup, annotated - select for diffs
Tue Feb 3 19:12:24 1998 UTC (26 years, 11 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.8: preferred, colored
Changes since revision 1.8: +4 -4
lines
remove obsolete register declarations
Revision 1.8: download - view: text, markup, annotated - select for diffs
Tue Jul 22 07:36:42 1997 UTC (27 years, 6 months ago) by mikel
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.7: preferred, colored
Changes since revision 1.7: +7 -0
lines
RCSid police, fix warnings
Revision 1.7.2.2: download - view: text, markup, annotated - select for diffs
Wed Aug 17 21:52:18 1994 UTC (30 years, 5 months ago) by cgd
Branches: netbsd-1-0
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: +75 -0
lines
clean up import
Revision 1.7.2.1
Wed Aug 17 21:52:17 1994 UTC (30 years, 5 months ago) by cgd
Branches: netbsd-1-0
FILE REMOVED
Changes since revision 1.7: +0 -75
lines
file getch.c was added on branch netbsd-1-0 on 1994-08-17 21:52:18 +0000
Revision 1.7: download - view: text, markup, annotated - select for diffs
Wed Aug 17 21:52:17 1994 UTC (30 years, 5 months ago) by cgd
Branches: 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
Diff to: previous 1.6: preferred, colored
Changes since revision 1.6: +3 -4
lines
clean up import
Revision 1.1.1.2 (vendor branch): download - view: text, markup, annotated - select for diffs
Wed Aug 17 21:12:55 1994 UTC (30 years, 5 months ago) by cgd
Branches: WFJ-920714,
CSRG
CVS tags: lite-2,
CSRG-94-08-17
Diff to: previous 1.1.1.1: preferred, colored
Changes since revision 1.1.1.1: +30 -27
lines
new libcurses, from new nvi
Revision 1.6: download - view: text, markup, annotated - select for diffs
Tue Nov 9 04:07:34 1993 UTC (31 years, 2 months ago) by cgd
Branches: MAIN
CVS tags: netbsd-1-0-base
Diff to: previous 1.5: preferred, colored
Changes since revision 1.5: +2 -1
lines
repeat after me: "I hate rcs ids"
Revision 1.5: download - view: text, markup, annotated - select for diffs
Tue Nov 9 03:34:28 1993 UTC (31 years, 2 months ago) by cgd
Branches: MAIN
CVS tags: CSRG-last,
CSRG-94-01-23,
CSRG-93-11-06
Diff to: previous 1.4: preferred, colored
Changes since revision 1.4: +8 -9
lines
update to new version from berkeley. doesn't compile yet, nor
does it have rcsid's. this is for diffs.
Revision 1.4: download - view: text, markup, annotated - select for diffs
Sat Aug 7 05:48:52 1993 UTC (31 years, 5 months ago) by mycroft
Branches: MAIN
Diff to: previous 1.3: preferred, colored
Changes since revision 1.3: +28 -27
lines
New version from uunet.
Revision 1.3: download - view: text, markup, annotated - select for diffs
Sun Aug 1 18:35:41 1993 UTC (31 years, 5 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:27 1993 UTC (31 years, 6 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: +5 -3
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 (31 years, 10 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 (31 years, 10 months ago) by cgd
Branches: MAIN
Initial revision
CVSweb <webmaster@jp.NetBSD.org>