home *** CD-ROM | disk | FTP | other *** search
view JSON data
|
view as text
|
open on a Mac
|
open on a PC
This file was processed as: SHell self-extracting ARchive
(archive/shar).
You can browse this item here: help
Confidence | Program | Detection | Match Type | Support
|
---|
100%
| dexvert
| Newsgroup Content (archive/news)
| magic
| Supported |
100%
| dexvert
| SHell self-extracting ARchive (archive/shar)
| magic
| Supported |
100%
| dexvert
| Internet Message Format (text/imf)
| magic
| Supported |
1%
| dexvert
| Text File (text/txt)
| fallback
| Supported |
100%
| file
| news or mail, ASCII text
| default
| |
100%
| TrID
| E-Mail message (Var. 2)
| default
| |
100%
| checkBytes
| Printable ASCII
| default
| |
100%
| perlTextCheck
| Likely Text (Perl)
| default
| |
100%
| siegfried
| fmt/329 Shell Archive Format
| default
| |
100%
| detectItEasy
| Format: plain text[LF]
| default (weak)
| |
100%
| xdgMime
| message/rfc822
| default
|
|
hex view+--------+-------------------------+-------------------------+--------+--------+
|00000000| 46 72 6f 6d 3a 20 77 6e | 70 40 6b 69 6c 6c 65 72 |From: wn|p@killer|
|00000010| 2e 55 55 43 50 20 28 57 | 6f 6c 66 20 50 61 75 6c |.UUCP (W|olf Paul|
|00000020| 29 0a 4e 65 77 73 67 72 | 6f 75 70 73 3a 20 63 6f |).Newsgr|oups: co|
|00000030| 6d 70 2e 73 6f 75 72 63 | 65 73 2e 6d 69 73 63 0a |mp.sourc|es.misc.|
|00000040| 53 75 62 6a 65 63 74 3a | 20 76 30 32 69 30 31 38 |Subject:| v02i018|
|00000050| 3a 20 41 20 68 65 6c 70 | 20 63 6f 6d 6d 61 6e 64 |: A help| command|
|00000060| 0a 4d 65 73 73 61 67 65 | 2d 49 44 3a 20 3c 37 31 |.Message|-ID: <71|
|00000070| 32 39 40 6e 63 6f 61 73 | 74 2e 55 55 43 50 3e 0a |29@ncoas|t.UUCP>.|
|00000080| 44 61 74 65 3a 20 32 36 | 20 4a 61 6e 20 38 38 20 |Date: 26| Jan 88 |
|00000090| 30 33 3a 35 35 3a 33 38 | 20 47 4d 54 0a 41 70 70 |03:55:38| GMT.App|
|000000a0| 72 6f 76 65 64 3a 20 61 | 6c 6c 62 65 72 79 40 6e |roved: a|llbery@n|
|000000b0| 63 6f 61 73 74 2e 55 55 | 43 50 0a 0a 43 6f 6d 70 |coast.UU|CP..Comp|
|000000c0| 2e 73 6f 75 72 63 65 73 | 2e 6d 69 73 63 3a 20 56 |.sources|.misc: V|
|000000d0| 6f 6c 75 6d 65 20 32 2c | 20 49 73 73 75 65 20 31 |olume 2,| Issue 1|
|000000e0| 38 0a 53 75 62 6d 69 74 | 74 65 64 2d 42 79 3a 20 |8.Submit|ted-By: |
|000000f0| 57 6f 6c 66 20 50 61 75 | 6c 20 28 77 6e 70 40 6b |Wolf Pau|l (wnp@k|
|00000100| 69 6c 6c 65 72 2e 55 55 | 43 50 29 0a 41 72 63 68 |iller.UU|CP).Arch|
|00000110| 69 76 65 2d 4e 61 6d 65 | 3a 20 68 65 6c 70 0a 0a |ive-Name|: help..|
|00000120| 49 20 68 61 76 65 20 72 | 65 63 65 69 76 65 64 20 |I have r|eceived |
|00000130| 73 65 76 65 72 61 6c 20 | 72 65 71 75 65 73 74 73 |several |requests|
|00000140| 20 74 6f 20 70 6f 73 74 | 20 74 68 69 73 20 74 6f | to post| this to|
|00000150| 20 63 6f 6d 70 2e 73 6f | 75 72 63 65 73 2e 6d 69 | comp.so|urces.mi|
|00000160| 73 63 2c 0a 73 6f 20 49 | 20 61 6d 20 73 65 6e 64 |sc,.so I| am send|
|00000170| 69 6e 67 20 69 74 20 6f | 6e 20 74 6f 20 79 6f 75 |ing it o|n to you|
|00000180| 2e 0a 0a 57 6f 6c 66 20 | 4e 2e 20 50 61 75 6c 0a |...Wolf |N. Paul.|
|00000190| 69 68 6e 70 34 21 6b 69 | 6c 6c 65 72 21 77 6e 70 |ihnp4!ki|ller!wnp|
|000001a0| 0a 2d 2d 2d 2d 2d 2d 2d | 0a 23 21 20 2f 62 69 6e |.-------|.#! /bin|
|000001b0| 2f 73 68 0a 23 20 54 68 | 69 73 20 69 73 20 61 20 |/sh.# Th|is is a |
|000001c0| 73 68 65 6c 6c 20 61 72 | 63 68 69 76 65 2e 20 20 |shell ar|chive. |
|000001d0| 52 65 6d 6f 76 65 20 61 | 6e 79 74 68 69 6e 67 20 |Remove a|nything |
|000001e0| 62 65 66 6f 72 65 20 74 | 68 69 73 20 6c 69 6e 65 |before t|his line|
|000001f0| 2c 20 74 68 65 6e 20 75 | 6e 70 61 63 6b 0a 23 20 |, then u|npack.# |
|00000200| 69 74 20 62 79 20 73 61 | 76 69 6e 67 20 69 74 20 |it by sa|ving it |
|00000210| 69 6e 74 6f 20 61 20 66 | 69 6c 65 20 61 6e 64 20 |into a f|ile and |
|00000220| 74 79 70 69 6e 67 20 22 | 73 68 20 66 69 6c 65 22 |typing "|sh file"|
|00000230| 2e 20 20 54 6f 20 6f 76 | 65 72 77 72 69 74 65 20 |. To ov|erwrite |
|00000240| 65 78 69 73 74 69 6e 67 | 0a 23 20 66 69 6c 65 73 |existing|.# files|
|00000250| 2c 20 74 79 70 65 20 22 | 73 68 20 66 69 6c 65 20 |, type "|sh file |
|00000260| 2d 63 22 2e 20 20 59 6f | 75 20 63 61 6e 20 61 6c |-c". Yo|u can al|
|00000270| 73 6f 20 66 65 65 64 20 | 74 68 69 73 20 61 73 20 |so feed |this as |
|00000280| 73 74 61 6e 64 61 72 64 | 20 69 6e 70 75 74 20 76 |standard| input v|
|00000290| 69 61 0a 23 20 75 6e 73 | 68 61 72 2c 20 6f 72 20 |ia.# uns|har, or |
|000002a0| 62 79 20 74 79 70 69 6e | 67 20 22 73 68 20 3c 66 |by typin|g "sh <f|
|000002b0| 69 6c 65 22 2c 20 65 2e | 67 2e 2e 20 20 49 66 20 |ile", e.|g.. If |
|000002c0| 74 68 69 73 20 61 72 63 | 68 69 76 65 20 69 73 20 |this arc|hive is |
|000002d0| 63 6f 6d 70 6c 65 74 65 | 2c 20 79 6f 75 0a 23 20 |complete|, you.# |
|000002e0| 77 69 6c 6c 20 73 65 65 | 20 74 68 65 20 66 6f 6c |will see| the fol|
|000002f0| 6c 6f 77 69 6e 67 20 6d | 65 73 73 61 67 65 20 61 |lowing m|essage a|
|00000300| 74 20 74 68 65 20 65 6e | 64 3a 0a 23 09 09 22 45 |t the en|d:.#.."E|
|00000310| 6e 64 20 6f 66 20 73 68 | 65 6c 6c 20 61 72 63 68 |nd of sh|ell arch|
|00000320| 69 76 65 2e 22 0a 23 20 | 43 6f 6e 74 65 6e 74 73 |ive.".# |Contents|
|00000330| 3a 20 20 4d 61 6b 65 66 | 69 6c 65 20 52 45 41 44 |: Makef|ile READ|
|00000340| 4d 45 20 68 65 6c 70 2e | 63 20 68 65 6c 70 2e 6d |ME help.|c help.m|
|00000350| 61 6e 20 68 65 6c 70 66 | 69 6c 65 20 69 6e 66 6f |an helpf|ile info|
|00000360| 0a 23 20 57 72 61 70 70 | 65 64 20 62 79 20 77 6e |.# Wrapp|ed by wn|
|00000370| 70 40 6b 69 6c 6c 65 72 | 20 6f 6e 20 54 68 75 20 |p@killer| on Thu |
|00000380| 4a 61 6e 20 32 31 20 31 | 32 3a 32 34 3a 31 32 20 |Jan 21 1|2:24:12 |
|00000390| 31 39 38 38 0a 50 41 54 | 48 3d 2f 62 69 6e 3a 2f |1988.PAT|H=/bin:/|
|000003a0| 75 73 72 2f 62 69 6e 3a | 2f 75 73 72 2f 75 63 62 |usr/bin:|/usr/ucb|
|000003b0| 20 3b 20 65 78 70 6f 72 | 74 20 50 41 54 48 0a 69 | ; expor|t PATH.i|
|000003c0| 66 20 74 65 73 74 20 2d | 66 20 4d 61 6b 65 66 69 |f test -|f Makefi|
|000003d0| 6c 65 20 2d 61 20 22 24 | 7b 31 7d 22 20 21 3d 20 |le -a "$|{1}" != |
|000003e0| 22 2d 63 22 20 3b 20 74 | 68 65 6e 20 0a 20 20 65 |"-c" ; t|hen . e|
|000003f0| 63 68 6f 20 73 68 61 72 | 3a 20 57 69 6c 6c 20 6e |cho shar|: Will n|
|00000400| 6f 74 20 6f 76 65 72 2d | 77 72 69 74 65 20 65 78 |ot over-|write ex|
|00000410| 69 73 74 69 6e 67 20 66 | 69 6c 65 20 5c 22 4d 61 |isting f|ile \"Ma|
|00000420| 6b 65 66 69 6c 65 5c 22 | 0a 65 6c 73 65 0a 65 63 |kefile\"|.else.ec|
|00000430| 68 6f 20 73 68 61 72 3a | 20 45 78 74 72 61 63 74 |ho shar:| Extract|
|00000440| 69 6e 67 20 5c 22 4d 61 | 6b 65 66 69 6c 65 5c 22 |ing \"Ma|kefile\"|
|00000450| 20 5c 28 39 31 39 20 63 | 68 61 72 61 63 74 65 72 | \(919 c|haracter|
|00000460| 73 5c 29 0a 73 65 64 20 | 22 73 2f 5e 58 2f 2f 22 |s\).sed |"s/^X//"|
|00000470| 20 3e 4d 61 6b 65 66 69 | 6c 65 20 3c 3c 27 45 4e | >Makefi|le <<'EN|
|00000480| 44 5f 4f 46 5f 4d 61 6b | 65 66 69 6c 65 27 0a 58 |D_OF_Mak|efile'.X|
|00000490| 23 0a 58 23 20 4d 61 6b | 65 66 69 6c 65 20 66 6f |#.X# Mak|efile fo|
|000004a0| 72 20 48 65 6c 70 20 63 | 6f 6d 6d 61 6e 64 0a 58 |r Help c|ommand.X|
|000004b0| 23 0a 58 23 09 42 79 3a | 09 09 24 41 75 74 68 6f |#.X#.By:|..$Autho|
|000004c0| 72 3a 20 70 6c 6f 63 68 | 65 72 20 24 20 20 28 4a |r: ploch|er $ (J|
|000004d0| 6f 68 6e 20 50 6c 6f 63 | 68 65 72 29 0a 58 23 09 |ohn Ploc|her).X#.|
|000004e0| 09 09 24 52 65 76 69 73 | 69 6f 6e 3a 20 31 2e 30 |..$Revis|ion: 1.0|
|000004f0| 20 24 0a 58 23 09 4c 61 | 73 74 20 6d 6f 64 69 66 | $.X#.La|st modif|
|00000500| 69 65 64 3a 09 24 44 61 | 74 65 3a 20 38 37 2f 31 |ied:.$Da|te: 87/1|
|00000510| 32 2f 32 36 20 32 33 3a | 33 34 3a 33 30 20 24 0a |2/26 23:|34:30 $.|
|00000520| 58 23 09 53 6f 75 72 63 | 65 20 69 73 20 69 6e 3a |X#.Sourc|e is in:|
|00000530| 09 24 53 6f 75 72 63 65 | 3a 20 2f 75 2f 6d 69 63 |.$Source|: /u/mic|
|00000540| 72 6f 70 6f 72 74 2f 73 | 72 63 2f 68 65 6c 70 2f |roport/s|rc/help/|
|00000550| 52 43 53 2f 4d 61 6b 65 | 66 69 6c 65 2c 76 20 24 |RCS/Make|file,v $|
|00000560| 0a 58 23 0a 58 23 09 52 | 65 6c 65 61 73 65 20 73 |.X#.X#.R|elease s|
|00000570| 74 61 74 65 3a 09 24 53 | 74 61 74 65 3a 20 50 6f |tate:.$S|tate: Po|
|00000580| 73 74 65 64 20 24 0a 58 | 23 0a 58 23 20 4d 6f 64 |sted $.X|#.X# Mod|
|00000590| 69 66 69 63 61 74 69 6f | 6e 20 4c 6f 67 0a 58 23 |ificatio|n Log.X#|
|000005a0| 20 2d 2d 2d 2d 2d 2d 2d | 2d 2d 2d 2d 2d 2d 2d 2d | -------|--------|
|000005b0| 2d 0a 58 23 0a 58 23 20 | 24 4c 6f 67 3a 09 4d 61 |-.X#.X# |$Log:.Ma|
|000005c0| 6b 65 66 69 6c 65 2c 76 | 20 24 0a 58 23 20 52 65 |kefile,v| $.X# Re|
|000005d0| 76 69 73 69 6f 6e 20 31 | 2e 30 20 20 38 37 2f 31 |vision 1|.0 87/1|
|000005e0| 32 2f 32 36 20 20 32 33 | 3a 33 34 3a 33 30 20 20 |2/26 23|:34:30 |
|000005f0| 70 6c 6f 63 68 65 72 0a | 58 23 20 49 6e 69 74 69 |plocher.|X# Initi|
|00000600| 61 6c 20 72 65 76 69 73 | 69 6f 6e 0a 58 23 20 0a |al revis|ion.X# .|
|00000610| 58 23 0a 58 23 09 24 48 | 65 61 64 65 72 3a 20 4d |X#.X#.$H|eader: M|
|00000620| 61 6b 65 66 69 6c 65 2c | 76 20 31 2e 30 20 38 37 |akefile,|v 1.0 87|
|00000630| 2f 31 32 2f 32 36 20 32 | 33 3a 33 34 3a 33 30 20 |/12/26 2|3:34:30 |
|00000640| 70 6c 6f 63 68 65 72 20 | 50 6f 73 74 65 64 20 24 |plocher |Posted $|
|00000650| 0a 58 23 0a 58 0a 58 53 | 48 45 4c 4c 3d 2f 62 69 |.X#.X.XS|HELL=/bi|
|00000660| 6e 2f 73 68 0a 58 0a 58 | 23 20 57 68 65 72 65 20 |n/sh.X.X|# Where |
|00000670| 79 6f 75 20 70 75 74 20 | 79 6f 75 72 20 6c 6f 63 |you put |your loc|
|00000680| 61 6c 20 62 69 6e 61 72 | 69 65 73 2e 2e 2e 0a 58 |al binar|ies....X|
|00000690| 4c 4f 43 41 4c 3d 20 2f | 75 73 72 2f 6c 6f 63 61 |LOCAL= /|usr/loca|
|000006a0| 6c 0a 58 48 45 4c 50 44 | 49 52 3d 20 2f 75 73 72 |l.XHELPD|IR= /usr|
|000006b0| 2f 6c 69 62 0a 58 0a 58 | 61 6c 6c 3a 09 68 65 6c |/lib.X.X|all:.hel|
|000006c0| 70 0a 58 0a 58 68 65 6c | 70 3a 09 68 65 6c 70 2e |p.X.Xhel|p:.help.|
|000006d0| 6f 0a 58 09 63 63 20 2d | 6f 20 68 65 6c 70 20 68 |o.X.cc -|o help h|
|000006e0| 65 6c 70 2e 6f 0a 58 0a | 58 69 6e 73 74 61 6c 6c |elp.o.X.|Xinstall|
|000006f0| 3a 20 61 6c 6c 0a 58 09 | 63 68 6f 77 6e 20 72 6f |: all.X.|chown ro|
|00000700| 6f 74 20 68 65 6c 70 0a | 58 09 63 68 6d 6f 64 20 |ot help.|X.chmod |
|00000710| 37 35 35 20 68 65 6c 70 | 0a 58 09 63 68 6d 6f 64 |755 help|.X.chmod|
|00000720| 20 75 2b 73 20 68 65 6c | 70 0a 58 09 69 66 20 5b | u+s hel|p.X.if [|
|00000730| 20 2d 66 20 2f 75 73 72 | 2f 62 69 6e 2f 68 65 6c | -f /usr|/bin/hel|
|00000740| 70 20 5d 20 3b 20 74 68 | 65 6e 20 20 6d 76 20 2f |p ] ; th|en mv /|
|00000750| 75 73 72 2f 62 69 6e 2f | 68 65 6c 70 20 2f 75 73 |usr/bin/|help /us|
|00000760| 72 2f 62 69 6e 2f 68 65 | 6c 70 2e 53 56 20 3b 20 |r/bin/he|lp.SV ; |
|00000770| 66 69 0a 58 09 72 6d 20 | 2d 66 20 24 28 4c 4f 43 |fi.X.rm |-f $(LOC|
|00000780| 41 4c 29 2f 68 65 6c 70 | 0a 58 09 63 70 20 68 65 |AL)/help|.X.cp he|
|00000790| 6c 70 20 24 28 4c 4f 43 | 41 4c 29 0a 58 09 63 68 |lp $(LOC|AL).X.ch|
|000007a0| 6f 77 6e 20 72 6f 6f 74 | 20 68 65 6c 70 66 69 6c |own root| helpfil|
|000007b0| 65 0a 58 09 63 68 6d 6f | 64 20 36 34 34 20 68 65 |e.X.chmo|d 644 he|
|000007c0| 6c 70 66 69 6c 65 0a 58 | 09 69 6e 73 74 61 6c 6c |lpfile.X|.install|
|000007d0| 20 2d 63 20 24 28 48 45 | 4c 50 44 49 52 29 20 68 | -c $(HE|LPDIR) h|
|000007e0| 65 6c 70 66 69 6c 65 0a | 58 0a 58 75 6e 69 6e 73 |elpfile.|X.Xunins|
|000007f0| 74 61 6c 6c 3a 0a 58 09 | 72 6d 20 2d 66 20 24 28 |tall:.X.|rm -f $(|
|00000800| 4c 4f 43 41 4c 29 2f 68 | 65 6c 70 20 24 28 48 45 |LOCAL)/h|elp $(HE|
|00000810| 4c 50 44 49 52 29 2f 68 | 65 6c 70 66 69 6c 65 20 |LPDIR)/h|elpfile |
|00000820| 24 28 48 45 4c 50 44 49 | 52 29 2f 68 65 6c 70 66 |$(HELPDI|R)/helpf|
|00000830| 69 6c 65 2e 69 64 78 0a | 58 0a 58 63 6c 65 61 6e |ile.idx.|X.Xclean|
|00000840| 3a 0a 58 09 72 6d 20 2d | 66 20 68 65 6c 70 2e 6f |:.X.rm -|f help.o|
|00000850| 20 68 65 6c 70 0a 45 4e | 44 5f 4f 46 5f 4d 61 6b | help.EN|D_OF_Mak|
|00000860| 65 66 69 6c 65 0a 69 66 | 20 74 65 73 74 20 39 31 |efile.if| test 91|
|00000870| 39 20 2d 6e 65 20 60 77 | 63 20 2d 63 20 3c 4d 61 |9 -ne `w|c -c <Ma|
|00000880| 6b 65 66 69 6c 65 60 3b | 20 74 68 65 6e 0a 20 20 |kefile`;| then. |
|00000890| 20 20 65 63 68 6f 20 73 | 68 61 72 3a 20 5c 22 4d | echo s|har: \"M|
|000008a0| 61 6b 65 66 69 6c 65 5c | 22 20 75 6e 70 61 63 6b |akefile\|" unpack|
|000008b0| 65 64 20 77 69 74 68 20 | 77 72 6f 6e 67 20 73 69 |ed with |wrong si|
|000008c0| 7a 65 21 0a 66 69 0a 23 | 20 65 6e 64 20 6f 66 20 |ze!.fi.#| end of |
|000008d0| 6f 76 65 72 77 72 69 74 | 69 6e 67 20 63 68 65 63 |overwrit|ing chec|
|000008e0| 6b 0a 66 69 0a 69 66 20 | 74 65 73 74 20 2d 66 20 |k.fi.if |test -f |
|000008f0| 52 45 41 44 4d 45 20 2d | 61 20 22 24 7b 31 7d 22 |README -|a "${1}"|
|00000900| 20 21 3d 20 22 2d 63 22 | 20 3b 20 74 68 65 6e 20 | != "-c"| ; then |
|00000910| 0a 20 20 65 63 68 6f 20 | 73 68 61 72 3a 20 57 69 |. echo |shar: Wi|
|00000920| 6c 6c 20 6e 6f 74 20 6f | 76 65 72 2d 77 72 69 74 |ll not o|ver-writ|
|00000930| 65 20 65 78 69 73 74 69 | 6e 67 20 66 69 6c 65 20 |e existi|ng file |
|00000940| 5c 22 52 45 41 44 4d 45 | 5c 22 0a 65 6c 73 65 0a |\"README|\".else.|
|00000950| 65 63 68 6f 20 73 68 61 | 72 3a 20 45 78 74 72 61 |echo sha|r: Extra|
|00000960| 63 74 69 6e 67 20 5c 22 | 52 45 41 44 4d 45 5c 22 |cting \"|README\"|
|00000970| 20 5c 28 32 33 33 34 20 | 63 68 61 72 61 63 74 65 | \(2334 |characte|
|00000980| 72 73 5c 29 0a 73 65 64 | 20 22 73 2f 5e 58 2f 2f |rs\).sed| "s/^X//|
|00000990| 22 20 3e 52 45 41 44 4d | 45 20 3c 3c 27 45 4e 44 |" >READM|E <<'END|
|000009a0| 5f 4f 46 5f 52 45 41 44 | 4d 45 27 0a 58 53 75 62 |_OF_READ|ME'.XSub|
|000009b0| 6a 65 63 74 3a 20 32 38 | 36 20 53 6f 75 72 63 65 |ject: 28|6 Source|
|000009c0| 3a 20 41 20 48 65 6c 70 | 20 43 6f 6d 6d 61 6e 64 |: A Help| Command|
|000009d0| 20 66 6f 72 20 73 79 73 | 74 65 6d 73 20 77 69 74 | for sys|tems wit|
|000009e0| 68 20 6c 69 6d 69 74 65 | 64 20 64 69 73 6b 20 73 |h limite|d disk s|
|000009f0| 70 61 63 65 0a 58 4d 65 | 73 73 61 67 65 2d 49 64 |pace.XMe|ssage-Id|
|00000a00| 3a 20 3c 38 37 31 32 32 | 32 31 33 35 37 2e 41 41 |: <87122|21357.AA|
|00000a10| 32 39 31 31 31 40 6b 69 | 6c 6c 65 72 2e 55 55 43 |29111@ki|ller.UUC|
|00000a20| 50 3e 0a 58 44 61 74 65 | 3a 20 32 32 20 44 65 63 |P>.XDate|: 22 Dec|
|00000a30| 20 38 37 20 31 33 3a 35 | 37 3a 32 32 20 43 53 54 | 87 13:5|7:22 CST|
|00000a40| 20 28 54 75 65 29 0a 58 | 0a 58 52 43 53 49 4e 46 | (Tue).X|.XRCSINF|
|00000a50| 4f 3a 20 24 48 65 61 64 | 65 72 3a 20 52 45 41 44 |O: $Head|er: READ|
|00000a60| 4d 45 2c 76 20 31 2e 30 | 20 38 37 2f 31 32 2f 31 |ME,v 1.0| 87/12/1|
|00000a70| 38 20 31 38 3a 32 32 3a | 32 39 20 77 6e 70 20 50 |8 18:22:|29 wnp P|
|00000a80| 6f 73 74 65 64 20 24 0a | 58 0a 58 54 68 65 20 65 |osted $.|X.XThe e|
|00000a90| 6e 63 6c 6f 73 65 64 20 | 69 73 20 61 20 22 68 65 |nclosed |is a "he|
|00000aa0| 6c 70 22 20 63 6f 6d 6d | 61 6e 64 2c 20 70 61 74 |lp" comm|and, pat|
|00000ab0| 74 65 72 6e 65 64 20 61 | 66 74 65 72 20 74 68 65 |terned a|fter the|
|00000ac0| 20 68 65 6c 70 20 63 6f | 6d 6d 61 6e 64 0a 58 64 | help co|mmand.Xd|
|00000ad0| 69 73 74 72 69 62 75 74 | 65 64 20 77 69 74 68 20 |istribut|ed with |
|00000ae0| 4d 4b 53 20 54 6f 6f 6c | 6b 69 74 20 2d 2d 20 69 |MKS Tool|kit -- i|
|00000af0| 6e 20 66 61 63 74 2c 20 | 69 66 20 79 6f 75 20 68 |n fact, |if you h|
|00000b00| 61 76 65 20 74 68 65 20 | 54 6f 6f 6c 6b 69 74 2c |ave the |Toolkit,|
|00000b10| 0a 58 79 6f 75 20 63 6f | 75 6c 64 20 75 73 65 20 |.Xyou co|uld use |
|00000b20| 74 68 65 69 72 20 68 65 | 6c 70 66 69 6c 65 20 61 |their he|lpfile a|
|00000b30| 73 20 61 20 73 74 61 72 | 74 69 6e 67 20 70 6f 69 |s a star|ting poi|
|00000b40| 6e 74 20 66 6f 72 20 61 | 20 55 4e 49 58 20 53 79 |nt for a| UNIX Sy|
|00000b50| 73 56 0a 58 68 65 6c 70 | 66 69 6c 65 2e 0a 58 0a |sV.Xhelp|file..X.|
|00000b60| 58 49 66 20 79 6f 75 20 | 64 6f 6e 27 74 20 68 61 |XIf you |don't ha|
|00000b70| 76 65 20 74 68 65 20 54 | 6f 6f 6c 6b 69 74 2c 20 |ve the T|oolkit, |
|00000b80| 79 6f 75 20 63 61 6e 20 | 63 6f 6e 73 74 72 75 63 |you can |construc|
|00000b90| 74 20 61 20 68 65 6c 70 | 66 69 6c 65 20 62 79 0a |t a help|file by.|
|00000ba0| 58 67 6c 65 61 6e 69 6e | 67 20 73 68 6f 72 74 20 |Xgleanin|g short |
|00000bb0| 63 6f 6d 6d 61 6e 64 20 | 64 65 73 63 72 69 70 74 |command |descript|
|00000bc0| 69 6f 6e 73 20 66 72 6f | 6d 20 79 6f 75 72 20 6d |ions fro|m your m|
|00000bd0| 61 6e 75 61 6c 2c 20 61 | 6e 64 20 61 64 64 69 6e |anual, a|nd addin|
|00000be0| 67 0a 58 74 68 65 6d 20 | 74 6f 20 22 2f 75 73 72 |g.Xthem |to "/usr|
|00000bf0| 2f 6c 69 62 2f 68 65 6c | 70 66 69 6c 65 22 2c 20 |/lib/hel|pfile", |
|00000c00| 61 63 63 6f 72 64 69 6e | 67 20 74 68 65 20 74 68 |accordin|g the th|
|00000c10| 65 20 70 61 74 74 65 72 | 6e 20 6f 66 20 74 68 65 |e patter|n of the|
|00000c20| 20 70 61 72 74 69 61 6c | 0a 58 68 65 6c 70 66 69 | partial|.Xhelpfi|
|00000c30| 6c 65 20 73 68 6f 77 6e | 20 62 65 6c 6f 77 2e 0a |le shown| below..|
|00000c40| 58 0a 58 49 20 66 69 6e | 64 20 74 68 69 73 20 68 |X.XI fin|d this h|
|00000c50| 65 6c 70 20 63 6f 6d 6d | 61 6e 64 20 6d 6f 72 65 |elp comm|and more|
|00000c60| 20 75 73 65 66 75 6c 20 | 74 68 61 6e 20 74 68 65 | useful |than the|
|00000c70| 20 68 65 6c 70 20 73 79 | 73 74 65 6d 20 64 69 73 | help sy|stem dis|
|00000c80| 74 72 69 62 75 74 65 64 | 20 77 69 74 68 0a 58 53 |tributed| with.XS|
|00000c90| 79 73 74 65 6d 20 56 2c | 20 65 73 70 65 63 69 61 |ystem V,| especia|
|00000ca0| 6c 6c 79 20 6f 6e 20 6d | 61 63 68 69 6e 65 73 20 |lly on m|achines |
|00000cb0| 77 69 74 68 20 6c 69 6d | 69 74 65 64 20 64 69 73 |with lim|ited dis|
|00000cc0| 6b 20 73 70 61 63 65 2c | 20 77 68 65 72 65 20 69 |k space,| where i|
|00000cd0| 74 20 69 73 20 6e 6f 74 | 0a 58 70 72 61 63 74 69 |t is not|.Xpracti|
|00000ce0| 63 61 6c 20 74 6f 20 6b | 65 65 70 20 74 68 65 20 |cal to k|eep the |
|00000cf0| 6d 61 6e 75 61 6c 73 20 | 6f 6e 2d 6c 69 6e 65 2e |manuals |on-line.|
|00000d00| 0a 58 0a 58 54 68 65 20 | 70 72 6f 67 72 61 6d 20 |.X.XThe |program |
|00000d10| 75 73 65 73 20 61 6e 20 | 69 6e 64 65 78 66 69 6c |uses an |indexfil|
|00000d20| 65 2c 20 2f 75 73 72 2f | 6c 69 62 2f 68 65 6c 70 |e, /usr/|lib/help|
|00000d30| 69 6e 64 65 78 2c 20 74 | 6f 20 73 70 65 65 64 20 |index, t|o speed |
|00000d40| 75 70 20 61 63 63 65 73 | 73 3b 0a 58 69 66 20 74 |up acces|s;.Xif t|
|00000d50| 68 65 20 69 6e 64 65 78 | 66 69 6c 65 20 64 6f 65 |he index|file doe|
|00000d60| 73 20 6e 6f 74 20 65 78 | 69 73 74 2c 20 6f 72 20 |s not ex|ist, or |
|00000d70| 69 73 20 6f 6c 64 65 72 | 20 74 68 61 6e 20 2f 75 |is older| than /u|
|00000d80| 73 72 2f 6c 69 62 2f 68 | 65 6c 70 66 69 6c 65 20 |sr/lib/h|elpfile |
|00000d90| 28 69 6e 64 69 63 61 74 | 69 6e 67 0a 58 74 68 61 |(indicat|ing.Xtha|
|00000da0| 74 20 74 68 65 20 68 65 | 6c 70 66 69 6c 65 20 68 |t the he|lpfile h|
|00000db0| 61 73 20 62 65 65 6e 20 | 75 70 64 61 74 65 64 29 |as been |updated)|
|00000dc0| 2c 20 74 68 65 20 70 72 | 6f 67 72 61 6d 20 77 69 |, the pr|ogram wi|
|00000dd0| 6c 6c 20 62 75 69 6c 64 | 20 61 20 6e 65 77 20 69 |ll build| a new i|
|00000de0| 6e 64 65 78 66 69 6c 65 | 2e 0a 58 0a 58 43 6f 6d |ndexfile|..X.XCom|
|00000df0| 70 69 6c 65 20 6e 6f 72 | 6d 61 6c 6c 79 2c 20 28 |pile nor|mally, (|
|00000e00| 73 6d 61 6c 6c 20 6d 6f | 64 65 6c 20 6f 6e 20 55 |small mo|del on U|
|00000e10| 70 6f 72 74 20 56 2f 32 | 38 36 29 2c 20 74 68 65 |port V/2|86), the|
|00000e20| 6e 20 69 6e 76 6f 6b 65 | 20 61 73 20 22 68 65 6c |n invoke| as "hel|
|00000e30| 70 22 2e 20 54 68 65 0a | 58 70 72 6f 67 72 61 6d |p". The.|Xprogram|
|00000e40| 20 73 68 6f 75 6c 64 20 | 62 65 20 6f 77 6e 65 64 | should |be owned|
|00000e50| 20 62 79 20 72 6f 6f 74 | 20 61 6e 64 20 73 75 69 | by root| and sui|
|00000e60| 64 2c 20 73 6f 20 69 74 | 20 63 61 6e 20 77 72 69 |d, so it| can wri|
|00000e70| 74 65 20 69 6e 20 2f 75 | 73 72 2f 6c 69 62 20 28 |te in /u|sr/lib (|
|00000e80| 74 6f 0a 58 72 65 63 72 | 65 61 74 65 20 74 68 65 |to.Xrecr|eate the|
|00000e90| 20 69 6e 64 65 78 20 66 | 69 6c 65 20 61 73 20 6e | index f|ile as n|
|00000ea0| 65 65 64 65 64 2e 29 2e | 0a 58 0a 58 54 68 65 20 |eeded.).|.X.XThe |
|00000eb0| 68 65 6c 70 66 69 6c 65 | 20 62 65 6c 6f 77 20 63 |helpfile| below c|
|00000ec0| 6f 6e 73 69 73 74 73 20 | 6f 66 20 74 68 6f 73 65 |onsists |of those|
|00000ed0| 20 68 65 6c 70 20 65 6e | 74 72 69 65 73 20 77 68 | help en|tries wh|
|00000ee0| 69 63 68 20 49 20 68 61 | 76 65 20 61 64 64 65 64 |ich I ha|ve added|
|00000ef0| 20 74 6f 0a 58 74 68 65 | 20 4d 4b 53 20 54 6f 6f | to.Xthe| MKS Too|
|00000f00| 6c 6b 69 74 20 66 69 6c | 65 20 74 6f 20 75 73 65 |lkit fil|e to use|
|00000f10| 20 77 69 74 68 20 6d 79 | 20 55 4e 49 58 20 73 79 | with my| UNIX sy|
|00000f20| 73 74 65 6d 2e 20 49 20 | 64 6f 20 6e 6f 74 20 66 |stem. I |do not f|
|00000f30| 65 65 6c 20 66 72 65 65 | 20 74 6f 0a 58 70 6f 73 |eel free| to.Xpos|
|00000f40| 74 20 74 68 65 20 4d 4b | 53 20 68 65 6c 70 66 69 |t the MK|S helpfi|
|00000f50| 6c 65 2c 20 73 69 6e 63 | 65 20 69 74 20 69 73 20 |le, sinc|e it is |
|00000f60| 6e 6f 20 64 6f 75 62 74 | 20 28 63 29 20 62 79 20 |no doubt| (c) by |
|00000f70| 4d 4b 53 2e 0a 58 0a 58 | 50 75 74 20 74 68 65 20 |MKS..X.X|Put the |
|00000f80| 68 65 6c 70 66 69 6c 65 | 20 69 6e 74 6f 20 2f 75 |helpfile| into /u|
|00000f90| 73 72 2f 6c 69 62 2f 68 | 65 6c 70 66 69 6c 65 2c |sr/lib/h|elpfile,|
|00000fa0| 20 6f 72 20 63 68 61 6e | 67 65 20 74 68 65 20 72 | or chan|ge the r|
|00000fb0| 65 66 65 72 65 6e 63 65 | 73 20 74 68 65 72 65 74 |eference|s theret|
|00000fc0| 6f 20 69 6e 0a 58 68 65 | 6c 70 2e 63 2e 0a 58 0a |o in.Xhe|lp.c..X.|
|00000fd0| 58 49 20 68 6f 70 65 20 | 74 68 69 73 20 69 73 20 |XI hope |this is |
|00000fe0| 68 65 6c 70 66 75 6c 2e | 20 43 69 76 69 6c 20 61 |helpful.| Civil a|
|00000ff0| 6e 64 20 63 6f 6e 73 74 | 72 75 63 74 69 76 65 20 |nd const|ructive |
|00001000| 63 6f 6d 6d 65 6e 74 73 | 20 61 72 65 20 69 6e 76 |comments| are inv|
|00001010| 69 74 65 64 20 74 6f 0a | 58 69 68 6e 70 34 21 6b |ited to.|Xihnp4!k|
|00001020| 69 6c 6c 65 72 21 64 63 | 73 21 77 6e 70 2c 20 66 |iller!dc|s!wnp, f|
|00001030| 6c 61 6d 65 73 20 73 68 | 6f 75 6c 64 20 62 65 20 |lames sh|ould be |
|00001040| 64 69 72 65 63 74 65 64 | 20 74 6f 20 2f 64 65 76 |directed| to /dev|
|00001050| 2f 6e 75 6c 6c 2e 0a 58 | 0a 58 57 6f 6c 66 20 4e |/null..X|.XWolf N|
|00001060| 2e 20 50 61 75 6c 0a 58 | 69 68 6e 70 34 21 6b 69 |. Paul.X|ihnp4!ki|
|00001070| 6c 6c 65 72 21 64 63 73 | 21 77 6e 70 0a 58 0a 58 |ller!dcs|!wnp.X.X|
|00001080| 0a 58 50 2e 53 2e 20 53 | 69 6e 63 65 20 66 69 72 |.XP.S. S|ince fir|
|00001090| 73 74 20 70 6f 73 74 69 | 6e 67 20 74 68 69 73 20 |st posti|ng this |
|000010a0| 74 6f 20 63 6f 6d 70 2e | 75 6e 69 78 2e 6d 69 63 |to comp.|unix.mic|
|000010b0| 72 6f 70 6f 72 74 2c 20 | 61 6e 6f 74 68 65 72 20 |roport, |another |
|000010c0| 61 70 70 6c 69 63 61 74 | 69 6f 6e 0a 58 68 61 73 |applicat|ion.Xhas|
|000010d0| 20 62 65 65 6e 20 73 75 | 67 67 65 73 74 65 64 20 | been su|ggested |
|000010e0| 66 6f 72 20 74 68 69 73 | 20 63 6f 6d 6d 61 6e 64 |for this| command|
|000010f0| 20 2d 20 61 6e 20 6f 6e | 6c 69 6e 65 2c 20 66 72 | - an on|line, fr|
|00001100| 65 65 2d 66 6f 72 6d 20 | 6e 6f 74 65 62 6f 6f 6b |ee-form |notebook|
|00001110| 2e 0a 58 0a 58 41 63 74 | 75 61 6c 6c 79 2c 20 61 |..X.XAct|ually, a|
|00001120| 6e 79 20 6b 69 6e 64 20 | 6f 66 20 69 6e 66 6f 72 |ny kind |of infor|
|00001130| 6d 61 74 69 6f 6e 20 63 | 61 6e 20 62 65 20 6b 65 |mation c|an be ke|
|00001140| 70 74 20 69 6e 20 61 20 | 22 68 65 6c 70 66 69 6c |pt in a |"helpfil|
|00001150| 65 22 20 66 6f 72 20 74 | 68 69 73 0a 58 63 6f 6d |e" for t|his.Xcom|
|00001160| 6d 61 6e 64 2c 20 61 73 | 20 6c 6f 6e 67 20 61 73 |mand, as| long as|
|00001170| 20 65 61 63 68 20 69 74 | 65 6d 20 6f 66 20 69 6e | each it|em of in|
|00001180| 66 6f 20 73 74 61 72 74 | 73 20 77 69 74 68 20 61 |fo start|s with a|
|00001190| 20 6c 69 6e 65 20 63 6f | 6e 74 61 69 6e 69 6e 67 | line co|ntaining|
|000011a0| 0a 58 27 23 27 20 61 6e | 64 20 61 20 6e 75 6d 62 |.X'#' an|d a numb|
|000011b0| 65 72 20 6f 66 20 6b 65 | 79 77 6f 72 64 73 20 73 |er of ke|ywords s|
|000011c0| 65 70 61 72 61 74 65 64 | 20 62 79 20 63 6f 6d 6d |eparated| by comm|
|000011d0| 61 73 20 28 63 75 72 72 | 65 6e 74 6c 79 20 65 61 |as (curr|ently ea|
|000011e0| 63 68 20 6b 65 79 77 6f | 72 64 0a 58 6d 75 73 74 |ch keywo|rd.Xmust|
|000011f0| 20 62 65 20 6c 65 73 73 | 20 74 68 61 6e 20 31 34 | be less| than 14|
|00001200| 20 63 68 61 72 61 63 74 | 65 72 73 20 6c 6f 6e 67 | charact|ers long|
|00001210| 20 61 6e 64 20 63 61 6e | 6e 6f 74 20 63 6f 6e 74 | and can|not cont|
|00001220| 61 69 6e 20 77 68 69 74 | 65 20 73 70 61 63 65 29 |ain whit|e space)|
|00001230| 2e 0a 58 4a 6f 68 6e 20 | 50 6c 6f 63 68 65 72 27 |..XJohn |Plocher'|
|00001240| 73 20 61 64 64 69 74 69 | 6f 6e 20 6f 66 20 6c 6f |s additi|on of lo|
|00001250| 6f 6b 69 6e 67 20 61 74 | 20 24 48 45 4c 50 44 49 |oking at| $HELPDI|
|00001260| 52 20 61 6e 64 20 24 48 | 45 4c 50 46 49 4c 45 20 |R and $H|ELPFILE |
|00001270| 70 65 72 6d 69 74 73 20 | 6f 6e 65 0a 58 74 6f 20 |permits |one.Xto |
|00001280| 70 75 74 20 69 6e 66 6f | 20 69 6e 74 6f 20 61 20 |put info| into a |
|00001290| 66 69 6c 65 20 24 48 4f | 4d 45 2f 2e 6e 6f 74 65 |file $HO|ME/.note|
|000012a0| 62 6f 6f 6b 2c 20 61 6e | 64 20 74 6f 20 61 63 63 |book, an|d to acc|
|000012b0| 65 73 73 20 69 74 20 75 | 73 69 6e 67 20 74 68 65 |ess it u|sing the|
|000012c0| 20 65 6e 63 6c 6f 73 65 | 64 0a 58 22 69 6e 66 6f | enclose|d.X"info|
|000012d0| 22 20 73 68 65 6c 6c 73 | 63 72 69 70 74 2e 0a 58 |" shells|cript..X|
|000012e0| 0a 58 41 67 61 69 6e 2c | 20 69 20 68 6f 70 65 20 |.XAgain,| i hope |
|000012f0| 74 68 69 73 20 69 20 68 | 65 6c 70 66 75 6c 2e 0a |this i h|elpful..|
|00001300| 45 4e 44 5f 4f 46 5f 52 | 45 41 44 4d 45 0a 69 66 |END_OF_R|EADME.if|
|00001310| 20 74 65 73 74 20 32 33 | 33 34 20 2d 6e 65 20 60 | test 23|34 -ne `|
|00001320| 77 63 20 2d 63 20 3c 52 | 45 41 44 4d 45 60 3b 20 |wc -c <R|EADME`; |
|00001330| 74 68 65 6e 0a 20 20 20 | 20 65 63 68 6f 20 73 68 |then. | echo sh|
|00001340| 61 72 3a 20 5c 22 52 45 | 41 44 4d 45 5c 22 20 75 |ar: \"RE|ADME\" u|
|00001350| 6e 70 61 63 6b 65 64 20 | 77 69 74 68 20 77 72 6f |npacked |with wro|
|00001360| 6e 67 20 73 69 7a 65 21 | 0a 66 69 0a 23 20 65 6e |ng size!|.fi.# en|
|00001370| 64 20 6f 66 20 6f 76 65 | 72 77 72 69 74 69 6e 67 |d of ove|rwriting|
|00001380| 20 63 68 65 63 6b 0a 66 | 69 0a 69 66 20 74 65 73 | check.f|i.if tes|
|00001390| 74 20 2d 66 20 68 65 6c | 70 2e 63 20 2d 61 20 22 |t -f hel|p.c -a "|
|000013a0| 24 7b 31 7d 22 20 21 3d | 20 22 2d 63 22 20 3b 20 |${1}" !=| "-c" ; |
|000013b0| 74 68 65 6e 20 0a 20 20 | 65 63 68 6f 20 73 68 61 |then . |echo sha|
|000013c0| 72 3a 20 57 69 6c 6c 20 | 6e 6f 74 20 6f 76 65 72 |r: Will |not over|
|000013d0| 2d 77 72 69 74 65 20 65 | 78 69 73 74 69 6e 67 20 |-write e|xisting |
|000013e0| 66 69 6c 65 20 5c 22 68 | 65 6c 70 2e 63 5c 22 0a |file \"h|elp.c\".|
|000013f0| 65 6c 73 65 0a 65 63 68 | 6f 20 73 68 61 72 3a 20 |else.ech|o shar: |
|00001400| 45 78 74 72 61 63 74 69 | 6e 67 20 5c 22 68 65 6c |Extracti|ng \"hel|
|00001410| 70 2e 63 5c 22 20 5c 28 | 36 32 35 30 20 63 68 61 |p.c\" \(|6250 cha|
|00001420| 72 61 63 74 65 72 73 5c | 29 0a 73 65 64 20 22 73 |racters\|).sed "s|
|00001430| 2f 5e 58 2f 2f 22 20 3e | 68 65 6c 70 2e 63 20 3c |/^X//" >|help.c <|
|00001440| 3c 27 45 4e 44 5f 4f 46 | 5f 68 65 6c 70 2e 63 27 |<'END_OF|_help.c'|
|00001450| 0a 58 2f 2a 0a 58 20 2a | 20 4e 61 6d 65 3a 20 20 |.X/*.X *| Name: |
|00001460| 20 20 68 65 6c 70 2e 63 | 0a 58 20 2a 20 50 75 72 | help.c|.X * Pur|
|00001470| 70 6f 73 65 3a 20 64 69 | 73 70 6c 61 79 20 68 65 |pose: di|splay he|
|00001480| 6c 70 20 61 62 6f 75 74 | 20 63 6f 6d 6d 61 6e 64 |lp about| command|
|00001490| 73 20 26 20 73 79 73 74 | 65 6d 20 66 65 61 74 75 |s & syst|em featu|
|000014a0| 72 65 73 0a 58 20 2a 20 | 53 79 6e 74 61 78 3a 20 |res.X * |Syntax: |
|000014b0| 20 68 65 6c 70 20 5b 63 | 6d 64 5d 0a 58 20 2a 20 | help [c|md].X * |
|000014c0| 43 6f 6d 6d 65 6e 74 3a | 20 48 65 6c 70 20 64 69 |Comment:| Help di|
|000014d0| 73 70 6c 61 79 73 20 68 | 65 6c 70 20 73 63 72 65 |splays h|elp scre|
|000014e0| 65 6e 73 20 6f 6e 20 61 | 6c 6c 20 75 73 65 72 20 |ens on a|ll user |
|000014f0| 63 6f 6d 6d 61 6e 64 73 | 0a 58 20 2a 20 20 20 20 |commands|.X * |
|00001500| 20 20 20 20 20 20 61 73 | 20 73 65 74 20 75 70 20 | as| set up |
|00001510| 69 6e 20 74 68 65 20 66 | 69 6c 65 20 2f 75 73 72 |in the f|ile /usr|
|00001520| 2f 6c 69 62 2f 68 65 6c | 70 66 69 6c 65 2e 0a 58 |/lib/hel|pfile..X|
|00001530| 20 2a 20 20 20 20 20 20 | 20 20 20 20 49 74 20 69 | * | It i|
|00001540| 73 20 70 61 72 74 69 63 | 75 6c 61 72 6c 79 20 75 |s partic|ularly u|
|00001550| 73 65 66 75 6c 20 6f 6e | 20 73 79 73 74 65 6d 73 |seful on| systems|
|00001560| 20 77 69 74 68 20 72 65 | 73 74 72 69 63 74 65 64 | with re|stricted|
|00001570| 20 0a 58 20 2a 20 20 20 | 20 20 20 20 20 20 20 64 | .X * | d|
|00001580| 69 73 6b 73 70 61 63 65 | 2c 20 77 68 65 72 65 20 |iskspace|, where |
|00001590| 69 74 20 69 73 20 6e 6f | 74 20 70 72 61 63 74 69 |it is no|t practi|
|000015a0| 63 61 6c 20 74 6f 20 6b | 65 65 70 20 74 68 65 20 |cal to k|eep the |
|000015b0| 6d 61 6e 75 61 6c 73 0a | 58 20 2a 20 20 20 20 20 |manuals.|X * |
|000015c0| 20 20 20 20 20 6f 6e 2d | 6c 69 6e 65 2e 0a 58 20 | on-|line..X |
|000015d0| 2a 20 20 20 20 20 20 20 | 20 20 20 54 68 65 20 63 |* | The c|
|000015e0| 6f 6d 6d 61 6e 64 20 69 | 73 20 70 61 74 74 65 72 |ommand i|s patter|
|000015f0| 6e 65 64 20 61 66 74 65 | 72 20 74 68 65 20 4d 4b |ned afte|r the MK|
|00001600| 53 20 54 6f 6f 6c 6b 69 | 74 20 63 6f 6d 6d 61 6e |S Toolki|t comman|
|00001610| 64 0a 58 20 2a 20 20 20 | 20 20 20 20 20 20 20 6f |d.X * | o|
|00001620| 66 20 74 68 65 20 73 61 | 6d 65 20 6e 61 6d 65 2e |f the sa|me name.|
|00001630| 20 49 66 20 6e 6f 20 2f | 75 73 72 2f 6c 69 62 2f | If no /|usr/lib/|
|00001640| 68 65 6c 70 69 6e 64 65 | 78 20 66 69 6c 65 20 65 |helpinde|x file e|
|00001650| 78 69 73 74 73 2c 20 6f | 72 20 69 66 0a 58 20 2a |xists, o|r if.X *|
|00001660| 20 20 20 20 20 20 20 20 | 20 20 69 74 20 69 73 20 | | it is |
|00001670| 6f 6c 64 65 72 20 74 68 | 61 6e 20 74 68 65 20 68 |older th|an the h|
|00001680| 65 6c 70 66 69 6c 65 2c | 20 61 20 6e 65 77 20 68 |elpfile,| a new h|
|00001690| 65 6c 70 69 6e 64 65 78 | 20 77 69 6c 6c 20 62 65 |elpindex| will be|
|000016a0| 0a 58 20 2a 20 20 20 20 | 20 20 20 20 20 20 63 72 |.X * | cr|
|000016b0| 65 61 74 65 64 20 74 6f | 20 61 6c 6c 6f 77 20 66 |eated to| allow f|
|000016c0| 61 73 74 65 72 20 61 63 | 63 65 73 73 20 74 6f 20 |aster ac|cess to |
|000016d0| 74 68 65 20 68 65 6c 70 | 73 63 72 65 65 6e 73 20 |the help|screens |
|000016e0| 62 79 0a 58 20 2a 20 20 | 20 20 20 20 20 20 20 20 |by.X * | |
|000016f0| 6d 65 61 6e 73 20 6f 66 | 20 66 73 65 65 6b 28 29 |means of| fseek()|
|00001700| 2e 0a 58 20 2a 20 20 20 | 20 20 20 20 20 20 20 44 |..X * | D|
|00001710| 65 73 69 72 61 62 6c 65 | 20 65 6e 68 61 6e 63 65 |esirable| enhance|
|00001720| 6d 65 6e 74 73 20 77 6f | 75 6c 64 20 69 6e 63 6c |ments wo|uld incl|
|00001730| 75 64 65 20 74 68 65 20 | 70 6f 73 73 69 62 69 6c |ude the |possibil|
|00001740| 69 74 79 20 74 6f 0a 58 | 20 2a 20 20 20 20 20 20 |ity to.X| * |
|00001750| 20 20 20 20 68 61 76 65 | 20 68 65 6c 70 20 6c 6f | have| help lo|
|00001760| 6f 6b 20 69 6e 20 61 6e | 20 65 6e 76 69 72 6f 6e |ok in an| environ|
|00001770| 6d 65 6e 74 20 76 61 72 | 69 61 62 6c 65 20 48 45 |ment var|iable HE|
|00001780| 4c 50 46 49 4c 45 20 66 | 6f 72 0a 58 20 2a 20 20 |LPFILE f|or.X * |
|00001790| 20 20 20 20 20 20 20 20 | 61 6e 20 61 6c 74 65 72 | |an alter|
|000017a0| 6e 61 74 65 20 6f 72 20 | 61 64 64 69 74 69 6f 6e |nate or |addition|
|000017b0| 61 6c 20 68 65 6c 70 66 | 69 6c 65 2c 0a 58 20 2a |al helpf|ile,.X *|
|000017c0| 20 20 20 20 20 20 20 20 | 20 20 20 20 20 20 5b 20 | | [ |
|000017d0| 44 6f 6e 65 20 62 79 20 | 4a 6f 68 6e 20 50 6c 6f |Done by |John Plo|
|000017e0| 63 68 65 72 20 2d 20 75 | 73 65 73 20 48 45 4c 50 |cher - u|ses HELP|
|000017f0| 44 49 52 20 74 6f 20 73 | 65 74 20 74 68 65 20 64 |DIR to s|et the d|
|00001800| 69 72 65 63 74 6f 72 79 | 0a 58 20 2a 20 20 20 20 |irectory|.X * |
|00001810| 20 20 20 20 20 20 20 20 | 20 20 77 68 65 72 65 20 | | where |
|00001820| 74 68 65 20 68 65 6c 70 | 20 66 69 6c 65 20 61 6e |the help| file an|
|00001830| 64 20 69 74 73 20 69 6e | 64 65 78 20 61 72 65 2e |d its in|dex are.|
|00001840| 20 20 49 74 20 61 6c 73 | 6f 20 75 73 65 73 20 48 | It als|o uses H|
|00001850| 45 4c 50 46 49 4c 45 0a | 58 20 2a 20 20 20 20 20 |ELPFILE.|X * |
|00001860| 20 20 20 20 20 20 20 20 | 20 74 6f 20 67 69 76 65 | | to give|
|00001870| 20 74 68 65 20 6e 61 6d | 65 20 6f 66 20 74 68 65 | the nam|e of the|
|00001880| 20 64 61 74 61 20 66 69 | 6c 65 20 28 24 48 45 4c | data fi|le ($HEL|
|00001890| 50 46 49 4c 45 2e 69 64 | 78 20 69 73 20 74 68 65 |PFILE.id|x is the|
|000018a0| 20 69 6e 64 65 78 29 0a | 58 20 2a 20 20 20 20 20 | index).|X * |
|000018b0| 20 20 20 20 20 20 20 20 | 20 64 65 66 61 75 6c 74 | | default|
|000018c0| 73 20 61 72 65 20 22 2f | 75 73 72 2f 6c 69 62 22 |s are "/|usr/lib"|
|000018d0| 20 61 6e 64 20 22 68 65 | 6c 70 66 69 6c 65 22 20 | and "he|lpfile" |
|000018e0| 5d 0a 58 20 2a 20 20 20 | 20 20 20 20 20 20 20 61 |].X * | a|
|000018f0| 6e 64 2f 6f 72 20 74 6f | 20 68 61 76 65 20 68 65 |nd/or to| have he|
|00001900| 6c 70 20 6c 6f 6f 6b 20 | 69 6e 20 24 48 4f 4d 45 |lp look |in $HOME|
|00001910| 2f 2e 68 65 6c 70 66 69 | 6c 65 20 69 66 20 61 20 |/.helpfi|le if a |
|00001920| 63 6f 6d 6d 61 6e 64 0a | 58 20 2a 20 20 20 20 20 |command.|X * |
|00001930| 20 20 20 20 20 69 73 20 | 6e 6f 74 20 66 6f 75 6e | is |not foun|
|00001940| 64 20 69 6e 20 74 68 65 | 20 64 65 66 61 75 6c 74 |d in the| default|
|00001950| 20 68 65 6c 70 66 69 6c | 65 2e 0a 58 20 2a 20 20 | helpfil|e..X * |
|00001960| 20 20 20 20 20 20 20 20 | 41 6e 6f 74 68 65 72 20 | |Another |
|00001970| 75 73 65 66 75 6c 20 66 | 65 61 74 75 72 65 20 77 |useful f|eature w|
|00001980| 6f 75 6c 64 20 62 65 20 | 74 68 65 20 70 6f 73 73 |ould be |the poss|
|00001990| 69 62 69 6c 69 74 79 20 | 6f 66 20 75 73 69 6e 67 |ibility |of using|
|000019a0| 0a 58 20 2a 20 20 20 20 | 20 20 20 20 20 20 61 20 |.X * | a |
|000019b0| 70 61 67 65 72 20 73 70 | 65 63 69 66 69 65 64 20 |pager sp|ecified |
|000019c0| 62 79 20 24 50 41 47 45 | 52 20 74 6f 20 6f 75 74 |by $PAGE|R to out|
|000019d0| 70 75 74 20 74 68 65 20 | 68 65 6c 70 20 69 6e 66 |put the |help inf|
|000019e0| 6f 2c 20 73 69 6e 63 65 | 0a 58 20 2a 20 20 20 20 |o, since|.X * |
|000019f0| 20 20 20 20 20 20 61 20 | 66 65 77 20 65 6e 74 72 | a |few entr|
|00001a00| 69 65 73 20 28 73 74 74 | 79 2c 20 76 69 2c 20 2e |ies (stt|y, vi, .|
|00001a10| 2e 2e 29 20 61 72 65 20 | 6c 6f 6e 67 65 72 20 74 |..) are |longer t|
|00001a20| 68 61 6e 20 6f 6e 65 20 | 73 63 72 65 65 6e 2e 0a |han one |screen..|
|00001a30| 58 20 2a 20 20 20 20 20 | 20 20 20 20 20 4e 6f 20 |X * | No |
|00001a40| 64 6f 75 62 74 20 74 68 | 65 20 63 6f 64 69 6e 67 |doubt th|e coding|
|00001a50| 20 63 6f 75 6c 64 20 62 | 65 20 63 6f 6e 73 69 64 | could b|e consid|
|00001a60| 65 72 61 62 6c 79 20 69 | 6d 70 72 6f 76 65 64 2c |erably i|mproved,|
|00001a70| 20 61 6e 64 0a 58 20 2a | 20 20 20 20 20 20 20 20 | and.X *| |
|00001a80| 20 20 61 6e 79 20 73 75 | 67 67 65 73 74 69 6f 6e | any su|ggestion|
|00001a90| 73 20 77 6f 75 6c 64 20 | 62 65 20 6d 6f 72 65 20 |s would |be more |
|00001aa0| 74 68 61 6e 20 77 65 6c | 63 6f 6d 65 2e 0a 58 20 |than wel|come..X |
|00001ab0| 2a 20 41 75 74 68 6f 72 | 3a 20 20 57 6f 6c 66 20 |* Author|: Wolf |
|00001ac0| 50 61 75 6c 2c 20 69 68 | 6e 70 34 21 6b 69 6c 6c |Paul, ih|np4!kill|
|00001ad0| 65 72 21 64 63 73 21 77 | 6e 70 0a 58 20 2a 20 44 |er!dcs!w|np.X * D|
|00001ae0| 61 74 65 3a 20 20 20 20 | 44 65 63 2e 20 31 38 2c |ate: |Dec. 18,|
|00001af0| 20 31 39 38 37 0a 58 20 | 2a 0a 58 20 2a 09 52 65 | 1987.X |*.X *.Re|
|00001b00| 76 69 73 69 6f 6e 20 43 | 6f 6e 74 72 6f 6c 20 49 |vision C|ontrol I|
|00001b10| 6e 66 6f 72 6d 61 74 69 | 6f 6e 0a 58 20 2a 0a 58 |nformati|on.X *.X|
|00001b20| 20 2a 09 4c 61 73 74 20 | 65 64 69 74 65 64 20 62 | *.Last |edited b|
|00001b30| 79 3a 09 24 41 75 74 68 | 6f 72 3a 20 70 6c 6f 63 |y:.$Auth|or: ploc|
|00001b40| 68 65 72 20 24 0a 58 20 | 2a 09 09 09 24 52 65 76 |her $.X |*...$Rev|
|00001b50| 69 73 69 6f 6e 3a 20 31 | 2e 31 20 24 0a 58 20 2a |ision: 1|.1 $.X *|
|00001b60| 09 4c 61 73 74 20 6d 6f | 64 69 66 69 65 64 3a 09 |.Last mo|dified:.|
|00001b70| 24 44 61 74 65 3a 20 38 | 37 2f 31 32 2f 32 36 20 |$Date: 8|7/12/26 |
|00001b80| 32 33 3a 33 34 3a 35 30 | 20 24 0a 58 20 2a 09 53 |23:34:50| $.X *.S|
|00001b90| 6f 75 72 63 65 20 69 73 | 20 69 6e 3a 09 24 53 6f |ource is| in:.$So|
|00001ba0| 75 72 63 65 3a 20 2f 75 | 2f 6d 69 63 72 6f 70 6f |urce: /u|/micropo|
|00001bb0| 72 74 2f 73 72 63 2f 68 | 65 6c 70 2f 52 43 53 2f |rt/src/h|elp/RCS/|
|00001bc0| 68 65 6c 70 2e 63 2c 76 | 20 24 0a 58 20 2a 0a 58 |help.c,v| $.X *.X|
|00001bd0| 20 2a 09 52 65 6c 65 61 | 73 65 20 73 74 61 74 65 | *.Relea|se state|
|00001be0| 3a 09 24 53 74 61 74 65 | 3a 20 50 6f 73 74 65 64 |:.$State|: Posted|
|00001bf0| 20 24 0a 58 20 2a 0a 58 | 20 2a 20 4d 6f 64 69 66 | $.X *.X| * Modif|
|00001c00| 69 63 61 74 69 6f 6e 20 | 4c 6f 67 0a 58 20 2a 20 |ication |Log.X * |
|00001c10| 2d 2d 2d 2d 2d 2d 2d 2d | 2d 2d 2d 2d 2d 2d 2d 2d |--------|--------|
|00001c20| 0a 58 20 2a 0a 58 20 2a | 09 24 4c 6f 67 3a 09 68 |.X *.X *|.$Log:.h|
|00001c30| 65 6c 70 2e 63 2c 76 20 | 24 0a 58 20 2a 09 52 65 |elp.c,v |$.X *.Re|
|00001c40| 76 69 73 69 6f 6e 20 31 | 2e 31 20 20 38 37 2f 31 |vision 1|.1 87/1|
|00001c50| 32 2f 32 36 20 20 32 33 | 3a 33 34 3a 35 30 20 20 |2/26 23|:34:50 |
|00001c60| 70 6c 6f 63 68 65 72 0a | 58 20 2a 09 41 64 64 65 |plocher.|X *.Adde|
|00001c70| 64 20 65 6e 76 69 72 6f | 6d 65 6e 74 20 76 61 72 |d enviro|ment var|
|00001c80| 69 61 62 6c 65 73 20 66 | 6f 72 20 48 45 4c 50 44 |iables f|or HELPD|
|00001c90| 49 52 20 61 6e 64 20 48 | 45 4c 50 46 49 4c 45 0a |IR and H|ELPFILE.|
|00001ca0| 58 20 2a 09 0a 58 20 2a | 2f 0a 58 0a 58 23 69 66 |X *..X *|/.X.X#if|
|00001cb0| 6e 64 65 66 20 6c 69 6e | 74 0a 58 20 20 20 20 73 |ndef lin|t.X s|
|00001cc0| 74 61 74 69 63 20 63 68 | 61 72 20 72 63 73 69 64 |tatic ch|ar rcsid|
|00001cd0| 5b 5d 20 3d 0a 58 20 20 | 20 20 20 22 24 48 65 61 |[] =.X | "$Hea|
|00001ce0| 64 65 72 3a 20 68 65 6c | 70 2e 63 2c 76 20 31 2e |der: hel|p.c,v 1.|
|00001cf0| 31 20 38 37 2f 31 32 2f | 32 36 20 32 33 3a 33 34 |1 87/12/|26 23:34|
|00001d00| 3a 35 30 20 70 6c 6f 63 | 68 65 72 20 50 6f 73 74 |:50 ploc|her Post|
|00001d10| 65 64 20 24 22 3b 0a 58 | 23 65 6e 64 69 66 0a 58 |ed $";.X|#endif.X|
|00001d20| 0a 58 23 69 6e 63 6c 75 | 64 65 20 3c 73 74 64 69 |.X#inclu|de <stdi|
|00001d30| 6f 2e 68 3e 0a 58 23 69 | 6e 63 6c 75 64 65 20 3c |o.h>.X#i|nclude <|
|00001d40| 63 74 79 70 65 2e 68 3e | 0a 58 23 69 6e 63 6c 75 |ctype.h>|.X#inclu|
|00001d50| 64 65 20 3c 73 79 73 2f | 74 79 70 65 73 2e 68 3e |de <sys/|types.h>|
|00001d60| 0a 58 23 69 6e 63 6c 75 | 64 65 20 3c 73 79 73 2f |.X#inclu|de <sys/|
|00001d70| 73 74 61 74 2e 68 3e 0a | 58 0a 58 23 64 65 66 69 |stat.h>.|X.X#defi|
|00001d80| 6e 65 20 4d 41 58 4c 49 | 4e 45 20 09 31 33 34 0a |ne MAXLI|NE .134.|
|00001d90| 58 23 64 65 66 69 6e 65 | 20 48 45 4c 50 44 49 52 |X#define| HELPDIR|
|00001da0| 09 09 22 2f 75 73 72 2f | 6c 69 62 22 09 09 2f 2a |.."/usr/|lib"../*|
|00001db0| 20 41 64 64 65 64 20 62 | 79 20 4a 6f 68 6e 20 50 | Added b|y John P|
|00001dc0| 6c 6f 63 68 65 72 20 2a | 2f 0a 58 23 64 65 66 69 |locher *|/.X#defi|
|00001dd0| 6e 65 20 48 45 4c 50 46 | 49 4c 45 09 22 68 65 6c |ne HELPF|ILE."hel|
|00001de0| 70 66 69 6c 65 22 09 09 | 2f 2a 20 2e 2e 20 2a 2f |pfile"..|/* .. */|
|00001df0| 0a 58 23 64 65 66 69 6e | 65 20 49 4e 44 45 58 09 |.X#defin|e INDEX.|
|00001e00| 09 22 2e 69 64 78 22 09 | 09 09 2f 2a 20 2e 2e 20 |.".idx".|../* .. |
|00001e10| 2a 2f 0a 58 0a 58 63 68 | 61 72 20 68 65 6c 70 66 |*/.X.Xch|ar helpf|
|00001e20| 69 6c 65 6e 61 6d 65 5b | 31 32 38 5d 3b 09 09 2f |ilename[|128];../|
|00001e30| 2a 20 4a 6f 68 6e 20 50 | 6c 6f 63 68 65 72 20 2a |* John P|locher *|
|00001e40| 2f 0a 58 63 68 61 72 20 | 68 65 6c 70 69 64 78 6e |/.Xchar |helpidxn|
|00001e50| 61 6d 65 5b 31 32 38 5d | 3b 09 09 2f 2a 20 2e 2e |ame[128]|;../* ..|
|00001e60| 20 2a 2f 0a 58 0a 58 6d | 61 69 6e 28 61 72 67 63 | */.X.Xm|ain(argc|
|00001e70| 2c 20 61 72 67 76 29 0a | 58 69 6e 74 20 61 72 67 |, argv).|Xint arg|
|00001e80| 63 3b 0a 58 63 68 61 72 | 20 2a 2a 61 72 67 76 3b |c;.Xchar| **argv;|
|00001e90| 0a 58 7b 0a 58 09 73 74 | 72 75 63 74 0a 58 09 7b |.X{.X.st|ruct.X.{|
|00001ea0| 0a 58 09 09 63 68 61 72 | 20 6e 61 6d 65 5b 31 35 |.X..char| name[15|
|00001eb0| 5d 3b 0a 58 09 09 6c 6f | 6e 67 20 6f 66 66 73 65 |];.X..lo|ng offse|
|00001ec0| 74 3b 0a 58 09 7d 20 65 | 6e 74 72 79 3b 09 09 09 |t;.X.} e|ntry;...|
|00001ed0| 09 2f 2a 20 68 65 6c 70 | 69 6e 64 65 78 20 65 6e |./* help|index en|
|00001ee0| 74 72 69 65 73 20 66 6f | 72 20 65 61 63 68 20 63 |tries fo|r each c|
|00001ef0| 6f 6d 6d 61 6e 64 20 2a | 2f 0a 58 0a 58 09 73 74 |ommand *|/.X.X.st|
|00001f00| 72 75 63 74 20 73 74 61 | 74 20 73 62 75 66 31 2c |ruct sta|t sbuf1,|
|00001f10| 20 73 62 75 66 32 3b 09 | 2f 2a 20 73 74 61 74 20 | sbuf2;.|/* stat |
|00001f20| 62 75 66 66 65 72 73 20 | 66 6f 72 20 68 65 6c 70 |buffers |for help|
|00001f30| 66 69 6c 65 20 26 20 68 | 65 6c 70 69 6e 64 65 78 |file & h|elpindex|
|00001f40| 20 2a 2f 0a 58 09 63 68 | 61 72 20 2a 63 6f 6d 6d | */.X.ch|ar *comm|
|00001f50| 61 6e 64 2c 20 2a 6c 69 | 6e 65 2c 20 4c 69 6e 65 |and, *li|ne, Line|
|00001f60| 5b 4d 41 58 4c 49 4e 45 | 5d 3b 0a 58 09 72 65 67 |[MAXLINE|];.X.reg|
|00001f70| 69 73 74 65 72 20 63 68 | 61 72 09 2a 63 70 3b 09 |ister ch|ar.*cp;.|
|00001f80| 09 2f 2a 20 4a 6f 68 6e | 20 50 6c 6f 63 68 65 72 |./* John| Plocher|
|00001f90| 20 2a 2f 0a 58 09 65 78 | 74 65 72 6e 20 63 68 61 | */.X.ex|tern cha|
|00001fa0| 72 09 2a 67 65 74 65 6e | 76 28 29 3b 09 09 2f 2a |r.*geten|v();../*|
|00001fb0| 20 2e 2e 20 2a 2f 0a 58 | 09 69 6e 74 20 73 74 61 | .. */.X|.int sta|
|00001fc0| 74 75 73 3b 0a 58 09 46 | 49 4c 45 20 2a 69 66 70 |tus;.X.F|ILE *ifp|
|00001fd0| 2c 20 2a 68 66 70 3b 09 | 09 2f 2a 20 66 69 6c 65 |, *hfp;.|./* file|
|00001fe0| 20 70 6f 69 6e 74 65 72 | 73 20 66 6f 72 20 68 65 | pointer|s for he|
|00001ff0| 6c 70 66 69 6c 65 20 61 | 6e 64 20 68 65 6c 70 69 |lpfile a|nd helpi|
|00002000| 6e 64 65 78 20 2a 2f 0a | 58 09 0a 58 09 69 66 20 |ndex */.|X..X.if |
|00002010| 28 20 61 72 67 63 20 3d | 3d 20 31 20 29 09 09 2f |( argc =|= 1 )../|
|00002020| 2a 20 49 66 20 6e 6f 20 | 61 72 67 75 6d 65 6e 74 |* If no |argument|
|00002030| 73 2c 20 2e 2e 2e 20 2a | 2f 0a 58 09 09 63 6f 6d |s, ... *|/.X..com|
|00002040| 6d 61 6e 64 20 3d 20 22 | 68 65 6c 70 22 3b 09 2f |mand = "|help";./|
|00002050| 2a 20 2e 2e 2e 20 64 65 | 66 61 75 6c 74 20 74 6f |* ... de|fault to|
|00002060| 20 22 68 65 6c 70 20 68 | 65 6c 70 22 20 2a 2f 0a | "help h|elp" */.|
|00002070| 58 09 65 6c 73 65 0a 58 | 09 09 63 6f 6d 6d 61 6e |X.else.X|..comman|
|00002080| 64 20 3d 20 61 72 67 76 | 5b 31 5d 3b 09 2f 2a 20 |d = argv|[1];./* |
|00002090| 65 6c 73 65 20 6c 6f 6f | 6b 20 66 6f 72 20 63 6f |else loo|k for co|
|000020a0| 6d 6d 61 6e 64 20 69 6e | 20 61 72 67 76 5b 31 5d |mmand in| argv[1]|
|000020b0| 20 2a 2f 0a 58 0a 58 0a | 58 09 2f 2a 09 09 41 64 | */.X.X.|X./*..Ad|
|000020c0| 64 65 64 20 62 79 20 4a | 6f 68 6e 20 50 6c 6f 63 |ded by J|ohn Ploc|
|000020d0| 68 65 72 20 53 61 74 20 | 44 65 63 20 32 36 20 32 |her Sat |Dec 26 2|
|000020e0| 32 3a 30 32 3a 30 39 20 | 43 53 54 20 31 39 38 37 |2:02:09 |CST 1987|
|000020f0| 0a 58 09 20 2a 20 4c 6f | 6f 6b 20 66 6f 72 3a 0a |.X. * Lo|ok for:.|
|00002100| 58 09 20 2a 09 67 65 74 | 65 6e 76 28 22 48 45 4c |X. *.get|env("HEL|
|00002110| 50 44 49 52 22 29 20 2b | 20 67 65 74 65 6e 76 28 |PDIR") +| getenv(|
|00002120| 22 48 45 4c 50 46 49 4c | 45 22 29 0a 58 09 20 2a |"HELPFIL|E").X. *|
|00002130| 09 67 65 74 65 6e 76 28 | 22 48 45 4c 50 44 49 52 |.getenv(|"HELPDIR|
|00002140| 22 29 20 2b 20 22 68 65 | 6c 70 66 69 6c 65 22 0a |") + "he|lpfile".|
|00002150| 58 09 20 2a 09 22 2f 75 | 73 72 2f 6c 69 62 22 09 |X. *."/u|sr/lib".|
|00002160| 09 20 20 2b 20 67 65 74 | 65 6e 76 28 22 48 45 4c |. + get|env("HEL|
|00002170| 50 46 49 4c 45 22 29 0a | 58 09 20 2a 09 22 2f 75 |PFILE").|X. *."/u|
|00002180| 73 72 2f 6c 69 62 22 09 | 09 20 20 2b 20 22 68 65 |sr/lib".|. + "he|
|00002190| 6c 70 66 69 6c 65 22 0a | 58 09 20 2a 2f 0a 58 09 |lpfile".|X. */.X.|
|000021a0| 69 66 20 28 28 63 70 20 | 3d 20 67 65 74 65 6e 76 |if ((cp |= getenv|
|000021b0| 28 22 48 45 4c 50 44 49 | 52 22 29 29 20 21 3d 20 |("HELPDI|R")) != |
|000021c0| 4e 55 4c 4c 29 09 2f 2a | 20 69 66 20 61 20 64 69 |NULL)./*| if a di|
|000021d0| 72 20 69 73 20 67 69 76 | 65 6e 2c 20 75 73 65 20 |r is giv|en, use |
|000021e0| 69 74 20 2a 2f 0a 58 09 | 20 20 20 20 73 74 72 63 |it */.X.| strc|
|000021f0| 70 79 28 68 65 6c 70 69 | 64 78 6e 61 6d 65 2c 20 |py(helpi|dxname, |
|00002200| 63 70 29 3b 0a 58 09 65 | 6c 73 65 0a 58 09 09 73 |cp);.X.e|lse.X..s|
|00002210| 74 72 63 70 79 28 68 65 | 6c 70 69 64 78 6e 61 6d |trcpy(he|lpidxnam|
|00002220| 65 2c 20 48 45 4c 50 44 | 49 52 29 3b 0a 58 09 73 |e, HELPD|IR);.X.s|
|00002230| 74 72 63 70 79 28 68 65 | 6c 70 66 69 6c 65 6e 61 |trcpy(he|lpfilena|
|00002240| 6d 65 2c 20 68 65 6c 70 | 69 64 78 6e 61 6d 65 29 |me, help|idxname)|
|00002250| 3b 0a 58 09 73 74 72 63 | 61 74 28 68 65 6c 70 66 |;.X.strc|at(helpf|
|00002260| 69 6c 65 6e 61 6d 65 2c | 20 22 2f 22 29 3b 0a 58 |ilename,| "/");.X|
|00002270| 0a 58 09 69 66 20 28 28 | 63 70 20 3d 20 67 65 74 |.X.if ((|cp = get|
|00002280| 65 6e 76 28 22 48 45 4c | 50 46 49 4c 45 22 29 29 |env("HEL|PFILE"))|
|00002290| 20 21 3d 20 4e 55 4c 4c | 29 09 2f 2a 20 69 66 20 | != NULL|)./* if |
|000022a0| 61 20 66 69 6c 65 6e 61 | 6d 65 20 69 73 20 67 69 |a filena|me is gi|
|000022b0| 76 65 6e 2c 20 75 73 65 | 20 69 74 20 2a 2f 0a 58 |ven, use| it */.X|
|000022c0| 09 20 20 20 20 73 74 72 | 63 61 74 28 68 65 6c 70 |. str|cat(help|
|000022d0| 66 69 6c 65 6e 61 6d 65 | 2c 20 63 70 29 3b 0a 58 |filename|, cp);.X|
|000022e0| 09 65 6c 73 65 0a 58 09 | 09 73 74 72 63 61 74 28 |.else.X.|.strcat(|
|000022f0| 68 65 6c 70 66 69 6c 65 | 6e 61 6d 65 2c 20 48 45 |helpfile|name, HE|
|00002300| 4c 50 46 49 4c 45 29 3b | 0a 58 0a 58 09 73 74 72 |LPFILE);|.X.X.str|
|00002310| 63 70 79 28 68 65 6c 70 | 69 64 78 6e 61 6d 65 2c |cpy(help|idxname,|
|00002320| 20 68 65 6c 70 66 69 6c | 65 6e 61 6d 65 29 3b 09 | helpfil|ename);.|
|00002330| 09 2f 2a 20 6d 61 6b 65 | 20 61 20 6e 61 6d 65 20 |./* make| a name |
|00002340| 66 6f 72 20 74 68 65 20 | 69 6e 64 65 78 20 66 69 |for the |index fi|
|00002350| 6c 65 20 2a 2f 0a 58 09 | 73 74 72 63 61 74 28 68 |le */.X.|strcat(h|
|00002360| 65 6c 70 69 64 78 6e 61 | 6d 65 2c 20 49 4e 44 45 |elpidxna|me, INDE|
|00002370| 58 29 3b 0a 58 0a 58 09 | 73 74 61 74 28 68 65 6c |X);.X.X.|stat(hel|
|00002380| 70 66 69 6c 65 6e 61 6d | 65 2c 20 26 73 62 75 66 |pfilenam|e, &sbuf|
|00002390| 31 29 3b 09 2f 2a 20 67 | 65 74 20 6d 74 69 6d 65 |1);./* g|et mtime|
|000023a0| 20 66 6f 72 20 68 65 6c | 70 66 69 6c 65 20 2a 2f | for hel|pfile */|
|000023b0| 0a 58 09 73 74 61 74 75 | 73 3d 61 63 63 65 73 73 |.X.statu|s=access|
|000023c0| 28 68 65 6c 70 69 64 78 | 6e 61 6d 65 2c 20 30 29 |(helpidx|name, 0)|
|000023d0| 3b 0a 58 09 69 66 20 28 | 20 73 74 61 74 75 73 20 |;.X.if (| status |
|000023e0| 3d 3d 20 30 20 29 09 2f | 2a 20 69 66 20 68 65 6c |== 0 )./|* if hel|
|000023f0| 70 69 6e 64 65 78 20 65 | 78 69 73 74 73 20 2e 2e |pindex e|xists ..|
|00002400| 2e 20 2a 2f 0a 58 09 7b | 0a 58 09 09 73 74 61 74 |. */.X.{|.X..stat|
|00002410| 28 68 65 6c 70 69 64 78 | 6e 61 6d 65 2c 20 26 73 |(helpidx|name, &s|
|00002420| 62 75 66 32 29 3b 09 2f | 2a 20 67 65 74 20 6d 74 |buf2);./|* get mt|
|00002430| 69 6d 65 20 66 6f 72 20 | 68 65 6c 70 69 6e 64 65 |ime for |helpinde|
|00002440| 78 20 2a 2f 0a 58 09 7d | 0a 58 09 69 66 20 28 20 |x */.X.}|.X.if ( |
|00002450| 28 73 74 61 74 75 73 20 | 21 3d 20 30 29 20 7c 7c |(status |!= 0) |||
|00002460| 20 09 09 09 2f 2a 20 69 | 66 20 74 68 65 72 65 20 | .../* i|f there |
|00002470| 69 73 20 6e 6f 20 68 65 | 6c 70 69 6e 64 65 78 20 |is no he|lpindex |
|00002480| 2e 2e 2e 20 2a 2f 0a 58 | 09 09 28 28 74 69 6d 65 |... */.X|..((time|
|00002490| 5f 74 29 73 62 75 66 31 | 2e 73 74 5f 6d 74 69 6d |_t)sbuf1|.st_mtim|
|000024a0| 65 20 3e 20 28 74 69 6d | 65 5f 74 29 73 62 75 66 |e > (tim|e_t)sbuf|
|000024b0| 32 2e 73 74 5f 6d 74 69 | 6d 65 29 20 29 0a 58 09 |2.st_mti|me) ).X.|
|000024c0| 09 09 09 09 09 09 09 09 | 2f 2a 20 6f 72 20 69 66 |........|/* or if|
|000024d0| 20 69 74 20 69 73 20 6f | 6c 64 65 72 20 74 68 61 | it is o|lder tha|
|000024e0| 6e 20 68 65 6c 70 66 69 | 6c 65 20 2a 2f 0a 58 09 |n helpfi|le */.X.|
|000024f0| 7b 0a 58 09 09 62 75 69 | 6c 64 69 6e 64 65 78 28 |{.X..bui|ldindex(|
|00002500| 29 3b 09 09 2f 2a 20 62 | 75 69 6c 64 20 61 20 6e |);../* b|uild a n|
|00002510| 65 77 20 68 65 6c 70 69 | 6e 64 65 78 20 2a 2f 0a |ew helpi|ndex */.|
|00002520| 58 09 7d 0a 58 0a 58 09 | 69 66 20 28 20 28 69 66 |X.}.X.X.|if ( (if|
|00002530| 70 3d 66 6f 70 65 6e 28 | 68 65 6c 70 69 64 78 6e |p=fopen(|helpidxn|
|00002540| 61 6d 65 2c 20 22 72 22 | 29 29 20 3d 3d 20 4e 55 |ame, "r"|)) == NU|
|00002550| 4c 4c 20 29 0a 58 09 7b | 0a 58 09 09 66 70 72 69 |LL ).X.{|.X..fpri|
|00002560| 6e 74 66 28 73 74 64 65 | 72 72 2c 20 22 43 61 6e |ntf(stde|rr, "Can|
|00002570| 27 74 20 72 65 61 64 20 | 25 73 5c 6e 22 2c 20 68 |'t read |%s\n", h|
|00002580| 65 6c 70 69 64 78 6e 61 | 6d 65 29 3b 0a 58 09 09 |elpidxna|me);.X..|
|00002590| 65 78 69 74 28 2d 31 29 | 3b 0a 58 09 7d 0a 58 09 |exit(-1)|;.X.}.X.|
|000025a0| 0a 58 09 77 68 69 6c 65 | 20 28 20 31 20 29 09 09 |.X.while| ( 1 )..|
|000025b0| 2f 2a 20 6c 6f 6f 6b 20 | 66 6f 72 20 69 6e 64 65 |/* look |for inde|
|000025c0| 78 20 65 6e 74 72 79 20 | 66 6f 72 20 22 63 6f 6d |x entry |for "com|
|000025d0| 6d 61 6e 64 22 20 2a 2f | 0a 58 09 7b 0a 58 09 09 |mand" */|.X.{.X..|
|000025e0| 73 74 61 74 75 73 3d 66 | 72 65 61 64 28 26 65 6e |status=f|read(&en|
|000025f0| 74 72 79 2c 20 73 69 7a | 65 6f 66 28 65 6e 74 72 |try, siz|eof(entr|
|00002600| 79 29 2c 20 31 2c 20 69 | 66 70 29 3b 0a 58 09 09 |y), 1, i|fp);.X..|
|00002610| 69 66 20 28 20 73 74 61 | 74 75 73 3d 3d 30 20 29 |if ( sta|tus==0 )|
|00002620| 20 2f 2a 20 71 75 69 74 | 20 61 74 20 65 6e 64 20 | /* quit| at end |
|00002630| 6f 66 20 69 6e 64 65 78 | 20 66 69 6c 65 20 2a 2f |of index| file */|
|00002640| 0a 58 09 09 7b 0a 58 09 | 09 09 66 70 72 69 6e 74 |.X..{.X.|..fprint|
|00002650| 66 28 73 74 64 65 72 72 | 2c 20 22 4e 6f 20 68 65 |f(stderr|, "No he|
|00002660| 6c 70 20 66 6f 72 20 25 | 73 5c 6e 22 2c 20 63 6f |lp for %|s\n", co|
|00002670| 6d 6d 61 6e 64 29 3b 0a | 58 09 09 09 66 63 6c 6f |mmand);.|X...fclo|
|00002680| 73 65 28 69 66 70 29 3b | 0a 58 09 09 09 65 78 69 |se(ifp);|.X...exi|
|00002690| 74 28 31 29 3b 09 09 7d | 0a 58 09 09 69 66 20 28 |t(1);..}|.X..if (|
|000026a0| 20 73 74 72 63 6d 70 28 | 65 6e 74 72 79 2e 6e 61 | strcmp(|entry.na|
|000026b0| 6d 65 2c 20 63 6f 6d 6d | 61 6e 64 29 20 3d 3d 20 |me, comm|and) == |
|000026c0| 30 20 29 20 2f 2a 20 71 | 75 69 74 20 77 68 65 6e |0 ) /* q|uit when|
|000026d0| 20 77 65 20 66 69 6e 64 | 20 69 74 20 2a 2f 0a 58 | we find| it */.X|
|000026e0| 09 09 7b 0a 58 09 09 09 | 66 63 6c 6f 73 65 28 69 |..{.X...|fclose(i|
|000026f0| 66 70 29 3b 0a 58 09 09 | 09 62 72 65 61 6b 3b 0a |fp);.X..|.break;.|
|00002700| 58 09 09 7d 0a 58 09 7d | 0a 58 0a 58 09 69 66 20 |X..}.X.}|.X.X.if |
|00002710| 28 28 68 66 70 3d 66 6f | 70 65 6e 28 68 65 6c 70 |((hfp=fo|pen(help|
|00002720| 66 69 6c 65 6e 61 6d 65 | 2c 20 22 72 22 29 29 20 |filename|, "r")) |
|00002730| 3d 3d 20 4e 55 4c 4c 20 | 29 0a 58 09 7b 0a 58 09 |== NULL |).X.{.X.|
|00002740| 09 66 70 72 69 6e 74 66 | 28 73 74 64 65 72 72 2c |.fprintf|(stderr,|
|00002750| 20 22 43 61 6e 27 74 20 | 6f 70 65 6e 20 25 73 5c | "Can't |open %s\|
|00002760| 6e 22 2c 20 68 65 6c 70 | 66 69 6c 65 6e 61 6d 65 |n", help|filename|
|00002770| 29 3b 0a 58 09 09 65 78 | 69 74 28 2d 31 29 3b 0a |);.X..ex|it(-1);.|
|00002780| 58 09 7d 0a 58 0a 58 09 | 66 73 65 65 6b 28 68 66 |X.}.X.X.|fseek(hf|
|00002790| 70 2c 20 65 6e 74 72 79 | 2e 6f 66 66 73 65 74 2c |p, entry|.offset,|
|000027a0| 20 30 29 3b 09 2f 2a 20 | 67 6f 20 74 6f 20 74 68 | 0);./* |go to th|
|000027b0| 65 20 68 65 6c 70 20 65 | 6e 74 72 79 20 2a 2f 0a |e help e|ntry */.|
|000027c0| 58 0a 58 09 77 68 69 6c | 65 20 28 20 31 20 29 09 |X.X.whil|e ( 1 ).|
|000027d0| 09 09 2f 2a 20 6a 75 73 | 74 20 63 6f 70 79 20 6c |../* jus|t copy l|
|000027e0| 69 6e 65 73 20 74 6f 20 | 73 74 64 6f 75 74 20 2a |ines to |stdout *|
|000027f0| 2f 0a 58 09 7b 0a 58 09 | 09 6c 69 6e 65 20 3d 20 |/.X.{.X.|.line = |
|00002800| 66 67 65 74 73 28 4c 69 | 6e 65 2c 20 4d 41 58 4c |fgets(Li|ne, MAXL|
|00002810| 49 4e 45 2c 20 68 66 70 | 29 3b 0a 58 09 09 69 66 |INE, hfp|);.X..if|
|00002820| 20 28 20 6c 69 6e 65 20 | 3d 3d 20 28 63 68 61 72 | ( line |== (char|
|00002830| 20 2a 29 20 4e 55 4c 4c | 20 7c 7c 20 6c 69 6e 65 | *) NULL| || line|
|00002840| 5b 30 5d 20 3d 3d 20 27 | 23 27 20 29 0a 58 09 09 |[0] == '|#' ).X..|
|00002850| 09 09 09 09 2f 2a 20 75 | 6e 74 69 6c 20 61 6e 6f |..../* u|ntil ano|
|00002860| 74 68 65 72 20 65 6e 74 | 72 79 20 73 74 61 72 74 |ther ent|ry start|
|00002870| 73 20 2a 2f 0a 58 09 09 | 09 62 72 65 61 6b 3b 0a |s */.X..|.break;.|
|00002880| 58 09 09 66 70 75 74 73 | 28 6c 69 6e 65 2c 73 74 |X..fputs|(line,st|
|00002890| 64 6f 75 74 29 3b 0a 58 | 09 7d 0a 58 0a 58 09 66 |dout);.X|.}.X.X.f|
|000028a0| 63 6c 6f 73 65 28 68 66 | 70 29 3b 0a 58 7d 0a 58 |close(hf|p);.X}.X|
|000028b0| 0a 58 62 75 69 6c 64 69 | 6e 64 65 78 28 29 0a 58 |.Xbuildi|ndex().X|
|000028c0| 7b 0a 58 09 46 49 4c 45 | 20 2a 68 66 70 2c 20 2a |{.X.FILE| *hfp, *|
|000028d0| 69 66 70 3b 0a 58 09 73 | 74 72 75 63 74 20 7b 0a |ifp;.X.s|truct {.|
|000028e0| 58 09 09 63 68 61 72 20 | 6e 61 6d 65 5b 31 35 5d |X..char |name[15]|
|000028f0| 3b 0a 58 09 09 6c 6f 6e | 67 20 6f 66 66 73 65 74 |;.X..lon|g offset|
|00002900| 3b 0a 58 09 7d 20 65 6e | 74 72 79 3b 0a 58 09 63 |;.X.} en|try;.X.c|
|00002910| 68 61 72 20 4c 69 6e 65 | 5b 4d 41 58 4c 49 4e 45 |har Line|[MAXLINE|
|00002920| 5d 3b 0a 58 09 63 68 61 | 72 20 2a 6c 69 6e 65 3b |];.X.cha|r *line;|
|00002930| 0a 58 09 69 6e 74 20 69 | 2c 6a 3b 0a 58 0a 58 0a |.X.int i|,j;.X.X.|
|00002940| 58 09 75 6e 6c 69 6e 6b | 28 68 65 6c 70 69 64 78 |X.unlink|(helpidx|
|00002950| 6e 61 6d 65 29 3b 20 2f | 2a 20 72 65 6d 6f 76 65 |name); /|* remove|
|00002960| 20 6f 6c 64 20 69 6e 64 | 65 78 20 66 69 6c 65 20 | old ind|ex file |
|00002970| 2a 2f 0a 58 09 69 66 20 | 28 20 28 68 66 70 3d 66 |*/.X.if |( (hfp=f|
|00002980| 6f 70 65 6e 28 68 65 6c | 70 66 69 6c 65 6e 61 6d |open(hel|pfilenam|
|00002990| 65 2c 20 22 72 22 29 29 | 20 3d 3d 20 4e 55 4c 4c |e, "r"))| == NULL|
|000029a0| 20 29 0a 58 09 7b 0a 58 | 09 09 66 70 72 69 6e 74 | ).X.{.X|..fprint|
|000029b0| 66 28 73 74 64 65 72 72 | 2c 22 62 75 69 6c 64 69 |f(stderr|,"buildi|
|000029c0| 6e 64 65 78 3a 20 43 61 | 6e 27 74 20 72 65 61 64 |ndex: Ca|n't read|
|000029d0| 20 25 73 5c 6e 22 2c 20 | 68 65 6c 70 66 69 6c 65 | %s\n", |helpfile|
|000029e0| 6e 61 6d 65 29 3b 0a 58 | 09 09 65 78 69 74 28 2d |name);.X|..exit(-|
|000029f0| 31 29 3b 0a 58 09 7d 0a | 58 09 69 66 20 28 20 28 |1);.X.}.|X.if ( (|
|00002a00| 69 66 70 3d 66 6f 70 65 | 6e 28 68 65 6c 70 69 64 |ifp=fope|n(helpid|
|00002a10| 78 6e 61 6d 65 2c 20 22 | 77 22 29 29 20 3d 3d 20 |xname, "|w")) == |
|00002a20| 4e 55 4c 4c 20 29 0a 58 | 09 7b 0a 58 09 09 66 70 |NULL ).X|.{.X..fp|
|00002a30| 72 69 6e 74 66 28 73 74 | 64 65 72 72 2c 20 22 62 |rintf(st|derr, "b|
|00002a40| 75 69 6c 64 69 6e 64 65 | 78 3a 20 43 61 6e 27 74 |uildinde|x: Can't|
|00002a50| 20 77 72 69 74 65 20 25 | 73 5c 6e 22 2c 20 68 65 | write %|s\n", he|
|00002a60| 6c 70 69 64 78 6e 61 6d | 65 29 3b 0a 58 09 09 65 |lpidxnam|e);.X..e|
|00002a70| 78 69 74 28 2d 31 29 3b | 0a 58 09 7d 0a 58 0a 58 |xit(-1);|.X.}.X.X|
|00002a80| 09 77 68 69 6c 65 20 28 | 31 29 09 2f 2a 20 52 65 |.while (|1)./* Re|
|00002a90| 61 64 20 74 68 72 75 20 | 68 65 6c 70 66 69 6c 65 |ad thru |helpfile|
|00002aa0| 20 2e 2e 2e 20 2a 2f 0a | 58 09 7b 0a 58 09 09 65 | ... */.|X.{.X..e|
|00002ab0| 6e 74 72 79 2e 6f 66 66 | 73 65 74 3d 28 6c 6f 6e |ntry.off|set=(lon|
|00002ac0| 67 29 20 30 3b 0a 58 09 | 09 6c 69 6e 65 20 3d 20 |g) 0;.X.|.line = |
|00002ad0| 66 67 65 74 73 28 4c 69 | 6e 65 2c 20 4d 41 58 4c |fgets(Li|ne, MAXL|
|00002ae0| 49 4e 45 2c 20 68 66 70 | 29 3b 0a 58 09 09 69 66 |INE, hfp|);.X..if|
|00002af0| 20 28 20 6c 69 6e 65 20 | 3d 3d 20 28 63 68 61 72 | ( line |== (char|
|00002b00| 20 2a 29 20 4e 55 4c 4c | 20 29 20 62 72 65 61 6b | *) NULL| ) break|
|00002b10| 3b 0a 58 09 09 69 66 20 | 28 20 6c 69 6e 65 5b 30 |;.X..if |( line[0|
|00002b20| 5d 20 3d 3d 20 27 23 27 | 20 29 09 2f 2a 20 61 6e |] == '#'| )./* an|
|00002b30| 64 20 66 6f 72 20 65 61 | 63 68 20 68 65 6c 70 20 |d for ea|ch help |
|00002b40| 65 6e 74 72 79 20 2e 2e | 2e 20 2a 2f 0a 58 09 09 |entry ..|. */.X..|
|00002b50| 7b 0a 58 09 09 09 6c 69 | 6e 65 2b 2b 3b 0a 58 09 |{.X...li|ne++;.X.|
|00002b60| 09 09 77 68 69 6c 65 20 | 28 20 69 73 73 70 61 63 |..while |( isspac|
|00002b70| 65 28 6c 69 6e 65 5b 30 | 5d 29 20 29 20 6c 69 6e |e(line[0|]) ) lin|
|00002b80| 65 2b 2b 3b 0a 58 09 09 | 09 69 3d 6a 3d 30 3b 0a |e++;.X..|.i=j=0;.|
|00002b90| 58 09 09 09 77 68 69 6c | 65 20 28 20 6c 69 6e 65 |X...whil|e ( line|
|00002ba0| 5b 69 5d 20 21 3d 20 27 | 5c 30 27 20 29 0a 58 09 |[i] != '|\0' ).X.|
|00002bb0| 09 09 7b 0a 58 09 09 09 | 09 69 66 20 28 20 6c 69 |..{.X...|.if ( li|
|00002bc0| 6e 65 5b 69 5d 20 3d 3d | 20 27 5c 6e 27 20 29 20 |ne[i] ==| '\n' ) |
|00002bd0| 62 72 65 61 6b 3b 0a 58 | 09 09 09 09 77 68 69 6c |break;.X|....whil|
|00002be0| 65 20 28 20 6c 69 6e 65 | 5b 69 5d 20 3d 3d 20 27 |e ( line|[i] == '|
|00002bf0| 20 27 20 7c 7c 20 6c 69 | 6e 65 5b 69 5d 20 3d 3d | ' || li|ne[i] ==|
|00002c00| 20 27 2c 27 20 29 20 69 | 2b 2b 3b 0a 58 09 09 09 | ',' ) i|++;.X...|
|00002c10| 09 77 68 69 6c 65 20 28 | 20 21 69 73 73 70 61 63 |.while (| !isspac|
|00002c20| 65 28 6c 69 6e 65 5b 69 | 5d 20 29 20 26 26 0a 58 |e(line[i|] ) &&.X|
|00002c30| 09 09 09 09 09 09 6c 69 | 6e 65 5b 69 5d 20 21 3d |......li|ne[i] !=|
|00002c40| 20 27 2c 27 29 20 2f 2a | 20 73 61 76 65 20 69 74 | ',') /*| save it|
|00002c50| 73 20 6e 61 6d 65 20 2e | 2e 2e 20 2a 2f 0a 58 09 |s name .|.. */.X.|
|00002c60| 09 09 09 7b 0a 58 09 09 | 09 09 09 65 6e 74 72 79 |...{.X..|...entry|
|00002c70| 2e 6e 61 6d 65 5b 6a 5d | 20 3d 20 6c 69 6e 65 5b |.name[j]| = line[|
|00002c80| 69 5d 3b 0a 58 09 09 09 | 09 09 69 2b 2b 3b 20 6a |i];.X...|..i++; j|
|00002c90| 2b 2b 3b 0a 58 09 09 09 | 09 7d 0a 58 09 09 09 09 |++;.X...|.}.X....|
|00002ca0| 77 68 69 6c 65 20 28 20 | 6a 20 3c 20 31 35 20 29 |while ( |j < 15 )|
|00002cb0| 0a 58 09 09 09 09 09 65 | 6e 74 72 79 2e 6e 61 6d |.X.....e|ntry.nam|
|00002cc0| 65 5b 6a 2b 2b 5d 20 3d | 20 27 5c 30 27 3b 0a 58 |e[j++] =| '\0';.X|
|00002cd0| 09 09 09 09 6a 20 3d 20 | 30 3b 0a 58 09 09 09 09 |....j = |0;.X....|
|00002ce0| 65 6e 74 72 79 2e 6f 66 | 66 73 65 74 3d 66 74 65 |entry.of|fset=fte|
|00002cf0| 6c 6c 28 68 66 70 29 3b | 09 2f 2a 20 61 6e 64 20 |ll(hfp);|./* and |
|00002d00| 69 74 73 20 6f 66 66 73 | 65 74 20 2e 2e 2e 20 2a |its offs|et ... *|
|00002d10| 2f 0a 58 09 09 09 09 66 | 77 72 69 74 65 28 26 65 |/.X....f|write(&e|
|00002d20| 6e 74 72 79 2c 20 73 69 | 7a 65 6f 66 28 65 6e 74 |ntry, si|zeof(ent|
|00002d30| 72 79 29 2c 20 31 2c 20 | 69 66 70 29 3b 0a 58 09 |ry), 1, |ifp);.X.|
|00002d40| 09 09 09 09 09 09 09 09 | 09 2f 2a 20 61 6e 64 20 |........|./* and |
|00002d50| 77 72 69 74 65 20 69 74 | 20 74 6f 20 69 6e 64 65 |write it| to inde|
|00002d60| 78 66 69 6c 65 20 2a 2f | 0a 58 09 09 09 7d 0a 58 |xfile */|.X...}.X|
|00002d70| 09 09 7d 0a 58 09 7d 0a | 58 09 66 63 6c 6f 73 65 |..}.X.}.|X.fclose|
|00002d80| 28 68 66 70 29 3b 0a 58 | 09 66 63 6c 6f 73 65 28 |(hfp);.X|.fclose(|
|00002d90| 69 66 70 29 3b 0a 58 7d | 0a 45 4e 44 5f 4f 46 5f |ifp);.X}|.END_OF_|
|00002da0| 68 65 6c 70 2e 63 0a 69 | 66 20 74 65 73 74 20 36 |help.c.i|f test 6|
|00002db0| 32 35 30 20 2d 6e 65 20 | 60 77 63 20 2d 63 20 3c |250 -ne |`wc -c <|
|00002dc0| 68 65 6c 70 2e 63 60 3b | 20 74 68 65 6e 0a 20 20 |help.c`;| then. |
|00002dd0| 20 20 65 63 68 6f 20 73 | 68 61 72 3a 20 5c 22 68 | echo s|har: \"h|
|00002de0| 65 6c 70 2e 63 5c 22 20 | 75 6e 70 61 63 6b 65 64 |elp.c\" |unpacked|
|00002df0| 20 77 69 74 68 20 77 72 | 6f 6e 67 20 73 69 7a 65 | with wr|ong size|
|00002e00| 21 0a 66 69 0a 23 20 65 | 6e 64 20 6f 66 20 6f 76 |!.fi.# e|nd of ov|
|00002e10| 65 72 77 72 69 74 69 6e | 67 20 63 68 65 63 6b 0a |erwritin|g check.|
|00002e20| 66 69 0a 69 66 20 74 65 | 73 74 20 2d 66 20 68 65 |fi.if te|st -f he|
|00002e30| 6c 70 2e 6d 61 6e 20 2d | 61 20 22 24 7b 31 7d 22 |lp.man -|a "${1}"|
|00002e40| 20 21 3d 20 22 2d 63 22 | 20 3b 20 74 68 65 6e 20 | != "-c"| ; then |
|00002e50| 0a 20 20 65 63 68 6f 20 | 73 68 61 72 3a 20 57 69 |. echo |shar: Wi|
|00002e60| 6c 6c 20 6e 6f 74 20 6f | 76 65 72 2d 77 72 69 74 |ll not o|ver-writ|
|00002e70| 65 20 65 78 69 73 74 69 | 6e 67 20 66 69 6c 65 20 |e existi|ng file |
|00002e80| 5c 22 68 65 6c 70 2e 6d | 61 6e 5c 22 0a 65 6c 73 |\"help.m|an\".els|
|00002e90| 65 0a 65 63 68 6f 20 73 | 68 61 72 3a 20 45 78 74 |e.echo s|har: Ext|
|00002ea0| 72 61 63 74 69 6e 67 20 | 5c 22 68 65 6c 70 2e 6d |racting |\"help.m|
|00002eb0| 61 6e 5c 22 20 5c 28 31 | 32 38 39 20 63 68 61 72 |an\" \(1|289 char|
|00002ec0| 61 63 74 65 72 73 5c 29 | 0a 73 65 64 20 22 73 2f |acters\)|.sed "s/|
|00002ed0| 5e 58 2f 2f 22 20 3e 68 | 65 6c 70 2e 6d 61 6e 20 |^X//" >h|elp.man |
|00002ee0| 3c 3c 27 45 4e 44 5f 4f | 46 5f 68 65 6c 70 2e 6d |<<'END_O|F_help.m|
|00002ef0| 61 6e 27 0a 58 2e 54 48 | 20 4c 41 20 4c 4f 43 41 |an'.X.TH| LA LOCA|
|00002f00| 4c 20 22 53 79 73 74 65 | 6d 20 56 22 0a 58 2e 53 |L "Syste|m V".X.S|
|00002f10| 48 20 4e 41 4d 45 0a 58 | 68 65 6c 70 20 5c 2d 20 |H NAME.X|help \- |
|00002f20| 50 72 6f 76 69 64 65 20 | 62 72 69 65 66 20 63 6f |Provide |brief co|
|00002f30| 6d 6d 61 6e 64 20 65 78 | 70 6c 61 6e 61 74 69 6f |mmand ex|planatio|
|00002f40| 6e 73 0a 58 2e 5c 22 20 | 24 48 65 61 64 65 72 3a |ns.X.\" |$Header:|
|00002f50| 20 68 65 6c 70 2e 6d 61 | 6e 2c 76 20 31 2e 31 20 | help.ma|n,v 1.1 |
|00002f60| 38 37 2f 31 32 2f 32 36 | 20 32 33 3a 33 35 3a 33 |87/12/26| 23:35:3|
|00002f70| 34 20 70 6c 6f 63 68 65 | 72 20 50 6f 73 74 65 64 |4 ploche|r Posted|
|00002f80| 20 24 0a 58 2e 53 48 20 | 53 59 4e 4f 50 53 49 53 | $.X.SH |SYNOPSIS|
|00002f90| 0a 58 2e 42 20 68 65 6c | 70 0a 58 5b 0a 58 2e 42 |.X.B hel|p.X[.X.B|
|00002fa0| 20 63 6f 6d 6d 61 6e 64 | 0a 58 5d 0a 58 2e 53 48 | command|.X].X.SH|
|00002fb0| 20 44 45 53 43 52 49 50 | 54 49 4f 4e 0a 58 2e 49 | DESCRIP|TION.X.I|
|00002fc0| 20 48 65 6c 70 0a 58 70 | 72 69 6e 74 73 20 6f 75 | Help.Xp|rints ou|
|00002fd0| 74 20 61 20 71 75 69 63 | 6b 20 65 78 70 6c 61 6e |t a quic|k explan|
|00002fe0| 61 74 69 6f 6e 20 6f 66 | 20 61 20 63 6f 6d 6d 61 |ation of| a comma|
|00002ff0| 6e 64 2e 0a 58 2e 53 48 | 20 49 4e 53 54 41 4c 4c |nd..X.SH| INSTALL|
|00003000| 41 54 49 4f 4e 0a 58 54 | 68 65 0a 58 2e 42 20 4d |ATION.XT|he.X.B M|
|00003010| 61 6b 65 66 69 6c 65 0a | 58 70 72 6f 76 69 64 65 |akefile.|Xprovide|
|00003020| 73 20 65 6e 74 72 69 65 | 73 20 66 6f 72 20 61 75 |s entrie|s for au|
|00003030| 74 6f 6d 61 74 69 63 61 | 6c 6c 79 20 69 6e 73 74 |tomatica|lly inst|
|00003040| 61 6c 6c 69 6e 67 20 28 | 61 6e 64 20 75 6e 2d 69 |alling (|and un-i|
|00003050| 6e 73 74 61 6c 6c 69 6e | 67 29 20 74 68 69 73 0a |nstallin|g) this.|
|00003060| 58 70 61 63 6b 61 67 65 | 2e 20 0a 58 59 6f 75 20 |Xpackage|. .XYou |
|00003070| 6e 65 65 64 20 74 6f 20 | 62 65 20 72 6f 6f 74 20 |need to |be root |
|00003080| 74 6f 20 69 6e 73 74 61 | 6c 6c 20 0a 58 2e 49 20 |to insta|ll .X.I |
|00003090| 22 68 65 6c 70 2e 40 40 | 22 0a 58 2e 49 20 4d 61 |"help.@@|".X.I Ma|
|000030a0| 6b 65 20 69 6e 73 74 61 | 6c 6c 0a 58 77 69 6c 6c |ke insta|ll.Xwill|
|000030b0| 20 63 6f 6d 70 6c 65 74 | 65 6c 79 20 69 6e 73 74 | complet|ely inst|
|000030c0| 61 6c 6c 20 74 68 65 20 | 6e 65 65 64 65 64 20 66 |all the |needed f|
|000030d0| 69 6c 65 73 20 69 6e 20 | 74 68 65 20 61 70 70 72 |iles in |the appr|
|000030e0| 6f 70 72 69 61 74 65 20 | 64 69 72 65 63 74 6f 72 |opriate |director|
|000030f0| 69 65 73 0a 58 77 69 74 | 68 20 74 68 65 20 6e 65 |ies.Xwit|h the ne|
|00003100| 65 64 65 64 20 70 65 72 | 6d 69 73 73 69 6f 6e 73 |eded per|missions|
|00003110| 20 61 6e 64 20 6f 77 6e | 65 72 73 68 69 70 2e 0a | and own|ership..|
|00003120| 58 2e 49 20 4d 61 6b 65 | 20 75 6e 69 6e 73 74 61 |X.I Make| uninsta|
|00003130| 6c 6c 0a 58 77 69 6c 6c | 20 72 65 6d 6f 76 65 20 |ll.Xwill| remove |
|00003140| 74 68 65 20 65 66 66 65 | 63 74 73 20 6f 66 20 0a |the effe|cts of .|
|00003150| 58 2e 49 20 6d 61 6b 65 | 20 69 6e 73 74 61 6c 6c |X.I make| install|
|00003160| 2e 0a 58 2e 53 48 20 42 | 55 47 53 0a 58 2e 50 50 |..X.SH B|UGS.X.PP|
|00003170| 0a 58 49 66 20 79 6f 75 | 20 68 61 76 65 20 74 68 |.XIf you| have th|
|00003180| 65 20 4d 4b 53 20 54 6f | 6f 6c 6b 69 74 2c 20 79 |e MKS To|olkit, y|
|00003190| 6f 75 20 63 6f 75 6c 64 | 20 75 73 65 20 74 68 65 |ou could| use the|
|000031a0| 69 72 20 68 65 6c 70 66 | 69 6c 65 20 61 73 20 61 |ir helpf|ile as a|
|000031b0| 20 73 74 61 72 74 69 6e | 67 0a 58 70 6f 69 6e 74 | startin|g.Xpoint|
|000031c0| 20 66 6f 72 20 61 20 55 | 4e 49 58 20 53 79 73 56 | for a U|NIX SysV|
|000031d0| 20 68 65 6c 70 66 69 6c | 65 2e 0a 58 2e 50 50 0a | helpfil|e..X.PP.|
|000031e0| 58 49 66 20 79 6f 75 20 | 64 6f 6e 27 74 20 68 61 |XIf you |don't ha|
|000031f0| 76 65 20 74 68 65 20 54 | 6f 6f 6c 6b 69 74 2c 20 |ve the T|oolkit, |
|00003200| 79 6f 75 20 63 61 6e 20 | 63 6f 6e 73 74 72 75 63 |you can |construc|
|00003210| 74 20 61 20 68 65 6c 70 | 66 69 6c 65 20 62 79 0a |t a help|file by.|
|00003220| 58 67 6c 65 61 6e 69 6e | 67 20 73 68 6f 72 74 20 |Xgleanin|g short |
|00003230| 63 6f 6d 6d 61 6e 64 20 | 64 65 73 63 72 69 70 74 |command |descript|
|00003240| 69 6f 6e 73 20 66 72 6f | 6d 20 79 6f 75 72 20 6d |ions fro|m your m|
|00003250| 61 6e 75 61 6c 2c 20 61 | 6e 64 20 61 64 64 69 6e |anual, a|nd addin|
|00003260| 67 0a 58 74 68 65 6d 20 | 74 6f 20 74 68 65 20 68 |g.Xthem |to the h|
|00003270| 65 6c 70 66 69 6c 65 2c | 20 61 63 63 6f 72 64 69 |elpfile,| accordi|
|00003280| 6e 67 20 74 68 65 20 74 | 68 65 20 70 61 74 74 65 |ng the t|he patte|
|00003290| 72 6e 20 6f 66 20 74 68 | 65 20 70 61 72 74 69 61 |rn of th|e partia|
|000032a0| 6c 0a 58 68 65 6c 70 66 | 69 6c 65 20 70 72 6f 76 |l.Xhelpf|ile prov|
|000032b0| 69 64 65 64 2e 0a 58 2e | 53 48 20 46 49 4c 45 53 |ided..X.|SH FILES|
|000032c0| 0a 58 2e 6e 66 0a 58 20 | 20 20 20 2f 75 73 72 2f |.X.nf.X | /usr/|
|000032d0| 6c 69 62 2f 68 65 6c 70 | 66 69 6c 65 09 64 65 66 |lib/help|file.def|
|000032e0| 61 75 6c 74 20 64 61 74 | 61 66 69 6c 65 20 63 6f |ault dat|afile co|
|000032f0| 6e 74 61 69 6e 69 6e 67 | 20 68 65 6c 70 20 69 6e |ntaining| help in|
|00003300| 66 6f 0a 58 0a 58 20 20 | 20 20 24 48 45 4c 50 44 |fo.X.X | $HELPD|
|00003310| 49 52 09 09 45 6e 76 69 | 72 6f 6e 6d 65 6e 74 20 |IR..Envi|ronment |
|00003320| 76 61 72 69 61 62 6c 65 | 20 2d 20 64 69 72 65 63 |variable| - direc|
|00003330| 74 6f 72 79 20 66 6f 72 | 20 68 65 6c 70 66 69 6c |tory for| helpfil|
|00003340| 65 0a 58 20 20 20 20 24 | 48 45 4c 50 46 49 4c 45 |e.X $|HELPFILE|
|00003350| 09 09 45 6e 76 69 72 6f | 6e 6d 65 6e 74 20 76 61 |..Enviro|nment va|
|00003360| 72 69 61 62 6c 65 20 2d | 20 61 6c 74 65 72 6e 61 |riable -| alterna|
|00003370| 74 65 20 6e 61 6d 65 20 | 66 6f 72 20 68 65 6c 70 |te name |for help|
|00003380| 66 69 6c 65 0a 58 2e 66 | 69 0a 58 2e 53 48 20 41 |file.X.f|i.X.SH A|
|00003390| 55 54 48 4f 52 53 0a 58 | 2e 6e 66 0a 58 20 20 20 |UTHORS.X|.nf.X |
|000033a0| 20 4f 72 69 67 69 6e 61 | 6c 20 41 75 74 68 6f 72 | Origina|l Author|
|000033b0| 3a 0a 58 09 75 77 6d 61 | 63 63 21 68 61 72 76 61 |:.X.uwma|cc!harva|
|000033c0| 72 64 21 6b 69 6c 6c 65 | 72 21 77 6e 70 20 28 57 |rd!kille|r!wnp (W|
|000033d0| 6f 6c 66 20 50 61 75 6c | 29 0a 58 20 20 20 20 0a |olf Paul|).X .|
|000033e0| 58 20 20 20 20 45 6e 76 | 69 72 6f 6e 6d 65 6e 74 |X Env|ironment|
|000033f0| 20 76 61 72 69 61 62 6c | 65 20 68 61 6e 64 6c 69 | variabl|e handli|
|00003400| 6e 67 20 62 79 3a 0a 58 | 09 70 6c 6f 63 68 65 72 |ng by:.X|.plocher|
|00003410| 40 75 77 73 70 61 6e 2e | 75 75 63 70 20 28 4a 6f |@uwspan.|uucp (Jo|
|00003420| 68 6e 20 50 6c 6f 63 68 | 65 72 29 0a 58 0a 45 4e |hn Ploch|er).X.EN|
|00003430| 44 5f 4f 46 5f 68 65 6c | 70 2e 6d 61 6e 0a 69 66 |D_OF_hel|p.man.if|
|00003440| 20 74 65 73 74 20 31 32 | 38 39 20 2d 6e 65 20 60 | test 12|89 -ne `|
|00003450| 77 63 20 2d 63 20 3c 68 | 65 6c 70 2e 6d 61 6e 60 |wc -c <h|elp.man`|
|00003460| 3b 20 74 68 65 6e 0a 20 | 20 20 20 65 63 68 6f 20 |; then. | echo |
|00003470| 73 68 61 72 3a 20 5c 22 | 68 65 6c 70 2e 6d 61 6e |shar: \"|help.man|
|00003480| 5c 22 20 75 6e 70 61 63 | 6b 65 64 20 77 69 74 68 |\" unpac|ked with|
|00003490| 20 77 72 6f 6e 67 20 73 | 69 7a 65 21 0a 66 69 0a | wrong s|ize!.fi.|
|000034a0| 23 20 65 6e 64 20 6f 66 | 20 6f 76 65 72 77 72 69 |# end of| overwri|
|000034b0| 74 69 6e 67 20 63 68 65 | 63 6b 0a 66 69 0a 69 66 |ting che|ck.fi.if|
|000034c0| 20 74 65 73 74 20 2d 66 | 20 68 65 6c 70 66 69 6c | test -f| helpfil|
|000034d0| 65 20 2d 61 20 22 24 7b | 31 7d 22 20 21 3d 20 22 |e -a "${|1}" != "|
|000034e0| 2d 63 22 20 3b 20 74 68 | 65 6e 20 0a 20 20 65 63 |-c" ; th|en . ec|
|000034f0| 68 6f 20 73 68 61 72 3a | 20 57 69 6c 6c 20 6e 6f |ho shar:| Will no|
|00003500| 74 20 6f 76 65 72 2d 77 | 72 69 74 65 20 65 78 69 |t over-w|rite exi|
|00003510| 73 74 69 6e 67 20 66 69 | 6c 65 20 5c 22 68 65 6c |sting fi|le \"hel|
|00003520| 70 66 69 6c 65 5c 22 0a | 65 6c 73 65 0a 65 63 68 |pfile\".|else.ech|
|00003530| 6f 20 73 68 61 72 3a 20 | 45 78 74 72 61 63 74 69 |o shar: |Extracti|
|00003540| 6e 67 20 5c 22 68 65 6c | 70 66 69 6c 65 5c 22 20 |ng \"hel|pfile\" |
|00003550| 5c 28 31 39 30 31 38 20 | 63 68 61 72 61 63 74 65 |\(19018 |characte|
|00003560| 72 73 5c 29 0a 73 65 64 | 20 22 73 2f 5e 58 2f 2f |rs\).sed| "s/^X//|
|00003570| 22 20 3e 68 65 6c 70 66 | 69 6c 65 20 3c 3c 27 45 |" >helpf|ile <<'E|
|00003580| 4e 44 5f 4f 46 5f 68 65 | 6c 70 66 69 6c 65 27 0a |ND_OF_he|lpfile'.|
|00003590| 58 23 20 76 65 72 73 69 | 6f 6e 0a 58 24 48 65 61 |X# versi|on.X$Hea|
|000035a0| 64 65 72 3a 20 68 65 6c | 70 66 69 6c 65 2c 76 20 |der: hel|pfile,v |
|000035b0| 31 2e 31 20 38 37 2f 31 | 32 2f 32 36 20 32 33 3a |1.1 87/1|2/26 23:|
|000035c0| 33 35 3a 34 33 20 70 6c | 6f 63 68 65 72 20 50 6f |35:43 pl|ocher Po|
|000035d0| 73 74 65 64 20 24 0a 58 | 23 20 61 74 6f 62 2c 20 |sted $.X|# atob, |
|000035e0| 62 74 6f 61 0a 58 62 74 | 6f 61 2c 20 61 74 6f 62 |btoa.Xbt|oa, atob|
|000035f0| 20 2d 2d 20 65 6e 63 6f | 64 65 2f 64 65 63 6f 64 | -- enco|de/decod|
|00003600| 65 20 62 69 6e 61 72 79 | 20 74 6f 20 70 72 69 6e |e binary| to prin|
|00003610| 74 61 62 6c 65 20 41 53 | 43 49 49 0a 58 55 73 61 |table AS|CII.XUsa|
|00003620| 67 65 3a 20 20 62 74 6f | 61 20 3c 20 69 6e 66 69 |ge: bto|a < infi|
|00003630| 6c 65 20 3e 20 6f 75 74 | 66 69 6c 65 0a 58 20 20 |le > out|file.X |
|00003640| 20 20 20 20 20 20 63 6d | 64 20 7c 20 62 74 6f 61 | cm|d | btoa|
|00003650| 20 3e 20 6f 75 74 66 69 | 6c 65 0a 58 09 61 74 6f | > outfi|le.X.ato|
|00003660| 62 20 69 6e 66 69 6c 65 | 0a 58 42 74 6f 61 20 69 |b infile|.XBtoa i|
|00003670| 73 20 61 20 66 69 6c 74 | 65 72 20 74 68 61 74 20 |s a filt|er that |
|00003680| 72 65 61 64 73 20 61 6e | 79 74 68 69 6e 67 20 66 |reads an|ything f|
|00003690| 72 6f 6d 20 74 68 65 20 | 73 74 61 6e 64 61 72 64 |rom the |standard|
|000036a0| 20 69 6e 70 75 74 2c 20 | 61 6e 64 20 65 6e 63 6f | input, |and enco|
|000036b0| 64 65 73 20 69 74 0a 58 | 69 6e 74 6f 20 70 72 69 |des it.X|into pri|
|000036c0| 6e 74 61 62 6c 65 20 41 | 53 43 49 49 20 6f 6e 20 |ntable A|SCII on |
|000036d0| 74 68 65 20 73 74 61 6e | 64 61 72 64 20 6f 75 74 |the stan|dard out|
|000036e0| 70 75 74 2e 20 20 49 74 | 20 61 6c 73 6f 20 61 74 |put. It| also at|
|000036f0| 74 61 63 68 65 73 20 61 | 20 68 65 61 64 65 72 20 |taches a| header |
|00003700| 61 6e 64 0a 58 63 68 65 | 63 6b 73 75 6d 20 69 6e |and.Xche|cksum in|
|00003710| 66 6f 72 6d 61 74 69 6f | 6e 20 75 73 65 64 20 62 |formatio|n used b|
|00003720| 79 20 74 68 65 20 72 65 | 76 65 72 73 65 20 66 69 |y the re|verse fi|
|00003730| 6c 74 65 72 20 61 74 6f | 62 20 74 6f 20 66 69 6e |lter ato|b to fin|
|00003740| 64 20 74 68 65 20 73 74 | 61 72 74 20 6f 66 20 74 |d the st|art of t|
|00003750| 68 65 0a 58 64 61 74 61 | 20 61 6e 64 20 74 6f 20 |he.Xdata| and to |
|00003760| 63 68 65 63 6b 20 69 6e | 74 65 67 72 69 74 79 2e |check in|tegrity.|
|00003770| 0a 58 0a 58 41 74 6f 62 | 20 72 65 61 64 73 20 61 |.X.XAtob| reads a|
|00003780| 6e 20 65 6e 63 6f 64 65 | 64 20 66 69 6c 65 2c 20 |n encode|d file, |
|00003790| 73 74 72 69 70 73 20 6f | 66 66 20 61 6e 79 20 6c |strips o|ff any l|
|000037a0| 65 61 64 69 6e 67 20 61 | 6e 64 20 74 72 61 69 6c |eading a|nd trail|
|000037b0| 69 6e 67 20 6c 69 6e 65 | 73 20 61 64 64 65 64 0a |ing line|s added.|
|000037c0| 58 62 79 20 6d 61 69 6c | 65 72 73 2c 20 61 6e 64 |Xby mail|ers, and|
|000037d0| 20 72 65 63 72 65 61 74 | 65 73 20 61 20 63 6f 70 | recreat|es a cop|
|000037e0| 79 20 6f 66 20 74 68 65 | 20 6f 72 69 67 69 6e 61 |y of the| origina|
|000037f0| 6c 20 66 69 6c 65 20 6f | 6e 20 74 68 65 20 73 74 |l file o|n the st|
|00003800| 61 6e 64 61 72 64 0a 58 | 6f 75 74 70 75 74 2e 20 |andard.X|output. |
|00003810| 20 41 74 6f 62 20 67 69 | 76 65 73 20 4e 4f 20 6f | Atob gi|ves NO o|
|00003820| 75 74 70 75 74 20 28 61 | 6e 64 20 65 78 69 74 73 |utput (a|nd exits|
|00003830| 20 77 69 74 68 20 61 6e | 20 65 72 72 6f 72 20 6d | with an| error m|
|00003840| 65 73 73 61 67 65 29 20 | 69 66 20 69 74 73 20 69 |essage) |if its i|
|00003850| 6e 70 75 74 0a 58 69 73 | 20 67 61 72 62 61 67 65 |nput.Xis| garbage|
|00003860| 20 6f 72 20 74 68 65 20 | 63 68 65 63 6b 73 75 6d | or the |checksum|
|00003870| 73 20 64 6f 20 6e 6f 74 | 20 63 68 65 63 6b 2e 0a |s do not| check..|
|00003880| 58 23 20 63 68 6d 6f 64 | 0a 58 63 68 6d 6f 64 20 |X# chmod|.Xchmod |
|00003890| 2d 2d 20 63 68 61 6e 67 | 65 20 66 69 6c 65 20 6d |-- chang|e file m|
|000038a0| 6f 64 65 73 0a 58 55 73 | 61 67 65 3a 09 63 68 6d |odes.XUs|age:.chm|
|000038b0| 6f 64 20 6d 6f 64 65 20 | 66 69 6c 65 20 2e 2e 2e |od mode |file ...|
|000038c0| 0a 58 0a 58 4d 6f 64 65 | 20 63 61 6e 20 62 65 20 |.X.XMode| can be |
|000038d0| 65 69 74 68 65 72 20 53 | 59 4d 42 4f 4c 49 43 20 |either S|YMBOLIC |
|000038e0| 6f 72 20 4f 43 54 41 4c | 2e 0a 58 0a 58 53 59 4d |or OCTAL|..X.XSYM|
|000038f0| 42 4f 4c 49 43 20 4d 4f | 44 45 53 3a 0a 58 09 5b |BOLIC MO|DES:.X.[|
|00003900| 77 68 6f 5d 20 6f 70 20 | 70 65 72 6d 0a 58 0a 58 |who] op |perm.X.X|
|00003910| 77 68 6f 3a 09 60 75 27 | 20 28 75 73 65 72 29 2c |who:.`u'| (user),|
|00003920| 20 60 67 27 20 28 67 72 | 6f 75 70 29 2c 20 60 6f | `g' (gr|oup), `o|
|00003930| 27 20 28 6f 74 68 65 72 | 73 29 3b 20 60 61 27 20 |' (other|s); `a' |
|00003940| 69 73 20 65 71 75 69 76 | 61 6c 65 6e 74 20 74 6f |is equiv|alent to|
|00003950| 20 60 75 67 6f 27 3b 0a | 58 0a 58 6f 70 3a 09 2b | `ugo';.|X.Xop:.+|
|00003960| 20 61 64 64 73 20 70 65 | 72 6d 69 73 73 69 6f 6e | adds pe|rmission|
|00003970| 2c 20 2d 20 72 65 6d 6f | 76 65 73 20 70 65 72 6d |, - remo|ves perm|
|00003980| 69 73 73 69 6f 6e 2c 20 | 3d 20 73 65 74 73 20 61 |ission, |= sets a|
|00003990| 62 73 6f 6c 75 74 65 20 | 70 65 72 6d 69 73 73 69 |bsolute |permissi|
|000039a0| 6f 6e 73 0a 58 0a 58 70 | 65 72 6d 3a 09 60 72 27 |ons.X.Xp|erm:.`r'|
|000039b0| 20 72 65 61 64 2c 20 60 | 77 27 20 77 72 69 74 65 | read, `|w' write|
|000039c0| 2c 20 60 78 27 20 65 78 | 65 63 75 74 65 20 28 6f |, `x' ex|ecute (o|
|000039d0| 72 20 73 65 61 72 63 68 | 20 66 6f 72 20 64 69 72 |r search| for dir|
|000039e0| 65 63 74 6f 72 69 65 73 | 29 3b 0a 58 09 53 75 70 |ectories|);.X.Sup|
|000039f0| 65 72 2d 55 73 65 72 20 | 6f 6e 6c 79 3a 0a 58 09 |er-User |only:.X.|
|00003a00| 60 73 27 20 73 65 74 20 | 55 49 44 20 6f 72 20 73 |`s' set |UID or s|
|00003a10| 65 74 20 47 49 44 3b 20 | 60 74 27 20 73 61 76 65 |et GID; |`t' save|
|00003a20| 20 74 65 78 74 2f 73 74 | 69 63 6b 79 20 62 69 74 | text/st|icky bit|
|00003a30| 2e 0a 58 0a 58 4f 43 54 | 41 4c 20 4d 4f 44 45 53 |..X.XOCT|AL MODES|
|00003a40| 3a 0a 58 0a 58 09 54 68 | 65 73 65 20 61 72 65 20 |:.X.X.Th|ese are |
|00003a50| 63 6f 6e 73 74 72 75 63 | 74 65 64 20 62 79 20 4f |construc|ted by O|
|00003a60| 52 69 6e 67 20 74 68 65 | 20 61 70 70 72 6f 70 72 |Ring the| appropr|
|00003a70| 69 61 74 65 20 6d 6f 64 | 65 73 20 66 72 6f 6d 20 |iate mod|es from |
|00003a80| 74 68 69 73 20 6c 69 73 | 74 3a 0a 58 09 0a 58 09 |this lis|t:.X..X.|
|00003a90| 34 30 30 30 09 53 65 74 | 20 55 49 44 20 28 53 75 |4000.Set| UID (Su|
|00003aa0| 70 65 72 75 73 65 72 20 | 6f 6e 6c 79 29 0a 58 09 |peruser |only).X.|
|00003ab0| 32 30 30 30 09 53 65 74 | 20 47 49 44 20 28 53 75 |2000.Set| GID (Su|
|00003ac0| 70 65 72 75 73 65 72 20 | 6f 6e 6c 79 29 0a 58 09 |peruser |only).X.|
|00003ad0| 31 30 30 30 09 53 74 69 | 63 6b 79 20 42 69 74 20 |1000.Sti|cky Bit |
|00003ae0| 28 53 75 70 65 72 75 73 | 65 72 20 6f 6e 6c 79 29 |(Superus|er only)|
|00003af0| 0a 58 09 30 34 30 30 09 | 52 65 61 64 20 62 79 20 |.X.0400.|Read by |
|00003b00| 4f 77 6e 65 72 0a 58 09 | 30 32 30 30 09 57 72 69 |Owner.X.|0200.Wri|
|00003b10| 74 65 20 62 79 20 4f 77 | 6e 65 72 0a 58 09 30 31 |te by Ow|ner.X.01|
|00003b20| 30 30 09 45 78 65 63 75 | 74 65 20 62 79 20 4f 77 |00.Execu|te by Ow|
|00003b30| 6e 65 72 0a 58 09 30 30 | 37 30 09 52 65 61 64 2c |ner.X.00|70.Read,|
|00003b40| 20 57 72 69 74 65 2c 20 | 45 78 65 63 75 74 65 20 | Write, |Execute |
|00003b50| 62 79 20 47 72 6f 75 70 | 0a 58 09 30 30 30 37 09 |by Group|.X.0007.|
|00003b60| 52 65 61 64 2c 20 57 72 | 69 74 65 2c 20 45 78 65 |Read, Wr|ite, Exe|
|00003b70| 63 75 74 65 20 62 79 20 | 4f 74 68 65 72 73 0a 58 |cute by |Others.X|
|00003b80| 23 20 63 68 6f 77 6e 0a | 58 63 68 6f 77 6e 2c 20 |# chown.|Xchown, |
|00003b90| 63 68 67 72 70 20 2d 2d | 20 63 68 61 6e 67 65 20 |chgrp --| change |
|00003ba0| 6f 77 6e 65 72 20 6f 72 | 20 67 72 6f 75 70 0a 58 |owner or| group.X|
|00003bb0| 55 73 61 67 65 3a 20 20 | 63 68 6f 77 6e 20 75 73 |Usage: |chown us|
|00003bc0| 65 72 20 66 69 6c 65 28 | 73 29 0a 58 09 63 68 67 |er file(|s).X.chg|
|00003bd0| 72 70 20 67 72 6f 75 70 | 20 66 69 6c 65 28 73 29 |rp group| file(s)|
|00003be0| 0a 58 0a 58 55 73 65 72 | 20 61 6e 64 20 47 72 6f |.X.XUser| and Gro|
|00003bf0| 75 70 20 63 61 6e 20 62 | 65 20 65 69 74 68 65 72 |up can b|e either|
|00003c00| 20 61 20 6e 75 6d 65 72 | 69 63 61 6c 20 55 49 44 | a numer|ical UID|
|00003c10| 20 6f 72 20 47 49 44 2c | 20 6f 72 20 61 20 6c 6f | or GID,| or a lo|
|00003c20| 67 69 6e 20 6f 72 20 67 | 72 6f 75 70 0a 58 6e 61 |gin or g|roup.Xna|
|00003c30| 6d 65 20 66 6f 75 6e 64 | 20 69 6e 20 74 68 65 20 |me found| in the |
|00003c40| 2f 65 74 63 2f 70 61 73 | 73 77 64 20 61 6e 64 20 |/etc/pas|swd and |
|00003c50| 2f 65 74 63 2f 67 72 6f | 75 70 20 66 69 6c 65 73 |/etc/gro|up files|
|00003c60| 2e 0a 58 0a 58 4f 6e 6c | 79 20 74 68 65 20 6f 77 |..X.XOnl|y the ow|
|00003c70| 6e 65 72 20 6f 66 20 61 | 20 66 69 6c 65 20 28 6f |ner of a| file (o|
|00003c80| 72 20 74 68 65 20 53 75 | 70 65 72 75 73 65 72 29 |r the Su|peruser)|
|00003c90| 20 63 61 6e 20 63 68 61 | 6e 67 65 20 74 68 65 20 | can cha|nge the |
|00003ca0| 6f 77 6e 65 72 20 6f 72 | 20 67 72 6f 75 70 0a 58 |owner or| group.X|
|00003cb0| 6f 66 20 74 68 61 74 20 | 66 69 6c 65 2e 0a 58 23 |of that |file..X#|
|00003cc0| 20 63 6f 6c 0a 58 63 6f | 6c 20 2d 2d 20 63 6f 6e | col.Xco|l -- con|
|00003cd0| 76 65 72 74 20 72 65 76 | 65 72 73 65 20 61 6e 64 |vert rev|erse and|
|00003ce0| 20 68 61 6c 66 20 6c 69 | 6e 65 20 66 65 65 64 73 | half li|ne feeds|
|00003cf0| 20 66 72 6f 6d 20 6e 72 | 6f 66 66 0a 58 55 73 61 | from nr|off.XUsa|
|00003d00| 67 65 3a 20 20 63 6f 6c | 20 5b 2d 66 20 2d 62 20 |ge: col| [-f -b |
|00003d10| 2d 78 20 2d 70 5d 20 5b | 66 69 6c 65 28 73 29 5d |-x -p] [|file(s)]|
|00003d20| 0a 58 2d 66 20 20 20 20 | 20 20 6f 75 74 70 75 74 |.X-f | output|
|00003d30| 20 64 65 76 69 63 65 20 | 63 61 6e 20 70 65 72 66 | device |can perf|
|00003d40| 6f 72 6d 20 66 6f 72 77 | 61 72 64 20 68 61 6c 66 |orm forw|ard half|
|00003d50| 20 6c 69 6e 65 20 66 65 | 65 64 73 0a 58 2d 62 20 | line fe|eds.X-b |
|00003d60| 20 20 20 20 20 6f 75 74 | 70 75 74 20 64 65 76 69 | out|put devi|
|00003d70| 63 65 20 69 73 20 63 61 | 6e 6e 6f 74 20 62 61 63 |ce is ca|nnot bac|
|00003d80| 6b 73 70 61 63 65 0a 58 | 2d 78 20 20 20 20 20 20 |kspace.X|-x |
|00003d90| 64 6f 20 6e 6f 74 20 6f | 75 74 70 75 74 20 74 61 |do not o|utput ta|
|00003da0| 62 73 20 66 6f 72 20 6d | 75 6c 74 69 70 6c 65 20 |bs for m|ultiple |
|00003db0| 73 70 61 63 65 73 0a 58 | 2d 70 20 20 20 20 20 20 |spaces.X|-p |
|00003dc0| 6c 65 74 20 75 6e 72 65 | 63 6f 67 6e 69 7a 65 64 |let unre|cognized|
|00003dd0| 20 65 73 63 61 70 65 20 | 73 65 71 75 65 6e 63 65 | escape |sequence|
|00003de0| 73 20 28 6f 74 68 65 72 | 20 74 68 61 6e 20 45 53 |s (other| than ES|
|00003df0| 43 20 37 2c 20 45 53 43 | 20 38 2c 20 61 6e 64 0a |C 7, ESC| 8, and.|
|00003e00| 58 20 20 20 20 20 20 20 | 20 45 53 43 20 39 29 20 |X | ESC 9) |
|00003e10| 70 61 73 73 2e 0a 58 43 | 6f 6c 20 69 73 20 75 73 |pass..XC|ol is us|
|00003e20| 65 64 20 74 6f 20 70 72 | 69 6e 74 20 6e 72 6f 66 |ed to pr|int nrof|
|00003e30| 66 20 6f 75 74 70 75 74 | 20 6f 6e 20 64 65 76 69 |f output| on devi|
|00003e40| 63 65 73 20 74 68 61 74 | 20 63 61 6e 6e 6f 74 20 |ces that| cannot |
|00003e50| 70 65 72 66 6f 72 6d 20 | 66 6f 72 77 61 72 64 20 |perform |forward |
|00003e60| 61 6e 64 0a 58 72 65 76 | 65 72 73 65 20 68 61 6c |and.Xrev|erse hal|
|00003e70| 66 20 6c 69 6e 65 20 6d | 6f 74 69 6f 6e 73 20 6f |f line m|otions o|
|00003e80| 72 20 72 65 76 65 72 73 | 65 20 6c 69 6e 65 20 66 |r revers|e line f|
|00003e90| 65 65 64 73 2c 20 61 73 | 20 69 73 20 74 68 65 20 |eeds, as| is the |
|00003ea0| 63 61 73 65 20 77 69 74 | 68 20 6d 6f 73 74 0a 58 |case wit|h most.X|
|00003eb0| 73 69 6d 70 6c 65 20 70 | 72 69 6e 74 65 72 73 20 |simple p|rinters |
|00003ec0| 61 6e 64 20 43 52 54 20 | 74 65 72 6d 69 6e 61 6c |and CRT |terminal|
|00003ed0| 73 2e 20 49 66 20 6e 6f | 20 66 69 6c 65 73 20 61 |s. If no| files a|
|00003ee0| 72 65 20 67 69 76 65 6e | 2c 20 63 6f 6c 20 72 65 |re given|, col re|
|00003ef0| 61 64 73 20 73 74 61 6e | 64 61 72 64 0a 58 69 6e |ads stan|dard.Xin|
|00003f00| 70 75 74 2e 0a 58 23 20 | 63 75 0a 58 63 75 20 2d |put..X# |cu.Xcu -|
|00003f10| 2d 20 63 61 6c 6c 20 61 | 6e 6f 74 68 65 72 20 55 |- call a|nother U|
|00003f20| 4e 49 58 20 73 79 73 74 | 65 6d 0a 58 55 73 61 67 |NIX syst|em.XUsag|
|00003f30| 65 3a 09 63 75 20 5b 2d | 73 20 73 70 65 65 64 5d |e:.cu [-|s speed]|
|00003f40| 20 5b 2d 6c 20 6c 69 6e | 65 5d 20 5b 2d 68 5d 20 | [-l lin|e] [-h] |
|00003f50| 5b 2d 74 5d 20 5b 2d 64 | 5d 20 5b 2d 6f 7c 65 5d |[-t] [-d|] [-o|e]|
|00003f60| 20 5b 2d 6e 5d 20 74 65 | 6c 6e 6f 0a 58 09 63 75 | [-n] te|lno.X.cu|
|00003f70| 20 5b 2d 73 20 73 70 65 | 65 64 5d 20 5b 2d 68 5d | [-s spe|ed] [-h]|
|00003f80| 20 5b 2d 64 5d 20 5b 2d | 6f 7c 65 5d 20 2d 6c 20 | [-d] [-|o|e] -l |
|00003f90| 6c 69 6e 65 0a 58 09 63 | 75 20 5b 2d 68 5d 20 5b |line.X.c|u [-h] [|
|00003fa0| 2d 64 5d 20 5b 2d 6f 7c | 65 5d 20 73 79 73 74 65 |-d] [-o||e] syste|
|00003fb0| 6d 6e 61 6d 65 0a 58 2d | 73 09 53 70 65 63 69 66 |mname.X-|s.Specif|
|00003fc0| 79 20 74 72 61 6e 73 6d | 69 73 73 69 6f 6e 20 73 |y transm|ission s|
|00003fd0| 70 65 65 64 20 28 33 30 | 30 2c 20 31 32 30 30 2c |peed (30|0, 1200,|
|00003fe0| 20 32 34 30 30 2c 20 34 | 38 30 30 2c 20 39 36 30 | 2400, 4|800, 960|
|00003ff0| 30 29 3b 0a 58 2d 6c 09 | 53 70 65 63 69 66 79 20 |0);.X-l.|Specify |
|00004000| 61 20 6c 69 6e 65 20 74 | 6f 20 62 65 20 75 73 65 |a line t|o be use|
|00004010| 64 0a 58 2d 68 09 45 6d | 75 6c 61 74 65 20 6c 6f |d.X-h.Em|ulate lo|
|00004020| 63 61 6c 20 65 63 68 6f | 20 28 68 61 6c 66 20 64 |cal echo| (half d|
|00004030| 75 70 6c 65 78 29 0a 58 | 2d 74 09 4d 61 70 20 6e |uplex).X|-t.Map n|
|00004040| 65 77 6c 69 6e 65 20 74 | 6f 20 43 52 2f 4c 46 20 |ewline t|o CR/LF |
|00004050| 66 6f 72 20 61 73 63 69 | 69 20 74 65 72 6d 69 6e |for asci|i termin|
|00004060| 61 6c 73 0a 58 2d 64 09 | 50 72 69 6e 74 20 64 69 |als.X-d.|Print di|
|00004070| 61 67 6e 6f 73 74 69 63 | 20 74 72 61 63 65 73 0a |agnostic| traces.|
|00004080| 58 2d 6f 09 47 65 6e 65 | 72 61 74 65 20 6f 64 64 |X-o.Gene|rate odd|
|00004090| 20 70 61 72 69 74 79 20 | 6f 6e 20 6f 75 74 67 6f | parity |on outgo|
|000040a0| 69 6e 67 20 64 61 74 61 | 0a 58 2d 65 09 47 65 6e |ing data|.X-e.Gen|
|000040b0| 65 72 61 74 65 20 65 76 | 65 6e 20 70 61 72 69 74 |erate ev|en parit|
|000040c0| 79 20 6f 6e 20 6f 75 74 | 67 6f 69 6e 67 20 64 61 |y on out|going da|
|000040d0| 74 61 0a 58 2d 6e 09 50 | 72 6f 6d 70 74 20 66 6f |ta.X-n.P|rompt fo|
|000040e0| 72 20 74 65 6c 65 70 68 | 6f 6e 65 20 6e 75 6d 62 |r teleph|one numb|
|000040f0| 65 72 0a 58 0a 58 43 6f | 6d 6d 61 6e 64 73 20 73 |er.X.XCo|mmands s|
|00004100| 74 61 72 74 20 77 69 74 | 68 20 60 7e 27 20 69 6e |tart wit|h `~' in|
|00004110| 20 74 68 65 20 66 69 72 | 73 74 20 63 6f 6c 75 6d | the fir|st colum|
|00004120| 6e 20 6f 66 20 61 20 6c | 69 6e 65 3a 0a 58 7e 2e |n of a l|ine:.X~.|
|00004130| 09 74 65 72 6d 69 6e 61 | 74 65 20 74 68 65 20 63 |.termina|te the c|
|00004140| 6f 6e 76 65 72 73 61 74 | 69 6f 6e 0a 58 7e 21 09 |onversat|ion.X~!.|
|00004150| 65 73 63 61 70 65 20 74 | 6f 20 69 6e 74 65 72 61 |escape t|o intera|
|00004160| 63 74 69 76 65 20 73 68 | 65 6c 6c 20 6f 6e 20 6c |ctive sh|ell on l|
|00004170| 6f 63 61 6c 20 73 79 73 | 74 65 6d 0a 58 7e 21 63 |ocal sys|tem.X~!c|
|00004180| 6d 64 09 72 75 6e 20 63 | 6d 64 20 6c 6f 63 61 6c |md.run c|md local|
|00004190| 6c 79 20 28 76 69 61 20 | 73 68 20 2d 63 29 0a 58 |ly (via |sh -c).X|
|000041a0| 7e 24 63 6d 64 09 72 75 | 6e 20 63 6d 64 20 6c 6f |~$cmd.ru|n cmd lo|
|000041b0| 63 61 6c 6c 79 20 61 6e | 64 20 73 65 6e 64 20 69 |cally an|d send i|
|000041c0| 74 73 20 6f 75 74 70 75 | 74 20 74 6f 20 72 65 6d |ts outpu|t to rem|
|000041d0| 6f 74 65 20 73 79 73 74 | 65 6d 0a 58 7e 25 63 64 |ote syst|em.X~%cd|
|000041e0| 09 63 68 61 6e 67 65 20 | 64 69 72 65 63 74 6f 72 |.change |director|
|000041f0| 79 20 6f 6e 20 6c 6f 63 | 61 6c 20 73 79 73 74 65 |y on loc|al syste|
|00004200| 6d 0a 58 7e 25 74 61 6b | 65 09 63 6f 70 79 20 66 |m.X~%tak|e.copy f|
|00004210| 69 6c 65 31 20 6f 6e 20 | 72 65 6d 6f 74 65 20 73 |ile1 on |remote s|
|00004220| 79 73 74 65 6d 20 74 6f | 20 66 69 6c 65 32 20 6f |ystem to| file2 o|
|00004230| 6e 20 74 68 65 20 6c 6f | 63 61 6c 20 73 79 73 74 |n the lo|cal syst|
|00004240| 65 6d 2e 0a 58 09 49 66 | 20 66 69 6c 65 32 20 69 |em..X.If| file2 i|
|00004250| 73 20 6e 6f 74 20 73 70 | 65 63 69 66 69 65 64 2c |s not sp|ecified,|
|00004260| 20 74 68 65 20 66 69 6c | 65 20 77 69 6c 6c 20 68 | the fil|e will h|
|00004270| 61 76 65 20 74 68 65 20 | 73 61 6d 65 20 6e 61 6d |ave the |same nam|
|00004280| 65 20 6f 6e 20 74 68 65 | 0a 58 09 6c 6f 63 61 6c |e on the|.X.local|
|00004290| 20 73 79 73 74 65 6d 20 | 61 73 20 6f 6e 20 74 68 | system |as on th|
|000042a0| 65 20 72 65 6d 6f 74 65 | 20 73 79 73 74 65 6d 2e |e remote| system.|
|000042b0| 0a 58 7e 25 70 75 74 09 | 63 6f 70 79 20 66 69 6c |.X~%put.|copy fil|
|000042c0| 65 31 66 72 6f 6d 20 74 | 68 65 20 6c 6f 63 61 6c |e1from t|he local|
|000042d0| 20 73 79 73 74 65 6d 20 | 74 6f 20 66 69 6c 65 32 | system |to file2|
|000042e0| 20 6f 6e 20 74 68 65 20 | 72 65 6d 6f 74 65 20 73 | on the |remote s|
|000042f0| 79 73 74 65 6d 2e 0a 58 | 09 49 66 20 66 69 6c 65 |ystem..X|.If file|
|00004300| 32 20 69 73 20 6e 6f 74 | 20 73 70 65 63 69 66 69 |2 is not| specifi|
|00004310| 65 64 2c 20 74 68 65 20 | 66 69 6c 65 20 77 69 6c |ed, the |file wil|
|00004320| 6c 20 68 61 76 65 20 74 | 68 65 20 73 61 6d 65 20 |l have t|he same |
|00004330| 6e 61 6d 65 20 6f 6e 20 | 74 68 65 0a 58 09 72 65 |name on |the.X.re|
|00004340| 6d 6f 74 65 20 73 79 73 | 74 65 6d 20 61 73 20 6f |mote sys|tem as o|
|00004350| 6e 20 74 68 65 20 6c 6f | 63 61 6c 20 73 79 73 74 |n the lo|cal syst|
|00004360| 65 6d 2e 0a 58 7e 7e 6c | 69 6e 65 09 73 65 6e 64 |em..X~~l|ine.send|
|00004370| 20 74 68 65 20 6c 69 6e | 65 20 22 7e 6c 69 6e 65 | the lin|e "~line|
|00004380| 22 20 74 6f 20 74 68 65 | 20 72 65 6d 6f 74 65 20 |" to the| remote |
|00004390| 73 79 73 74 65 6d 20 28 | 74 6f 20 65 78 65 63 75 |system (|to execu|
|000043a0| 74 65 20 61 20 63 75 20 | 63 6f 6d 6d 61 6e 64 20 |te a cu |command |
|000043b0| 6f 6e 0a 58 09 74 68 65 | 20 72 65 6d 6f 74 65 20 |on.X.the| remote |
|000043c0| 73 79 73 74 65 6d 29 0a | 58 7e 25 62 72 65 61 6b |system).|X~%break|
|000043d0| 09 74 72 61 6e 73 6d 69 | 74 20 61 20 42 52 45 41 |.transmi|t a BREA|
|000043e0| 4b 20 74 6f 20 74 68 65 | 20 72 65 6d 6f 74 65 20 |K to the| remote |
|000043f0| 73 79 73 74 65 6d 0a 58 | 7e 25 64 65 62 75 67 09 |system.X|~%debug.|
|00004400| 74 6f 67 67 6c 65 20 64 | 65 62 75 67 20 6f 70 74 |toggle d|ebug opt|
|00004410| 69 6f 6e 20 6f 6e 2f 6f | 66 66 0a 58 7e 74 09 70 |ion on/o|ff.X~t.p|
|00004420| 72 69 6e 74 20 74 68 65 | 20 76 61 6c 75 65 73 20 |rint the| values |
|00004430| 6f 66 20 74 68 65 20 74 | 65 72 6d 69 6f 20 73 74 |of the t|ermio st|
|00004440| 72 75 63 74 75 72 65 20 | 76 61 72 69 61 62 6c 65 |ructure |variable|
|00004450| 73 20 66 6f 72 20 74 68 | 65 20 75 73 65 72 27 73 |s for th|e user's|
|00004460| 0a 58 09 74 65 72 6d 69 | 6e 61 6c 0a 58 7e 6c 09 |.X.termi|nal.X~l.|
|00004470| 70 72 69 6e 74 20 74 68 | 65 20 76 61 6c 75 65 73 |print th|e values|
|00004480| 20 6f 66 20 74 68 65 20 | 74 65 72 6d 69 6f 20 73 | of the |termio s|
|00004490| 74 72 75 63 74 75 72 65 | 20 76 61 72 69 61 62 6c |tructure| variabl|
|000044a0| 65 73 20 66 6f 72 20 74 | 68 65 20 72 65 6d 6f 74 |es for t|he remot|
|000044b0| 65 0a 58 09 63 6f 6d 6d | 75 6e 69 63 61 74 69 6f |e.X.comm|unicatio|
|000044c0| 6e 73 20 6c 69 6e 65 0a | 58 7e 25 6e 6f 73 74 6f |ns line.|X~%nosto|
|000044d0| 70 20 20 74 6f 67 67 6c | 65 20 62 65 74 77 65 65 |p toggl|e betwee|
|000044e0| 6e 20 58 4f 4e 2f 58 4f | 46 46 20 69 6e 70 75 74 |n XON/XO|FF input|
|000044f0| 20 63 6f 6e 74 72 6f 6c | 20 70 72 6f 74 6f 63 6f | control| protoco|
|00004500| 6c 20 61 6e 64 20 6e 6f | 20 69 6e 70 75 74 20 63 |l and no| input c|
|00004510| 6f 6e 74 72 6f 6c 0a 58 | 23 20 68 65 6c 70 0a 58 |ontrol.X|# help.X|
|00004520| 68 65 6c 70 20 2d 2d 20 | 70 72 6f 76 69 64 65 20 |help -- |provide |
|00004530| 62 72 69 65 66 20 63 6f | 6d 6d 61 6e 64 20 65 78 |brief co|mmand ex|
|00004540| 70 6c 61 6e 61 74 69 6f | 6e 73 0a 58 55 73 61 67 |planatio|ns.XUsag|
|00004550| 65 3a 09 68 65 6c 70 20 | 5b 63 6f 6d 6d 61 6e 64 |e:.help |[command|
|00004560| 5d 0a 58 4c 6f 6f 6b 73 | 20 69 6e 20 24 48 45 4c |].XLooks| in $HEL|
|00004570| 50 44 49 52 2f 24 48 45 | 4c 50 46 49 4c 45 20 28 |PDIR/$HE|LPFILE (|
|00004580| 2f 75 73 72 2f 6c 69 62 | 2f 20 61 6e 64 20 68 65 |/usr/lib|/ and he|
|00004590| 6c 70 66 69 6c 65 20 61 | 72 65 20 74 68 65 20 64 |lpfile a|re the d|
|000045a0| 65 66 61 75 6c 74 73 29 | 20 66 6f 72 0a 58 65 78 |efaults)| for.Xex|
|000045b0| 70 6c 61 6e 61 74 69 6f | 6e 73 20 6f 66 20 61 20 |planatio|ns of a |
|000045c0| 63 6f 6d 6d 61 6e 64 2e | 0a 58 23 20 6c 70 2c 20 |command.|.X# lp, |
|000045d0| 63 61 6e 63 65 6c 0a 58 | 6c 70 2c 20 63 61 6e 63 |cancel.X|lp, canc|
|000045e0| 65 6c 20 2d 2d 20 73 65 | 6e 64 2f 63 61 6e 63 65 |el -- se|nd/cance|
|000045f0| 6c 20 72 65 71 75 65 73 | 74 73 20 74 6f 20 61 6e |l reques|ts to an|
|00004600| 20 4c 50 20 64 65 76 69 | 63 65 0a 58 55 73 61 67 | LP devi|ce.XUsag|
|00004610| 65 3a 09 6c 70 20 5b 2d | 63 5d 20 5b 2d 64 20 64 |e:.lp [-|c] [-d d|
|00004620| 65 73 74 5d 20 5b 2d 6d | 5d 20 5b 2d 6e 20 6e 75 |est] [-m|] [-n nu|
|00004630| 6d 5d 20 5b 2d 6f 20 6f | 70 74 5d 20 5b 2d 73 5d |m] [-o o|pt] [-s]|
|00004640| 20 5b 2d 74 20 74 69 74 | 6c 65 5d 20 5b 2d 77 5d | [-t tit|le] [-w]|
|00004650| 20 5b 66 69 6c 65 28 73 | 29 5d 0a 58 09 63 61 6e | [file(s|)].X.can|
|00004660| 63 65 6c 20 5b 69 64 73 | 5d 20 5b 64 65 76 69 63 |cel [ids|] [devic|
|00004670| 65 73 5d 0a 58 2d 63 09 | 43 6f 70 79 20 66 69 6c |es].X-c.|Copy fil|
|00004680| 65 73 20 69 6d 6d 65 64 | 69 61 74 65 6c 79 20 69 |es immed|iately i|
|00004690| 6e 73 74 65 61 64 20 6f | 66 20 6c 69 6e 6b 69 6e |nstead o|f linkin|
|000046a0| 67 0a 58 2d 64 09 43 68 | 6f 6f 73 65 20 64 65 73 |g.X-d.Ch|oose des|
|000046b0| 74 20 61 73 20 74 68 65 | 20 70 72 69 6e 74 65 72 |t as the| printer|
|000046c0| 20 6f 72 20 63 6c 61 73 | 73 20 6f 66 20 70 72 69 | or clas|s of pri|
|000046d0| 6e 74 65 72 73 20 74 6f | 20 64 6f 20 74 68 65 20 |nters to| do the |
|000046e0| 70 72 69 6e 74 69 6e 67 | 2e 0a 58 2d 6d 09 53 65 |printing|..X-m.Se|
|000046f0| 6e 64 20 6d 61 69 6c 20 | 61 66 74 65 72 20 66 69 |nd mail |after fi|
|00004700| 6c 65 73 20 68 61 76 65 | 20 62 65 65 6e 20 70 72 |les have| been pr|
|00004710| 69 6e 74 65 64 0a 58 2d | 6e 09 50 72 69 6e 74 20 |inted.X-|n.Print |
|00004720| 6e 75 6d 20 63 6f 70 69 | 65 73 0a 58 2d 6f 09 53 |num copi|es.X-o.S|
|00004730| 70 65 63 69 66 79 20 70 | 72 69 6e 74 65 72 2d 64 |pecify p|rinter-d|
|00004740| 65 70 65 6e 64 65 6e 74 | 20 6f 70 74 69 6f 6e 73 |ependent| options|
|00004750| 0a 58 2d 73 09 53 75 70 | 70 72 65 73 73 20 6d 65 |.X-s.Sup|press me|
|00004760| 73 73 61 67 65 73 20 66 | 72 6f 6d 20 6c 70 20 73 |ssages f|rom lp s|
|00004770| 75 63 68 20 61 73 20 22 | 72 65 71 75 65 73 74 20 |uch as "|request |
|00004780| 69 64 20 69 73 20 2e 2e | 2e 22 0a 58 2d 74 09 50 |id is ..|.".X-t.P|
|00004790| 72 69 6e 74 20 74 69 74 | 6c 65 20 6f 6e 20 74 68 |rint tit|le on th|
|000047a0| 65 20 62 61 6e 6e 65 72 | 20 70 61 67 65 20 6f 66 |e banner| page of|
|000047b0| 20 74 68 65 20 6f 75 74 | 70 75 74 0a 58 2d 77 09 | the out|put.X-w.|
|000047c0| 57 72 69 74 65 20 61 20 | 6d 65 73 73 61 67 65 20 |Write a |message |
|000047d0| 6f 6e 20 74 68 65 20 75 | 73 65 72 27 73 20 74 65 |on the u|ser's te|
|000047e0| 72 6d 69 6e 61 6c 20 77 | 68 65 6e 20 66 69 6c 65 |rminal w|hen file|
|000047f0| 73 20 68 61 76 65 20 62 | 65 65 6e 20 70 72 69 6e |s have b|een prin|
|00004800| 74 65 64 2e 0a 58 43 61 | 6e 63 65 6c 20 63 61 6e |ted..XCa|ncel can|
|00004810| 63 65 6c 73 20 6c 69 6e | 65 20 70 72 69 6e 74 65 |cels lin|e printe|
|00004820| 72 20 72 65 71 75 65 73 | 74 73 20 74 68 61 74 20 |r reques|ts that |
|00004830| 77 65 72 65 20 6d 61 64 | 65 20 77 69 74 68 20 74 |were mad|e with t|
|00004840| 68 65 20 6c 70 20 63 6f | 6d 6d 61 6e 64 2e 0a 58 |he lp co|mmand..X|
|00004850| 54 68 65 20 63 6f 6d 6d | 61 6e 64 6c 69 6e 65 20 |The comm|andline |
|00004860| 61 72 67 75 6d 65 6e 74 | 73 20 6d 61 79 20 62 65 |argument|s may be|
|00004870| 20 65 69 74 68 65 72 20 | 72 65 71 75 65 73 74 20 | either |request |
|00004880| 69 64 73 20 61 73 20 72 | 65 74 75 72 6e 65 64 20 |ids as r|eturned |
|00004890| 62 79 20 6c 70 20 77 69 | 74 68 6f 75 74 0a 58 74 |by lp wi|thout.Xt|
|000048a0| 68 65 20 2d 73 20 6f 70 | 74 69 6f 6e 2c 20 6f 72 |he -s op|tion, or|
|000048b0| 20 70 72 69 6e 74 65 72 | 20 6e 61 6d 65 73 20 28 | printer| names (|
|000048c0| 66 6f 72 20 61 20 63 6f | 6d 70 6c 65 74 65 20 6c |for a co|mplete l|
|000048d0| 69 73 74 20 64 6f 20 22 | 6c 70 73 74 61 74 22 29 |ist do "|lpstat")|
|000048e0| 2e 0a 58 23 20 6c 70 73 | 74 61 74 0a 58 6c 70 73 |..X# lps|tat.Xlps|
|000048f0| 74 61 74 20 2d 2d 20 70 | 72 69 6e 74 20 4c 50 20 |tat -- p|rint LP |
|00004900| 73 74 61 74 75 73 20 69 | 6e 66 6f 72 6d 61 74 69 |status i|nformati|
|00004910| 6f 6e 0a 58 55 73 61 67 | 65 3a 09 6c 70 73 74 61 |on.XUsag|e:.lpsta|
|00004920| 74 20 5b 6f 70 74 69 6f | 6e 73 5d 0a 58 2d 61 20 |t [optio|ns].X-a |
|00004930| 6c 69 73 74 09 50 72 69 | 6e 74 20 61 63 63 65 70 |list.Pri|nt accep|
|00004940| 74 61 6e 63 65 20 73 74 | 61 74 75 73 20 28 77 69 |tance st|atus (wi|
|00004950| 74 68 20 72 65 73 70 65 | 63 74 20 74 6f 20 6c 70 |th respe|ct to lp|
|00004960| 29 20 6f 66 20 64 65 73 | 74 69 6e 61 74 69 6f 6e |) of des|tination|
|00004970| 73 20 66 6f 72 0a 58 09 | 72 65 71 75 65 73 74 73 |s for.X.|requests|
|00004980| 2e 20 22 4c 69 73 74 22 | 20 69 73 20 61 20 6c 69 |. "List"| is a li|
|00004990| 73 74 20 6f 66 20 69 6e | 74 65 72 6d 69 78 65 64 |st of in|termixed|
|000049a0| 20 70 72 69 6e 74 65 72 | 20 61 6e 64 20 63 6c 61 | printer| and cla|
|000049b0| 73 73 20 6e 61 6d 65 73 | 2e 0a 58 2d 63 20 6c 69 |ss names|..X-c li|
|000049c0| 73 74 09 50 72 69 6e 74 | 20 63 6c 61 73 73 20 6e |st.Print| class n|
|000049d0| 61 6d 65 73 20 61 6e 64 | 20 74 68 65 69 72 20 6d |ames and| their m|
|000049e0| 65 6d 62 65 72 73 2e 20 | 22 4c 69 73 74 22 20 69 |embers. |"List" i|
|000049f0| 73 20 61 20 6c 69 73 74 | 20 6f 66 20 63 6c 61 73 |s a list| of clas|
|00004a00| 73 20 6e 61 6d 65 73 2e | 0a 58 2d 64 09 50 72 69 |s names.|.X-d.Pri|
|00004a10| 6e 74 20 74 68 65 20 64 | 65 66 61 75 6c 74 20 64 |nt the d|efault d|
|00004a20| 65 73 74 69 6e 61 74 69 | 6f 6e 20 66 6f 72 20 6c |estinati|on for l|
|00004a30| 70 2e 0a 58 2d 6f 20 6c | 69 73 74 09 50 72 69 6e |p..X-o l|ist.Prin|
|00004a40| 74 20 74 68 65 20 73 74 | 61 74 75 73 20 6f 66 20 |t the st|atus of |
|00004a50| 6f 75 74 70 75 74 20 72 | 65 71 75 65 73 74 73 2e |output r|equests.|
|00004a60| 20 22 4c 69 73 74 22 20 | 69 73 20 61 20 6c 69 73 | "List" |is a lis|
|00004a70| 74 20 6f 66 20 69 6e 74 | 65 72 6d 69 78 65 64 0a |t of int|ermixed.|
|00004a80| 58 09 70 72 69 6e 74 65 | 72 20 6e 61 6d 65 73 2c |X.printe|r names,|
|00004a90| 20 63 6c 61 73 73 20 6e | 61 6d 65 73 2c 20 61 6e | class n|ames, an|
|00004aa0| 64 20 72 65 71 75 65 73 | 74 20 69 64 73 2e 0a 58 |d reques|t ids..X|
|00004ab0| 2d 70 20 6c 69 73 74 09 | 50 72 69 6e 74 20 74 68 |-p list.|Print th|
|00004ac0| 65 20 73 74 61 74 75 73 | 20 6f 66 20 70 72 69 6e |e status| of prin|
|00004ad0| 74 65 72 73 2e 20 22 4c | 69 73 74 22 20 69 73 20 |ters. "L|ist" is |
|00004ae0| 61 20 6c 69 73 74 20 6f | 66 20 70 72 69 6e 74 65 |a list o|f printe|
|00004af0| 72 20 6e 61 6d 65 73 2e | 0a 58 2d 72 09 50 72 69 |r names.|.X-r.Pri|
|00004b00| 6e 74 20 74 68 65 20 73 | 74 61 74 75 73 20 6f 66 |nt the s|tatus of|
|00004b10| 20 74 68 65 20 4c 50 20 | 72 65 71 75 65 73 74 20 | the LP |request |
|00004b20| 73 63 68 65 64 75 6c 65 | 72 2e 0a 58 2d 73 09 50 |schedule|r..X-s.P|
|00004b30| 72 69 6e 74 20 61 20 73 | 74 61 74 75 73 20 73 75 |rint a s|tatus su|
|00004b40| 6d 6d 61 72 79 0a 58 2d | 74 09 50 72 69 6e 74 20 |mmary.X-|t.Print |
|00004b50| 61 6c 6c 20 73 74 61 74 | 75 73 20 69 6e 66 6f 72 |all stat|us infor|
|00004b60| 6d 61 74 69 6f 6e 0a 58 | 2d 75 20 6c 69 73 74 09 |mation.X|-u list.|
|00004b70| 50 72 69 6e 74 20 73 74 | 61 74 75 73 20 6f 66 20 |Print st|atus of |
|00004b80| 6f 75 74 70 75 74 20 72 | 65 71 75 65 73 74 73 20 |output r|equests |
|00004b90| 66 6f 72 20 75 73 65 72 | 73 2e 20 22 4c 69 73 74 |for user|s. "List|
|00004ba0| 22 20 69 73 20 61 20 6c | 69 73 74 20 6f 66 20 6c |" is a l|ist of l|
|00004bb0| 6f 67 69 6e 0a 58 09 6e | 61 6d 65 73 2e 0a 58 2d |ogin.X.n|ames..X-|
|00004bc0| 76 20 6c 69 73 74 09 50 | 72 69 6e 74 20 74 68 65 |v list.P|rint the|
|00004bd0| 20 6e 61 6d 65 73 20 6f | 66 20 70 72 69 6e 74 65 | names o|f printe|
|00004be0| 72 73 20 61 6e 64 20 74 | 68 65 20 70 61 74 68 6e |rs and t|he pathn|
|00004bf0| 61 6d 65 73 20 6f 66 20 | 64 65 76 69 63 65 73 20 |ames of |devices |
|00004c00| 61 73 73 6f 63 69 61 74 | 65 64 0a 58 09 77 69 74 |associat|ed.X.wit|
|00004c10| 68 20 74 68 65 6d 2e 20 | 22 4c 69 73 74 22 20 69 |h them. |"List" i|
|00004c20| 73 20 61 20 6c 69 73 74 | 20 6f 66 20 70 72 69 6e |s a list| of prin|
|00004c30| 74 65 72 20 6e 61 6d 65 | 73 2e 0a 58 49 66 20 22 |ter name|s..XIf "|
|00004c40| 6c 69 73 74 22 20 69 73 | 20 6f 6d 69 74 74 65 64 |list" is| omitted|
|00004c50| 20 69 6e 20 74 68 65 20 | 61 62 6f 76 65 20 6f 70 | in the |above op|
|00004c60| 74 69 6f 6e 73 2c 20 61 | 6c 6c 20 69 6e 66 6f 72 |tions, a|ll infor|
|00004c70| 6d 61 74 69 6f 6e 20 72 | 65 6c 65 76 61 6e 74 20 |mation r|elevant |
|00004c80| 74 6f 20 74 68 65 0a 58 | 6f 70 74 69 6f 6e 20 6c |to the.X|option l|
|00004c90| 65 74 74 65 72 20 77 69 | 6c 6c 20 62 65 20 70 72 |etter wi|ll be pr|
|00004ca0| 69 6e 74 65 64 2e 0a 58 | 23 20 6d 61 69 6c 2c 20 |inted..X|# mail, |
|00004cb0| 6d 61 69 6c 78 0a 58 6d | 61 69 6c 2c 20 6d 61 69 |mailx.Xm|ail, mai|
|00004cc0| 6c 78 20 2d 2d 20 65 6c | 65 63 74 72 6f 6e 69 63 |lx -- el|ectronic|
|00004cd0| 20 6d 61 69 6c 20 70 72 | 6f 67 72 61 6d 73 0a 58 | mail pr|ograms.X|
|00004ce0| 55 73 61 67 65 3a 09 6d | 61 69 6c 09 09 23 20 74 |Usage:.m|ail..# t|
|00004cf0| 6f 20 63 68 65 63 6b 20 | 66 6f 72 20 6d 61 69 6c |o check |for mail|
|00004d00| 0a 58 09 6d 61 69 6c 78 | 0a 58 09 6d 61 69 6c 20 |.X.mailx|.X.mail |
|00004d10| 75 73 65 72 09 23 20 74 | 6f 20 73 65 6e 64 20 6d |user.# t|o send m|
|00004d20| 61 69 6c 20 74 6f 20 75 | 73 65 72 0a 58 09 6d 61 |ail to u|ser.X.ma|
|00004d30| 69 6c 78 20 75 73 65 72 | 0a 58 54 68 65 20 6f 70 |ilx user|.XThe op|
|00004d40| 74 69 6f 6e 73 20 61 6e | 64 20 63 6f 6d 6d 61 6e |tions an|d comman|
|00004d50| 64 73 20 66 6f 72 20 74 | 68 65 73 65 20 74 77 6f |ds for t|hese two|
|00004d60| 20 70 72 6f 67 72 61 6d | 73 20 61 72 65 20 74 6f | program|s are to|
|00004d70| 6f 20 6e 75 6d 65 72 6f | 75 73 0a 58 74 6f 20 6c |o numero|us.Xto l|
|00004d80| 69 73 74 20 68 65 72 65 | 2e 20 53 65 65 20 74 68 |ist here|. See th|
|00004d90| 65 20 6d 61 6e 75 61 6c | 20 65 6e 74 72 69 65 73 |e manual| entries|
|00004da0| 20 61 6e 64 20 74 75 74 | 6f 72 69 61 6c 73 20 69 | and tut|orials i|
|00004db0| 66 20 79 6f 75 20 6e 65 | 65 64 20 6d 6f 72 65 20 |f you ne|ed more |
|00004dc0| 69 6e 66 6f 72 6d 61 74 | 69 6f 6e 0a 58 74 68 61 |informat|ion.Xtha|
|00004dd0| 6e 20 73 68 6f 77 6e 20 | 61 62 6f 76 65 2e 0a 58 |n shown |above..X|
|00004de0| 23 20 6d 65 73 67 0a 58 | 6d 65 73 67 20 2d 2d 20 |# mesg.X|mesg -- |
|00004df0| 70 65 72 6d 69 74 20 6f | 72 20 64 65 6e 79 20 6d |permit o|r deny m|
|00004e00| 65 73 73 61 67 65 73 0a | 58 55 73 61 67 65 3a 09 |essages.|XUsage:.|
|00004e10| 6d 65 73 67 20 5b 2d 6e | 5d 20 5b 2d 79 5d 0a 58 |mesg [-n|] [-y].X|
|00004e20| 2d 6e 09 46 6f 72 62 69 | 64 20 6d 65 73 73 61 67 |-n.Forbi|d messag|
|00004e30| 65 73 20 76 69 61 20 77 | 72 69 74 65 28 31 29 0a |es via w|rite(1).|
|00004e40| 58 2d 79 09 41 6c 6c 6f | 77 20 6d 65 73 73 61 67 |X-y.Allo|w messag|
|00004e50| 65 73 20 76 69 61 20 77 | 72 69 74 65 28 31 29 0a |es via w|rite(1).|
|00004e60| 58 57 69 74 68 6f 75 74 | 20 6f 70 74 69 6f 6e 73 |XWithout| options|
|00004e70| 2c 20 6d 65 73 67 20 72 | 65 70 6f 72 74 73 20 74 |, mesg r|eports t|
|00004e80| 68 65 20 63 75 72 72 65 | 6e 74 20 73 74 61 74 75 |he curre|nt statu|
|00004e90| 73 2e 0a 58 23 20 6d 6f | 72 65 0a 58 6d 6f 72 65 |s..X# mo|re.Xmore|
|00004ea0| 20 2d 2d 20 66 69 6c 65 | 20 62 72 6f 77 73 65 72 | -- file| browser|
|00004eb0| 0a 58 55 73 61 67 65 3a | 09 6d 6f 72 65 20 66 69 |.XUsage:|.more fi|
|00004ec0| 6c 65 28 73 29 0a 58 23 | 20 6e 65 77 67 72 70 0a |le(s).X#| newgrp.|
|00004ed0| 58 6e 65 77 67 72 70 20 | 2d 2d 20 6c 6f 67 20 69 |Xnewgrp |-- log i|
|00004ee0| 6e 20 74 6f 20 61 20 6e | 65 77 20 67 72 6f 75 70 |n to a n|ew group|
|00004ef0| 0a 58 55 73 61 67 65 3a | 09 6e 65 77 67 72 70 20 |.XUsage:|.newgrp |
|00004f00| 5b 2d 5d 20 5b 67 72 6f | 75 70 5d 0a 58 49 6e 76 |[-] [gro|up].XInv|
|00004f10| 6f 6b 65 73 20 61 20 6e | 65 77 20 73 68 65 6c 6c |okes a n|ew shell|
|00004f20| 20 77 69 74 68 20 74 68 | 65 20 67 72 6f 75 70 20 | with th|e group |
|00004f30| 69 64 20 73 65 74 20 74 | 6f 20 74 68 65 20 73 70 |id set t|o the sp|
|00004f40| 65 63 69 66 69 65 64 20 | 67 72 6f 75 70 2e 0a 58 |ecified |group..X|
|00004f50| 57 69 74 68 20 61 72 67 | 75 6d 65 6e 74 20 60 2d |With arg|ument `-|
|00004f60| 27 2c 20 6e 65 77 67 72 | 70 20 73 65 74 73 20 75 |', newgr|p sets u|
|00004f70| 70 20 74 68 65 20 65 6e | 76 69 72 6f 6e 6d 65 6e |p the en|vironmen|
|00004f80| 74 20 61 73 20 69 66 20 | 74 68 65 20 75 73 65 72 |t as if |the user|
|00004f90| 20 68 61 64 0a 58 61 63 | 74 75 61 6c 6c 79 20 6c | had.Xac|tually l|
|00004fa0| 6f 67 67 65 64 20 69 6e | 20 61 67 61 69 6e 20 61 |ogged in| again a|
|00004fb0| 73 20 61 20 6d 65 6d 62 | 65 72 20 6f 66 20 74 68 |s a memb|er of th|
|00004fc0| 65 20 73 70 65 63 69 66 | 69 65 64 20 67 72 6f 75 |e specif|ied grou|
|00004fd0| 70 2e 0a 58 57 69 74 68 | 6f 75 74 20 61 72 67 75 |p..XWith|out argu|
|00004fe0| 6d 65 6e 74 73 2c 20 74 | 68 65 20 67 72 6f 75 70 |ments, t|he group|
|00004ff0| 20 69 64 20 69 73 20 73 | 65 74 20 62 61 63 6b 20 | id is s|et back |
|00005000| 74 6f 20 74 68 61 74 20 | 73 70 65 63 69 66 69 65 |to that |specifie|
|00005010| 64 20 69 6e 20 2f 65 74 | 63 2f 70 61 73 73 77 64 |d in /et|c/passwd|
|00005020| 2e 0a 58 23 20 6e 69 63 | 65 0a 58 6e 69 63 65 20 |..X# nic|e.Xnice |
|00005030| 2d 2d 20 72 75 6e 20 61 | 20 63 6f 6d 6d 61 6e 64 |-- run a| command|
|00005040| 20 61 74 20 61 20 6c 6f | 77 20 70 72 69 6f 72 69 | at a lo|w priori|
|00005050| 74 79 0a 58 55 73 61 67 | 65 3a 09 6e 69 63 65 20 |ty.XUsag|e:.nice |
|00005060| 5b 2d 69 6e 63 72 65 6d | 65 6e 74 5d 20 63 6f 6d |[-increm|ent] com|
|00005070| 6d 61 6e 64 20 5b 61 72 | 67 75 6d 65 6e 74 73 5d |mand [ar|guments]|
|00005080| 0a 58 4e 69 63 65 20 65 | 78 65 63 75 74 65 73 20 |.XNice e|xecutes |
|00005090| 63 6f 6d 6d 61 6e 64 20 | 77 69 74 68 20 61 20 6c |command |with a l|
|000050a0| 6f 77 65 72 20 43 50 55 | 20 73 63 68 65 64 75 6c |ower CPU| schedul|
|000050b0| 69 6e 67 20 70 72 69 6f | 72 69 74 79 2e 20 49 66 |ing prio|rity. If|
|000050c0| 20 6e 6f 20 22 69 6e 63 | 72 65 6d 65 6e 74 22 0a | no "inc|rement".|
|000050d0| 58 61 72 67 75 6d 65 6e | 74 20 69 73 20 67 69 76 |Xargumen|t is giv|
|000050e0| 65 6e 2c 20 61 20 64 65 | 66 61 75 6c 74 20 6f 66 |en, a de|fault of|
|000050f0| 20 31 30 20 69 73 20 75 | 73 65 64 2e 0a 58 4f 6e | 10 is u|sed..XOn|
|00005100| 6c 79 20 74 68 65 20 53 | 75 70 65 72 75 73 65 72 |ly the S|uperuser|
|00005110| 20 6d 61 79 20 72 75 6e | 20 63 6f 6d 6d 61 6e 64 | may run| command|
|00005120| 73 20 77 69 74 68 20 68 | 69 67 68 65 72 2d 74 68 |s with h|igher-th|
|00005130| 61 6e 2d 75 73 75 61 6c | 20 70 72 69 6f 72 69 74 |an-usual| priorit|
|00005140| 79 20 62 79 20 75 73 69 | 6e 67 0a 58 61 20 6e 65 |y by usi|ng.Xa ne|
|00005150| 67 61 74 69 76 65 20 69 | 6e 63 72 65 6d 65 6e 74 |gative i|ncrement|
|00005160| 20 28 65 2e 67 2e 20 2d | 2d 31 30 29 2e 0a 58 23 | (e.g. -|-10)..X#|
|00005170| 20 6e 6f 68 75 70 0a 58 | 6e 6f 68 75 70 20 2d 20 | nohup.X|nohup - |
|00005180| 72 75 6e 20 61 20 63 6f | 6d 6d 61 6e 64 20 69 6d |run a co|mmand im|
|00005190| 6d 75 6e 65 20 74 6f 20 | 68 61 6e 67 75 70 73 20 |mune to |hangups |
|000051a0| 61 6e 64 20 71 75 69 74 | 73 0a 58 55 73 61 67 65 |and quit|s.XUsage|
|000051b0| 3a 09 6e 6f 68 75 70 20 | 63 6f 6d 6d 61 6e 64 20 |:.nohup |command |
|000051c0| 5b 61 72 67 75 6d 65 6e | 74 73 5d 0a 58 49 66 20 |[argumen|ts].XIf |
|000051d0| 6e 6f 68 75 70 20 73 68 | 6f 75 6c 64 20 61 70 70 |nohup sh|ould app|
|000051e0| 6c 79 20 74 6f 20 73 65 | 76 65 72 61 6c 20 63 6f |ly to se|veral co|
|000051f0| 6d 6d 61 6e 64 73 2c 20 | 74 68 65 79 20 73 68 6f |mmands, |they sho|
|00005200| 75 6c 64 20 62 65 20 70 | 6c 61 63 65 64 20 69 6e |uld be p|laced in|
|00005210| 20 61 20 66 69 6c 65 0a | 58 61 6e 64 20 69 6e 76 | a file.|Xand inv|
|00005220| 6f 6b 65 64 20 61 73 20 | 22 6e 6f 68 75 70 20 73 |oked as |"nohup s|
|00005230| 68 20 63 6f 6d 6d 61 6e | 64 66 69 6c 65 22 2e 0a |h comman|dfile"..|
|00005240| 58 49 66 20 74 68 65 20 | 6f 75 74 70 75 74 20 66 |XIf the |output f|
|00005250| 72 6f 6d 20 22 63 6f 6d | 6d 61 6e 64 22 20 69 73 |rom "com|mand" is|
|00005260| 20 6e 6f 74 20 72 65 64 | 69 72 65 63 74 65 64 20 | not red|irected |
|00005270| 62 79 20 74 68 65 20 75 | 73 65 72 2c 20 69 74 20 |by the u|ser, it |
|00005280| 77 69 6c 6c 20 62 65 20 | 70 6c 61 63 65 64 0a 58 |will be |placed.X|
|00005290| 69 6e 74 6f 20 61 20 66 | 69 6c 65 20 6e 6f 68 75 |into a f|ile nohu|
|000052a0| 70 2e 6f 75 74 20 69 6e | 20 74 68 65 20 63 75 72 |p.out in| the cur|
|000052b0| 72 65 6e 74 20 6f 72 20 | 48 4f 4d 45 20 64 69 72 |rent or |HOME dir|
|000052c0| 65 63 74 6f 72 79 20 6f | 66 20 74 68 65 20 75 73 |ectory o|f the us|
|000052d0| 65 72 2e 0a 58 23 20 6e | 72 6f 66 66 0a 58 6e 72 |er..X# n|roff.Xnr|
|000052e0| 6f 66 66 20 2d 2d 20 74 | 65 78 74 20 66 6f 72 6d |off -- t|ext form|
|000052f0| 61 74 74 65 72 20 66 6f | 72 20 6c 69 6e 65 20 70 |atter fo|r line p|
|00005300| 72 69 6e 74 65 72 20 64 | 65 76 69 63 65 73 0a 58 |rinter d|evices.X|
|00005310| 55 73 61 67 65 3a 20 20 | 6e 72 6f 66 66 20 5b 6f |Usage: |nroff [o|
|00005320| 70 74 69 6f 6e 73 5d 20 | 5b 66 69 6c 65 73 5d 0a |ptions] |[files].|
|00005330| 58 2d 6f 6c 69 73 74 20 | 20 70 72 69 6e 74 20 6f |X-olist | print o|
|00005340| 6e 6c 79 20 70 61 67 65 | 73 20 6c 69 73 74 65 64 |nly page|s listed|
|00005350| 3b 20 72 61 6e 67 65 73 | 20 61 72 65 20 61 6c 6c |; ranges| are all|
|00005360| 6f 77 65 64 0a 58 2d 6e | 4e 20 20 20 20 20 6e 75 |owed.X-n|N nu|
|00005370| 6d 62 65 72 20 66 69 72 | 73 74 20 70 61 67 65 20 |mber fir|st page |
|00005380| 4e 0a 58 2d 73 4e 20 20 | 20 20 20 73 74 6f 70 20 |N.X-sN | stop |
|00005390| 65 76 65 72 79 20 4e 20 | 70 61 67 65 73 20 74 6f |every N |pages to|
|000053a0| 20 61 6c 6c 6f 77 20 70 | 61 70 65 72 20 6c 6f 61 | allow p|aper loa|
|000053b0| 64 69 6e 67 20 6f 72 0a | 58 20 20 20 20 20 20 20 |ding or.|X |
|000053c0| 20 63 68 61 6e 67 69 6e | 67 2e 20 52 65 73 75 6d | changin|g. Resum|
|000053d0| 65 20 75 70 6f 6e 20 72 | 65 63 65 69 70 74 20 6f |e upon r|eceipt o|
|000053e0| 66 20 61 20 6e 65 77 6c | 69 6e 65 2e 0a 58 2d 72 |f a newl|ine..X-r|
|000053f0| 61 4e 20 20 20 20 73 65 | 74 20 72 65 67 69 73 74 |aN se|t regist|
|00005400| 65 72 20 61 20 28 6d 75 | 73 74 20 62 65 20 6f 6e |er a (mu|st be on|
|00005410| 65 2d 63 68 61 72 61 63 | 74 65 72 20 6e 61 6d 65 |e-charac|ter name|
|00005420| 29 20 74 6f 20 4e 2e 0a | 58 2d 69 20 20 20 20 20 |) to N..|X-i |
|00005430| 20 72 65 61 64 20 73 74 | 61 6e 64 61 72 64 20 69 | read st|andard i|
|00005440| 6e 70 75 74 20 61 66 74 | 65 72 20 66 69 6c 65 73 |nput aft|er files|
|00005450| 20 61 72 65 20 65 78 68 | 61 75 73 74 65 64 0a 58 | are exh|austed.X|
|00005460| 2d 71 20 20 20 20 20 20 | 69 6e 76 6f 6b 65 20 74 |-q |invoke t|
|00005470| 68 65 20 73 69 6d 75 6c | 74 61 6e 65 6f 75 73 20 |he simul|taneous |
|00005480| 69 6e 70 75 74 2d 6f 75 | 74 70 75 74 20 6d 6f 64 |input-ou|tput mod|
|00005490| 65 20 6f 66 20 74 68 65 | 20 2e 72 64 20 72 65 71 |e of the| .rd req|
|000054a0| 75 65 73 74 0a 58 2d 7a | 20 20 20 20 20 20 70 72 |uest.X-z| pr|
|000054b0| 69 6e 74 20 6f 6e 6c 79 | 20 6d 65 73 73 61 67 65 |int only| message|
|000054c0| 73 20 67 65 6e 65 72 61 | 74 65 64 20 62 79 20 2e |s genera|ted by .|
|000054d0| 74 6d 20 28 74 65 72 6d | 69 6e 61 6c 20 6d 65 73 |tm (term|inal mes|
|000054e0| 73 61 67 65 29 20 72 65 | 71 75 65 73 74 73 0a 58 |sage) re|quests.X|
|000054f0| 2d 6d 6e 61 6d 65 09 70 | 72 65 70 65 6e 64 20 74 |-mname.p|repend t|
|00005500| 6f 20 74 68 65 20 69 6e | 70 75 74 20 66 69 6c 65 |o the in|put file|
|00005510| 73 20 74 68 65 20 74 68 | 65 20 6e 6f 6e 2d 63 6f |s the th|e non-co|
|00005520| 6d 70 61 63 74 65 64 20 | 28 41 53 43 49 49 20 74 |mpacted |(ASCII t|
|00005530| 65 78 74 29 20 6d 61 63 | 72 6f 20 66 69 6c 65 0a |ext) mac|ro file.|
|00005540| 58 09 6c 6f 63 61 74 65 | 64 20 69 6e 20 2f 75 73 |X.locate|d in /us|
|00005550| 72 2f 6c 69 62 2f 74 6d | 61 63 2f 74 6d 61 63 2e |r/lib/tm|ac/tmac.|
|00005560| 6e 61 6d 65 0a 58 2d 63 | 6e 61 6d 65 09 70 72 65 |name.X-c|name.pre|
|00005570| 70 65 6e 64 20 74 6f 20 | 74 68 65 20 69 6e 70 75 |pend to |the inpu|
|00005580| 74 20 66 69 6c 65 73 20 | 74 68 65 20 63 6f 6d 70 |t files |the comp|
|00005590| 61 63 74 65 64 20 6d 61 | 63 72 6f 20 66 69 6c 65 |acted ma|cro file|
|000055a0| 73 20 6c 6f 63 61 74 65 | 64 20 69 6e 0a 58 09 2f |s locate|d in.X./|
|000055b0| 75 73 72 2f 6c 69 62 2f | 6d 61 63 72 6f 73 2f 63 |usr/lib/|macros/c|
|000055c0| 6d 70 2e 5b 6e 74 5d 2e | 5b 64 74 5d 2e 6e 61 6d |mp.[nt].|[dt].nam|
|000055d0| 65 20 61 6e 64 20 0a 58 | 09 2f 75 73 72 2f 6c 69 |e and .X|./usr/li|
|000055e0| 62 2f 6d 61 63 72 6f 73 | 2f 75 63 6d 70 2e 5b 6e |b/macros|/ucmp.[n|
|000055f0| 74 5d 2e 6e 61 6d 65 2e | 0a 58 2d 6b 6e 61 6d 65 |t].name.|.X-kname|
|00005600| 09 43 6f 6d 70 61 63 74 | 20 74 68 65 20 6d 61 63 |.Compact| the mac|
|00005610| 72 6f 73 20 75 73 65 64 | 20 69 6e 20 74 68 69 73 |ros used| in this|
|00005620| 20 69 6e 76 6f 63 61 74 | 69 6f 6e 20 6f 66 20 6e | invocat|ion of n|
|00005630| 72 6f 66 66 2c 20 70 6c | 61 63 69 6e 67 20 74 68 |roff, pl|acing th|
|00005640| 65 20 6f 75 74 70 75 74 | 0a 58 09 69 6e 20 66 69 |e output|.X.in fi|
|00005650| 6c 65 73 20 5b 64 74 5d | 2e 6e 61 6d 65 20 69 6e |les [dt]|.name in|
|00005660| 20 74 68 65 20 63 75 72 | 72 65 6e 74 20 64 69 72 | the cur|rent dir|
|00005670| 65 63 74 6f 72 79 2e 20 | 0a 58 2d 54 6e 61 6d 65 |ectory. |.X-Tname|
|00005680| 20 20 70 72 65 70 61 72 | 65 20 6f 75 74 70 75 74 | prepar|e output|
|00005690| 20 66 6f 72 20 64 65 76 | 69 63 65 20 6e 61 6d 65 | for dev|ice name|
|000056a0| 2e 20 4b 6e 6f 77 6e 20 | 6e 61 6d 65 73 20 61 72 |. Known |names ar|
|000056b0| 65 20 33 37 20 28 54 65 | 6c 65 74 79 70 65 20 33 |e 37 (Te|letype 3|
|000056c0| 37 2c 0a 58 20 20 20 20 | 20 20 20 20 64 65 66 61 |7,.X | defa|
|000056d0| 75 6c 74 29 2c 20 61 73 | 63 69 69 20 28 67 65 6e |ult), as|cii (gen|
|000056e0| 65 72 69 63 20 61 73 63 | 69 69 20 70 72 69 6e 74 |eric asc|ii print|
|000056f0| 65 72 20 77 2f 6f 20 72 | 65 76 65 72 73 65 20 6c |er w/o r|everse l|
|00005700| 69 6e 65 66 65 65 64 29 | 2c 0a 58 20 20 20 20 20 |inefeed)|,.X |
|00005710| 20 20 20 61 6e 73 69 20 | 28 61 6e 73 69 20 6f 72 | ansi |(ansi or|
|00005720| 20 76 74 31 30 30 20 74 | 65 72 6d 69 6e 61 6c 29 | vt100 t|erminal)|
|00005730| 2c 20 66 78 38 30 20 28 | 45 70 73 6f 6e 20 46 58 |, fx80 (|Epson FX|
|00005740| 2d 38 30 20 70 72 69 6e | 74 65 72 29 2c 0a 58 20 |-80 prin|ter),.X |
|00005750| 20 20 20 20 20 20 20 38 | 35 31 30 20 28 4e 45 43 | 8|510 (NEC|
|00005760| 20 38 35 31 30 2f 43 2e | 49 74 6f 68 20 64 6f 74 | 8510/C.|Itoh dot|
|00005770| 20 6d 61 74 72 69 78 20 | 70 72 69 6e 74 65 72 29 | matrix |printer)|
|00005780| 2c 20 33 35 35 30 20 28 | 4e 45 43 20 53 70 69 6e |, 3550 (|NEC Spin|
|00005790| 77 72 69 74 65 72 29 2c | 0a 58 20 20 20 20 20 20 |writer),|.X |
|000057a0| 20 20 6c 70 20 28 67 65 | 6e 65 72 69 63 20 61 73 | lp (ge|neric as|
|000057b0| 63 69 69 20 70 72 69 6e | 74 65 72 20 77 69 74 68 |cii prin|ter with|
|000057c0| 20 72 65 76 65 72 73 65 | 20 6c 69 6e 65 66 65 65 | reverse| linefee|
|000057d0| 64 29 0a 58 2d 65 20 20 | 20 20 20 20 70 72 6f 64 |d).X-e | prod|
|000057e0| 75 63 65 20 65 71 75 61 | 6c 6c 79 2d 73 70 61 63 |uce equa|lly-spac|
|000057f0| 65 64 20 77 6f 72 64 73 | 20 69 6e 20 61 64 6a 75 |ed words| in adju|
|00005800| 73 74 65 64 20 6c 69 6e | 65 73 2c 20 75 73 69 6e |sted lin|es, usin|
|00005810| 67 20 66 75 6c 6c 20 64 | 65 76 69 63 65 0a 58 20 |g full d|evice.X |
|00005820| 20 20 20 20 20 20 20 72 | 65 73 6f 6c 75 74 69 6f | r|esolutio|
|00005830| 6e 0a 58 2d 68 20 20 20 | 20 20 20 75 73 65 20 6f |n.X-h | use o|
|00005840| 75 74 70 75 74 20 68 6f | 72 69 7a 6f 6e 74 61 6c |utput ho|rizontal|
|00005850| 20 74 61 62 73 20 74 6f | 20 73 70 65 65 64 20 6f | tabs to| speed o|
|00005860| 75 74 70 75 74 20 61 6e | 64 20 72 65 64 75 63 65 |utput an|d reduce|
|00005870| 20 6f 75 74 70 75 74 20 | 63 68 61 72 61 63 74 65 | output |characte|
|00005880| 72 0a 58 20 20 20 20 20 | 20 20 20 63 6f 75 6e 74 |r.X | count|
|00005890| 2e 20 44 6f 65 73 20 6e | 6f 74 20 77 6f 72 6b 20 |. Does n|ot work |
|000058a0| 77 69 74 68 20 61 6c 6c | 20 70 72 69 6e 74 65 72 |with all| printer|
|000058b0| 73 2e 0a 58 2d 77 6e 20 | 20 20 20 20 73 65 74 20 |s..X-wn | set |
|000058c0| 74 68 65 20 65 6d 62 6f | 6c 64 69 6e 67 20 66 61 |the embo|lding fa|
|000058d0| 63 74 6f 72 20 66 6f 72 | 20 46 6f 6e 74 20 33 20 |ctor for| Font 3 |
|000058e0| 74 6f 20 6e 2c 20 6f 72 | 20 74 6f 20 7a 65 72 6f |to n, or| to zero|
|000058f0| 20 69 66 20 6e 20 69 73 | 20 6d 69 73 73 69 6e 67 | if n is| missing|
|00005900| 2e 0a 58 23 20 6f 74 72 | 6f 66 66 0a 58 6f 74 72 |..X# otr|off.Xotr|
|00005910| 6f 66 66 20 2d 2d 20 74 | 65 78 74 20 66 6f 72 6d |off -- t|ext form|
|00005920| 61 74 74 65 72 20 66 6f | 72 20 57 61 6e 67 20 4c |atter fo|r Wang L|
|00005930| 61 62 6f 72 61 74 6f 72 | 69 65 73 20 43 2f 41 2f |aborator|ies C/A/|
|00005940| 54 20 70 68 6f 74 6f 20 | 74 79 70 65 73 65 74 74 |T photo |typesett|
|00005950| 65 72 0a 58 55 73 61 67 | 65 3a 20 20 6f 74 72 6f |er.XUsag|e: otro|
|00005960| 66 66 20 5b 6f 70 74 69 | 6f 6e 73 5d 20 5b 66 69 |ff [opti|ons] [fi|
|00005970| 6c 65 73 5d 0a 58 2d 6f | 6c 69 73 74 20 20 70 72 |les].X-o|list pr|
|00005980| 69 6e 74 20 6f 6e 6c 79 | 20 70 61 67 65 73 20 6c |int only| pages l|
|00005990| 69 73 74 65 64 3b 20 72 | 61 6e 67 65 73 20 61 72 |isted; r|anges ar|
|000059a0| 65 20 61 6c 6c 6f 77 65 | 64 0a 58 2d 6e 4e 20 20 |e allowe|d.X-nN |
|000059b0| 20 20 20 6e 75 6d 62 65 | 72 20 66 69 72 73 74 20 | numbe|r first |
|000059c0| 70 61 67 65 20 4e 0a 58 | 2d 73 4e 20 20 20 20 20 |page N.X|-sN |
|000059d0| 73 74 6f 70 20 65 76 65 | 72 79 20 4e 20 70 61 67 |stop eve|ry N pag|
|000059e0| 65 73 20 74 6f 20 61 6c | 6c 6f 77 20 70 61 70 65 |es to al|low pape|
|000059f0| 72 20 6c 6f 61 64 69 6e | 67 20 6f 72 0a 58 20 20 |r loadin|g or.X |
|00005a00| 20 20 20 20 20 20 63 68 | 61 6e 67 69 6e 67 2e 20 | ch|anging. |
|00005a10| 52 65 73 75 6d 65 20 77 | 68 65 6e 20 74 79 70 65 |Resume w|hen type|
|00005a20| 73 65 74 74 65 72 27 73 | 20 73 74 61 72 74 20 62 |setter's| start b|
|00005a30| 75 74 74 6f 6e 20 69 73 | 20 70 72 65 73 73 65 64 |utton is| pressed|
|00005a40| 2e 0a 58 2d 72 61 4e 20 | 20 20 20 73 65 74 20 72 |..X-raN | set r|
|00005a50| 65 67 69 73 74 65 72 20 | 61 20 28 6d 75 73 74 20 |egister |a (must |
|00005a60| 62 65 20 6f 6e 65 2d 63 | 68 61 72 61 63 74 65 72 |be one-c|haracter|
|00005a70| 20 6e 61 6d 65 29 20 74 | 6f 20 4e 2e 0a 58 2d 69 | name) t|o N..X-i|
|00005a80| 20 20 20 20 20 20 72 65 | 61 64 20 73 74 61 6e 64 | re|ad stand|
|00005a90| 61 72 64 20 69 6e 70 75 | 74 20 61 66 74 65 72 20 |ard inpu|t after |
|00005aa0| 66 69 6c 65 73 20 61 72 | 65 20 65 78 68 61 75 73 |files ar|e exhaus|
|00005ab0| 74 65 64 0a 58 2d 71 20 | 20 20 20 20 20 69 6e 76 |ted.X-q | inv|
|00005ac0| 6f 6b 65 20 74 68 65 20 | 73 69 6d 75 6c 74 61 6e |oke the |simultan|
|00005ad0| 65 6f 75 73 20 69 6e 70 | 75 74 2d 6f 75 74 70 75 |eous inp|ut-outpu|
|00005ae0| 74 20 6d 6f 64 65 20 6f | 66 20 74 68 65 20 2e 72 |t mode o|f the .r|
|00005af0| 64 20 72 65 71 75 65 73 | 74 0a 58 2d 7a 20 20 20 |d reques|t.X-z |
|00005b00| 20 20 20 70 72 69 6e 74 | 20 6f 6e 6c 79 20 6d 65 | print| only me|
|00005b10| 73 73 61 67 65 73 20 67 | 65 6e 65 72 61 74 65 64 |ssages g|enerated|
|00005b20| 20 62 79 20 2e 74 6d 20 | 28 74 65 72 6d 69 6e 61 | by .tm |(termina|
|00005b30| 6c 20 6d 65 73 73 61 67 | 65 29 20 72 65 71 75 65 |l messag|e) reque|
|00005b40| 73 74 73 0a 58 2d 6d 6e | 61 6d 65 09 70 72 65 70 |sts.X-mn|ame.prep|
|00005b50| 65 6e 64 20 74 6f 20 74 | 68 65 20 69 6e 70 75 74 |end to t|he input|
|00005b60| 20 66 69 6c 65 73 20 74 | 68 65 20 74 68 65 20 6e | files t|he the n|
|00005b70| 6f 6e 2d 63 6f 6d 70 61 | 63 74 65 64 20 28 41 53 |on-compa|cted (AS|
|00005b80| 43 49 49 20 74 65 78 74 | 29 20 6d 61 63 72 6f 20 |CII text|) macro |
|00005b90| 66 69 6c 65 0a 58 09 6c | 6f 63 61 74 65 64 20 69 |file.X.l|ocated i|
|00005ba0| 6e 20 2f 75 73 72 2f 6c | 69 62 2f 74 6d 61 63 2f |n /usr/l|ib/tmac/|
|00005bb0| 74 6d 61 63 2e 6e 61 6d | 65 0a 58 2d 63 6e 61 6d |tmac.nam|e.X-cnam|
|00005bc0| 65 09 70 72 65 70 65 6e | 64 20 74 6f 20 74 68 65 |e.prepen|d to the|
|00005bd0| 20 69 6e 70 75 74 20 66 | 69 6c 65 73 20 74 68 65 | input f|iles the|
|00005be0| 20 63 6f 6d 70 61 63 74 | 65 64 20 6d 61 63 72 6f | compact|ed macro|
|00005bf0| 20 66 69 6c 65 73 20 6c | 6f 63 61 74 65 64 20 69 | files l|ocated i|
|00005c00| 6e 0a 58 09 2f 75 73 72 | 2f 6c 69 62 2f 6d 61 63 |n.X./usr|/lib/mac|
|00005c10| 72 6f 73 2f 63 6d 70 2e | 5b 6e 74 5d 2e 5b 64 74 |ros/cmp.|[nt].[dt|
|00005c20| 5d 2e 6e 61 6d 65 20 61 | 6e 64 20 0a 58 09 2f 75 |].name a|nd .X./u|
|00005c30| 73 72 2f 6c 69 62 2f 6d | 61 63 72 6f 73 2f 75 63 |sr/lib/m|acros/uc|
|00005c40| 6d 70 2e 5b 6e 74 5d 2e | 6e 61 6d 65 2e 0a 58 2d |mp.[nt].|name..X-|
|00005c50| 6b 6e 61 6d 65 09 43 6f | 6d 70 61 63 74 20 74 68 |kname.Co|mpact th|
|00005c60| 65 20 6d 61 63 72 6f 73 | 20 75 73 65 64 20 69 6e |e macros| used in|
|00005c70| 20 74 68 69 73 20 69 6e | 76 6f 63 61 74 69 6f 6e | this in|vocation|
|00005c80| 20 6f 66 20 6f 74 72 6f | 66 66 2c 20 70 6c 61 63 | of otro|ff, plac|
|00005c90| 69 6e 67 20 74 68 65 20 | 6f 75 74 70 75 74 0a 58 |ing the |output.X|
|00005ca0| 09 69 6e 20 66 69 6c 65 | 73 20 5b 64 74 5d 2e 6e |.in file|s [dt].n|
|00005cb0| 61 6d 65 20 69 6e 20 74 | 68 65 20 63 75 72 72 65 |ame in t|he curre|
|00005cc0| 6e 74 20 64 69 72 65 63 | 74 6f 72 79 2e 20 0a 58 |nt direc|tory. .X|
|00005cd0| 2d 74 09 44 69 72 65 63 | 74 20 6f 75 74 70 75 74 |-t.Direc|t output|
|00005ce0| 20 74 6f 20 74 68 65 20 | 73 74 61 6e 64 61 72 64 | to the |standard|
|00005cf0| 20 6f 75 74 70 75 74 20 | 69 6e 73 74 65 61 64 20 | output |instead |
|00005d00| 6f 66 20 74 68 65 20 70 | 68 6f 74 6f 74 79 70 65 |of the p|hototype|
|00005d10| 73 65 74 74 65 72 2e 0a | 58 2d 66 09 52 65 66 72 |setter..|X-f.Refr|
|00005d20| 61 69 6e 20 66 72 6f 6d | 20 66 65 65 64 69 6e 67 |ain from| feeding|
|00005d30| 20 6f 75 74 20 70 61 70 | 65 72 20 61 6e 64 20 73 | out pap|er and s|
|00005d40| 74 6f 70 70 69 6e 67 20 | 74 68 65 20 70 68 6f 74 |topping |the phot|
|00005d50| 6f 74 79 70 65 73 65 74 | 74 65 72 20 61 74 20 74 |otypeset|ter at t|
|00005d60| 68 65 0a 58 09 65 6e 64 | 20 6f 66 20 74 68 65 20 |he.X.end| of the |
|00005d70| 72 75 6e 2e 0a 58 2d 77 | 09 57 61 69 74 20 75 6e |run..X-w|.Wait un|
|00005d80| 74 69 6c 20 70 68 6f 74 | 6f 74 79 70 65 73 65 74 |til phot|otypeset|
|00005d90| 74 65 72 20 69 73 20 72 | 65 61 64 79 2c 20 69 66 |ter is r|eady, if|
|00005da0| 20 69 74 20 69 73 20 63 | 75 72 72 65 6e 74 6c 79 | it is c|urrently|
|00005db0| 20 62 75 73 79 2e 0a 58 | 2d 62 09 52 65 70 6f 72 | busy..X|-b.Repor|
|00005dc0| 74 20 6f 6e 20 62 75 73 | 79 2f 72 65 61 64 79 20 |t on bus|y/ready |
|00005dd0| 73 74 61 74 75 73 20 6f | 66 20 70 68 6f 74 6f 74 |status o|f photot|
|00005de0| 79 70 65 73 65 74 74 65 | 72 2e 20 4e 6f 20 74 65 |ypesette|r. No te|
|00005df0| 78 74 20 70 72 6f 63 65 | 73 73 69 6e 67 0a 58 09 |xt proce|ssing.X.|
|00005e00| 69 73 20 64 6f 6e 65 2e | 0a 58 2d 61 09 53 65 6e |is done.|.X-a.Sen|
|00005e10| 64 20 61 20 70 72 69 6e | 74 61 62 6c 65 20 41 53 |d a prin|table AS|
|00005e20| 43 49 49 20 61 70 70 72 | 6f 78 69 6d 61 74 69 6f |CII appr|oximatio|
|00005e30| 6e 20 6f 66 20 74 68 65 | 20 72 65 73 75 6c 74 20 |n of the| result |
|00005e40| 74 6f 20 74 68 65 20 73 | 74 61 6e 64 61 72 64 0a |to the s|tandard.|
|00005e50| 58 09 6f 75 74 70 75 74 | 2e 0a 58 2d 70 4e 09 70 |X.output|..X-pN.p|
|00005e60| 72 69 6e 74 20 61 6c 6c | 20 63 68 61 72 61 63 74 |rint all| charact|
|00005e70| 65 72 73 20 69 6e 20 70 | 6f 69 6e 74 20 73 69 7a |ers in p|oint siz|
|00005e80| 65 20 4e 20 77 68 69 6c | 65 20 72 65 74 61 69 6e |e N whil|e retain|
|00005e90| 69 6e 67 20 61 6c 6c 20 | 70 72 65 73 63 72 69 62 |ing all |prescrib|
|00005ea0| 65 64 0a 58 09 73 70 61 | 63 69 6e 67 73 20 61 6e |ed.X.spa|cings an|
|00005eb0| 64 20 6d 6f 74 69 6f 6e | 73 2c 20 74 6f 20 72 65 |d motion|s, to re|
|00005ec0| 64 75 63 65 20 70 68 6f | 74 6f 74 79 70 65 73 65 |duce pho|totypese|
|00005ed0| 74 74 65 72 20 65 6c 61 | 70 73 65 64 20 74 69 6d |tter ela|psed tim|
|00005ee0| 65 2e 0a 58 2d 54 63 61 | 74 09 55 73 65 20 66 6f |e..X-Tca|t.Use fo|
|00005ef0| 6e 74 2d 77 69 64 74 68 | 20 74 61 62 6c 65 73 20 |nt-width| tables |
|00005f00| 66 6f 72 20 57 61 6e 67 | 20 43 2f 41 2f 54 20 70 |for Wang| C/A/T p|
|00005f10| 68 6f 74 6f 74 79 70 65 | 73 65 74 74 65 72 2e 20 |hototype|setter. |
|00005f20| 54 68 69 73 20 69 73 20 | 62 6f 74 68 0a 58 09 74 |This is |both.X.t|
|00005f30| 68 65 20 64 65 66 61 75 | 6c 74 20 61 6e 64 20 74 |he defau|lt and t|
|00005f40| 68 65 20 6f 6e 6c 79 20 | 63 68 6f 69 63 65 2e 0a |he only |choice..|
|00005f50| 58 23 20 70 73 0a 58 70 | 73 20 2d 2d 20 64 69 73 |X# ps.Xp|s -- dis|
|00005f60| 70 6c 61 79 20 70 72 6f | 63 65 73 73 20 73 74 61 |play pro|cess sta|
|00005f70| 74 75 73 0a 58 55 73 61 | 67 65 3a 09 70 73 20 5b |tus.XUsa|ge:.ps [|
|00005f80| 6f 70 74 69 6f 6e 73 5d | 0a 58 2d 65 09 50 72 69 |options]|.X-e.Pri|
|00005f90| 6e 74 20 69 6e 66 6f 72 | 6d 61 74 69 6f 6e 20 61 |nt infor|mation a|
|00005fa0| 62 6f 75 74 20 61 6c 6c | 20 70 72 6f 63 65 73 73 |bout all| process|
|00005fb0| 65 73 0a 58 2d 64 09 50 | 72 69 6e 74 20 69 6e 66 |es.X-d.P|rint inf|
|00005fc0| 6f 72 6d 61 74 69 6f 6e | 20 61 62 6f 75 74 20 61 |ormation| about a|
|00005fd0| 6c 6c 20 70 72 6f 63 65 | 73 73 65 73 2c 20 65 78 |ll proce|sses, ex|
|00005fe0| 63 65 70 74 20 70 72 6f | 63 65 73 73 20 67 72 6f |cept pro|cess gro|
|00005ff0| 75 70 20 6c 65 61 64 65 | 72 73 0a 58 2d 61 09 50 |up leade|rs.X-a.P|
|00006000| 72 69 6e 74 20 69 6e 66 | 6f 72 6d 61 74 69 6f 6e |rint inf|ormation|
|00006010| 20 61 62 6f 75 74 20 61 | 6c 6c 20 70 72 6f 63 65 | about a|ll proce|
|00006020| 73 73 65 73 2c 20 65 78 | 63 65 70 74 20 70 72 6f |sses, ex|cept pro|
|00006030| 63 65 73 73 20 67 72 6f | 75 70 20 6c 65 61 64 65 |cess gro|up leade|
|00006040| 72 73 0a 58 09 61 6e 64 | 20 70 72 6f 63 65 73 73 |rs.X.and| process|
|00006050| 65 73 20 6e 6f 74 20 61 | 73 73 6f 63 69 61 74 65 |es not a|ssociate|
|00006060| 64 20 77 69 74 68 20 61 | 20 74 65 72 6d 69 6e 61 |d with a| termina|
|00006070| 6c 0a 58 2d 66 09 47 65 | 6e 65 72 61 74 65 20 61 |l.X-f.Ge|nerate a|
|00006080| 20 66 75 6c 6c 20 6c 69 | 73 74 69 6e 67 0a 58 2d | full li|sting.X-|
|00006090| 6c 09 47 65 6e 65 72 61 | 74 65 20 61 20 6c 6f 6e |l.Genera|te a lon|
|000060a0| 67 20 6c 69 73 74 69 6e | 67 0a 58 2d 63 66 69 6c |g listin|g.X-cfil|
|000060b0| 65 09 55 73 65 20 74 68 | 65 20 73 70 65 63 69 66 |e.Use th|e specif|
|000060c0| 69 65 64 20 63 6f 72 65 | 20 66 69 6c 65 20 69 6e |ied core| file in|
|000060d0| 73 74 65 61 64 20 6f 66 | 20 2f 64 65 76 2f 6d 65 |stead of| /dev/me|
|000060e0| 6d 0a 58 2d 73 64 65 76 | 09 55 73 65 20 74 68 65 |m.X-sdev|.Use the|
|000060f0| 20 73 70 65 63 69 66 69 | 65 64 20 73 77 61 70 20 | specifi|ed swap |
|00006100| 64 65 76 69 63 65 20 69 | 6e 73 74 65 61 64 20 6f |device i|nstead o|
|00006110| 66 20 2f 64 65 76 2f 73 | 77 61 70 0a 58 2d 6e 66 |f /dev/s|wap.X-nf|
|00006120| 69 6c 65 09 55 73 65 20 | 73 70 65 63 69 66 69 65 |ile.Use |specifie|
|00006130| 64 20 66 69 6c 65 20 69 | 6e 73 74 65 61 64 20 6f |d file i|nstead o|
|00006140| 66 20 2f 75 6e 69 78 0a | 58 2d 74 6c 69 73 74 09 |f /unix.|X-tlist.|
|00006150| 52 65 73 74 72 69 63 74 | 20 6c 69 73 74 69 6e 67 |Restrict| listing|
|00006160| 20 74 6f 20 70 72 6f 63 | 65 73 73 65 73 20 61 73 | to proc|esses as|
|00006170| 73 6f 63 69 61 74 65 64 | 20 77 69 74 68 20 74 65 |sociated| with te|
|00006180| 72 6d 69 6e 61 6c 73 20 | 67 69 76 65 6e 20 69 6e |rminals |given in|
|00006190| 20 6c 69 73 74 2e 0a 58 | 2d 70 6c 69 73 74 09 52 | list..X|-plist.R|
|000061a0| 65 73 74 72 69 63 74 20 | 6c 69 73 74 69 6e 67 20 |estrict |listing |
|000061b0| 74 6f 20 70 72 6f 63 65 | 73 73 65 73 20 77 68 6f |to proce|sses who|
|000061c0| 73 65 20 50 49 44 73 20 | 61 72 65 20 67 69 76 65 |se PIDs |are give|
|000061d0| 6e 20 69 6e 20 6c 69 73 | 74 2e 0a 58 2d 75 6c 69 |n in lis|t..X-uli|
|000061e0| 73 74 09 52 65 73 74 72 | 69 63 74 20 6c 69 73 74 |st.Restr|ict list|
|000061f0| 69 6e 67 20 74 6f 20 70 | 72 6f 63 65 73 73 65 73 |ing to p|rocesses|
|00006200| 20 77 68 6f 73 65 20 55 | 49 44 73 20 6f 72 20 4c | whose U|IDs or L|
|00006210| 4f 47 4e 41 4d 45 73 20 | 61 72 65 20 67 69 76 65 |OGNAMEs |are give|
|00006220| 6e 20 69 6e 20 6c 69 73 | 74 2e 0a 58 2d 67 6c 69 |n in lis|t..X-gli|
|00006230| 73 74 09 52 65 73 74 72 | 69 63 74 20 6c 69 73 74 |st.Restr|ict list|
|00006240| 69 6e 67 20 74 6f 20 70 | 72 6f 63 65 73 73 65 73 |ing to p|rocesses|
|00006250| 20 77 68 6f 73 65 20 47 | 49 44 73 20 6f 72 20 47 | whose G|IDs or G|
|00006260| 52 4f 55 50 20 6e 61 6d | 65 73 20 61 72 65 20 67 |ROUP nam|es are g|
|00006270| 69 76 65 6e 20 69 6e 0a | 58 09 6c 69 73 74 2e 0a |iven in.|X.list..|
|00006280| 58 23 20 73 6c 65 65 70 | 0a 58 73 6c 65 65 70 20 |X# sleep|.Xsleep |
|00006290| 2d 2d 20 73 75 73 70 65 | 6e 64 20 65 78 65 63 75 |-- suspe|nd execu|
|000062a0| 74 69 6f 6e 20 66 6f 72 | 20 61 20 73 70 65 63 69 |tion for| a speci|
|000062b0| 66 69 65 64 20 74 69 6d | 65 0a 58 55 73 61 67 65 |fied tim|e.XUsage|
|000062c0| 3a 09 73 6c 65 65 70 20 | 73 65 63 6f 6e 64 73 0a |:.sleep |seconds.|
|000062d0| 58 23 20 73 74 72 69 70 | 0a 58 73 74 72 69 70 20 |X# strip|.Xstrip |
|000062e0| 2d 2d 20 72 65 6d 6f 76 | 65 20 73 79 6d 62 6f 6c |-- remov|e symbol|
|000062f0| 20 74 61 62 6c 65 20 66 | 72 6f 6d 20 43 4f 46 46 | table f|rom COFF|
|00006300| 20 65 78 65 63 75 74 61 | 62 6c 65 20 66 69 6c 65 | executa|ble file|
|00006310| 73 0a 58 55 73 61 67 65 | 3a 09 73 74 72 69 70 20 |s.XUsage|:.strip |
|00006320| 5b 2d 6c 5d 20 5b 2d 78 | 5d 20 5b 2d 72 5d 20 5b |[-l] [-x|] [-r] [|
|00006330| 2d 56 5d 20 66 69 6c 65 | 20 2e 2e 2e 0a 58 2d 6c |-V] file| ....X-l|
|00006340| 09 53 74 72 69 70 20 6c | 69 6e 65 20 6e 75 6d 62 |.Strip l|ine numb|
|00006350| 65 72 20 69 6e 66 6f 72 | 6d 61 74 69 6f 6e 20 6f |er infor|mation o|
|00006360| 6e 6c 79 3b 20 64 6f 20 | 6e 6f 74 20 73 74 72 69 |nly; do |not stri|
|00006370| 70 20 73 79 6d 62 6f 6c | 20 74 61 62 6c 65 0a 58 |p symbol| table.X|
|00006380| 2d 78 09 44 6f 20 6e 6f | 74 20 73 74 72 69 70 20 |-x.Do no|t strip |
|00006390| 73 74 61 74 69 63 20 6f | 72 20 65 78 74 65 72 6e |static o|r extern|
|000063a0| 61 6c 20 73 79 6d 62 6f | 6c 20 69 6e 66 6f 72 6d |al symbo|l inform|
|000063b0| 61 74 69 6f 6e 0a 58 2d | 72 09 52 65 73 65 74 20 |ation.X-|r.Reset |
|000063c0| 72 65 6c 6f 63 61 74 69 | 6f 6e 20 69 6e 64 65 78 |relocati|on index|
|000063d0| 65 73 0a 58 2d 56 09 50 | 72 69 6e 74 20 73 74 72 |es.X-V.P|rint str|
|000063e0| 69 70 20 56 65 72 73 69 | 6f 6e 20 69 6e 66 6f 72 |ip Versi|on infor|
|000063f0| 6d 61 74 69 6f 6e 20 74 | 6f 20 73 74 61 6e 64 61 |mation t|o standa|
+--------+-------------------------+-------------------------+--------+--------+
Only 25.0 KB of data is shown above.