| 1 |
fortune-mod README |
| 2 |
================== |
| 3 |
|
| 4 |
This is fortune-mod-1.99.1. It's a pre-release for |
| 5 |
fortune-mod-2.0. This should give interested parties a chance to have |
| 6 |
a look at the changes that have come in, and the new features. |
| 7 |
|
| •8 |
Fortune-mod now lives in an arch repository at |
| 9 |
http://metis.redellipse.net/fortune/[email protected]/. |
| 10 |
|
| 11 |
If you're interested in getting the latest copy, you'll need to get |
| 12 |
an arch client such as bazaar (http://bazaar.canonical.com) or tla. |
| 13 |
|
| 14 |
To get the latest version of fortune once you have bazaar, you can simply |
| 15 |
do: |
| 16 |
|
| 17 |
baz register-archive http://metis.redellipse.net/fortune/[email protected]/ |
| 18 |
baz get fortune--main |
| 19 |
|
| 20 |
|
| 21 |
Many thanks to Dennis for making the last release of this software, |
| 22 |
and to everyone who has taken the time to contribute quotes. We are |
| 23 |
now up to 22203 fortunes at last count. Keep 'em coming! |
| 24 |
|
| •25 |
-- Pascal Hakim <[email protected]> Fri, 21 Jan 2005 03:16:00 +1100 |
| 26 |
|
| 27 |
--- Dennis' README--- |
| 28 |
fortune-mod README |
| 29 |
================== |
| 30 |
|
| 31 |
This is fortune-mod 9708. It is basically the same as the fortune-mod |
| 32 |
released in October 1995, with some portability improvements, bug fixes |
| 33 |
and documentation cleanup. |
| 34 |
|
| 35 |
The most significant fix was for the reported bug about the `-a' option |
| 36 |
of fortune with database names that appear in both the inoffensive and |
| 37 |
offensive directories. This was solved by allowing the user to append |
| 38 |
'-o' to a fortune name while `-a' is in effect to force selection of the |
| 39 |
offensive version of a database. |
| 40 |
|
| 41 |
Other changes/fixes: Fortune is now consistant in how it determines a |
| 42 |
fortune's length (for -s and -l). The -m can now be used together with |
| 43 |
-s or -l: only fortunes which match _BOTH_ the pattern and the length |
| 44 |
requirement will be printed. |
| 45 |
|
| 46 |
Most of the other features over the usual BSD fortune are summarised in |
| 47 |
Amy's README.Linux, included below, and in the accompanying manual pages |
| 48 |
for fortune(6) and strfile(1). |
| 49 |
|
| 50 |
The changes in fortune.c and fortune.man are copyrighted by me but |
| 51 |
freely distributable: see the source files for details. All other |
| 52 |
changes are in the public domain: you may do what you like with them. |
| 53 |
|
| 54 |
Getting this Software |
| 55 |
--------------------- |
| 56 |
|
| 57 |
You can find out about my latest version of this package from my |
| 58 |
Software Hacks web page: |
| 59 |
|
| 60 |
http://www.progsoc.uts.edu.au/~dbugger/hacks/hacks.html |
| 61 |
|
| 62 |
From it, there are links to download the source code. |
| 63 |
|
| 64 |
I shall also be uploading "stable" releases to the SunSITE Linux mirror |
| 65 |
network, so check out sunsite.unc.edu or your local SunSITE mirror. If |
| 66 |
you still can't find it, the package should be registered under the |
| 67 |
Linux Software Map, at: |
| 68 |
|
| 69 |
http://www.execpc.com/lsm/ |
| 70 |
|
| 71 |
Its LSM entry should tell you where to find it. |
| 72 |
|
| 73 |
Cheers, |
| 74 |
|
| 75 |
|
| 76 |
-- Dennis L. Clark <[email protected]> Thu, 28 Aug 1997 11:42:15 -0400 |
| 77 |
|
| 78 |
----Amy's README.Linux--- |
| 79 |
This version of fortune is a modification of the NetBSD fortune, as |
| 80 |
tweaked by Florian La Roche (see below, and many thanks to Florian for |
| 81 |
starting the update), and then massively hacked on by Amy Lewis. |
| 82 |
|
| 83 |
I (Amy) hacked on this because it was broken; the BSD source itself is |
| 84 |
broken (I looked at it). Specifically, if you are using an old version |
| 85 |
of fortune, then it accesses *only* the two files "fortunes" and |
| 86 |
"fortunes-o", even though 'fortune -[ao]f' will tell you differently. |
| 87 |
That was my original reason to start working with the code. |
| 88 |
|
| 89 |
Bug fixes: fortune now reads the same file list that it reports with -f. |
| 90 |
strfile now really sorts and randomizes, instead of just setting the |
| 91 |
'sorted' and 'randomized' flags. strfile does not lose the pointer to a |
| 92 |
fortune that follows a null fortune. |
| 93 |
|
| 94 |
Enhancements: fortune -f now prints percentages, whether specified on the |
| 95 |
command line or not. fortune -m now prints filenames to stderr; the |
| 96 |
fortunes printed to stdout can be redirected into a file which is valid |
| 97 |
strfile format. fortune -l|s can be modified with -n _number_ to specify |
| 98 |
the number of characters in a short fortune (default 160, as before). |
| 99 |
The means of distinguishing between offensive and inoffensive fortunes is |
| 100 |
changed: offensive fortunes are put in a separate subdirectory. The |
| 101 |
contents of the fortunes databases have been extensively reviewed, and |
| 102 |
broken into smaller, more manageable [hopefully] files. |
| 103 |
strfile is not notably enhanced, though it received the most significant |
| 104 |
bug fixes. unstr now accepts a command line parameter -c _char_ which |
| 105 |
globally changes the delimiter character. unstr now accepts an output |
| 106 |
file as the second file parameter, and can tell if a file has a '.dat' |
| 107 |
extension. |
| 108 |
An example of the use of fortune-style databases for other purposes, |
| 109 |
called randstr, has been added. See util/README.randstr |
| 110 |
The Makefiles have been extensively hacked upon. |
| 111 |
|
| 112 |
Bugs: combining -a with xx% filename, when _filename_ is found in both |
| 113 |
the offensive and the inoffensive directories, causes fortune to exit |
| 114 |
without an error message. I think it's confused as to which file gets |
| 115 |
the xx%. I should fix this. Don't hold your breath, though. |
| 116 |
|
| 117 |
For more information, see the files ChangeLog, Offensive, README.install, |
| 118 |
and cookie-files in the top-level directory, and the comments in the |
| 119 |
various *.c source files. |
| 120 |
|
| 121 |
Amy A. Lewis [email protected] October, 1995 |
| 122 |
|
| 123 |
----Florian's README.LINUX--- |
| 124 |
I have looked at sunsite and tsx and found one very old fortune program |
| 125 |
and one in the debian Linux distribution. But comparing that one with |
| 126 |
the version in NetBSD-current showed me, that NetBSD-current has fixed |
| 127 |
so many speeling-bugs that I just had to repackage everything for the |
| 128 |
Linux community. |
| 129 |
|
| 130 |
In the source package are all changes for Linux in the file LINUX.DIF. |
| 131 |
(Rewriting the Makefiles and some trivial small fixes.) |
| 132 |
|
| 133 |
I expect this "fortune.tar.gz" to show up under /pub/Linux/games. |
| 134 |
|
| 135 |
Not only the kernel needs speeling-corrections, |
| 136 |
|
| 137 |
Florian La Roche [email protected] April 1995 |
| 138 |
|
| 139 |
|
| 140 |
PS. The following is the README from the originating NetBSD fortune: |
| 141 |
=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-= |
| 142 |
|
| 143 |
# $NetBSD: README,v 1.2 1995/03/23 08:28:29 cgd Exp $ |
| 144 |
# @(#)README 8.1 (Berkeley) 5/31/93 |
| 145 |
|
| 146 |
The potentially offensive fortunes are not installed by default on BSD |
| 147 |
systems. If you're absolutely, *positively*, without-a-shadow-of-a-doubt |
| 148 |
sure that your user community wants them installed, whack the Makefile |
| 149 |
in the subdirectory datfiles, and do "make all install". |
| 150 |
|
| 151 |
=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-= |
| 152 |
Some years ago, my neighbor Avery said to me: "There has not been an |
| 153 |
adequate jokebook published since "Joe_Miller", which came out in 1739 and |
| 154 |
which, incidentally, was the most miserable no-good ... jokebook in the |
| 155 |
history of the printed word." |
| 156 |
In a subsequent conversation, Avery said: "A funny story is a funny |
| 157 |
story, no matter who is in it - whether it's about Catholics or Protestants, |
| 158 |
Jews or Gentiles, blacks or whites, browns or yellows. If a story is genuinely |
| 159 |
funny it makes no difference how dirty it is. Shout it from the rooftops. |
| 160 |
Let the chips fall all over the prairie and let the bonehead wowsers yelp. |
| 161 |
... on them." |
| 162 |
It is a nice thing to have a neighbor of Avery's grain. He has |
| 163 |
believed in the aforestated principles all his life. A great many other |
| 164 |
people nowadays are casting aside the pietistic attitude that has led them |
| 165 |
to plug up their ears against the facts of life. We of The Brotherhood |
| 166 |
believe as Avery believes; we have never been intimidated by the pharisaical |
| 167 |
meddlers who have been smelling up the American landscape since the time of |
| 168 |
the bundling board. Neither has any one of our members ever been called a |
| 169 |
racist. Still, we have been in unremitting revolt against the ignorant |
| 170 |
propensity which ordains, in effect, that "The Green Pastures" should never |
| 171 |
have been written; the idiot attitude which compelled Arthur Kober to abandon |
| 172 |
his delightful Bella Gross, and Octavius Roy Cohen to quit writing about the |
| 173 |
splendiferous Florian Slappey; the moronic frame of mind which, if carried |
| 174 |
to its logical end, would have forbidden Ring Lardner from writing in the |
| 175 |
language of the masses. |
| 176 |
-- H. Allen Smith, "Rude Jokes" |
| 177 |
|
| 178 |
... let us keep in mind the basic governing philosophy of The |
| 179 |
Brotherhood, as handsomely summarized in these words: we believe in |
| 180 |
healthy, hearty laughter -- at the expense of the whole human race, if |
| 181 |
needs be. |
| 182 |
Needs be. |
| 183 |
-- H. Allen Smith, "Rude Jokes" |