doc-ditroff 4.2 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190
  1. .\" Copyright (c) 1991, 1993
  2. .\" The Regents of the University of California. All rights reserved.
  3. .\"
  4. .\" Redistribution and use in source and binary forms, with or without
  5. .\" modification, are permitted provided that the following conditions
  6. .\" are met:
  7. .\" 1. Redistributions of source code must retain the above copyright
  8. .\" notice, this list of conditions and the following disclaimer.
  9. .\" 2. Redistributions in binary form must reproduce the above copyright
  10. .\" notice, this list of conditions and the following disclaimer in the
  11. .\" documentation and/or other materials provided with the distribution.
  12. .\" 3. All advertising materials mentioning features or use of this software
  13. .\" must display the following acknowledgement:
  14. .\" This product includes software developed by the University of
  15. .\" California, Berkeley and its contributors.
  16. .\" 4. Neither the name of the University nor the names of its contributors
  17. .\" may be used to endorse or promote products derived from this software
  18. .\" without specific prior written permission.
  19. .\"
  20. .\" THIS SOFTWARE IS PROVIDED BY THE REGENTS AND CONTRIBUTORS ``AS IS'' AND
  21. .\" ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
  22. .\" IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
  23. .\" ARE DISCLAIMED. IN NO EVENT SHALL THE REGENTS OR CONTRIBUTORS BE LIABLE
  24. .\" FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
  25. .\" DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS
  26. .\" OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION)
  27. .\" HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT
  28. .\" LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY
  29. .\" OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
  30. .\" SUCH DAMAGE.
  31. .\"
  32. .\" from 4.4BSD doc-ditroff 8.1 (Berkeley) 6/8/93
  33. .\"
  34. .\" Portions Copyright (c) 2005 Gunnar Ritter, Freiburg i. Br., Germany
  35. .\"
  36. .\" Sccsid @(#)doc-ditroff 1.2 (gritter) 11/16/05
  37. .\"
  38. .\" tmac.mdoc-ditroff
  39. .\" %beginstrip%
  40. .\"
  41. .so /usr/heirloom/lib/doctools/tmac/tmac.gchar
  42. .ds aD \fI\s10
  43. .ds aR \f(CI\s10
  44. .ds cM \f(CB\s10
  45. .ds dF \fR\s10
  46. .ds eM \fI\s10
  47. .ds eR \f(CW\s10
  48. .ds eV \f(CW\s10
  49. .ds fA \f(CI\s10
  50. .ds fD \f(CB\s10
  51. .ds fL \f(CB\s10
  52. .ds fN \f(CB\s10
  53. .ds fP \fP\s0
  54. .ds fS \s0
  55. .ds fT \f(CI\s10
  56. .ds Hs \fR\s10
  57. .ds iC \f(CB\s10
  58. .ds lI \f(CW
  59. .ds lP \fR\|(\|\fP\s10
  60. .ds lp \fR(\fP\s10
  61. .ds rP \fR\|)\|\fP\s10
  62. .ds rp \fR)\fP\s10
  63. .ds lB \fR\^[\^\fP\s10
  64. .ds rB \fR\^]\fP\s10
  65. .ds mL \fB\s10
  66. .ds nM \f(CB\s10
  67. .ds nO \fR\s10
  68. .ds nT \s0
  69. .ds pA \f(CW\s10
  70. .ds Pu \fR{\ .\ ,\ :\ ;\ (\ )\ [\ ]\ \fR}
  71. .ds rA \fR\s10
  72. .ds rT \f(CI\s10
  73. .ds sH \fB\s10
  74. .ds sP \s0
  75. .ds sY \fB\s10
  76. .ds sX \fB\s10
  77. .ds tF \fR
  78. .ds tN \s9
  79. .ds vA \fI\s10
  80. .ds Vs \fR\s10
  81. .ds vT \f(CB\s10
  82. .ds xR \f(CW\s10
  83. .tr *\(**
  84. .nr sI \w\f(CW,u*5
  85. .nr Ti \n(sIu
  86. .if \*(.Thtml \{\
  87. . nr cR 1
  88. . nh
  89. . rm hy
  90. . \" pseudo-transition to first page (else "x font" is not output):
  91. . br
  92. .\}
  93. .nr Pp .5v
  94. .ds lS \0
  95. .nr lS \w'\0'u
  96. .nr __dI 6n
  97. .de pL
  98. .nr Hm .5i
  99. .nr Fm .5i
  100. .nr ll 6.5i
  101. .ll 6.5i
  102. .nr lt 6.5i
  103. .lt 6.5i
  104. .nr po 1i
  105. .po 1.i
  106. .nr dV .5v
  107. ..
  108. .nr gX 0
  109. .de hK
  110. . ds hT \\*(dT
  111. . ie \\*(cHNull \{\
  112. . if !\\*(gPNull .as hT \&\|(\|\\*(gP\|)
  113. . \}
  114. . el \{\
  115. . ie !\\*(gPNull .as hT \|(\|\\*(cH\\*(gP\|)
  116. . el .as hT \\|(\\|\\*(cH\\|)
  117. . \}
  118. . ie \\n(cR \{\
  119. . hM
  120. . \}
  121. . el \{\
  122. . wh 0 hM
  123. . wh -1.25i fM
  124. . \}
  125. . \" .tm Here is gX == \\n(gX
  126. . if \\n(gX==1 \{\
  127. . rm n1
  128. . if !\\n(cR .bp
  129. . \}
  130. . nr % 1
  131. . nr gX 0
  132. . em lM
  133. . if !\\*[Toc] \{\
  134. . nr Toc 1
  135. . Sh CONTENTS
  136. . nr Toc +1
  137. . nf
  138. . so \\*[Toc]
  139. . fi
  140. . nr Sh.a 1
  141. . ad
  142. . \}
  143. ..
  144. .\" NS Ql macro - Quoted literal define
  145. .de Ql
  146. . if \\n(aC==0 \{\
  147. . ds mN Ql
  148. . nr fV \\n(.$
  149. . lnr _i_ 0 1
  150. . while \\n(.$ \{\
  151. . ds A\\n+[_i_] \\$1
  152. . shift
  153. . \}
  154. . fV
  155. . \}
  156. . nr aP \\n(aP+1
  157. . lnr _l_ 0
  158. . length _l_ "\\*[A\\n(aP]
  159. . nr aP \\n(aP-1
  160. . ie \\n[_l_]>2 .Li
  161. . el \{\
  162. . \" Db on
  163. . if (\\n(aP>0) \{\
  164. . ds A\\n(aP Li
  165. . nr aP \\n(aP -1
  166. . \}
  167. . if (\\n(aP==0) \{\
  168. . rm C0 C1 C2 C3 C4 C5 C6 C7 C8 C9
  169. . rm S1 S2 S3 S4 S5 S6 S7 S8 S9
  170. . rn A8 A9
  171. . rn A7 A8
  172. . rn A6 A7
  173. . rn A5 A6
  174. . rn A4 A5
  175. . rn A3 A4
  176. . rn A2 A3
  177. . rn A1 A2
  178. . ds A1 Li
  179. . nr fV \\n(aC+1
  180. . nr aC 0
  181. . fV
  182. . \}
  183. . ds qL \&\\*(sL
  184. . ds qR \&\\*(sR
  185. . En
  186. . \" Db off
  187. . \}
  188. ..
  189. .\" vim:set syntax=nroff: