form.3x (178867) | form.3x (184989) |
---|---|
1'\" t 2.\"*************************************************************************** 3.\" Copyright (c) 1998-2006,2008 Free Software Foundation, Inc. * 4.\" * 5.\" Permission is hereby granted, free of charge, to any person obtaining a * 6.\" copy of this software and associated documentation files (the * 7.\" "Software"), to deal in the Software without restriction, including * 8.\" without limitation the rights to use, copy, modify, merge, publish, * --- 13 unchanged lines hidden (view full) --- 22.\" THE USE OR OTHER DEALINGS IN THE SOFTWARE. * 23.\" * 24.\" Except as contained in this notice, the name(s) of the above copyright * 25.\" holders shall not be used in advertising or otherwise to promote the * 26.\" sale, use or other dealings in this Software without prior written * 27.\" authorization. * 28.\"*************************************************************************** 29.\" | 1'\" t 2.\"*************************************************************************** 3.\" Copyright (c) 1998-2006,2008 Free Software Foundation, Inc. * 4.\" * 5.\" Permission is hereby granted, free of charge, to any person obtaining a * 6.\" copy of this software and associated documentation files (the * 7.\" "Software"), to deal in the Software without restriction, including * 8.\" without limitation the rights to use, copy, modify, merge, publish, * --- 13 unchanged lines hidden (view full) --- 22.\" THE USE OR OTHER DEALINGS IN THE SOFTWARE. * 23.\" * 24.\" Except as contained in this notice, the name(s) of the above copyright * 25.\" holders shall not be used in advertising or otherwise to promote the * 26.\" sale, use or other dealings in this Software without prior written * 27.\" authorization. * 28.\"*************************************************************************** 29.\" |
30.\" $Id: form.3x,v 1.21 2008/04/26 17:11:52 tom Exp $ | 30.\" $Id: form.3x,v 1.22 2008/10/11 20:48:11 tom Exp $ |
31.TH form 3X "" 32.SH NAME 33\fBform\fR - curses extension for programming forms 34.SH SYNOPSIS 35\fB#include <form.h>\fR 36.br 37.SH DESCRIPTION 38The \fBform\fR library provides terminal-independent facilities for composing 39form screens on character-cell terminals. The library includes: field 40routines, which create and modify form fields; and form routines, which group 41fields into forms, display forms on the screen, and handle interaction with the 42user. 43.PP | 31.TH form 3X "" 32.SH NAME 33\fBform\fR - curses extension for programming forms 34.SH SYNOPSIS 35\fB#include <form.h>\fR 36.br 37.SH DESCRIPTION 38The \fBform\fR library provides terminal-independent facilities for composing 39form screens on character-cell terminals. The library includes: field 40routines, which create and modify form fields; and form routines, which group 41fields into forms, display forms on the screen, and handle interaction with the 42user. 43.PP |
44The \fBform\fR library uses the \fBcurses\fR libraries, and a curses 45initialization routine such as \fBinitscr\fR must be called before using any of 46these functions. To use the \fBform\fR library, link with the options | 44The \fBform\fR library uses the \fBcurses\fR libraries. 45To use the \fBform\fR library, link with the options |
47\fB-lform -lcurses\fR. | 46\fB-lform -lcurses\fR. |
47.PP 48Your program should set up the locale, e.g., 49.sp 50 \fBsetlocale(LC_ALL, "");\fP 51.sp 52so that input/output processing will work. 53.PP 54A curses initialization routine such as \fBinitscr\fR must be called 55before using any of these functions. |
|
48. 49.SS Current Default Values for Field Attributes 50. 51The \fBform\fR library maintains a default value for field attributes. You 52can get or set this default by calling the appropriate \fBset_\fR 53or retrieval 54routine with a \fBNULL\fR field pointer. Changing this default with a 55\fBset_\fR function affects future field creations, but does not change the --- 153 unchanged lines hidden --- | 56. 57.SS Current Default Values for Field Attributes 58. 59The \fBform\fR library maintains a default value for field attributes. You 60can get or set this default by calling the appropriate \fBset_\fR 61or retrieval 62routine with a \fBNULL\fR field pointer. Changing this default with a 63\fBset_\fR function affects future field creations, but does not change the --- 153 unchanged lines hidden --- |