man 1.7 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108
  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 -ntpP
  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 -p
  49. Run
  50. .IR proof (1)
  51. on the specified man pages.
  52. .TP
  53. .B -P
  54. Run
  55. .IR page (1)
  56. on the specified man pages.
  57. .TP
  58. .B -t
  59. Run
  60. .IR troff (1)
  61. and send its output
  62. to standard output.
  63. .PD
  64. .PP
  65. .B Lookman
  66. prints the names of all manual sections that contain
  67. all of the
  68. .I key
  69. words given on the command line.
  70. .PP
  71. .B Sig
  72. prints the signature (i.e. C definition) of the
  73. .IR function 's
  74. given on the command line.
  75. .SH FILES
  76. .TP
  77. .B /sys/man/?/*
  78. .I troff
  79. source for manual; this page is
  80. .B /sys/man/1/man
  81. .TP
  82. .B /sys/man/?/INDEX
  83. indices searched to find pages corresponding to titles
  84. .TP
  85. .B /sys/lib/man/secindex
  86. command to make an index for a given section
  87. .TP
  88. .B /sys/lib/man/lookman/index
  89. index for
  90. .I lookman
  91. .SH SOURCE
  92. .B /rc/bin/man
  93. .br
  94. .B /rc/bin/lookman
  95. .SH "SEE ALSO"
  96. .IR page (1),
  97. .IR proof (1)
  98. .SH BUGS
  99. The manual was intended to be typeset; some detail is sacrificed on text terminals.
  100. .PP
  101. There is no automatic mechanism to keep the indices up to date.
  102. .PP
  103. Except for special cases,
  104. .I man
  105. doesn't recognize things that should be run through
  106. .I tbl
  107. and/or
  108. .IR eqn .