This repository has been archived on 2024-04-08. You can view files and clone it, but cannot push or open issues or pull requests.
magicka/deps/cdk-5.0-20161210
2017-03-20 21:40:32 +10:00
..
c++ added cdk to deps and building fileapprove 2017-03-20 21:40:32 +10:00
cli added cdk to deps and building fileapprove 2017-03-20 21:40:32 +10:00
demos added cdk to deps and building fileapprove 2017-03-20 21:40:32 +10:00
examples added cdk to deps and building fileapprove 2017-03-20 21:40:32 +10:00
include added cdk to deps and building fileapprove 2017-03-20 21:40:32 +10:00
man added cdk to deps and building fileapprove 2017-03-20 21:40:32 +10:00
package added cdk to deps and building fileapprove 2017-03-20 21:40:32 +10:00
aclocal.m4 added cdk to deps and building fileapprove 2017-03-20 21:40:32 +10:00
alphalist.c added cdk to deps and building fileapprove 2017-03-20 21:40:32 +10:00
binding.c added cdk to deps and building fileapprove 2017-03-20 21:40:32 +10:00
button.c added cdk to deps and building fileapprove 2017-03-20 21:40:32 +10:00
buttonbox.c added cdk to deps and building fileapprove 2017-03-20 21:40:32 +10:00
calendar.c added cdk to deps and building fileapprove 2017-03-20 21:40:32 +10:00
cdk_compat.c added cdk to deps and building fileapprove 2017-03-20 21:40:32 +10:00
cdk_display.c added cdk to deps and building fileapprove 2017-03-20 21:40:32 +10:00
cdk_objs.c added cdk to deps and building fileapprove 2017-03-20 21:40:32 +10:00
cdk_params.c added cdk to deps and building fileapprove 2017-03-20 21:40:32 +10:00
cdk-config.in added cdk to deps and building fileapprove 2017-03-20 21:40:32 +10:00
cdk.c added cdk to deps and building fileapprove 2017-03-20 21:40:32 +10:00
cdkscreen.c added cdk to deps and building fileapprove 2017-03-20 21:40:32 +10:00
CHANGES added cdk to deps and building fileapprove 2017-03-20 21:40:32 +10:00
config.guess added cdk to deps and building fileapprove 2017-03-20 21:40:32 +10:00
config.sub added cdk to deps and building fileapprove 2017-03-20 21:40:32 +10:00
configure added cdk to deps and building fileapprove 2017-03-20 21:40:32 +10:00
configure.in added cdk to deps and building fileapprove 2017-03-20 21:40:32 +10:00
COPYING added cdk to deps and building fileapprove 2017-03-20 21:40:32 +10:00
debug.c added cdk to deps and building fileapprove 2017-03-20 21:40:32 +10:00
dialog.c added cdk to deps and building fileapprove 2017-03-20 21:40:32 +10:00
draw.c added cdk to deps and building fileapprove 2017-03-20 21:40:32 +10:00
entry.c added cdk to deps and building fileapprove 2017-03-20 21:40:32 +10:00
EXPANDING added cdk to deps and building fileapprove 2017-03-20 21:40:32 +10:00
fselect.c added cdk to deps and building fileapprove 2017-03-20 21:40:32 +10:00
gen-scale.c added cdk to deps and building fileapprove 2017-03-20 21:40:32 +10:00
gen-scale.sh added cdk to deps and building fileapprove 2017-03-20 21:40:32 +10:00
gen-slider.c added cdk to deps and building fileapprove 2017-03-20 21:40:32 +10:00
get_index.c added cdk to deps and building fileapprove 2017-03-20 21:40:32 +10:00
get_string.c added cdk to deps and building fileapprove 2017-03-20 21:40:32 +10:00
graph.c added cdk to deps and building fileapprove 2017-03-20 21:40:32 +10:00
headers.sh added cdk to deps and building fileapprove 2017-03-20 21:40:32 +10:00
histogram.c added cdk to deps and building fileapprove 2017-03-20 21:40:32 +10:00
INSTALL added cdk to deps and building fileapprove 2017-03-20 21:40:32 +10:00
install-sh added cdk to deps and building fileapprove 2017-03-20 21:40:32 +10:00
itemlist.c added cdk to deps and building fileapprove 2017-03-20 21:40:32 +10:00
label.c added cdk to deps and building fileapprove 2017-03-20 21:40:32 +10:00
Makefile.in added cdk to deps and building fileapprove 2017-03-20 21:40:32 +10:00
manlinks.sed added cdk to deps and building fileapprove 2017-03-20 21:40:32 +10:00
manlinks.sh added cdk to deps and building fileapprove 2017-03-20 21:40:32 +10:00
marquee.c added cdk to deps and building fileapprove 2017-03-20 21:40:32 +10:00
matrix.c added cdk to deps and building fileapprove 2017-03-20 21:40:32 +10:00
mentry.c added cdk to deps and building fileapprove 2017-03-20 21:40:32 +10:00
menu.c added cdk to deps and building fileapprove 2017-03-20 21:40:32 +10:00
NOTES added cdk to deps and building fileapprove 2017-03-20 21:40:32 +10:00
popup_dialog.c added cdk to deps and building fileapprove 2017-03-20 21:40:32 +10:00
popup_label.c added cdk to deps and building fileapprove 2017-03-20 21:40:32 +10:00
position.c added cdk to deps and building fileapprove 2017-03-20 21:40:32 +10:00
radio.c added cdk to deps and building fileapprove 2017-03-20 21:40:32 +10:00
README added cdk to deps and building fileapprove 2017-03-20 21:40:32 +10:00
scroll.c added cdk to deps and building fileapprove 2017-03-20 21:40:32 +10:00
scroller.c added cdk to deps and building fileapprove 2017-03-20 21:40:32 +10:00
select_file.c added cdk to deps and building fileapprove 2017-03-20 21:40:32 +10:00
selection.c added cdk to deps and building fileapprove 2017-03-20 21:40:32 +10:00
swindow.c added cdk to deps and building fileapprove 2017-03-20 21:40:32 +10:00
template.c added cdk to deps and building fileapprove 2017-03-20 21:40:32 +10:00
TODO added cdk to deps and building fileapprove 2017-03-20 21:40:32 +10:00
traverse.c added cdk to deps and building fileapprove 2017-03-20 21:40:32 +10:00
VERSION added cdk to deps and building fileapprove 2017-03-20 21:40:32 +10:00
version.c added cdk to deps and building fileapprove 2017-03-20 21:40:32 +10:00
view_file.c added cdk to deps and building fileapprove 2017-03-20 21:40:32 +10:00
view_info.c added cdk to deps and building fileapprove 2017-03-20 21:40:32 +10:00
viewer.c added cdk to deps and building fileapprove 2017-03-20 21:40:32 +10:00

