1.\" Copyright (c) 1999, 2000 Chris Costello <chris@FreeBSD.org>
2.\" All rights reserved.
3.\"
4.\" Redistribution and use in source and binary forms, with or without
5.\" modification, are permitted provided that the following conditions
6.\" are met:
7.\" 1. Redistributions of source code must retain the above copyright
8.\"    notice, this list of conditions and the following disclaimer.
9.\" 2. Redistributions in binary form must reproduce the above copyright
10.\"    notice, this list of conditions and the following disclaimer in the
11.\"    documentation and/or other materials provided with the distribution.
12.\"
13.\" THIS SOFTWARE IS PROVIDED BY THE AUTHOR AND CONTRIBUTORS ``AS IS'' AND
14.\" ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
15.\" IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
16.\" ARE DISCLAIMED.  IN NO EVENT SHALL THE AUTHOR OR CONTRIBUTORS BE LIABLE
17.\" FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
18.\" DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS
19.\" OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION)
20.\" HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT
21.\" LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY
22.\" OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
23.\" SUCH DAMAGE.
24.\"
25.\" $Id: rtfm.1,v 1.4 2000/01/18 05:06:29 chris Exp $
26.\"
27.Dd July 12, 1999
28.Dt RTFM 1
29.Sh NAME
30.Nm rtfm
31.Nd Documentation search
32.Sh SYNOPSIS
33.Nm
34.Op Fl "cdimtw"
35.Ar keyword
36.Sh DESCRIPTION
37.Nm
38searches for
39.Va keyword
40in the FreeBSD manual pages and the GNU Texinfo pages.
41.Pp
42The following options are availible:
43.Bl -tag -width indent
44.It Fl c
45Prints the command for the user to type instead of the default search output.
46.It Fl d
47Print descriptions if manual pages are being searched.
48.It Fl i
49Case-insensitive search.  This implies the -i flag for
50.Xr zgrep 1
51.It Fl m
52Search manual pages only.
53.It Fl t
54Search texinfo pages only.
55.It Fl w
56Searches for the exact word.  This implies the -w flag for
57.Xr zgrep 1
58and causes
59.Nm
60to use
61.Xr whatis 1
62instead of
63.Xr apropos 1
64for searching manual pages.
65.El
66.Sh SEE ALSO
67.Xr apropos 1 ,
68.Xr info 1 ,
69.Xr man 1 ,
70.Xr whatis 1
71