From owner-freebsd-questions Mon Jun 7 17:38:10 1999 Delivered-To: freebsd-questions@freebsd.org Received: from mail.HiWAAY.net (fly.HiWAAY.net [208.147.154.56]) by hub.freebsd.org (Postfix) with ESMTP id C7EA514ECC for ; Mon, 7 Jun 1999 17:37:22 -0700 (PDT) (envelope-from dkelly@nospam.hiwaay.net) Received: from nospam.hiwaay.net (tnt8-216-180-14-132.dialup.HiWAAY.net [216.180.14.132]) by mail.HiWAAY.net (8.9.1a/8.9.0) with ESMTP id TAA15803; Mon, 7 Jun 1999 19:37:18 -0500 (CDT) Received: from nospam.hiwaay.net (nospam.hiwaay.net [127.0.0.1]) by nospam.hiwaay.net (8.9.3/8.9.3) with ESMTP id SAA71143; Mon, 7 Jun 1999 18:55:04 -0500 (CDT) (envelope-from dkelly@nospam.hiwaay.net) Message-Id: <199906072355.SAA71143@nospam.hiwaay.net> X-Mailer: exmh version 2.0.2 2/24/98 To: ryuson@263.net Cc: freebsd-questions@FreeBSD.ORG From: David Kelly Subject: Re: How to add MANPATH? In-reply-to: Message from ryuson@263.net of "07 Jun 1999 13:43:21 -0000." <19990607134321.25670.fmail@263.net> Mime-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 Content-Transfer-Encoding: quoted-printable Date: Mon, 07 Jun 1999 18:55:04 -0500 Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG ryuson@263.net writes: > Hello: > I had installed xcin,but xcin's manpath is "/usr/X11R6/man", > my MANPATH are "/usr/share/man" and "/usr/local/man",so I can't > view xcin's man. > I wanna ask how to add MANPATH? The default .login file at /usr/share/skel/dot.login defines MANPATH = "correctly" like this: setenv MANPATH "/usr/share/man:/usr/X11R6/man:/usr/local/man" If you login to your system via xdm, I believe ~/.login is not = executed. There are ways to fix that, but I don't know how right now. = The easiest thing to do would be to move the above line into ~/.cshrc. Lacking MANPATH, I believe man will execute manpath(1) to figure out = where things are. You can edit /etc/manpath.config to fix things. -- David Kelly N4HHE, dkelly@nospam.hiwaay.net =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D The human mind ordinarily operates at only ten percent of its capacity -- the rest is overhead for the operating system. To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message