home *** CD-ROM | disk | FTP | other *** search
open in:
MacOS 8.1
|
Win98
|
DOS
view JSON data
|
view as text
This file was processed as: SHell self-extracting ARchive
(archive/shar).
You can browse this item here: help
hex view+--------+-------------------------+-------------------------+--------+--------+
|00000000| 46 72 6f 6d 20 6d 69 70 | 6f 73 33 21 69 6e 74 65 |From mip|os3!inte|
|00000010| 6c 63 61 21 6f 6c 69 76 | 65 62 21 61 6d 65 73 21 |lca!oliv|eb!ames!|
|00000020| 74 68 69 6e 6b 21 68 75 | 73 63 36 21 6e 65 63 6e |think!hu|sc6!necn|
|00000030| 74 63 21 6e 63 6f 61 73 | 74 21 61 6c 6c 62 65 72 |tc!ncoas|t!allber|
|00000040| 79 20 46 72 69 20 4a 61 | 6e 20 32 39 20 30 38 3a |y Fri Ja|n 29 08:|
|00000050| 30 33 3a 32 34 20 50 53 | 54 20 31 39 38 38 0a 41 |03:24 PS|T 1988.A|
|00000060| 72 74 69 63 6c 65 20 32 | 36 35 20 6f 66 20 63 6f |rticle 2|65 of co|
|00000070| 6d 70 2e 73 6f 75 72 63 | 65 73 2e 6d 69 73 63 3a |mp.sourc|es.misc:|
|00000080| 0a 50 61 74 68 3a 20 74 | 64 32 63 61 64 21 6d 69 |.Path: t|d2cad!mi|
|00000090| 70 6f 73 33 21 69 6e 74 | 65 6c 63 61 21 6f 6c 69 |pos3!int|elca!oli|
|000000a0| 76 65 62 21 61 6d 65 73 | 21 74 68 69 6e 6b 21 68 |veb!ames|!think!h|
|000000b0| 75 73 63 36 21 6e 65 63 | 6e 74 63 21 6e 63 6f 61 |usc6!nec|ntc!ncoa|
|000000c0| 73 74 21 61 6c 6c 62 65 | 72 79 0a 46 72 6f 6d 3a |st!allbe|ry.From:|
|000000d0| 20 77 6e 70 40 6b 69 6c | 6c 65 72 2e 55 55 43 50 | wnp@kil|ler.UUCP|
|000000e0| 20 28 57 6f 6c 66 20 50 | 61 75 6c 29 0a 4e 65 77 | (Wolf P|aul).New|
|000000f0| 73 67 72 6f 75 70 73 3a | 20 63 6f 6d 70 2e 73 6f |sgroups:| comp.so|
|00000100| 75 72 63 65 73 2e 6d 69 | 73 63 0a 53 75 62 6a 65 |urces.mi|sc.Subje|
|00000110| 63 74 3a 20 76 30 32 69 | 30 31 38 3a 20 41 20 68 |ct: v02i|018: A h|
|00000120| 65 6c 70 20 63 6f 6d 6d | 61 6e 64 0a 4d 65 73 73 |elp comm|and.Mess|
|00000130| 61 67 65 2d 49 44 3a 20 | 3c 37 31 32 39 40 6e 63 |age-ID: |<7129@nc|
|00000140| 6f 61 73 74 2e 55 55 43 | 50 3e 0a 44 61 74 65 3a |oast.UUC|P>.Date:|
|00000150| 20 32 36 20 4a 61 6e 20 | 38 38 20 30 33 3a 35 35 | 26 Jan |88 03:55|
|00000160| 3a 33 38 20 47 4d 54 0a | 53 65 6e 64 65 72 3a 20 |:38 GMT.|Sender: |
|00000170| 61 6c 6c 62 65 72 79 40 | 6e 63 6f 61 73 74 2e 55 |allbery@|ncoast.U|
|00000180| 55 43 50 0a 4c 69 6e 65 | 73 3a 20 38 39 39 0a 41 |UCP.Line|s: 899.A|
|00000190| 70 70 72 6f 76 65 64 3a | 20 61 6c 6c 62 65 72 79 |pproved:| allbery|
|000001a0| 40 6e 63 6f 61 73 74 2e | 55 55 43 50 0a 58 2d 41 |@ncoast.|UUCP.X-A|
|000001b0| 72 63 68 69 76 65 3a 20 | 63 6f 6d 70 2e 73 6f 75 |rchive: |comp.sou|
|000001c0| 72 63 65 73 2e 6d 69 73 | 63 2f 38 38 30 31 2f 31 |rces.mis|c/8801/1|
|000001d0| 38 0a 43 6f 6d 70 2e 73 | 6f 75 72 63 65 73 2e 6d |8.Comp.s|ources.m|
|000001e0| 69 73 63 3a 20 56 6f 6c | 75 6d 65 20 32 2c 20 49 |isc: Vol|ume 2, I|
|000001f0| 73 73 75 65 20 31 38 0a | 53 75 62 6d 69 74 74 65 |ssue 18.|Submitte|
|00000200| 64 2d 42 79 3a 20 57 6f | 6c 66 20 50 61 75 6c 20 |d-By: Wo|lf Paul |
|00000210| 28 77 6e 70 40 6b 69 6c | 6c 65 72 2e 55 55 43 50 |(wnp@kil|ler.UUCP|
|00000220| 29 0a 41 72 63 68 69 76 | 65 2d 4e 61 6d 65 3a 20 |).Archiv|e-Name: |
|00000230| 68 65 6c 70 0a 0a 43 6f | 6d 70 2e 73 6f 75 72 63 |help..Co|mp.sourc|
|00000240| 65 73 2e 6d 69 73 63 3a | 20 56 6f 6c 75 6d 65 20 |es.misc:| Volume |
|00000250| 32 2c 20 49 73 73 75 65 | 20 31 38 0a 53 75 62 6d |2, Issue| 18.Subm|
|00000260| 69 74 74 65 64 2d 42 79 | 3a 20 57 6f 6c 66 20 50 |itted-By|: Wolf P|
|00000270| 61 75 6c 20 28 77 6e 70 | 40 6b 69 6c 6c 65 72 2e |aul (wnp|@killer.|
|00000280| 55 55 43 50 29 0a 41 72 | 63 68 69 76 65 2d 4e 61 |UUCP).Ar|chive-Na|
|00000290| 6d 65 3a 20 68 65 6c 70 | 0a 0a 49 20 68 61 76 65 |me: help|..I have|
|000002a0| 20 72 65 63 65 69 76 65 | 64 20 73 65 76 65 72 61 | receive|d severa|
|000002b0| 6c 20 72 65 71 75 65 73 | 74 73 20 74 6f 20 70 6f |l reques|ts to po|
|000002c0| 73 74 20 74 68 69 73 20 | 74 6f 20 63 6f 6d 70 2e |st this |to comp.|
|000002d0| 73 6f 75 72 63 65 73 2e | 6d 69 73 63 2c 0a 73 6f |sources.|misc,.so|
|000002e0| 20 49 20 61 6d 20 73 65 | 6e 64 69 6e 67 20 69 74 | I am se|nding it|
|000002f0| 20 6f 6e 20 74 6f 20 79 | 6f 75 2e 0a 0a 57 6f 6c | on to y|ou...Wol|
|00000300| 66 20 4e 2e 20 50 61 75 | 6c 0a 69 68 6e 70 34 21 |f N. Pau|l.ihnp4!|
|00000310| 6b 69 6c 6c 65 72 21 77 | 6e 70 0a 2d 2d 2d 2d 2d |killer!w|np.-----|
|00000320| 2d 2d 0a 23 21 20 2f 62 | 69 6e 2f 73 68 0a 23 20 |--.#! /b|in/sh.# |
|00000330| 54 68 69 73 20 69 73 20 | 61 20 73 68 65 6c 6c 20 |This is |a shell |
|00000340| 61 72 63 68 69 76 65 2e | 20 20 52 65 6d 6f 76 65 |archive.| Remove|
|00000350| 20 61 6e 79 74 68 69 6e | 67 20 62 65 66 6f 72 65 | anythin|g before|
|00000360| 20 74 68 69 73 20 6c 69 | 6e 65 2c 20 74 68 65 6e | this li|ne, then|
|00000370| 20 75 6e 70 61 63 6b 0a | 23 20 69 74 20 62 79 20 | unpack.|# it by |
|00000380| 73 61 76 69 6e 67 20 69 | 74 20 69 6e 74 6f 20 61 |saving i|t into a|
|00000390| 20 66 69 6c 65 20 61 6e | 64 20 74 79 70 69 6e 67 | file an|d typing|
|000003a0| 20 22 73 68 20 66 69 6c | 65 22 2e 20 20 54 6f 20 | "sh fil|e". To |
|000003b0| 6f 76 65 72 77 72 69 74 | 65 20 65 78 69 73 74 69 |overwrit|e existi|
|000003c0| 6e 67 0a 23 20 66 69 6c | 65 73 2c 20 74 79 70 65 |ng.# fil|es, type|
|000003d0| 20 22 73 68 20 66 69 6c | 65 20 2d 63 22 2e 20 20 | "sh fil|e -c". |
|000003e0| 59 6f 75 20 63 61 6e 20 | 61 6c 73 6f 20 66 65 65 |You can |also fee|
|000003f0| 64 20 74 68 69 73 20 61 | 73 20 73 74 61 6e 64 61 |d this a|s standa|
|00000400| 72 64 20 69 6e 70 75 74 | 20 76 69 61 0a 23 20 75 |rd input| via.# u|
|00000410| 6e 73 68 61 72 2c 20 6f | 72 20 62 79 20 74 79 70 |nshar, o|r by typ|
|00000420| 69 6e 67 20 22 73 68 20 | 3c 66 69 6c 65 22 2c 20 |ing "sh |<file", |
|00000430| 65 2e 67 2e 2e 20 20 49 | 66 20 74 68 69 73 20 61 |e.g.. I|f this a|
|00000440| 72 63 68 69 76 65 20 69 | 73 20 63 6f 6d 70 6c 65 |rchive i|s comple|
|00000450| 74 65 2c 20 79 6f 75 0a | 23 20 77 69 6c 6c 20 73 |te, you.|# will s|
|00000460| 65 65 20 74 68 65 20 66 | 6f 6c 6c 6f 77 69 6e 67 |ee the f|ollowing|
|00000470| 20 6d 65 73 73 61 67 65 | 20 61 74 20 74 68 65 20 | message| at the |
|00000480| 65 6e 64 3a 0a 23 09 09 | 22 45 6e 64 20 6f 66 20 |end:.#..|"End of |
|00000490| 73 68 65 6c 6c 20 61 72 | 63 68 69 76 65 2e 22 0a |shell ar|chive.".|
|000004a0| 23 20 43 6f 6e 74 65 6e | 74 73 3a 20 20 4d 61 6b |# Conten|ts: Mak|
|000004b0| 65 66 69 6c 65 20 52 45 | 41 44 4d 45 20 68 65 6c |efile RE|ADME hel|
|000004c0| 70 2e 63 20 68 65 6c 70 | 2e 6d 61 6e 20 68 65 6c |p.c help|.man hel|
|000004d0| 70 66 69 6c 65 20 69 6e | 66 6f 0a 23 20 57 72 61 |pfile in|fo.# Wra|
|000004e0| 70 70 65 64 20 62 79 20 | 77 6e 70 40 6b 69 6c 6c |pped by |wnp@kill|
|000004f0| 65 72 20 6f 6e 20 54 68 | 75 20 4a 61 6e 20 32 31 |er on Th|u Jan 21|
|00000500| 20 31 32 3a 32 34 3a 31 | 32 20 31 39 38 38 0a 50 | 12:24:1|2 1988.P|
|00000510| 41 54 48 3d 2f 62 69 6e | 3a 2f 75 73 72 2f 62 69 |ATH=/bin|:/usr/bi|
|00000520| 6e 3a 2f 75 73 72 2f 75 | 63 62 20 3b 20 65 78 70 |n:/usr/u|cb ; exp|
|00000530| 6f 72 74 20 50 41 54 48 | 0a 69 66 20 74 65 73 74 |ort PATH|.if test|
|00000540| 20 2d 66 20 4d 61 6b 65 | 66 69 6c 65 20 2d 61 20 | -f Make|file -a |
|00000550| 22 24 7b 31 7d 22 20 21 | 3d 20 22 2d 63 22 20 3b |"${1}" !|= "-c" ;|
|00000560| 20 74 68 65 6e 20 0a 20 | 20 65 63 68 6f 20 73 68 | then . | echo sh|
|00000570| 61 72 3a 20 57 69 6c 6c | 20 6e 6f 74 20 6f 76 65 |ar: Will| not ove|
|00000580| 72 2d 77 72 69 74 65 20 | 65 78 69 73 74 69 6e 67 |r-write |existing|
|00000590| 20 66 69 6c 65 20 5c 22 | 4d 61 6b 65 66 69 6c 65 | file \"|Makefile|
|000005a0| 5c 22 0a 65 6c 73 65 0a | 65 63 68 6f 20 73 68 61 |\".else.|echo sha|
|000005b0| 72 3a 20 45 78 74 72 61 | 63 74 69 6e 67 20 5c 22 |r: Extra|cting \"|
|000005c0| 4d 61 6b 65 66 69 6c 65 | 5c 22 20 5c 28 39 31 39 |Makefile|\" \(919|
|000005d0| 20 63 68 61 72 61 63 74 | 65 72 73 5c 29 0a 73 65 | charact|ers\).se|
|000005e0| 64 20 22 73 2f 5e 58 2f | 2f 22 20 3e 4d 61 6b 65 |d "s/^X/|/" >Make|
|000005f0| 66 69 6c 65 20 3c 3c 27 | 45 4e 44 5f 4f 46 5f 4d |file <<'|END_OF_M|
|00000600| 61 6b 65 66 69 6c 65 27 | 0a 58 23 0a 58 23 20 4d |akefile'|.X#.X# M|
|00000610| 61 6b 65 66 69 6c 65 20 | 66 6f 72 20 48 65 6c 70 |akefile |for Help|
|00000620| 20 63 6f 6d 6d 61 6e 64 | 0a 58 23 0a 58 23 09 42 | command|.X#.X#.B|
|00000630| 79 3a 09 09 24 41 75 74 | 68 6f 72 3a 20 70 6c 6f |y:..$Aut|hor: plo|
|00000640| 63 68 65 72 20 24 20 20 | 28 4a 6f 68 6e 20 50 6c |cher $ |(John Pl|
|00000650| 6f 63 68 65 72 29 0a 58 | 23 09 09 09 24 52 65 76 |ocher).X|#...$Rev|
|00000660| 69 73 69 6f 6e 3a 20 31 | 2e 30 20 24 0a 58 23 09 |ision: 1|.0 $.X#.|
|00000670| 4c 61 73 74 20 6d 6f 64 | 69 66 69 65 64 3a 09 24 |Last mod|ified:.$|
|00000680| 44 61 74 65 3a 20 38 37 | 2f 31 32 2f 32 36 20 32 |Date: 87|/12/26 2|
|00000690| 33 3a 33 34 3a 33 30 20 | 24 0a 58 23 09 53 6f 75 |3:34:30 |$.X#.Sou|
|000006a0| 72 63 65 20 69 73 20 69 | 6e 3a 09 24 53 6f 75 72 |rce is i|n:.$Sour|
|000006b0| 63 65 3a 20 2f 75 2f 6d | 69 63 72 6f 70 6f 72 74 |ce: /u/m|icroport|
|000006c0| 2f 73 72 63 2f 68 65 6c | 70 2f 52 43 53 2f 4d 61 |/src/hel|p/RCS/Ma|
|000006d0| 6b 65 66 69 6c 65 2c 76 | 20 24 0a 58 23 0a 58 23 |kefile,v| $.X#.X#|
|000006e0| 09 52 65 6c 65 61 73 65 | 20 73 74 61 74 65 3a 09 |.Release| state:.|
|000006f0| 24 53 74 61 74 65 3a 20 | 50 6f 73 74 65 64 20 24 |$State: |Posted $|
|00000700| 0a 58 23 0a 58 23 20 4d | 6f 64 69 66 69 63 61 74 |.X#.X# M|odificat|
|00000710| 69 6f 6e 20 4c 6f 67 0a | 58 23 20 2d 2d 2d 2d 2d |ion Log.|X# -----|
|00000720| 2d 2d 2d 2d 2d 2d 2d 2d | 2d 2d 2d 0a 58 23 0a 58 |--------|---.X#.X|
|00000730| 23 20 24 4c 6f 67 3a 09 | 4d 61 6b 65 66 69 6c 65 |# $Log:.|Makefile|
|00000740| 2c 76 20 24 0a 58 23 20 | 52 65 76 69 73 69 6f 6e |,v $.X# |Revision|
|00000750| 20 31 2e 30 20 20 38 37 | 2f 31 32 2f 32 36 20 20 | 1.0 87|/12/26 |
|00000760| 32 33 3a 33 34 3a 33 30 | 20 20 70 6c 6f 63 68 65 |23:34:30| ploche|
|00000770| 72 0a 58 23 20 49 6e 69 | 74 69 61 6c 20 72 65 76 |r.X# Ini|tial rev|
|00000780| 69 73 69 6f 6e 0a 58 23 | 20 0a 58 23 0a 58 23 09 |ision.X#| .X#.X#.|
|00000790| 24 48 65 61 64 65 72 3a | 20 4d 61 6b 65 66 69 6c |$Header:| Makefil|
|000007a0| 65 2c 76 20 31 2e 30 20 | 38 37 2f 31 32 2f 32 36 |e,v 1.0 |87/12/26|
|000007b0| 20 32 33 3a 33 34 3a 33 | 30 20 70 6c 6f 63 68 65 | 23:34:3|0 ploche|
|000007c0| 72 20 50 6f 73 74 65 64 | 20 24 0a 58 23 0a 58 0a |r Posted| $.X#.X.|
|000007d0| 58 53 48 45 4c 4c 3d 2f | 62 69 6e 2f 73 68 0a 58 |XSHELL=/|bin/sh.X|
|000007e0| 0a 58 23 20 57 68 65 72 | 65 20 79 6f 75 20 70 75 |.X# Wher|e you pu|
|000007f0| 74 20 79 6f 75 72 20 6c | 6f 63 61 6c 20 62 69 6e |t your l|ocal bin|
|00000800| 61 72 69 65 73 2e 2e 2e | 0a 58 4c 4f 43 41 4c 3d |aries...|.XLOCAL=|
|00000810| 20 2f 75 73 72 2f 6c 6f | 63 61 6c 0a 58 48 45 4c | /usr/lo|cal.XHEL|
|00000820| 50 44 49 52 3d 20 2f 75 | 73 72 2f 6c 69 62 0a 58 |PDIR= /u|sr/lib.X|
|00000830| 0a 58 61 6c 6c 3a 09 68 | 65 6c 70 0a 58 0a 58 68 |.Xall:.h|elp.X.Xh|
|00000840| 65 6c 70 3a 09 68 65 6c | 70 2e 6f 0a 58 09 63 63 |elp:.hel|p.o.X.cc|
|00000850| 20 2d 6f 20 68 65 6c 70 | 20 68 65 6c 70 2e 6f 0a | -o help| help.o.|
|00000860| 58 0a 58 69 6e 73 74 61 | 6c 6c 3a 20 61 6c 6c 0a |X.Xinsta|ll: all.|
|00000870| 58 09 63 68 6f 77 6e 20 | 72 6f 6f 74 20 68 65 6c |X.chown |root hel|
|00000880| 70 0a 58 09 63 68 6d 6f | 64 20 37 35 35 20 68 65 |p.X.chmo|d 755 he|
|00000890| 6c 70 0a 58 09 63 68 6d | 6f 64 20 75 2b 73 20 68 |lp.X.chm|od u+s h|
|000008a0| 65 6c 70 0a 58 09 69 66 | 20 5b 20 2d 66 20 2f 75 |elp.X.if| [ -f /u|
|000008b0| 73 72 2f 62 69 6e 2f 68 | 65 6c 70 20 5d 20 3b 20 |sr/bin/h|elp ] ; |
|000008c0| 74 68 65 6e 20 20 6d 76 | 20 2f 75 73 72 2f 62 69 |then mv| /usr/bi|
|000008d0| 6e 2f 68 65 6c 70 20 2f | 75 73 72 2f 62 69 6e 2f |n/help /|usr/bin/|
|000008e0| 68 65 6c 70 2e 53 56 20 | 3b 20 66 69 0a 58 09 72 |help.SV |; fi.X.r|
|000008f0| 6d 20 2d 66 20 24 28 4c | 4f 43 41 4c 29 2f 68 65 |m -f $(L|OCAL)/he|
|00000900| 6c 70 0a 58 09 63 70 20 | 68 65 6c 70 20 24 28 4c |lp.X.cp |help $(L|
|00000910| 4f 43 41 4c 29 0a 58 09 | 63 68 6f 77 6e 20 72 6f |OCAL).X.|chown ro|
|00000920| 6f 74 20 68 65 6c 70 66 | 69 6c 65 0a 58 09 63 68 |ot helpf|ile.X.ch|
|00000930| 6d 6f 64 20 36 34 34 20 | 68 65 6c 70 66 69 6c 65 |mod 644 |helpfile|
|00000940| 0a 58 09 69 6e 73 74 61 | 6c 6c 20 2d 63 20 24 28 |.X.insta|ll -c $(|
|00000950| 48 45 4c 50 44 49 52 29 | 20 68 65 6c 70 66 69 6c |HELPDIR)| helpfil|
|00000960| 65 0a 58 0a 58 75 6e 69 | 6e 73 74 61 6c 6c 3a 0a |e.X.Xuni|nstall:.|
|00000970| 58 09 72 6d 20 2d 66 20 | 24 28 4c 4f 43 41 4c 29 |X.rm -f |$(LOCAL)|
|00000980| 2f 68 65 6c 70 20 24 28 | 48 45 4c 50 44 49 52 29 |/help $(|HELPDIR)|
|00000990| 2f 68 65 6c 70 66 69 6c | 65 20 24 28 48 45 4c 50 |/helpfil|e $(HELP|
|000009a0| 44 49 52 29 2f 68 65 6c | 70 66 69 6c 65 2e 69 64 |DIR)/hel|pfile.id|
|000009b0| 78 0a 58 0a 58 63 6c 65 | 61 6e 3a 0a 58 09 72 6d |x.X.Xcle|an:.X.rm|
|000009c0| 20 2d 66 20 68 65 6c 70 | 2e 6f 20 68 65 6c 70 0a | -f help|.o help.|
|000009d0| 45 4e 44 5f 4f 46 5f 4d | 61 6b 65 66 69 6c 65 0a |END_OF_M|akefile.|
|000009e0| 69 66 20 74 65 73 74 20 | 39 31 39 20 2d 6e 65 20 |if test |919 -ne |
|000009f0| 60 77 63 20 2d 63 20 3c | 4d 61 6b 65 66 69 6c 65 |`wc -c <|Makefile|
|00000a00| 60 3b 20 74 68 65 6e 0a | 20 20 20 20 65 63 68 6f |`; then.| echo|
|00000a10| 20 73 68 61 72 3a 20 5c | 22 4d 61 6b 65 66 69 6c | shar: \|"Makefil|
|00000a20| 65 5c 22 20 75 6e 70 61 | 63 6b 65 64 20 77 69 74 |e\" unpa|cked wit|
|00000a30| 68 20 77 72 6f 6e 67 20 | 73 69 7a 65 21 0a 66 69 |h wrong |size!.fi|
|00000a40| 0a 23 20 65 6e 64 20 6f | 66 20 6f 76 65 72 77 72 |.# end o|f overwr|
|00000a50| 69 74 69 6e 67 20 63 68 | 65 63 6b 0a 66 69 0a 69 |iting ch|eck.fi.i|
|00000a60| 66 20 74 65 73 74 20 2d | 66 20 52 45 41 44 4d 45 |f test -|f README|
|00000a70| 20 2d 61 20 22 24 7b 31 | 7d 22 20 21 3d 20 22 2d | -a "${1|}" != "-|
|00000a80| 63 22 20 3b 20 74 68 65 | 6e 20 0a 20 20 65 63 68 |c" ; the|n . ech|
|00000a90| 6f 20 73 68 61 72 3a 20 | 57 69 6c 6c 20 6e 6f 74 |o shar: |Will not|
|00000aa0| 20 6f 76 65 72 2d 77 72 | 69 74 65 20 65 78 69 73 | over-wr|ite exis|
|00000ab0| 74 69 6e 67 20 66 69 6c | 65 20 5c 22 52 45 41 44 |ting fil|e \"READ|
|00000ac0| 4d 45 5c 22 0a 65 6c 73 | 65 0a 65 63 68 6f 20 73 |ME\".els|e.echo s|
|00000ad0| 68 61 72 3a 20 45 78 74 | 72 61 63 74 69 6e 67 20 |har: Ext|racting |
|00000ae0| 5c 22 52 45 41 44 4d 45 | 5c 22 20 5c 28 32 33 33 |\"README|\" \(233|
|00000af0| 34 20 63 68 61 72 61 63 | 74 65 72 73 5c 29 0a 73 |4 charac|ters\).s|
|00000b00| 65 64 20 22 73 2f 5e 58 | 2f 2f 22 20 3e 52 45 41 |ed "s/^X|//" >REA|
|00000b10| 44 4d 45 20 3c 3c 27 45 | 4e 44 5f 4f 46 5f 52 45 |DME <<'E|ND_OF_RE|
|00000b20| 41 44 4d 45 27 0a 58 53 | 75 62 6a 65 63 74 3a 20 |ADME'.XS|ubject: |
|00000b30| 32 38 36 20 53 6f 75 72 | 63 65 3a 20 41 20 48 65 |286 Sour|ce: A He|
|00000b40| 6c 70 20 43 6f 6d 6d 61 | 6e 64 20 66 6f 72 20 73 |lp Comma|nd for s|
|00000b50| 79 73 74 65 6d 73 20 77 | 69 74 68 20 6c 69 6d 69 |ystems w|ith limi|
|00000b60| 74 65 64 20 64 69 73 6b | 20 73 70 61 63 65 0a 58 |ted disk| space.X|
|00000b70| 4d 65 73 73 61 67 65 2d | 49 64 3a 20 3c 38 37 31 |Message-|Id: <871|
|00000b80| 32 32 32 31 33 35 37 2e | 41 41 32 39 31 31 31 40 |2221357.|AA29111@|
|00000b90| 6b 69 6c 6c 65 72 2e 55 | 55 43 50 3e 0a 58 44 61 |killer.U|UCP>.XDa|
|00000ba0| 74 65 3a 20 32 32 20 44 | 65 63 20 38 37 20 31 33 |te: 22 D|ec 87 13|
|00000bb0| 3a 35 37 3a 32 32 20 43 | 53 54 20 28 54 75 65 29 |:57:22 C|ST (Tue)|
|00000bc0| 0a 58 0a 58 52 43 53 49 | 4e 46 4f 3a 20 24 48 65 |.X.XRCSI|NFO: $He|
|00000bd0| 61 64 65 72 3a 20 52 45 | 41 44 4d 45 2c 76 20 31 |ader: RE|ADME,v 1|
|00000be0| 2e 30 20 38 37 2f 31 32 | 2f 31 38 20 31 38 3a 32 |.0 87/12|/18 18:2|
|00000bf0| 32 3a 32 39 20 77 6e 70 | 20 50 6f 73 74 65 64 20 |2:29 wnp| Posted |
|00000c00| 24 0a 58 0a 58 54 68 65 | 20 65 6e 63 6c 6f 73 65 |$.X.XThe| enclose|
|00000c10| 64 20 69 73 20 61 20 22 | 68 65 6c 70 22 20 63 6f |d is a "|help" co|
|00000c20| 6d 6d 61 6e 64 2c 20 70 | 61 74 74 65 72 6e 65 64 |mmand, p|atterned|
|00000c30| 20 61 66 74 65 72 20 74 | 68 65 20 68 65 6c 70 20 | after t|he help |
|00000c40| 63 6f 6d 6d 61 6e 64 0a | 58 64 69 73 74 72 69 62 |command.|Xdistrib|
|00000c50| 75 74 65 64 20 77 69 74 | 68 20 4d 4b 53 20 54 6f |uted wit|h MKS To|
|00000c60| 6f 6c 6b 69 74 20 2d 2d | 20 69 6e 20 66 61 63 74 |olkit --| in fact|
|00000c70| 2c 20 69 66 20 79 6f 75 | 20 68 61 76 65 20 74 68 |, if you| have th|
|00000c80| 65 20 54 6f 6f 6c 6b 69 | 74 2c 0a 58 79 6f 75 20 |e Toolki|t,.Xyou |
|00000c90| 63 6f 75 6c 64 20 75 73 | 65 20 74 68 65 69 72 20 |could us|e their |
|00000ca0| 68 65 6c 70 66 69 6c 65 | 20 61 73 20 61 20 73 74 |helpfile| as a st|
|00000cb0| 61 72 74 69 6e 67 20 70 | 6f 69 6e 74 20 66 6f 72 |arting p|oint for|
|00000cc0| 20 61 20 55 4e 49 58 20 | 53 79 73 56 0a 58 68 65 | a UNIX |SysV.Xhe|
|00000cd0| 6c 70 66 69 6c 65 2e 0a | 58 0a 58 49 66 20 79 6f |lpfile..|X.XIf yo|
|00000ce0| 75 20 64 6f 6e 27 74 20 | 68 61 76 65 20 74 68 65 |u don't |have the|
|00000cf0| 20 54 6f 6f 6c 6b 69 74 | 2c 20 79 6f 75 20 63 61 | Toolkit|, you ca|
|00000d00| 6e 20 63 6f 6e 73 74 72 | 75 63 74 20 61 20 68 65 |n constr|uct a he|
|00000d10| 6c 70 66 69 6c 65 20 62 | 79 0a 58 67 6c 65 61 6e |lpfile b|y.Xglean|
|00000d20| 69 6e 67 20 73 68 6f 72 | 74 20 63 6f 6d 6d 61 6e |ing shor|t comman|
|00000d30| 64 20 64 65 73 63 72 69 | 70 74 69 6f 6e 73 20 66 |d descri|ptions f|
|00000d40| 72 6f 6d 20 79 6f 75 72 | 20 6d 61 6e 75 61 6c 2c |rom your| manual,|
|00000d50| 20 61 6e 64 20 61 64 64 | 69 6e 67 0a 58 74 68 65 | and add|ing.Xthe|
|00000d60| 6d 20 74 6f 20 22 2f 75 | 73 72 2f 6c 69 62 2f 68 |m to "/u|sr/lib/h|
|00000d70| 65 6c 70 66 69 6c 65 22 | 2c 20 61 63 63 6f 72 64 |elpfile"|, accord|
|00000d80| 69 6e 67 20 74 68 65 20 | 74 68 65 20 70 61 74 74 |ing the |the patt|
|00000d90| 65 72 6e 20 6f 66 20 74 | 68 65 20 70 61 72 74 69 |ern of t|he parti|
|00000da0| 61 6c 0a 58 68 65 6c 70 | 66 69 6c 65 20 73 68 6f |al.Xhelp|file sho|
|00000db0| 77 6e 20 62 65 6c 6f 77 | 2e 0a 58 0a 58 49 20 66 |wn below|..X.XI f|
|00000dc0| 69 6e 64 20 74 68 69 73 | 20 68 65 6c 70 20 63 6f |ind this| help co|
|00000dd0| 6d 6d 61 6e 64 20 6d 6f | 72 65 20 75 73 65 66 75 |mmand mo|re usefu|
|00000de0| 6c 20 74 68 61 6e 20 74 | 68 65 20 68 65 6c 70 20 |l than t|he help |
|00000df0| 73 79 73 74 65 6d 20 64 | 69 73 74 72 69 62 75 74 |system d|istribut|
|00000e00| 65 64 20 77 69 74 68 0a | 58 53 79 73 74 65 6d 20 |ed with.|XSystem |
|00000e10| 56 2c 20 65 73 70 65 63 | 69 61 6c 6c 79 20 6f 6e |V, espec|ially on|
|00000e20| 20 6d 61 63 68 69 6e 65 | 73 20 77 69 74 68 20 6c | machine|s with l|
|00000e30| 69 6d 69 74 65 64 20 64 | 69 73 6b 20 73 70 61 63 |imited d|isk spac|
|00000e40| 65 2c 20 77 68 65 72 65 | 20 69 74 20 69 73 20 6e |e, where| it is n|
|00000e50| 6f 74 0a 58 70 72 61 63 | 74 69 63 61 6c 20 74 6f |ot.Xprac|tical to|
|00000e60| 20 6b 65 65 70 20 74 68 | 65 20 6d 61 6e 75 61 6c | keep th|e manual|
|00000e70| 73 20 6f 6e 2d 6c 69 6e | 65 2e 0a 58 0a 58 54 68 |s on-lin|e..X.XTh|
|00000e80| 65 20 70 72 6f 67 72 61 | 6d 20 75 73 65 73 20 61 |e progra|m uses a|
|00000e90| 6e 20 69 6e 64 65 78 66 | 69 6c 65 2c 20 2f 75 73 |n indexf|ile, /us|
|00000ea0| 72 2f 6c 69 62 2f 68 65 | 6c 70 69 6e 64 65 78 2c |r/lib/he|lpindex,|
|00000eb0| 20 74 6f 20 73 70 65 65 | 64 20 75 70 20 61 63 63 | to spee|d up acc|
|00000ec0| 65 73 73 3b 0a 58 69 66 | 20 74 68 65 20 69 6e 64 |ess;.Xif| the ind|
|00000ed0| 65 78 66 69 6c 65 20 64 | 6f 65 73 20 6e 6f 74 20 |exfile d|oes not |
|00000ee0| 65 78 69 73 74 2c 20 6f | 72 20 69 73 20 6f 6c 64 |exist, o|r is old|
|00000ef0| 65 72 20 74 68 61 6e 20 | 2f 75 73 72 2f 6c 69 62 |er than |/usr/lib|
|00000f00| 2f 68 65 6c 70 66 69 6c | 65 20 28 69 6e 64 69 63 |/helpfil|e (indic|
|00000f10| 61 74 69 6e 67 0a 58 74 | 68 61 74 20 74 68 65 20 |ating.Xt|hat the |
|00000f20| 68 65 6c 70 66 69 6c 65 | 20 68 61 73 20 62 65 65 |helpfile| has bee|
|00000f30| 6e 20 75 70 64 61 74 65 | 64 29 2c 20 74 68 65 20 |n update|d), the |
|00000f40| 70 72 6f 67 72 61 6d 20 | 77 69 6c 6c 20 62 75 69 |program |will bui|
|00000f50| 6c 64 20 61 20 6e 65 77 | 20 69 6e 64 65 78 66 69 |ld a new| indexfi|
|00000f60| 6c 65 2e 0a 58 0a 58 43 | 6f 6d 70 69 6c 65 20 6e |le..X.XC|ompile n|
|00000f70| 6f 72 6d 61 6c 6c 79 2c | 20 28 73 6d 61 6c 6c 20 |ormally,| (small |
|00000f80| 6d 6f 64 65 6c 20 6f 6e | 20 55 70 6f 72 74 20 56 |model on| Uport V|
|00000f90| 2f 32 38 36 29 2c 20 74 | 68 65 6e 20 69 6e 76 6f |/286), t|hen invo|
|00000fa0| 6b 65 20 61 73 20 22 68 | 65 6c 70 22 2e 20 54 68 |ke as "h|elp". Th|
|00000fb0| 65 0a 58 70 72 6f 67 72 | 61 6d 20 73 68 6f 75 6c |e.Xprogr|am shoul|
|00000fc0| 64 20 62 65 20 6f 77 6e | 65 64 20 62 79 20 72 6f |d be own|ed by ro|
|00000fd0| 6f 74 20 61 6e 64 20 73 | 75 69 64 2c 20 73 6f 20 |ot and s|uid, so |
|00000fe0| 69 74 20 63 61 6e 20 77 | 72 69 74 65 20 69 6e 20 |it can w|rite in |
|00000ff0| 2f 75 73 72 2f 6c 69 62 | 20 28 74 6f 0a 58 72 65 |/usr/lib| (to.Xre|
|00001000| 63 72 65 61 74 65 20 74 | 68 65 20 69 6e 64 65 78 |create t|he index|
|00001010| 20 66 69 6c 65 20 61 73 | 20 6e 65 65 64 65 64 2e | file as| needed.|
|00001020| 29 2e 0a 58 0a 58 54 68 | 65 20 68 65 6c 70 66 69 |)..X.XTh|e helpfi|
|00001030| 6c 65 20 62 65 6c 6f 77 | 20 63 6f 6e 73 69 73 74 |le below| consist|
|00001040| 73 20 6f 66 20 74 68 6f | 73 65 20 68 65 6c 70 20 |s of tho|se help |
|00001050| 65 6e 74 72 69 65 73 20 | 77 68 69 63 68 20 49 20 |entries |which I |
|00001060| 68 61 76 65 20 61 64 64 | 65 64 20 74 6f 0a 58 74 |have add|ed to.Xt|
|00001070| 68 65 20 4d 4b 53 20 54 | 6f 6f 6c 6b 69 74 20 66 |he MKS T|oolkit f|
|00001080| 69 6c 65 20 74 6f 20 75 | 73 65 20 77 69 74 68 20 |ile to u|se with |
|00001090| 6d 79 20 55 4e 49 58 20 | 73 79 73 74 65 6d 2e 20 |my UNIX |system. |
|000010a0| 49 20 64 6f 20 6e 6f 74 | 20 66 65 65 6c 20 66 72 |I do not| feel fr|
|000010b0| 65 65 20 74 6f 0a 58 70 | 6f 73 74 20 74 68 65 20 |ee to.Xp|ost the |
|000010c0| 4d 4b 53 20 68 65 6c 70 | 66 69 6c 65 2c 20 73 69 |MKS help|file, si|
|000010d0| 6e 63 65 20 69 74 20 69 | 73 20 6e 6f 20 64 6f 75 |nce it i|s no dou|
|000010e0| 62 74 20 28 63 29 20 62 | 79 20 4d 4b 53 2e 0a 58 |bt (c) b|y MKS..X|
|000010f0| 0a 58 50 75 74 20 74 68 | 65 20 68 65 6c 70 66 69 |.XPut th|e helpfi|
|00001100| 6c 65 20 69 6e 74 6f 20 | 2f 75 73 72 2f 6c 69 62 |le into |/usr/lib|
|00001110| 2f 68 65 6c 70 66 69 6c | 65 2c 20 6f 72 20 63 68 |/helpfil|e, or ch|
|00001120| 61 6e 67 65 20 74 68 65 | 20 72 65 66 65 72 65 6e |ange the| referen|
|00001130| 63 65 73 20 74 68 65 72 | 65 74 6f 20 69 6e 0a 58 |ces ther|eto in.X|
|00001140| 68 65 6c 70 2e 63 2e 0a | 58 0a 58 49 20 68 6f 70 |help.c..|X.XI hop|
|00001150| 65 20 74 68 69 73 20 69 | 73 20 68 65 6c 70 66 75 |e this i|s helpfu|
|00001160| 6c 2e 20 43 69 76 69 6c | 20 61 6e 64 20 63 6f 6e |l. Civil| and con|
|00001170| 73 74 72 75 63 74 69 76 | 65 20 63 6f 6d 6d 65 6e |structiv|e commen|
|00001180| 74 73 20 61 72 65 20 69 | 6e 76 69 74 65 64 20 74 |ts are i|nvited t|
|00001190| 6f 0a 58 69 68 6e 70 34 | 21 6b 69 6c 6c 65 72 21 |o.Xihnp4|!killer!|
|000011a0| 64 63 73 21 77 6e 70 2c | 20 66 6c 61 6d 65 73 20 |dcs!wnp,| flames |
|000011b0| 73 68 6f 75 6c 64 20 62 | 65 20 64 69 72 65 63 74 |should b|e direct|
|000011c0| 65 64 20 74 6f 20 2f 64 | 65 76 2f 6e 75 6c 6c 2e |ed to /d|ev/null.|
|000011d0| 0a 58 0a 58 57 6f 6c 66 | 20 4e 2e 20 50 61 75 6c |.X.XWolf| N. Paul|
|000011e0| 0a 58 69 68 6e 70 34 21 | 6b 69 6c 6c 65 72 21 64 |.Xihnp4!|killer!d|
|000011f0| 63 73 21 77 6e 70 0a 58 | 0a 58 0a 58 50 2e 53 2e |cs!wnp.X|.X.XP.S.|
|00001200| 20 53 69 6e 63 65 20 66 | 69 72 73 74 20 70 6f 73 | Since f|irst pos|
|00001210| 74 69 6e 67 20 74 68 69 | 73 20 74 6f 20 63 6f 6d |ting thi|s to com|
|00001220| 70 2e 75 6e 69 78 2e 6d | 69 63 72 6f 70 6f 72 74 |p.unix.m|icroport|
|00001230| 2c 20 61 6e 6f 74 68 65 | 72 20 61 70 70 6c 69 63 |, anothe|r applic|
|00001240| 61 74 69 6f 6e 0a 58 68 | 61 73 20 62 65 65 6e 20 |ation.Xh|as been |
|00001250| 73 75 67 67 65 73 74 65 | 64 20 66 6f 72 20 74 68 |suggeste|d for th|
|00001260| 69 73 20 63 6f 6d 6d 61 | 6e 64 20 2d 20 61 6e 20 |is comma|nd - an |
|00001270| 6f 6e 6c 69 6e 65 2c 20 | 66 72 65 65 2d 66 6f 72 |online, |free-for|
|00001280| 6d 20 6e 6f 74 65 62 6f | 6f 6b 2e 0a 58 0a 58 41 |m notebo|ok..X.XA|
|00001290| 63 74 75 61 6c 6c 79 2c | 20 61 6e 79 20 6b 69 6e |ctually,| any kin|
|000012a0| 64 20 6f 66 20 69 6e 66 | 6f 72 6d 61 74 69 6f 6e |d of inf|ormation|
|000012b0| 20 63 61 6e 20 62 65 20 | 6b 65 70 74 20 69 6e 20 | can be |kept in |
|000012c0| 61 20 22 68 65 6c 70 66 | 69 6c 65 22 20 66 6f 72 |a "helpf|ile" for|
|000012d0| 20 74 68 69 73 0a 58 63 | 6f 6d 6d 61 6e 64 2c 20 | this.Xc|ommand, |
|000012e0| 61 73 20 6c 6f 6e 67 20 | 61 73 20 65 61 63 68 20 |as long |as each |
|000012f0| 69 74 65 6d 20 6f 66 20 | 69 6e 66 6f 20 73 74 61 |item of |info sta|
|00001300| 72 74 73 20 77 69 74 68 | 20 61 20 6c 69 6e 65 20 |rts with| a line |
|00001310| 63 6f 6e 74 61 69 6e 69 | 6e 67 0a 58 27 23 27 20 |containi|ng.X'#' |
|00001320| 61 6e 64 20 61 20 6e 75 | 6d 62 65 72 20 6f 66 20 |and a nu|mber of |
|00001330| 6b 65 79 77 6f 72 64 73 | 20 73 65 70 61 72 61 74 |keywords| separat|
|00001340| 65 64 20 62 79 20 63 6f | 6d 6d 61 73 20 28 63 75 |ed by co|mmas (cu|
|00001350| 72 72 65 6e 74 6c 79 20 | 65 61 63 68 20 6b 65 79 |rrently |each key|
|00001360| 77 6f 72 64 0a 58 6d 75 | 73 74 20 62 65 20 6c 65 |word.Xmu|st be le|
|00001370| 73 73 20 74 68 61 6e 20 | 31 34 20 63 68 61 72 61 |ss than |14 chara|
|00001380| 63 74 65 72 73 20 6c 6f | 6e 67 20 61 6e 64 20 63 |cters lo|ng and c|
|00001390| 61 6e 6e 6f 74 20 63 6f | 6e 74 61 69 6e 20 77 68 |annot co|ntain wh|
|000013a0| 69 74 65 20 73 70 61 63 | 65 29 2e 0a 58 4a 6f 68 |ite spac|e)..XJoh|
|000013b0| 6e 20 50 6c 6f 63 68 65 | 72 27 73 20 61 64 64 69 |n Ploche|r's addi|
|000013c0| 74 69 6f 6e 20 6f 66 20 | 6c 6f 6f 6b 69 6e 67 20 |tion of |looking |
|000013d0| 61 74 20 24 48 45 4c 50 | 44 49 52 20 61 6e 64 20 |at $HELP|DIR and |
|000013e0| 24 48 45 4c 50 46 49 4c | 45 20 70 65 72 6d 69 74 |$HELPFIL|E permit|
|000013f0| 73 20 6f 6e 65 0a 58 74 | 6f 20 70 75 74 20 69 6e |s one.Xt|o put in|
|00001400| 66 6f 20 69 6e 74 6f 20 | 61 20 66 69 6c 65 20 24 |fo into |a file $|
|00001410| 48 4f 4d 45 2f 2e 6e 6f | 74 65 62 6f 6f 6b 2c 20 |HOME/.no|tebook, |
|00001420| 61 6e 64 20 74 6f 20 61 | 63 63 65 73 73 20 69 74 |and to a|ccess it|
|00001430| 20 75 73 69 6e 67 20 74 | 68 65 20 65 6e 63 6c 6f | using t|he enclo|
|00001440| 73 65 64 0a 58 22 69 6e | 66 6f 22 20 73 68 65 6c |sed.X"in|fo" shel|
|00001450| 6c 73 63 72 69 70 74 2e | 0a 58 0a 58 41 67 61 69 |lscript.|.X.XAgai|
|00001460| 6e 2c 20 69 20 68 6f 70 | 65 20 74 68 69 73 20 69 |n, i hop|e this i|
|00001470| 20 68 65 6c 70 66 75 6c | 2e 0a 45 4e 44 5f 4f 46 | helpful|..END_OF|
|00001480| 5f 52 45 41 44 4d 45 0a | 69 66 20 74 65 73 74 20 |_README.|if test |
|00001490| 32 33 33 34 20 2d 6e 65 | 20 60 77 63 20 2d 63 20 |2334 -ne| `wc -c |
|000014a0| 3c 52 45 41 44 4d 45 60 | 3b 20 74 68 65 6e 0a 20 |<README`|; then. |
|000014b0| 20 20 20 65 63 68 6f 20 | 73 68 61 72 3a 20 5c 22 | echo |shar: \"|
|000014c0| 52 45 41 44 4d 45 5c 22 | 20 75 6e 70 61 63 6b 65 |README\"| unpacke|
|000014d0| 64 20 77 69 74 68 20 77 | 72 6f 6e 67 20 73 69 7a |d with w|rong siz|
|000014e0| 65 21 0a 66 69 0a 23 20 | 65 6e 64 20 6f 66 20 6f |e!.fi.# |end of o|
|000014f0| 76 65 72 77 72 69 74 69 | 6e 67 20 63 68 65 63 6b |verwriti|ng check|
|00001500| 0a 66 69 0a 69 66 20 74 | 65 73 74 20 2d 66 20 68 |.fi.if t|est -f h|
|00001510| 65 6c 70 2e 63 20 2d 61 | 20 22 24 7b 31 7d 22 20 |elp.c -a| "${1}" |
|00001520| 21 3d 20 22 2d 63 22 20 | 3b 20 74 68 65 6e 20 0a |!= "-c" |; then .|
|00001530| 20 20 65 63 68 6f 20 73 | 68 61 72 3a 20 57 69 6c | echo s|har: Wil|
|00001540| 6c 20 6e 6f 74 20 6f 76 | 65 72 2d 77 72 69 74 65 |l not ov|er-write|
|00001550| 20 65 78 69 73 74 69 6e | 67 20 66 69 6c 65 20 5c | existin|g file \|
|00001560| 22 68 65 6c 70 2e 63 5c | 22 0a 65 6c 73 65 0a 65 |"help.c\|".else.e|
|00001570| 63 68 6f 20 73 68 61 72 | 3a 20 45 78 74 72 61 63 |cho shar|: Extrac|
|00001580| 74 69 6e 67 20 5c 22 68 | 65 6c 70 2e 63 5c 22 20 |ting \"h|elp.c\" |
|00001590| 5c 28 36 32 35 30 20 63 | 68 61 72 61 63 74 65 72 |\(6250 c|haracter|
|000015a0| 73 5c 29 0a 73 65 64 20 | 22 73 2f 5e 58 2f 2f 22 |s\).sed |"s/^X//"|
|000015b0| 20 3e 68 65 6c 70 2e 63 | 20 3c 3c 27 45 4e 44 5f | >help.c| <<'END_|
|000015c0| 4f 46 5f 68 65 6c 70 2e | 63 27 0a 58 2f 2a 0a 58 |OF_help.|c'.X/*.X|
|000015d0| 20 2a 20 4e 61 6d 65 3a | 20 20 20 20 68 65 6c 70 | * Name:| help|
|000015e0| 2e 63 0a 58 20 2a 20 50 | 75 72 70 6f 73 65 3a 20 |.c.X * P|urpose: |
|000015f0| 64 69 73 70 6c 61 79 20 | 68 65 6c 70 20 61 62 6f |display |help abo|
|00001600| 75 74 20 63 6f 6d 6d 61 | 6e 64 73 20 26 20 73 79 |ut comma|nds & sy|
|00001610| 73 74 65 6d 20 66 65 61 | 74 75 72 65 73 0a 58 20 |stem fea|tures.X |
|00001620| 2a 20 53 79 6e 74 61 78 | 3a 20 20 68 65 6c 70 20 |* Syntax|: help |
|00001630| 5b 63 6d 64 5d 0a 58 20 | 2a 20 43 6f 6d 6d 65 6e |[cmd].X |* Commen|
|00001640| 74 3a 20 48 65 6c 70 20 | 64 69 73 70 6c 61 79 73 |t: Help |displays|
|00001650| 20 68 65 6c 70 20 73 63 | 72 65 65 6e 73 20 6f 6e | help sc|reens on|
|00001660| 20 61 6c 6c 20 75 73 65 | 72 20 63 6f 6d 6d 61 6e | all use|r comman|
|00001670| 64 73 0a 58 20 2a 20 20 | 20 20 20 20 20 20 20 20 |ds.X * | |
|00001680| 61 73 20 73 65 74 20 75 | 70 20 69 6e 20 74 68 65 |as set u|p in the|
|00001690| 20 66 69 6c 65 20 2f 75 | 73 72 2f 6c 69 62 2f 68 | file /u|sr/lib/h|
|000016a0| 65 6c 70 66 69 6c 65 2e | 0a 58 20 2a 20 20 20 20 |elpfile.|.X * |
|000016b0| 20 20 20 20 20 20 49 74 | 20 69 73 20 70 61 72 74 | It| is part|
|000016c0| 69 63 75 6c 61 72 6c 79 | 20 75 73 65 66 75 6c 20 |icularly| useful |
|000016d0| 6f 6e 20 73 79 73 74 65 | 6d 73 20 77 69 74 68 20 |on syste|ms with |
|000016e0| 72 65 73 74 72 69 63 74 | 65 64 20 0a 58 20 2a 20 |restrict|ed .X * |
|000016f0| 20 20 20 20 20 20 20 20 | 20 64 69 73 6b 73 70 61 | | diskspa|
|00001700| 63 65 2c 20 77 68 65 72 | 65 20 69 74 20 69 73 20 |ce, wher|e it is |
|00001710| 6e 6f 74 20 70 72 61 63 | 74 69 63 61 6c 20 74 6f |not prac|tical to|
|00001720| 20 6b 65 65 70 20 74 68 | 65 20 6d 61 6e 75 61 6c | keep th|e manual|
|00001730| 73 0a 58 20 2a 20 20 20 | 20 20 20 20 20 20 20 6f |s.X * | o|
|00001740| 6e 2d 6c 69 6e 65 2e 0a | 58 20 2a 20 20 20 20 20 |n-line..|X * |
|00001750| 20 20 20 20 20 54 68 65 | 20 63 6f 6d 6d 61 6e 64 | The| command|
|00001760| 20 69 73 20 70 61 74 74 | 65 72 6e 65 64 20 61 66 | is patt|erned af|
|00001770| 74 65 72 20 74 68 65 20 | 4d 4b 53 20 54 6f 6f 6c |ter the |MKS Tool|
|00001780| 6b 69 74 20 63 6f 6d 6d | 61 6e 64 0a 58 20 2a 20 |kit comm|and.X * |
|00001790| 20 20 20 20 20 20 20 20 | 20 6f 66 20 74 68 65 20 | | of the |
|000017a0| 73 61 6d 65 20 6e 61 6d | 65 2e 20 49 66 20 6e 6f |same nam|e. If no|
|000017b0| 20 2f 75 73 72 2f 6c 69 | 62 2f 68 65 6c 70 69 6e | /usr/li|b/helpin|
|000017c0| 64 65 78 20 66 69 6c 65 | 20 65 78 69 73 74 73 2c |dex file| exists,|
|000017d0| 20 6f 72 20 69 66 0a 58 | 20 2a 20 20 20 20 20 20 | or if.X| * |
|000017e0| 20 20 20 20 69 74 20 69 | 73 20 6f 6c 64 65 72 20 | it i|s older |
|000017f0| 74 68 61 6e 20 74 68 65 | 20 68 65 6c 70 66 69 6c |than the| helpfil|
|00001800| 65 2c 20 61 20 6e 65 77 | 20 68 65 6c 70 69 6e 64 |e, a new| helpind|
|00001810| 65 78 20 77 69 6c 6c 20 | 62 65 0a 58 20 2a 20 20 |ex will |be.X * |
|00001820| 20 20 20 20 20 20 20 20 | 63 72 65 61 74 65 64 20 | |created |
|00001830| 74 6f 20 61 6c 6c 6f 77 | 20 66 61 73 74 65 72 20 |to allow| faster |
|00001840| 61 63 63 65 73 73 20 74 | 6f 20 74 68 65 20 68 65 |access t|o the he|
|00001850| 6c 70 73 63 72 65 65 6e | 73 20 62 79 0a 58 20 2a |lpscreen|s by.X *|
|00001860| 20 20 20 20 20 20 20 20 | 20 20 6d 65 61 6e 73 20 | | means |
|00001870| 6f 66 20 66 73 65 65 6b | 28 29 2e 0a 58 20 2a 20 |of fseek|()..X * |
|00001880| 20 20 20 20 20 20 20 20 | 20 44 65 73 69 72 61 62 | | Desirab|
|00001890| 6c 65 20 65 6e 68 61 6e | 63 65 6d 65 6e 74 73 20 |le enhan|cements |
|000018a0| 77 6f 75 6c 64 20 69 6e | 63 6c 75 64 65 20 74 68 |would in|clude th|
|000018b0| 65 20 70 6f 73 73 69 62 | 69 6c 69 74 79 20 74 6f |e possib|ility to|
|000018c0| 0a 58 20 2a 20 20 20 20 | 20 20 20 20 20 20 68 61 |.X * | ha|
|000018d0| 76 65 20 68 65 6c 70 20 | 6c 6f 6f 6b 20 69 6e 20 |ve help |look in |
|000018e0| 61 6e 20 65 6e 76 69 72 | 6f 6e 6d 65 6e 74 20 76 |an envir|onment v|
|000018f0| 61 72 69 61 62 6c 65 20 | 48 45 4c 50 46 49 4c 45 |ariable |HELPFILE|
|00001900| 20 66 6f 72 0a 58 20 2a | 20 20 20 20 20 20 20 20 | for.X *| |
|00001910| 20 20 61 6e 20 61 6c 74 | 65 72 6e 61 74 65 20 6f | an alt|ernate o|
|00001920| 72 20 61 64 64 69 74 69 | 6f 6e 61 6c 20 68 65 6c |r additi|onal hel|
|00001930| 70 66 69 6c 65 2c 0a 58 | 20 2a 20 20 20 20 20 20 |pfile,.X| * |
|00001940| 20 20 20 20 20 20 20 20 | 5b 20 44 6f 6e 65 20 62 | |[ Done b|
|00001950| 79 20 4a 6f 68 6e 20 50 | 6c 6f 63 68 65 72 20 2d |y John P|locher -|
|00001960| 20 75 73 65 73 20 48 45 | 4c 50 44 49 52 20 74 6f | uses HE|LPDIR to|
|00001970| 20 73 65 74 20 74 68 65 | 20 64 69 72 65 63 74 6f | set the| directo|
|00001980| 72 79 0a 58 20 2a 20 20 | 20 20 20 20 20 20 20 20 |ry.X * | |
|00001990| 20 20 20 20 77 68 65 72 | 65 20 74 68 65 20 68 65 | wher|e the he|
|000019a0| 6c 70 20 66 69 6c 65 20 | 61 6e 64 20 69 74 73 20 |lp file |and its |
|000019b0| 69 6e 64 65 78 20 61 72 | 65 2e 20 20 49 74 20 61 |index ar|e. It a|
|000019c0| 6c 73 6f 20 75 73 65 73 | 20 48 45 4c 50 46 49 4c |lso uses| HELPFIL|
|000019d0| 45 0a 58 20 2a 20 20 20 | 20 20 20 20 20 20 20 20 |E.X * | |
|000019e0| 20 20 20 74 6f 20 67 69 | 76 65 20 74 68 65 20 6e | to gi|ve the n|
|000019f0| 61 6d 65 20 6f 66 20 74 | 68 65 20 64 61 74 61 20 |ame of t|he data |
|00001a00| 66 69 6c 65 20 28 24 48 | 45 4c 50 46 49 4c 45 2e |file ($H|ELPFILE.|
|00001a10| 69 64 78 20 69 73 20 74 | 68 65 20 69 6e 64 65 78 |idx is t|he index|
|00001a20| 29 0a 58 20 2a 20 20 20 | 20 20 20 20 20 20 20 20 |).X * | |
|00001a30| 20 20 20 64 65 66 61 75 | 6c 74 73 20 61 72 65 20 | defau|lts are |
|00001a40| 22 2f 75 73 72 2f 6c 69 | 62 22 20 61 6e 64 20 22 |"/usr/li|b" and "|
|00001a50| 68 65 6c 70 66 69 6c 65 | 22 20 5d 0a 58 20 2a 20 |helpfile|" ].X * |
|00001a60| 20 20 20 20 20 20 20 20 | 20 61 6e 64 2f 6f 72 20 | | and/or |
|00001a70| 74 6f 20 68 61 76 65 20 | 68 65 6c 70 20 6c 6f 6f |to have |help loo|
|00001a80| 6b 20 69 6e 20 24 48 4f | 4d 45 2f 2e 68 65 6c 70 |k in $HO|ME/.help|
|00001a90| 66 69 6c 65 20 69 66 20 | 61 20 63 6f 6d 6d 61 6e |file if |a comman|
|00001aa0| 64 0a 58 20 2a 20 20 20 | 20 20 20 20 20 20 20 69 |d.X * | i|
|00001ab0| 73 20 6e 6f 74 20 66 6f | 75 6e 64 20 69 6e 20 74 |s not fo|und in t|
|00001ac0| 68 65 20 64 65 66 61 75 | 6c 74 20 68 65 6c 70 66 |he defau|lt helpf|
|00001ad0| 69 6c 65 2e 0a 58 20 2a | 20 20 20 20 20 20 20 20 |ile..X *| |
|00001ae0| 20 20 41 6e 6f 74 68 65 | 72 20 75 73 65 66 75 6c | Anothe|r useful|
|00001af0| 20 66 65 61 74 75 72 65 | 20 77 6f 75 6c 64 20 62 | feature| would b|
|00001b00| 65 20 74 68 65 20 70 6f | 73 73 69 62 69 6c 69 74 |e the po|ssibilit|
|00001b10| 79 20 6f 66 20 75 73 69 | 6e 67 0a 58 20 2a 20 20 |y of usi|ng.X * |
|00001b20| 20 20 20 20 20 20 20 20 | 61 20 70 61 67 65 72 20 | |a pager |
|00001b30| 73 70 65 63 69 66 69 65 | 64 20 62 79 20 24 50 41 |specifie|d by $PA|
|00001b40| 47 45 52 20 74 6f 20 6f | 75 74 70 75 74 20 74 68 |GER to o|utput th|
|00001b50| 65 20 68 65 6c 70 20 69 | 6e 66 6f 2c 20 73 69 6e |e help i|nfo, sin|
|00001b60| 63 65 0a 58 20 2a 20 20 | 20 20 20 20 20 20 20 20 |ce.X * | |
|00001b70| 61 20 66 65 77 20 65 6e | 74 72 69 65 73 20 28 73 |a few en|tries (s|
|00001b80| 74 74 79 2c 20 76 69 2c | 20 2e 2e 2e 29 20 61 72 |tty, vi,| ...) ar|
|00001b90| 65 20 6c 6f 6e 67 65 72 | 20 74 68 61 6e 20 6f 6e |e longer| than on|
|00001ba0| 65 20 73 63 72 65 65 6e | 2e 0a 58 20 2a 20 20 20 |e screen|..X * |
|00001bb0| 20 20 20 20 20 20 20 4e | 6f 20 64 6f 75 62 74 20 | N|o doubt |
|00001bc0| 74 68 65 20 63 6f 64 69 | 6e 67 20 63 6f 75 6c 64 |the codi|ng could|
|00001bd0| 20 62 65 20 63 6f 6e 73 | 69 64 65 72 61 62 6c 79 | be cons|iderably|
|00001be0| 20 69 6d 70 72 6f 76 65 | 64 2c 20 61 6e 64 0a 58 | improve|d, and.X|
|00001bf0| 20 2a 20 20 20 20 20 20 | 20 20 20 20 61 6e 79 20 | * | any |
|00001c00| 73 75 67 67 65 73 74 69 | 6f 6e 73 20 77 6f 75 6c |suggesti|ons woul|
|00001c10| 64 20 62 65 20 6d 6f 72 | 65 20 74 68 61 6e 20 77 |d be mor|e than w|
|00001c20| 65 6c 63 6f 6d 65 2e 0a | 58 20 2a 20 41 75 74 68 |elcome..|X * Auth|
|00001c30| 6f 72 3a 20 20 57 6f 6c | 66 20 50 61 75 6c 2c 20 |or: Wol|f Paul, |
|00001c40| 69 68 6e 70 34 21 6b 69 | 6c 6c 65 72 21 64 63 73 |ihnp4!ki|ller!dcs|
|00001c50| 21 77 6e 70 0a 58 20 2a | 20 44 61 74 65 3a 20 20 |!wnp.X *| Date: |
|00001c60| 20 20 44 65 63 2e 20 31 | 38 2c 20 31 39 38 37 0a | Dec. 1|8, 1987.|
|00001c70| 58 20 2a 0a 58 20 2a 09 | 52 65 76 69 73 69 6f 6e |X *.X *.|Revision|
|00001c80| 20 43 6f 6e 74 72 6f 6c | 20 49 6e 66 6f 72 6d 61 | Control| Informa|
|00001c90| 74 69 6f 6e 0a 58 20 2a | 0a 58 20 2a 09 4c 61 73 |tion.X *|.X *.Las|
|00001ca0| 74 20 65 64 69 74 65 64 | 20 62 79 3a 09 24 41 75 |t edited| by:.$Au|
|00001cb0| 74 68 6f 72 3a 20 70 6c | 6f 63 68 65 72 20 24 0a |thor: pl|ocher $.|
|00001cc0| 58 20 2a 09 09 09 24 52 | 65 76 69 73 69 6f 6e 3a |X *...$R|evision:|
|00001cd0| 20 31 2e 31 20 24 0a 58 | 20 2a 09 4c 61 73 74 20 | 1.1 $.X| *.Last |
|00001ce0| 6d 6f 64 69 66 69 65 64 | 3a 09 24 44 61 74 65 3a |modified|:.$Date:|
|00001cf0| 20 38 37 2f 31 32 2f 32 | 36 20 32 33 3a 33 34 3a | 87/12/2|6 23:34:|
|00001d00| 35 30 20 24 0a 58 20 2a | 09 53 6f 75 72 63 65 20 |50 $.X *|.Source |
|00001d10| 69 73 20 69 6e 3a 09 24 | 53 6f 75 72 63 65 3a 20 |is in:.$|Source: |
|00001d20| 2f 75 2f 6d 69 63 72 6f | 70 6f 72 74 2f 73 72 63 |/u/micro|port/src|
|00001d30| 2f 68 65 6c 70 2f 52 43 | 53 2f 68 65 6c 70 2e 63 |/help/RC|S/help.c|
|00001d40| 2c 76 20 24 0a 58 20 2a | 0a 58 20 2a 09 52 65 6c |,v $.X *|.X *.Rel|
|00001d50| 65 61 73 65 20 73 74 61 | 74 65 3a 09 24 53 74 61 |ease sta|te:.$Sta|
|00001d60| 74 65 3a 20 50 6f 73 74 | 65 64 20 24 0a 58 20 2a |te: Post|ed $.X *|
|00001d70| 0a 58 20 2a 20 4d 6f 64 | 69 66 69 63 61 74 69 6f |.X * Mod|ificatio|
|00001d80| 6e 20 4c 6f 67 0a 58 20 | 2a 20 2d 2d 2d 2d 2d 2d |n Log.X |* ------|
|00001d90| 2d 2d 2d 2d 2d 2d 2d 2d | 2d 2d 0a 58 20 2a 0a 58 |--------|--.X *.X|
|00001da0| 20 2a 09 24 4c 6f 67 3a | 09 68 65 6c 70 2e 63 2c | *.$Log:|.help.c,|
|00001db0| 76 20 24 0a 58 20 2a 09 | 52 65 76 69 73 69 6f 6e |v $.X *.|Revision|
|00001dc0| 20 31 2e 31 20 20 38 37 | 2f 31 32 2f 32 36 20 20 | 1.1 87|/12/26 |
|00001dd0| 32 33 3a 33 34 3a 35 30 | 20 20 70 6c 6f 63 68 65 |23:34:50| ploche|
|00001de0| 72 0a 58 20 2a 09 41 64 | 64 65 64 20 65 6e 76 69 |r.X *.Ad|ded envi|
|00001df0| 72 6f 6d 65 6e 74 20 76 | 61 72 69 61 62 6c 65 73 |roment v|ariables|
|00001e00| 20 66 6f 72 20 48 45 4c | 50 44 49 52 20 61 6e 64 | for HEL|PDIR and|
|00001e10| 20 48 45 4c 50 46 49 4c | 45 0a 58 20 2a 09 0a 58 | HELPFIL|E.X *..X|
|00001e20| 20 2a 2f 0a 58 0a 58 23 | 69 66 6e 64 65 66 20 6c | */.X.X#|ifndef l|
|00001e30| 69 6e 74 0a 58 20 20 20 | 20 73 74 61 74 69 63 20 |int.X | static |
|00001e40| 63 68 61 72 20 72 63 73 | 69 64 5b 5d 20 3d 0a 58 |char rcs|id[] =.X|
|00001e50| 20 20 20 20 20 22 24 48 | 65 61 64 65 72 3a 20 68 | "$H|eader: h|
|00001e60| 65 6c 70 2e 63 2c 76 20 | 31 2e 31 20 38 37 2f 31 |elp.c,v |1.1 87/1|
|00001e70| 32 2f 32 36 20 32 33 3a | 33 34 3a 35 30 20 70 6c |2/26 23:|34:50 pl|
|00001e80| 6f 63 68 65 72 20 50 6f | 73 74 65 64 20 24 22 3b |ocher Po|sted $";|
|00001e90| 0a 58 23 65 6e 64 69 66 | 0a 58 0a 58 23 69 6e 63 |.X#endif|.X.X#inc|
|00001ea0| 6c 75 64 65 20 3c 73 74 | 64 69 6f 2e 68 3e 0a 58 |lude <st|dio.h>.X|
|00001eb0| 23 69 6e 63 6c 75 64 65 | 20 3c 63 74 79 70 65 2e |#include| <ctype.|
|00001ec0| 68 3e 0a 58 23 69 6e 63 | 6c 75 64 65 20 3c 73 79 |h>.X#inc|lude <sy|
|00001ed0| 73 2f 74 79 70 65 73 2e | 68 3e 0a 58 23 69 6e 63 |s/types.|h>.X#inc|
|00001ee0| 6c 75 64 65 20 3c 73 79 | 73 2f 73 74 61 74 2e 68 |lude <sy|s/stat.h|
|00001ef0| 3e 0a 58 0a 58 23 64 65 | 66 69 6e 65 20 4d 41 58 |>.X.X#de|fine MAX|
|00001f00| 4c 49 4e 45 20 09 31 33 | 34 0a 58 23 64 65 66 69 |LINE .13|4.X#defi|
|00001f10| 6e 65 20 48 45 4c 50 44 | 49 52 09 09 22 2f 75 73 |ne HELPD|IR.."/us|
|00001f20| 72 2f 6c 69 62 22 09 09 | 2f 2a 20 41 64 64 65 64 |r/lib"..|/* Added|
|00001f30| 20 62 79 20 4a 6f 68 6e | 20 50 6c 6f 63 68 65 72 | by John| Plocher|
|00001f40| 20 2a 2f 0a 58 23 64 65 | 66 69 6e 65 20 48 45 4c | */.X#de|fine HEL|
|00001f50| 50 46 49 4c 45 09 22 68 | 65 6c 70 66 69 6c 65 22 |PFILE."h|elpfile"|
|00001f60| 09 09 2f 2a 20 2e 2e 20 | 2a 2f 0a 58 23 64 65 66 |../* .. |*/.X#def|
|00001f70| 69 6e 65 20 49 4e 44 45 | 58 09 09 22 2e 69 64 78 |ine INDE|X..".idx|
|00001f80| 22 09 09 09 2f 2a 20 2e | 2e 20 2a 2f 0a 58 0a 58 |".../* .|. */.X.X|
|00001f90| 63 68 61 72 20 68 65 6c | 70 66 69 6c 65 6e 61 6d |char hel|pfilenam|
|00001fa0| 65 5b 31 32 38 5d 3b 09 | 09 2f 2a 20 4a 6f 68 6e |e[128];.|./* John|
|00001fb0| 20 50 6c 6f 63 68 65 72 | 20 2a 2f 0a 58 63 68 61 | Plocher| */.Xcha|
|00001fc0| 72 20 68 65 6c 70 69 64 | 78 6e 61 6d 65 5b 31 32 |r helpid|xname[12|
|00001fd0| 38 5d 3b 09 09 2f 2a 20 | 2e 2e 20 2a 2f 0a 58 0a |8];../* |.. */.X.|
|00001fe0| 58 6d 61 69 6e 28 61 72 | 67 63 2c 20 61 72 67 76 |Xmain(ar|gc, argv|
|00001ff0| 29 0a 58 69 6e 74 20 61 | 72 67 63 3b 0a 58 63 68 |).Xint a|rgc;.Xch|
|00002000| 61 72 20 2a 2a 61 72 67 | 76 3b 0a 58 7b 0a 58 09 |ar **arg|v;.X{.X.|
|00002010| 73 74 72 75 63 74 0a 58 | 09 7b 0a 58 09 09 63 68 |struct.X|.{.X..ch|
|00002020| 61 72 20 6e 61 6d 65 5b | 31 35 5d 3b 0a 58 09 09 |ar name[|15];.X..|
|00002030| 6c 6f 6e 67 20 6f 66 66 | 73 65 74 3b 0a 58 09 7d |long off|set;.X.}|
|00002040| 20 65 6e 74 72 79 3b 09 | 09 09 09 2f 2a 20 68 65 | entry;.|.../* he|
|00002050| 6c 70 69 6e 64 65 78 20 | 65 6e 74 72 69 65 73 20 |lpindex |entries |
|00002060| 66 6f 72 20 65 61 63 68 | 20 63 6f 6d 6d 61 6e 64 |for each| command|
|00002070| 20 2a 2f 0a 58 0a 58 09 | 73 74 72 75 63 74 20 73 | */.X.X.|struct s|
|00002080| 74 61 74 20 73 62 75 66 | 31 2c 20 73 62 75 66 32 |tat sbuf|1, sbuf2|
|00002090| 3b 09 2f 2a 20 73 74 61 | 74 20 62 75 66 66 65 72 |;./* sta|t buffer|
|000020a0| 73 20 66 6f 72 20 68 65 | 6c 70 66 69 6c 65 20 26 |s for he|lpfile &|
|000020b0| 20 68 65 6c 70 69 6e 64 | 65 78 20 2a 2f 0a 58 09 | helpind|ex */.X.|
|000020c0| 63 68 61 72 20 2a 63 6f | 6d 6d 61 6e 64 2c 20 2a |char *co|mmand, *|
|000020d0| 6c 69 6e 65 2c 20 4c 69 | 6e 65 5b 4d 41 58 4c 49 |line, Li|ne[MAXLI|
|000020e0| 4e 45 5d 3b 0a 58 09 72 | 65 67 69 73 74 65 72 20 |NE];.X.r|egister |
|000020f0| 63 68 61 72 09 2a 63 70 | 3b 09 09 2f 2a 20 4a 6f |char.*cp|;../* Jo|
|00002100| 68 6e 20 50 6c 6f 63 68 | 65 72 20 2a 2f 0a 58 09 |hn Ploch|er */.X.|
|00002110| 65 78 74 65 72 6e 20 63 | 68 61 72 09 2a 67 65 74 |extern c|har.*get|
|00002120| 65 6e 76 28 29 3b 09 09 | 2f 2a 20 2e 2e 20 2a 2f |env();..|/* .. */|
|00002130| 0a 58 09 69 6e 74 20 73 | 74 61 74 75 73 3b 0a 58 |.X.int s|tatus;.X|
|00002140| 09 46 49 4c 45 20 2a 69 | 66 70 2c 20 2a 68 66 70 |.FILE *i|fp, *hfp|
|00002150| 3b 09 09 2f 2a 20 66 69 | 6c 65 20 70 6f 69 6e 74 |;../* fi|le point|
|00002160| 65 72 73 20 66 6f 72 20 | 68 65 6c 70 66 69 6c 65 |ers for |helpfile|
|00002170| 20 61 6e 64 20 68 65 6c | 70 69 6e 64 65 78 20 2a | and hel|pindex *|
|00002180| 2f 0a 58 09 0a 58 09 69 | 66 20 28 20 61 72 67 63 |/.X..X.i|f ( argc|
|00002190| 20 3d 3d 20 31 20 29 09 | 09 2f 2a 20 49 66 20 6e | == 1 ).|./* If n|
|000021a0| 6f 20 61 72 67 75 6d 65 | 6e 74 73 2c 20 2e 2e 2e |o argume|nts, ...|
|000021b0| 20 2a 2f 0a 58 09 09 63 | 6f 6d 6d 61 6e 64 20 3d | */.X..c|ommand =|
|000021c0| 20 22 68 65 6c 70 22 3b | 09 2f 2a 20 2e 2e 2e 20 | "help";|./* ... |
|000021d0| 64 65 66 61 75 6c 74 20 | 74 6f 20 22 68 65 6c 70 |default |to "help|
|000021e0| 20 68 65 6c 70 22 20 2a | 2f 0a 58 09 65 6c 73 65 | help" *|/.X.else|
|000021f0| 0a 58 09 09 63 6f 6d 6d | 61 6e 64 20 3d 20 61 72 |.X..comm|and = ar|
|00002200| 67 76 5b 31 5d 3b 09 2f | 2a 20 65 6c 73 65 20 6c |gv[1];./|* else l|
|00002210| 6f 6f 6b 20 66 6f 72 20 | 63 6f 6d 6d 61 6e 64 20 |ook for |command |
|00002220| 69 6e 20 61 72 67 76 5b | 31 5d 20 2a 2f 0a 58 0a |in argv[|1] */.X.|
|00002230| 58 0a 58 09 2f 2a 09 09 | 41 64 64 65 64 20 62 79 |X.X./*..|Added by|
|00002240| 20 4a 6f 68 6e 20 50 6c | 6f 63 68 65 72 20 53 61 | John Pl|ocher Sa|
|00002250| 74 20 44 65 63 20 32 36 | 20 32 32 3a 30 32 3a 30 |t Dec 26| 22:02:0|
|00002260| 39 20 43 53 54 20 31 39 | 38 37 0a 58 09 20 2a 20 |9 CST 19|87.X. * |
|00002270| 4c 6f 6f 6b 20 66 6f 72 | 3a 0a 58 09 20 2a 09 67 |Look for|:.X. *.g|
|00002280| 65 74 65 6e 76 28 22 48 | 45 4c 50 44 49 52 22 29 |etenv("H|ELPDIR")|
|00002290| 20 2b 20 67 65 74 65 6e | 76 28 22 48 45 4c 50 46 | + geten|v("HELPF|
|000022a0| 49 4c 45 22 29 0a 58 09 | 20 2a 09 67 65 74 65 6e |ILE").X.| *.geten|
|000022b0| 76 28 22 48 45 4c 50 44 | 49 52 22 29 20 2b 20 22 |v("HELPD|IR") + "|
|000022c0| 68 65 6c 70 66 69 6c 65 | 22 0a 58 09 20 2a 09 22 |helpfile|".X. *."|
|000022d0| 2f 75 73 72 2f 6c 69 62 | 22 09 09 20 20 2b 20 67 |/usr/lib|".. + g|
|000022e0| 65 74 65 6e 76 28 22 48 | 45 4c 50 46 49 4c 45 22 |etenv("H|ELPFILE"|
|000022f0| 29 0a 58 09 20 2a 09 22 | 2f 75 73 72 2f 6c 69 62 |).X. *."|/usr/lib|
|00002300| 22 09 09 20 20 2b 20 22 | 68 65 6c 70 66 69 6c 65 |".. + "|helpfile|
|00002310| 22 0a 58 09 20 2a 2f 0a | 58 09 69 66 20 28 28 63 |".X. */.|X.if ((c|
|00002320| 70 20 3d 20 67 65 74 65 | 6e 76 28 22 48 45 4c 50 |p = gete|nv("HELP|
|00002330| 44 49 52 22 29 29 20 21 | 3d 20 4e 55 4c 4c 29 09 |DIR")) !|= NULL).|
|00002340| 2f 2a 20 69 66 20 61 20 | 64 69 72 20 69 73 20 67 |/* if a |dir is g|
|00002350| 69 76 65 6e 2c 20 75 73 | 65 20 69 74 20 2a 2f 0a |iven, us|e it */.|
|00002360| 58 09 20 20 20 20 73 74 | 72 63 70 79 28 68 65 6c |X. st|rcpy(hel|
|00002370| 70 69 64 78 6e 61 6d 65 | 2c 20 63 70 29 3b 0a 58 |pidxname|, cp);.X|
|00002380| 09 65 6c 73 65 0a 58 09 | 09 73 74 72 63 70 79 28 |.else.X.|.strcpy(|
|00002390| 68 65 6c 70 69 64 78 6e | 61 6d 65 2c 20 48 45 4c |helpidxn|ame, HEL|
|000023a0| 50 44 49 52 29 3b 0a 58 | 09 73 74 72 63 70 79 28 |PDIR);.X|.strcpy(|
|000023b0| 68 65 6c 70 66 69 6c 65 | 6e 61 6d 65 2c 20 68 65 |helpfile|name, he|
|000023c0| 6c 70 69 64 78 6e 61 6d | 65 29 3b 0a 58 09 73 74 |lpidxnam|e);.X.st|
|000023d0| 72 63 61 74 28 68 65 6c | 70 66 69 6c 65 6e 61 6d |rcat(hel|pfilenam|
|000023e0| 65 2c 20 22 2f 22 29 3b | 0a 58 0a 58 09 69 66 20 |e, "/");|.X.X.if |
|000023f0| 28 28 63 70 20 3d 20 67 | 65 74 65 6e 76 28 22 48 |((cp = g|etenv("H|
|00002400| 45 4c 50 46 49 4c 45 22 | 29 29 20 21 3d 20 4e 55 |ELPFILE"|)) != NU|
|00002410| 4c 4c 29 09 2f 2a 20 69 | 66 20 61 20 66 69 6c 65 |LL)./* i|f a file|
|00002420| 6e 61 6d 65 20 69 73 20 | 67 69 76 65 6e 2c 20 75 |name is |given, u|
|00002430| 73 65 20 69 74 20 2a 2f | 0a 58 09 20 20 20 20 73 |se it */|.X. s|
|00002440| 74 72 63 61 74 28 68 65 | 6c 70 66 69 6c 65 6e 61 |trcat(he|lpfilena|
|00002450| 6d 65 2c 20 63 70 29 3b | 0a 58 09 65 6c 73 65 0a |me, cp);|.X.else.|
|00002460| 58 09 09 73 74 72 63 61 | 74 28 68 65 6c 70 66 69 |X..strca|t(helpfi|
|00002470| 6c 65 6e 61 6d 65 2c 20 | 48 45 4c 50 46 49 4c 45 |lename, |HELPFILE|
|00002480| 29 3b 0a 58 0a 58 09 73 | 74 72 63 70 79 28 68 65 |);.X.X.s|trcpy(he|
|00002490| 6c 70 69 64 78 6e 61 6d | 65 2c 20 68 65 6c 70 66 |lpidxnam|e, helpf|
|000024a0| 69 6c 65 6e 61 6d 65 29 | 3b 09 09 2f 2a 20 6d 61 |ilename)|;../* ma|
|000024b0| 6b 65 20 61 20 6e 61 6d | 65 20 66 6f 72 20 74 68 |ke a nam|e for th|
|000024c0| 65 20 69 6e 64 65 78 20 | 66 69 6c 65 20 2a 2f 0a |e index |file */.|
|000024d0| 58 09 73 74 72 63 61 74 | 28 68 65 6c 70 69 64 78 |X.strcat|(helpidx|
|000024e0| 6e 61 6d 65 2c 20 49 4e | 44 45 58 29 3b 0a 58 0a |name, IN|DEX);.X.|
|000024f0| 58 09 73 74 61 74 28 68 | 65 6c 70 66 69 6c 65 6e |X.stat(h|elpfilen|
|00002500| 61 6d 65 2c 20 26 73 62 | 75 66 31 29 3b 09 2f 2a |ame, &sb|uf1);./*|
|00002510| 20 67 65 74 20 6d 74 69 | 6d 65 20 66 6f 72 20 68 | get mti|me for h|
|00002520| 65 6c 70 66 69 6c 65 20 | 2a 2f 0a 58 09 73 74 61 |elpfile |*/.X.sta|
|00002530| 74 75 73 3d 61 63 63 65 | 73 73 28 68 65 6c 70 69 |tus=acce|ss(helpi|
|00002540| 64 78 6e 61 6d 65 2c 20 | 30 29 3b 0a 58 09 69 66 |dxname, |0);.X.if|
|00002550| 20 28 20 73 74 61 74 75 | 73 20 3d 3d 20 30 20 29 | ( statu|s == 0 )|
|00002560| 09 2f 2a 20 69 66 20 68 | 65 6c 70 69 6e 64 65 78 |./* if h|elpindex|
|00002570| 20 65 78 69 73 74 73 20 | 2e 2e 2e 20 2a 2f 0a 58 | exists |... */.X|
|00002580| 09 7b 0a 58 09 09 73 74 | 61 74 28 68 65 6c 70 69 |.{.X..st|at(helpi|
|00002590| 64 78 6e 61 6d 65 2c 20 | 26 73 62 75 66 32 29 3b |dxname, |&sbuf2);|
|000025a0| 09 2f 2a 20 67 65 74 20 | 6d 74 69 6d 65 20 66 6f |./* get |mtime fo|
|000025b0| 72 20 68 65 6c 70 69 6e | 64 65 78 20 2a 2f 0a 58 |r helpin|dex */.X|
|000025c0| 09 7d 0a 58 09 69 66 20 | 28 20 28 73 74 61 74 75 |.}.X.if |( (statu|
|000025d0| 73 20 21 3d 20 30 29 20 | 7c 7c 20 09 09 09 2f 2a |s != 0) ||| .../*|
|000025e0| 20 69 66 20 74 68 65 72 | 65 20 69 73 20 6e 6f 20 | if ther|e is no |
|000025f0| 68 65 6c 70 69 6e 64 65 | 78 20 2e 2e 2e 20 2a 2f |helpinde|x ... */|
|00002600| 0a 58 09 09 28 28 74 69 | 6d 65 5f 74 29 73 62 75 |.X..((ti|me_t)sbu|
|00002610| 66 31 2e 73 74 5f 6d 74 | 69 6d 65 20 3e 20 28 74 |f1.st_mt|ime > (t|
|00002620| 69 6d 65 5f 74 29 73 62 | 75 66 32 2e 73 74 5f 6d |ime_t)sb|uf2.st_m|
|00002630| 74 69 6d 65 29 20 29 0a | 58 09 09 09 09 09 09 09 |time) ).|X.......|
|00002640| 09 09 2f 2a 20 6f 72 20 | 69 66 20 69 74 20 69 73 |../* or |if it is|
|00002650| 20 6f 6c 64 65 72 20 74 | 68 61 6e 20 68 65 6c 70 | older t|han help|
|00002660| 66 69 6c 65 20 2a 2f 0a | 58 09 7b 0a 58 09 09 62 |file */.|X.{.X..b|
|00002670| 75 69 6c 64 69 6e 64 65 | 78 28 29 3b 09 09 2f 2a |uildinde|x();../*|
|00002680| 20 62 75 69 6c 64 20 61 | 20 6e 65 77 20 68 65 6c | build a| new hel|
|00002690| 70 69 6e 64 65 78 20 2a | 2f 0a 58 09 7d 0a 58 0a |pindex *|/.X.}.X.|
|000026a0| 58 09 69 66 20 28 20 28 | 69 66 70 3d 66 6f 70 65 |X.if ( (|ifp=fope|
|000026b0| 6e 28 68 65 6c 70 69 64 | 78 6e 61 6d 65 2c 20 22 |n(helpid|xname, "|
|000026c0| 72 22 29 29 20 3d 3d 20 | 4e 55 4c 4c 20 29 0a 58 |r")) == |NULL ).X|
|000026d0| 09 7b 0a 58 09 09 66 70 | 72 69 6e 74 66 28 73 74 |.{.X..fp|rintf(st|
|000026e0| 64 65 72 72 2c 20 22 43 | 61 6e 27 74 20 72 65 61 |derr, "C|an't rea|
|000026f0| 64 20 25 73 5c 6e 22 2c | 20 68 65 6c 70 69 64 78 |d %s\n",| helpidx|
|00002700| 6e 61 6d 65 29 3b 0a 58 | 09 09 65 78 69 74 28 2d |name);.X|..exit(-|
|00002710| 31 29 3b 0a 58 09 7d 0a | 58 09 0a 58 09 77 68 69 |1);.X.}.|X..X.whi|
|00002720| 6c 65 20 28 20 31 20 29 | 09 09 2f 2a 20 6c 6f 6f |le ( 1 )|../* loo|
|00002730| 6b 20 66 6f 72 20 69 6e | 64 65 78 20 65 6e 74 72 |k for in|dex entr|
|00002740| 79 20 66 6f 72 20 22 63 | 6f 6d 6d 61 6e 64 22 20 |y for "c|ommand" |
|00002750| 2a 2f 0a 58 09 7b 0a 58 | 09 09 73 74 61 74 75 73 |*/.X.{.X|..status|
|00002760| 3d 66 72 65 61 64 28 26 | 65 6e 74 72 79 2c 20 73 |=fread(&|entry, s|
|00002770| 69 7a 65 6f 66 28 65 6e | 74 72 79 29 2c 20 31 2c |izeof(en|try), 1,|
|00002780| 20 69 66 70 29 3b 0a 58 | 09 09 69 66 20 28 20 73 | ifp);.X|..if ( s|
|00002790| 74 61 74 75 73 3d 3d 30 | 20 29 20 2f 2a 20 71 75 |tatus==0| ) /* qu|
|000027a0| 69 74 20 61 74 20 65 6e | 64 20 6f 66 20 69 6e 64 |it at en|d of ind|
|000027b0| 65 78 20 66 69 6c 65 20 | 2a 2f 0a 58 09 09 7b 0a |ex file |*/.X..{.|
|000027c0| 58 09 09 09 66 70 72 69 | 6e 74 66 28 73 74 64 65 |X...fpri|ntf(stde|
|000027d0| 72 72 2c 20 22 4e 6f 20 | 68 65 6c 70 20 66 6f 72 |rr, "No |help for|
|000027e0| 20 25 73 5c 6e 22 2c 20 | 63 6f 6d 6d 61 6e 64 29 | %s\n", |command)|
|000027f0| 3b 0a 58 09 09 09 66 63 | 6c 6f 73 65 28 69 66 70 |;.X...fc|lose(ifp|
|00002800| 29 3b 0a 58 09 09 09 65 | 78 69 74 28 31 29 3b 09 |);.X...e|xit(1);.|
|00002810| 09 7d 0a 58 09 09 69 66 | 20 28 20 73 74 72 63 6d |.}.X..if| ( strcm|
|00002820| 70 28 65 6e 74 72 79 2e | 6e 61 6d 65 2c 20 63 6f |p(entry.|name, co|
|00002830| 6d 6d 61 6e 64 29 20 3d | 3d 20 30 20 29 20 2f 2a |mmand) =|= 0 ) /*|
|00002840| 20 71 75 69 74 20 77 68 | 65 6e 20 77 65 20 66 69 | quit wh|en we fi|
|00002850| 6e 64 20 69 74 20 2a 2f | 0a 58 09 09 7b 0a 58 09 |nd it */|.X..{.X.|
|00002860| 09 09 66 63 6c 6f 73 65 | 28 69 66 70 29 3b 0a 58 |..fclose|(ifp);.X|
|00002870| 09 09 09 62 72 65 61 6b | 3b 0a 58 09 09 7d 0a 58 |...break|;.X..}.X|
|00002880| 09 7d 0a 58 0a 58 09 69 | 66 20 28 28 68 66 70 3d |.}.X.X.i|f ((hfp=|
|00002890| 66 6f 70 65 6e 28 68 65 | 6c 70 66 69 6c 65 6e 61 |fopen(he|lpfilena|
|000028a0| 6d 65 2c 20 22 72 22 29 | 29 20 3d 3d 20 4e 55 4c |me, "r")|) == NUL|
|000028b0| 4c 20 29 0a 58 09 7b 0a | 58 09 09 66 70 72 69 6e |L ).X.{.|X..fprin|
|000028c0| 74 66 28 73 74 64 65 72 | 72 2c 20 22 43 61 6e 27 |tf(stder|r, "Can'|
|000028d0| 74 20 6f 70 65 6e 20 25 | 73 5c 6e 22 2c 20 68 65 |t open %|s\n", he|
|000028e0| 6c 70 66 69 6c 65 6e 61 | 6d 65 29 3b 0a 58 09 09 |lpfilena|me);.X..|
|000028f0| 65 78 69 74 28 2d 31 29 | 3b 0a 58 09 7d 0a 58 0a |exit(-1)|;.X.}.X.|
|00002900| 58 09 66 73 65 65 6b 28 | 68 66 70 2c 20 65 6e 74 |X.fseek(|hfp, ent|
|00002910| 72 79 2e 6f 66 66 73 65 | 74 2c 20 30 29 3b 09 2f |ry.offse|t, 0);./|
|00002920| 2a 20 67 6f 20 74 6f 20 | 74 68 65 20 68 65 6c 70 |* go to |the help|
|00002930| 20 65 6e 74 72 79 20 2a | 2f 0a 58 0a 58 09 77 68 | entry *|/.X.X.wh|
|00002940| 69 6c 65 20 28 20 31 20 | 29 09 09 09 2f 2a 20 6a |ile ( 1 |).../* j|
|00002950| 75 73 74 20 63 6f 70 79 | 20 6c 69 6e 65 73 20 74 |ust copy| lines t|
|00002960| 6f 20 73 74 64 6f 75 74 | 20 2a 2f 0a 58 09 7b 0a |o stdout| */.X.{.|
|00002970| 58 09 09 6c 69 6e 65 20 | 3d 20 66 67 65 74 73 28 |X..line |= fgets(|
|00002980| 4c 69 6e 65 2c 20 4d 41 | 58 4c 49 4e 45 2c 20 68 |Line, MA|XLINE, h|
|00002990| 66 70 29 3b 0a 58 09 09 | 69 66 20 28 20 6c 69 6e |fp);.X..|if ( lin|
|000029a0| 65 20 3d 3d 20 28 63 68 | 61 72 20 2a 29 20 4e 55 |e == (ch|ar *) NU|
|000029b0| 4c 4c 20 7c 7c 20 6c 69 | 6e 65 5b 30 5d 20 3d 3d |LL || li|ne[0] ==|
|000029c0| 20 27 23 27 20 29 0a 58 | 09 09 09 09 09 09 2f 2a | '#' ).X|....../*|
|000029d0| 20 75 6e 74 69 6c 20 61 | 6e 6f 74 68 65 72 20 65 | until a|nother e|
|000029e0| 6e 74 72 79 20 73 74 61 | 72 74 73 20 2a 2f 0a 58 |ntry sta|rts */.X|
|000029f0| 09 09 09 62 72 65 61 6b | 3b 0a 58 09 09 66 70 75 |...break|;.X..fpu|
|00002a00| 74 73 28 6c 69 6e 65 2c | 73 74 64 6f 75 74 29 3b |ts(line,|stdout);|
|00002a10| 0a 58 09 7d 0a 58 0a 58 | 09 66 63 6c 6f 73 65 28 |.X.}.X.X|.fclose(|
|00002a20| 68 66 70 29 3b 0a 58 7d | 0a 58 0a 58 62 75 69 6c |hfp);.X}|.X.Xbuil|
|00002a30| 64 69 6e 64 65 78 28 29 | 0a 58 7b 0a 58 09 46 49 |dindex()|.X{.X.FI|
|00002a40| 4c 45 20 2a 68 66 70 2c | 20 2a 69 66 70 3b 0a 58 |LE *hfp,| *ifp;.X|
|00002a50| 09 73 74 72 75 63 74 20 | 7b 0a 58 09 09 63 68 61 |.struct |{.X..cha|
|00002a60| 72 20 6e 61 6d 65 5b 31 | 35 5d 3b 0a 58 09 09 6c |r name[1|5];.X..l|
|00002a70| 6f 6e 67 20 6f 66 66 73 | 65 74 3b 0a 58 09 7d 20 |ong offs|et;.X.} |
|00002a80| 65 6e 74 72 79 3b 0a 58 | 09 63 68 61 72 20 4c 69 |entry;.X|.char Li|
|00002a90| 6e 65 5b 4d 41 58 4c 49 | 4e 45 5d 3b 0a 58 09 63 |ne[MAXLI|NE];.X.c|
|00002aa0| 68 61 72 20 2a 6c 69 6e | 65 3b 0a 58 09 69 6e 74 |har *lin|e;.X.int|
|00002ab0| 20 69 2c 6a 3b 0a 58 0a | 58 0a 58 09 75 6e 6c 69 | i,j;.X.|X.X.unli|
|00002ac0| 6e 6b 28 68 65 6c 70 69 | 64 78 6e 61 6d 65 29 3b |nk(helpi|dxname);|
|00002ad0| 20 2f 2a 20 72 65 6d 6f | 76 65 20 6f 6c 64 20 69 | /* remo|ve old i|
|00002ae0| 6e 64 65 78 20 66 69 6c | 65 20 2a 2f 0a 58 09 69 |ndex fil|e */.X.i|
|00002af0| 66 20 28 20 28 68 66 70 | 3d 66 6f 70 65 6e 28 68 |f ( (hfp|=fopen(h|
|00002b00| 65 6c 70 66 69 6c 65 6e | 61 6d 65 2c 20 22 72 22 |elpfilen|ame, "r"|
|00002b10| 29 29 20 3d 3d 20 4e 55 | 4c 4c 20 29 0a 58 09 7b |)) == NU|LL ).X.{|
|00002b20| 0a 58 09 09 66 70 72 69 | 6e 74 66 28 73 74 64 65 |.X..fpri|ntf(stde|
|00002b30| 72 72 2c 22 62 75 69 6c | 64 69 6e 64 65 78 3a 20 |rr,"buil|dindex: |
|00002b40| 43 61 6e 27 74 20 72 65 | 61 64 20 25 73 5c 6e 22 |Can't re|ad %s\n"|
|00002b50| 2c 20 68 65 6c 70 66 69 | 6c 65 6e 61 6d 65 29 3b |, helpfi|lename);|
|00002b60| 0a 58 09 09 65 78 69 74 | 28 2d 31 29 3b 0a 58 09 |.X..exit|(-1);.X.|
|00002b70| 7d 0a 58 09 69 66 20 28 | 20 28 69 66 70 3d 66 6f |}.X.if (| (ifp=fo|
|00002b80| 70 65 6e 28 68 65 6c 70 | 69 64 78 6e 61 6d 65 2c |pen(help|idxname,|
|00002b90| 20 22 77 22 29 29 20 3d | 3d 20 4e 55 4c 4c 20 29 | "w")) =|= NULL )|
|00002ba0| 0a 58 09 7b 0a 58 09 09 | 66 70 72 69 6e 74 66 28 |.X.{.X..|fprintf(|
|00002bb0| 73 74 64 65 72 72 2c 20 | 22 62 75 69 6c 64 69 6e |stderr, |"buildin|
|00002bc0| 64 65 78 3a 20 43 61 6e | 27 74 20 77 72 69 74 65 |dex: Can|'t write|
|00002bd0| 20 25 73 5c 6e 22 2c 20 | 68 65 6c 70 69 64 78 6e | %s\n", |helpidxn|
|00002be0| 61 6d 65 29 3b 0a 58 09 | 09 65 78 69 74 28 2d 31 |ame);.X.|.exit(-1|
|00002bf0| 29 3b 0a 58 09 7d 0a 58 | 0a 58 09 77 68 69 6c 65 |);.X.}.X|.X.while|
|00002c00| 20 28 31 29 09 2f 2a 20 | 52 65 61 64 20 74 68 72 | (1)./* |Read thr|
|00002c10| 75 20 68 65 6c 70 66 69 | 6c 65 20 2e 2e 2e 20 2a |u helpfi|le ... *|
|00002c20| 2f 0a 58 09 7b 0a 58 09 | 09 65 6e 74 72 79 2e 6f |/.X.{.X.|.entry.o|
|00002c30| 66 66 73 65 74 3d 28 6c | 6f 6e 67 29 20 30 3b 0a |ffset=(l|ong) 0;.|
|00002c40| 58 09 09 6c 69 6e 65 20 | 3d 20 66 67 65 74 73 28 |X..line |= fgets(|
|00002c50| 4c 69 6e 65 2c 20 4d 41 | 58 4c 49 4e 45 2c 20 68 |Line, MA|XLINE, h|
|00002c60| 66 70 29 3b 0a 58 09 09 | 69 66 20 28 20 6c 69 6e |fp);.X..|if ( lin|
|00002c70| 65 20 3d 3d 20 28 63 68 | 61 72 20 2a 29 20 4e 55 |e == (ch|ar *) NU|
|00002c80| 4c 4c 20 29 20 62 72 65 | 61 6b 3b 0a 58 09 09 69 |LL ) bre|ak;.X..i|
|00002c90| 66 20 28 20 6c 69 6e 65 | 5b 30 5d 20 3d 3d 20 27 |f ( line|[0] == '|
|00002ca0| 23 27 20 29 09 2f 2a 20 | 61 6e 64 20 66 6f 72 20 |#' )./* |and for |
|00002cb0| 65 61 63 68 20 68 65 6c | 70 20 65 6e 74 72 79 20 |each hel|p entry |
|00002cc0| 2e 2e 2e 20 2a 2f 0a 58 | 09 09 7b 0a 58 09 09 09 |... */.X|..{.X...|
|00002cd0| 6c 69 6e 65 2b 2b 3b 0a | 58 09 09 09 77 68 69 6c |line++;.|X...whil|
|00002ce0| 65 20 28 20 69 73 73 70 | 61 63 65 28 6c 69 6e 65 |e ( issp|ace(line|
|00002cf0| 5b 30 5d 29 20 29 20 6c | 69 6e 65 2b 2b 3b 0a 58 |[0]) ) l|ine++;.X|
|00002d00| 09 09 09 69 3d 6a 3d 30 | 3b 0a 58 09 09 09 77 68 |...i=j=0|;.X...wh|
|00002d10| 69 6c 65 20 28 20 6c 69 | 6e 65 5b 69 5d 20 21 3d |ile ( li|ne[i] !=|
|00002d20| 20 27 5c 30 27 20 29 0a | 58 09 09 09 7b 0a 58 09 | '\0' ).|X...{.X.|
|00002d30| 09 09 09 69 66 20 28 20 | 6c 69 6e 65 5b 69 5d 20 |...if ( |line[i] |
|00002d40| 3d 3d 20 27 5c 6e 27 20 | 29 20 62 72 65 61 6b 3b |== '\n' |) break;|
|00002d50| 0a 58 09 09 09 09 77 68 | 69 6c 65 20 28 20 6c 69 |.X....wh|ile ( li|
|00002d60| 6e 65 5b 69 5d 20 3d 3d | 20 27 20 27 20 7c 7c 20 |ne[i] ==| ' ' || |
|00002d70| 6c 69 6e 65 5b 69 5d 20 | 3d 3d 20 27 2c 27 20 29 |line[i] |== ',' )|
|00002d80| 20 69 2b 2b 3b 0a 58 09 | 09 09 09 77 68 69 6c 65 | i++;.X.|...while|
|00002d90| 20 28 20 21 69 73 73 70 | 61 63 65 28 6c 69 6e 65 | ( !issp|ace(line|
|00002da0| 5b 69 5d 20 29 20 26 26 | 0a 58 09 09 09 09 09 09 |[i] ) &&|.X......|
|00002db0| 6c 69 6e 65 5b 69 5d 20 | 21 3d 20 27 2c 27 29 20 |line[i] |!= ',') |
|00002dc0| 2f 2a 20 73 61 76 65 20 | 69 74 73 20 6e 61 6d 65 |/* save |its name|
|00002dd0| 20 2e 2e 2e 20 2a 2f 0a | 58 09 09 09 09 7b 0a 58 | ... */.|X....{.X|
|00002de0| 09 09 09 09 09 65 6e 74 | 72 79 2e 6e 61 6d 65 5b |.....ent|ry.name[|
|00002df0| 6a 5d 20 3d 20 6c 69 6e | 65 5b 69 5d 3b 0a 58 09 |j] = lin|e[i];.X.|
|00002e00| 09 09 09 09 69 2b 2b 3b | 20 6a 2b 2b 3b 0a 58 09 |....i++;| j++;.X.|
|00002e10| 09 09 09 7d 0a 58 09 09 | 09 09 77 68 69 6c 65 20 |...}.X..|..while |
|00002e20| 28 20 6a 20 3c 20 31 35 | 20 29 0a 58 09 09 09 09 |( j < 15| ).X....|
|00002e30| 09 65 6e 74 72 79 2e 6e | 61 6d 65 5b 6a 2b 2b 5d |.entry.n|ame[j++]|
|00002e40| 20 3d 20 27 5c 30 27 3b | 0a 58 09 09 09 09 6a 20 | = '\0';|.X....j |
|00002e50| 3d 20 30 3b 0a 58 09 09 | 09 09 65 6e 74 72 79 2e |= 0;.X..|..entry.|
|00002e60| 6f 66 66 73 65 74 3d 66 | 74 65 6c 6c 28 68 66 70 |offset=f|tell(hfp|
|00002e70| 29 3b 09 2f 2a 20 61 6e | 64 20 69 74 73 20 6f 66 |);./* an|d its of|
|00002e80| 66 73 65 74 20 2e 2e 2e | 20 2a 2f 0a 58 09 09 09 |fset ...| */.X...|
|00002e90| 09 66 77 72 69 74 65 28 | 26 65 6e 74 72 79 2c 20 |.fwrite(|&entry, |
|00002ea0| 73 69 7a 65 6f 66 28 65 | 6e 74 72 79 29 2c 20 31 |sizeof(e|ntry), 1|
|00002eb0| 2c 20 69 66 70 29 3b 0a | 58 09 09 09 09 09 09 09 |, ifp);.|X.......|
|00002ec0| 09 09 09 2f 2a 20 61 6e | 64 20 77 72 69 74 65 20 |.../* an|d write |
|00002ed0| 69 74 20 74 6f 20 69 6e | 64 65 78 66 69 6c 65 20 |it to in|dexfile |
|00002ee0| 2a 2f 0a 58 09 09 09 7d | 0a 58 09 09 7d 0a 58 09 |*/.X...}|.X..}.X.|
|00002ef0| 7d 0a 58 09 66 63 6c 6f | 73 65 28 68 66 70 29 3b |}.X.fclo|se(hfp);|
|00002f00| 0a 58 09 66 63 6c 6f 73 | 65 28 69 66 70 29 3b 0a |.X.fclos|e(ifp);.|
|00002f10| 58 7d 0a 45 4e 44 5f 4f | 46 5f 68 65 6c 70 2e 63 |X}.END_O|F_help.c|
|00002f20| 0a 69 66 20 74 65 73 74 | 20 36 32 35 30 20 2d 6e |.if test| 6250 -n|
|00002f30| 65 20 60 77 63 20 2d 63 | 20 3c 68 65 6c 70 2e 63 |e `wc -c| <help.c|
|00002f40| 60 3b 20 74 68 65 6e 0a | 20 20 20 20 65 63 68 6f |`; then.| echo|
|00002f50| 20 73 68 61 72 3a 20 5c | 22 68 65 6c 70 2e 63 5c | shar: \|"help.c\|
|00002f60| 22 20 75 6e 70 61 63 6b | 65 64 20 77 69 74 68 20 |" unpack|ed with |
|00002f70| 77 72 6f 6e 67 20 73 69 | 7a 65 21 0a 66 69 0a 23 |wrong si|ze!.fi.#|
|00002f80| 20 65 6e 64 20 6f 66 20 | 6f 76 65 72 77 72 69 74 | end of |overwrit|
|00002f90| 69 6e 67 20 63 68 65 63 | 6b 0a 66 69 0a 69 66 20 |ing chec|k.fi.if |
|00002fa0| 74 65 73 74 20 2d 66 20 | 68 65 6c 70 2e 6d 61 6e |test -f |help.man|
|00002fb0| 20 2d 61 20 22 24 7b 31 | 7d 22 20 21 3d 20 22 2d | -a "${1|}" != "-|
|00002fc0| 63 22 20 3b 20 74 68 65 | 6e 20 0a 20 20 65 63 68 |c" ; the|n . ech|
|00002fd0| 6f 20 73 68 61 72 3a 20 | 57 69 6c 6c 20 6e 6f 74 |o shar: |Will not|
|00002fe0| 20 6f 76 65 72 2d 77 72 | 69 74 65 20 65 78 69 73 | over-wr|ite exis|
|00002ff0| 74 69 6e 67 20 66 69 6c | 65 20 5c 22 68 65 6c 70 |ting fil|e \"help|
|00003000| 2e 6d 61 6e 5c 22 0a 65 | 6c 73 65 0a 65 63 68 6f |.man\".e|lse.echo|
|00003010| 20 73 68 61 72 3a 20 45 | 78 74 72 61 63 74 69 6e | shar: E|xtractin|
|00003020| 67 20 5c 22 68 65 6c 70 | 2e 6d 61 6e 5c 22 20 5c |g \"help|.man\" \|
|00003030| 28 31 32 38 39 20 63 68 | 61 72 61 63 74 65 72 73 |(1289 ch|aracters|
|00003040| 5c 29 0a 73 65 64 20 22 | 73 2f 5e 58 2f 2f 22 20 |\).sed "|s/^X//" |
|00003050| 3e 68 65 6c 70 2e 6d 61 | 6e 20 3c 3c 27 45 4e 44 |>help.ma|n <<'END|
|00003060| 5f 4f 46 5f 68 65 6c 70 | 2e 6d 61 6e 27 0a 58 2e |_OF_help|.man'.X.|
|00003070| 54 48 20 4c 41 20 4c 4f | 43 41 4c 20 22 53 79 73 |TH LA LO|CAL "Sys|
|00003080| 74 65 6d 20 56 22 0a 58 | 2e 53 48 20 4e 41 4d 45 |tem V".X|.SH NAME|
|00003090| 0a 58 68 65 6c 70 20 5c | 2d 20 50 72 6f 76 69 64 |.Xhelp \|- Provid|
|000030a0| 65 20 62 72 69 65 66 20 | 63 6f 6d 6d 61 6e 64 20 |e brief |command |
|000030b0| 65 78 70 6c 61 6e 61 74 | 69 6f 6e 73 0a 58 2e 5c |explanat|ions.X.\|
|000030c0| 22 20 24 48 65 61 64 65 | 72 3a 20 68 65 6c 70 2e |" $Heade|r: help.|
|000030d0| 6d 61 6e 2c 76 20 31 2e | 31 20 38 37 2f 31 32 2f |man,v 1.|1 87/12/|
|000030e0| 32 36 20 32 33 3a 33 35 | 3a 33 34 20 70 6c 6f 63 |26 23:35|:34 ploc|
|000030f0| 68 65 72 20 50 6f 73 74 | 65 64 20 24 0a 58 2e 53 |her Post|ed $.X.S|
|00003100| 48 20 53 59 4e 4f 50 53 | 49 53 0a 58 2e 42 20 68 |H SYNOPS|IS.X.B h|
|00003110| 65 6c 70 0a 58 5b 0a 58 | 2e 42 20 63 6f 6d 6d 61 |elp.X[.X|.B comma|
|00003120| 6e 64 0a 58 5d 0a 58 2e | 53 48 20 44 45 53 43 52 |nd.X].X.|SH DESCR|
|00003130| 49 50 54 49 4f 4e 0a 58 | 2e 49 20 48 65 6c 70 0a |IPTION.X|.I Help.|
|00003140| 58 70 72 69 6e 74 73 20 | 6f 75 74 20 61 20 71 75 |Xprints |out a qu|
|00003150| 69 63 6b 20 65 78 70 6c | 61 6e 61 74 69 6f 6e 20 |ick expl|anation |
|00003160| 6f 66 20 61 20 63 6f 6d | 6d 61 6e 64 2e 0a 58 2e |of a com|mand..X.|
|00003170| 53 48 20 49 4e 53 54 41 | 4c 4c 41 54 49 4f 4e 0a |SH INSTA|LLATION.|
|00003180| 58 54 68 65 0a 58 2e 42 | 20 4d 61 6b 65 66 69 6c |XThe.X.B| Makefil|
|00003190| 65 0a 58 70 72 6f 76 69 | 64 65 73 20 65 6e 74 72 |e.Xprovi|des entr|
|000031a0| 69 65 73 20 66 6f 72 20 | 61 75 74 6f 6d 61 74 69 |ies for |automati|
|000031b0| 63 61 6c 6c 79 20 69 6e | 73 74 61 6c 6c 69 6e 67 |cally in|stalling|
|000031c0| 20 28 61 6e 64 20 75 6e | 2d 69 6e 73 74 61 6c 6c | (and un|-install|
|000031d0| 69 6e 67 29 20 74 68 69 | 73 0a 58 70 61 63 6b 61 |ing) thi|s.Xpacka|
|000031e0| 67 65 2e 20 0a 58 59 6f | 75 20 6e 65 65 64 20 74 |ge. .XYo|u need t|
|000031f0| 6f 20 62 65 20 72 6f 6f | 74 20 74 6f 20 69 6e 73 |o be roo|t to ins|
|00003200| 74 61 6c 6c 20 0a 58 2e | 49 20 22 68 65 6c 70 2e |tall .X.|I "help.|
|00003210| 40 40 22 0a 58 2e 49 20 | 4d 61 6b 65 20 69 6e 73 |@@".X.I |Make ins|
|00003220| 74 61 6c 6c 0a 58 77 69 | 6c 6c 20 63 6f 6d 70 6c |tall.Xwi|ll compl|
|00003230| 65 74 65 6c 79 20 69 6e | 73 74 61 6c 6c 20 74 68 |etely in|stall th|
|00003240| 65 20 6e 65 65 64 65 64 | 20 66 69 6c 65 73 20 69 |e needed| files i|
|00003250| 6e 20 74 68 65 20 61 70 | 70 72 6f 70 72 69 61 74 |n the ap|propriat|
|00003260| 65 20 64 69 72 65 63 74 | 6f 72 69 65 73 0a 58 77 |e direct|ories.Xw|
|00003270| 69 74 68 20 74 68 65 20 | 6e 65 65 64 65 64 20 70 |ith the |needed p|
|00003280| 65 72 6d 69 73 73 69 6f | 6e 73 20 61 6e 64 20 6f |ermissio|ns and o|
|00003290| 77 6e 65 72 73 68 69 70 | 2e 0a 58 2e 49 20 4d 61 |wnership|..X.I Ma|
|000032a0| 6b 65 20 75 6e 69 6e 73 | 74 61 6c 6c 0a 58 77 69 |ke unins|tall.Xwi|
|000032b0| 6c 6c 20 72 65 6d 6f 76 | 65 20 74 68 65 20 65 66 |ll remov|e the ef|
|000032c0| 66 65 63 74 73 20 6f 66 | 20 0a 58 2e 49 20 6d 61 |fects of| .X.I ma|
|000032d0| 6b 65 20 69 6e 73 74 61 | 6c 6c 2e 0a 58 2e 53 48 |ke insta|ll..X.SH|
|000032e0| 20 42 55 47 53 0a 58 2e | 50 50 0a 58 49 66 20 79 | BUGS.X.|PP.XIf y|
|000032f0| 6f 75 20 68 61 76 65 20 | 74 68 65 20 4d 4b 53 20 |ou have |the MKS |
|00003300| 54 6f 6f 6c 6b 69 74 2c | 20 79 6f 75 20 63 6f 75 |Toolkit,| you cou|
|00003310| 6c 64 20 75 73 65 20 74 | 68 65 69 72 20 68 65 6c |ld use t|heir hel|
|00003320| 70 66 69 6c 65 20 61 73 | 20 61 20 73 74 61 72 74 |pfile as| a start|
|00003330| 69 6e 67 0a 58 70 6f 69 | 6e 74 20 66 6f 72 20 61 |ing.Xpoi|nt for a|
|00003340| 20 55 4e 49 58 20 53 79 | 73 56 20 68 65 6c 70 66 | UNIX Sy|sV helpf|
|00003350| 69 6c 65 2e 0a 58 2e 50 | 50 0a 58 49 66 20 79 6f |ile..X.P|P.XIf yo|
|00003360| 75 20 64 6f 6e 27 74 20 | 68 61 76 65 20 74 68 65 |u don't |have the|
|00003370| 20 54 6f 6f 6c 6b 69 74 | 2c 20 79 6f 75 20 63 61 | Toolkit|, you ca|
|00003380| 6e 20 63 6f 6e 73 74 72 | 75 63 74 20 61 20 68 65 |n constr|uct a he|
|00003390| 6c 70 66 69 6c 65 20 62 | 79 0a 58 67 6c 65 61 6e |lpfile b|y.Xglean|
|000033a0| 69 6e 67 20 73 68 6f 72 | 74 20 63 6f 6d 6d 61 6e |ing shor|t comman|
|000033b0| 64 20 64 65 73 63 72 69 | 70 74 69 6f 6e 73 20 66 |d descri|ptions f|
|000033c0| 72 6f 6d 20 79 6f 75 72 | 20 6d 61 6e 75 61 6c 2c |rom your| manual,|
|000033d0| 20 61 6e 64 20 61 64 64 | 69 6e 67 0a 58 74 68 65 | and add|ing.Xthe|
|000033e0| 6d 20 74 6f 20 74 68 65 | 20 68 65 6c 70 66 69 6c |m to the| helpfil|
|000033f0| 65 2c 20 61 63 63 6f 72 | 64 69 6e 67 20 74 68 65 |e, accor|ding the|
|00003400| 20 74 68 65 20 70 61 74 | 74 65 72 6e 20 6f 66 20 | the pat|tern of |
|00003410| 74 68 65 20 70 61 72 74 | 69 61 6c 0a 58 68 65 6c |the part|ial.Xhel|
|00003420| 70 66 69 6c 65 20 70 72 | 6f 76 69 64 65 64 2e 0a |pfile pr|ovided..|
|00003430| 58 2e 53 48 20 46 49 4c | 45 53 0a 58 2e 6e 66 0a |X.SH FIL|ES.X.nf.|
|00003440| 58 20 20 20 20 2f 75 73 | 72 2f 6c 69 62 2f 68 65 |X /us|r/lib/he|
|00003450| 6c 70 66 69 6c 65 09 64 | 65 66 61 75 6c 74 20 64 |lpfile.d|efault d|
|00003460| 61 74 61 66 69 6c 65 20 | 63 6f 6e 74 61 69 6e 69 |atafile |containi|
|00003470| 6e 67 20 68 65 6c 70 20 | 69 6e 66 6f 0a 58 0a 58 |ng help |info.X.X|
|00003480| 20 20 20 20 24 48 45 4c | 50 44 49 52 09 09 45 6e | $HEL|PDIR..En|
|00003490| 76 69 72 6f 6e 6d 65 6e | 74 20 76 61 72 69 61 62 |vironmen|t variab|
|000034a0| 6c 65 20 2d 20 64 69 72 | 65 63 74 6f 72 79 20 66 |le - dir|ectory f|
|000034b0| 6f 72 20 68 65 6c 70 66 | 69 6c 65 0a 58 20 20 20 |or helpf|ile.X |
|000034c0| 20 24 48 45 4c 50 46 49 | 4c 45 09 09 45 6e 76 69 | $HELPFI|LE..Envi|
|000034d0| 72 6f 6e 6d 65 6e 74 20 | 76 61 72 69 61 62 6c 65 |ronment |variable|
|000034e0| 20 2d 20 61 6c 74 65 72 | 6e 61 74 65 20 6e 61 6d | - alter|nate nam|
|000034f0| 65 20 66 6f 72 20 68 65 | 6c 70 66 69 6c 65 0a 58 |e for he|lpfile.X|
|00003500| 2e 66 69 0a 58 2e 53 48 | 20 41 55 54 48 4f 52 53 |.fi.X.SH| AUTHORS|
|00003510| 0a 58 2e 6e 66 0a 58 20 | 20 20 20 4f 72 69 67 69 |.X.nf.X | Origi|
|00003520| 6e 61 6c 20 41 75 74 68 | 6f 72 3a 0a 58 09 75 77 |nal Auth|or:.X.uw|
|00003530| 6d 61 63 63 21 68 61 72 | 76 61 72 64 21 6b 69 6c |macc!har|vard!kil|
|00003540| 6c 65 72 21 77 6e 70 20 | 28 57 6f 6c 66 20 50 61 |ler!wnp |(Wolf Pa|
|00003550| 75 6c 29 0a 58 20 20 20 | 20 0a 58 20 20 20 20 45 |ul).X | .X E|
|00003560| 6e 76 69 72 6f 6e 6d 65 | 6e 74 20 76 61 72 69 61 |nvironme|nt varia|
|00003570| 62 6c 65 20 68 61 6e 64 | 6c 69 6e 67 20 62 79 3a |ble hand|ling by:|
|00003580| 0a 58 09 70 6c 6f 63 68 | 65 72 40 75 77 73 70 61 |.X.ploch|er@uwspa|
|00003590| 6e 2e 75 75 63 70 20 28 | 4a 6f 68 6e 20 50 6c 6f |n.uucp (|John Plo|
|000035a0| 63 68 65 72 29 0a 58 0a | 45 4e 44 5f 4f 46 5f 68 |cher).X.|END_OF_h|
|000035b0| 65 6c 70 2e 6d 61 6e 0a | 69 66 20 74 65 73 74 20 |elp.man.|if test |
|000035c0| 31 32 38 39 20 2d 6e 65 | 20 60 77 63 20 2d 63 20 |1289 -ne| `wc -c |
|000035d0| 3c 68 65 6c 70 2e 6d 61 | 6e 60 3b 20 74 68 65 6e |<help.ma|n`; then|
|000035e0| 0a 20 20 20 20 65 63 68 | 6f 20 73 68 61 72 3a 20 |. ech|o shar: |
|000035f0| 5c 22 68 65 6c 70 2e 6d | 61 6e 5c 22 20 75 6e 70 |\"help.m|an\" unp|
|00003600| 61 63 6b 65 64 20 77 69 | 74 68 20 77 72 6f 6e 67 |acked wi|th wrong|
|00003610| 20 73 69 7a 65 21 0a 66 | 69 0a 23 20 65 6e 64 20 | size!.f|i.# end |
|00003620| 6f 66 20 6f 76 65 72 77 | 72 69 74 69 6e 67 20 63 |of overw|riting c|
|00003630| 68 65 63 6b 0a 66 69 0a | 69 66 20 74 65 73 74 20 |heck.fi.|if test |
|00003640| 2d 66 20 68 65 6c 70 66 | 69 6c 65 20 2d 61 20 22 |-f helpf|ile -a "|
|00003650| 24 7b 31 7d 22 20 21 3d | 20 22 2d 63 22 20 3b 20 |${1}" !=| "-c" ; |
|00003660| 74 68 65 6e 20 0a 20 20 | 65 63 68 6f 20 73 68 61 |then . |echo sha|
|00003670| 72 3a 20 57 69 6c 6c 20 | 6e 6f 74 20 6f 76 65 72 |r: Will |not over|
|00003680| 2d 77 72 69 74 65 20 65 | 78 69 73 74 69 6e 67 20 |-write e|xisting |
|00003690| 66 69 6c 65 20 5c 22 68 | 65 6c 70 66 69 6c 65 5c |file \"h|elpfile\|
|000036a0| 22 0a 65 6c 73 65 0a 65 | 63 68 6f 20 73 68 61 72 |".else.e|cho shar|
|000036b0| 3a 20 45 78 74 72 61 63 | 74 69 6e 67 20 5c 22 68 |: Extrac|ting \"h|
|000036c0| 65 6c 70 66 69 6c 65 5c | 22 20 5c 28 31 39 30 31 |elpfile\|" \(1901|
|000036d0| 38 20 63 68 61 72 61 63 | 74 65 72 73 5c 29 0a 73 |8 charac|ters\).s|
|000036e0| 65 64 20 22 73 2f 5e 58 | 2f 2f 22 20 3e 68 65 6c |ed "s/^X|//" >hel|
|000036f0| 70 66 69 6c 65 20 3c 3c | 27 45 4e 44 5f 4f 46 5f |pfile <<|'END_OF_|
|00003700| 68 65 6c 70 66 69 6c 65 | 27 0a 58 23 20 76 65 72 |helpfile|'.X# ver|
|00003710| 73 69 6f 6e 0a 58 24 48 | 65 61 64 65 72 3a 20 68 |sion.X$H|eader: h|
|00003720| 65 6c 70 66 69 6c 65 2c | 76 20 31 2e 31 20 38 37 |elpfile,|v 1.1 87|
|00003730| 2f 31 32 2f 32 36 20 32 | 33 3a 33 35 3a 34 33 20 |/12/26 2|3:35:43 |
|00003740| 70 6c 6f 63 68 65 72 20 | 50 6f 73 74 65 64 20 24 |plocher |Posted $|
|00003750| 0a 58 23 20 61 74 6f 62 | 2c 20 62 74 6f 61 0a 58 |.X# atob|, btoa.X|
|00003760| 62 74 6f 61 2c 20 61 74 | 6f 62 20 2d 2d 20 65 6e |btoa, at|ob -- en|
|00003770| 63 6f 64 65 2f 64 65 63 | 6f 64 65 20 62 69 6e 61 |code/dec|ode bina|
|00003780| 72 79 20 74 6f 20 70 72 | 69 6e 74 61 62 6c 65 20 |ry to pr|intable |
|00003790| 41 53 43 49 49 0a 58 55 | 73 61 67 65 3a 20 20 62 |ASCII.XU|sage: b|
|000037a0| 74 6f 61 20 3c 20 69 6e | 66 69 6c 65 20 3e 20 6f |toa < in|file > o|
|000037b0| 75 74 66 69 6c 65 0a 58 | 20 20 20 20 20 20 20 20 |utfile.X| |
|000037c0| 63 6d 64 20 7c 20 62 74 | 6f 61 20 3e 20 6f 75 74 |cmd | bt|oa > out|
|000037d0| 66 69 6c 65 0a 58 09 61 | 74 6f 62 20 69 6e 66 69 |file.X.a|tob infi|
|000037e0| 6c 65 0a 58 42 74 6f 61 | 20 69 73 20 61 20 66 69 |le.XBtoa| is a fi|
|000037f0| 6c 74 65 72 20 74 68 61 | 74 20 72 65 61 64 73 20 |lter tha|t reads |
|00003800| 61 6e 79 74 68 69 6e 67 | 20 66 72 6f 6d 20 74 68 |anything| from th|
|00003810| 65 20 73 74 61 6e 64 61 | 72 64 20 69 6e 70 75 74 |e standa|rd input|
|00003820| 2c 20 61 6e 64 20 65 6e | 63 6f 64 65 73 20 69 74 |, and en|codes it|
|00003830| 0a 58 69 6e 74 6f 20 70 | 72 69 6e 74 61 62 6c 65 |.Xinto p|rintable|
|00003840| 20 41 53 43 49 49 20 6f | 6e 20 74 68 65 20 73 74 | ASCII o|n the st|
|00003850| 61 6e 64 61 72 64 20 6f | 75 74 70 75 74 2e 20 20 |andard o|utput. |
|00003860| 49 74 20 61 6c 73 6f 20 | 61 74 74 61 63 68 65 73 |It also |attaches|
|00003870| 20 61 20 68 65 61 64 65 | 72 20 61 6e 64 0a 58 63 | a heade|r and.Xc|
|00003880| 68 65 63 6b 73 75 6d 20 | 69 6e 66 6f 72 6d 61 74 |hecksum |informat|
|00003890| 69 6f 6e 20 75 73 65 64 | 20 62 79 20 74 68 65 20 |ion used| by the |
|000038a0| 72 65 76 65 72 73 65 20 | 66 69 6c 74 65 72 20 61 |reverse |filter a|
|000038b0| 74 6f 62 20 74 6f 20 66 | 69 6e 64 20 74 68 65 20 |tob to f|ind the |
|000038c0| 73 74 61 72 74 20 6f 66 | 20 74 68 65 0a 58 64 61 |start of| the.Xda|
|000038d0| 74 61 20 61 6e 64 20 74 | 6f 20 63 68 65 63 6b 20 |ta and t|o check |
|000038e0| 69 6e 74 65 67 72 69 74 | 79 2e 0a 58 0a 58 41 74 |integrit|y..X.XAt|
|000038f0| 6f 62 20 72 65 61 64 73 | 20 61 6e 20 65 6e 63 6f |ob reads| an enco|
|00003900| 64 65 64 20 66 69 6c 65 | 2c 20 73 74 72 69 70 73 |ded file|, strips|
|00003910| 20 6f 66 66 20 61 6e 79 | 20 6c 65 61 64 69 6e 67 | off any| leading|
|00003920| 20 61 6e 64 20 74 72 61 | 69 6c 69 6e 67 20 6c 69 | and tra|iling li|
|00003930| 6e 65 73 20 61 64 64 65 | 64 0a 58 62 79 20 6d 61 |nes adde|d.Xby ma|
|00003940| 69 6c 65 72 73 2c 20 61 | 6e 64 20 72 65 63 72 65 |ilers, a|nd recre|
|00003950| 61 74 65 73 20 61 20 63 | 6f 70 79 20 6f 66 20 74 |ates a c|opy of t|
|00003960| 68 65 20 6f 72 69 67 69 | 6e 61 6c 20 66 69 6c 65 |he origi|nal file|
|00003970| 20 6f 6e 20 74 68 65 20 | 73 74 61 6e 64 61 72 64 | on the |standard|
|00003980| 0a 58 6f 75 74 70 75 74 | 2e 20 20 41 74 6f 62 20 |.Xoutput|. Atob |
|00003990| 67 69 76 65 73 20 4e 4f | 20 6f 75 74 70 75 74 20 |gives NO| output |
|000039a0| 28 61 6e 64 20 65 78 69 | 74 73 20 77 69 74 68 20 |(and exi|ts with |
|000039b0| 61 6e 20 65 72 72 6f 72 | 20 6d 65 73 73 61 67 65 |an error| message|
|000039c0| 29 20 69 66 20 69 74 73 | 20 69 6e 70 75 74 0a 58 |) if its| input.X|
|000039d0| 69 73 20 67 61 72 62 61 | 67 65 20 6f 72 20 74 68 |is garba|ge or th|
|000039e0| 65 20 63 68 65 63 6b 73 | 75 6d 73 20 64 6f 20 6e |e checks|ums do n|
|000039f0| 6f 74 20 63 68 65 63 6b | 2e 0a 58 23 20 63 68 6d |ot check|..X# chm|
|00003a00| 6f 64 0a 58 63 68 6d 6f | 64 20 2d 2d 20 63 68 61 |od.Xchmo|d -- cha|
|00003a10| 6e 67 65 20 66 69 6c 65 | 20 6d 6f 64 65 73 0a 58 |nge file| modes.X|
|00003a20| 55 73 61 67 65 3a 09 63 | 68 6d 6f 64 20 6d 6f 64 |Usage:.c|hmod mod|
|00003a30| 65 20 66 69 6c 65 20 2e | 2e 2e 0a 58 0a 58 4d 6f |e file .|...X.XMo|
|00003a40| 64 65 20 63 61 6e 20 62 | 65 20 65 69 74 68 65 72 |de can b|e either|
|00003a50| 20 53 59 4d 42 4f 4c 49 | 43 20 6f 72 20 4f 43 54 | SYMBOLI|C or OCT|
|00003a60| 41 4c 2e 0a 58 0a 58 53 | 59 4d 42 4f 4c 49 43 20 |AL..X.XS|YMBOLIC |
|00003a70| 4d 4f 44 45 53 3a 0a 58 | 09 5b 77 68 6f 5d 20 6f |MODES:.X|.[who] o|
|00003a80| 70 20 70 65 72 6d 0a 58 | 0a 58 77 68 6f 3a 09 60 |p perm.X|.Xwho:.`|
|00003a90| 75 27 20 28 75 73 65 72 | 29 2c 20 60 67 27 20 28 |u' (user|), `g' (|
|00003aa0| 67 72 6f 75 70 29 2c 20 | 60 6f 27 20 28 6f 74 68 |group), |`o' (oth|
|00003ab0| 65 72 73 29 3b 20 60 61 | 27 20 69 73 20 65 71 75 |ers); `a|' is equ|
|00003ac0| 69 76 61 6c 65 6e 74 20 | 74 6f 20 60 75 67 6f 27 |ivalent |to `ugo'|
|00003ad0| 3b 0a 58 0a 58 6f 70 3a | 09 2b 20 61 64 64 73 20 |;.X.Xop:|.+ adds |
|00003ae0| 70 65 72 6d 69 73 73 69 | 6f 6e 2c 20 2d 20 72 65 |permissi|on, - re|
|00003af0| 6d 6f 76 65 73 20 70 65 | 72 6d 69 73 73 69 6f 6e |moves pe|rmission|
|00003b00| 2c 20 3d 20 73 65 74 73 | 20 61 62 73 6f 6c 75 74 |, = sets| absolut|
|00003b10| 65 20 70 65 72 6d 69 73 | 73 69 6f 6e 73 0a 58 0a |e permis|sions.X.|
|00003b20| 58 70 65 72 6d 3a 09 60 | 72 27 20 72 65 61 64 2c |Xperm:.`|r' read,|
|00003b30| 20 60 77 27 20 77 72 69 | 74 65 2c 20 60 78 27 20 | `w' wri|te, `x' |
|00003b40| 65 78 65 63 75 74 65 20 | 28 6f 72 20 73 65 61 72 |execute |(or sear|
|00003b50| 63 68 20 66 6f 72 20 64 | 69 72 65 63 74 6f 72 69 |ch for d|irectori|
|00003b60| 65 73 29 3b 0a 58 09 53 | 75 70 65 72 2d 55 73 65 |es);.X.S|uper-Use|
|00003b70| 72 20 6f 6e 6c 79 3a 0a | 58 09 60 73 27 20 73 65 |r only:.|X.`s' se|
|00003b80| 74 20 55 49 44 20 6f 72 | 20 73 65 74 20 47 49 44 |t UID or| set GID|
|00003b90| 3b 20 60 74 27 20 73 61 | 76 65 20 74 65 78 74 2f |; `t' sa|ve text/|
|00003ba0| 73 74 69 63 6b 79 20 62 | 69 74 2e 0a 58 0a 58 4f |sticky b|it..X.XO|
|00003bb0| 43 54 41 4c 20 4d 4f 44 | 45 53 3a 0a 58 0a 58 09 |CTAL MOD|ES:.X.X.|
|00003bc0| 54 68 65 73 65 20 61 72 | 65 20 63 6f 6e 73 74 72 |These ar|e constr|
|00003bd0| 75 63 74 65 64 20 62 79 | 20 4f 52 69 6e 67 20 74 |ucted by| ORing t|
|00003be0| 68 65 20 61 70 70 72 6f | 70 72 69 61 74 65 20 6d |he appro|priate m|
|00003bf0| 6f 64 65 73 20 66 72 6f | 6d 20 74 68 69 73 20 6c |odes fro|m this l|
|00003c00| 69 73 74 3a 0a 58 09 0a | 58 09 34 30 30 30 09 53 |ist:.X..|X.4000.S|
|00003c10| 65 74 20 55 49 44 20 28 | 53 75 70 65 72 75 73 65 |et UID (|Superuse|
|00003c20| 72 20 6f 6e 6c 79 29 0a | 58 09 32 30 30 30 09 53 |r only).|X.2000.S|
|00003c30| 65 74 20 47 49 44 20 28 | 53 75 70 65 72 75 73 65 |et GID (|Superuse|
|00003c40| 72 20 6f 6e 6c 79 29 0a | 58 09 31 30 30 30 09 53 |r only).|X.1000.S|
|00003c50| 74 69 63 6b 79 20 42 69 | 74 20 28 53 75 70 65 72 |ticky Bi|t (Super|
|00003c60| 75 73 65 72 20 6f 6e 6c | 79 29 0a 58 09 30 34 30 |user onl|y).X.040|
|00003c70| 30 09 52 65 61 64 20 62 | 79 20 4f 77 6e 65 72 0a |0.Read b|y Owner.|
|00003c80| 58 09 30 32 30 30 09 57 | 72 69 74 65 20 62 79 20 |X.0200.W|rite by |
|00003c90| 4f 77 6e 65 72 0a 58 09 | 30 31 30 30 09 45 78 65 |Owner.X.|0100.Exe|
|00003ca0| 63 75 74 65 20 62 79 20 | 4f 77 6e 65 72 0a 58 09 |cute by |Owner.X.|
|00003cb0| 30 30 37 30 09 52 65 61 | 64 2c 20 57 72 69 74 65 |0070.Rea|d, Write|
|00003cc0| 2c 20 45 78 65 63 75 74 | 65 20 62 79 20 47 72 6f |, Execut|e by Gro|
|00003cd0| 75 70 0a 58 09 30 30 30 | 37 09 52 65 61 64 2c 20 |up.X.000|7.Read, |
|00003ce0| 57 72 69 74 65 2c 20 45 | 78 65 63 75 74 65 20 62 |Write, E|xecute b|
|00003cf0| 79 20 4f 74 68 65 72 73 | 0a 58 23 20 63 68 6f 77 |y Others|.X# chow|
|00003d00| 6e 0a 58 63 68 6f 77 6e | 2c 20 63 68 67 72 70 20 |n.Xchown|, chgrp |
|00003d10| 2d 2d 20 63 68 61 6e 67 | 65 20 6f 77 6e 65 72 20 |-- chang|e owner |
|00003d20| 6f 72 20 67 72 6f 75 70 | 0a 58 55 73 61 67 65 3a |or group|.XUsage:|
|00003d30| 20 20 63 68 6f 77 6e 20 | 75 73 65 72 20 66 69 6c | chown |user fil|
|00003d40| 65 28 73 29 0a 58 09 63 | 68 67 72 70 20 67 72 6f |e(s).X.c|hgrp gro|
|00003d50| 75 70 20 66 69 6c 65 28 | 73 29 0a 58 0a 58 55 73 |up file(|s).X.XUs|
|00003d60| 65 72 20 61 6e 64 20 47 | 72 6f 75 70 20 63 61 6e |er and G|roup can|
|00003d70| 20 62 65 20 65 69 74 68 | 65 72 20 61 20 6e 75 6d | be eith|er a num|
|00003d80| 65 72 69 63 61 6c 20 55 | 49 44 20 6f 72 20 47 49 |erical U|ID or GI|
|00003d90| 44 2c 20 6f 72 20 61 20 | 6c 6f 67 69 6e 20 6f 72 |D, or a |login or|
|00003da0| 20 67 72 6f 75 70 0a 58 | 6e 61 6d 65 20 66 6f 75 | group.X|name fou|
|00003db0| 6e 64 20 69 6e 20 74 68 | 65 20 2f 65 74 63 2f 70 |nd in th|e /etc/p|
|00003dc0| 61 73 73 77 64 20 61 6e | 64 20 2f 65 74 63 2f 67 |asswd an|d /etc/g|
|00003dd0| 72 6f 75 70 20 66 69 6c | 65 73 2e 0a 58 0a 58 4f |roup fil|es..X.XO|
|00003de0| 6e 6c 79 20 74 68 65 20 | 6f 77 6e 65 72 20 6f 66 |nly the |owner of|
|00003df0| 20 61 20 66 69 6c 65 20 | 28 6f 72 20 74 68 65 20 | a file |(or the |
|00003e00| 53 75 70 65 72 75 73 65 | 72 29 20 63 61 6e 20 63 |Superuse|r) can c|
|00003e10| 68 61 6e 67 65 20 74 68 | 65 20 6f 77 6e 65 72 20 |hange th|e owner |
|00003e20| 6f 72 20 67 72 6f 75 70 | 0a 58 6f 66 20 74 68 61 |or group|.Xof tha|
|00003e30| 74 20 66 69 6c 65 2e 0a | 58 23 20 63 6f 6c 0a 58 |t file..|X# col.X|
|00003e40| 63 6f 6c 20 2d 2d 20 63 | 6f 6e 76 65 72 74 20 72 |col -- c|onvert r|
|00003e50| 65 76 65 72 73 65 20 61 | 6e 64 20 68 61 6c 66 20 |everse a|nd half |
|00003e60| 6c 69 6e 65 20 66 65 65 | 64 73 20 66 72 6f 6d 20 |line fee|ds from |
|00003e70| 6e 72 6f 66 66 0a 58 55 | 73 61 67 65 3a 20 20 63 |nroff.XU|sage: c|
|00003e80| 6f 6c 20 5b 2d 66 20 2d | 62 20 2d 78 20 2d 70 5d |ol [-f -|b -x -p]|
|00003e90| 20 5b 66 69 6c 65 28 73 | 29 5d 0a 58 2d 66 20 20 | [file(s|)].X-f |
|00003ea0| 20 20 20 20 6f 75 74 70 | 75 74 20 64 65 76 69 63 | outp|ut devic|
|00003eb0| 65 20 63 61 6e 20 70 65 | 72 66 6f 72 6d 20 66 6f |e can pe|rform fo|
|00003ec0| 72 77 61 72 64 20 68 61 | 6c 66 20 6c 69 6e 65 20 |rward ha|lf line |
|00003ed0| 66 65 65 64 73 0a 58 2d | 62 20 20 20 20 20 20 6f |feeds.X-|b o|
|00003ee0| 75 74 70 75 74 20 64 65 | 76 69 63 65 20 69 73 20 |utput de|vice is |
|00003ef0| 63 61 6e 6e 6f 74 20 62 | 61 63 6b 73 70 61 63 65 |cannot b|ackspace|
|00003f00| 0a 58 2d 78 20 20 20 20 | 20 20 64 6f 20 6e 6f 74 |.X-x | do not|
|00003f10| 20 6f 75 74 70 75 74 20 | 74 61 62 73 20 66 6f 72 | output |tabs for|
|00003f20| 20 6d 75 6c 74 69 70 6c | 65 20 73 70 61 63 65 73 | multipl|e spaces|
|00003f30| 0a 58 2d 70 20 20 20 20 | 20 20 6c 65 74 20 75 6e |.X-p | let un|
|00003f40| 72 65 63 6f 67 6e 69 7a | 65 64 20 65 73 63 61 70 |recogniz|ed escap|
|00003f50| 65 20 73 65 71 75 65 6e | 63 65 73 20 28 6f 74 68 |e sequen|ces (oth|
|00003f60| 65 72 20 74 68 61 6e 20 | 45 53 43 20 37 2c 20 45 |er than |ESC 7, E|
|00003f70| 53 43 20 38 2c 20 61 6e | 64 0a 58 20 20 20 20 20 |SC 8, an|d.X |
|00003f80| 20 20 20 45 53 43 20 39 | 29 20 70 61 73 73 2e 0a | ESC 9|) pass..|
|00003f90| 58 43 6f 6c 20 69 73 20 | 75 73 65 64 20 74 6f 20 |XCol is |used to |
|00003fa0| 70 72 69 6e 74 20 6e 72 | 6f 66 66 20 6f 75 74 70 |print nr|off outp|
|00003fb0| 75 74 20 6f 6e 20 64 65 | 76 69 63 65 73 20 74 68 |ut on de|vices th|
|00003fc0| 61 74 20 63 61 6e 6e 6f | 74 20 70 65 72 66 6f 72 |at canno|t perfor|
|00003fd0| 6d 20 66 6f 72 77 61 72 | 64 20 61 6e 64 0a 58 72 |m forwar|d and.Xr|
|00003fe0| 65 76 65 72 73 65 20 68 | 61 6c 66 20 6c 69 6e 65 |everse h|alf line|
|00003ff0| 20 6d 6f 74 69 6f 6e 73 | 20 6f 72 20 72 65 76 65 | motions| or reve|
|00004000| 72 73 65 20 6c 69 6e 65 | 20 66 65 65 64 73 2c 20 |rse line| feeds, |
|00004010| 61 73 20 69 73 20 74 68 | 65 20 63 61 73 65 20 77 |as is th|e case w|
|00004020| 69 74 68 20 6d 6f 73 74 | 0a 58 73 69 6d 70 6c 65 |ith most|.Xsimple|
|00004030| 20 70 72 69 6e 74 65 72 | 73 20 61 6e 64 20 43 52 | printer|s and CR|
|00004040| 54 20 74 65 72 6d 69 6e | 61 6c 73 2e 20 49 66 20 |T termin|als. If |
|00004050| 6e 6f 20 66 69 6c 65 73 | 20 61 72 65 20 67 69 76 |no files| are giv|
|00004060| 65 6e 2c 20 63 6f 6c 20 | 72 65 61 64 73 20 73 74 |en, col |reads st|
|00004070| 61 6e 64 61 72 64 0a 58 | 69 6e 70 75 74 2e 0a 58 |andard.X|input..X|
|00004080| 23 20 63 75 0a 58 63 75 | 20 2d 2d 20 63 61 6c 6c |# cu.Xcu| -- call|
|00004090| 20 61 6e 6f 74 68 65 72 | 20 55 4e 49 58 20 73 79 | another| UNIX sy|
|000040a0| 73 74 65 6d 0a 58 55 73 | 61 67 65 3a 09 63 75 20 |stem.XUs|age:.cu |
|000040b0| 5b 2d 73 20 73 70 65 65 | 64 5d 20 5b 2d 6c 20 6c |[-s spee|d] [-l l|
|000040c0| 69 6e 65 5d 20 5b 2d 68 | 5d 20 5b 2d 74 5d 20 5b |ine] [-h|] [-t] [|
|000040d0| 2d 64 5d 20 5b 2d 6f 7c | 65 5d 20 5b 2d 6e 5d 20 |-d] [-o||e] [-n] |
|000040e0| 74 65 6c 6e 6f 0a 58 09 | 63 75 20 5b 2d 73 20 73 |telno.X.|cu [-s s|
|000040f0| 70 65 65 64 5d 20 5b 2d | 68 5d 20 5b 2d 64 5d 20 |peed] [-|h] [-d] |
|00004100| 5b 2d 6f 7c 65 5d 20 2d | 6c 20 6c 69 6e 65 0a 58 |[-o|e] -|l line.X|
|00004110| 09 63 75 20 5b 2d 68 5d | 20 5b 2d 64 5d 20 5b 2d |.cu [-h]| [-d] [-|
|00004120| 6f 7c 65 5d 20 73 79 73 | 74 65 6d 6e 61 6d 65 0a |o|e] sys|temname.|
|00004130| 58 2d 73 09 53 70 65 63 | 69 66 79 20 74 72 61 6e |X-s.Spec|ify tran|
|00004140| 73 6d 69 73 73 69 6f 6e | 20 73 70 65 65 64 20 28 |smission| speed (|
|00004150| 33 30 30 2c 20 31 32 30 | 30 2c 20 32 34 30 30 2c |300, 120|0, 2400,|
|00004160| 20 34 38 30 30 2c 20 39 | 36 30 30 29 3b 0a 58 2d | 4800, 9|600);.X-|
|00004170| 6c 09 53 70 65 63 69 66 | 79 20 61 20 6c 69 6e 65 |l.Specif|y a line|
|00004180| 20 74 6f 20 62 65 20 75 | 73 65 64 0a 58 2d 68 09 | to be u|sed.X-h.|
|00004190| 45 6d 75 6c 61 74 65 20 | 6c 6f 63 61 6c 20 65 63 |Emulate |local ec|
|000041a0| 68 6f 20 28 68 61 6c 66 | 20 64 75 70 6c 65 78 29 |ho (half| duplex)|
|000041b0| 0a 58 2d 74 09 4d 61 70 | 20 6e 65 77 6c 69 6e 65 |.X-t.Map| newline|
|000041c0| 20 74 6f 20 43 52 2f 4c | 46 20 66 6f 72 20 61 73 | to CR/L|F for as|
|000041d0| 63 69 69 20 74 65 72 6d | 69 6e 61 6c 73 0a 58 2d |cii term|inals.X-|
|000041e0| 64 09 50 72 69 6e 74 20 | 64 69 61 67 6e 6f 73 74 |d.Print |diagnost|
|000041f0| 69 63 20 74 72 61 63 65 | 73 0a 58 2d 6f 09 47 65 |ic trace|s.X-o.Ge|
|00004200| 6e 65 72 61 74 65 20 6f | 64 64 20 70 61 72 69 74 |nerate o|dd parit|
|00004210| 79 20 6f 6e 20 6f 75 74 | 67 6f 69 6e 67 20 64 61 |y on out|going da|
|00004220| 74 61 0a 58 2d 65 09 47 | 65 6e 65 72 61 74 65 20 |ta.X-e.G|enerate |
|00004230| 65 76 65 6e 20 70 61 72 | 69 74 79 20 6f 6e 20 6f |even par|ity on o|
|00004240| 75 74 67 6f 69 6e 67 20 | 64 61 74 61 0a 58 2d 6e |utgoing |data.X-n|
|00004250| 09 50 72 6f 6d 70 74 20 | 66 6f 72 20 74 65 6c 65 |.Prompt |for tele|
|00004260| 70 68 6f 6e 65 20 6e 75 | 6d 62 65 72 0a 58 0a 58 |phone nu|mber.X.X|
|00004270| 43 6f 6d 6d 61 6e 64 73 | 20 73 74 61 72 74 20 77 |Commands| start w|
|00004280| 69 74 68 20 60 7e 27 20 | 69 6e 20 74 68 65 20 66 |ith `~' |in the f|
|00004290| 69 72 73 74 20 63 6f 6c | 75 6d 6e 20 6f 66 20 61 |irst col|umn of a|
|000042a0| 20 6c 69 6e 65 3a 0a 58 | 7e 2e 09 74 65 72 6d 69 | line:.X|~..termi|
|000042b0| 6e 61 74 65 20 74 68 65 | 20 63 6f 6e 76 65 72 73 |nate the| convers|
|000042c0| 61 74 69 6f 6e 0a 58 7e | 21 09 65 73 63 61 70 65 |ation.X~|!.escape|
|000042d0| 20 74 6f 20 69 6e 74 65 | 72 61 63 74 69 76 65 20 | to inte|ractive |
|000042e0| 73 68 65 6c 6c 20 6f 6e | 20 6c 6f 63 61 6c 20 73 |shell on| local s|
|000042f0| 79 73 74 65 6d 0a 58 7e | 21 63 6d 64 09 72 75 6e |ystem.X~|!cmd.run|
|00004300| 20 63 6d 64 20 6c 6f 63 | 61 6c 6c 79 20 28 76 69 | cmd loc|ally (vi|
|00004310| 61 20 73 68 20 2d 63 29 | 0a 58 7e 24 63 6d 64 09 |a sh -c)|.X~$cmd.|
|00004320| 72 75 6e 20 63 6d 64 20 | 6c 6f 63 61 6c 6c 79 20 |run cmd |locally |
|00004330| 61 6e 64 20 73 65 6e 64 | 20 69 74 73 20 6f 75 74 |and send| its out|
|00004340| 70 75 74 20 74 6f 20 72 | 65 6d 6f 74 65 20 73 79 |put to r|emote sy|
|00004350| 73 74 65 6d 0a 58 7e 25 | 63 64 09 63 68 61 6e 67 |stem.X~%|cd.chang|
|00004360| 65 20 64 69 72 65 63 74 | 6f 72 79 20 6f 6e 20 6c |e direct|ory on l|
|00004370| 6f 63 61 6c 20 73 79 73 | 74 65 6d 0a 58 7e 25 74 |ocal sys|tem.X~%t|
|00004380| 61 6b 65 09 63 6f 70 79 | 20 66 69 6c 65 31 20 6f |ake.copy| file1 o|
|00004390| 6e 20 72 65 6d 6f 74 65 | 20 73 79 73 74 65 6d 20 |n remote| system |
|000043a0| 74 6f 20 66 69 6c 65 32 | 20 6f 6e 20 74 68 65 20 |to file2| on the |
|000043b0| 6c 6f 63 61 6c 20 73 79 | 73 74 65 6d 2e 0a 58 09 |local sy|stem..X.|
|000043c0| 49 66 20 66 69 6c 65 32 | 20 69 73 20 6e 6f 74 20 |If file2| is not |
|000043d0| 73 70 65 63 69 66 69 65 | 64 2c 20 74 68 65 20 66 |specifie|d, the f|
|000043e0| 69 6c 65 20 77 69 6c 6c | 20 68 61 76 65 20 74 68 |ile will| have th|
|000043f0| 65 20 73 61 6d 65 20 6e | 61 6d 65 20 6f 6e 20 74 |e same n|ame on t|
|00004400| 68 65 0a 58 09 6c 6f 63 | 61 6c 20 73 79 73 74 65 |he.X.loc|al syste|
|00004410| 6d 20 61 73 20 6f 6e 20 | 74 68 65 20 72 65 6d 6f |m as on |the remo|
|00004420| 74 65 20 73 79 73 74 65 | 6d 2e 0a 58 7e 25 70 75 |te syste|m..X~%pu|
|00004430| 74 09 63 6f 70 79 20 66 | 69 6c 65 31 66 72 6f 6d |t.copy f|ile1from|
|00004440| 20 74 68 65 20 6c 6f 63 | 61 6c 20 73 79 73 74 65 | the loc|al syste|
|00004450| 6d 20 74 6f 20 66 69 6c | 65 32 20 6f 6e 20 74 68 |m to fil|e2 on th|
|00004460| 65 20 72 65 6d 6f 74 65 | 20 73 79 73 74 65 6d 2e |e remote| system.|
|00004470| 0a 58 09 49 66 20 66 69 | 6c 65 32 20 69 73 20 6e |.X.If fi|le2 is n|
|00004480| 6f 74 20 73 70 65 63 69 | 66 69 65 64 2c 20 74 68 |ot speci|fied, th|
|00004490| 65 20 66 69 6c 65 20 77 | 69 6c 6c 20 68 61 76 65 |e file w|ill have|
|000044a0| 20 74 68 65 20 73 61 6d | 65 20 6e 61 6d 65 20 6f | the sam|e name o|
|000044b0| 6e 20 74 68 65 0a 58 09 | 72 65 6d 6f 74 65 20 73 |n the.X.|remote s|
|000044c0| 79 73 74 65 6d 20 61 73 | 20 6f 6e 20 74 68 65 20 |ystem as| on the |
|000044d0| 6c 6f 63 61 6c 20 73 79 | 73 74 65 6d 2e 0a 58 7e |local sy|stem..X~|
|000044e0| 7e 6c 69 6e 65 09 73 65 | 6e 64 20 74 68 65 20 6c |~line.se|nd the l|
|000044f0| 69 6e 65 20 22 7e 6c 69 | 6e 65 22 20 74 6f 20 74 |ine "~li|ne" to t|
|00004500| 68 65 20 72 65 6d 6f 74 | 65 20 73 79 73 74 65 6d |he remot|e system|
|00004510| 20 28 74 6f 20 65 78 65 | 63 75 74 65 20 61 20 63 | (to exe|cute a c|
|00004520| 75 20 63 6f 6d 6d 61 6e | 64 20 6f 6e 0a 58 09 74 |u comman|d on.X.t|
|00004530| 68 65 20 72 65 6d 6f 74 | 65 20 73 79 73 74 65 6d |he remot|e system|
|00004540| 29 0a 58 7e 25 62 72 65 | 61 6b 09 74 72 61 6e 73 |).X~%bre|ak.trans|
|00004550| 6d 69 74 20 61 20 42 52 | 45 41 4b 20 74 6f 20 74 |mit a BR|EAK to t|
|00004560| 68 65 20 72 65 6d 6f 74 | 65 20 73 79 73 74 65 6d |he remot|e system|
|00004570| 0a 58 7e 25 64 65 62 75 | 67 09 74 6f 67 67 6c 65 |.X~%debu|g.toggle|
|00004580| 20 64 65 62 75 67 20 6f | 70 74 69 6f 6e 20 6f 6e | debug o|ption on|
|00004590| 2f 6f 66 66 0a 58 7e 74 | 09 70 72 69 6e 74 20 74 |/off.X~t|.print t|
|000045a0| 68 65 20 76 61 6c 75 65 | 73 20 6f 66 20 74 68 65 |he value|s of the|
|000045b0| 20 74 65 72 6d 69 6f 20 | 73 74 72 75 63 74 75 72 | termio |structur|
|000045c0| 65 20 76 61 72 69 61 62 | 6c 65 73 20 66 6f 72 20 |e variab|les for |
|000045d0| 74 68 65 20 75 73 65 72 | 27 73 0a 58 09 74 65 72 |the user|'s.X.ter|
|000045e0| 6d 69 6e 61 6c 0a 58 7e | 6c 09 70 72 69 6e 74 20 |minal.X~|l.print |
|000045f0| 74 68 65 20 76 61 6c 75 | 65 73 20 6f 66 20 74 68 |the valu|es of th|
|00004600| 65 20 74 65 72 6d 69 6f | 20 73 74 72 75 63 74 75 |e termio| structu|
|00004610| 72 65 20 76 61 72 69 61 | 62 6c 65 73 20 66 6f 72 |re varia|bles for|
|00004620| 20 74 68 65 20 72 65 6d | 6f 74 65 0a 58 09 63 6f | the rem|ote.X.co|
|00004630| 6d 6d 75 6e 69 63 61 74 | 69 6f 6e 73 20 6c 69 6e |mmunicat|ions lin|
|00004640| 65 0a 58 7e 25 6e 6f 73 | 74 6f 70 20 20 74 6f 67 |e.X~%nos|top tog|
|00004650| 67 6c 65 20 62 65 74 77 | 65 65 6e 20 58 4f 4e 2f |gle betw|een XON/|
|00004660| 58 4f 46 46 20 69 6e 70 | 75 74 20 63 6f 6e 74 72 |XOFF inp|ut contr|
|00004670| 6f 6c 20 70 72 6f 74 6f | 63 6f 6c 20 61 6e 64 20 |ol proto|col and |
|00004680| 6e 6f 20 69 6e 70 75 74 | 20 63 6f 6e 74 72 6f 6c |no input| control|
|00004690| 0a 58 23 20 68 65 6c 70 | 0a 58 68 65 6c 70 20 2d |.X# help|.Xhelp -|
|000046a0| 2d 20 70 72 6f 76 69 64 | 65 20 62 72 69 65 66 20 |- provid|e brief |
|000046b0| 63 6f 6d 6d 61 6e 64 20 | 65 78 70 6c 61 6e 61 74 |command |explanat|
|000046c0| 69 6f 6e 73 0a 58 55 73 | 61 67 65 3a 09 68 65 6c |ions.XUs|age:.hel|
|000046d0| 70 20 5b 63 6f 6d 6d 61 | 6e 64 5d 0a 58 4c 6f 6f |p [comma|nd].XLoo|
|000046e0| 6b 73 20 69 6e 20 24 48 | 45 4c 50 44 49 52 2f 24 |ks in $H|ELPDIR/$|
|000046f0| 48 45 4c 50 46 49 4c 45 | 20 28 2f 75 73 72 2f 6c |HELPFILE| (/usr/l|
|00004700| 69 62 2f 20 61 6e 64 20 | 68 65 6c 70 66 69 6c 65 |ib/ and |helpfile|
|00004710| 20 61 72 65 20 74 68 65 | 20 64 65 66 61 75 6c 74 | are the| default|
|00004720| 73 29 20 66 6f 72 0a 58 | 65 78 70 6c 61 6e 61 74 |s) for.X|explanat|
|00004730| 69 6f 6e 73 20 6f 66 20 | 61 20 63 6f 6d 6d 61 6e |ions of |a comman|
|00004740| 64 2e 0a 58 23 20 6c 70 | 2c 20 63 61 6e 63 65 6c |d..X# lp|, cancel|
|00004750| 0a 58 6c 70 2c 20 63 61 | 6e 63 65 6c 20 2d 2d 20 |.Xlp, ca|ncel -- |
|00004760| 73 65 6e 64 2f 63 61 6e | 63 65 6c 20 72 65 71 75 |send/can|cel requ|
|00004770| 65 73 74 73 20 74 6f 20 | 61 6e 20 4c 50 20 64 65 |ests to |an LP de|
|00004780| 76 69 63 65 0a 58 55 73 | 61 67 65 3a 09 6c 70 20 |vice.XUs|age:.lp |
|00004790| 5b 2d 63 5d 20 5b 2d 64 | 20 64 65 73 74 5d 20 5b |[-c] [-d| dest] [|
|000047a0| 2d 6d 5d 20 5b 2d 6e 20 | 6e 75 6d 5d 20 5b 2d 6f |-m] [-n |num] [-o|
|000047b0| 20 6f 70 74 5d 20 5b 2d | 73 5d 20 5b 2d 74 20 74 | opt] [-|s] [-t t|
|000047c0| 69 74 6c 65 5d 20 5b 2d | 77 5d 20 5b 66 69 6c 65 |itle] [-|w] [file|
|000047d0| 28 73 29 5d 0a 58 09 63 | 61 6e 63 65 6c 20 5b 69 |(s)].X.c|ancel [i|
|000047e0| 64 73 5d 20 5b 64 65 76 | 69 63 65 73 5d 0a 58 2d |ds] [dev|ices].X-|
|000047f0| 63 09 43 6f 70 79 20 66 | 69 6c 65 73 20 69 6d 6d |c.Copy f|iles imm|
|00004800| 65 64 69 61 74 65 6c 79 | 20 69 6e 73 74 65 61 64 |ediately| instead|
|00004810| 20 6f 66 20 6c 69 6e 6b | 69 6e 67 0a 58 2d 64 09 | of link|ing.X-d.|
|00004820| 43 68 6f 6f 73 65 20 64 | 65 73 74 20 61 73 20 74 |Choose d|est as t|
|00004830| 68 65 20 70 72 69 6e 74 | 65 72 20 6f 72 20 63 6c |he print|er or cl|
|00004840| 61 73 73 20 6f 66 20 70 | 72 69 6e 74 65 72 73 20 |ass of p|rinters |
|00004850| 74 6f 20 64 6f 20 74 68 | 65 20 70 72 69 6e 74 69 |to do th|e printi|
|00004860| 6e 67 2e 0a 58 2d 6d 09 | 53 65 6e 64 20 6d 61 69 |ng..X-m.|Send mai|
|00004870| 6c 20 61 66 74 65 72 20 | 66 69 6c 65 73 20 68 61 |l after |files ha|
|00004880| 76 65 20 62 65 65 6e 20 | 70 72 69 6e 74 65 64 0a |ve been |printed.|
|00004890| 58 2d 6e 09 50 72 69 6e | 74 20 6e 75 6d 20 63 6f |X-n.Prin|t num co|
|000048a0| 70 69 65 73 0a 58 2d 6f | 09 53 70 65 63 69 66 79 |pies.X-o|.Specify|
|000048b0| 20 70 72 69 6e 74 65 72 | 2d 64 65 70 65 6e 64 65 | printer|-depende|
|000048c0| 6e 74 20 6f 70 74 69 6f | 6e 73 0a 58 2d 73 09 53 |nt optio|ns.X-s.S|
|000048d0| 75 70 70 72 65 73 73 20 | 6d 65 73 73 61 67 65 73 |uppress |messages|
|000048e0| 20 66 72 6f 6d 20 6c 70 | 20 73 75 63 68 20 61 73 | from lp| such as|
|000048f0| 20 22 72 65 71 75 65 73 | 74 20 69 64 20 69 73 20 | "reques|t id is |
|00004900| 2e 2e 2e 22 0a 58 2d 74 | 09 50 72 69 6e 74 20 74 |...".X-t|.Print t|
|00004910| 69 74 6c 65 20 6f 6e 20 | 74 68 65 20 62 61 6e 6e |itle on |the bann|
|00004920| 65 72 20 70 61 67 65 20 | 6f 66 20 74 68 65 20 6f |er page |of the o|
|00004930| 75 74 70 75 74 0a 58 2d | 77 09 57 72 69 74 65 20 |utput.X-|w.Write |
|00004940| 61 20 6d 65 73 73 61 67 | 65 20 6f 6e 20 74 68 65 |a messag|e on the|
|00004950| 20 75 73 65 72 27 73 20 | 74 65 72 6d 69 6e 61 6c | user's |terminal|
|00004960| 20 77 68 65 6e 20 66 69 | 6c 65 73 20 68 61 76 65 | when fi|les have|
|00004970| 20 62 65 65 6e 20 70 72 | 69 6e 74 65 64 2e 0a 58 | been pr|inted..X|
|00004980| 43 61 6e 63 65 6c 20 63 | 61 6e 63 65 6c 73 20 6c |Cancel c|ancels l|
|00004990| 69 6e 65 20 70 72 69 6e | 74 65 72 20 72 65 71 75 |ine prin|ter requ|
|000049a0| 65 73 74 73 20 74 68 61 | 74 20 77 65 72 65 20 6d |ests tha|t were m|
|000049b0| 61 64 65 20 77 69 74 68 | 20 74 68 65 20 6c 70 20 |ade with| the lp |
|000049c0| 63 6f 6d 6d 61 6e 64 2e | 0a 58 54 68 65 20 63 6f |command.|.XThe co|
|000049d0| 6d 6d 61 6e 64 6c 69 6e | 65 20 61 72 67 75 6d 65 |mmandlin|e argume|
|000049e0| 6e 74 73 20 6d 61 79 20 | 62 65 20 65 69 74 68 65 |nts may |be eithe|
|000049f0| 72 20 72 65 71 75 65 73 | 74 20 69 64 73 20 61 73 |r reques|t ids as|
|00004a00| 20 72 65 74 75 72 6e 65 | 64 20 62 79 20 6c 70 20 | returne|d by lp |
|00004a10| 77 69 74 68 6f 75 74 0a | 58 74 68 65 20 2d 73 20 |without.|Xthe -s |
|00004a20| 6f 70 74 69 6f 6e 2c 20 | 6f 72 20 70 72 69 6e 74 |option, |or print|
|00004a30| 65 72 20 6e 61 6d 65 73 | 20 28 66 6f 72 20 61 20 |er names| (for a |
|00004a40| 63 6f 6d 70 6c 65 74 65 | 20 6c 69 73 74 20 64 6f |complete| list do|
|00004a50| 20 22 6c 70 73 74 61 74 | 22 29 2e 0a 58 23 20 6c | "lpstat|")..X# l|
|00004a60| 70 73 74 61 74 0a 58 6c | 70 73 74 61 74 20 2d 2d |pstat.Xl|pstat --|
|00004a70| 20 70 72 69 6e 74 20 4c | 50 20 73 74 61 74 75 73 | print L|P status|
|00004a80| 20 69 6e 66 6f 72 6d 61 | 74 69 6f 6e 0a 58 55 73 | informa|tion.XUs|
|00004a90| 61 67 65 3a 09 6c 70 73 | 74 61 74 20 5b 6f 70 74 |age:.lps|tat [opt|
|00004aa0| 69 6f 6e 73 5d 0a 58 2d | 61 20 6c 69 73 74 09 50 |ions].X-|a list.P|
|00004ab0| 72 69 6e 74 20 61 63 63 | 65 70 74 61 6e 63 65 20 |rint acc|eptance |
|00004ac0| 73 74 61 74 75 73 20 28 | 77 69 74 68 20 72 65 73 |status (|with res|
|00004ad0| 70 65 63 74 20 74 6f 20 | 6c 70 29 20 6f 66 20 64 |pect to |lp) of d|
|00004ae0| 65 73 74 69 6e 61 74 69 | 6f 6e 73 20 66 6f 72 0a |estinati|ons for.|
|00004af0| 58 09 72 65 71 75 65 73 | 74 73 2e 20 22 4c 69 73 |X.reques|ts. "Lis|
|00004b00| 74 22 20 69 73 20 61 20 | 6c 69 73 74 20 6f 66 20 |t" is a |list of |
|00004b10| 69 6e 74 65 72 6d 69 78 | 65 64 20 70 72 69 6e 74 |intermix|ed print|
|00004b20| 65 72 20 61 6e 64 20 63 | 6c 61 73 73 20 6e 61 6d |er and c|lass nam|
|00004b30| 65 73 2e 0a 58 2d 63 20 | 6c 69 73 74 09 50 72 69 |es..X-c |list.Pri|
|00004b40| 6e 74 20 63 6c 61 73 73 | 20 6e 61 6d 65 73 20 61 |nt class| names a|
|00004b50| 6e 64 20 74 68 65 69 72 | 20 6d 65 6d 62 65 72 73 |nd their| members|
|00004b60| 2e 20 22 4c 69 73 74 22 | 20 69 73 20 61 20 6c 69 |. "List"| is a li|
|00004b70| 73 74 20 6f 66 20 63 6c | 61 73 73 20 6e 61 6d 65 |st of cl|ass name|
|00004b80| 73 2e 0a 58 2d 64 09 50 | 72 69 6e 74 20 74 68 65 |s..X-d.P|rint the|
|00004b90| 20 64 65 66 61 75 6c 74 | 20 64 65 73 74 69 6e 61 | default| destina|
|00004ba0| 74 69 6f 6e 20 66 6f 72 | 20 6c 70 2e 0a 58 2d 6f |tion for| lp..X-o|
|00004bb0| 20 6c 69 73 74 09 50 72 | 69 6e 74 20 74 68 65 20 | list.Pr|int the |
|00004bc0| 73 74 61 74 75 73 20 6f | 66 20 6f 75 74 70 75 74 |status o|f output|
|00004bd0| 20 72 65 71 75 65 73 74 | 73 2e 20 22 4c 69 73 74 | request|s. "List|
|00004be0| 22 20 69 73 20 61 20 6c | 69 73 74 20 6f 66 20 69 |" is a l|ist of i|
|00004bf0| 6e 74 65 72 6d 69 78 65 | 64 0a 58 09 70 72 69 6e |ntermixe|d.X.prin|
|00004c00| 74 65 72 20 6e 61 6d 65 | 73 2c 20 63 6c 61 73 73 |ter name|s, class|
|00004c10| 20 6e 61 6d 65 73 2c 20 | 61 6e 64 20 72 65 71 75 | names, |and requ|
|00004c20| 65 73 74 20 69 64 73 2e | 0a 58 2d 70 20 6c 69 73 |est ids.|.X-p lis|
|00004c30| 74 09 50 72 69 6e 74 20 | 74 68 65 20 73 74 61 74 |t.Print |the stat|
|00004c40| 75 73 20 6f 66 20 70 72 | 69 6e 74 65 72 73 2e 20 |us of pr|inters. |
|00004c50| 22 4c 69 73 74 22 20 69 | 73 20 61 20 6c 69 73 74 |"List" i|s a list|
|00004c60| 20 6f 66 20 70 72 69 6e | 74 65 72 20 6e 61 6d 65 | of prin|ter name|
|00004c70| 73 2e 0a 58 2d 72 09 50 | 72 69 6e 74 20 74 68 65 |s..X-r.P|rint the|
|00004c80| 20 73 74 61 74 75 73 20 | 6f 66 20 74 68 65 20 4c | status |of the L|
|00004c90| 50 20 72 65 71 75 65 73 | 74 20 73 63 68 65 64 75 |P reques|t schedu|
|00004ca0| 6c 65 72 2e 0a 58 2d 73 | 09 50 72 69 6e 74 20 61 |ler..X-s|.Print a|
|00004cb0| 20 73 74 61 74 75 73 20 | 73 75 6d 6d 61 72 79 0a | status |summary.|
|00004cc0| 58 2d 74 09 50 72 69 6e | 74 20 61 6c 6c 20 73 74 |X-t.Prin|t all st|
|00004cd0| 61 74 75 73 20 69 6e 66 | 6f 72 6d 61 74 69 6f 6e |atus inf|ormation|
|00004ce0| 0a 58 2d 75 20 6c 69 73 | 74 09 50 72 69 6e 74 20 |.X-u lis|t.Print |
|00004cf0| 73 74 61 74 75 73 20 6f | 66 20 6f 75 74 70 75 74 |status o|f output|
|00004d00| 20 72 65 71 75 65 73 74 | 73 20 66 6f 72 20 75 73 | request|s for us|
|00004d10| 65 72 73 2e 20 22 4c 69 | 73 74 22 20 69 73 20 61 |ers. "Li|st" is a|
|00004d20| 20 6c 69 73 74 20 6f 66 | 20 6c 6f 67 69 6e 0a 58 | list of| login.X|
|00004d30| 09 6e 61 6d 65 73 2e 0a | 58 2d 76 20 6c 69 73 74 |.names..|X-v list|
|00004d40| 09 50 72 69 6e 74 20 74 | 68 65 20 6e 61 6d 65 73 |.Print t|he names|
|00004d50| 20 6f 66 20 70 72 69 6e | 74 65 72 73 20 61 6e 64 | of prin|ters and|
|00004d60| 20 74 68 65 20 70 61 74 | 68 6e 61 6d 65 73 20 6f | the pat|hnames o|
|00004d70| 66 20 64 65 76 69 63 65 | 73 20 61 73 73 6f 63 69 |f device|s associ|
|00004d80| 61 74 65 64 0a 58 09 77 | 69 74 68 20 74 68 65 6d |ated.X.w|ith them|
|00004d90| 2e 20 22 4c 69 73 74 22 | 20 69 73 20 61 20 6c 69 |. "List"| is a li|
|00004da0| 73 74 20 6f 66 20 70 72 | 69 6e 74 65 72 20 6e 61 |st of pr|inter na|
|00004db0| 6d 65 73 2e 0a 58 49 66 | 20 22 6c 69 73 74 22 20 |mes..XIf| "list" |
|00004dc0| 69 73 20 6f 6d 69 74 74 | 65 64 20 69 6e 20 74 68 |is omitt|ed in th|
|00004dd0| 65 20 61 62 6f 76 65 20 | 6f 70 74 69 6f 6e 73 2c |e above |options,|
|00004de0| 20 61 6c 6c 20 69 6e 66 | 6f 72 6d 61 74 69 6f 6e | all inf|ormation|
|00004df0| 20 72 65 6c 65 76 61 6e | 74 20 74 6f 20 74 68 65 | relevan|t to the|
|00004e00| 0a 58 6f 70 74 69 6f 6e | 20 6c 65 74 74 65 72 20 |.Xoption| letter |
|00004e10| 77 69 6c 6c 20 62 65 20 | 70 72 69 6e 74 65 64 2e |will be |printed.|
|00004e20| 0a 58 23 20 6d 61 69 6c | 2c 20 6d 61 69 6c 78 0a |.X# mail|, mailx.|
|00004e30| 58 6d 61 69 6c 2c 20 6d | 61 69 6c 78 20 2d 2d 20 |Xmail, m|ailx -- |
|00004e40| 65 6c 65 63 74 72 6f 6e | 69 63 20 6d 61 69 6c 20 |electron|ic mail |
|00004e50| 70 72 6f 67 72 61 6d 73 | 0a 58 55 73 61 67 65 3a |programs|.XUsage:|
|00004e60| 09 6d 61 69 6c 09 09 23 | 20 74 6f 20 63 68 65 63 |.mail..#| to chec|
|00004e70| 6b 20 66 6f 72 20 6d 61 | 69 6c 0a 58 09 6d 61 69 |k for ma|il.X.mai|
|00004e80| 6c 78 0a 58 09 6d 61 69 | 6c 20 75 73 65 72 09 23 |lx.X.mai|l user.#|
|00004e90| 20 74 6f 20 73 65 6e 64 | 20 6d 61 69 6c 20 74 6f | to send| mail to|
|00004ea0| 20 75 73 65 72 0a 58 09 | 6d 61 69 6c 78 20 75 73 | user.X.|mailx us|
|00004eb0| 65 72 0a 58 54 68 65 20 | 6f 70 74 69 6f 6e 73 20 |er.XThe |options |
|00004ec0| 61 6e 64 20 63 6f 6d 6d | 61 6e 64 73 20 66 6f 72 |and comm|ands for|
|00004ed0| 20 74 68 65 73 65 20 74 | 77 6f 20 70 72 6f 67 72 | these t|wo progr|
|00004ee0| 61 6d 73 20 61 72 65 20 | 74 6f 6f 20 6e 75 6d 65 |ams are |too nume|
|00004ef0| 72 6f 75 73 0a 58 74 6f | 20 6c 69 73 74 20 68 65 |rous.Xto| list he|
|00004f00| 72 65 2e 20 53 65 65 20 | 74 68 65 20 6d 61 6e 75 |re. See |the manu|
|00004f10| 61 6c 20 65 6e 74 72 69 | 65 73 20 61 6e 64 20 74 |al entri|es and t|
|00004f20| 75 74 6f 72 69 61 6c 73 | 20 69 66 20 79 6f 75 20 |utorials| if you |
|00004f30| 6e 65 65 64 20 6d 6f 72 | 65 20 69 6e 66 6f 72 6d |need mor|e inform|
|00004f40| 61 74 69 6f 6e 0a 58 74 | 68 61 6e 20 73 68 6f 77 |ation.Xt|han show|
|00004f50| 6e 20 61 62 6f 76 65 2e | 0a 58 23 20 6d 65 73 67 |n above.|.X# mesg|
|00004f60| 0a 58 6d 65 73 67 20 2d | 2d 20 70 65 72 6d 69 74 |.Xmesg -|- permit|
|00004f70| 20 6f 72 20 64 65 6e 79 | 20 6d 65 73 73 61 67 65 | or deny| message|
|00004f80| 73 0a 58 55 73 61 67 65 | 3a 09 6d 65 73 67 20 5b |s.XUsage|:.mesg [|
|00004f90| 2d 6e 5d 20 5b 2d 79 5d | 0a 58 2d 6e 09 46 6f 72 |-n] [-y]|.X-n.For|
|00004fa0| 62 69 64 20 6d 65 73 73 | 61 67 65 73 20 76 69 61 |bid mess|ages via|
|00004fb0| 20 77 72 69 74 65 28 31 | 29 0a 58 2d 79 09 41 6c | write(1|).X-y.Al|
|00004fc0| 6c 6f 77 20 6d 65 73 73 | 61 67 65 73 20 76 69 61 |low mess|ages via|
|00004fd0| 20 77 72 69 74 65 28 31 | 29 0a 58 57 69 74 68 6f | write(1|).XWitho|
|00004fe0| 75 74 20 6f 70 74 69 6f | 6e 73 2c 20 6d 65 73 67 |ut optio|ns, mesg|
|00004ff0| 20 72 65 70 6f 72 74 73 | 20 74 68 65 20 63 75 72 | reports| the cur|
|00005000| 72 65 6e 74 20 73 74 61 | 74 75 73 2e 0a 58 23 20 |rent sta|tus..X# |
|00005010| 6d 6f 72 65 0a 58 6d 6f | 72 65 20 2d 2d 20 66 69 |more.Xmo|re -- fi|
|00005020| 6c 65 20 62 72 6f 77 73 | 65 72 0a 58 55 73 61 67 |le brows|er.XUsag|
|00005030| 65 3a 09 6d 6f 72 65 20 | 66 69 6c 65 28 73 29 0a |e:.more |file(s).|
|00005040| 58 23 20 6e 65 77 67 72 | 70 0a 58 6e 65 77 67 72 |X# newgr|p.Xnewgr|
|00005050| 70 20 2d 2d 20 6c 6f 67 | 20 69 6e 20 74 6f 20 61 |p -- log| in to a|
|00005060| 20 6e 65 77 20 67 72 6f | 75 70 0a 58 55 73 61 67 | new gro|up.XUsag|
|00005070| 65 3a 09 6e 65 77 67 72 | 70 20 5b 2d 5d 20 5b 67 |e:.newgr|p [-] [g|
|00005080| 72 6f 75 70 5d 0a 58 49 | 6e 76 6f 6b 65 73 20 61 |roup].XI|nvokes a|
|00005090| 20 6e 65 77 20 73 68 65 | 6c 6c 20 77 69 74 68 20 | new she|ll with |
|000050a0| 74 68 65 20 67 72 6f 75 | 70 20 69 64 20 73 65 74 |the grou|p id set|
|000050b0| 20 74 6f 20 74 68 65 20 | 73 70 65 63 69 66 69 65 | to the |specifie|
|000050c0| 64 20 67 72 6f 75 70 2e | 0a 58 57 69 74 68 20 61 |d group.|.XWith a|
|000050d0| 72 67 75 6d 65 6e 74 20 | 60 2d 27 2c 20 6e 65 77 |rgument |`-', new|
|000050e0| 67 72 70 20 73 65 74 73 | 20 75 70 20 74 68 65 20 |grp sets| up the |
|000050f0| 65 6e 76 69 72 6f 6e 6d | 65 6e 74 20 61 73 20 69 |environm|ent as i|
|00005100| 66 20 74 68 65 20 75 73 | 65 72 20 68 61 64 0a 58 |f the us|er had.X|
|00005110| 61 63 74 75 61 6c 6c 79 | 20 6c 6f 67 67 65 64 20 |actually| logged |
|00005120| 69 6e 20 61 67 61 69 6e | 20 61 73 20 61 20 6d 65 |in again| as a me|
|00005130| 6d 62 65 72 20 6f 66 20 | 74 68 65 20 73 70 65 63 |mber of |the spec|
|00005140| 69 66 69 65 64 20 67 72 | 6f 75 70 2e 0a 58 57 69 |ified gr|oup..XWi|
|00005150| 74 68 6f 75 74 20 61 72 | 67 75 6d 65 6e 74 73 2c |thout ar|guments,|
|00005160| 20 74 68 65 20 67 72 6f | 75 70 20 69 64 20 69 73 | the gro|up id is|
|00005170| 20 73 65 74 20 62 61 63 | 6b 20 74 6f 20 74 68 61 | set bac|k to tha|
|00005180| 74 20 73 70 65 63 69 66 | 69 65 64 20 69 6e 20 2f |t specif|ied in /|
|00005190| 65 74 63 2f 70 61 73 73 | 77 64 2e 0a 58 23 20 6e |etc/pass|wd..X# n|
|000051a0| 69 63 65 0a 58 6e 69 63 | 65 20 2d 2d 20 72 75 6e |ice.Xnic|e -- run|
|000051b0| 20 61 20 63 6f 6d 6d 61 | 6e 64 20 61 74 20 61 20 | a comma|nd at a |
|000051c0| 6c 6f 77 20 70 72 69 6f | 72 69 74 79 0a 58 55 73 |low prio|rity.XUs|
|000051d0| 61 67 65 3a 09 6e 69 63 | 65 20 5b 2d 69 6e 63 72 |age:.nic|e [-incr|
|000051e0| 65 6d 65 6e 74 5d 20 63 | 6f 6d 6d 61 6e 64 20 5b |ement] c|ommand [|
|000051f0| 61 72 67 75 6d 65 6e 74 | 73 5d 0a 58 4e 69 63 65 |argument|s].XNice|
|00005200| 20 65 78 65 63 75 74 65 | 73 20 63 6f 6d 6d 61 6e | execute|s comman|
|00005210| 64 20 77 69 74 68 20 61 | 20 6c 6f 77 65 72 20 43 |d with a| lower C|
|00005220| 50 55 20 73 63 68 65 64 | 75 6c 69 6e 67 20 70 72 |PU sched|uling pr|
|00005230| 69 6f 72 69 74 79 2e 20 | 49 66 20 6e 6f 20 22 69 |iority. |If no "i|
|00005240| 6e 63 72 65 6d 65 6e 74 | 22 0a 58 61 72 67 75 6d |ncrement|".Xargum|
|00005250| 65 6e 74 20 69 73 20 67 | 69 76 65 6e 2c 20 61 20 |ent is g|iven, a |
|00005260| 64 65 66 61 75 6c 74 20 | 6f 66 20 31 30 20 69 73 |default |of 10 is|
|00005270| 20 75 73 65 64 2e 0a 58 | 4f 6e 6c 79 20 74 68 65 | used..X|Only the|
|00005280| 20 53 75 70 65 72 75 73 | 65 72 20 6d 61 79 20 72 | Superus|er may r|
|00005290| 75 6e 20 63 6f 6d 6d 61 | 6e 64 73 20 77 69 74 68 |un comma|nds with|
|000052a0| 20 68 69 67 68 65 72 2d | 74 68 61 6e 2d 75 73 75 | higher-|than-usu|
|000052b0| 61 6c 20 70 72 69 6f 72 | 69 74 79 20 62 79 20 75 |al prior|ity by u|
|000052c0| 73 69 6e 67 0a 58 61 20 | 6e 65 67 61 74 69 76 65 |sing.Xa |negative|
|000052d0| 20 69 6e 63 72 65 6d 65 | 6e 74 20 28 65 2e 67 2e | increme|nt (e.g.|
|000052e0| 20 2d 2d 31 30 29 2e 0a | 58 23 20 6e 6f 68 75 70 | --10)..|X# nohup|
|000052f0| 0a 58 6e 6f 68 75 70 20 | 2d 20 72 75 6e 20 61 20 |.Xnohup |- run a |
|00005300| 63 6f 6d 6d 61 6e 64 20 | 69 6d 6d 75 6e 65 20 74 |command |immune t|
|00005310| 6f 20 68 61 6e 67 75 70 | 73 20 61 6e 64 20 71 75 |o hangup|s and qu|
|00005320| 69 74 73 0a 58 55 73 61 | 67 65 3a 09 6e 6f 68 75 |its.XUsa|ge:.nohu|
|00005330| 70 20 63 6f 6d 6d 61 6e | 64 20 5b 61 72 67 75 6d |p comman|d [argum|
|00005340| 65 6e 74 73 5d 0a 58 49 | 66 20 6e 6f 68 75 70 20 |ents].XI|f nohup |
|00005350| 73 68 6f 75 6c 64 20 61 | 70 70 6c 79 20 74 6f 20 |should a|pply to |
|00005360| 73 65 76 65 72 61 6c 20 | 63 6f 6d 6d 61 6e 64 73 |several |commands|
|00005370| 2c 20 74 68 65 79 20 73 | 68 6f 75 6c 64 20 62 65 |, they s|hould be|
|00005380| 20 70 6c 61 63 65 64 20 | 69 6e 20 61 20 66 69 6c | placed |in a fil|
|00005390| 65 0a 58 61 6e 64 20 69 | 6e 76 6f 6b 65 64 20 61 |e.Xand i|nvoked a|
|000053a0| 73 20 22 6e 6f 68 75 70 | 20 73 68 20 63 6f 6d 6d |s "nohup| sh comm|
|000053b0| 61 6e 64 66 69 6c 65 22 | 2e 0a 58 49 66 20 74 68 |andfile"|..XIf th|
|000053c0| 65 20 6f 75 74 70 75 74 | 20 66 72 6f 6d 20 22 63 |e output| from "c|
|000053d0| 6f 6d 6d 61 6e 64 22 20 | 69 73 20 6e 6f 74 20 72 |ommand" |is not r|
|000053e0| 65 64 69 72 65 63 74 65 | 64 20 62 79 20 74 68 65 |edirecte|d by the|
|000053f0| 20 75 73 65 72 2c 20 69 | 74 20 77 69 6c 6c 20 62 | user, i|t will b|
|00005400| 65 20 70 6c 61 63 65 64 | 0a 58 69 6e 74 6f 20 61 |e placed|.Xinto a|
|00005410| 20 66 69 6c 65 20 6e 6f | 68 75 70 2e 6f 75 74 20 | file no|hup.out |
|00005420| 69 6e 20 74 68 65 20 63 | 75 72 72 65 6e 74 20 6f |in the c|urrent o|
|00005430| 72 20 48 4f 4d 45 20 64 | 69 72 65 63 74 6f 72 79 |r HOME d|irectory|
|00005440| 20 6f 66 20 74 68 65 20 | 75 73 65 72 2e 0a 58 23 | of the |user..X#|
|00005450| 20 6e 72 6f 66 66 0a 58 | 6e 72 6f 66 66 20 2d 2d | nroff.X|nroff --|
|00005460| 20 74 65 78 74 20 66 6f | 72 6d 61 74 74 65 72 20 | text fo|rmatter |
|00005470| 66 6f 72 20 6c 69 6e 65 | 20 70 72 69 6e 74 65 72 |for line| printer|
|00005480| 20 64 65 76 69 63 65 73 | 0a 58 55 73 61 67 65 3a | devices|.XUsage:|
|00005490| 20 20 6e 72 6f 66 66 20 | 5b 6f 70 74 69 6f 6e 73 | nroff |[options|
|000054a0| 5d 20 5b 66 69 6c 65 73 | 5d 0a 58 2d 6f 6c 69 73 |] [files|].X-olis|
|000054b0| 74 20 20 70 72 69 6e 74 | 20 6f 6e 6c 79 20 70 61 |t print| only pa|
|000054c0| 67 65 73 20 6c 69 73 74 | 65 64 3b 20 72 61 6e 67 |ges list|ed; rang|
|000054d0| 65 73 20 61 72 65 20 61 | 6c 6c 6f 77 65 64 0a 58 |es are a|llowed.X|
|000054e0| 2d 6e 4e 20 20 20 20 20 | 6e 75 6d 62 65 72 20 66 |-nN |number f|
|000054f0| 69 72 73 74 20 70 61 67 | 65 20 4e 0a 58 2d 73 4e |irst pag|e N.X-sN|
|00005500| 20 20 20 20 20 73 74 6f | 70 20 65 76 65 72 79 20 | sto|p every |
|00005510| 4e 20 70 61 67 65 73 20 | 74 6f 20 61 6c 6c 6f 77 |N pages |to allow|
|00005520| 20 70 61 70 65 72 20 6c | 6f 61 64 69 6e 67 20 6f | paper l|oading o|
|00005530| 72 0a 58 20 20 20 20 20 | 20 20 20 63 68 61 6e 67 |r.X | chang|
|00005540| 69 6e 67 2e 20 52 65 73 | 75 6d 65 20 75 70 6f 6e |ing. Res|ume upon|
|00005550| 20 72 65 63 65 69 70 74 | 20 6f 66 20 61 20 6e 65 | receipt| of a ne|
|00005560| 77 6c 69 6e 65 2e 0a 58 | 2d 72 61 4e 20 20 20 20 |wline..X|-raN |
|00005570| 73 65 74 20 72 65 67 69 | 73 74 65 72 20 61 20 28 |set regi|ster a (|
|00005580| 6d 75 73 74 20 62 65 20 | 6f 6e 65 2d 63 68 61 72 |must be |one-char|
|00005590| 61 63 74 65 72 20 6e 61 | 6d 65 29 20 74 6f 20 4e |acter na|me) to N|
|000055a0| 2e 0a 58 2d 69 20 20 20 | 20 20 20 72 65 61 64 20 |..X-i | read |
|000055b0| 73 74 61 6e 64 61 72 64 | 20 69 6e 70 75 74 20 61 |standard| input a|
|000055c0| 66 74 65 72 20 66 69 6c | 65 73 20 61 72 65 20 65 |fter fil|es are e|
|000055d0| 78 68 61 75 73 74 65 64 | 0a 58 2d 71 20 20 20 20 |xhausted|.X-q |
|000055e0| 20 20 69 6e 76 6f 6b 65 | 20 74 68 65 20 73 69 6d | invoke| the sim|
|000055f0| 75 6c 74 61 6e 65 6f 75 | 73 20 69 6e 70 75 74 2d |ultaneou|s input-|
|00005600| 6f 75 74 70 75 74 20 6d | 6f 64 65 20 6f 66 20 74 |output m|ode of t|
|00005610| 68 65 20 2e 72 64 20 72 | 65 71 75 65 73 74 0a 58 |he .rd r|equest.X|
|00005620| 2d 7a 20 20 20 20 20 20 | 70 72 69 6e 74 20 6f 6e |-z |print on|
|00005630| 6c 79 20 6d 65 73 73 61 | 67 65 73 20 67 65 6e 65 |ly messa|ges gene|
|00005640| 72 61 74 65 64 20 62 79 | 20 2e 74 6d 20 28 74 65 |rated by| .tm (te|
|00005650| 72 6d 69 6e 61 6c 20 6d | 65 73 73 61 67 65 29 20 |rminal m|essage) |
|00005660| 72 65 71 75 65 73 74 73 | 0a 58 2d 6d 6e 61 6d 65 |requests|.X-mname|
|00005670| 09 70 72 65 70 65 6e 64 | 20 74 6f 20 74 68 65 20 |.prepend| to the |
|00005680| 69 6e 70 75 74 20 66 69 | 6c 65 73 20 74 68 65 20 |input fi|les the |
|00005690| 74 68 65 20 6e 6f 6e 2d | 63 6f 6d 70 61 63 74 65 |the non-|compacte|
|000056a0| 64 20 28 41 53 43 49 49 | 20 74 65 78 74 29 20 6d |d (ASCII| text) m|
|000056b0| 61 63 72 6f 20 66 69 6c | 65 0a 58 09 6c 6f 63 61 |acro fil|e.X.loca|
|000056c0| 74 65 64 20 69 6e 20 2f | 75 73 72 2f 6c 69 62 2f |ted in /|usr/lib/|
|000056d0| 74 6d 61 63 2f 74 6d 61 | 63 2e 6e 61 6d 65 0a 58 |tmac/tma|c.name.X|
|000056e0| 2d 63 6e 61 6d 65 09 70 | 72 65 70 65 6e 64 20 74 |-cname.p|repend t|
|000056f0| 6f 20 74 68 65 20 69 6e | 70 75 74 20 66 69 6c 65 |o the in|put file|
|00005700| 73 20 74 68 65 20 63 6f | 6d 70 61 63 74 65 64 20 |s the co|mpacted |
|00005710| 6d 61 63 72 6f 20 66 69 | 6c 65 73 20 6c 6f 63 61 |macro fi|les loca|
|00005720| 74 65 64 20 69 6e 0a 58 | 09 2f 75 73 72 2f 6c 69 |ted in.X|./usr/li|
|00005730| 62 2f 6d 61 63 72 6f 73 | 2f 63 6d 70 2e 5b 6e 74 |b/macros|/cmp.[nt|
|00005740| 5d 2e 5b 64 74 5d 2e 6e | 61 6d 65 20 61 6e 64 20 |].[dt].n|ame and |
|00005750| 0a 58 09 2f 75 73 72 2f | 6c 69 62 2f 6d 61 63 72 |.X./usr/|lib/macr|
|00005760| 6f 73 2f 75 63 6d 70 2e | 5b 6e 74 5d 2e 6e 61 6d |os/ucmp.|[nt].nam|
|00005770| 65 2e 0a 58 2d 6b 6e 61 | 6d 65 09 43 6f 6d 70 61 |e..X-kna|me.Compa|
|00005780| 63 74 20 74 68 65 20 6d | 61 63 72 6f 73 20 75 73 |ct the m|acros us|
|00005790| 65 64 20 69 6e 20 74 68 | 69 73 20 69 6e 76 6f 63 |ed in th|is invoc|
|000057a0| 61 74 69 6f 6e 20 6f 66 | 20 6e 72 6f 66 66 2c 20 |ation of| nroff, |
|000057b0| 70 6c 61 63 69 6e 67 20 | 74 68 65 20 6f 75 74 70 |placing |the outp|
|000057c0| 75 74 0a 58 09 69 6e 20 | 66 69 6c 65 73 20 5b 64 |ut.X.in |files [d|
|000057d0| 74 5d 2e 6e 61 6d 65 20 | 69 6e 20 74 68 65 20 63 |t].name |in the c|
|000057e0| 75 72 72 65 6e 74 20 64 | 69 72 65 63 74 6f 72 79 |urrent d|irectory|
|000057f0| 2e 20 0a 58 2d 54 6e 61 | 6d 65 20 20 70 72 65 70 |. .X-Tna|me prep|
|00005800| 61 72 65 20 6f 75 74 70 | 75 74 20 66 6f 72 20 64 |are outp|ut for d|
|00005810| 65 76 69 63 65 20 6e 61 | 6d 65 2e 20 4b 6e 6f 77 |evice na|me. Know|
|00005820| 6e 20 6e 61 6d 65 73 20 | 61 72 65 20 33 37 20 28 |n names |are 37 (|
|00005830| 54 65 6c 65 74 79 70 65 | 20 33 37 2c 0a 58 20 20 |Teletype| 37,.X |
|00005840| 20 20 20 20 20 20 64 65 | 66 61 75 6c 74 29 2c 20 | de|fault), |
|00005850| 61 73 63 69 69 20 28 67 | 65 6e 65 72 69 63 20 61 |ascii (g|eneric a|
|00005860| 73 63 69 69 20 70 72 69 | 6e 74 65 72 20 77 2f 6f |scii pri|nter w/o|
|00005870| 20 72 65 76 65 72 73 65 | 20 6c 69 6e 65 66 65 65 | reverse| linefee|
|00005880| 64 29 2c 0a 58 20 20 20 | 20 20 20 20 20 61 6e 73 |d),.X | ans|
|00005890| 69 20 28 61 6e 73 69 20 | 6f 72 20 76 74 31 30 30 |i (ansi |or vt100|
|000058a0| 20 74 65 72 6d 69 6e 61 | 6c 29 2c 20 66 78 38 30 | termina|l), fx80|
|000058b0| 20 28 45 70 73 6f 6e 20 | 46 58 2d 38 30 20 70 72 | (Epson |FX-80 pr|
|000058c0| 69 6e 74 65 72 29 2c 0a | 58 20 20 20 20 20 20 20 |inter),.|X |
|000058d0| 20 38 35 31 30 20 28 4e | 45 43 20 38 35 31 30 2f | 8510 (N|EC 8510/|
|000058e0| 43 2e 49 74 6f 68 20 64 | 6f 74 20 6d 61 74 72 69 |C.Itoh d|ot matri|
|000058f0| 78 20 70 72 69 6e 74 65 | 72 29 2c 20 33 35 35 30 |x printe|r), 3550|
|00005900| 20 28 4e 45 43 20 53 70 | 69 6e 77 72 69 74 65 72 | (NEC Sp|inwriter|
|00005910| 29 2c 0a 58 20 20 20 20 | 20 20 20 20 6c 70 20 28 |),.X | lp (|
|00005920| 67 65 6e 65 72 69 63 20 | 61 73 63 69 69 20 70 72 |generic |ascii pr|
|00005930| 69 6e 74 65 72 20 77 69 | 74 68 20 72 65 76 65 72 |inter wi|th rever|
|00005940| 73 65 20 6c 69 6e 65 66 | 65 65 64 29 0a 58 2d 65 |se linef|eed).X-e|
|00005950| 20 20 20 20 20 20 70 72 | 6f 64 75 63 65 20 65 71 | pr|oduce eq|
|00005960| 75 61 6c 6c 79 2d 73 70 | 61 63 65 64 20 77 6f 72 |ually-sp|aced wor|
|00005970| 64 73 20 69 6e 20 61 64 | 6a 75 73 74 65 64 20 6c |ds in ad|justed l|
|00005980| 69 6e 65 73 2c 20 75 73 | 69 6e 67 20 66 75 6c 6c |ines, us|ing full|
|00005990| 20 64 65 76 69 63 65 0a | 58 20 20 20 20 20 20 20 | device.|X |
|000059a0| 20 72 65 73 6f 6c 75 74 | 69 6f 6e 0a 58 2d 68 20 | resolut|ion.X-h |
|000059b0| 20 20 20 20 20 75 73 65 | 20 6f 75 74 70 75 74 20 | use| output |
|000059c0| 68 6f 72 69 7a 6f 6e 74 | 61 6c 20 74 61 62 73 20 |horizont|al tabs |
|000059d0| 74 6f 20 73 70 65 65 64 | 20 6f 75 74 70 75 74 20 |to speed| output |
|000059e0| 61 6e 64 20 72 65 64 75 | 63 65 20 6f 75 74 70 75 |and redu|ce outpu|
|000059f0| 74 20 63 68 61 72 61 63 | 74 65 72 0a 58 20 20 20 |t charac|ter.X |
|00005a00| 20 20 20 20 20 63 6f 75 | 6e 74 2e 20 44 6f 65 73 | cou|nt. Does|
|00005a10| 20 6e 6f 74 20 77 6f 72 | 6b 20 77 69 74 68 20 61 | not wor|k with a|
|00005a20| 6c 6c 20 70 72 69 6e 74 | 65 72 73 2e 0a 58 2d 77 |ll print|ers..X-w|
|00005a30| 6e 20 20 20 20 20 73 65 | 74 20 74 68 65 20 65 6d |n se|t the em|
|00005a40| 62 6f 6c 64 69 6e 67 20 | 66 61 63 74 6f 72 20 66 |bolding |factor f|
|00005a50| 6f 72 20 46 6f 6e 74 20 | 33 20 74 6f 20 6e 2c 20 |or Font |3 to n, |
|00005a60| 6f 72 20 74 6f 20 7a 65 | 72 6f 20 69 66 20 6e 20 |or to ze|ro if n |
|00005a70| 69 73 20 6d 69 73 73 69 | 6e 67 2e 0a 58 23 20 6f |is missi|ng..X# o|
|00005a80| 74 72 6f 66 66 0a 58 6f | 74 72 6f 66 66 20 2d 2d |troff.Xo|troff --|
|00005a90| 20 74 65 78 74 20 66 6f | 72 6d 61 74 74 65 72 20 | text fo|rmatter |
|00005aa0| 66 6f 72 20 57 61 6e 67 | 20 4c 61 62 6f 72 61 74 |for Wang| Laborat|
|00005ab0| 6f 72 69 65 73 20 43 2f | 41 2f 54 20 70 68 6f 74 |ories C/|A/T phot|
|00005ac0| 6f 20 74 79 70 65 73 65 | 74 74 65 72 0a 58 55 73 |o typese|tter.XUs|
|00005ad0| 61 67 65 3a 20 20 6f 74 | 72 6f 66 66 20 5b 6f 70 |age: ot|roff [op|
|00005ae0| 74 69 6f 6e 73 5d 20 5b | 66 69 6c 65 73 5d 0a 58 |tions] [|files].X|
|00005af0| 2d 6f 6c 69 73 74 20 20 | 70 72 69 6e 74 20 6f 6e |-olist |print on|
|00005b00| 6c 79 20 70 61 67 65 73 | 20 6c 69 73 74 65 64 3b |ly pages| listed;|
|00005b10| 20 72 61 6e 67 65 73 20 | 61 72 65 20 61 6c 6c 6f | ranges |are allo|
|00005b20| 77 65 64 0a 58 2d 6e 4e | 20 20 20 20 20 6e 75 6d |wed.X-nN| num|
|00005b30| 62 65 72 20 66 69 72 73 | 74 20 70 61 67 65 20 4e |ber firs|t page N|
|00005b40| 0a 58 2d 73 4e 20 20 20 | 20 20 73 74 6f 70 20 65 |.X-sN | stop e|
|00005b50| 76 65 72 79 20 4e 20 70 | 61 67 65 73 20 74 6f 20 |very N p|ages to |
|00005b60| 61 6c 6c 6f 77 20 70 61 | 70 65 72 20 6c 6f 61 64 |allow pa|per load|
|00005b70| 69 6e 67 20 6f 72 0a 58 | 20 20 20 20 20 20 20 20 |ing or.X| |
|00005b80| 63 68 61 6e 67 69 6e 67 | 2e 20 52 65 73 75 6d 65 |changing|. Resume|
|00005b90| 20 77 68 65 6e 20 74 79 | 70 65 73 65 74 74 65 72 | when ty|pesetter|
|00005ba0| 27 73 20 73 74 61 72 74 | 20 62 75 74 74 6f 6e 20 |'s start| button |
|00005bb0| 69 73 20 70 72 65 73 73 | 65 64 2e 0a 58 2d 72 61 |is press|ed..X-ra|
|00005bc0| 4e 20 20 20 20 73 65 74 | 20 72 65 67 69 73 74 65 |N set| registe|
|00005bd0| 72 20 61 20 28 6d 75 73 | 74 20 62 65 20 6f 6e 65 |r a (mus|t be one|
|00005be0| 2d 63 68 61 72 61 63 74 | 65 72 20 6e 61 6d 65 29 |-charact|er name)|
|00005bf0| 20 74 6f 20 4e 2e 0a 58 | 2d 69 20 20 20 20 20 20 | to N..X|-i |
|00005c00| 72 65 61 64 20 73 74 61 | 6e 64 61 72 64 20 69 6e |read sta|ndard in|
|00005c10| 70 75 74 20 61 66 74 65 | 72 20 66 69 6c 65 73 20 |put afte|r files |
|00005c20| 61 72 65 20 65 78 68 61 | 75 73 74 65 64 0a 58 2d |are exha|usted.X-|
|00005c30| 71 20 20 20 20 20 20 69 | 6e 76 6f 6b 65 20 74 68 |q i|nvoke th|
|00005c40| 65 20 73 69 6d 75 6c 74 | 61 6e 65 6f 75 73 20 69 |e simult|aneous i|
|00005c50| 6e 70 75 74 2d 6f 75 74 | 70 75 74 20 6d 6f 64 65 |nput-out|put mode|
|00005c60| 20 6f 66 20 74 68 65 20 | 2e 72 64 20 72 65 71 75 | of the |.rd requ|
|00005c70| 65 73 74 0a 58 2d 7a 20 | 20 20 20 20 20 70 72 69 |est.X-z | pri|
|00005c80| 6e 74 20 6f 6e 6c 79 20 | 6d 65 73 73 61 67 65 73 |nt only |messages|
|00005c90| 20 67 65 6e 65 72 61 74 | 65 64 20 62 79 20 2e 74 | generat|ed by .t|
|00005ca0| 6d 20 28 74 65 72 6d 69 | 6e 61 6c 20 6d 65 73 73 |m (termi|nal mess|
|00005cb0| 61 67 65 29 20 72 65 71 | 75 65 73 74 73 0a 58 2d |age) req|uests.X-|
|00005cc0| 6d 6e 61 6d 65 09 70 72 | 65 70 65 6e 64 20 74 6f |mname.pr|epend to|
|00005cd0| 20 74 68 65 20 69 6e 70 | 75 74 20 66 69 6c 65 73 | the inp|ut files|
|00005ce0| 20 74 68 65 20 74 68 65 | 20 6e 6f 6e 2d 63 6f 6d | the the| non-com|
|00005cf0| 70 61 63 74 65 64 20 28 | 41 53 43 49 49 20 74 65 |pacted (|ASCII te|
|00005d00| 78 74 29 20 6d 61 63 72 | 6f 20 66 69 6c 65 0a 58 |xt) macr|o file.X|
|00005d10| 09 6c 6f 63 61 74 65 64 | 20 69 6e 20 2f 75 73 72 |.located| in /usr|
|00005d20| 2f 6c 69 62 2f 74 6d 61 | 63 2f 74 6d 61 63 2e 6e |/lib/tma|c/tmac.n|
|00005d30| 61 6d 65 0a 58 2d 63 6e | 61 6d 65 09 70 72 65 70 |ame.X-cn|ame.prep|
|00005d40| 65 6e 64 20 74 6f 20 74 | 68 65 20 69 6e 70 75 74 |end to t|he input|
|00005d50| 20 66 69 6c 65 73 20 74 | 68 65 20 63 6f 6d 70 61 | files t|he compa|
|00005d60| 63 74 65 64 20 6d 61 63 | 72 6f 20 66 69 6c 65 73 |cted mac|ro files|
|00005d70| 20 6c 6f 63 61 74 65 64 | 20 69 6e 0a 58 09 2f 75 | located| in.X./u|
|00005d80| 73 72 2f 6c 69 62 2f 6d | 61 63 72 6f 73 2f 63 6d |sr/lib/m|acros/cm|
|00005d90| 70 2e 5b 6e 74 5d 2e 5b | 64 74 5d 2e 6e 61 6d 65 |p.[nt].[|dt].name|
|00005da0| 20 61 6e 64 20 0a 58 09 | 2f 75 73 72 2f 6c 69 62 | and .X.|/usr/lib|
|00005db0| 2f 6d 61 63 72 6f 73 2f | 75 63 6d 70 2e 5b 6e 74 |/macros/|ucmp.[nt|
|00005dc0| 5d 2e 6e 61 6d 65 2e 0a | 58 2d 6b 6e 61 6d 65 09 |].name..|X-kname.|
|00005dd0| 43 6f 6d 70 61 63 74 20 | 74 68 65 20 6d 61 63 72 |Compact |the macr|
|00005de0| 6f 73 20 75 73 65 64 20 | 69 6e 20 74 68 69 73 20 |os used |in this |
|00005df0| 69 6e 76 6f 63 61 74 69 | 6f 6e 20 6f 66 20 6f 74 |invocati|on of ot|
|00005e00| 72 6f 66 66 2c 20 70 6c | 61 63 69 6e 67 20 74 68 |roff, pl|acing th|
|00005e10| 65 20 6f 75 74 70 75 74 | 0a 58 09 69 6e 20 66 69 |e output|.X.in fi|
|00005e20| 6c 65 73 20 5b 64 74 5d | 2e 6e 61 6d 65 20 69 6e |les [dt]|.name in|
|00005e30| 20 74 68 65 20 63 75 72 | 72 65 6e 74 20 64 69 72 | the cur|rent dir|
|00005e40| 65 63 74 6f 72 79 2e 20 | 0a 58 2d 74 09 44 69 72 |ectory. |.X-t.Dir|
|00005e50| 65 63 74 20 6f 75 74 70 | 75 74 20 74 6f 20 74 68 |ect outp|ut to th|
|00005e60| 65 20 73 74 61 6e 64 61 | 72 64 20 6f 75 74 70 75 |e standa|rd outpu|
|00005e70| 74 20 69 6e 73 74 65 61 | 64 20 6f 66 20 74 68 65 |t instea|d of the|
|00005e80| 20 70 68 6f 74 6f 74 79 | 70 65 73 65 74 74 65 72 | phototy|pesetter|
|00005e90| 2e 0a 58 2d 66 09 52 65 | 66 72 61 69 6e 20 66 72 |..X-f.Re|frain fr|
|00005ea0| 6f 6d 20 66 65 65 64 69 | 6e 67 20 6f 75 74 20 70 |om feedi|ng out p|
|00005eb0| 61 70 65 72 20 61 6e 64 | 20 73 74 6f 70 70 69 6e |aper and| stoppin|
|00005ec0| 67 20 74 68 65 20 70 68 | 6f 74 6f 74 79 70 65 73 |g the ph|ototypes|
|00005ed0| 65 74 74 65 72 20 61 74 | 20 74 68 65 0a 58 09 65 |etter at| the.X.e|
|00005ee0| 6e 64 20 6f 66 20 74 68 | 65 20 72 75 6e 2e 0a 58 |nd of th|e run..X|
|00005ef0| 2d 77 09 57 61 69 74 20 | 75 6e 74 69 6c 20 70 68 |-w.Wait |until ph|
|00005f00| 6f 74 6f 74 79 70 65 73 | 65 74 74 65 72 20 69 73 |ototypes|etter is|
|00005f10| 20 72 65 61 64 79 2c 20 | 69 66 20 69 74 20 69 73 | ready, |if it is|
|00005f20| 20 63 75 72 72 65 6e 74 | 6c 79 20 62 75 73 79 2e | current|ly busy.|
|00005f30| 0a 58 2d 62 09 52 65 70 | 6f 72 74 20 6f 6e 20 62 |.X-b.Rep|ort on b|
|00005f40| 75 73 79 2f 72 65 61 64 | 79 20 73 74 61 74 75 73 |usy/read|y status|
|00005f50| 20 6f 66 20 70 68 6f 74 | 6f 74 79 70 65 73 65 74 | of phot|otypeset|
|00005f60| 74 65 72 2e 20 4e 6f 20 | 74 65 78 74 20 70 72 6f |ter. No |text pro|
|00005f70| 63 65 73 73 69 6e 67 0a | 58 09 69 73 20 64 6f 6e |cessing.|X.is don|
|00005f80| 65 2e 0a 58 2d 61 09 53 | 65 6e 64 20 61 20 70 72 |e..X-a.S|end a pr|
|00005f90| 69 6e 74 61 62 6c 65 20 | 41 53 43 49 49 20 61 70 |intable |ASCII ap|
|00005fa0| 70 72 6f 78 69 6d 61 74 | 69 6f 6e 20 6f 66 20 74 |proximat|ion of t|
|00005fb0| 68 65 20 72 65 73 75 6c | 74 20 74 6f 20 74 68 65 |he resul|t to the|
|00005fc0| 20 73 74 61 6e 64 61 72 | 64 0a 58 09 6f 75 74 70 | standar|d.X.outp|
|00005fd0| 75 74 2e 0a 58 2d 70 4e | 09 70 72 69 6e 74 20 61 |ut..X-pN|.print a|
|00005fe0| 6c 6c 20 63 68 61 72 61 | 63 74 65 72 73 20 69 6e |ll chara|cters in|
|00005ff0| 20 70 6f 69 6e 74 20 73 | 69 7a 65 20 4e 20 77 68 | point s|ize N wh|
|00006000| 69 6c 65 20 72 65 74 61 | 69 6e 69 6e 67 20 61 6c |ile reta|ining al|
|00006010| 6c 20 70 72 65 73 63 72 | 69 62 65 64 0a 58 09 73 |l prescr|ibed.X.s|
|00006020| 70 61 63 69 6e 67 73 20 | 61 6e 64 20 6d 6f 74 69 |pacings |and moti|
|00006030| 6f 6e 73 2c 20 74 6f 20 | 72 65 64 75 63 65 20 70 |ons, to |reduce p|
|00006040| 68 6f 74 6f 74 79 70 65 | 73 65 74 74 65 72 20 65 |hototype|setter e|
|00006050| 6c 61 70 73 65 64 20 74 | 69 6d 65 2e 0a 58 2d 54 |lapsed t|ime..X-T|
|00006060| 63 61 74 09 55 73 65 20 | 66 6f 6e 74 2d 77 69 64 |cat.Use |font-wid|
|00006070| 74 68 20 74 61 62 6c 65 | 73 20 66 6f 72 20 57 61 |th table|s for Wa|
|00006080| 6e 67 20 43 2f 41 2f 54 | 20 70 68 6f 74 6f 74 79 |ng C/A/T| phototy|
|00006090| 70 65 73 65 74 74 65 72 | 2e 20 54 68 69 73 20 69 |pesetter|. This i|
|000060a0| 73 20 62 6f 74 68 0a 58 | 09 74 68 65 20 64 65 66 |s both.X|.the def|
|000060b0| 61 75 6c 74 20 61 6e 64 | 20 74 68 65 20 6f 6e 6c |ault and| the onl|
|000060c0| 79 20 63 68 6f 69 63 65 | 2e 0a 58 23 20 70 73 0a |y choice|..X# ps.|
|000060d0| 58 70 73 20 2d 2d 20 64 | 69 73 70 6c 61 79 20 70 |Xps -- d|isplay p|
|000060e0| 72 6f 63 65 73 73 20 73 | 74 61 74 75 73 0a 58 55 |rocess s|tatus.XU|
|000060f0| 73 61 67 65 3a 09 70 73 | 20 5b 6f 70 74 69 6f 6e |sage:.ps| [option|
|00006100| 73 5d 0a 58 2d 65 09 50 | 72 69 6e 74 20 69 6e 66 |s].X-e.P|rint inf|
|00006110| 6f 72 6d 61 74 69 6f 6e | 20 61 62 6f 75 74 20 61 |ormation| about a|
|00006120| 6c 6c 20 70 72 6f 63 65 | 73 73 65 73 0a 58 2d 64 |ll proce|sses.X-d|
|00006130| 09 50 72 69 6e 74 20 69 | 6e 66 6f 72 6d 61 74 69 |.Print i|nformati|
|00006140| 6f 6e 20 61 62 6f 75 74 | 20 61 6c 6c 20 70 72 6f |on about| all pro|
|00006150| 63 65 73 73 65 73 2c 20 | 65 78 63 65 70 74 20 70 |cesses, |except p|
|00006160| 72 6f 63 65 73 73 20 67 | 72 6f 75 70 20 6c 65 61 |rocess g|roup lea|
|00006170| 64 65 72 73 0a 58 2d 61 | 09 50 72 69 6e 74 20 69 |ders.X-a|.Print i|
|00006180| 6e 66 6f 72 6d 61 74 69 | 6f 6e 20 61 62 6f 75 74 |nformati|on about|
|00006190| 20 61 6c 6c 20 70 72 6f | 63 65 73 73 65 73 2c 20 | all pro|cesses, |
|000061a0| 65 78 63 65 70 74 20 70 | 72 6f 63 65 73 73 20 67 |except p|rocess g|
|000061b0| 72 6f 75 70 20 6c 65 61 | 64 65 72 73 0a 58 09 61 |roup lea|ders.X.a|
|000061c0| 6e 64 20 70 72 6f 63 65 | 73 73 65 73 20 6e 6f 74 |nd proce|sses not|
|000061d0| 20 61 73 73 6f 63 69 61 | 74 65 64 20 77 69 74 68 | associa|ted with|
|000061e0| 20 61 20 74 65 72 6d 69 | 6e 61 6c 0a 58 2d 66 09 | a termi|nal.X-f.|
|000061f0| 47 65 6e 65 72 61 74 65 | 20 61 20 66 75 6c 6c 20 |Generate| a full |
|00006200| 6c 69 73 74 69 6e 67 0a | 58 2d 6c 09 47 65 6e 65 |listing.|X-l.Gene|
|00006210| 72 61 74 65 20 61 20 6c | 6f 6e 67 20 6c 69 73 74 |rate a l|ong list|
|00006220| 69 6e 67 0a 58 2d 63 66 | 69 6c 65 09 55 73 65 20 |ing.X-cf|ile.Use |
|00006230| 74 68 65 20 73 70 65 63 | 69 66 69 65 64 20 63 6f |the spec|ified co|
|00006240| 72 65 20 66 69 6c 65 20 | 69 6e 73 74 65 61 64 20 |re file |instead |
|00006250| 6f 66 20 2f 64 65 76 2f | 6d 65 6d 0a 58 2d 73 64 |of /dev/|mem.X-sd|
|00006260| 65 76 09 55 73 65 20 74 | 68 65 20 73 70 65 63 69 |ev.Use t|he speci|
|00006270| 66 69 65 64 20 73 77 61 | 70 20 64 65 76 69 63 65 |fied swa|p device|
|00006280| 20 69 6e 73 74 65 61 64 | 20 6f 66 20 2f 64 65 76 | instead| of /dev|
|00006290| 2f 73 77 61 70 0a 58 2d | 6e 66 69 6c 65 09 55 73 |/swap.X-|nfile.Us|
|000062a0| 65 20 73 70 65 63 69 66 | 69 65 64 20 66 69 6c 65 |e specif|ied file|
|000062b0| 20 69 6e 73 74 65 61 64 | 20 6f 66 20 2f 75 6e 69 | instead| of /uni|
|000062c0| 78 0a 58 2d 74 6c 69 73 | 74 09 52 65 73 74 72 69 |x.X-tlis|t.Restri|
|000062d0| 63 74 20 6c 69 73 74 69 | 6e 67 20 74 6f 20 70 72 |ct listi|ng to pr|
|000062e0| 6f 63 65 73 73 65 73 20 | 61 73 73 6f 63 69 61 74 |ocesses |associat|
|000062f0| 65 64 20 77 69 74 68 20 | 74 65 72 6d 69 6e 61 6c |ed with |terminal|
|00006300| 73 20 67 69 76 65 6e 20 | 69 6e 20 6c 69 73 74 2e |s given |in list.|
|00006310| 0a 58 2d 70 6c 69 73 74 | 09 52 65 73 74 72 69 63 |.X-plist|.Restric|
|00006320| 74 20 6c 69 73 74 69 6e | 67 20 74 6f 20 70 72 6f |t listin|g to pro|
|00006330| 63 65 73 73 65 73 20 77 | 68 6f 73 65 20 50 49 44 |cesses w|hose PID|
|00006340| 73 20 61 72 65 20 67 69 | 76 65 6e 20 69 6e 20 6c |s are gi|ven in l|
|00006350| 69 73 74 2e 0a 58 2d 75 | 6c 69 73 74 09 52 65 73 |ist..X-u|list.Res|
|00006360| 74 72 69 63 74 20 6c 69 | 73 74 69 6e 67 20 74 6f |trict li|sting to|
|00006370| 20 70 72 6f 63 65 73 73 | 65 73 20 77 68 6f 73 65 | process|es whose|
|00006380| 20 55 49 44 73 20 6f 72 | 20 4c 4f 47 4e 41 4d 45 | UIDs or| LOGNAME|
|00006390| 73 20 61 72 65 20 67 69 | 76 65 6e 20 69 6e 20 6c |s are gi|ven in l|
|000063a0| 69 73 74 2e 0a 58 2d 67 | 6c 69 73 74 09 52 65 73 |ist..X-g|list.Res|
|000063b0| 74 72 69 63 74 20 6c 69 | 73 74 69 6e 67 20 74 6f |trict li|sting to|
|000063c0| 20 70 72 6f 63 65 73 73 | 65 73 20 77 68 6f 73 65 | process|es whose|
|000063d0| 20 47 49 44 73 20 6f 72 | 20 47 52 4f 55 50 20 6e | GIDs or| GROUP n|
|000063e0| 61 6d 65 73 20 61 72 65 | 20 67 69 76 65 6e 20 69 |ames are| given i|
|000063f0| 6e 0a 58 09 6c 69 73 74 | 2e 0a 58 23 20 73 6c 65 |n.X.list|..X# sle|
+--------+-------------------------+-------------------------+--------+--------+
Only 25.0 KB of data is shown above.