Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 22 Jun 1997 23:49:23 -0700 (PDT)
From:      Joseph Stein <joes@spiritone.com>
To:        andrsn@andrsn.stanford.edu
Cc:        chuckr@glue.umd.edu, freebsd-hackers@freebsd.org
Subject:   Re: Handbook - ascii form??
Message-ID:  <199706230649.XAA01232@joes.users.spiritone.com>
In-Reply-To: <Pine.BSI.3.94.970622214919.18837A-100000@andrsn.stanford.edu> from Annelise Anderson at "Jun 22, 97 10:49:59 pm"

next in thread | previous in thread | raw e-mail | index | archive | help
> There aren't any ^H characters in the file, as far as I can tell.
> A hex dump shows all the duplicate letters.
> 
> Have you tried downloading handbook.ascii and applying these suggestions?
> >From the web/ftp site, which is where people interested in installing
> FreeBSD get it?

Yes, I've tried.  And it works:

Here is the output of 'hd' (HexDump) on the first fifty lines of handbook.ascii
that is linked to from http://www.freebsd.org/doc/handbook by way of
ftp://ftp.freebsd.org/FreeBSD/docs/handbook/handbook.ascii:


00000000  0a 0a 0a 0a 0a 0a 0a 0a  0a 09 09 09 20 20 20 20  |............    |
00000010  20 20 20 46 08 46 72 08  72 65 08 65 65 08 65 42  |   F.Fr.re.ee.eB|
                               ^^        ^^       ^^
			       ^H        ^H       ^H
