fortune - Fortune cookie generator

Property Value
Distribution NetBSD 8.0
Repository NetBSD i386
Package filename fortune-19970829.tgz
Package name fortune
Package version 19970829
Package release -
Package architecture i386
Package type tgz
Category games
License original-bsd
Maintainer -
Download size 764.64 KB
Installed size 2.30 MB
This version of fortune is a modification of the NetBSD fortune, as
tweaked by Florian La Roche (see below, and many thanks to Florian for
starting the update), and then massively hacked on by Amy Lewis.
I (Amy) hacked on this because it was broken; the BSD source itself is
broken (I looked at it).  Specifically, if you are using an old version
of fortune, then it accesses *only* the two files "fortunes" and
"fortunes-o", even though 'fortune -[ao]f' will tell you differently.
That was my original reason to start working with the code.
Bug fixes: fortune now reads the same file list that it reports with -f.
strfile now really sorts and randomizes, instead of just setting the
'sorted' and 'randomized' flags.  strfile does not lose the pointer to a
fortune that follows a null fortune.
Enhancements: fortune -f now prints percentages, whether specified on the
command line or not.  fortune -m now prints filenames to stderr; the
fortunes printed to stdout can be redirected into a file which is valid
strfile format.  fortune -l|s can be modified with -n _number_ to specify
the number of characters in a short fortune (default 160, as before).
The means of distinguishing between offensive and inoffensive fortunes is
changed: offensive fortunes are put in a separate subdirectory.  The
contents of the fortunes databases have been extensively reviewed, and
broken into smaller, more manageable [hopefully] files.


Package Version Architecture Repository
fortune-19970829.tgz 19970829 amd64 NetBSD
fortune - - -


Name Value
fortune-strfile >= 0


Type URL
Binary Package fortune-19970829.tgz
Source Package fortune

Install Howto

Install fortune tgz package:

# pkg_add fortune

See Also

Package Description
fortune-strfile-0.tgz Tool to prepare a fortune database
fortunes-calvin-0.2.tgz Fortunes from the famous Calvin & Hobbes comic strips
fortunes-de-0.20.tgz German data files for fortune
fortunes-futurama-0.2.tgz Fortunes from the Futurama animated TV series
fortunes-h2g2-0.1.tgz Fortunes from Douglas Adams' "Hitchhiker's Guide to the Galaxy"
fortunes-it-1.99.tgz Italian fortunes
fossil-2.8nb1.tgz High-reliability, distributed software configuration management
fox-1.6.57.tgz Fast and extensive C++ GUI toolkit
fpdns-0.10.0pre20130404nb5.tgz Fingerprinting DNS servers
fping-4.2.tgz Quickly ping many hosts w/o flooding the network
fprint-demo-0.4nb30.tgz Simple GTK+ application to demonstrate libfprint's capabilities
fragroute-1.2nb17.tgz Tool for intercepting, modifying and rewriting egress traffic
frameworks-0.3.7nb30.tgz Stop-motion animation frame capture software
free-1.0.tgz Displays memory usage
free42-1.4.78nb9.tgz HP42S Calculator Simulator