]> ncurses.scripts.mit.edu Git - ncurses.git/blobdiff - man/form_page.3x
ncurses 6.4 - patch 20240330
[ncurses.git] / man / form_page.3x
index 674368f691084c2d4da453e5f755b2f3040216df..fa538c620143a7a27146fc66b5b5dd00119a6a0f 100644 (file)
@@ -1,6 +1,5 @@
-'\" t
 .\"***************************************************************************
-.\" Copyright 2018-2022,2023 Thomas E. Dickey                                *
+.\" Copyright 2018-2023,2024 Thomas E. Dickey                                *
 .\" Copyright 1998-2010,2016 Free Software Foundation, Inc.                  *
 .\"                                                                          *
 .\" Permission is hereby granted, free of charge, to any person obtaining a  *
 .\" authorization.                                                           *
 .\"***************************************************************************
 .\"
-.\" $Id: form_page.3x,v 1.31 2023/09/30 21:38:11 tom Exp $
-.TH form_page 3X 2023-09-30 "ncurses 6.4" "Library calls"
+.\" $Id: form_page.3x,v 1.37 2024/03/16 15:35:01 tom Exp $
+.TH form_page 3X 2024-03-16 "ncurses @NCURSES_MAJOR@.@NCURSES_MINOR@" "Library calls"
 .SH NAME
 \fBform_page\fP \-
 set and get form page number
 .SH SYNOPSIS
-\fB#include <form.h>\fP
-.sp
-\fBint set_current_field(FORM *\fIform\fB, FIELD *\fIfield\fB);\fR
-.br
-\fBFIELD *current_field(const FORM *\fIform\fB);\fR
-.sp
-\fBint unfocus_current_field(FORM *\fIform\fB);\fR
-.sp
-\fBint set_form_page(FORM *\fIform\fB, int \fIn\fB);\fR
-.br
-\fBint form_page(const FORM *\fIform\fB);\fR
-.sp
-\fBint field_index(const FIELD *\fIfield\fB);\fR
+.nf
+\fB#include <form.h>
+.PP
+\fBint set_current_field(FORM *\fIform\fP, FIELD *\fIfield\fP);
+\fBFIELD *current_field(const FORM *\fIform\fP);
+.PP
+\fBint unfocus_current_field(FORM *\fIform\fP);
+.PP
+\fBint set_form_page(FORM *\fIform\fP, int \fIn\fP);
+\fBint form_page(const FORM *\fIform\fP);
+.PP
+\fBint field_index(const FIELD *\fIfield\fP);
+.fi
 .SH DESCRIPTION
 The function \fBset_current_field\fP sets the current field of the given
 form; \fBcurrent_field\fP returns the current field of the given form.
@@ -84,15 +83,13 @@ The form driver could not process the request.
 .TP 5
 .B E_SYSTEM_ERROR
 System error occurred (see \fBerrno\fP(3)).
-.SH NOTES
-The header file \fB<form.h>\fP automatically includes the header file
-\fB<curses.h>\fP.
 .SH PORTABILITY
 These routines emulate the System V forms library.
 They were not supported on
 Version 7 or BSD versions.
 .PP
-The \fBunfocus_current_field\fP function is an ncurses extension.
+The \fBunfocus_current_field\fP function is an \fI\%ncurses\fP
+extension.
 .SH AUTHORS
 Juergen Pfeifer.
 Manual pages and adaptation for new curses by Eric S. Raymond.