my own fortune database

my own fortune database

Post by Denise Ondish » Wed, 13 Apr 1994 03:57:10

i'd like to make use of my own fortune file when i use the fortune command.
i have each entry separated by a line of 61 stars in a file called myfile.
but when i use the command:
        fortune myfile
it hangs and i have to abort out.

unfortunately, i can't simply send my fortune to a fortune alias and
have it added to the system database.  

what do i need to do to make my file readable by fortune?

denise ondishko, phd                               (716) 275-9115 voice
network engineering                                      273-1012   fax
university of rochester telecommunications                            


1. fortune - how to make own fortunes ?

(...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)

2. Easy interface for egrep expressions?

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

4. FTAPE: Why no gzip tars?

5. Fortune - how to control my own

6. Memory Problems in C++ Compiler

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

8. Printer driver for the HP Deskjet 970Cxi

9. "fortune" database files

10. Where can I find a fortune databases

11. How to make 'fortune' databases.

12. Minor Amusement: bug in fortune(6) database

13. clean up fortune cookie database - but how?