From owner-freebsd-hackers Sun Jun 22 20:38:16 1997 Return-Path: Received: (from root@localhost) by hub.freebsd.org (8.8.5/8.8.5) id UAA08838 for hackers-outgoing; Sun, 22 Jun 1997 20:38:16 -0700 (PDT) Received: from cais.cais.com (root@cais.com [199.0.216.4]) by hub.freebsd.org (8.8.5/8.8.5) with ESMTP id UAA08829 for ; Sun, 22 Jun 1997 20:38:13 -0700 (PDT) Received: from earth.mat.net (root@earth.mat.net [205.252.122.1]) by cais.cais.com (8.8.5/) with SMTP id XAA12026; Sun, 22 Jun 1997 23:37:50 -0400 (EDT) Received: from Journey2.mat.net (journey2.mat.net [205.252.122.116]) by earth.mat.net (8.6.12/8.6.12) with SMTP id XAA09192; Sun, 22 Jun 1997 23:37:48 -0400 Date: Sun, 22 Jun 1997 23:37:36 -0400 (EDT) From: Chuck Robey X-Sender: chuckr@Journey2.mat.net To: Annelise Anderson cc: Brian Somers , "Jordan K. Hubbard" , kleon@bellsouth.net, freebsd-hackers@FreeBSD.ORG Subject: Re: Handbook - ascii form?? In-Reply-To: Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: owner-hackers@FreeBSD.ORG X-Loop: FreeBSD.org Precedence: bulk On Sun, 22 Jun 1997, Annelise Anderson wrote: > > > On Sun, 22 Jun 1997, Brian Somers wrote: > > > Sorry - handbook.ascii is already generated. I was being > > stupid. I can appreciate that some people have problems with > > latin - DOS/Win stuff won't grok the ^Hs. I just didn't realize > > that .ascii is already there - despite being in that code only > > a few weeks ago. > > Well, I'll try this once more. > > I think what's happening is that whatever generates handbook.ascii > is broken. It is indeed generated; it's put on the server; it gets > downloaded, and this is the result: > > FFrreeeeBBSSDD HHaannddbbooookk > > The FreeBSD Documentation Project > > May 1997 > > AAbbssttrraacctt > > Welcome to FreeBSD! This handbook covers the installation and day to > day use of FFrreeeeBBSSDD RReelleeaassee 22..22..22. This manual is a wwoo > rrkk iinn pprrooggrreessss > [...] > also be downloaded in plain text, postscript or HTML from the FreeBSD > FTP server2 or one of the numerous _m_i_r_r_o_r _s_i_t_e_s (section 23.2, > > The various suggestions to repair this text, such as piping it through > col -b, running little sed scripts, and so forth are inappropriate from > the point of view that this document (and the FAQ, which has the same > problems) are supposed to be useful to people running dos/Windows as well > as people who may not yet be familiar with various unix utilities. > > But these suggestions also seem to be in error, because the downloaded > handbook.ascii doesn't have any ^H codes or any other codes in it; it's > what I would call hard-coded just as it appears above. Doing > substitutions for ^H or running it though col -b have no effect on it > whatsoever. > > Thus, the code that generates handbook.ascii is broken, right? sed -e "s/.^v^H//g" < handbook.ascii.orig > handbook.ascii groff does that to sorta fake the underlining and boldfacing. ----------------------------+----------------------------------------------- Chuck Robey | Interests include any kind of voice or data chuckr@eng.umd.edu | communications topic, C programming, and Unix. 213 Lakeside Drive Apt T-1 | Greenbelt, MD 20770 | I run Journey2 and picnic, both FreeBSD (301) 220-2114 | version 3.0 current -- and great FUN! ----------------------------+-----------------------------------------------