1*6ae1554aSColin Percival# @(#)Notes 8.1 (Berkeley) 5/31/93 2*6ae1554aSColin Percival 3*6ae1554aSColin PercivalWarning: 4*6ae1554aSColin Percival The fortunes contained in the fortune database have been collected 5*6ae1554aSColin Percival haphazardly from a cacophony of sources, in number so huge it 6*6ae1554aSColin Percival boggles the mind. It is impossible to do any meaningful quality 7*6ae1554aSColin Percival control on attributions, or lack thereof, or exactness of the quote. 8*6ae1554aSColin Percival Since this database is not used for profit, and since entire works 9*6ae1554aSColin Percival are not published, it falls under fair use, as we understand it. 10*6ae1554aSColin Percival However, if any half-assed idiot decides to make a profit off of 11*6ae1554aSColin Percival this, they will need to double check it all, and nobody not involved 12*6ae1554aSColin Percival of such an effort makes any warranty that anything in the database 13*6ae1554aSColin Percival bears any relation to the real world of literature, law, or other 14*6ae1554aSColin Percival bizzarrity. 15*6ae1554aSColin Percival 16*6ae1554aSColin Percival==> GENERAL INFORMATION 17*6ae1554aSColin Percival By default, fortune retrieves its fortune files from the directory 18*6ae1554aSColin Percival/usr/share/games/fortune. A fortune file has two parts: the source file 19*6ae1554aSColin Percival(which contains the fortunes themselves) and the data file which describes 20*6ae1554aSColin Percivalthe fortunes. The data file always has the same name as the fortune file 21*6ae1554aSColin Percivalwith the string ".dat" concatenated, i.e. "fortunes" is the standard fortune 22*6ae1554aSColin Percivaldatabase, and "fortunes.dat" is the data file which describes it. See 23*6ae1554aSColin Percivalstrfile(8) for more information on creating the data files. 24*6ae1554aSColin Percival Fortunes are split into potentially offensive and not potentially 25*6ae1554aSColin Percivaloffensive parts. The offensive version of a file has the same name as the 26*6ae1554aSColin Percivalnon-offensive version with "-o" concatenated, i.e. "fortunes" is the standard 27*6ae1554aSColin Percivalfortune database, and "fortunes-o" is the standard offensive database. The 28*6ae1554aSColin Percivalfortune program automatically assumes that any file with a name ending in 29*6ae1554aSColin Percival"-o" is potentially offensive, and should therefore only be displayed if 30*6ae1554aSColin Percivalexplicitly requested, either with the -o option or by specifying a file name 31*6ae1554aSColin Percivalon the command line. 32*6ae1554aSColin Percival Potentially offensive fortune files should NEVER be maintained in 33*6ae1554aSColin Percivalclear text on the system. They are rotated (see caesar(6)) 13 positions. 34*6ae1554aSColin PercivalTo create a new, potentially offensive database, use caesar to rotate it, 35*6ae1554aSColin Percivaland then create its data file with the -x option to strfile(8). The fortune 36*6ae1554aSColin Percivalprogram automatically decrypts the text when it prints entries from such 37*6ae1554aSColin Percivaldatabases. 38*6ae1554aSColin Percival Anything which would not make it onto network prime time programming 39*6ae1554aSColin Percival(or which would only be broadcast if some discredited kind of guy said it) 40*6ae1554aSColin PercivalMUST be in the potentially offensive database. Fortunes containing any 41*6ae1554aSColin Percivalexplicit language (see George Carlin's recent updated list) MUST be in the 42*6ae1554aSColin Percivalpotentially offensive database. Political and religious opinions are often 43*6ae1554aSColin Percivalsequestered in the potentially offensive section as well. Anything which 44*6ae1554aSColin Percivalassumes as a world view blatantly racist, misogynist (sexist), or homophobic 45*6ae1554aSColin Percivalideas should not be in either, since they are not really funny unless *you* 46*6ae1554aSColin Percivalare racist, misogynist, or homophobic. 47*6ae1554aSColin Percival The point of this is that people should have a reasonable 48*6ae1554aSColin Percivalexpectation that, should they just run "fortune", they will not be offended. 49*6ae1554aSColin PercivalWe know that some people take offense at anything, but normal people do have 50*6ae1554aSColin Percivalopinions, too, and have a right not to have their sensibilities offended by 51*6ae1554aSColin Percivala program which is supposed to be entertaining. People who run "fortune 52*6ae1554aSColin Percival-o" or "fortune -a" are saying, in effect, that they are willing to have 53*6ae1554aSColin Percivaltheir sensibilities tweaked. However, they should not have their personal 54*6ae1554aSColin Percivalworth seriously (i.e., not in jest) assaulted. Jokes which depend for their 55*6ae1554aSColin Percivalhumor on racist, misogynist, or homophobic stereotypes *do* seriously 56*6ae1554aSColin Percivalassault individual personal worth, and in a general entertainment medium 57*6ae1554aSColin Percivalwe should be able to get by without it. 58*6ae1554aSColin Percival 59*6ae1554aSColin Percival==> FORMATTING 60*6ae1554aSColin Percival This file describes the format for fortunes in the database. This 61*6ae1554aSColin Percivalis done in detail to make it easier to keep track of things. Any rule given 62*6ae1554aSColin Percivalhere may be broken to make a better joke. 63*6ae1554aSColin Percival 64*6ae1554aSColin Percival[All examples are indented by one tab stop -- KCRCA] 65*6ae1554aSColin Percival 66*6ae1554aSColin PercivalNumbers should be given in parentheses, e.g., 67*6ae1554aSColin Percival 68*6ae1554aSColin Percival (1) Everything depends. 69*6ae1554aSColin Percival (2) Nothing is always. 70*6ae1554aSColin Percival (3) Everything is sometimes. 71*6ae1554aSColin Percival 72*6ae1554aSColin PercivalAttributions are two tab stops, followed by two hyphens, followed by a 73*6ae1554aSColin Percivalspace, followed by the attribution, and are *not* preceded by blank 74*6ae1554aSColin Percivallines. Book, journal, movie, and all other titles are in quotes, e.g., 75*6ae1554aSColin Percival 76*6ae1554aSColin Percival $100 invested at 7% interest for 100 years will become $100,000, at 77*6ae1554aSColin Percival which time it will be worth absolutely nothing. 78*6ae1554aSColin Percival -- Lazarus Long, "Time Enough for Love" 79*6ae1554aSColin Percival 80*6ae1554aSColin PercivalAttributions which do not fit on one (72 char) line should be continued 81*6ae1554aSColin Percivalon a line which lines up below the first text of the attribution, e.g., 82*6ae1554aSColin Percival 83*6ae1554aSColin Percival -- A very long attribution which might not fit on one 84*6ae1554aSColin Percival line, "Ken Arnold's Stupid Sayings" 85*6ae1554aSColin Percival 86*6ae1554aSColin PercivalSingle paragraph fortunes are in left justified (non-indented) paragraphs 87*6ae1554aSColin Percivalunless they fall into another category listed below (see example above). 88*6ae1554aSColin PercivalLonger fortunes should also be in left justified paragraphs, but if this 89*6ae1554aSColin Percivalmakes it too long, try indented paragraphs, with indentations of either one 90*6ae1554aSColin Percivaltab stop or 5 chars. Indentations of less than 5 are too hard to read. 91*6ae1554aSColin Percival 92*6ae1554aSColin PercivalLaws have the title left justified and capitalized, followed by a colon, 93*6ae1554aSColin Percivalwith all the text of the law itself indented one tab stop, initially 94*6ae1554aSColin Percivalcapitalized, e.g., 95*6ae1554aSColin Percival 96*6ae1554aSColin Percival A Law of Computer Programming: 97*6ae1554aSColin Percival Make it possible for programmers to write in English and 98*6ae1554aSColin Percival you will find the programmers cannot write in English. 99*6ae1554aSColin Percival 100*6ae1554aSColin PercivalLimericks are indented as follows, all lines capitalized: 101*6ae1554aSColin Percival 102*6ae1554aSColin Percival A computer, to print out a fact, 103*6ae1554aSColin Percival Will divide, multiply, and subtract. 104*6ae1554aSColin Percival But this output can be 105*6ae1554aSColin Percival No more than debris, 106*6ae1554aSColin Percival If the input was short of exact. 107*6ae1554aSColin Percival 108*6ae1554aSColin PercivalAccents precede the letter they are over, e.g., "`^He" for e with a grave 109*6ae1554aSColin Percivalaccent. Underlining is done on a word-by-word basis, with the underlines 110*6ae1554aSColin Percivalpreceding the word, e.g., "__^H^Hhi ____^H^H^H^Hthere". 111*6ae1554aSColin Percival 112*6ae1554aSColin PercivalNo fortune should run beyond 72 characters on a single line without good 113*6ae1554aSColin Percivaljustification (er, no pun intended). And no right margin justification, 114*6ae1554aSColin Percivaleither. Sorry. For BSD people, there is a program called "fmt" which can 115*6ae1554aSColin Percivalmake this kind of formatting easier. 116*6ae1554aSColin Percival 117*6ae1554aSColin PercivalDefinitions are given with the word or phrase left justified, followed by 118*6ae1554aSColin Percivalthe part of speech (if appropriate) and a colon. The definition starts 119*6ae1554aSColin Percivalindented by one tab stop, with subsequent lines left justified, e.g., 120*6ae1554aSColin Percival 121*6ae1554aSColin Percival Afternoon, n.: 122*6ae1554aSColin Percival That part of the day we spend worrying about how we wasted 123*6ae1554aSColin Percival the morning. 124*6ae1554aSColin Percival 125*6ae1554aSColin PercivalQuotes are sometimes put around statements which are funnier or make more 126*6ae1554aSColin Percivalsense if they are understood as being spoken, rather than written, 127*6ae1554aSColin Percivalcommunication, e.g., 128*6ae1554aSColin Percival 129*6ae1554aSColin Percival "All my friends and I are crazy. That's the only thing that 130*6ae1554aSColin Percival keeps us sane." 131*6ae1554aSColin Percival 132*6ae1554aSColin PercivalEllipses are always surrounded by spaces, except when next to punctuation, 133*6ae1554aSColin Percivaland are three dots long. 134*6ae1554aSColin Percival 135*6ae1554aSColin Percival "... all the modern inconveniences ..." 136*6ae1554aSColin Percival -- Mark Twain 137*6ae1554aSColin Percival 138*6ae1554aSColin PercivalHuman initials always have spaces after the periods, e.g, "P. T. Barnum", 139*6ae1554aSColin Percivalnot "P.T. Barnum". However, "P.T.A.", not "P. T. A.". 140*6ae1554aSColin Percival 141*6ae1554aSColin PercivalAll fortunes should be attributed, but if and only if they are original with 142*6ae1554aSColin Percivalsomebody. Many people have said things that are folk sayings (i.e., are 143*6ae1554aSColin Percivalcommon among the folk (i.e., us common slobs)). There is nothing wrong with 144*6ae1554aSColin Percivalthis, of course, but such statements should not be attributed to individuals 145*6ae1554aSColin Percivalwho did not invent them. 146*6ae1554aSColin Percival 147*6ae1554aSColin PercivalHoroscopes should have the sign indented by one tab stop, followed by the 148*6ae1554aSColin Percivaldates of the sign, with the text left justified below it, e.g., 149*6ae1554aSColin Percival 150*6ae1554aSColin Percival AQUARIUS (Jan 20 - Feb 18) 151*6ae1554aSColin Percival You have an inventive mind and are inclined to be progressive. You 152*6ae1554aSColin Percival lie a great deal. On the other hand, you are inclined to be 153*6ae1554aSColin Percival careless and impractical, causing you to make the same mistakes over 154*6ae1554aSColin Percival and over again. People think you are stupid. 155*6ae1554aSColin Percival 156*6ae1554aSColin PercivalSingle quotes should not be used except as quotes within quotes. Not even 157*6ae1554aSColin Percivalsingle quotes masquerading as double quotes are to be used, e.g., don't say 158*6ae1554aSColin Percival``hi there'' or `hi there' or 'hi there', but "hi there". However, you 159*6ae1554aSColin Percival*can* say "I said, `hi there'". 160*6ae1554aSColin Percival 161*6ae1554aSColin PercivalA long poem or song can be ordered as follows in order to make it fit on a 162*6ae1554aSColin Percivalscreen (fortunes should be 19 lines or less if at all possible) (numbers 163*6ae1554aSColin Percivalhere are stanza numbers): 164*6ae1554aSColin Percival 165*6ae1554aSColin Percival 11111111111111111111 166*6ae1554aSColin Percival 11111111111111111111 167*6ae1554aSColin Percival 11111111111111111111 22222222222222222222 168*6ae1554aSColin Percival 11111111111111111111 22222222222222222222 169*6ae1554aSColin Percival 22222222222222222222 170*6ae1554aSColin Percival 33333333333333333333 22222222222222222222 171*6ae1554aSColin Percival 33333333333333333333 172*6ae1554aSColin Percival 33333333333333333333 44444444444444444444 173*6ae1554aSColin Percival 33333333333333333333 44444444444444444444 174*6ae1554aSColin Percival 44444444444444444444 175*6ae1554aSColin Percival 44444444444444444444 176*6ae1554aSColin Percival 177*6ae1554aSColin Percival 178