man 1.6 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576777879808182838485868788899091929394959697
  1. .TH MAN 1
  2. .SH NAME
  3. man, lookman \- print or find pages of this manual
  4. .SH SYNOPSIS
  5. .B man
  6. [
  7. .I option ...
  8. ]
  9. [
  10. .I section ...
  11. ]
  12. .I title ...
  13. .PP
  14. .B lookman
  15. .I key ...
  16. .SH DESCRIPTION
  17. .I Man
  18. locates and prints pages of this manual named
  19. .I title
  20. in the specified
  21. .IR sections .
  22. .I Title
  23. is given in lower case.
  24. Each
  25. .I section
  26. is a number;
  27. pages marked (2S), for example,
  28. belong to chapter 2.
  29. If no
  30. .I section
  31. is specified, pages
  32. in all sections are printed.
  33. Any name from the
  34. .SM NAME
  35. section at the top of the page will serve as a
  36. .IR title .
  37. .PP
  38. The options are:
  39. .TP
  40. .B -p
  41. Run
  42. .IR proof (1)
  43. on the specified man pages.
  44. .TP
  45. .B -P
  46. Run
  47. .IR page (1)
  48. on the specified man pages.
  49. .TP
  50. .B -t
  51. Run
  52. .I troff
  53. and send its output
  54. to standard output.
  55. .TP
  56. .B -n
  57. (Default)
  58. Print the pages on the standard output using
  59. .IR nroff .
  60. .PP
  61. .B Lookman
  62. prints the names of all manual sections that contain
  63. all of the
  64. .I key
  65. words given on the command line.
  66. .SH FILES
  67. .TF /sys/lib/man/lookman/index
  68. .TP
  69. .B /sys/man/?/*
  70. .I troff
  71. source for manual; this page is
  72. .B /sys/man/1/man
  73. .TP
  74. .B /sys/man/?/INDEX
  75. indices searched to find pages corresponding to titles
  76. .TP
  77. .B /sys/lib/man/secindex
  78. command to make an index for a given section
  79. .TP
  80. .B /sys/lib/man/lookman/index
  81. index for
  82. .I lookman
  83. .SH SOURCE
  84. .B /rc/bin/man
  85. .br
  86. .B /rc/bin/lookman
  87. .SH "SEE ALSO"
  88. .IR proof (1)
  89. .SH BUGS
  90. The manual was intended to be typeset; some detail is sacrificed on text terminals.
  91. .br
  92. There is no automatic mechanism to keep the indices up to date.
  93. .br
  94. Except for special cases, it doesn't recognize things that should be run through
  95. .I tbl
  96. and/or
  97. .IR eqn .