From owner-freebsd-doc Thu Nov 27 16:34:47 1997 Return-Path: Received: (from root@localhost) by hub.freebsd.org (8.8.7/8.8.7) id QAA04074 for doc-outgoing; Thu, 27 Nov 1997 16:34:47 -0800 (PST) (envelope-from owner-freebsd-doc) Received: from post.mail.demon.net (post-10.mail.demon.net [194.217.242.154]) by hub.freebsd.org (8.8.7/8.8.7) with SMTP id QAA04067 for ; Thu, 27 Nov 1997 16:34:42 -0800 (PST) (envelope-from fdocs@jraynard.demon.co.uk) Received: from jraynard.demon.co.uk ([158.152.42.77]) by post.mail.demon.net id aa1025347; 28 Nov 97 0:18 GMT Received: (from fdocs@localhost) by jraynard.demon.co.uk (8.8.8/8.8.7) id UAA00935; Thu, 27 Nov 1997 20:46:44 GMT (envelope-from fdocs) Message-ID: <19971127204642.46572@jraynard.demon.co.uk> Date: Thu, 27 Nov 1997 20:46:42 +0000 From: James Raynard To: Annelise Anderson Cc: freebsd-doc@freebsd.org Subject: Re: Handbook in HTML and Dos format References: <347B8323.DDA0C7FA@hkstar.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Mailer: Mutt 0.81e In-Reply-To: ; from Annelise Anderson on Wed, Nov 26, 1997 at 02:19:54PM -0800 Sender: owner-freebsd-doc@freebsd.org X-Loop: FreeBSD.org Precedence: bulk On Wed, Nov 26, 1997 at 02:19:54PM -0800, Annelise Anderson wrote: > > On Wed, 26 Nov 1997, Tom Leung wrote: > > > I also downloaded the Handbook in Dos format. However, there are some > > special characters inside. I guess that they are the formatting > > characters in the original document that supposed to be bold or > > underline. How can I properly format the document such that I can view > > or print the document properly? > > If you have Microsoft Word or WordPerfect, you can use them to delete > the ^H (backspace) characters that create boldface when the document > is called to the screen under certain unix utilities (e.g., "more" and > "less"). The simplest way to fix this is to run the ascii/latin1 output through a couple of filters: col -b < handbook.ascii | sed 's/$//' > FAQ.ascii.msdos This could be run before putting the files on the FTP site, or even added to the Makefile. (The 'col -b' gets rid of the backspaces and the sed expression puts a carriage return character at the end of each line so the lines break properly under DOS. Note that ^M signifies a CR character, NOT a caret followed by a capital M). -- In theory, theory is better than practice. In practice, it isn't. James Raynard, Edinburgh, Scotland. http://www.freebsd.org/~jraynard/