home *** CD-ROM | disk | FTP | other *** search
/ minnie.tuhs.org / unixen.tar / unixen / PDP-11 / Trees / V6 / usr / man / man6 / quiz.6 < prev    next >
Encoding:
Text File  |  1975-06-26  |  1.6 KB  |  80 lines

  1. .th QUIZ VI 9/7/74
  2. .sh NAME
  3. quiz \*- test your knowledge
  4. .sh SYNOPSIS
  5. .bd quiz
  6. [
  7. .bd \*-i
  8. file ]
  9. [
  10. .bd \*-t
  11. ] [ category1 category2 ]
  12. .sh DESCRIPTION
  13. .it Quiz
  14. gives associative
  15. knowledge tests on various subjects.
  16. It asks items chosen from
  17. .it category1
  18. and expects answers from
  19. .it category2.
  20. If no categories are specified,
  21. .it quiz
  22. gives instructions
  23. and lists the available categories.
  24. .s3
  25. .it Quiz
  26. tells a correct answer whenever you type
  27. a bare newline.
  28. At the end of input, upon interrupt,
  29. or when questions run out,
  30. .it quiz
  31. reports a score and terminates.
  32. .s3
  33. The
  34. .bd \*-t
  35. flag specifies `tutorial' mode,
  36. where missed questions are repeated
  37. later, and material is gradually introduced as you learn.
  38. .s3
  39. The
  40. .bd \*-i
  41. flag causes the named file to be substituted for the
  42. default index file.
  43. The lines of these files have the  syntax:
  44. .s3
  45. .lp +4 0
  46. .if t .ds v \(bv
  47. .if n .ds v |
  48. .tr ||
  49. .tc
  50. .if t .ta .75i
  51. .if n .ta 11
  52. .nf
  53. line    = category newline \*v category `:' line
  54. category    = alternate \*v category `|' alternate
  55. alternate    = empty \*v alternate primary
  56. primary    = character \*v `[' category `]' \*v option
  57. option    = `{' category `}'
  58. .s3
  59. .i0
  60. .fi
  61. The first category on each
  62. line of an index file names an information file.
  63. The remaining categories specify the order and contents of
  64. the data in each line of the
  65. information file.
  66. Information files have the same syntax.
  67. Backslash `\\' is used as with
  68. .it sh
  69. (I) to quote syntactically
  70. significant characters or to insert transparent
  71. newlines into a line.
  72. When either a question or its answer is empty,
  73. .it quiz
  74. will refrain from asking it.
  75. .sh FILES
  76. /usr/lib/quiz/index
  77. .br
  78. /usr/lib/quiz/*
  79. .sh BUGS
  80.