From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from mail-wi0-f177.google.com (mail-wi0-f177.google.com [209.85.212.177]) by krisdoz.my.domain (8.14.5/8.14.5) with ESMTP id sAOCoTQY009029 for ; Mon, 24 Nov 2014 07:50:29 -0500 (EST) Received: by mail-wi0-f177.google.com with SMTP id l15so5602291wiw.16 for ; Mon, 24 Nov 2014 04:50:23 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=sender:date:from:to:subject:message-id:mime-version:content-type :content-disposition:user-agent; bh=5rnKQ9qIny643GPYDmGP8UpHRbXpyVV0ACez6V7368I=; b=fCzikMqi+aygrOi0uAvumMvVcLK6hJsAJaGlLMNzbInVrZnEfKsCkWmLwyOz49RCDG hRyLZgVB3iHCinp9M2lXsfV4XxSphwRPsWFh5fMTNpivkK5sdDOcx9FbGO637n6bzwhK FJXeAt4oI50wTXmppxBeCiv9tNf9sabl04sJGv8S6OkrquYgjWTIh8tLdCJiMVuDmE+Y 9PuKObzkdwy35KaKXqYOgknKHl9dCco0bPp+ZyTUWCpayZMz7ODBFnHQzH5FddLVvE+t Y1F/8E6ZK0sKt10hvoAF2OXO5aBpzlPDf8tTU+QnV7mdie2+fIiqn4HfkyeEmjGLnvMJ ucfA== X-Received: by 10.194.87.34 with SMTP id u2mr33988699wjz.42.1416833422746; Mon, 24 Nov 2014 04:50:22 -0800 (PST) Received: from ivaldir.etoilebsd.net ([2001:41d0:8:db4c::1]) by mx.google.com with ESMTPSA id cq4sm20887340wjc.35.2014.11.24.04.50.21 for (version=TLSv1.2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Mon, 24 Nov 2014 04:50:22 -0800 (PST) Sender: Baptiste Daroussin Date: Mon, 24 Nov 2014 13:50:19 +0100 From: Baptiste Daroussin To: tech@mdocml.bsd.lv Subject: support another man.conf(5) format or extending it Message-ID: <20141124125019.GA11567@ivaldir.etoilebsd.net> X-Mailinglist: mdocml-tech Reply-To: tech@mdocml.bsd.lv MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="RASg3xLB4tUQ4RcS" Content-Disposition: inline User-Agent: Mutt/1.5.23 (2014-03-12) --RASg3xLB4tUQ4RcS Content-Type: multipart/mixed; boundary="bg08WKrSYDhXBjb5" Content-Disposition: inline --bg08WKrSYDhXBjb5 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Hi all, While working on integrating mandoc(1) into FreeBSD I have not yet integrated apropos and makewhatis because of the difference of format of man.conf(5). Will you be against that I modifiy the man.conf(5) parser so that is does support a minimum set of the FreeBSD's man.conf(5) ? BAsically I'm think about mostly: MANCONFIG MANPATH Here is the manpage of FreeBSD's version of man.conf(5) Btw I think I'll try to make FreeBSD tracking the CVS version of mdocml rather than the releases now because the CVS version works way better for me :) Btw here is a small patch to fix build when HAVE_MANPATH is set. Best regards, Bapt --bg08WKrSYDhXBjb5 Content-Type: text/x-diff; charset=us-ascii Content-Disposition: attachment; filename="manpath-havemanpath.diff" Content-Transfer-Encoding: quoted-printable Index: manpath.c =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 RCS file: /cvs/mdocml/manpath.c,v retrieving revision 1.18 diff -u -r1.18 manpath.c --- manpath.c 18 Nov 2014 19:41:47 -0000 1.18 +++ manpath.c 24 Nov 2014 11:26:19 -0000 @@ -80,7 +80,7 @@ if ( ! ferror(stream) && feof(stream) && bsz && '\n' =3D=3D buf[bsz - 1]) { buf[bsz - 1] =3D '\0'; - manpath_parseline(dirs, buf); + manpath_parseline(dirs, buf, 1); } =20 free(buf); --bg08WKrSYDhXBjb5-- --RASg3xLB4tUQ4RcS Content-Type: application/pgp-signature -----BEGIN PGP SIGNATURE----- Version: GnuPG v1 iEYEARECAAYFAlRzKYsACgkQ8kTtMUmk6Ezj5QCgqBL39bvCEXhCFmvI6JAFKocc Qj8AniiLtduGYvPD6LHxjlAWokJXPSUV =qST+ -----END PGP SIGNATURE----- --RASg3xLB4tUQ4RcS-- -- To unsubscribe send an email to tech+unsubscribe@mdocml.bsd.lv