companion program to the UNIX typesetter troff, accepting identical input but preparing output for terminals and line printers.