Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 20 May 2003 03:23:22 +0300
From:      Giorgos Keramidas <keramida@ceid.upatras.gr>
To:        Robert Storey <y2kbug@ms25.hinet.net>
Cc:        freebsd-questions@freebsd.org
Subject:   Re: man page search highlights
Message-ID:  <20030520002322.GA33134@gothmog.gr>
In-Reply-To: <20030520080838.0efe2d74.y2kbug@ms25.hinet.net>
References:  <20030520080838.0efe2d74.y2kbug@ms25.hinet.net>

next in thread | previous in thread | raw e-mail | index | archive | help
On 2003-05-20 08:08, Robert Storey <y2kbug@ms25.hinet.net> wrote:
> Once again displaying the ignorance of a Linux refugee/FBSD newbie...
>
> When viewing man pages, I often use the search feature:
>
>    /searchstring <enter>
>
> The difference I've noticed between Linux and FBSD is that in Linux, if
> the search string is found, the string is highlighted. I find that a very
> useful feature. Is there some way to enable this function in FBSD man
> pages?

more(1) doesn't highlight matches.
less(1) does.

Set your PAGER to 'less' and it should "just work" :-)



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20030520002322.GA33134>