Article View: comp.bugs.4bsd
Article #12204.3 bsd fortune(6) in not random
From: Naim Abdullah
Date: Fri, 21 Oct 1988 23:10
Date: Fri, 21 Oct 1988 23:10
22 lines
1200 bytes
1200 bytes
Has anybody noticed that the 4.3 bsd fortune(6) program is very
nonrandom ? If both your ".login" and ".logout" files call
fortune, you frequently see the same fortune being printed when
you logout of one system and then rlogin into another. It seems
that fortune is not making "full use" of the process id and other
pseudo random cookies in generating it's random numbers.
Also, the "-o" option frequently repeats a favoured set of fortunes.
If you read the fortunes database you find many, that fortune (almost)
never prints while often repeating a choice few.
If anybody has fixes to make fortune more random, they'll be gratefully
accepted.
Thank you.
Naim Abdullah
Dept. of EECS,
Northwestern University
Internet: naim@eecs.nwu.edu
Uucp: {oddjob, chinet, att}!nucsrl!naim
Technical Details
Message-ID:
<3830005@eecs.nwu.edu>Path:
arc1-ca.pugleaf.net!utzoo!utgpu!water!watmath!clyde!att!osu-cis!tut.cis.ohio-state.edu!bloom-beacon!gatech!ncar!tank!nucsrl!naimShow Full Headers
Complete Article Headers
Path: arc1-ca.pugleaf.net!utzoo!utgpu!water!watmath!clyde!att!osu-cis!tut.cis.ohio-state.edu!bloom-beacon!gatech!ncar!tank!nucsrl!naim From: naim@eecs.nwu.edu (Naim Abdullah) Newsgroups: comp.bugs.4bsd Subject: 4.3 bsd fortune(6) in not random Message-ID: <3830005@eecs.nwu.edu> Date: 21 Oct 88 23:10:21 GMT Organization: Northwestern U, Evanston IL, USA Lines: 22