1NROFF(1)                    General Commands Manual                   NROFF(1)
2
3
4

NAME

6       nroff - emulate nroff command with groff
7

SYNOPSIS

9       nroff [-CchipStUvwW] [-dcs] [-Mdir] [-mname] [-nnum] [-olist] [-rcn]
10             [-Tname] [file ...]
11       nroff --help
12       nroff -v | --version
13

DESCRIPTION

15       The nroff script emulates the nroff command using groff.   Only  ascii,
16       latin1,  utf8,  and  cp1047 are devices accepted by nroff to select the
17       output encoding emitted by grotty, groff's TTY output device.  If  nei‐
18       ther  the GROFF_TYPESETTER environment variable nor the -T command line
19       option (which overrides the environment variable) specifies  a  (valid)
20       device,  nroff  checks  the  current  locale to select a default output
21       device.  It first tries the locale program, then the environment  vari‐
22       ables  LC_ALL, LC_CTYPE, and LANG, and finally the LESSCHARSET environ‐
23       ment variable.
24
25       The -h and -c options are equivalent to grotty's options -h (using tabs
26       in  the  output)  and  -c  (using  the old output scheme instead of SGR
27       escape sequences).  The -d, -C, -i, -M, -m, -n,  -o,  -r,  -w,  and  -W
28       options  have  the  effect  described  in troff(1).  In addition, nroff
29       silently ignores the options -e, -q, and -s (which are not  implemented
30       in troff).  Options -p (pic), -t (tbl), -S (safer), and -U (unsafe) are
31       passed to groff.  -v and --version  show  the  version  number,  --help
32       prints a help message.
33

ENVIRONMENT

35       GROFF_TYPESETTER
36              The  default  device for groff.  If not set (which is the normal
37              case), it defaults to `ps'.
38
39       GROFF_BIN_PATH
40              A colon separated list of directories in which to search for the
41              groff executable before searching in PATH.  If unset, `/usr/bin'
42              is used.
43

NOTES

45       This shell script is basically intended for use  with  man(1).   nroff-
46       style character definitions (in the file tty-char.tmac) are also loaded
47       to emulate unrepresentable glyphs.
48

SEE ALSO

50       groff(1), troff(1), grotty(1)
51
52
53
54Groff Version 1.22.2            7 February 2013                       NROFF(1)
Impressum