man 1.7 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105
  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. .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 -p
  44. Run
  45. .IR proof (1)
  46. on the specified man pages.
  47. .TP
  48. .B -P
  49. Run
  50. .IR page (1)
  51. on the specified man pages.
  52. .TP
  53. .B -t
  54. Run
  55. .I troff
  56. and send its output
  57. to standard output.
  58. .TP
  59. .B -n
  60. (Default)
  61. Print the pages on the standard output using
  62. .IR nroff .
  63. .PP
  64. .B Lookman
  65. prints the names of all manual sections that contain
  66. all of the
  67. .I key
  68. words given on the command line.
  69. .PP
  70. .B Sig
  71. prints the signature (i.e. C definition) of the
  72. .IR function 's
  73. given on the command line.
  74. .SH FILES
  75. .TF /sys/lib/man/lookman/index
  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 proof (1)
  97. .SH BUGS
  98. The manual was intended to be typeset; some detail is sacrificed on text terminals.
  99. .br
  100. There is no automatic mechanism to keep the indices up to date.
  101. .br
  102. Except for special cases, it doesn't recognize things that should be run through
  103. .I tbl
  104. and/or
  105. .IR eqn .