Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 22 Jun 1997 23:37:36 -0400 (EDT)
From:      Chuck Robey <chuckr@glue.umd.edu>
To:        Annelise Anderson <andrsn@andrsn.stanford.edu>
Cc:        Brian Somers <brian@awfulhak.org>, "Jordan K. Hubbard" <jkh@time.cdrom.com>, kleon@bellsouth.net, freebsd-hackers@FreeBSD.ORG
Subject:   Re: Handbook - ascii form??
Message-ID:  <Pine.BSF.3.96.970622233546.265Q-100000@Journey2.mat.net>
In-Reply-To: <Pine.BSI.3.94.970622190310.18039A-100000@andrsn.stanford.edu>

next in thread | previous in thread | raw e-mail | index | archive | help
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!
----------------------------+-----------------------------------------------




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?Pine.BSF.3.96.970622233546.265Q-100000>