Commit Graph

124 Commits

Author SHA1 Message Date
Peter Wemm
63fdd4420d #include <termios.h> 1999-08-30 08:10:42 +00:00
Peter Wemm
9b7a44a60e $Id$ -> $FreeBSD$ 1999-08-27 23:37:10 +00:00
Mike Pritchard
2ce66fb320 Various man page cleanup:
- Sort xrefs
- Be consistent with section names as outlined in mdoc(7).
- Other misc mdoc cleanup.

PR:		doc/13144
Submitted by:	Alexey M. Zelkin <phantom@cris.net>
1999-08-15 09:06:06 +00:00
Warner Losh
bdca080cce Use braces to avoid potentially ambiguous else clause.
main's return type is int not void.

Reviewed by: obrien and chuckr
1999-04-25 22:14:06 +00:00
Bruce Evans
e06fbe492b Don't use backslash-newline to split the too-long line for
".Fn dialog_ftree ...", since my synopsis checker doesn't support it
and no other too-long .Fn lines are split.
1999-03-05 14:43:29 +00:00
Jordan K. Hubbard
90103ada10 Add documentation for new tree functions.
Submitted by:	Anatoly A. Orehovsky <tolik@mpeks.tomsk.su>
1998-10-02 11:23:47 +00:00
Jordan K. Hubbard
8091c27e9f Add missing free().
Submitted by:	Anatoly A. Orehovsky <tolik@mpeks.tomsk.su>
1998-09-30 12:09:12 +00:00
Jordan K. Hubbard
a53cd3d253 Add examples for tree functions.
Submitted by:	"Anatoly A. Orehovsky" <tolik@mpeks.tomsk.su>
1998-09-29 12:22:46 +00:00
Jordan K. Hubbard
0726f7f509 Add support for saved trees.
Submitted by:	"Anatoly A. Orehovsky" <tolik@mpeks.tomsk.su>
1998-09-29 12:22:36 +00:00
Jordan K. Hubbard
31f0cd629b Update tree function and remove gratuitous .h file.
Submitted by:	"Anatoly A. Orehovsky" <tolik@mpeks.tomsk.su>
1998-09-28 16:12:49 +00:00
Jordan K. Hubbard
92587d7333 Unbump the minor number; guess this doesn't happen in the ELF world
anymore and maybe we should nuke the meaning if MINOR altogether. :)
1998-09-28 00:52:53 +00:00
Jordan K. Hubbard
2a09091a34 Add some new functionality which I promised to add over a year a go and
shamefully dropped on the floor.  I need to add it now since it does a
minor number bump, but otherwise the current functionality of libdialog
is unchanged (in all its evil glory) and the change is non-intrusive.
Submitted by:	"Anatoly A. Orehovsky" <tolik@mpeks.tomsk.su>
1998-09-26 12:29:57 +00:00
Warner Losh
486a7ab25b Fix bogus length restriction on readlink. Use sizeof(buf) - 1 rather
than the size of the directory name.  Fix style bug which increased
the number of lines > 80 characters by one.

Pointed out by: bde
1998-09-10 16:14:29 +00:00
Warner Losh
1508e89cc6 Use size of structure rather than hard coded 256 in readlink. This change
either came from OpenBSD, or was inspired by work done there.
1998-09-09 17:12:58 +00:00
John Birrell
6bdef94d87 Change the aux field type to long instead of int so that it is large
enough to hold a man-sized pointer.
1998-08-20 21:39:28 +00:00
Joseph Koshy
9c727d2ca9 Spelling corrections.
PR: 6868
Submitted by: Josh Gilliam <josh@quick.net>
1998-06-06 05:50:53 +00:00
Jordan K. Hubbard
d1b7206119 Fix improperly re-entrant code which caused the menu spammage we've
been seeing since 2.2.1.
Pointed-in-the-right-direction by:	phk
1997-10-12 12:09:46 +00:00
Bruce Evans
18b29797da Fixed synopsis. There was a missing arg, 3 args with the wrong type,
and many apparent dependendcies on <sys/types.h> from use of u_char.
<dialog.h> avoids u_char, so avoid it here too.
1997-04-13 12:36:42 +00:00
Jordan K. Hubbard
ab9b932c99 YAMF22 1997-03-29 19:51:48 +00:00
Andrey A. Chernov
5ee71a0d7b Fix various overflows for items longer then menu width.
Fix cursor place after PgUp/PgDn.

Should go into 2.2
Submitted by: "Anatoly A. Orehovsky" <tolik@mpeks.tomsk.su>
1997-02-28 19:18:47 +00:00
Peter Wemm
fce15c9ab3 Revert $FreeBSD$ to $Id$ 1997-02-22 15:48:31 +00:00
Andrey A. Chernov
113b1c5fe5 When wrong directory choosed and chdir failed, directory name
was not reset to old name causing any file choosen put error
diagnostic about wrong directory, fix it by resetting back
to old name after chdir failed.

Add \r as alias to \n, some telnets have problem with that.

