179550Sru.ig
2151503SruCopyright (C) 1989-2001, 2002, 2003, 2005 Free Software Foundation, Inc.
318099Spst
418099SpstPermission is granted to make and distribute verbatim copies of
518099Spstthis manual provided the copyright notice and this permission notice
618099Spstare preserved on all copies.
718099Spst
818099SpstPermission is granted to copy and distribute modified versions of this
918099Spstmanual under the conditions for verbatim copying, provided that the
1018099Spstentire resulting derived work is distributed under the terms of a
1118099Spstpermission notice identical to this one.
1218099Spst
1318099SpstPermission is granted to copy and distribute translations of this
1418099Spstmanual into another language, under the above conditions for modified
1518099Spstversions, except that this permission notice may be included in
1618099Spsttranslations approved by the Free Software Foundation instead of in
1718099Spstthe original English.
1851622Sphantom
1951622Sphantom	$FreeBSD: releng/11.0/contrib/groff/src/roff/nroff/nroff.man 151503 2005-10-20 10:53:15Z ru $
2051622Sphantom
2118099Spst..
22151503Sru.
2318099Spst.TH @G@NROFF @MAN1EXT@ "@MDATE@" "Groff Version @VERSION@"
24151503Sru.
2518099Spst.SH NAME
2618099Spst@g@nroff \- emulate nroff command with groff
27151503Sru.
2818099Spst.SH SYNOPSIS
2969631Sru.nr a \n(.j
3069631Sru.ad l
3169631Sru.nr i \n(.i
3269631Sru.in +\w'\fB@g@nroff 'u
3369631Sru.ti \niu
3418099Spst.B @g@nroff
3569631Sru.de OP
3669631Sru.ie \\n(.$-1 .RI "[\ \fB\\$1\fP" "\\$2" "\ ]"
3769631Sru.el .RB "[\ " "\\$1" "\ ]"
3869631Sru..
39151503Sru.
40114410Sru.OP \-CchipStUv
41121880Sru.OP \-d cs
42151503Sru.OP \-M dir
4369631Sru.OP \-m name
4469631Sru.OP \-n num
4569631Sru.OP \-o list
4669631Sru.OP \-r cn
4769631Sru.OP \-T name
48104868Sru.RI "[\ " "file" "\ .\|.\|.\ ]"
4969631Sru.br
5069631Sru.ad \na
51151503Sru.
5218099Spst.SH DESCRIPTION
5318099SpstThe
5418099Spst.B @g@nroff
5518099Spstscript emulates the
5618099Spst.B nroff
5718099Spstcommand using groff.
5879550SruOnly 
5969631Sru.BR ascii ,
6069631Sru.BR latin1 ,
6169631Sru.BR koi8-r ,
6269631Sru.BR utf8 ,
6379550Sruand
6469631Sru.B cp1047
6579550Sruare valid arguments for the
6679550Sru.B -T
67114410Sruoption, selecting the output encoding emitted by
68114410Sru.BR grotty ,
69114410Srugroff's TTY output device.
7079550SruIf an invalid or no
7179550Sru.BR \-T
7279550Sruoption is given,
7379550Sru.B @g@nroff
7479550Sruchecks the current locale to select a default output device.
7579550SruIt first tries the
7679550Sru.B locale
7779550Sruprogram, then the environment variables
7879550Sru.BR LC_ALL ,
7979550Sru.BR LC_CTYPE ,
8079550Sruand
8179550Sru.BR LANG ,
8279550Sruand finally the
8379550Sru.B LESSCHARSET
8479550Sruenvironment variable.
8579550Sru.PP
8618099SpstThe
8718099Spst.B \-h
88104868Sruand
89104868Sru.B \-c
90104868Sruoptions
91104868Sruare equivalent to
9279550Sru.BR grotty 's
93104868Sruoptions
9418099Spst.B \-h
95104868Sru(using tabs in the output) and
96104868Sru.B \-c
97104868Sru(using the old output scheme instead of SGR escape sequences).
9818099SpstThe
99121880Sru.BR \-d ,
100104868Sru.BR \-C ,
10118099Spst.BR \-i ,
102151503Sru.BR \-M ,
103114410Sru.BR \-m ,
10418099Spst.BR \-n ,
105104868Sru.BR \-o ,
10669631Sruand
10751622Sphantom.B \-r
10818099Spstoptions have the effect described in
10918099Spst.BR @g@troff (@MAN1EXT@).
11079550SruIn addition,
11118099Spst.B @g@nroff
11279550Srusilently ignores the options
11318099Spst.BR \-e ,
11479550Sru.BR \-q ,
11579550Sruand
11679550Sru.BR \-s
11779550Sru(which are not implemented in
11879550Sru.BR @g@troff ).
11955844SasmodaiOptions 
12075590Sru.B \-p
12175590Sru(pic),
12275590Sru.B \-t
12375590Sru(tbl),
12455844Sasmodai.B \-S
12579550Sru(safer), and
12655844Sasmodai.B \-U
12769631Sru(unsafe) are passed to
12869631Sru.BR groff . 
12975590Sru.B \-v
13075590Srushows the version number.
131151503Sru.
13275590Sru.SH ENVIRONMENT
13375590Sru.TP
13475590Sru.SM
13575590Sru.B GROFF_BIN_PATH
13675590SruA colon separated list of directories in which to search for the
13775590Sru.B groff
13876025Sruexecutable before searching in PATH.  If unset, `@BINDIR@' is used.
13969631Sru.SH NOTES
14069631SruThis shell script is basically intended for use with
14169631Sru.BR man (1),
14269631Sruso warnings are suppressed.
14375590Srunroff-style character definitions (in the file tty-char.tmac) are also
14469631Sruloaded to emulate unrepresentable glyphs.
145151503Sru.
14618099Spst.SH "SEE ALSO"
14718099Spst.BR groff (@MAN1EXT@),
14818099Spst.BR @g@troff (@MAN1EXT@),
14918099Spst.BR grotty (@MAN1EXT@)
15079550Sru.
15179550Sru.\" Local Variables:
15279550Sru.\" mode: nroff
15379550Sru.\" End:
154