Ditroff is the device independent version of the troff text formatter. ditroff was written by Brian Kernighan.