NetBSD-Users archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
Re: How to render Groff / troff output directly on the terminal
> I am experimenting with groff and troff on NetBSD. I am able to
> generate a postscript file and view it with the following commands
>
> groff -ms -Tps test.ms > test.ps
> gs test.ps
>
> Is there a way to render groff / troff's output directly to the
> terminal similar to the way man outputs to the terminal?
man does the equivalent of
groff -Tascii -mandoc input | less
If you see ANSI sequences in the text, you may need less -r.
--
Benny
Home |
Main Index |
Thread Index |
Old Index