man 2.0 KB

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