147 lines
3.5 KiB
Plaintext
147 lines
3.5 KiB
Plaintext
.\" $NetBSD: macros,v 1.5 1999/07/02 16:11:15 simonb Exp $
|
|
.\"
|
|
.\" Copyright (c) 1980, 1993
|
|
.\" The Regents of the University of California. All rights reserved.
|
|
.\"
|
|
.\" Redistribution and use in source and binary forms, with or without
|
|
.\" modification, are permitted provided that the following conditions
|
|
.\" are met:
|
|
.\" 1. Redistributions of source code must retain the above copyright
|
|
.\" notice, this list of conditions and the following disclaimer.
|
|
.\" 2. Redistributions in binary form must reproduce the above copyright
|
|
.\" notice, this list of conditions and the following disclaimer in the
|
|
.\" documentation and/or other materials provided with the distribution.
|
|
.\" 3. All advertising materials mentioning features or use of this software
|
|
.\" must display the following acknowledgement:
|
|
.\" This product includes software developed by the University of
|
|
.\" California, Berkeley and its contributors.
|
|
.\" 4. Neither the name of the University nor the names of its contributors
|
|
.\" may be used to endorse or promote products derived from this software
|
|
.\" without specific prior written permission.
|
|
.\"
|
|
.\" THIS SOFTWARE IS PROVIDED BY THE REGENTS AND CONTRIBUTORS ``AS IS'' AND
|
|
.\" ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
|
|
.\" IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
|
|
.\" ARE DISCLAIMED. IN NO EVENT SHALL THE REGENTS OR CONTRIBUTORS BE LIABLE
|
|
.\" FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
|
|
.\" DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS
|
|
.\" OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION)
|
|
.\" HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT
|
|
.\" LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY
|
|
.\" OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
|
|
.\" SUCH DAMAGE.
|
|
.\"
|
|
.\" @(#)macros 8.1 (Berkeley) 8/14/93
|
|
.\"
|
|
.\" this is the uncommented version. The commented one is in "macros.coms"
|
|
.ie t .ds _ \d\(mi\u
|
|
.el .ds _ _
|
|
.ds , ,\
|
|
.ds y (y\*,x) co-ordinates
|
|
.ds db database
|
|
.ie n .ds f \fI
|
|
.el .ds f \fB
|
|
.ds tc \*ftermcap\fP(5)
|
|
.ds Es This returns ERR if it would cause the screen to scroll illegally.
|
|
.ds Nm This has no associated \*(lq\fBmv\fP\*(rq command.
|
|
.ie t .ds m \fB\s-2\(dg\s+2\fP
|
|
.el .ds m [*]
|
|
.\" .hy WINDOW
|
|
.\".he ''\*(Ln''
|
|
.\".fo ''\- % \-''
|
|
.oh '\*(Ln''PS1:19-%'
|
|
.eh 'PS1:19-%''\*(Ln'
|
|
.de Un
|
|
.b
|
|
\s-2\\$2UNIX\\$1\s+2
|
|
.ft
|
|
..
|
|
.de Ds
|
|
.sp
|
|
.lp
|
|
.ev 1
|
|
.nf
|
|
.ft I
|
|
.in 0
|
|
.di Df
|
|
..
|
|
.de De
|
|
.di
|
|
.Df
|
|
.ne \n(dn+2
|
|
.ev
|
|
.ip
|
|
..
|
|
.de Dg
|
|
.di
|
|
.Df
|
|
.ne \n(dn+2
|
|
.ev
|
|
..
|
|
.de Fd
|
|
.br
|
|
\&\\$4
|
|
.fi
|
|
.b
|
|
\&\\$1(\\$2)
|
|
.ft
|
|
\&\\$3
|
|
.br
|
|
.nf
|
|
..
|
|
.de Vn
|
|
\&\\$3\c
|
|
.i "\\$1" \\$2
|
|
..
|
|
.de Bq
|
|
.ie t \&\*(lq\fB\\$1\fP\*(rq
|
|
.el \&\*(lq\fI\\$1\fP\*(rq
|
|
..
|
|
.de $0
|
|
.(x
|
|
.in \\n(Xs
|
|
\\*($n \\$1
|
|
.)x
|
|
..
|
|
.de $1
|
|
.nr Xs 0
|
|
..
|
|
.de $2
|
|
.nr Xs 3
|
|
..
|
|
.de $3
|
|
.nr Xs 6
|
|
..
|
|
.de Fn
|
|
.if \\n(.$==0 .tm error
|
|
.nr ll 0
|
|
.nr dg 0
|
|
.ft R
|
|
.if '\\$\\n(.$'.' .nr ll 1
|
|
.if '\\$\\n(.$',' .nr ll 1
|
|
.if '\\$\\n(.$')' .nr ll 1
|
|
.if '\\$\\n(.$').' .nr ll 1
|
|
.if '\\$\\n(.$';' .nr ll 1
|
|
.if '\\$\\n(.$':' .nr ll 1
|
|
.if '\\$\\n(.$'\'s' .nr ll 1
|
|
.if '\\$\\n(.$'\(dg' .nr ll 1
|
|
.\" .if '\\$\\n(.$'' .nr ll 1
|
|
.nr al \\n(.$-\\n(ll
|
|
.ds ot \f(CB\\$1\fP(
|
|
.if \\n(al>1 .as ot \fI\\$2\fP
|
|
.if \\n(al>2 .as ot ", \fI\\$3\fP
|
|
.if \\n(al>3 .as ot ", \fI\\$4\fP
|
|
.if \\n(al>4 .as ot ", \fI\\$5\fP
|
|
.if \\n(al>5 .as ot ", \fI\\$6\fP
|
|
.if \\n(al>6 .as ot ", \fI\\$7\fP
|
|
.if \\n(al>7 .as ot ", \fI\\$8\fP
|
|
.if \\n(al>8 .as ot ", \fI\\$9\fP
|
|
.as ot )
|
|
.if \\n(.$>1 \{\
|
|
. if \\n(ll==0 .as ot ;
|
|
. if '\\$\\n(.$'\(dg' .as ot ;
|
|
.\}
|
|
.if \\n(ll==1 .as ot \\$\\n(.$
|
|
\\*(ot
|
|
..
|