X-Git-Url: http://ncurses.scripts.mit.edu/?a=blobdiff_plain;f=man%2Fform.3x;h=2f8f884861fae16e5689a2107b94dddc93fea567;hb=HEAD;hp=15feb311bca37feb17567999192f243bed176189;hpb=d79ff7b4d5f5ac63e7d9d7e76706d95a1ddb243c;p=ncurses.git diff --git a/man/form.3x b/man/form.3x index 15feb311..b17e41f7 100644 --- a/man/form.3x +++ b/man/form.3x @@ -1,6 +1,6 @@ '\" t .\"*************************************************************************** -.\" Copyright 2018-2021,2023 Thomas E. Dickey * +.\" Copyright 2018-2023,2024 Thomas E. Dickey * .\" Copyright 1998-2016,2017 Free Software Foundation, Inc. * .\" * .\" Permission is hereby granted, free of charge, to any person obtaining a * @@ -28,20 +28,30 @@ .\" authorization. * .\"*************************************************************************** .\" -.\" $Id: form.3x,v 1.42 2023/07/01 15:46:10 tom Exp $ -.TH form 3X 2023-07-01 "ncurses 6.4" "Library calls" -.ie \n(.g .ds `` \(lq -.el .ds `` `` -.ie \n(.g .ds '' \(rq -.el .ds '' '' +.\" $Id: form.3x,v 1.56 2024/05/25 20:52:38 tom Exp $ +.TH form 3X 2024-05-25 "ncurses @NCURSES_MAJOR@.@NCURSES_MINOR@" "Library calls" +.ie \n(.g \{\ +.ds `` \(lq +.ds '' \(rq +.\} +.el \{\ +.ie t .ds `` `` +.el .ds `` "" +.ie t .ds '' '' +.el .ds '' "" +.\} +. .de bP .ie n .IP \(bu 4 .el .IP \(bu 2 .. .SH NAME -\fBform\fP \- curses extension for programming forms +\fBform\fP \- +present user-fillable forms in \fIcurses\fP windows .SH SYNOPSIS -\fB#include \fP +.nf +\fB#include +.fi .SH DESCRIPTION The \fBform\fP library provides terminal-independent facilities for composing form screens on character-cell terminals. @@ -63,7 +73,7 @@ so that input/output processing will work. A curses initialization routine such as \fBinitscr\fP must be called before using any of these functions. . -.SS Current Default Values for Field Attributes +.SS "Current Default Values for Field Attributes" . The \fBform\fP library maintains a default value for field attributes. You @@ -74,13 +84,13 @@ Changing this default with a \fBset_\fP function affects future field creations, but does not change the rendering of fields already created. . -.SS Routine Name Index +.SS "Routine Name Index" . The following table lists each \fBform\fP routine and the name of the manual page on which it is described. Routines flagged with \*(``*\*('' -are ncurses-specific, not present in SVr4. -. +are \fI\%ncurses\fP-specific, not present in SVr4. +.PP .TS l l l l . @@ -205,39 +215,32 @@ System error occurred (see \fBerrno\fP(3)). .B E_UNKNOWN_COMMAND The form driver code saw an unknown request code. .SH NOTES -The header file \fB\fP automatically includes the header files -\fB\fP and \fB\fP. -.PP -In your library list, libform.a should be before libncurses.a; that is, -you want to say \*(``\-lform \-lncurses\*('', not the other way around -(which would give you a link error when using static libraries). +The header file \fI\%form.h\fP itself includes \fI\%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 menu facility was documented in SVr4.2 in -\fICharacter User Interface Programming (UNIX SVR4.2)\fP. +A form facility was documented in SVr4.2's +\fICharacter User Interface Programming\fP document. .PP It is not part of X/Open Curses. .PP -Aside from ncurses, there are few implementations: +Aside from \fI\%ncurses\fP, there are few implementations: .bP systems based on SVr4 source code, e.g., Solaris. .bP NetBSD curses. .PP -A few functions in this implementation are extensions added for ncurses, +A few functions in this implementation are extensions added for +\fI\%ncurses\fP, but not provided by other implementations, e.g., \fBform_driver_w\fP, \fBunfocus_current_field\fP. .SH AUTHORS Juergen Pfeifer. -Manual pages and adaptation for ncurses by Eric +Manual pages and adaptation for \fI\%ncurses\fP by Eric S. Raymond. .SH SEE ALSO -\fBcurses\fP(3X) and related pages whose names begin \*(``form_\*('' for detailed -descriptions of the entry points. -.PP -This describes \fBncurses\fP -version @NCURSES_MAJOR@.@NCURSES_MINOR@ (patch @NCURSES_PATCH@). +\fBcurses\fP(3X) and related pages whose names begin \*(``form_\*('' for +detailed descriptions of the entry points.