-- $Id: README,v 1.10 2016/01/31 19:55:06 tom Exp $
-------------------------------------------------------------------------------

Copyright Thomas Dickey 1999-2015,2016

This is a modified/enhanced version of Cdk.  The original README contents are
given below.

This version of Cdk is found at

	http://invisible-island.net/cdk/
	ftp://invisible-island.net/cdk/

The intent of the modifications is to preserve nominal compatibility with the
original Cdk, while fixing bugs and design limitations.  Some macros such as
ObjOf() have been introduced to move details out of individual widgets into
common functionality (see the cdk_objs.h header).  In addition, fixed array
limits have been removed, using new functions in some instances which do not
have the fixed limits.

Converting a program which uses the original Cdk is done by wrapping the widget
pointers in ObjOf() for struct members which have been moved into the CDKOBJS
struct.  This is not a one-way conversion (for many applications), since a
header cdk_compat.h defines ObjOf() and a few obsolete functions which may be
used by older programs.  By wrapping the widget pointers as needed in ObjOf(),
one may compile the same source against the old/new versions of Cdk to check
that the application is correctly upgraded.

Once converted, there are additional functions and widgets provided by the
new version of Cdk.  Bugs should (as noted on the webpage) be reported to me.

-------------------------------------------------------------------------------
Cdk Readme Guide
Copyright Mike Glover, 1995, 1996, 1997, 1998, 1999
-------------------------------------------------------------------------------

Overview:
---------
Cdk stands for 'Curses Development Kit' and it currently contains 21 ready
to use widgets which facilitate the speedy development of full screen
curses programs. This little project of mine started as a test to see how
compatible my Linux machine was to other UNIX breeds. While doing this I 
discovered Ncurses, and played with it. These widgets are the result of
over a years worth of playing. The current complement of widgets are:

Widget Type           Quick Description
===========================================================================
Alphalist             Allows a user to select from a list of words, with
                      the ability to narrow the search list by typing in a
                      few characters of the desired word.
Buttonbox             This creates a multiple button widget. 
Calendar              Creates a little simple calendar widget.
Dialog                Prompts the user with a message, and the user
                      can pick an answer from the buttons provided.
Entry                 Allows the user to enter various types of information.
File Selector         A file selector built from Cdk base widgets. This
                      example shows how to create more complicated widgets
                      using the Cdk widget library.
Graph                 Draws a graph.
Histogram             Draws a histogram.
Item List             Creates a pop up field which allows the user to select
                      one of several choices in a small field. Very useful
                      for things like days of the week or month names.
Label                 Displays messages in a pop up box, or the label can be
                      considered part of the screen.
Marquee               Displays a message in a scrolling marquee.
Matrix                Creates a complex matrix with lots of options.
Menu                  Creates a pull-down menu interface.
Multiple Line Entry   A multiple line entry field. Very useful
                      for long fields. (like a description
                      field)
Radio List            Creates a radio button list.
Scale                 Creates a numeric scale. Used for allowing a user to
                      pick a numeric value and restrict them to a range of 
                      values.
Scrolling List        Creates a scrolling list/menu list.
Scrolling Window      Creates a scrolling log file viewer. Can add 
                      information into the window while its running. 
                      A good widget for displaying the progress of
                      something. (akin to a console window)
Selection List        Creates a multiple option selection list.
Slider                Akin to the scale widget, this widget provides a
                      visual slide bar to represent the numeric value.
Template              Creates a entry field with character sensitive 
                      positions. Used for pre-formatted fields like
                      dates and phone numbers.
Viewer                This is a file/information viewer. Very useful
                      when you need to display loads of information.
===========================================================================

Each widget has the ability to display color, or other character attributes.
Cdk comes with a attribute/color format command set which allows a programmer
to add colors and characters attributes simply.

The code has been cleaned using both Purify(TM) and Sun's Testcenter(TM),
so it is as clean as a babies butt. :) Any leaks I have seen are in the curses
libraries; there is nothing I can do about that, sorry. There should be no
memory leaks within the code, it shouldn't core dump, and it shouldn't do 
anything unexpected. Unfortunately this probably is not the case. If you do 
see something like this tell me after you read the BUGS file.

Distribution:
-------------
This distribution has a full complement of manual pages, so any specifics to
the widgets will not be addressed in this read me. If you want to get right in
there, nroff the cdk.3 file in the man directory. It is the starting point
for all the manual pages.

There are some other files to look at if you want to get anywhere. They are:

INSTALL - This will show you how to build Cdk and install it on your system.
          If there are any personal modifications that you think may be
          needed, read this file. In fact read it regardless. :)

COPYING - The legal stuff to protect my butt and all of the hard work that I
          have put into this library.

EXPANDING - You feel creative enough to add a widget, here are my requirements
            that you have to follow to make the integration of a new widget
            seamless.

BUGS - What to do when you find a bug. It also lists all of the bugs found,
       who found them, who fixed them, and when they were fixed. If you think
       you have found a bug look at this file. If you do not think you have
       the most up to date version of Cdk, go get it and try to replicate the
       problem. Then look at the BUGS file again. If it is NOT there, then you
       can mail me notifying me of a possible bug. I will try my hardest to get
       back to you, but I have a pretty busy schedule so don't expect an instant
       reply. This file will also explain how I would like any bug fixes sent to
       me.

NOTES - Misc babblings of myself somewhat related to this distribution.

TODO - A list of things I plan to do in the future. (sleep)

CHANGES - A list of changes from one release to another.

If you want to get a hold of me mail me at one of the following:
        glover@credit.erin.utoronto.ca
	mike@vexus.ca

The CDK Web page has several homes. They are:
        http://www.vexus.ca/CDK.html (official)
        http://www.datasoft.on.ca/~cdk (Sponsored by the nice folks at Datasoft)

ttfn,
	Mike

PS: There is also a Perl5 extension of this library for you Perl5 fans.
    Look under any CPAN site under the directory CPAN/authors/id/GLOVER.