Commit Graph

459 Commits

Author SHA1 Message Date
wiz c74c0a1a12 Add a newline, remove a comma, and reword STANDARDS section
slightly.
2004-03-28 12:23:21 +00:00
jdc 3a817d94fd Increment libcurses minor to 1 (addition of *echochar()). 2004-03-28 08:59:15 +00:00
jdc a6a9a97d12 Changes to support *echochar().
Should fix PR lib/24927.
2004-03-28 08:58:37 +00:00
jdc 5eb61d5ca7 Implement *echochar().
Should fix PR lib/24927.
2004-03-28 08:58:13 +00:00
wiz 359ed99579 Add comma in enumerations, grammar fix, and replace &
with \*[Am] for html output.
2004-03-26 22:18:15 +00:00
jdc 8dded85639 Change TSTP handler back to using signal().
This fixes a problem where vi would not suspend.
Also, make sure that the signal handlers aren't set or removed multiple times.
Finally, add debug output when the signal handlers are set and removed.
2004-03-25 07:35:40 +00:00
jdc dd5d3aabfc Add (missing) mvgetch() and mvwgetch() manual pages. 2004-03-23 21:56:53 +00:00
jdc 34e5b04618 Clarify the getch() family return values.
Add (missing) mvgetch() and mvwgetch().
2004-03-23 21:53:34 +00:00
jdc 3d248dff59 Change the values of ERR and OK.
This makes our getch() and related functions conform to SUSv2.
Also fixes PR lib/15920.

XXX: This causes an API incompatability, but comes less than 27 hours after
     the libcurses major number was incremented, so should have minimal impact.
2004-03-23 21:35:29 +00:00
jdc 92cd5d7a66 We should check against NULL here.
From Brett Lymn.
2004-03-23 21:17:20 +00:00
wiz cb35afd77e No comma in an enumeration of only two elements. 2004-03-22 19:51:18 +00:00
jdc d1f213e76e "New sentence, new line". 2004-03-22 19:11:28 +00:00
jdc abf59ded7e Increment major number (to 6) because of the change to KEY_MAX, 2004-03-22 18:57:58 +00:00
jdc 140349e83f Because we are changing the libcurses major number, remove can_change_colors()
and change the attribute definitions so that we can support more colour pairs.
2004-03-22 18:57:38 +00:00
jdc efc30049d8 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.
2004-03-22 18:57:10 +00:00
wiz 789ce34c16 Remove duplicate article. 2004-03-16 19:51:08 +00:00
snj 9bfae9c898 Spelling fixes. 2004-03-16 19:27:35 +00:00
snj dcf4b5a2bf Spelling fix. 2004-03-16 19:26:56 +00:00
snj 668bade8ea Spelling fixes. 2004-03-16 19:25:39 +00:00
snj 83b07697ca Spelling fix. 2004-03-16 19:20:20 +00:00
snj 066778123d Drop trailing whitespace. 2004-03-16 19:08:15 +00:00
wiz f812f7e9a5 Fix off-by-one, okayed by jdc. 2004-03-16 10:58:25 +00:00
wiz 0cc0ff5935 Drop trailing space. 2004-03-16 09:46:36 +00:00
jdc a02733d775 s/can_change_colors/can_change_color/ 2004-03-16 07:55:05 +00:00
jdc 424b4f06a5 Clarify colour values that can be passed to init_pair(). 2004-03-16 07:54:32 +00:00
jdc ed325dfb85 Accept any negative number of init_pair(). Noticed by Peter Bex.
Swap red/blue and yellow/cyan if necessary in assume_default_colors().
2004-03-16 07:52:43 +00:00
jdc a61e837cb5 gcc -Wuninitialized 2004-03-16 07:49:01 +00:00
jdc 404624e2be We no longer need <signal.h>. 2004-03-16 07:48:18 +00:00
jdc 72d6b43902 s/colour/color/. From Douwe Keila. 2004-03-16 07:46:24 +00:00
jdc 6db03ed922 Minor style change. 2004-03-16 07:44:31 +00:00
christos 146f07a922 Fix the non working unctrl mess:
1. delete the incorrect duplicate macro from unctrl.h
2. move unctrl macros from curses.h to unctrl.h and make curses.h include
   unctrl.h in curses.h instead of duplicating their definition.
3. constify unctrl arrays; make length unsigned.
2004-02-14 18:23:45 +00:00
wiz 071711957c Use standard comment format. Fix typo. From Douwe Kiela. 2004-01-20 08:31:46 +00:00
wiz 81a9cc23f5 Add function descriptions. From Douwe Kiela. 2004-01-20 08:30:55 +00:00
wiz 4d74fb0ff9 Improve function descriptions. From Douwe Kiela. 2004-01-20 08:30:41 +00:00
wiz 60c0778ca6 Grammer fix. From Douwe Kiela. 2004-01-20 08:29:29 +00:00
wiz c365bab896 Mini KNF. From Douwe Kiela. 2004-01-20 08:29:09 +00:00
wiz 27297af537 Fix recurring typo in comments. From Douwe Kiela. 2004-01-20 08:28:26 +00:00
wiz 3a7de20e0d Add mv{,w}inch{,n}str. From Douwe Kiela. 2004-01-20 08:27:47 +00:00
wiz a99c798fbb Add mv{,w}inch{,n}str and mvwscanw. 2004-01-20 08:26:44 +00:00
christos b7dd6b46f8 Avoid array type is char warning. 2003-12-23 23:12:44 +00:00
jdc 737fe44f7a Increment libcurses minor to 11 for nodelay() void -> int change. 2003-12-04 21:26:09 +00:00
jdc 2dd40f4b6c Make nodelay() return an int.
Now conforms to the Single Unix Specification.
Fixes PR lib/23531 by usa at garbagecollect dot jp.
2003-12-04 21:24:36 +00:00
wiz 6f9372dc27 Typo; from Jared Yanovich via jmc@openbsd. 2003-11-02 11:16:03 +00:00
fvdl 3144ca7d6b Don't compare a char to NULL. 2003-10-21 00:30:05 +00:00
fvdl f8ba2b4d70 Don't compare an int against NULL. 2003-10-21 00:25:21 +00:00
fvdl 79cc88df48 Don't use NULL to compare against an int. 2003-10-21 00:16:55 +00:00
wiz 449cf546df Link curses_cursor(3) to getmaxyx(3); from Steve Rumble in PR 23183. 2003-10-18 09:08:46 +00:00
wiz 6f0dbbbf08 mvgetstr and mvwgetstr do not have a limit argument; from Steve Rumble in PR 23183. 2003-10-18 09:06:49 +00:00
jdc 324f201e56 Increment libcurses minor to 10 for addition of redrawwin() and wredrawln(). 2003-10-05 10:14:36 +00:00
jdc d4f82864b6 Add redrawwin() and wredrawln().
Fixes PR lib/20038.
2003-10-05 10:13:02 +00:00