00000020  08 42 53 08 53 44 08 44  20 48 08 48 61 08 61 6e  |.BS.SD.D H.Ha.an|
00000030  08 6e 64 08 64 62 08 62  6f 08 6f 6f 08 6f 6b 08  |.nd.db.bo.oo.ok.|
00000040  6b 0a 0a 09 09 20 20 20  20 20 20 20 54 68 65 20  |k....       The |
00000050  46 72 65 65 42 53 44 20  44 6f 63 75 6d 65 6e 74  |FreeBSD Document|
00000060  61 74 69 6f 6e 20 50 72  6f 6a 65 63 74 0a 0a 09  |ation Project...|
00000070  09 09 09 20 20 20 4d 61  79 20 31 39 39 37 0a 0a  |...   May 1997..|
00000080  0a 0a 09 09 09 09 20 20  20 41 08 41 62 08 62 73  |......   A.Ab.bs|
00000090  08 73 74 08 74 72 08 72  61 08 61 63 08 63 74 08  |.st.tr.ra.ac.ct.|
000000a0  74 0a 0a 20 20 20 20 20  57 65 6c 63 6f 6d 65 20  |t..     Welcome |
000000b0  74 6f 20 46 72 65 65 42  53 44 21 20 20 54 68 69  |to FreeBSD!  Thi|
000000c0  73 20 68 61 6e 64 62 6f  6f 6b 20 63 6f 76 65 72  |s handbook cover|
000000d0  73 20 74 68 65 20 69 6e  73 74 61 6c 6c 61 74 69  |s the installati|
000000e0  6f 6e 20 61 6e 64 20 64  61 79 20 74 6f 0a 20 20  |on and day to.  |
000000f0  20 20 20 64 61 79 20 75  73 65 20 6f 66 20 46 08  |   day use of F.|
00000100  46 72 08 72 65 08 65 65  08 65 42 08 42 53 08 53  |Fr.re.ee.eB.BS.S|
00000110  44 08 44 20 52 08 52 65  08 65 6c 08 6c 65 08 65  |D.D R.Re.el.le.e|
00000120  61 08 61 73 08 73 65 08  65 20 32 08 32 2e 08 2e  |a.as.se.e 2.2...|
00000130  32 08 32 2e 08 2e 32 08  32 2e 20 54 68 69 73 20  |2.2...2.2. This |
00000140  6d 61 6e 75 61 6c 20 69  73 20 61 20 77 08 77 6f  |manual is a w.wo|
00000150  08 6f 72 08 72 6b 08 6b  20 69 08 69 6e 08 6e 20  |.or.rk.k i.in.n |
00000160  70 08 70 72 08 72 6f 08  6f 67 08 67 72 08 72 65  |p.pr.ro.og.gr.re|
00000170  08 65 73 08 73 73 08 73  0a 20 20 20 20 20 61 6e  |.es.ss.s.     an|
00000180  64 20 69 73 20 74 68 65  20 77 6f 72 6b 20 6f 66  |d is the work of|
00000190  20 6d 61 6e 79 20 69 6e  64 69 76 69 64 75 61 6c  | many individual|
000001a0  73 2e 20 20 4d 61 6e 79  20 73 65 63 74 69 6f 6e  |s.  Many section|
000001b0  73 20 64 6f 20 6e 6f 74  20 79 65 74 20 65 78 69  |s do not yet exi|
000001c0  73 74 0a 20 20 20 20 20  61 6e 64 20 73 6f 6d 65  |st.     and some|
000001d0  20 6f 66 20 74 68 6f 73  65 20 74 68 61 74 20 64  | of those that d|
000001e0  6f 20 65 78 69 73 74 20  6e 65 65 64 20 74 6f 20  |o exist need to |
000001f0  62 65 20 75 70 64 61 74  65 64 2e 20 20 49 66 20  |be updated.  If |
00000200  79 6f 75 20 61 72 65 0a  20 20 20 20 20 69 6e 74  |you are.     int|
00000210  65 72 65 73 74 65 64 20  69 6e 20 68 65 6c 70 69  |erested in helpi|
00000220  6e 67 20 77 69 74 68 20  74 68 69 73 20 70 72 6f  |ng with this pro|
00000230  6a 65 63 74 2c 20 73 65  6e 64 20 65 6d 61 69 6c  |ject, send email|
00000240  20 74 6f 20 74 68 65 20  46 72 65 65 42 53 44 0a  | to the FreeBSD.|
00000250  20 20 20 20 20 64 6f 63  75 6d 65 6e 74 61 74 69  |     documentati|
00000260  6f 6e 20 70 72 6f 6a 65  63 74 20 6d 61 69 6c 69  |on project maili|
00000270  6e 67 20 6c 69 73 74 0a  20 20 20 20 20 20 20 3c  |ng list.       <|
00000280  66 72 65 65 62 73 64 2d  64 6f 63 40 46 72 65 65  |freebsd-doc@Free|
00000290  42 53 44 2e 4f 52 47 3e  20 54 68 65 20 6c 61 74  |BSD.ORG> The lat|
000002a0  65 73 74 20 76 65 72 73  69 6f 6e 20 6f 66 20 74  |est version of t|
000002b0  68 69 73 20 64 6f 63 75  6d 65 6e 74 20 69 73 0a  |his document is.|
000002c0  20 20 20 20 20 61 6c 77  61 79 73 20 61 76 61 69  |     always avai|
000002d0  6c 61 62 6c 65 20 66 72  6f 6d 20 74 68 65 20 46  |lable from the F|
000002e0  72 65 65 42 53 44 20 57  6f 72 6c 64 20 57 69 64  |reeBSD World Wid|
000002f0  65 20 57 65 62 20 73 65  72 76 65 72 31 20 2e 20  |e Web server1 . |
00000300  20 49 74 20 6d 61 79 0a  20 20 20 20 20 61 6c 73  | It may.     als|
00000310  6f 20 62 65 20 64 6f 77  6e 6c 6f 61 64 65 64 20  |o be downloaded |
00000320  69 6e 20 70 6c 61 69 6e  20 74 65 78 74 2c 20 70  |in plain text, p|
00000330  6f 73 74 73 63 72 69 70  74 20 6f 72 20 48 54 4d  |ostscript or HTM|
00000340  4c 20 66 72 6f 6d 20 74  68 65 20 46 72 65 65 42  |L from the FreeB|
00000350  53 44 0a 20 20 20 20 20  46 54 50 20 73 65 72 76  |SD.     FTP serv|
00000360  65 72 32 20 20 6f 72 20  6f 6e 65 20 6f 66 20 74  |er2  or one of t|
00000370  68 65 20 6e 75 6d 65 72  6f 75 73 20 5f 08 6d 5f  |he numerous _.m_|
00000380  08 69 5f 08 72 5f 08 72  5f 08 6f 5f 08 72 20 5f  |.i_.r_.r_.o_.r _|
          ^^       ^^       ^^        ^^       ^^
	  ^H       ^H       ^H        ^H       ^H
