From owner-freebsd-questions@FreeBSD.ORG Sun Jul 24 08:21:59 2011 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id C7CB81065670 for ; Sun, 24 Jul 2011 08:21:59 +0000 (UTC) (envelope-from guru@unixarea.de) Received: from ms16-1.1blu.de (ms16-1.1blu.de [89.202.0.34]) by mx1.freebsd.org (Postfix) with ESMTP id 84FF88FC22 for ; Sun, 24 Jul 2011 08:21:59 +0000 (UTC) Received: from [88.217.5.65] (helo=localhost.my.domain) by ms16-1.1blu.de with esmtpsa (TLS-1.0:DHE_RSA_AES_256_CBC_SHA1:32) (Exim 4.69) (envelope-from ) id 1Qktwk-0001uW-91 for freebsd-questions@freebsd.org; Sun, 24 Jul 2011 10:21:58 +0200 Received: from localhost.my.domain (localhost [127.0.0.1]) by localhost.my.domain (8.14.4/8.14.3) with ESMTP id p6O8LuoY016150 for ; Sun, 24 Jul 2011 10:21:56 +0200 (CEST) (envelope-from guru@unixarea.de) Received: (from guru@localhost) by localhost.my.domain (8.14.4/8.14.3/Submit) id p6O8Luds016149 for freebsd-questions@freebsd.org; Sun, 24 Jul 2011 10:21:56 +0200 (CEST) (envelope-from guru@unixarea.de) X-Authentication-Warning: localhost.my.domain: guru set sender to guru@unixarea.de using -f Date: Sun, 24 Jul 2011 10:21:56 +0200 From: Matthias Apitz To: freebsd-questions@freebsd.org Message-ID: <20110724082156.GA16096@tinyCurrent> References: <20110718104939.GA32254@sh4-5.1blu.de> MIME-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 Content-Disposition: inline Content-Transfer-Encoding: 8bit In-Reply-To: X-Operating-System: FreeBSD 8.0-CURRENT (i386) User-Agent: Mutt/1.5.21 (2010-09-15) X-Con-Id: 51246 X-Originating-IP: 88.217.5.65 Subject: Re: groff && UTF-8 X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: Matthias Apitz List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 24 Jul 2011 08:21:59 -0000 El día Saturday, July 23, 2011 a las 08:25:10PM +0000, Christian Weisgerber escribió: > > I've checked groff 1.21 from the ports but it seems to understand > > only making UTF-8 output with its driver -Tutf8. Is there a way to make > > it understand UTF-8 as input > > Use the preconv(1) command included with groff 1.21, or use the -k > or -K options with groff to automatically call preconv. Thanks for the hint. I have overlooked that after installing ports/textproc/groff, its man page is in $ man -M/usr/local/man/ groff Now, with preconv(1), which translates UTF-8 to `\[uXXXX]' it works; still have to check how to let grops(1) generate correct Postscript to use the FreeFonts... Btw: I have an older 9-CURRENT (r214444, from end of Octubre) and its ports does not have ports/textproc/groff; I was 1st thinking in some mistake of me on CVS checkout, but when one looks into the ports page: http://www.freebsd.org/cgi/cvsweb.cgi/ports/textproc/groff/ it says that the port was added 6 months ago... what does this mean? Wasn't there any groff before in the ports? I don't have any other (older) FreeBSD 8.x handy to check this. I nearly can't believe this. matthias -- Matthias Apitz t +49-89-61308 351 - f +49-89-61308 399 - m +49-170-4527211 e - w http://www.unixarea.de/