[TriLUG] less and raw man pages
Nalin Dahyabhai
nalin at redhat.com
Sun Jan 13 11:03:27 EST 2002
On Sat, Jan 12, 2002 at 08:24:28PM -0500, Rodent of Unusual Size wrote:
> Is there some sort of trick to keep 'less' from rendering
> the nroff source of a man page? I want to page
> through the raw nroff format of a file, but 'less dandt.1'
> renders it rather than showing me the nroff directives.
>
> I know I can do this with 'more', but my fingers are used to
> typing 'less'. :-)
You're probably getting tripped up by the script the LESSOPEN env
variable is pointing at, which "preprocesses" things for less. If
you unset LESSOPEN, it should revert to the expected behavior.
Cheers,
Nalin
More information about the TriLUG
mailing list