Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 26 Apr 2005 22:43:50 +0400
From:      Diomidis Spinellis <dds@aueb.gr>
To:        Emanuel Strobl <Emanuel.strobl@gmx.net>
Cc:        freebsd-questions@FreeBSD.ORG
Subject:   Re: groff alternative?
Message-ID:  <426E8BE6.7090800@aueb.gr>
In-Reply-To: <200504262010.49509@harrymail>
References:  <200504262010.49509@harrymail>

next in thread | previous in thread | raw e-mail | index | archive | help
Emanuel Strobl wrote:
> I'm using NO_CXX in my make.conf to strip down the base system to ~50MB 
> including man pages. The only problem is that groff is missing if I don't 
> build c++, and even if I build groff itself and the needed libstdc++ it costs 
> me about 10MB. If I just skip NO_CXX it's only 500k more, so I moved my 
> patches to /dev/null.
> Does anybody know any alternative for the groff part to view man pages simply 
> with the man command? It's horrible that the filter needs more space than all 
> the manpages itself!

Have you considered preformatting the manual pages on the development 
system, and copying over the pages into /usr/share/man/cat* of the 
shrinked-down system?

> And of course, even if I decide to leave system man pages outside the flash 
> card I still may want to read man pages of installed packages (which is 
> another mountpoint on my installation, so there may be no space limit, 
> depending on the card and additional drives)

Again, it appears your shrinked-down system has access to a more 
powerful machine.  You could modify man to run groff on the remote machine.

-- 
Diomidis - dds@ - http://www.spinellis.gr



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?426E8BE6.7090800>