home *** CD-ROM | disk | FTP | other *** search
/ Mega Top 1 / os2_top1.zip / os2_top1 / APPS / TEKST / GROFFEXE / LIB / GROFF / TMAC / MDOC / DITROFF.DOC < prev    next >
Text File  |  1992-04-13  |  6KB  |  276 lines

  1. .\" Copyright (c) 1991 The Regents of the University of California.
  2. .\" 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. .\"     @(#)doc-ditroff    5.8 (Berkeley) 8/5/91
  33. .\"
  34. .\" tmac.mdoc-ditroff
  35. .\"     %beginstrip%
  36. .\"
  37. .ds aD \fI\s10
  38. .ds aR \f(CO\s10
  39. .ds cM \f(CB\s10
  40. .ds dF \fR\s10
  41. .ds eM \fI\s10
  42. .ds eR \fC\s10
  43. .ds eV \fC\s10
  44. .ds fA \f(CO\s10
  45. .ds fD \f(CB\s10
  46. .ds fL \f(CB\s10
  47. .ds fN \f(CB\s10
  48. .ds fP \fP\s0
  49. .ds fS \s0
  50. .ds fT \f(CO\s10
  51. .ds Hs \fR\s10
  52. .ds iC \f(CB\s10
  53. .ds lI \fC
  54. .ds lP \fR\|(\|\fP\s10
  55. .ds lp \fR(\fP\s10
  56. .ds rP \fR\|)\|\fP\s10
  57. .ds rp \fR)\fP\s10
  58. .ds lB \fR\^[\^\fP\s10
  59. .ds rB \fR\^]\fP\s10
  60. .ds mL \fB\s10
  61. .ds nM \f(CB\s10
  62. .ds nO \fR\s10
  63. .ds nT \s0
  64. .ds pA \fC\s10
  65. .ds Pu \fR{\ .\ ,\ :\ ;\ (\ )\ [\ ]\ \fR}
  66. .ds rA \fR\s10
  67. .ds rT \f(CO\s10
  68. .ds sH \fB\s10
  69. .ds sP \s0
  70. .ds sY \fB\s10
  71. .ds sX \fR\s10
  72. .ds tF \fR
  73. .ds tN \s9
  74. .ds vA \fI\s10
  75. .ds Vs \fR\s10
  76. .ds vT \f(CB\s10
  77. .ds xR \fC\s10
  78. .tr *\(**
  79. .nr sI \w\fC,u*5
  80. .nr Ti \n(sIu
  81. .nr Pp .5v
  82. .ds lS \0
  83. .nr lS \w'\0'u
  84. .nr dI 6n
  85. .de pL
  86. .nr Hm .5i
  87. .nr Fm .5i
  88. .nr ll 6.5i
  89. .ll 6.5i
  90. .nr lt 6.5i
  91. .lt 6.5i
  92. .nr po 1i
  93. .po 1.i
  94. .nr dV .5v
  95. ..
  96. .ds <= \(<=
  97. .ds >= \(>=
  98. .ie \n(.g \{\
  99. .    ds Lq \(lq
  100. .    ds Rq \(rq
  101. .\}
  102. .el \{\
  103. .    ds Lq \&``
  104. .    ds Rq \&''
  105. .\}
  106. .ds ua \(ua
  107. .ds aa \(aa
  108. .ds ga \(ga
  109. .ds sR \&'
  110. .ds sL \&`
  111. .ds q \&"
  112. .\" Math stuff
  113. .ds Pi \(*p
  114. .ds Ne \(!=
  115. .ds Le \(<=
  116. .ds Ge \(>=
  117. .ds Lt <
  118. .ds Gt >
  119. .ds Pm \(+-
  120. .ds If \(if
  121. .ds Na \fINaN\fP
  122. .ds Ba \fR\&|\fP
  123. .\"
  124. .nr gX 0
  125. .de hK
  126. .ds hT \\*(dT
  127. .if !"\\*(cH"Null" \{\
  128. .       ie !"\\*(gP"Null" .as hT \|(\|\\*(cH\\*(gP\|)
  129. .       el .as hT \\|(\\|\\*(cH\\|)
  130. .\}
  131. .if "\\*(cH"Null" \{\
  132. .    if !"\\*(gP"Null" .as hT \&\|(\|\\*(gP\|)
  133. .\}
  134. .wh 0 hM
  135. .wh -1.25i fM
  136. .\" .tm Here is gX == \\n(gX
  137. .ie \\n(gX==1 \{\
  138. .    rm n1
  139. .    if \\n(.g .br
  140. .    if !\\n(.g .bp
  141. .\}
  142. .el \{\
  143. .    if \\n(.g .br
  144. .    if !\\n(.g 'bp
  145. .\}
  146. .nr % 1
  147. .nr gX 0
  148. .em lM
  149. ..
  150. .\"
  151. .nr fW \w\fC0
  152. .de sW
  153. .nr sW \w\fC\\$1
  154. .ie \\n(sW>=\\n(fW \{\
  155. .       ie \\n(sW%\\n(fW .nr sW (\\n(sW/\\n(fW)+1
  156. .       el .nr sW \\n(sW/\\n(fW
  157. .\}
  158. .el \{\
  159. .    ie \\n(sW>0 .nr sW 1
  160. .    el .nr sW 0
  161. .\}
  162. ..
  163. .\"
  164. .de aW
  165. .nr sW \w\fC\\*(A\\$1
  166. .ie \\n(sW>=\\n(fW \{\
  167. .       ie \\n(sW%\\n(fW .nr sW (\\n(sW/\\n(fW)+1
  168. .       el .nr sW \\n(sW/\\n(fW
  169. .\}
  170. .el \{\
  171. .    ie \\n(sW>0 .nr sW 1
  172. .    el .nr sW 0
  173. .\}
  174. ..
  175. .\" NS Ql macro - Quoted literal define
  176. .de Ql
  177. .if \\n(aC==0  \{\
  178. .    ds mN Ql
  179. .       ds A1 \\$1
  180. .       ds A2 \\$2
  181. .       ds A3 \\$3
  182. .       ds A4 \\$4
  183. .       ds A5 \\$5
  184. .       ds A6 \\$6
  185. .       ds A7 \\$7
  186. .       ds A8 \\$8
  187. .     nr fV \\n(.$
  188. .     fV
  189. .\}
  190. .nr aP \\n(aP+1
  191. .aW \\n(aP
  192. .nr aP \\n(aP-1
  193. .if \\n(sW>2 .Li
  194. .if \\n(sW<=2 \{\
  195. .\" Db on
  196. .    if (\\n(aP>0) \{\
  197. .        ds A\\n(aP Li
  198. .        nr aP \\n(aP -1
  199. .    \}        
  200. .    if (\\n(aP==0) \{\
  201. .        rm C0 C1 C2 C3 C4 C5 C6 C7 C8 C9
  202. .        rm S1 S2 S3 S4 S5 S6 S7 S8 S9
  203. .        rn A8 A9
  204. .        rn A7 A8
  205. .        rn A6 A7
  206. .        rn A5 A6
  207. .        rn A4 A5
  208. .        rn A3 A4
  209. .        rn A2 A3
  210. .        rn A1 A2
  211. .        ds A1 Li
  212. .         nr fV \\n(aC+1
  213. .        nr aC 0
  214. .        fV
  215. .    \}
  216. .    ds qL \&\\*(sL
  217. .    ds qR \&\\*(sR
  218. .    En
  219. .\" Db off
  220. .\}
  221. ..
  222. .\" NS Sh macro - Section Headers
  223. .\" NS nS register - Section Header SYNOPSIS flag
  224. .\" NS nF register - Section Header FILES flag
  225. .\" NS nA register - Section Header SEE ALSO flag
  226. .\" NS nT register - Section Header STANDARDS flag
  227. .de Sh
  228. .nr nS 0
  229. .nr sE 0
  230. .nr iS 0
  231. 'ad
  232. .ie "\\$1"NAME" \{\
  233. .       hK
  234. '       in 0
  235. .\}
  236. .el \{\
  237. .       nr nS 0
  238. .       nr nA 0
  239. .       nr nF 0
  240. .       nr nT 0
  241. .       nr nY 0
  242. .       nr oT 0
  243. .       if "\\$1"SYNOPSIS" \{\
  244. .        na
  245. .        nr nS 1
  246. .    \}
  247. .       if "\\$1"DESCRIPTION" \{\
  248. .        nr fY 0
  249. .        nr fZ 0
  250. .        nr fB 0
  251. .        nr Fb 0
  252. .        ds Fb
  253. .    \}
  254. .       if "\\$1"SEE" \{\
  255. .               nr nA 1
  256. .               na
  257. .       \}
  258. .       if "\\$1"FILES" .nr nF 1
  259. .       if "\\$1"STANDARDS" .nr nT 1
  260. .       if "\\$1"AUTHORS" .nr nY 1
  261. .    if "\\$1"SEE" .nr sE 1
  262. .       in 0
  263. .       nr aN 0
  264. .\}
  265. .pL
  266. 'sp
  267. .ns
  268. .ta .5i 1i 1.5i 2i 2.5i 3i 3.5i 4i 4.5i 5i 5.5i 6i 6.5i
  269. .if !\\n(cR .ne 3
  270. 'fi
  271. \&\\*(sH\\$1 \|\\$2 \|\\$3 \|\\$4 \|\\$5 \|\\$6 \|\\$7 \|\\$8 \|\\$9
  272. \&\fP\s0\&
  273. .in \\n(.iu+\\n(Tiu
  274. .ns
  275. ..
  276.