| 1 |
$Id: LICENSES_for_examples,v 1.6 2004-05-13 21:55:17 t-peters Exp $ |
| 2 |
|
| 3 |
Ideally, an example program on how to use a library should be in the public |
| 4 |
domain. |
| 5 |
|
| 6 |
Some of the example programs contained in this dircectory have not been put in |
| 7 |
the public domain, however. |
| 8 |
|
| 9 |
The reason is because I did not write all programs completely myself -- I've |
| 10 |
adapted the following example programs from ncurses programs in other |
| 11 |
programming languages, or I have included example programs contributed by |
| 12 |
other authors, and I have to respect their original licenses: |
| 13 |
- rain.rb is adapted from rain.c from the ncurses library distribution. |
| 14 |
- example.rb is adapted from an example program for the python ncurses binding. |
| 15 |
- tclock.rb is adapted from tclock.c from the ncurses library distribution. |
| 16 |
- form.rb anf form2.rb have been written by Simon Kaczor, who has adapted them |
| 17 |
from sample code from the NCurses Programming HOWTO. |
| 18 |
|
| 19 |
See the comments in the source files for restrictions imposed on copying and |
| 20 |
modifying these. |
| 21 |
|
| 22 |
That said, I suppose you may still look at their source code and learn how |
| 23 |
ncurses programs generally work, as long as you dont start your own programs |
| 24 |
by loading the example program into your editor and modify it to your needs. |
| 25 |
|
| 26 |
Tobias Peters <[email protected]> |