00000390  08 73 5f 08 69 5f 08 74  5f 08 65 5f 08 73 20 28  |.s_.i_.t_.e_.s (|
000003a0  73 65 63 74 69 6f 6e 20  32 33 2e 32 2c 20 70 61  |section 23.2, pa|
000003b0  67 65 0a 20 20 20 20 20  33 39 31 29 2e 20 20 59  |ge.     391).  Y|
000003c0  6f 75 20 6d 61 79 20 61  6c 73 6f 20 77 61 6e 74  |ou may also want|
000003d0  20 74 6f 20 53 65 61 72  63 68 20 74 68 65 20 48  | to Search the H|
000003e0  61 6e 64 62 6f 6f 6b 33  20 2e 0a 0a 0a 0a 0a 0a  |andbook3 .......|
000003f0  0a 0a 0a 0a 0a 0a 0a 0a  0a 0a 0a 0a 0a 0a 0a     |...............|
000003ff


Here is the same text after being put through "sed -e 's/.^V^H//g'":

00000000  0a 0a 0a 0a 0a 0a 0a 0a  0a 09 09 09 20 20 20 20  |............    |
00000010  20 20 20 46 72 65 65 42  53 44 20 48 61 6e 64 62  |   FreeBSD Handb|
00000020  6f 6f 6b 0a 0a 09 09 20  20 20 20 20 20 20 54 68  |ook....       Th|
00000030  65 20 46 72 65 65 42 53  44 20 44 6f 63 75 6d 65  |e FreeBSD Docume|
00000040  6e 74 61 74 69 6f 6e 20  50 72 6f 6a 65 63 74 0a  |ntation Project.|
00000050  0a 09 09 09 09 20 20 20  4d 61 79 20 31 39 39 37  |.....   May 1997|
00000060  0a 0a 0a 0a 09 09 09 09  20 20 20 41 62 73 74 72  |........   Abstr|
00000070  61 63 74 0a 0a 20 20 20  20 20 57 65 6c 63 6f 6d  |act..     Welcom|
00000080  65 20 74 6f 20 46 72 65  65 42 53 44 21 20 20 54  |e to FreeBSD!  T|
00000090  68 69 73 20 68 61 6e 64  62 6f 6f 6b 20 63 6f 76  |his handbook cov|
000000a0  65 72 73 20 74 68 65 20  69 6e 73 74 61 6c 6c 61  |ers the installa|
000000b0  74 69 6f 6e 20 61 6e 64  20 64 61 79 20 74 6f 0a  |tion and day to.|
000000c0  20 20 20 20 20 64 61 79  20 75 73 65 20 6f 66 20  |     day use of |
000000d0  46 72 65 65 42 53 44 20  52 65 6c 65 61 73 65 20  |FreeBSD Release |
000000e0  32 2e 32 2e 32 2e 20 54  68 69 73 20 6d 61 6e 75  |2.2.2. This manu|
000000f0  61 6c 20 69 73 20 61 20  77 6f 72 6b 20 69 6e 20  |al is a work in |
00000100  70 72 6f 67 72 65 73 73  0a 20 20 20 20 20 61 6e  |progress.     an|
00000110  64 20 69 73 20 74 68 65  20 77 6f 72 6b 20 6f 66  |d is the work of|
00000120  20 6d 61 6e 79 20 69 6e  64 69 76 69 64 75 61 6c  | many individual|
00000130  73 2e 20 20 4d 61 6e 79  20 73 65 63 74 69 6f 6e  |s.  Many section|
00000140  73 20 64 6f 20 6e 6f 74  20 79 65 74 20 65 78 69  |s do not yet exi|
00000150  73 74 0a 20 20 20 20 20  61 6e 64 20 73 6f 6d 65  |st.     and some|
00000160  20 6f 66 20 74 68 6f 73  65 20 74 68 61 74 20 64  | of those that d|
00000170  6f 20 65 78 69 73 74 20  6e 65 65 64 20 74 6f 20  |o exist need to |
00000180  62 65 20 75 70 64 61 74  65 64 2e 20 20 49 66 20  |be updated.  If |
00000190  79 6f 75 20 61 72 65 0a  20 20 20 20 20 69 6e 74  |you are.     int|
000001a0  65 72 65 73 74 65 64 20  69 6e 20 68 65 6c 70 69  |erested in helpi|
000001b0  6e 67 20 77 69 74 68 20  74 68 69 73 20 70 72 6f  |ng with this pro|
000001c0  6a 65 63 74 2c 20 73 65  6e 64 20 65 6d 61 69 6c  |ject, send email|
000001d0  20 74 6f 20 74 68 65 20  46 72 65 65 42 53 44 0a  | to the FreeBSD.|
000001e0  20 20 20 20 20 64 6f 63  75 6d 65 6e 74 61 74 69  |     documentati|
000001f0  6f 6e 20 70 72 6f 6a 65  63 74 20 6d 61 69 6c 69  |on project maili|
00000200  6e 67 20 6c 69 73 74 0a  20 20 20 20 20 20 20 3c  |ng list.       <|
00000210  66 72 65 65 62 73 64 2d  64 6f 63 40 46 72 65 65  |freebsd-doc@Free|
00000220  42 53 44 2e 4f 52 47 3e  20 54 68 65 20 6c 61 74  |BSD.ORG> The lat|
00000230  65 73 74 20 76 65 72 73  69 6f 6e 20 6f 66 20 74  |est version of t|
00000240  68 69 73 20 64 6f 63 75  6d 65 6e 74 20 69 73 0a  |his document is.|
00000250  20 20 20 20 20 61 6c 77  61 79 73 20 61 76 61 69  |     always avai|
00000260  6c 61 62 6c 65 20 66 72  6f 6d 20 74 68 65 20 46  |lable from the F|
00000270  72 65 65 42 53 44 20 57  6f 72 6c 64 20 57 69 64  |reeBSD World Wid|
00000280  65 20 57 65 62 20 73 65  72 76 65 72 31 20 2e 20  |e Web server1 . |
00000290  20 49 74 20 6d 61 79 0a  20 20 20 20 20 61 6c 73  | It may.     als|
000002a0  6f 20 62 65 20 64 6f 77  6e 6c 6f 61 64 65 64 20  |o be downloaded |
000002b0  69 6e 20 70 6c 61 69 6e  20 74 65 78 74 2c 20 70  |in plain text, p|
000002c0  6f 73 74 73 63 72 69 70  74 20 6f 72 20 48 54 4d  |ostscript or HTM|
000002d0  4c 20 66 72 6f 6d 20 74  68 65 20 46 72 65 65 42  |L from the FreeB|
000002e0  53 44 0a 20 20 20 20 20  46 54 50 20 73 65 72 76  |SD.     FTP serv|
000002f0  65 72 32 20 20 6f 72 20  6f 6e 65 20 6f 66 20 74  |er2  or one of t|
00000300  68 65 20 6e 75 6d 65 72  6f 75 73 20 6d 69 72 72  |he numerous mirr|
00000310  6f 72 20 73 69 74 65 73  20 28 73 65 63 74 69 6f  |or sites (sectio|
00000320  6e 20 32 33 2e 32 2c 20  70 61 67 65 0a 20 20 20  |n 23.2, page.   |
00000330  20 20 33 39 31 29 2e 20  20 59 6f 75 20 6d 61 79  |  391).  You may|
00000340  20 61 6c 73 6f 20 77 61  6e 74 20 74 6f 20 53 65  | also want to Se|
00000350  61 72 63 68 20 74 68 65  20 48 61 6e 64 62 6f 6f  |arch the Handboo|
00000360  6b 33 20 2e 0a 0a 0a 0a  0a 0a 0a 0a 0a 0a 0a 0a  |k3 .............|
00000370  0a 0a 0a 0a 0a 0a 0a 0a  0a                       |.........|
00000379

Still not convinced?

Sorry.  I don't mean to have the 'snotty tone', and I just realized that it's
there.  But, you've got to remember that the unix system utilities are
written to be used on the old-fashioned 'teletype' printers.  That's why
the output is the way it is.

The fact that modern day systems are attached to things like high-speed 
modems and laser-jet printers just hasn't come home to unix yet, unless you
have something like 'ghostscript' to run pinch-hitter for you.

If you'd like me to, I'll be more than happy to run a conversion on the
handbook and post it at ftp://ftp.spiritone.com/pub/users/joes/handbook.zip
(a dos zip file) for you.  In fact, it's already there.

joe




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?199706230649.XAA01232>