Fortune - how to control my own

Fortune - how to control my own

Post by Stephen Tashi » Sun, 08 Jun 1997 04:00:00

  My linux setup prints a clever message when I login.  I think this
comes from a program called fortune.  Is there a way I can substitute
my own "fortunes" for the ones selected by this program?

Stephen Tashiro

Never let the problems which arise in your work
distract you from the study of computers.


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. what prog lang to write X apps ?

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

4. Yet another ftape problem!

5. my own fortune database

6. Unix timers

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

8. fvwm95?

9. fortune data file and fortune command

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

11. Doing job-control on you own ?

12. bash job control: re-own?

13. can't control the position of an own X-Windows application