Notes 8.2 KB

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