From owner-freebsd-questions@FreeBSD.ORG Fri Mar 2 16:30:03 2007 Return-Path: X-Original-To: freebsd-questions@freebsd.org Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id 5E74416A405 for ; Fri, 2 Mar 2007 16:30:03 +0000 (UTC) (envelope-from keramida@ceid.upatras.gr) Received: from igloo.linux.gr (igloo.linux.gr [62.1.205.36]) by mx1.freebsd.org (Postfix) with ESMTP id C939013C428 for ; Fri, 2 Mar 2007 16:30:02 +0000 (UTC) (envelope-from keramida@ceid.upatras.gr) Received: from kobe.laptop (host5.bedc.ondsl.gr [62.103.39.229]) (authenticated bits=128) by igloo.linux.gr (8.13.8/8.13.8/Debian-3) with ESMTP id l22GTPvQ010165 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NOT); Fri, 2 Mar 2007 18:29:33 +0200 Received: from kobe.laptop (kobe.laptop [127.0.0.1]) by kobe.laptop (8.13.8/8.13.8) with ESMTP id l22GT6mv027481; Fri, 2 Mar 2007 18:29:19 +0200 (EET) (envelope-from keramida@ceid.upatras.gr) Received: (from keramida@localhost) by kobe.laptop (8.13.8/8.13.8/Submit) id l22GSuNj027189; Fri, 2 Mar 2007 18:28:56 +0200 (EET) (envelope-from keramida@ceid.upatras.gr) Date: Fri, 2 Mar 2007 18:28:55 +0200 From: Giorgos Keramidas To: Mario Lobo Message-ID: <20070302162855.GA7250@kobe.laptop> References: <539c60b90703010849x33dd4bbbt8f6ca6aa0c8e83a0@mail.gmail.com> <45E70B8C.8010602@daleco.biz> <200703021127.42170.mario.lobo@ipad.com.br> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <200703021127.42170.mario.lobo@ipad.com.br> X-Hellug-MailScanner: Found to be clean X-Hellug-MailScanner-SpamCheck: not spam, SpamAssassin (not cached, score=-2.494, required 5, ALL_TRUSTED -1.80, AWL -0.31, BAYES_00 -2.60, BIZ_TLD 2.01, DNS_FROM_RFC_ABUSE 0.20) X-Hellug-MailScanner-From: keramida@ceid.upatras.gr X-Spam-Status: No Cc: freebsd-questions@freebsd.org Subject: Re: defrag X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 02 Mar 2007 16:30:03 -0000 On 2007-03-02 11:27, Mario Lobo wrote: > On Thursday 01 March 2007 17:27, Pietro Cerutti wrote: > > On 3/1/07, Kevin Kinsey wrote: > > > Kevin Kinsey wrote: > > > > > > groff /usr/share/doc/smm/05.fastfs/* > ~/ffs.ps > > This is what worked for me: > > [~]>gunzip -c /usr/share/doc/smm/05.fastfs/paper.ascii.gz > paper.ascii > [~]>groff paper.ascii > ffs.ps > [~]>ps2pdf ffs.ps > [~]>acroread ffs.pdf Actually 'paper.ascii' is a plain ASCII file with some 'escape sequences' -- like literal backspace and repeated characters, to denote *bold* text. It's not valid groff input AFAIK, but you can strip off the special characters with: gunzip -c /usr/share/doc/smm/05.fastfs/paper.ascii.gz > 05.fastfs.ascii col -b < 05.fastfs.ascii > 05.fastfs.txt && rm 05.fastfs.ascii Then you have a plain text version of 05.fastfs.txt, which can be converted to PS and/or PDF with tools like a2ps or enscript :)