LinuxCommandLibrary

grotty

Groff terminal output driver

TLDR

Display in terminal

$ groff -Tutf8 [file.roff]
copy
ASCII output
$ groff -Tascii [file.roff]
copy
Direct grotty usage
$ grotty [file]
copy
Disable SGR sequences
$ grotty -c [file]
copy

SYNOPSIS

grotty [options] [file]

DESCRIPTION

grotty is a groff output driver for terminal display. It produces ASCII or UTF-8 output suitable for viewing in text terminals, supporting bold and underline via SGR escape sequences or overstriking.
It is the driver used for man page display and terminal document viewing.

PARAMETERS

FILE

Groff intermediate output.
-b
Suppress bold sequences.
-c
Use old-style output (no SGR).
-d
Ignore SGR escapes.
-f
Feed mode for printers.
-i
Use italic font.
-o
Suppress overstriking.
-u
Suppress underlining.
-F DIR
Font directory.
--help
Display help information.

CAVEATS

Part of groff package. Output quality depends on terminal capabilities. Some formatting lost in text mode.

HISTORY

grotty was developed as part of GNU groff to enable terminal viewing of formatted documents.

SEE ALSO

groff(1), nroff(1), man(1)

> TERMINAL_GEAR

Curated for the Linux community

Copied to clipboard

> TERMINAL_GEAR

Curated for the Linux community