nice man pages?

Carl Johnson carlj at
Wed Oct 26 03:58:30 UTC 2011

Patrick Lamaiziere <patfbsd at> writes:

> Hello,
> I use sysutils/most to have nice manual pages in color, that's cool but
> is there a way to do this with the base system (ie without adding port)?

I use a colorized termcap with less, but it also works with
/usr/bin/more.  It depends on what type of terminal you are using it
on.  I have it for xterm and rxvt (which is what I use).  This works for
manpages, but you can also colorize your prompt.

It is short, so my ~/.termcap is below:

---------------------- snip -------------------
# this is just changes to the standard FreeBSD termcaps - 2010-12-13 cdj

xterm|xterm-color|X11 terminal emulator:\

rxvt|rxvt terminal emulator (X Window System):\
---------------------- snip -------------------

All that does is set bold to yellow, standout to cyan, and underline to
green.  I use white on black, so if you use something else you will
probably have to adjust the colors.  I haven't tried 9.0, but this works
on 8.1-RELEASE and 8.2-RELEASE.  You can decide for yourself if that
does what you want.

Carl Johnson		carlj at

More information about the freebsd-questions mailing list