head	1.9;
access;
symbols
	RELENG_2_1_6_1_RELEASE:1.7.4.3
	RELENG_2_1_6_RELEASE:1.7.4.3
	RELENG_2_1_5_RELEASE:1.7.4.3
	RELENG_2_1_0_RELEASE:1.7
	RELENG_2_1_0:1.7.0.4
	RELENG_2_1_0_BP:1.7
	RELENG_2_0_5_RELEASE:1.7
	RELENG_2_0_5:1.7.0.2
	RELENG_2_0_5_BP:1.7
	RELENG_2_0_5_ALPHA:1.7
	RELEASE_2_0:1.1
	BETA_2_0:1.1;
locks; strict;
comment	@# @;


1.9
date	96.06.19.21.19.33;	author jkh;	state dead;
branches;
next	1.8;

1.8
date	95.09.16.16.25.25;	author paul;	state Exp;
branches;
next	1.7;

1.7
date	95.05.12.17.20.04;	author paul;	state Exp;
branches
	1.7.4.1;
next	1.6;

1.6
date	95.03.01.08.19.04;	author paul;	state Exp;
branches;
next	1.5;

1.5
date	95.02.01.04.06.35;	author paul;	state Exp;
branches;
next	1.4;

1.4
date	95.01.24.13.29.28;	author paul;	state Exp;
branches;
next	1.3;

1.3
date	95.01.10.12.36.43;	author jkh;	state Exp;
branches;
next	1.2;

1.2
date	95.01.10.04.00.36;	author paul;	state Exp;
branches;
next	1.1;

1.1
date	94.11.13.06.45.42;	author paul;	state Exp;
branches;
next	;

1.7.4.1
date	96.06.03.05.11.45;	author jkh;	state Exp;
branches;
next	1.7.4.2;

1.7.4.2
date	96.06.05.02.52.36;	author jkh;	state Exp;
branches;
next	1.7.4.3;

1.7.4.3
date	96.06.20.14.15.16;	author jkh;	state dead;
branches;
next	;


desc
@@


1.9
log
@Remove libforms, it was never used.
@
text
@PROG = example
NOMAN = yet

SRCS = example.c

CFLAGS = -static #-g

.if exists(${.CURDIR}/../obj)
FORMDIR=${.CURDIR}/../obj
.else
FORMDIR=${.CURDIR}/..
.endif

LDADD = -L${FORMDIR} -lforms -lncurses -lmytinfo -ll
DPADD = ${LIBFORMS} ${LIBNCURSES}

.include <bsd.prog.mk>
@


1.8
log
@Removed libdialog.
@
text
@@


1.7
log
@New libforms.
Bumped major number.

Ncurses backend still needs improving.
Other back-ends need to be written.
@
text
@d14 1
a14 1
LDADD = -L${FORMDIR} -lforms -ldialog -lncurses -lmytinfo -ll
@


1.7.4.1
log
@Phase 2 of merge - also fix things broken in phase 1.
Watch out for falling rock until phase 3 is over!

libc completely merged except for phkmalloc & rfork (don't know if David
wants that).

Some include files in sys/ had to be updated in order to bring in libc.
@
text
@d14 1
a14 1
LDADD = -L${FORMDIR} -lforms -lncurses -lmytinfo -ll
@


1.7.4.2
log
@This 3rd mega-commit should hopefully bring us back to where we were.
I can get it to `make world' succesfully, anyway!
@
text
@d14 1
a14 1
LDADD = -L${FORMDIR} -lforms -ldialog -lncurses -lmytinfo -ll
@


1.7.4.3
log
@Merge from HEAD
@
text
@@


1.6
log
@Completely rewrite libforms so everything is done at runtime rather
than at compile time.

Should have same functionality as old libforms but with new mechanism.

Lots of new features that use the new mechanism are still to be added.
@
text
@d6 1
a6 1
CFLAGS = -g -static
d14 2
a15 2
LDADD = -L${FORMDIR} -lforms -lncurses -lmytinfo -ll
DPADD = /usr/lib/libforms.a
@


1.5
log
@Implemented height field for text fields so they can now be more than
one line long.

Fixed a bug in the input field with cursor positioning at the end of
the field.

Make the print_status function available to apps so they can print
status messages.

Updated the example for the new fib parser.
@
text
@d4 1
a4 1
SRCS = example.c frm.tab.h
d14 2
a15 6
LDADD = -L${FORMDIR} -lforms -lncurses -lmytinfo

CLEANFILES += frm.tab.h

frm.tab.h:
	fib example.frm
@


1.4
log
@Changed the example to use the forms spec file.
@
text
@d6 1
a6 1
CFLAGS = 
@


1.3
log
@As long as I can't figure out why this doesn't work, I might as well
add some error checking to it and clean this up a bit.
@
text
@d1 1
a1 1
PROG = test
d4 1
a4 1
SRCS = test.c
d15 5
@


1.2
log
@New forms library. This provides some basic functions for writing
input forms. It has the following simple fields:

Text fields: Just titles, labels etc.

Input fields: An editable text field that may or may not have an
initial default value.

Labelled input field: This is an input field that has an initial
informative entry in it but it vanishes when you start editing the
field.

Toggle fields: These are fields with a pre-defined list of options
which you cycle through using the space bar.

Action fields: These are button type fields that call functions when
they are selected.

A simple demo is included in examples.
@
text
@d7 8
a14 1
LDADD = -lforms -lncurses -lmytinfo
@


1.1
log
@The start of a forms editor library. Currently implements text and
input fields. It reads a template file passed to init_forms(char *)
and creates a curses based form editor. See the examples directory
for a basic demo.
@
text
@d1 2
a2 1
PROG = tform
d4 4
a7 3
CFLAGS = -Wall -I. -I${.CURDIR}
LDADD =  -lforms -lncurses -ll
DPADD = ${LIBFORMS} ${LIBNCURSES} ${LIBL}
@
