NROFF(1) NROFF(1)
NAME
nroff - emulate nroff command with groff(1,7)
SYNOPSIS
nroff [ -CchipStUv ] [ -dcs ] [ -mname ] [ -nnum ] [ -olist ] [ -rcn ]
[ -Tname ] [ file(1,n) ... ]
DESCRIPTION
The nroff script emulates the nroff command using groff. Only ascii(1,7),
latin1, utf8, and cp1047 are valid arguments for the -T option, select-
ing the output encoding(3,n) emitted by grotty, groff(1,7)'s TTY output device.
If an invalid or no -T option is given, nroff checks the current locale(3,5,7)
to select(2,7,2 select_tut) a default output device. It first tries the locale(3,5,7) program,
then the environment variables LC_ALL, LC_CTYPE, and LANG, and finally
the LESSCHARSET environment variable.
The -h and -c options are equivalent to grotty's options -h (using tabs
in(1,8) the output) and -c (using the old output scheme instead of SGR
escape sequences). The -d, -C, -i, -m, -n, -o, and -r options have the
effect described in(1,8) troff(1). In addition, nroff silently ignores the
options -e, -q, and -s (which are not implemented in(1,8) troff). Options
-p (pic), -t (tbl), -S (safer), and -U (unsafe) are passed to groff(1,7).
-v shows the version(1,3,5) number.
ENVIRONMENT
GROFF_BIN_PATH
A colon separated list of directories in(1,8) which to search for the
groff(1,7) executable before searching in(1,8) PATH. If unset, `/usr/bin'
is used.
NOTES
This shell script is basically intended for use with man(1,5,7)(1), so warn-
ings are suppressed. nroff-style character definitions (in(1,8) the file(1,n)
tty-char.tmac) are also loaded to emulate unrepresentable glyphs.
SEE ALSO
groff(1,7)(1), troff(1), grotty(1)
Groff Version 1.19.1 5 January 2004 NROFF(1)