Should go into 2.2
Submitted by: "Anatoly A. Orehovsky" <tolik@mpeks.tomsk.su> & me
1997-02-18 14:26:24 +00:00
Jordan K. Hubbard
a59ff6e254 Go on one of my periodic rampages through this code, trying to make
it DTRT.  In the process, discover the usual 10-15 evil bogons which
have been lurking in it for years.  This closes, for one thing, the
recent report Mike Smith made about nested checklist menus returning
with the scrolling region messed up.
1997-01-17 08:19:19 +00:00
Jordan K. Hubbard
75c6403334 Allow emacs-style next/prev characters as well as arrow keys so that
I can offer this as a consistent feature.
1997-01-15 02:50:48 +00:00
Jordan K. Hubbard
1130b656e5 Make the long-awaited change from $Id$ to $FreeBSD$
This will make a number of things easier in the future, as well as (finally!)
avoiding the Id-smashing problem which has plagued developers for so long.

Boy, I'm glad we're not using sup anymore.  This update would have been
insane otherwise.
1997-01-14 07:20:47 +00:00
Joerg Wunsch
65fb557e51 Pull the fix from rev 1.31.2.1; i've accidentally committed it to
2.2 first.
1996-12-26 18:47:11 +00:00
Jordan K. Hubbard
fac5450c4f Somewhere along the way, multiple targets started working and nobody
noticed.
1996-12-14 16:40:05 +00:00
Jordan K. Hubbard
ae5b2dcf86 Add another hateful global to libdialog (what the heck, there are already
so many).  For now, the only extended attribute implemented is NO ECHO,
useful for things like passwords.  See TESTS/input2.c for an example.
This should go into 2.2.
1996-12-14 16:14:21 +00:00
Jordan K. Hubbard
fb46ad63d7 Line up some of these OK boxes properly again. 1996-12-12 11:05:59 +00:00
Jordan K. Hubbard
3cd2d3f69a "CONTINUE" was just too long. Make it a nice "OK" now. 1996-10-04 13:06:48 +00:00
Bruce Evans
0c8ea4d48c Eliminated includes of the "temporary" backwards compatibility header
<sys/dir.h> in applications.  Maintained existing (inadequate) ifdefs
for dir.h vs dirent.h in libdialog, amd and rarpd, but didn't add any
new ones.
1996-09-24 08:08:11 +00:00
Jordan K. Hubbard
e36f5f6c56 Make button highlighting more visible on B/W displays. 1996-09-06 09:36:45 +00:00
Jordan K. Hubbard
09059a0b45 Collapse some common arrow key handling semantics from sysinstall into
PollObj(), simplifying code which uses it.
1996-09-01 08:16:00 +00:00
Peter Wemm
345be915f7 cmp -s || install -c ==> install -C 1996-08-30 02:12:07 +00:00
Jordan K. Hubbard
71a074386a Reverse my patch which erroneously removed the library dependencies
for a library.  They're needed.
1996-08-13 12:46:10 +00:00
Jordan K. Hubbard
8a80fd427c Throw some unnecessary dreck out of this Makefile. 1996-08-11 17:21:20 +00:00
Jordan K. Hubbard
15232ab26e 1. Remove some ancient bogons from when I initially added dialogMenuItem
support.
2. Have message boxes say "Continue" instead of "Exit"
1996-07-11 18:22:16 +00:00
Jordan K. Hubbard
1cca289947 Fix a couple of whoopers which somehow went undetected until now. 1996-07-11 11:15:28 +00:00
Jordan K. Hubbard
3bd9961585 Add missing dialog_clear() calls. 1996-07-05 07:42:23 +00:00
Jordan K. Hubbard
73410b698a Round out the examples a little better in showing custom buttons in operation
more than once.
1996-07-02 01:03:56 +00:00
Jordan K. Hubbard
d1efb9fdc2 Fix the OK/Cancel accellerator bogon I introduced a few days back. 1996-04-28 02:13:07 +00:00
Jordan K. Hubbard
1e702eb8a5 Fix what I just broke with DITEM_LEAVE_MENU 1996-04-27 07:09:41 +00:00
Jordan K. Hubbard
396df2aa3a Fix a bogon with ok/cancel callback usage. 1996-04-27 01:52:15 +00:00
Jordan K. Hubbard
7af0a5dbaf More custom hackery to deal with issues discovered in sysinstall. 1996-04-25 17:27:18 +00:00
Jordan K. Hubbard
ab112e9f34 Allow some post-fire actions to be combined in ways that weren't
possible before.
1996-04-25 13:34:37 +00:00
Jordan K. Hubbard
02836a445d alloca() was being called with highly bogus arguments due to brain
fade.  Fixed.
1996-04-25 01:50:18 +00:00
Jordan K. Hubbard
5553e30b48 Cosmetic tweaks. 1996-04-23 01:25:04 +00:00
Jordan K. Hubbard
7b75f15fa7 Another bug fix for the DITEM_REDRAW case. 1996-04-20 01:56:06 +00:00
Jordan K. Hubbard
060882c315 Make the DITEM_RECREATE option work properly. 1996-04-20 01:28:20 +00:00
Jordan K. Hubbard
d83f3d7544 Fix a bug which did not properly bias checklist items by their scroll
factor.
1996-04-19 10:39:16 +00:00