Subject: lib/23183: manual errors/omissions for libcurses
To: None <gnats-bugs@gnats.NetBSD.org>
From: None <rumble@ephemeral.org>
List: netbsd-bugs
Date: 10/18/2003 01:04:51
>Number:         23183
>Category:       lib
>Synopsis:       manual errors/omissions for libcurses
>Confidential:   no
>Severity:       non-critical
>Priority:       medium
>Responsible:    lib-bug-people
>State:          open
>Class:          doc-bug
>Submitter-Id:   net
>Arrival-Date:   Sat Oct 18 01:05:00 UTC 2003
>Closed-Date:
>Last-Modified:
>Originator:     Steve Rumble
>Release:        1.6ZC
>Organization:
>Environment:
NetBSD t23.ephemeral.org 1.6ZC NetBSD 1.6ZC (T23) #0: Wed Oct  8 19:49:20 EDT 2003  rumble@t23.ephemeral.org:/usr/src/sys/arch/i386/compile/T23 i386 i386
>Description:
The manual page function definitions for mvwgetstr() and mvgetstr() shouldn't include an 'int limit' like the mvwgetnstr() and mvgetnstr() counterparts.

Additionally, the manual page for getmaxyx() isn't created by the libcurses Makefile.
>How-To-Repeat:
Refer to the manual pages.
>Fix:
Index: Makefile
===================================================================
RCS file: /cvsroot/src/lib/libcurses/Makefile,v
retrieving revision 1.47
diff -u -r1.47 Makefile
--- Makefile    2003/06/20 06:58:54     1.47
+++ Makefile    2003/10/18 01:02:19
@@ -76,6 +76,7 @@
         curses_cursor.3 getmaxx.3 curses_input.3 getnstr.3 \
         curses_cursor.3 getpary.3 curses_cursor.3 getparx.3 \
         curses_cursor.3 getparyx.3 curses_input.3 getstr.3 \
+        curses_cursor.3 getmaxyx.3 \
         curses_tty.3 gettmode.3 curses_cursor.3 getyx.3 \
         curses_color.3 has_colors.3 curses_tty.3 has_ic.3 \
         curses_tty.3 halfdelay.3 curses_tty.3 has_il.3 \
Index: curses_input.3
===================================================================
RCS file: /cvsroot/src/lib/libcurses/curses_input.3,v
retrieving revision 1.12
diff -u -r1.12 curses_input.3
--- curses_input.3      2003/06/20 06:56:30     1.12
+++ curses_input.3      2003/10/18 01:02:19
@@ -79,9 +79,9 @@
 .Ft int
 .Fn wgetstr "WINDOW *win" "char *str"
 .Ft int
-.Fn mvgetstr "int y" "int x" "char *str" "int limit"
+.Fn mvgetstr "int y" "int x" "char *str"
 .Ft int
-.Fn mvwgetstr "WINDOW *win" "int y" "int x" "char *str" "int limit"
+.Fn mvwgetstr "WINDOW *win" "int y" "int x" "char *str"
 .Ft int
 .Fn keypad "WINDOW *win" "boolf flag"
 .Ft int
>Release-Note:
>Audit-Trail:
>Unformatted: