From owner-freebsd-current@FreeBSD.ORG Wed Apr 27 06:18:11 2005 Return-Path: Delivered-To: freebsd-current@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id A67E616A4CE for ; Wed, 27 Apr 2005 06:18:11 +0000 (GMT) Received: from tower.berklix.org (bsd.bsn.com [194.221.32.7]) by mx1.FreeBSD.org (Postfix) with ESMTP id A0EFD43D2F for ; Wed, 27 Apr 2005 06:18:10 +0000 (GMT) (envelope-from jhs@flat.berklix.net) Received: from js.berklix.net (p549A758E.dip.t-dialin.net [84.154.117.142]) (authenticated bits=0) by tower.berklix.org (8.12.9p2/8.12.9) with ESMTP id j3R6I28o081096; Wed, 27 Apr 2005 08:18:03 +0200 (CEST) (envelope-from jhs@flat.berklix.net) Received: from fire.jhs.private (fire.jhs.private [192.168.91.41]) by js.berklix.net (8.12.11/8.12.11) with ESMTP id j3R6I0E7001031; Wed, 27 Apr 2005 08:18:01 +0200 (CEST) (envelope-from jhs@flat.berklix.net) Received: from fire.jhs.private (localhost [127.0.0.1]) by fire.jhs.private (8.13.1/8.13.1) with ESMTP id j3R6I0cT007044; Wed, 27 Apr 2005 08:18:00 +0200 (CEST) (envelope-from jhs@fire.jhs.private) Message-Id: <200504270618.j3R6I0cT007044@fire.jhs.private> To: Emanuel Strobl In-Reply-To: Message from Emanuel Strobl of "Tue, 26 Apr 2005 20:10:41 +0200." <200504262010.49509@harrymail> Date: Wed, 27 Apr 2005 08:18:00 +0200 From: "Julian H. Stacey" X-Mailman-Approved-At: Wed, 27 Apr 2005 12:02:52 +0000 cc: Phil Cockcroft cc: freebsd-current@freebsd.org Subject: Re: groff alternative? X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 27 Apr 2005 06:18:11 -0000 > cc: freebsd-questions@freebsd.org, freebsd-current@freebsd.org I dropped freebsd-question@freebsd.org to avoid cross posting, deprecated on FreeBSD.org lists. Emanuel Strobl wrote: > --nextPart3677596.j3orVY53Xm > Content-Type: text/plain; > charset="us-ascii" > Content-Transfer-Encoding: quoted-printable > Content-Disposition: inline > > Hello, > > I'm using NO_CXX in my make.conf to strip down the base system to ~50MB=20 > including man pages. The only problem is that groff is missing if I don't=20 > build c++, and even if I build groff itself and the needed libstdc++ it cos= > ts=20 > me about 10MB. If I just skip NO_CXX it's only 500k more, so I moved my=20 > patches to /dev/null. > > Now I wrote a port for GNU/groff, but this also consumes 9974k by default a= > nd=20 > I don't want to include patches into that port to strip down groff, if that= > =20 > was possible at all. > > Does anybody know any alternative for the groff part to view man pages simp= > ly=20 > with the man command? It's horrible that the filter needs more space than a= > ll=20 > the manpages itself! > > And of course, even if I decide to leave system man pages outside the flash= > =20 > card I still may want to read man pages of installed packages (which is=20 > another mountpoint on my installation, so there may be no space limit,=20 > depending on the card and additional drives) > > Thanks, > > =2DHarry Years back "Phil Cockcroft" cc'd wrote a simple roff tool for ascii formatting .rof stuff eg Unix manuals. Ran under dos & Unix. Some files are dated 1994. http://berklix.com/~jhs/src/odds/c/unix4dos/nroff du: 110K, doesnt need C++, Might need a little macro faking/ tweaking to do modern BSD manuals. - Julian Stacey Net & Sys Eng Consultant, Munich http://berklix.com Mail in Ascii (Html=Spam). Ihr Rauch = mein allergischer Kopfschmerz.