fortune - how to make own fortunes ?

fortune - how to make own fortunes ?

Post by Wolfgang Szoe » Thu, 26 Jan 1995 17:42:15

(...i think this should belong here, because i've never seen
on any other un*x system this form of fortune )

I read the manuals of fortune and strfile,
took a look to the already existing fortune-files,
and tried to make my own file.

The success was nearly ZERO:
The .dat file was created by strfile, and seemed to be ok,
but fortune myfile only displays the first entry.

To avoid any errors, i used the original zippy file,
and generated a new zippy.dat.
This .dat has the same size as the original, but diff says they differ.
And fortune behaves the same like on my file: only the first string is
printed. You never get any other string with fortune.

So my question is: What did i wrong ?
Which options MUST be used for strfile to get a valid fortune-file ?

Regards Wolfgang


\----------------------------------------\           _         ______ |
 \ Wolfgang Szoecs  TFH-Berlin, Germany   \        /TFH\____-=0`/|0`/__|

  /                                        /        `/-==_____/__|/__=-|
 /     Make Unix   -   Not DOS            /         *             \ | |
/----------------------------------------/                        (o)


1. fortune data file and fortune command

Does anyone know what (and why?) fortune changes in the
/usr/games/lib/fortune/fortune.dat file?  It changes only the first
"line" (I think it's in the first 128 bytes).  Is it writing a counter
so that I don't see the same fortune twice?

James Nau

College of Engineering
University of Nebraska--Lincoln
W181 Nebraska Hall
Lincoln, NE  68588-0501

2. detecting idle processing/logins

3. fortune-0.1 - simple, small, fast fortune program

4. Good old menubar?

5. Using the 'fortune' command with own data file

6. PROBLEM: compiling hfs module in 2.5.21

7. my own fortune database

8. two modem linkup

9. Fortune - how to control my own

10. How do I create my own fortune.dat file?

11. Making fortune files

12. Making files for fortune program?

13. fail to compile 'fortune'