X-Original-To: alpine-devel@lists.alpinelinux.org Delivered-To: alpine-devel@mail.alpinelinux.org Received: from mail.wtbts.no (mail.wtbts.no [213.234.126.131]) by mail.alpinelinux.org (Postfix) with ESMTP id 1E123D06EE5 for ; Thu, 2 Jun 2011 13:29:38 +0000 (UTC) Received: from localhost (bsna.nor.wtbts.net [127.0.0.1]) by mail.wtbts.no (Postfix) with ESMTP id 60C40AE4002; Thu, 2 Jun 2011 13:29:36 +0000 (UTC) X-Virus-Scanned: Yes Received: from mail.wtbts.no ([127.0.0.1]) by localhost (bsna.nor.wtbts.net [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id W5O+2pcSo0qN; Thu, 2 Jun 2011 13:29:26 +0000 (UTC) Received: from mail.ytre.org (extmail.nor.wtbts.net [10.65.72.14]) by mail.wtbts.no (Postfix) with ESMTP id 4816E376277; Thu, 2 Jun 2011 13:29:26 +0000 (UTC) Received: from mail.ytre.org (localhost [127.0.0.1]) by mail.ytre.org (Postfix) with ESMTP id E5A4960A7EF94; Thu, 2 Jun 2011 13:29:25 +0000 (UTC) Received: from ncopa-desktop.nor.wtbts.net (ncopa-desktop.nor.wtbts.net [10.65.65.1]) (using TLSv1 with cipher DHE-RSA-AES128-SHA (128/128 bits)) (No client certificate requested) (Authenticated sender: ncopa@ytre.org) by mail.ytre.org (Postfix) with ESMTPSA id C3C3260A7EF93; Thu, 2 Jun 2011 13:29:25 +0000 (UTC) Date: Thu, 2 Jun 2011 15:25:38 +0200 From: Natanael Copa To: Paul Onyschuk Cc: alpine-devel@lists.alpinelinux.org Subject: Re: [alpine-devel] [apkbuild] mdocml - man page tool Message-ID: <20110602152538.066ee77d@ncopa-desktop.nor.wtbts.net> In-Reply-To: <20110602144523.bfe3a323.blink@bojary.koba.pl> References: <20110601122435.20658e79.blink@bojary.koba.pl> <20110601124222.ee2575ed.blink@bojary.koba.pl> <20110602144523.bfe3a323.blink@bojary.koba.pl> X-Mailer: Claws Mail 3.7.9 (GTK+ 2.24.4; x86_64-unknown-linux-gnu) X-Mailinglist: alpine-devel Precedence: list List-Id: Alpine Development List-Unsubscribe: List-Post: List-Help: List-Subscribe: Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit X-Virus-Scanned: ClamAV using ClamSMTP On Thu, 2 Jun 2011 14:45:23 +0200 Paul Onyschuk wrote: > I founded man(1)/apropos(1)/whatis(1) commands written in pure shell > script. They were created by Gordon Tetlow, and can by obtained from > FreeBSD -HEAD repository[1]. > > They're bigger than Busybox man(1), but with them mdocml package could > be stanalone man toolset. File mk.sh could be copied to /usr/libexec > and symlinked to /usr/bin/man, /usr/bin/apropos and /usr/bin/whatis. It makes sense to use a separate toolset since we have separate -doc packages. ... > What is the point of all of this: > > - groff binaries are ~8.5MB (I don't count man(1) implementation, > which isn't small either), where Apline Linux base system can be > under 10MB > - mdocml binary is ~230KB and mk.sh is ~20KB > - mdocml is good enough replacment - some man pages can misbehave, but > mdocml is geting better every day and there is also problem with badly > formated man pages > - mdocml is much much faster, to get more groff-like feeling use: > $ sleep 0.7 && mandoc /usr/share/man/man1/some-man.1 | less The above reasons are more than enough. I've wanted mdocml for some time but never had time to follow it up properly. > I'm going into wilderness for few days, so this work will be > postponed. Thanks! I look forward to the continuation of this! > > [1] http://svnweb.freebsd.org/base/head/usr.bin/man/ > -nc --- Unsubscribe: alpine-devel+unsubscribe@lists.alpinelinux.org Help: alpine-devel+help@lists.alpinelinux.org ---