-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
0 parents
commit 89d3e00
Showing
31 changed files
with
194,795 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,58 @@ | ||
Caldera | ||
240 West Center Street | ||
Orem, Utah 84057 | ||
801-765-4999 Fax 801-765-4481 | ||
|
||
January 23, 2002 | ||
|
||
Dear UNIX (R) enthusiasts, | ||
|
||
Caldera International, Inc. hereby grants a fee free license that includes the rights use, modify and distribute this named | ||
source code, including creating derived binary products created from the source code. The source code for which Caldera | ||
International, Inc. grants rights are limited to the following UNIX Operating Systems that operate on the 16-Bit PDP-11 | ||
CPU and early versions of the 32-Bit UNIX Operating System, with specific exclusion of UNIX System III and UNIX | ||
System V and successor operating systems: | ||
|
||
32-bit 32V UNIX | ||
16 bit UNIX Versions 1, 2, 3, 4, 5, 6, 7 | ||
|
||
Caldera International, Inc. makes no guarantees or commitments that any source code is available from Caldera | ||
International, Inc. | ||
|
||
The following copyright notice applies to the source code files for which this license is granted. | ||
|
||
Copyright(C) Caldera International Inc. 2001-2002. All rights reserved. | ||
|
||
Redistribution and use in source and binary forms, with or without modification, are permitted provided that the | ||
following conditions are met: | ||
|
||
Redistributions of source code and documentation must retain the above copyright notice, this list of conditions and the | ||
following disclaimer. Redistributions in binary form must reproduce the above copyright notice, this list of conditions | ||
and the following disclaimer in the documentation and/or other materials provided with the distribution. | ||
|
||
All advertising materials mentioning features or use of this software must display the following acknowledgement: | ||
|
||
This product includes software developed or owned by Caldera International, Inc. | ||
|
||
Neither the name of Caldera International, Inc. nor the names of other contributors may be used to endorse or promote | ||
products derived from this software without specific prior written permission. | ||
|
||
USE OF THE SOFTWARE PROVIDED FOR UNDER THIS LICENSE BY CALDERA INTERNATIONAL, INC. | ||
AND CONTRIBUTORS ``AS IS'' AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT | ||
LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR | ||
PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL CALDERA INTERNATIONAL, INC. BE LIABLE FOR | ||
ANY DIRECT, INDIRECT INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES | ||
(INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF | ||
USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF | ||
LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR | ||
OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE | ||
POSSIBILITY OF SUCH DAMAGE. | ||
|
||
Very truly yours, | ||
|
||
/signed/ Bill Broderick | ||
|
||
Bill Broderick | ||
Director, Licensing Services | ||
|
||
* UNIX is a registered trademark of The Open Group in the US and other countries. |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,57 @@ | ||
# Default action is to show this help message: | ||
.help: | ||
@echo "Possible targets:" | ||
@echo " dat Generate strfile dat files" | ||
@echo " package Build package" | ||
@echo " upload-test Upload the package to TestPyPi" | ||
@echo " upload Upload the package to PyPi" | ||
@echo " distclean Remove all generated files" | ||
|
||
dat: normal commented rotated | ||
|
||
normal: | ||
strfile data/V7-fortunes | ||
strfile data/32V-fortunes | ||
strfile data/3BSD-fortunes | ||
strfile data/4BSD-fortunes | ||
strfile data/4.1cBSD-fortunes | ||
strfile data/4.2BSD-fortunes | ||
strfile data/V8-fortunes | ||
strfile data/4.3BSD-fortunes | ||
strfile data/Net2-fortunes | ||
strfile data/Net2-startrek | ||
strfile data/Net2-zippy | ||
strfile data/2.11BSD-fortunes | ||
strfile data/4.4BSD-fortunes | ||
strfile data/4.4BSD-fortunes2 | ||
strfile data/4.4BSD-limerick | ||
strfile data/4.4BSD-startrek | ||
strfile data/4.4BSD-zippy | ||
|
||
commented: | ||
strfile -C data/2.9BSD-fortunes | ||
|
||
rotated: | ||
strfile -x data/4.1cBSD-fortunes-o | ||
strfile -x data/4.2BSD-fortunes-o | ||
strfile -x data/2.9BSD-fortunes-o | ||
strfile -x data/4.3BSD-fortunes-o | ||
strfile -x data/Net2-fortunes-o | ||
strfile -x data/2.11BSD-fortunes-o | ||
strfile -x data/4.4BSD-fortunes-o | ||
strfile -x data/4.4BSD-fortunes2-o | ||
|
||
love: | ||
@echo "Not war!" | ||
|
||
package: dat | ||
python -m build | ||
|
||
upload-test: | ||
python -m twine upload --repository testpypi dist/* | ||
|
||
upload: | ||
python -m twine upload dist/* | ||
|
||
distclean: | ||
rm -rf build dist data/*.dat *.egg-info |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,64 @@ | ||
# Installation | ||
pip install [fortunes-historical](https://pypi.org/project/fortunes-historical/) | ||
|
||
# Historical fortune data files | ||
|
||
## DESCRIPTION | ||
This package contains the data files for the [fortune](https://en.wikipedia.org/wiki/Fortune_(Unix)) utilities published in [historical versions of Research & BSD Unix](https://minnie.tuhs.org/cgi-bin/utree.pl), between January 1979 and June 1993. | ||
|
||
The file formats of the earliest ones have been modified in order to make them usable with modern fortune implementations. | ||
|
||
As was the usage later on, the original "scene" data files have been renamed "fortunes", and the "obscene" ones have been renamed "fortunes-o". | ||
The offensive files are also [rot13](https://en.wikipedia.org/wiki/ROT13) processed in order to protect overly sensible eyes | ||
(modern fortune implementations are able to use them directly). | ||
|
||
Please note that the research versions of Unix and BSD versions up to 4BSD made no distinctions between ordinary and offensive fortunes. | ||
Avoid using or peering into these files if you fear to be shocked. I'll take no responsability for psychological damages. You've been warned! | ||
|
||
Last but not least, though I didn't want to remove any historical content, I decided to move quotes from certain 20th century dictators into the offensive files... | ||
|
||
## FILES | ||
Date|Filename | ||
---|--- | ||
1979-01|V7-fortunes | ||
1979-05|32V-fortunes | ||
1980-03|3BSD-fortunes | ||
1980-10|4BSD-fortunes | ||
1982-12|4.1cBSD-fortunes (scene), 4.1cBSD-fortunes-o (obscene) | ||
1983-09|4.2BSD-fortunes (scene), 4.2BSD-fortunes-o (obscene) | ||
1983-11|2.9BSD-fortunes (scene), 2.9BSD-fortunes-o (obscene) | ||
1985-02|V8-fortunes | ||
1986-06|4.3BSD-fortunes (scene), 4.3BSD-fortunes-o (obscene) | ||
1991-06|Net2-fortunes, Net2-fortunes-o, Net2-startrek, Net2-zippy | ||
1992-02|2.11BSD-fortunes (scene), 2.11BSD-fortunes-o (obscene) | ||
1993-06|4.4BSD-fortunes, 4.4BSD-fortunes-o, 4.4BSD-fortunes2, 4.4BSD-fortunes2-o, 4.4BSD-limerick, 4.4BSD-startrek, 4.4BSD-zippy | ||
|
||
## SEE ALSO | ||
[fortune(6)](https://www.freebsd.org/cgi/man.cgi?query=fortune&manpath=FreeBSD+14.0-current), | ||
[strfile(8)](https://www.freebsd.org/cgi/man.cgi?query=strfile) | ||
|
||
## HISTORY | ||
These data files are intended to be used with the [PNU project](https://github.com/HubTou/PNU)'s re-implementation of the [fortune](https://github.com/HubTou/fortune) command. | ||
|
||
The Unix fortune command appeared with Unix 7th edition (released in January 1979), though it seems that [Ken Arnold](https://en.wikipedia.org/wiki/Ken_Arnold), who contributed the much more complete BSD version, wrote his around September 1978. | ||
|
||
The initial data file were only one liners, without delimiter. | ||
|
||
4BSD and some of the following versions seemed to use a [dBASE](https://fr.wikipedia.org/wiki/DBase) III DBT format for the data file combining both the ordinary and offensive fortunes, as well as the strings and offsets. | ||
|
||
From 4.1cBSD to 4.3BSD, the data files were almost identical to the modern ones, except that the delimiter was a double percent character instead of a single one. | ||
The data files also not always ended with a delimiter. | ||
|
||
From BSD Net/2, fortune adopted the modern implementation of data files, with a text file containing multi-lines strings separated with single percent character delimiter, | ||
and a binary ".dat" file containing 64bits pointers to the strings, after a small [header](https://www.freebsd.org/cgi/man.cgi?query=strfile). | ||
|
||
## LICENSE | ||
The original materials were made available under [Caldera International](https://en.wikipedia.org/wiki/Caldera_International) [UNIX enthousiasts license](https://github.com/HubTou/fortunes-historical/blob/main/License). | ||
|
||
## AUTHORS | ||
[Hubert Tournier](https://github.com/HubTou) for the package. | ||
|
||
A lot of people for the fortune files contents! | ||
|
||
And Caldera International for making the source materials available. | ||
|
Oops, something went wrong.