Search code examples
unixsolarissunmanpage

Remove page numbers from man pages in Solaris?


When I use Solaris, I get page numbers every 60 lines or so that look like this

SunOS 5.11          Last change: 10 Feb 2009                    1

Also, I get headers like

User Commands                         ls(1)

Is there any way to remove them? It's distracting to have them appear when I'm reading text line by line.


Solution

  • I ended up removing them by editing the standard macro package (nroff) at /usr/share/lib/tmac/an to not show headers and footers.