add some color to your man

How to colorize the man page. Disclaimer, only works in X.

Edit/Uncomment/Create these lines with your favorite colors in /etc/X11/app-defaults/Xterm (or possibly) /usr/share/X11/app-defaults/Xterm or if you just want to do it for your user copy this file to ~/.XDefaults and edit it there.

*VT100*colorULMode: on
*VT100*colorUL: <color>
!*VT100*italicULMode: on
*VT100*underLine: off
! Uncomment this to use color for the bold attribute
*VT100*colorBDMode: on
*VT100*colorBD: <color2>

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out /  Change )

Facebook photo

You are commenting using your Facebook account. Log Out /  Change )

Connecting to %s

%d bloggers like this: