home *** CD-ROM | disk | FTP | other *** search
open in:
MacOS 8.1
|
Win98
|
DOS
browse contents |
view JSON data
|
view as text
This file was processed as: SHell self-extracting ARchive
(archive/shar).
Confidence | Program | Detection | Match Type | Support
|
---|
100%
| dexvert
| SHell self-extracting ARchive (archive/shar)
| magic
| Supported |
1%
| dexvert
| Text File (text/txt)
| fallback
| Supported |
100%
| file
| ASCII text
| default
| |
100%
| perlTextCheck
| Likely Text (Perl)
| default
| |
100%
| siegfried
| fmt/329 Shell Archive Format
| default
| |
100%
| detectItEasy
| Format: plain text[LF]
| default (weak)
|
|
hex view+--------+-------------------------+-------------------------+--------+--------+
|00000000| 4e 65 77 73 67 72 6f 75 | 70 73 3a 20 63 6f 6d 70 |Newsgrou|ps: comp|
|00000010| 2e 73 6f 75 72 63 65 73 | 2e 75 6e 69 78 0a 46 72 |.sources|.unix.Fr|
|00000020| 6f 6d 3a 20 70 68 69 6c | 40 53 68 69 76 61 2e 43 |om: phil|@Shiva.C|
|00000030| 4f 4d 20 28 50 68 69 6c | 20 42 75 64 6e 65 29 0a |OM (Phil| Budne).|
|00000040| 53 75 62 6a 65 63 74 3a | 20 76 32 35 69 31 36 39 |Subject:| v25i169|
|00000050| 3a 20 66 69 6e 67 65 72 | 20 2d 20 50 68 69 6c 27 |: finger| - Phil'|
|00000060| 73 20 46 69 6e 67 65 72 | 20 50 72 6f 67 72 61 6d |s Finger| Program|
|00000070| 2c 20 50 61 72 74 30 36 | 2f 30 37 0a 53 65 6e 64 |, Part06|/07.Send|
|00000080| 65 72 3a 20 75 6e 69 78 | 2d 73 6f 75 72 63 65 73 |er: unix|-sources|
|00000090| 2d 6d 6f 64 65 72 61 74 | 6f 72 40 70 61 2e 64 65 |-moderat|or@pa.de|
|000000a0| 63 2e 63 6f 6d 0a 41 70 | 70 72 6f 76 65 64 3a 20 |c.com.Ap|proved: |
|000000b0| 76 69 78 69 65 40 70 61 | 2e 64 65 63 2e 63 6f 6d |vixie@pa|.dec.com|
|000000c0| 0a 0a 53 75 62 6d 69 74 | 74 65 64 2d 42 79 3a 20 |..Submit|ted-By: |
|000000d0| 70 68 69 6c 40 53 68 69 | 76 61 2e 43 4f 4d 20 28 |phil@Shi|va.COM (|
|000000e0| 50 68 69 6c 20 42 75 64 | 6e 65 29 0a 50 6f 73 74 |Phil Bud|ne).Post|
|000000f0| 69 6e 67 2d 4e 75 6d 62 | 65 72 3a 20 56 6f 6c 75 |ing-Numb|er: Volu|
|00000100| 6d 65 20 32 35 2c 20 49 | 73 73 75 65 20 31 36 39 |me 25, I|ssue 169|
|00000110| 0a 41 72 63 68 69 76 65 | 2d 4e 61 6d 65 3a 20 66 |.Archive|-Name: f|
|00000120| 69 6e 67 65 72 2f 70 61 | 72 74 30 36 0a 0a 23 21 |inger/pa|rt06..#!|
|00000130| 20 2f 62 69 6e 2f 73 68 | 0a 23 20 54 68 69 73 20 | /bin/sh|.# This |
|00000140| 69 73 20 61 20 73 68 65 | 6c 6c 20 61 72 63 68 69 |is a she|ll archi|
|00000150| 76 65 2e 20 20 52 65 6d | 6f 76 65 20 61 6e 79 74 |ve. Rem|ove anyt|
|00000160| 68 69 6e 67 20 62 65 66 | 6f 72 65 20 74 68 69 73 |hing bef|ore this|
|00000170| 20 6c 69 6e 65 2c 20 74 | 68 65 6e 20 75 6e 70 61 | line, t|hen unpa|
|00000180| 63 6b 0a 23 20 69 74 20 | 62 79 20 73 61 76 69 6e |ck.# it |by savin|
|00000190| 67 20 69 74 20 69 6e 74 | 6f 20 61 20 66 69 6c 65 |g it int|o a file|
|000001a0| 20 61 6e 64 20 74 79 70 | 69 6e 67 20 22 73 68 20 | and typ|ing "sh |
|000001b0| 66 69 6c 65 22 2e 20 20 | 54 6f 20 6f 76 65 72 77 |file". |To overw|
|000001c0| 72 69 74 65 20 65 78 69 | 73 74 69 6e 67 0a 23 20 |rite exi|sting.# |
|000001d0| 66 69 6c 65 73 2c 20 74 | 79 70 65 20 22 73 68 20 |files, t|ype "sh |
|000001e0| 66 69 6c 65 20 2d 63 22 | 2e 20 20 59 6f 75 20 63 |file -c"|. You c|
|000001f0| 61 6e 20 61 6c 73 6f 20 | 66 65 65 64 20 74 68 69 |an also |feed thi|
|00000200| 73 20 61 73 20 73 74 61 | 6e 64 61 72 64 20 69 6e |s as sta|ndard in|
|00000210| 70 75 74 20 76 69 61 0a | 23 20 75 6e 73 68 61 72 |put via.|# unshar|
|00000220| 2c 20 6f 72 20 62 79 20 | 74 79 70 69 6e 67 20 22 |, or by |typing "|
|00000230| 73 68 20 3c 66 69 6c 65 | 22 2c 20 65 2e 67 2e 2e |sh <file|", e.g..|
|00000240| 20 20 49 66 20 74 68 69 | 73 20 61 72 63 68 69 76 | If thi|s archiv|
|00000250| 65 20 69 73 20 63 6f 6d | 70 6c 65 74 65 2c 20 79 |e is com|plete, y|
|00000260| 6f 75 0a 23 20 77 69 6c | 6c 20 73 65 65 20 74 68 |ou.# wil|l see th|
|00000270| 65 20 66 6f 6c 6c 6f 77 | 69 6e 67 20 6d 65 73 73 |e follow|ing mess|
|00000280| 61 67 65 20 61 74 20 74 | 68 65 20 65 6e 64 3a 0a |age at t|he end:.|
|00000290| 23 09 09 22 45 6e 64 20 | 6f 66 20 61 72 63 68 69 |#.."End |of archi|
|000002a0| 76 65 20 36 20 28 6f 66 | 20 37 29 2e 22 0a 23 20 |ve 6 (of| 7).".# |
|000002b0| 43 6f 6e 74 65 6e 74 73 | 3a 20 20 43 4f 50 59 49 |Contents|: COPYI|
|000002c0| 4e 47 20 66 69 6e 67 65 | 72 2e 63 20 66 69 6e 67 |NG finge|r.c fing|
|000002d0| 65 72 64 2e 63 20 67 65 | 74 63 6f 6d 6d 61 6e 64 |erd.c ge|tcommand|
|000002e0| 2e 63 0a 23 20 57 72 61 | 70 70 65 64 20 62 79 20 |.c.# Wra|pped by |
|000002f0| 62 75 64 64 40 62 75 2d | 69 74 20 6f 6e 20 46 72 |budd@bu-|it on Fr|
|00000300| 69 20 4a 75 6c 20 20 36 | 20 31 33 3a 32 32 3a 30 |i Jul 6| 13:22:0|
|00000310| 36 20 31 39 39 30 0a 50 | 41 54 48 3d 2f 62 69 6e |6 1990.P|ATH=/bin|
|00000320| 3a 2f 75 73 72 2f 62 69 | 6e 3a 2f 75 73 72 2f 75 |:/usr/bi|n:/usr/u|
|00000330| 63 62 20 3b 20 65 78 70 | 6f 72 74 20 50 41 54 48 |cb ; exp|ort PATH|
|00000340| 0a 69 66 20 74 65 73 74 | 20 2d 66 20 43 4f 50 59 |.if test| -f COPY|
|00000350| 49 4e 47 20 2d 61 20 22 | 24 7b 31 7d 22 20 21 3d |ING -a "|${1}" !=|
|00000360| 20 22 2d 63 22 20 3b 20 | 74 68 65 6e 20 0a 20 20 | "-c" ; |then . |
|00000370| 65 63 68 6f 20 73 68 61 | 72 3a 20 57 69 6c 6c 20 |echo sha|r: Will |
|00000380| 6e 6f 74 20 6f 76 65 72 | 2d 77 72 69 74 65 20 65 |not over|-write e|
|00000390| 78 69 73 74 69 6e 67 20 | 66 69 6c 65 20 5c 22 43 |xisting |file \"C|
|000003a0| 4f 50 59 49 4e 47 5c 22 | 0a 65 6c 73 65 0a 65 63 |OPYING\"|.else.ec|
|000003b0| 68 6f 20 73 68 61 72 3a | 20 45 78 74 72 61 63 74 |ho shar:| Extract|
|000003c0| 69 6e 67 20 5c 22 43 4f | 50 59 49 4e 47 5c 22 20 |ing \"CO|PYING\" |
|000003d0| 5c 28 31 32 30 34 32 20 | 63 68 61 72 61 63 74 65 |\(12042 |characte|
|000003e0| 72 73 5c 29 0a 73 65 64 | 20 22 73 2f 5e 58 2f 2f |rs\).sed| "s/^X//|
|000003f0| 22 20 3e 43 4f 50 59 49 | 4e 47 20 3c 3c 27 45 4e |" >COPYI|NG <<'EN|
|00000400| 44 5f 4f 46 5f 43 4f 50 | 59 49 4e 47 27 0a 58 09 |D_OF_COP|YING'.X.|
|00000410| 09 20 20 20 20 47 4e 55 | 20 47 45 4e 45 52 41 4c |. GNU| GENERAL|
|00000420| 20 50 55 42 4c 49 43 20 | 4c 49 43 45 4e 53 45 0a | PUBLIC |LICENSE.|
|00000430| 58 09 09 20 20 20 20 20 | 56 65 72 73 69 6f 6e 20 |X.. |Version |
|00000440| 31 2c 20 46 65 62 72 75 | 61 72 79 20 31 39 38 39 |1, Febru|ary 1989|
|00000450| 0a 58 0a 58 20 43 6f 70 | 79 72 69 67 68 74 20 28 |.X.X Cop|yright (|
|00000460| 43 29 20 31 39 38 39 20 | 46 72 65 65 20 53 6f 66 |C) 1989 |Free Sof|
|00000470| 74 77 61 72 65 20 46 6f | 75 6e 64 61 74 69 6f 6e |tware Fo|undation|
|00000480| 2c 20 49 6e 63 2e 0a 58 | 20 20 20 20 20 20 20 20 |, Inc..X| |
|00000490| 20 20 20 20 20 20 20 20 | 20 20 20 20 36 37 35 20 | | 675 |
|000004a0| 4d 61 73 73 20 41 76 65 | 2c 20 43 61 6d 62 72 69 |Mass Ave|, Cambri|
|000004b0| 64 67 65 2c 20 4d 41 20 | 30 32 31 33 39 2c 20 55 |dge, MA |02139, U|
|000004c0| 53 41 0a 58 20 45 76 65 | 72 79 6f 6e 65 20 69 73 |SA.X Eve|ryone is|
|000004d0| 20 70 65 72 6d 69 74 74 | 65 64 20 74 6f 20 63 6f | permitt|ed to co|
|000004e0| 70 79 20 61 6e 64 20 64 | 69 73 74 72 69 62 75 74 |py and d|istribut|
|000004f0| 65 20 76 65 72 62 61 74 | 69 6d 20 63 6f 70 69 65 |e verbat|im copie|
|00000500| 73 0a 58 20 6f 66 20 74 | 68 69 73 20 6c 69 63 65 |s.X of t|his lice|
|00000510| 6e 73 65 20 64 6f 63 75 | 6d 65 6e 74 2c 20 62 75 |nse docu|ment, bu|
|00000520| 74 20 63 68 61 6e 67 69 | 6e 67 20 69 74 20 69 73 |t changi|ng it is|
|00000530| 20 6e 6f 74 20 61 6c 6c | 6f 77 65 64 2e 0a 58 0a | not all|owed..X.|
|00000540| 58 09 09 09 20 20 20 20 | 50 72 65 61 6d 62 6c 65 |X... |Preamble|
|00000550| 0a 58 0a 58 20 20 54 68 | 65 20 6c 69 63 65 6e 73 |.X.X Th|e licens|
|00000560| 65 20 61 67 72 65 65 6d | 65 6e 74 73 20 6f 66 20 |e agreem|ents of |
|00000570| 6d 6f 73 74 20 73 6f 66 | 74 77 61 72 65 20 63 6f |most sof|tware co|
|00000580| 6d 70 61 6e 69 65 73 20 | 74 72 79 20 74 6f 20 6b |mpanies |try to k|
|00000590| 65 65 70 20 75 73 65 72 | 73 0a 58 61 74 20 74 68 |eep user|s.Xat th|
|000005a0| 65 20 6d 65 72 63 79 20 | 6f 66 20 74 68 6f 73 65 |e mercy |of those|
|000005b0| 20 63 6f 6d 70 61 6e 69 | 65 73 2e 20 20 42 79 20 | compani|es. By |
|000005c0| 63 6f 6e 74 72 61 73 74 | 2c 20 6f 75 72 20 47 65 |contrast|, our Ge|
|000005d0| 6e 65 72 61 6c 20 50 75 | 62 6c 69 63 0a 58 4c 69 |neral Pu|blic.XLi|
|000005e0| 63 65 6e 73 65 20 69 73 | 20 69 6e 74 65 6e 64 65 |cense is| intende|
|000005f0| 64 20 74 6f 20 67 75 61 | 72 61 6e 74 65 65 20 79 |d to gua|rantee y|
|00000600| 6f 75 72 20 66 72 65 65 | 64 6f 6d 20 74 6f 20 73 |our free|dom to s|
|00000610| 68 61 72 65 20 61 6e 64 | 20 63 68 61 6e 67 65 20 |hare and| change |
|00000620| 66 72 65 65 0a 58 73 6f | 66 74 77 61 72 65 2d 2d |free.Xso|ftware--|
|00000630| 74 6f 20 6d 61 6b 65 20 | 73 75 72 65 20 74 68 65 |to make |sure the|
|00000640| 20 73 6f 66 74 77 61 72 | 65 20 69 73 20 66 72 65 | softwar|e is fre|
|00000650| 65 20 66 6f 72 20 61 6c | 6c 20 69 74 73 20 75 73 |e for al|l its us|
|00000660| 65 72 73 2e 20 20 54 68 | 65 0a 58 47 65 6e 65 72 |ers. Th|e.XGener|
|00000670| 61 6c 20 50 75 62 6c 69 | 63 20 4c 69 63 65 6e 73 |al Publi|c Licens|
|00000680| 65 20 61 70 70 6c 69 65 | 73 20 74 6f 20 74 68 65 |e applie|s to the|
|00000690| 20 46 72 65 65 20 53 6f | 66 74 77 61 72 65 20 46 | Free So|ftware F|
|000006a0| 6f 75 6e 64 61 74 69 6f | 6e 27 73 0a 58 73 6f 66 |oundatio|n's.Xsof|
|000006b0| 74 77 61 72 65 20 61 6e | 64 20 74 6f 20 61 6e 79 |tware an|d to any|
|000006c0| 20 6f 74 68 65 72 20 70 | 72 6f 67 72 61 6d 20 77 | other p|rogram w|
|000006d0| 68 6f 73 65 20 61 75 74 | 68 6f 72 73 20 63 6f 6d |hose aut|hors com|
|000006e0| 6d 69 74 20 74 6f 20 75 | 73 69 6e 67 20 69 74 2e |mit to u|sing it.|
|000006f0| 0a 58 59 6f 75 20 63 61 | 6e 20 75 73 65 20 69 74 |.XYou ca|n use it|
|00000700| 20 66 6f 72 20 79 6f 75 | 72 20 70 72 6f 67 72 61 | for you|r progra|
|00000710| 6d 73 2c 20 74 6f 6f 2e | 0a 58 0a 58 20 20 57 68 |ms, too.|.X.X Wh|
|00000720| 65 6e 20 77 65 20 73 70 | 65 61 6b 20 6f 66 20 66 |en we sp|eak of f|
|00000730| 72 65 65 20 73 6f 66 74 | 77 61 72 65 2c 20 77 65 |ree soft|ware, we|
|00000740| 20 61 72 65 20 72 65 66 | 65 72 72 69 6e 67 20 74 | are ref|erring t|
|00000750| 6f 20 66 72 65 65 64 6f | 6d 2c 20 6e 6f 74 0a 58 |o freedo|m, not.X|
|00000760| 70 72 69 63 65 2e 20 20 | 53 70 65 63 69 66 69 63 |price. |Specific|
|00000770| 61 6c 6c 79 2c 20 74 68 | 65 20 47 65 6e 65 72 61 |ally, th|e Genera|
|00000780| 6c 20 50 75 62 6c 69 63 | 20 4c 69 63 65 6e 73 65 |l Public| License|
|00000790| 20 69 73 20 64 65 73 69 | 67 6e 65 64 20 74 6f 20 | is desi|gned to |
|000007a0| 6d 61 6b 65 0a 58 73 75 | 72 65 20 74 68 61 74 20 |make.Xsu|re that |
|000007b0| 79 6f 75 20 68 61 76 65 | 20 74 68 65 20 66 72 65 |you have| the fre|
|000007c0| 65 64 6f 6d 20 74 6f 20 | 67 69 76 65 20 61 77 61 |edom to |give awa|
|000007d0| 79 20 6f 72 20 73 65 6c | 6c 20 63 6f 70 69 65 73 |y or sel|l copies|
|000007e0| 20 6f 66 20 66 72 65 65 | 0a 58 73 6f 66 74 77 61 | of free|.Xsoftwa|
|000007f0| 72 65 2c 20 74 68 61 74 | 20 79 6f 75 20 72 65 63 |re, that| you rec|
|00000800| 65 69 76 65 20 73 6f 75 | 72 63 65 20 63 6f 64 65 |eive sou|rce code|
|00000810| 20 6f 72 20 63 61 6e 20 | 67 65 74 20 69 74 20 69 | or can |get it i|
|00000820| 66 20 79 6f 75 20 77 61 | 6e 74 20 69 74 2c 0a 58 |f you wa|nt it,.X|
|00000830| 74 68 61 74 20 79 6f 75 | 20 63 61 6e 20 63 68 61 |that you| can cha|
|00000840| 6e 67 65 20 74 68 65 20 | 73 6f 66 74 77 61 72 65 |nge the |software|
|00000850| 20 6f 72 20 75 73 65 20 | 70 69 65 63 65 73 20 6f | or use |pieces o|
|00000860| 66 20 69 74 20 69 6e 20 | 6e 65 77 20 66 72 65 65 |f it in |new free|
|00000870| 0a 58 70 72 6f 67 72 61 | 6d 73 3b 20 61 6e 64 20 |.Xprogra|ms; and |
|00000880| 74 68 61 74 20 79 6f 75 | 20 6b 6e 6f 77 20 79 6f |that you| know yo|
|00000890| 75 20 63 61 6e 20 64 6f | 20 74 68 65 73 65 20 74 |u can do| these t|
|000008a0| 68 69 6e 67 73 2e 0a 58 | 0a 58 20 20 54 6f 20 70 |hings..X|.X To p|
|000008b0| 72 6f 74 65 63 74 20 79 | 6f 75 72 20 72 69 67 68 |rotect y|our righ|
|000008c0| 74 73 2c 20 77 65 20 6e | 65 65 64 20 74 6f 20 6d |ts, we n|eed to m|
|000008d0| 61 6b 65 20 72 65 73 74 | 72 69 63 74 69 6f 6e 73 |ake rest|rictions|
|000008e0| 20 74 68 61 74 20 66 6f | 72 62 69 64 0a 58 61 6e | that fo|rbid.Xan|
|000008f0| 79 6f 6e 65 20 74 6f 20 | 64 65 6e 79 20 79 6f 75 |yone to |deny you|
|00000900| 20 74 68 65 73 65 20 72 | 69 67 68 74 73 20 6f 72 | these r|ights or|
|00000910| 20 74 6f 20 61 73 6b 20 | 79 6f 75 20 74 6f 20 73 | to ask |you to s|
|00000920| 75 72 72 65 6e 64 65 72 | 20 74 68 65 20 72 69 67 |urrender| the rig|
|00000930| 68 74 73 2e 0a 58 54 68 | 65 73 65 20 72 65 73 74 |hts..XTh|ese rest|
|00000940| 72 69 63 74 69 6f 6e 73 | 20 74 72 61 6e 73 6c 61 |rictions| transla|
|00000950| 74 65 20 74 6f 20 63 65 | 72 74 61 69 6e 20 72 65 |te to ce|rtain re|
|00000960| 73 70 6f 6e 73 69 62 69 | 6c 69 74 69 65 73 20 66 |sponsibi|lities f|
|00000970| 6f 72 20 79 6f 75 20 69 | 66 20 79 6f 75 0a 58 64 |or you i|f you.Xd|
|00000980| 69 73 74 72 69 62 75 74 | 65 20 63 6f 70 69 65 73 |istribut|e copies|
|00000990| 20 6f 66 20 74 68 65 20 | 73 6f 66 74 77 61 72 65 | of the |software|
|000009a0| 2c 20 6f 72 20 69 66 20 | 79 6f 75 20 6d 6f 64 69 |, or if |you modi|
|000009b0| 66 79 20 69 74 2e 0a 58 | 0a 58 20 20 46 6f 72 20 |fy it..X|.X For |
|000009c0| 65 78 61 6d 70 6c 65 2c | 20 69 66 20 79 6f 75 20 |example,| if you |
|000009d0| 64 69 73 74 72 69 62 75 | 74 65 20 63 6f 70 69 65 |distribu|te copie|
|000009e0| 73 20 6f 66 20 61 20 73 | 75 63 68 20 61 20 70 72 |s of a s|uch a pr|
|000009f0| 6f 67 72 61 6d 2c 20 77 | 68 65 74 68 65 72 0a 58 |ogram, w|hether.X|
|00000a00| 67 72 61 74 69 73 20 6f | 72 20 66 6f 72 20 61 20 |gratis o|r for a |
|00000a10| 66 65 65 2c 20 79 6f 75 | 20 6d 75 73 74 20 67 69 |fee, you| must gi|
|00000a20| 76 65 20 74 68 65 20 72 | 65 63 69 70 69 65 6e 74 |ve the r|ecipient|
|00000a30| 73 20 61 6c 6c 20 74 68 | 65 20 72 69 67 68 74 73 |s all th|e rights|
|00000a40| 20 74 68 61 74 0a 58 79 | 6f 75 20 68 61 76 65 2e | that.Xy|ou have.|
|00000a50| 20 20 59 6f 75 20 6d 75 | 73 74 20 6d 61 6b 65 20 | You mu|st make |
|00000a60| 73 75 72 65 20 74 68 61 | 74 20 74 68 65 79 2c 20 |sure tha|t they, |
|00000a70| 74 6f 6f 2c 20 72 65 63 | 65 69 76 65 20 6f 72 20 |too, rec|eive or |
|00000a80| 63 61 6e 20 67 65 74 20 | 74 68 65 0a 58 73 6f 75 |can get |the.Xsou|
|00000a90| 72 63 65 20 63 6f 64 65 | 2e 20 20 41 6e 64 20 79 |rce code|. And y|
|00000aa0| 6f 75 20 6d 75 73 74 20 | 74 65 6c 6c 20 74 68 65 |ou must |tell the|
|00000ab0| 6d 20 74 68 65 69 72 20 | 72 69 67 68 74 73 2e 0a |m their |rights..|
|00000ac0| 58 0a 58 20 20 57 65 20 | 70 72 6f 74 65 63 74 20 |X.X We |protect |
|00000ad0| 79 6f 75 72 20 72 69 67 | 68 74 73 20 77 69 74 68 |your rig|hts with|
|00000ae0| 20 74 77 6f 20 73 74 65 | 70 73 3a 20 28 31 29 20 | two ste|ps: (1) |
|00000af0| 63 6f 70 79 72 69 67 68 | 74 20 74 68 65 20 73 6f |copyrigh|t the so|
|00000b00| 66 74 77 61 72 65 2c 20 | 61 6e 64 0a 58 28 32 29 |ftware, |and.X(2)|
|00000b10| 20 6f 66 66 65 72 20 79 | 6f 75 20 74 68 69 73 20 | offer y|ou this |
|00000b20| 6c 69 63 65 6e 73 65 20 | 77 68 69 63 68 20 67 69 |license |which gi|
|00000b30| 76 65 73 20 79 6f 75 20 | 6c 65 67 61 6c 20 70 65 |ves you |legal pe|
|00000b40| 72 6d 69 73 73 69 6f 6e | 20 74 6f 20 63 6f 70 79 |rmission| to copy|
|00000b50| 2c 0a 58 64 69 73 74 72 | 69 62 75 74 65 20 61 6e |,.Xdistr|ibute an|
|00000b60| 64 2f 6f 72 20 6d 6f 64 | 69 66 79 20 74 68 65 20 |d/or mod|ify the |
|00000b70| 73 6f 66 74 77 61 72 65 | 2e 0a 58 0a 58 20 20 41 |software|..X.X A|
|00000b80| 6c 73 6f 2c 20 66 6f 72 | 20 65 61 63 68 20 61 75 |lso, for| each au|
|00000b90| 74 68 6f 72 27 73 20 70 | 72 6f 74 65 63 74 69 6f |thor's p|rotectio|
|00000ba0| 6e 20 61 6e 64 20 6f 75 | 72 73 2c 20 77 65 20 77 |n and ou|rs, we w|
|00000bb0| 61 6e 74 20 74 6f 20 6d | 61 6b 65 20 63 65 72 74 |ant to m|ake cert|
|00000bc0| 61 69 6e 0a 58 74 68 61 | 74 20 65 76 65 72 79 6f |ain.Xtha|t everyo|
|00000bd0| 6e 65 20 75 6e 64 65 72 | 73 74 61 6e 64 73 20 74 |ne under|stands t|
|00000be0| 68 61 74 20 74 68 65 72 | 65 20 69 73 20 6e 6f 20 |hat ther|e is no |
|00000bf0| 77 61 72 72 61 6e 74 79 | 20 66 6f 72 20 74 68 69 |warranty| for thi|
|00000c00| 73 20 66 72 65 65 0a 58 | 73 6f 66 74 77 61 72 65 |s free.X|software|
|00000c10| 2e 20 20 49 66 20 74 68 | 65 20 73 6f 66 74 77 61 |. If th|e softwa|
|00000c20| 72 65 20 69 73 20 6d 6f | 64 69 66 69 65 64 20 62 |re is mo|dified b|
|00000c30| 79 20 73 6f 6d 65 6f 6e | 65 20 65 6c 73 65 20 61 |y someon|e else a|
|00000c40| 6e 64 20 70 61 73 73 65 | 64 20 6f 6e 2c 20 77 65 |nd passe|d on, we|
|00000c50| 0a 58 77 61 6e 74 20 69 | 74 73 20 72 65 63 69 70 |.Xwant i|ts recip|
|00000c60| 69 65 6e 74 73 20 74 6f | 20 6b 6e 6f 77 20 74 68 |ients to| know th|
|00000c70| 61 74 20 77 68 61 74 20 | 74 68 65 79 20 68 61 76 |at what |they hav|
|00000c80| 65 20 69 73 20 6e 6f 74 | 20 74 68 65 20 6f 72 69 |e is not| the ori|
|00000c90| 67 69 6e 61 6c 2c 20 73 | 6f 0a 58 74 68 61 74 20 |ginal, s|o.Xthat |
|00000ca0| 61 6e 79 20 70 72 6f 62 | 6c 65 6d 73 20 69 6e 74 |any prob|lems int|
|00000cb0| 72 6f 64 75 63 65 64 20 | 62 79 20 6f 74 68 65 72 |roduced |by other|
|00000cc0| 73 20 77 69 6c 6c 20 6e | 6f 74 20 72 65 66 6c 65 |s will n|ot refle|
|00000cd0| 63 74 20 6f 6e 20 74 68 | 65 20 6f 72 69 67 69 6e |ct on th|e origin|
|00000ce0| 61 6c 0a 58 61 75 74 68 | 6f 72 73 27 20 72 65 70 |al.Xauth|ors' rep|
|00000cf0| 75 74 61 74 69 6f 6e 73 | 2e 0a 58 0a 58 20 20 54 |utations|..X.X T|
|00000d00| 68 65 20 70 72 65 63 69 | 73 65 20 74 65 72 6d 73 |he preci|se terms|
|00000d10| 20 61 6e 64 20 63 6f 6e | 64 69 74 69 6f 6e 73 20 | and con|ditions |
|00000d20| 66 6f 72 20 63 6f 70 79 | 69 6e 67 2c 20 64 69 73 |for copy|ing, dis|
|00000d30| 74 72 69 62 75 74 69 6f | 6e 20 61 6e 64 0a 58 6d |tributio|n and.Xm|
|00000d40| 6f 64 69 66 69 63 61 74 | 69 6f 6e 20 66 6f 6c 6c |odificat|ion foll|
|00000d50| 6f 77 2e 0a 58 0c 0a 58 | 09 09 20 20 20 20 47 4e |ow..X..X|.. GN|
|00000d60| 55 20 47 45 4e 45 52 41 | 4c 20 50 55 42 4c 49 43 |U GENERA|L PUBLIC|
|00000d70| 20 4c 49 43 45 4e 53 45 | 0a 58 20 20 20 54 45 52 | LICENSE|.X TER|
|00000d80| 4d 53 20 41 4e 44 20 43 | 4f 4e 44 49 54 49 4f 4e |MS AND C|ONDITION|
|00000d90| 53 20 46 4f 52 20 43 4f | 50 59 49 4e 47 2c 20 44 |S FOR CO|PYING, D|
|00000da0| 49 53 54 52 49 42 55 54 | 49 4f 4e 20 41 4e 44 20 |ISTRIBUT|ION AND |
|00000db0| 4d 4f 44 49 46 49 43 41 | 54 49 4f 4e 0a 58 0a 58 |MODIFICA|TION.X.X|
|00000dc0| 20 20 30 2e 20 54 68 69 | 73 20 4c 69 63 65 6e 73 | 0. Thi|s Licens|
|00000dd0| 65 20 41 67 72 65 65 6d | 65 6e 74 20 61 70 70 6c |e Agreem|ent appl|
|00000de0| 69 65 73 20 74 6f 20 61 | 6e 79 20 70 72 6f 67 72 |ies to a|ny progr|
|00000df0| 61 6d 20 6f 72 20 6f 74 | 68 65 72 20 77 6f 72 6b |am or ot|her work|
|00000e00| 20 77 68 69 63 68 0a 58 | 63 6f 6e 74 61 69 6e 73 | which.X|contains|
|00000e10| 20 61 20 6e 6f 74 69 63 | 65 20 70 6c 61 63 65 64 | a notic|e placed|
|00000e20| 20 62 79 20 74 68 65 20 | 63 6f 70 79 72 69 67 68 | by the |copyrigh|
|00000e30| 74 20 68 6f 6c 64 65 72 | 20 73 61 79 69 6e 67 20 |t holder| saying |
|00000e40| 69 74 20 6d 61 79 20 62 | 65 0a 58 64 69 73 74 72 |it may b|e.Xdistr|
|00000e50| 69 62 75 74 65 64 20 75 | 6e 64 65 72 20 74 68 65 |ibuted u|nder the|
|00000e60| 20 74 65 72 6d 73 20 6f | 66 20 74 68 69 73 20 47 | terms o|f this G|
|00000e70| 65 6e 65 72 61 6c 20 50 | 75 62 6c 69 63 20 4c 69 |eneral P|ublic Li|
|00000e80| 63 65 6e 73 65 2e 20 20 | 54 68 65 0a 58 22 50 72 |cense. |The.X"Pr|
|00000e90| 6f 67 72 61 6d 22 2c 20 | 62 65 6c 6f 77 2c 20 72 |ogram", |below, r|
|00000ea0| 65 66 65 72 73 20 74 6f | 20 61 6e 79 20 73 75 63 |efers to| any suc|
|00000eb0| 68 20 70 72 6f 67 72 61 | 6d 20 6f 72 20 77 6f 72 |h progra|m or wor|
|00000ec0| 6b 2c 20 61 6e 64 20 61 | 20 22 77 6f 72 6b 20 62 |k, and a| "work b|
|00000ed0| 61 73 65 64 0a 58 6f 6e | 20 74 68 65 20 50 72 6f |ased.Xon| the Pro|
|00000ee0| 67 72 61 6d 22 20 6d 65 | 61 6e 73 20 65 69 74 68 |gram" me|ans eith|
|00000ef0| 65 72 20 74 68 65 20 50 | 72 6f 67 72 61 6d 20 6f |er the P|rogram o|
|00000f00| 72 20 61 6e 79 20 77 6f | 72 6b 20 63 6f 6e 74 61 |r any wo|rk conta|
|00000f10| 69 6e 69 6e 67 20 74 68 | 65 0a 58 50 72 6f 67 72 |ining th|e.XProgr|
|00000f20| 61 6d 20 6f 72 20 61 20 | 70 6f 72 74 69 6f 6e 20 |am or a |portion |
|00000f30| 6f 66 20 69 74 2c 20 65 | 69 74 68 65 72 20 76 65 |of it, e|ither ve|
|00000f40| 72 62 61 74 69 6d 20 6f | 72 20 77 69 74 68 20 6d |rbatim o|r with m|
|00000f50| 6f 64 69 66 69 63 61 74 | 69 6f 6e 73 2e 20 20 45 |odificat|ions. E|
|00000f60| 61 63 68 0a 58 6c 69 63 | 65 6e 73 65 65 20 69 73 |ach.Xlic|ensee is|
|00000f70| 20 61 64 64 72 65 73 73 | 65 64 20 61 73 20 22 79 | address|ed as "y|
|00000f80| 6f 75 22 2e 0a 58 0a 58 | 20 20 31 2e 20 59 6f 75 |ou"..X.X| 1. You|
|00000f90| 20 6d 61 79 20 63 6f 70 | 79 20 61 6e 64 20 64 69 | may cop|y and di|
|00000fa0| 73 74 72 69 62 75 74 65 | 20 76 65 72 62 61 74 69 |stribute| verbati|
|00000fb0| 6d 20 63 6f 70 69 65 73 | 20 6f 66 20 74 68 65 20 |m copies| of the |
|00000fc0| 50 72 6f 67 72 61 6d 27 | 73 20 73 6f 75 72 63 65 |Program'|s source|
|00000fd0| 0a 58 63 6f 64 65 20 61 | 73 20 79 6f 75 20 72 65 |.Xcode a|s you re|
|00000fe0| 63 65 69 76 65 20 69 74 | 2c 20 69 6e 20 61 6e 79 |ceive it|, in any|
|00000ff0| 20 6d 65 64 69 75 6d 2c | 20 70 72 6f 76 69 64 65 | medium,| provide|
|00001000| 64 20 74 68 61 74 20 79 | 6f 75 20 63 6f 6e 73 70 |d that y|ou consp|
|00001010| 69 63 75 6f 75 73 6c 79 | 20 61 6e 64 0a 58 61 70 |icuously| and.Xap|
|00001020| 70 72 6f 70 72 69 61 74 | 65 6c 79 20 70 75 62 6c |propriat|ely publ|
|00001030| 69 73 68 20 6f 6e 20 65 | 61 63 68 20 63 6f 70 79 |ish on e|ach copy|
|00001040| 20 61 6e 20 61 70 70 72 | 6f 70 72 69 61 74 65 20 | an appr|opriate |
|00001050| 63 6f 70 79 72 69 67 68 | 74 20 6e 6f 74 69 63 65 |copyrigh|t notice|
|00001060| 20 61 6e 64 0a 58 64 69 | 73 63 6c 61 69 6d 65 72 | and.Xdi|sclaimer|
|00001070| 20 6f 66 20 77 61 72 72 | 61 6e 74 79 3b 20 6b 65 | of warr|anty; ke|
|00001080| 65 70 20 69 6e 74 61 63 | 74 20 61 6c 6c 20 74 68 |ep intac|t all th|
|00001090| 65 20 6e 6f 74 69 63 65 | 73 20 74 68 61 74 20 72 |e notice|s that r|
|000010a0| 65 66 65 72 20 74 6f 20 | 74 68 69 73 0a 58 47 65 |efer to |this.XGe|
|000010b0| 6e 65 72 61 6c 20 50 75 | 62 6c 69 63 20 4c 69 63 |neral Pu|blic Lic|
|000010c0| 65 6e 73 65 20 61 6e 64 | 20 74 6f 20 74 68 65 20 |ense and| to the |
|000010d0| 61 62 73 65 6e 63 65 20 | 6f 66 20 61 6e 79 20 77 |absence |of any w|
|000010e0| 61 72 72 61 6e 74 79 3b | 20 61 6e 64 20 67 69 76 |arranty;| and giv|
|000010f0| 65 20 61 6e 79 0a 58 6f | 74 68 65 72 20 72 65 63 |e any.Xo|ther rec|
|00001100| 69 70 69 65 6e 74 73 20 | 6f 66 20 74 68 65 20 50 |ipients |of the P|
|00001110| 72 6f 67 72 61 6d 20 61 | 20 63 6f 70 79 20 6f 66 |rogram a| copy of|
|00001120| 20 74 68 69 73 20 47 65 | 6e 65 72 61 6c 20 50 75 | this Ge|neral Pu|
|00001130| 62 6c 69 63 20 4c 69 63 | 65 6e 73 65 0a 58 61 6c |blic Lic|ense.Xal|
|00001140| 6f 6e 67 20 77 69 74 68 | 20 74 68 65 20 50 72 6f |ong with| the Pro|
|00001150| 67 72 61 6d 2e 20 20 59 | 6f 75 20 6d 61 79 20 63 |gram. Y|ou may c|
|00001160| 68 61 72 67 65 20 61 20 | 66 65 65 20 66 6f 72 20 |harge a |fee for |
|00001170| 74 68 65 20 70 68 79 73 | 69 63 61 6c 20 61 63 74 |the phys|ical act|
|00001180| 20 6f 66 0a 58 74 72 61 | 6e 73 66 65 72 72 69 6e | of.Xtra|nsferrin|
|00001190| 67 20 61 20 63 6f 70 79 | 2e 0a 58 0a 58 20 20 32 |g a copy|..X.X 2|
|000011a0| 2e 20 59 6f 75 20 6d 61 | 79 20 6d 6f 64 69 66 79 |. You ma|y modify|
|000011b0| 20 79 6f 75 72 20 63 6f | 70 79 20 6f 72 20 63 6f | your co|py or co|
|000011c0| 70 69 65 73 20 6f 66 20 | 74 68 65 20 50 72 6f 67 |pies of |the Prog|
|000011d0| 72 61 6d 20 6f 72 20 61 | 6e 79 20 70 6f 72 74 69 |ram or a|ny porti|
|000011e0| 6f 6e 20 6f 66 0a 58 69 | 74 2c 20 61 6e 64 20 63 |on of.Xi|t, and c|
|000011f0| 6f 70 79 20 61 6e 64 20 | 64 69 73 74 72 69 62 75 |opy and |distribu|
|00001200| 74 65 20 73 75 63 68 20 | 6d 6f 64 69 66 69 63 61 |te such |modifica|
|00001210| 74 69 6f 6e 73 20 75 6e | 64 65 72 20 74 68 65 20 |tions un|der the |
|00001220| 74 65 72 6d 73 20 6f 66 | 20 50 61 72 61 67 72 61 |terms of| Paragra|
|00001230| 70 68 0a 58 31 20 61 62 | 6f 76 65 2c 20 70 72 6f |ph.X1 ab|ove, pro|
|00001240| 76 69 64 65 64 20 74 68 | 61 74 20 79 6f 75 20 61 |vided th|at you a|
|00001250| 6c 73 6f 20 64 6f 20 74 | 68 65 20 66 6f 6c 6c 6f |lso do t|he follo|
|00001260| 77 69 6e 67 3a 0a 58 0a | 58 20 20 20 20 61 29 20 |wing:.X.|X a) |
|00001270| 63 61 75 73 65 20 74 68 | 65 20 6d 6f 64 69 66 69 |cause th|e modifi|
|00001280| 65 64 20 66 69 6c 65 73 | 20 74 6f 20 63 61 72 72 |ed files| to carr|
|00001290| 79 20 70 72 6f 6d 69 6e | 65 6e 74 20 6e 6f 74 69 |y promin|ent noti|
|000012a0| 63 65 73 20 73 74 61 74 | 69 6e 67 20 74 68 61 74 |ces stat|ing that|
|000012b0| 0a 58 20 20 20 20 79 6f | 75 20 63 68 61 6e 67 65 |.X yo|u change|
|000012c0| 64 20 74 68 65 20 66 69 | 6c 65 73 20 61 6e 64 20 |d the fi|les and |
|000012d0| 74 68 65 20 64 61 74 65 | 20 6f 66 20 61 6e 79 20 |the date| of any |
|000012e0| 63 68 61 6e 67 65 3b 20 | 61 6e 64 0a 58 0a 58 20 |change; |and.X.X |
|000012f0| 20 20 20 62 29 20 63 61 | 75 73 65 20 74 68 65 20 | b) ca|use the |
|00001300| 77 68 6f 6c 65 20 6f 66 | 20 61 6e 79 20 77 6f 72 |whole of| any wor|
|00001310| 6b 20 74 68 61 74 20 79 | 6f 75 20 64 69 73 74 72 |k that y|ou distr|
|00001320| 69 62 75 74 65 20 6f 72 | 20 70 75 62 6c 69 73 68 |ibute or| publish|
|00001330| 2c 20 74 68 61 74 0a 58 | 20 20 20 20 69 6e 20 77 |, that.X| in w|
|00001340| 68 6f 6c 65 20 6f 72 20 | 69 6e 20 70 61 72 74 20 |hole or |in part |
|00001350| 63 6f 6e 74 61 69 6e 73 | 20 74 68 65 20 50 72 6f |contains| the Pro|
|00001360| 67 72 61 6d 20 6f 72 20 | 61 6e 79 20 70 61 72 74 |gram or |any part|
|00001370| 20 74 68 65 72 65 6f 66 | 2c 20 65 69 74 68 65 72 | thereof|, either|
|00001380| 0a 58 20 20 20 20 77 69 | 74 68 20 6f 72 20 77 69 |.X wi|th or wi|
|00001390| 74 68 6f 75 74 20 6d 6f | 64 69 66 69 63 61 74 69 |thout mo|dificati|
|000013a0| 6f 6e 73 2c 20 74 6f 20 | 62 65 20 6c 69 63 65 6e |ons, to |be licen|
|000013b0| 73 65 64 20 61 74 20 6e | 6f 20 63 68 61 72 67 65 |sed at n|o charge|
|000013c0| 20 74 6f 20 61 6c 6c 0a | 58 20 20 20 20 74 68 69 | to all.|X thi|
|000013d0| 72 64 20 70 61 72 74 69 | 65 73 20 75 6e 64 65 72 |rd parti|es under|
|000013e0| 20 74 68 65 20 74 65 72 | 6d 73 20 6f 66 20 74 68 | the ter|ms of th|
|000013f0| 69 73 20 47 65 6e 65 72 | 61 6c 20 50 75 62 6c 69 |is Gener|al Publi|
|00001400| 63 20 4c 69 63 65 6e 73 | 65 20 28 65 78 63 65 70 |c Licens|e (excep|
|00001410| 74 0a 58 20 20 20 20 74 | 68 61 74 20 79 6f 75 20 |t.X t|hat you |
|00001420| 6d 61 79 20 63 68 6f 6f | 73 65 20 74 6f 20 67 72 |may choo|se to gr|
|00001430| 61 6e 74 20 77 61 72 72 | 61 6e 74 79 20 70 72 6f |ant warr|anty pro|
|00001440| 74 65 63 74 69 6f 6e 20 | 74 6f 20 73 6f 6d 65 20 |tection |to some |
|00001450| 6f 72 20 61 6c 6c 0a 58 | 20 20 20 20 74 68 69 72 |or all.X| thir|
|00001460| 64 20 70 61 72 74 69 65 | 73 2c 20 61 74 20 79 6f |d partie|s, at yo|
|00001470| 75 72 20 6f 70 74 69 6f | 6e 29 2e 0a 58 0a 58 20 |ur optio|n)..X.X |
|00001480| 20 20 20 63 29 20 49 66 | 20 74 68 65 20 6d 6f 64 | c) If| the mod|
|00001490| 69 66 69 65 64 20 70 72 | 6f 67 72 61 6d 20 6e 6f |ified pr|ogram no|
|000014a0| 72 6d 61 6c 6c 79 20 72 | 65 61 64 73 20 63 6f 6d |rmally r|eads com|
|000014b0| 6d 61 6e 64 73 20 69 6e | 74 65 72 61 63 74 69 76 |mands in|teractiv|
|000014c0| 65 6c 79 20 77 68 65 6e | 0a 58 20 20 20 20 72 75 |ely when|.X ru|
|000014d0| 6e 2c 20 79 6f 75 20 6d | 75 73 74 20 63 61 75 73 |n, you m|ust caus|
|000014e0| 65 20 69 74 2c 20 77 68 | 65 6e 20 73 74 61 72 74 |e it, wh|en start|
|000014f0| 65 64 20 72 75 6e 6e 69 | 6e 67 20 66 6f 72 20 73 |ed runni|ng for s|
|00001500| 75 63 68 20 69 6e 74 65 | 72 61 63 74 69 76 65 20 |uch inte|ractive |
|00001510| 75 73 65 0a 58 20 20 20 | 20 69 6e 20 74 68 65 20 |use.X | in the |
|00001520| 73 69 6d 70 6c 65 73 74 | 20 61 6e 64 20 6d 6f 73 |simplest| and mos|
|00001530| 74 20 75 73 75 61 6c 20 | 77 61 79 2c 20 74 6f 20 |t usual |way, to |
|00001540| 70 72 69 6e 74 20 6f 72 | 20 64 69 73 70 6c 61 79 |print or| display|
|00001550| 20 61 6e 0a 58 20 20 20 | 20 61 6e 6e 6f 75 6e 63 | an.X | announc|
|00001560| 65 6d 65 6e 74 20 69 6e | 63 6c 75 64 69 6e 67 20 |ement in|cluding |
|00001570| 61 6e 20 61 70 70 72 6f | 70 72 69 61 74 65 20 63 |an appro|priate c|
|00001580| 6f 70 79 72 69 67 68 74 | 20 6e 6f 74 69 63 65 20 |opyright| notice |
|00001590| 61 6e 64 20 61 20 6e 6f | 74 69 63 65 0a 58 20 20 |and a no|tice.X |
|000015a0| 20 20 74 68 61 74 20 74 | 68 65 72 65 20 69 73 20 | that t|here is |
|000015b0| 6e 6f 20 77 61 72 72 61 | 6e 74 79 20 28 6f 72 20 |no warra|nty (or |
|000015c0| 65 6c 73 65 2c 20 73 61 | 79 69 6e 67 20 74 68 61 |else, sa|ying tha|
|000015d0| 74 20 79 6f 75 20 70 72 | 6f 76 69 64 65 20 61 0a |t you pr|ovide a.|
|000015e0| 58 20 20 20 20 77 61 72 | 72 61 6e 74 79 29 20 61 |X war|ranty) a|
|000015f0| 6e 64 20 74 68 61 74 20 | 75 73 65 72 73 20 6d 61 |nd that |users ma|
|00001600| 79 20 72 65 64 69 73 74 | 72 69 62 75 74 65 20 74 |y redist|ribute t|
|00001610| 68 65 20 70 72 6f 67 72 | 61 6d 20 75 6e 64 65 72 |he progr|am under|
|00001620| 20 74 68 65 73 65 0a 58 | 20 20 20 20 63 6f 6e 64 | these.X| cond|
|00001630| 69 74 69 6f 6e 73 2c 20 | 61 6e 64 20 74 65 6c 6c |itions, |and tell|
|00001640| 69 6e 67 20 74 68 65 20 | 75 73 65 72 20 68 6f 77 |ing the |user how|
|00001650| 20 74 6f 20 76 69 65 77 | 20 61 20 63 6f 70 79 20 | to view| a copy |
|00001660| 6f 66 20 74 68 69 73 20 | 47 65 6e 65 72 61 6c 0a |of this |General.|
|00001670| 58 20 20 20 20 50 75 62 | 6c 69 63 20 4c 69 63 65 |X Pub|lic Lice|
|00001680| 6e 73 65 2e 0a 58 0a 58 | 20 20 20 20 64 29 20 59 |nse..X.X| d) Y|
|00001690| 6f 75 20 6d 61 79 20 63 | 68 61 72 67 65 20 61 20 |ou may c|harge a |
|000016a0| 66 65 65 20 66 6f 72 20 | 74 68 65 20 70 68 79 73 |fee for |the phys|
|000016b0| 69 63 61 6c 20 61 63 74 | 20 6f 66 20 74 72 61 6e |ical act| of tran|
|000016c0| 73 66 65 72 72 69 6e 67 | 20 61 0a 58 20 20 20 20 |sferring| a.X |
|000016d0| 63 6f 70 79 2c 20 61 6e | 64 20 79 6f 75 20 6d 61 |copy, an|d you ma|
|000016e0| 79 20 61 74 20 79 6f 75 | 72 20 6f 70 74 69 6f 6e |y at you|r option|
|000016f0| 20 6f 66 66 65 72 20 77 | 61 72 72 61 6e 74 79 20 | offer w|arranty |
|00001700| 70 72 6f 74 65 63 74 69 | 6f 6e 20 69 6e 0a 58 20 |protecti|on in.X |
|00001710| 20 20 20 65 78 63 68 61 | 6e 67 65 20 66 6f 72 20 | excha|nge for |
|00001720| 61 20 66 65 65 2e 0a 58 | 0a 58 4d 65 72 65 20 61 |a fee..X|.XMere a|
|00001730| 67 67 72 65 67 61 74 69 | 6f 6e 20 6f 66 20 61 6e |ggregati|on of an|
|00001740| 6f 74 68 65 72 20 69 6e | 64 65 70 65 6e 64 65 6e |other in|dependen|
|00001750| 74 20 77 6f 72 6b 20 77 | 69 74 68 20 74 68 65 20 |t work w|ith the |
|00001760| 50 72 6f 67 72 61 6d 20 | 28 6f 72 20 69 74 73 0a |Program |(or its.|
|00001770| 58 64 65 72 69 76 61 74 | 69 76 65 29 20 6f 6e 20 |Xderivat|ive) on |
|00001780| 61 20 76 6f 6c 75 6d 65 | 20 6f 66 20 61 20 73 74 |a volume| of a st|
|00001790| 6f 72 61 67 65 20 6f 72 | 20 64 69 73 74 72 69 62 |orage or| distrib|
|000017a0| 75 74 69 6f 6e 20 6d 65 | 64 69 75 6d 20 64 6f 65 |ution me|dium doe|
|000017b0| 73 20 6e 6f 74 20 62 72 | 69 6e 67 0a 58 74 68 65 |s not br|ing.Xthe|
|000017c0| 20 6f 74 68 65 72 20 77 | 6f 72 6b 20 75 6e 64 65 | other w|ork unde|
|000017d0| 72 20 74 68 65 20 73 63 | 6f 70 65 20 6f 66 20 74 |r the sc|ope of t|
|000017e0| 68 65 73 65 20 74 65 72 | 6d 73 2e 0a 58 0c 0a 58 |hese ter|ms..X..X|
|000017f0| 20 20 33 2e 20 59 6f 75 | 20 6d 61 79 20 63 6f 70 | 3. You| may cop|
|00001800| 79 20 61 6e 64 20 64 69 | 73 74 72 69 62 75 74 65 |y and di|stribute|
|00001810| 20 74 68 65 20 50 72 6f | 67 72 61 6d 20 28 6f 72 | the Pro|gram (or|
|00001820| 20 61 20 70 6f 72 74 69 | 6f 6e 20 6f 72 20 64 65 | a porti|on or de|
|00001830| 72 69 76 61 74 69 76 65 | 20 6f 66 0a 58 69 74 2c |rivative| of.Xit,|
|00001840| 20 75 6e 64 65 72 20 50 | 61 72 61 67 72 61 70 68 | under P|aragraph|
|00001850| 20 32 29 20 69 6e 20 6f | 62 6a 65 63 74 20 63 6f | 2) in o|bject co|
|00001860| 64 65 20 6f 72 20 65 78 | 65 63 75 74 61 62 6c 65 |de or ex|ecutable|
|00001870| 20 66 6f 72 6d 20 75 6e | 64 65 72 20 74 68 65 20 | form un|der the |
|00001880| 74 65 72 6d 73 20 6f 66 | 0a 58 50 61 72 61 67 72 |terms of|.XParagr|
|00001890| 61 70 68 73 20 31 20 61 | 6e 64 20 32 20 61 62 6f |aphs 1 a|nd 2 abo|
|000018a0| 76 65 20 70 72 6f 76 69 | 64 65 64 20 74 68 61 74 |ve provi|ded that|
|000018b0| 20 79 6f 75 20 61 6c 73 | 6f 20 64 6f 20 6f 6e 65 | you als|o do one|
|000018c0| 20 6f 66 20 74 68 65 20 | 66 6f 6c 6c 6f 77 69 6e | of the |followin|
|000018d0| 67 3a 0a 58 0a 58 20 20 | 20 20 61 29 20 61 63 63 |g:.X.X | a) acc|
|000018e0| 6f 6d 70 61 6e 79 20 69 | 74 20 77 69 74 68 20 74 |ompany i|t with t|
|000018f0| 68 65 20 63 6f 6d 70 6c | 65 74 65 20 63 6f 72 72 |he compl|ete corr|
|00001900| 65 73 70 6f 6e 64 69 6e | 67 20 6d 61 63 68 69 6e |espondin|g machin|
|00001910| 65 2d 72 65 61 64 61 62 | 6c 65 0a 58 20 20 20 20 |e-readab|le.X |
|00001920| 73 6f 75 72 63 65 20 63 | 6f 64 65 2c 20 77 68 69 |source c|ode, whi|
|00001930| 63 68 20 6d 75 73 74 20 | 62 65 20 64 69 73 74 72 |ch must |be distr|
|00001940| 69 62 75 74 65 64 20 75 | 6e 64 65 72 20 74 68 65 |ibuted u|nder the|
|00001950| 20 74 65 72 6d 73 20 6f | 66 0a 58 20 20 20 20 50 | terms o|f.X P|
|00001960| 61 72 61 67 72 61 70 68 | 73 20 31 20 61 6e 64 20 |aragraph|s 1 and |
|00001970| 32 20 61 62 6f 76 65 3b | 20 6f 72 2c 0a 58 0a 58 |2 above;| or,.X.X|
|00001980| 20 20 20 20 62 29 20 61 | 63 63 6f 6d 70 61 6e 79 | b) a|ccompany|
|00001990| 20 69 74 20 77 69 74 68 | 20 61 20 77 72 69 74 74 | it with| a writt|
|000019a0| 65 6e 20 6f 66 66 65 72 | 2c 20 76 61 6c 69 64 20 |en offer|, valid |
|000019b0| 66 6f 72 20 61 74 20 6c | 65 61 73 74 20 74 68 72 |for at l|east thr|
|000019c0| 65 65 0a 58 20 20 20 20 | 79 65 61 72 73 2c 20 74 |ee.X |years, t|
|000019d0| 6f 20 67 69 76 65 20 61 | 6e 79 20 74 68 69 72 64 |o give a|ny third|
|000019e0| 20 70 61 72 74 79 20 66 | 72 65 65 20 28 65 78 63 | party f|ree (exc|
|000019f0| 65 70 74 20 66 6f 72 20 | 61 20 6e 6f 6d 69 6e 61 |ept for |a nomina|
|00001a00| 6c 20 63 68 61 72 67 65 | 0a 58 20 20 20 20 66 6f |l charge|.X fo|
|00001a10| 72 20 74 68 65 20 63 6f | 73 74 20 6f 66 20 64 69 |r the co|st of di|
|00001a20| 73 74 72 69 62 75 74 69 | 6f 6e 29 20 61 20 63 6f |stributi|on) a co|
|00001a30| 6d 70 6c 65 74 65 20 6d | 61 63 68 69 6e 65 2d 72 |mplete m|achine-r|
|00001a40| 65 61 64 61 62 6c 65 20 | 63 6f 70 79 20 6f 66 20 |eadable |copy of |
|00001a50| 74 68 65 0a 58 20 20 20 | 20 63 6f 72 72 65 73 70 |the.X | corresp|
|00001a60| 6f 6e 64 69 6e 67 20 73 | 6f 75 72 63 65 20 63 6f |onding s|ource co|
|00001a70| 64 65 2c 20 74 6f 20 62 | 65 20 64 69 73 74 72 69 |de, to b|e distri|
|00001a80| 62 75 74 65 64 20 75 6e | 64 65 72 20 74 68 65 20 |buted un|der the |
|00001a90| 74 65 72 6d 73 20 6f 66 | 0a 58 20 20 20 20 50 61 |terms of|.X Pa|
|00001aa0| 72 61 67 72 61 70 68 73 | 20 31 20 61 6e 64 20 32 |ragraphs| 1 and 2|
|00001ab0| 20 61 62 6f 76 65 3b 20 | 6f 72 2c 0a 58 0a 58 20 | above; |or,.X.X |
|00001ac0| 20 20 20 63 29 20 61 63 | 63 6f 6d 70 61 6e 79 20 | c) ac|company |
|00001ad0| 69 74 20 77 69 74 68 20 | 74 68 65 20 69 6e 66 6f |it with |the info|
|00001ae0| 72 6d 61 74 69 6f 6e 20 | 79 6f 75 20 72 65 63 65 |rmation |you rece|
|00001af0| 69 76 65 64 20 61 73 20 | 74 6f 20 77 68 65 72 65 |ived as |to where|
|00001b00| 20 74 68 65 0a 58 20 20 | 20 20 63 6f 72 72 65 73 | the.X | corres|
|00001b10| 70 6f 6e 64 69 6e 67 20 | 73 6f 75 72 63 65 20 63 |ponding |source c|
|00001b20| 6f 64 65 20 6d 61 79 20 | 62 65 20 6f 62 74 61 69 |ode may |be obtai|
|00001b30| 6e 65 64 2e 20 20 28 54 | 68 69 73 20 61 6c 74 65 |ned. (T|his alte|
|00001b40| 72 6e 61 74 69 76 65 20 | 69 73 0a 58 20 20 20 20 |rnative |is.X |
|00001b50| 61 6c 6c 6f 77 65 64 20 | 6f 6e 6c 79 20 66 6f 72 |allowed |only for|
|00001b60| 20 6e 6f 6e 63 6f 6d 6d | 65 72 63 69 61 6c 20 64 | noncomm|ercial d|
|00001b70| 69 73 74 72 69 62 75 74 | 69 6f 6e 20 61 6e 64 20 |istribut|ion and |
|00001b80| 6f 6e 6c 79 20 69 66 20 | 79 6f 75 0a 58 20 20 20 |only if |you.X |
|00001b90| 20 72 65 63 65 69 76 65 | 64 20 74 68 65 20 70 72 | receive|d the pr|
|00001ba0| 6f 67 72 61 6d 20 69 6e | 20 6f 62 6a 65 63 74 20 |ogram in| object |
|00001bb0| 63 6f 64 65 20 6f 72 20 | 65 78 65 63 75 74 61 62 |code or |executab|
|00001bc0| 6c 65 20 66 6f 72 6d 20 | 61 6c 6f 6e 65 2e 29 0a |le form |alone.).|
|00001bd0| 58 0a 58 53 6f 75 72 63 | 65 20 63 6f 64 65 20 66 |X.XSourc|e code f|
|00001be0| 6f 72 20 61 20 77 6f 72 | 6b 20 6d 65 61 6e 73 20 |or a wor|k means |
|00001bf0| 74 68 65 20 70 72 65 66 | 65 72 72 65 64 20 66 6f |the pref|erred fo|
|00001c00| 72 6d 20 6f 66 20 74 68 | 65 20 77 6f 72 6b 20 66 |rm of th|e work f|
|00001c10| 6f 72 20 6d 61 6b 69 6e | 67 0a 58 6d 6f 64 69 66 |or makin|g.Xmodif|
|00001c20| 69 63 61 74 69 6f 6e 73 | 20 74 6f 20 69 74 2e 20 |ications| to it. |
|00001c30| 20 46 6f 72 20 61 6e 20 | 65 78 65 63 75 74 61 62 | For an |executab|
|00001c40| 6c 65 20 66 69 6c 65 2c | 20 63 6f 6d 70 6c 65 74 |le file,| complet|
|00001c50| 65 20 73 6f 75 72 63 65 | 20 63 6f 64 65 20 6d 65 |e source| code me|
|00001c60| 61 6e 73 0a 58 61 6c 6c | 20 74 68 65 20 73 6f 75 |ans.Xall| the sou|
|00001c70| 72 63 65 20 63 6f 64 65 | 20 66 6f 72 20 61 6c 6c |rce code| for all|
|00001c80| 20 6d 6f 64 75 6c 65 73 | 20 69 74 20 63 6f 6e 74 | modules| it cont|
|00001c90| 61 69 6e 73 3b 20 62 75 | 74 2c 20 61 73 20 61 20 |ains; bu|t, as a |
|00001ca0| 73 70 65 63 69 61 6c 0a | 58 65 78 63 65 70 74 69 |special.|Xexcepti|
|00001cb0| 6f 6e 2c 20 69 74 20 6e | 65 65 64 20 6e 6f 74 20 |on, it n|eed not |
|00001cc0| 69 6e 63 6c 75 64 65 20 | 73 6f 75 72 63 65 20 63 |include |source c|
|00001cd0| 6f 64 65 20 66 6f 72 20 | 6d 6f 64 75 6c 65 73 20 |ode for |modules |
|00001ce0| 77 68 69 63 68 20 61 72 | 65 20 73 74 61 6e 64 61 |which ar|e standa|
|00001cf0| 72 64 0a 58 6c 69 62 72 | 61 72 69 65 73 20 74 68 |rd.Xlibr|aries th|
|00001d00| 61 74 20 61 63 63 6f 6d | 70 61 6e 79 20 74 68 65 |at accom|pany the|
|00001d10| 20 6f 70 65 72 61 74 69 | 6e 67 20 73 79 73 74 65 | operati|ng syste|
|00001d20| 6d 20 6f 6e 20 77 68 69 | 63 68 20 74 68 65 20 65 |m on whi|ch the e|
|00001d30| 78 65 63 75 74 61 62 6c | 65 0a 58 66 69 6c 65 20 |xecutabl|e.Xfile |
|00001d40| 72 75 6e 73 2c 20 6f 72 | 20 66 6f 72 20 73 74 61 |runs, or| for sta|
|00001d50| 6e 64 61 72 64 20 68 65 | 61 64 65 72 20 66 69 6c |ndard he|ader fil|
|00001d60| 65 73 20 6f 72 20 64 65 | 66 69 6e 69 74 69 6f 6e |es or de|finition|
|00001d70| 73 20 66 69 6c 65 73 20 | 74 68 61 74 0a 58 61 63 |s files |that.Xac|
|00001d80| 63 6f 6d 70 61 6e 79 20 | 74 68 61 74 20 6f 70 65 |company |that ope|
|00001d90| 72 61 74 69 6e 67 20 73 | 79 73 74 65 6d 2e 0a 58 |rating s|ystem..X|
|00001da0| 0a 58 20 20 34 2e 20 59 | 6f 75 20 6d 61 79 20 6e |.X 4. Y|ou may n|
|00001db0| 6f 74 20 63 6f 70 79 2c | 20 6d 6f 64 69 66 79 2c |ot copy,| modify,|
|00001dc0| 20 73 75 62 6c 69 63 65 | 6e 73 65 2c 20 64 69 73 | sublice|nse, dis|
|00001dd0| 74 72 69 62 75 74 65 20 | 6f 72 20 74 72 61 6e 73 |tribute |or trans|
|00001de0| 66 65 72 20 74 68 65 0a | 58 50 72 6f 67 72 61 6d |fer the.|XProgram|
|00001df0| 20 65 78 63 65 70 74 20 | 61 73 20 65 78 70 72 65 | except |as expre|
|00001e00| 73 73 6c 79 20 70 72 6f | 76 69 64 65 64 20 75 6e |ssly pro|vided un|
|00001e10| 64 65 72 20 74 68 69 73 | 20 47 65 6e 65 72 61 6c |der this| General|
|00001e20| 20 50 75 62 6c 69 63 20 | 4c 69 63 65 6e 73 65 2e | Public |License.|
|00001e30| 0a 58 41 6e 79 20 61 74 | 74 65 6d 70 74 20 6f 74 |.XAny at|tempt ot|
|00001e40| 68 65 72 77 69 73 65 20 | 74 6f 20 63 6f 70 79 2c |herwise |to copy,|
|00001e50| 20 6d 6f 64 69 66 79 2c | 20 73 75 62 6c 69 63 65 | modify,| sublice|
|00001e60| 6e 73 65 2c 20 64 69 73 | 74 72 69 62 75 74 65 20 |nse, dis|tribute |
|00001e70| 6f 72 20 74 72 61 6e 73 | 66 65 72 0a 58 74 68 65 |or trans|fer.Xthe|
|00001e80| 20 50 72 6f 67 72 61 6d | 20 69 73 20 76 6f 69 64 | Program| is void|
|00001e90| 2c 20 61 6e 64 20 77 69 | 6c 6c 20 61 75 74 6f 6d |, and wi|ll autom|
|00001ea0| 61 74 69 63 61 6c 6c 79 | 20 74 65 72 6d 69 6e 61 |atically| termina|
|00001eb0| 74 65 20 79 6f 75 72 20 | 72 69 67 68 74 73 20 74 |te your |rights t|
|00001ec0| 6f 20 75 73 65 0a 58 74 | 68 65 20 50 72 6f 67 72 |o use.Xt|he Progr|
|00001ed0| 61 6d 20 75 6e 64 65 72 | 20 74 68 69 73 20 4c 69 |am under| this Li|
|00001ee0| 63 65 6e 73 65 2e 20 20 | 48 6f 77 65 76 65 72 2c |cense. |However,|
|00001ef0| 20 70 61 72 74 69 65 73 | 20 77 68 6f 20 68 61 76 | parties| who hav|
|00001f00| 65 20 72 65 63 65 69 76 | 65 64 0a 58 63 6f 70 69 |e receiv|ed.Xcopi|
|00001f10| 65 73 2c 20 6f 72 20 72 | 69 67 68 74 73 20 74 6f |es, or r|ights to|
|00001f20| 20 75 73 65 20 63 6f 70 | 69 65 73 2c 20 66 72 6f | use cop|ies, fro|
|00001f30| 6d 20 79 6f 75 20 75 6e | 64 65 72 20 74 68 69 73 |m you un|der this|
|00001f40| 20 47 65 6e 65 72 61 6c | 20 50 75 62 6c 69 63 0a | General| Public.|
|00001f50| 58 4c 69 63 65 6e 73 65 | 20 77 69 6c 6c 20 6e 6f |XLicense| will no|
|00001f60| 74 20 68 61 76 65 20 74 | 68 65 69 72 20 6c 69 63 |t have t|heir lic|
|00001f70| 65 6e 73 65 73 20 74 65 | 72 6d 69 6e 61 74 65 64 |enses te|rminated|
|00001f80| 20 73 6f 20 6c 6f 6e 67 | 20 61 73 20 73 75 63 68 | so long| as such|
|00001f90| 20 70 61 72 74 69 65 73 | 0a 58 72 65 6d 61 69 6e | parties|.Xremain|
|00001fa0| 20 69 6e 20 66 75 6c 6c | 20 63 6f 6d 70 6c 69 61 | in full| complia|
|00001fb0| 6e 63 65 2e 0a 58 0a 58 | 20 20 35 2e 20 42 79 20 |nce..X.X| 5. By |
|00001fc0| 63 6f 70 79 69 6e 67 2c | 20 64 69 73 74 72 69 62 |copying,| distrib|
|00001fd0| 75 74 69 6e 67 20 6f 72 | 20 6d 6f 64 69 66 79 69 |uting or| modifyi|
|00001fe0| 6e 67 20 74 68 65 20 50 | 72 6f 67 72 61 6d 20 28 |ng the P|rogram (|
|00001ff0| 6f 72 20 61 6e 79 20 77 | 6f 72 6b 20 62 61 73 65 |or any w|ork base|
|00002000| 64 0a 58 6f 6e 20 74 68 | 65 20 50 72 6f 67 72 61 |d.Xon th|e Progra|
|00002010| 6d 29 20 79 6f 75 20 69 | 6e 64 69 63 61 74 65 20 |m) you i|ndicate |
|00002020| 79 6f 75 72 20 61 63 63 | 65 70 74 61 6e 63 65 20 |your acc|eptance |
|00002030| 6f 66 20 74 68 69 73 20 | 6c 69 63 65 6e 73 65 20 |of this |license |
|00002040| 74 6f 20 64 6f 20 73 6f | 2c 0a 58 61 6e 64 20 61 |to do so|,.Xand a|
|00002050| 6c 6c 20 69 74 73 20 74 | 65 72 6d 73 20 61 6e 64 |ll its t|erms and|
|00002060| 20 63 6f 6e 64 69 74 69 | 6f 6e 73 2e 0a 58 0a 58 | conditi|ons..X.X|
|00002070| 20 20 36 2e 20 45 61 63 | 68 20 74 69 6d 65 20 79 | 6. Eac|h time y|
|00002080| 6f 75 20 72 65 64 69 73 | 74 72 69 62 75 74 65 20 |ou redis|tribute |
|00002090| 74 68 65 20 50 72 6f 67 | 72 61 6d 20 28 6f 72 20 |the Prog|ram (or |
|000020a0| 61 6e 79 20 77 6f 72 6b | 20 62 61 73 65 64 20 6f |any work| based o|
|000020b0| 6e 20 74 68 65 0a 58 50 | 72 6f 67 72 61 6d 29 2c |n the.XP|rogram),|
|000020c0| 20 74 68 65 20 72 65 63 | 69 70 69 65 6e 74 20 61 | the rec|ipient a|
|000020d0| 75 74 6f 6d 61 74 69 63 | 61 6c 6c 79 20 72 65 63 |utomatic|ally rec|
|000020e0| 65 69 76 65 73 20 61 20 | 6c 69 63 65 6e 73 65 20 |eives a |license |
|000020f0| 66 72 6f 6d 20 74 68 65 | 20 6f 72 69 67 69 6e 61 |from the| origina|
|00002100| 6c 0a 58 6c 69 63 65 6e | 73 6f 72 20 74 6f 20 63 |l.Xlicen|sor to c|
|00002110| 6f 70 79 2c 20 64 69 73 | 74 72 69 62 75 74 65 20 |opy, dis|tribute |
|00002120| 6f 72 20 6d 6f 64 69 66 | 79 20 74 68 65 20 50 72 |or modif|y the Pr|
|00002130| 6f 67 72 61 6d 20 73 75 | 62 6a 65 63 74 20 74 6f |ogram su|bject to|
|00002140| 20 74 68 65 73 65 0a 58 | 74 65 72 6d 73 20 61 6e | these.X|terms an|
|00002150| 64 20 63 6f 6e 64 69 74 | 69 6f 6e 73 2e 20 20 59 |d condit|ions. Y|
|00002160| 6f 75 20 6d 61 79 20 6e | 6f 74 20 69 6d 70 6f 73 |ou may n|ot impos|
|00002170| 65 20 61 6e 79 20 66 75 | 72 74 68 65 72 20 72 65 |e any fu|rther re|
|00002180| 73 74 72 69 63 74 69 6f | 6e 73 20 6f 6e 20 74 68 |strictio|ns on th|
|00002190| 65 0a 58 72 65 63 69 70 | 69 65 6e 74 73 27 20 65 |e.Xrecip|ients' e|
|000021a0| 78 65 72 63 69 73 65 20 | 6f 66 20 74 68 65 20 72 |xercise |of the r|
|000021b0| 69 67 68 74 73 20 67 72 | 61 6e 74 65 64 20 68 65 |ights gr|anted he|
|000021c0| 72 65 69 6e 2e 0a 58 0c | 0a 58 20 20 37 2e 20 54 |rein..X.|.X 7. T|
|000021d0| 68 65 20 46 72 65 65 20 | 53 6f 66 74 77 61 72 65 |he Free |Software|
|000021e0| 20 46 6f 75 6e 64 61 74 | 69 6f 6e 20 6d 61 79 20 | Foundat|ion may |
|000021f0| 70 75 62 6c 69 73 68 20 | 72 65 76 69 73 65 64 20 |publish |revised |
|00002200| 61 6e 64 2f 6f 72 20 6e | 65 77 20 76 65 72 73 69 |and/or n|ew versi|
|00002210| 6f 6e 73 0a 58 6f 66 20 | 74 68 65 20 47 65 6e 65 |ons.Xof |the Gene|
|00002220| 72 61 6c 20 50 75 62 6c | 69 63 20 4c 69 63 65 6e |ral Publ|ic Licen|
|00002230| 73 65 20 66 72 6f 6d 20 | 74 69 6d 65 20 74 6f 20 |se from |time to |
|00002240| 74 69 6d 65 2e 20 20 53 | 75 63 68 20 6e 65 77 20 |time. S|uch new |
|00002250| 76 65 72 73 69 6f 6e 73 | 20 77 69 6c 6c 0a 58 62 |versions| will.Xb|
|00002260| 65 20 73 69 6d 69 6c 61 | 72 20 69 6e 20 73 70 69 |e simila|r in spi|
|00002270| 72 69 74 20 74 6f 20 74 | 68 65 20 70 72 65 73 65 |rit to t|he prese|
|00002280| 6e 74 20 76 65 72 73 69 | 6f 6e 2c 20 62 75 74 20 |nt versi|on, but |
|00002290| 6d 61 79 20 64 69 66 66 | 65 72 20 69 6e 20 64 65 |may diff|er in de|
|000022a0| 74 61 69 6c 20 74 6f 0a | 58 61 64 64 72 65 73 73 |tail to.|Xaddress|
|000022b0| 20 6e 65 77 20 70 72 6f | 62 6c 65 6d 73 20 6f 72 | new pro|blems or|
|000022c0| 20 63 6f 6e 63 65 72 6e | 73 2e 0a 58 0a 58 45 61 | concern|s..X.XEa|
|000022d0| 63 68 20 76 65 72 73 69 | 6f 6e 20 69 73 20 67 69 |ch versi|on is gi|
|000022e0| 76 65 6e 20 61 20 64 69 | 73 74 69 6e 67 75 69 73 |ven a di|stinguis|
|000022f0| 68 69 6e 67 20 76 65 72 | 73 69 6f 6e 20 6e 75 6d |hing ver|sion num|
|00002300| 62 65 72 2e 20 20 49 66 | 20 74 68 65 20 50 72 6f |ber. If| the Pro|
|00002310| 67 72 61 6d 0a 58 73 70 | 65 63 69 66 69 65 73 20 |gram.Xsp|ecifies |
|00002320| 61 20 76 65 72 73 69 6f | 6e 20 6e 75 6d 62 65 72 |a versio|n number|
|00002330| 20 6f 66 20 74 68 65 20 | 6c 69 63 65 6e 73 65 20 | of the |license |
|00002340| 77 68 69 63 68 20 61 70 | 70 6c 69 65 73 20 74 6f |which ap|plies to|
|00002350| 20 69 74 20 61 6e 64 20 | 22 61 6e 79 0a 58 6c 61 | it and |"any.Xla|
|00002360| 74 65 72 20 76 65 72 73 | 69 6f 6e 22 2c 20 79 6f |ter vers|ion", yo|
|00002370| 75 20 68 61 76 65 20 74 | 68 65 20 6f 70 74 69 6f |u have t|he optio|
|00002380| 6e 20 6f 66 20 66 6f 6c | 6c 6f 77 69 6e 67 20 74 |n of fol|lowing t|
|00002390| 68 65 20 74 65 72 6d 73 | 20 61 6e 64 20 63 6f 6e |he terms| and con|
|000023a0| 64 69 74 69 6f 6e 73 0a | 58 65 69 74 68 65 72 20 |ditions.|Xeither |
|000023b0| 6f 66 20 74 68 61 74 20 | 76 65 72 73 69 6f 6e 20 |of that |version |
|000023c0| 6f 72 20 6f 66 20 61 6e | 79 20 6c 61 74 65 72 20 |or of an|y later |
|000023d0| 76 65 72 73 69 6f 6e 20 | 70 75 62 6c 69 73 68 65 |version |publishe|
|000023e0| 64 20 62 79 20 74 68 65 | 20 46 72 65 65 0a 58 53 |d by the| Free.XS|
|000023f0| 6f 66 74 77 61 72 65 20 | 46 6f 75 6e 64 61 74 69 |oftware |Foundati|
|00002400| 6f 6e 2e 20 20 49 66 20 | 74 68 65 20 50 72 6f 67 |on. If |the Prog|
|00002410| 72 61 6d 20 64 6f 65 73 | 20 6e 6f 74 20 73 70 65 |ram does| not spe|
|00002420| 63 69 66 79 20 61 20 76 | 65 72 73 69 6f 6e 20 6e |cify a v|ersion n|
|00002430| 75 6d 62 65 72 20 6f 66 | 0a 58 74 68 65 20 6c 69 |umber of|.Xthe li|
|00002440| 63 65 6e 73 65 2c 20 79 | 6f 75 20 6d 61 79 20 63 |cense, y|ou may c|
|00002450| 68 6f 6f 73 65 20 61 6e | 79 20 76 65 72 73 69 6f |hoose an|y versio|
|00002460| 6e 20 65 76 65 72 20 70 | 75 62 6c 69 73 68 65 64 |n ever p|ublished|
|00002470| 20 62 79 20 74 68 65 20 | 46 72 65 65 20 53 6f 66 | by the |Free Sof|
|00002480| 74 77 61 72 65 0a 58 46 | 6f 75 6e 64 61 74 69 6f |tware.XF|oundatio|
|00002490| 6e 2e 0a 58 0a 58 20 20 | 38 2e 20 49 66 20 79 6f |n..X.X |8. If yo|
|000024a0| 75 20 77 69 73 68 20 74 | 6f 20 69 6e 63 6f 72 70 |u wish t|o incorp|
|000024b0| 6f 72 61 74 65 20 70 61 | 72 74 73 20 6f 66 20 74 |orate pa|rts of t|
|000024c0| 68 65 20 50 72 6f 67 72 | 61 6d 20 69 6e 74 6f 20 |he Progr|am into |
|000024d0| 6f 74 68 65 72 20 66 72 | 65 65 0a 58 70 72 6f 67 |other fr|ee.Xprog|
|000024e0| 72 61 6d 73 20 77 68 6f | 73 65 20 64 69 73 74 72 |rams who|se distr|
|000024f0| 69 62 75 74 69 6f 6e 20 | 63 6f 6e 64 69 74 69 6f |ibution |conditio|
|00002500| 6e 73 20 61 72 65 20 64 | 69 66 66 65 72 65 6e 74 |ns are d|ifferent|
|00002510| 2c 20 77 72 69 74 65 20 | 74 6f 20 74 68 65 20 61 |, write |to the a|
|00002520| 75 74 68 6f 72 0a 58 74 | 6f 20 61 73 6b 20 66 6f |uthor.Xt|o ask fo|
|00002530| 72 20 70 65 72 6d 69 73 | 73 69 6f 6e 2e 20 20 46 |r permis|sion. F|
|00002540| 6f 72 20 73 6f 66 74 77 | 61 72 65 20 77 68 69 63 |or softw|are whic|
|00002550| 68 20 69 73 20 63 6f 70 | 79 72 69 67 68 74 65 64 |h is cop|yrighted|
|00002560| 20 62 79 20 74 68 65 20 | 46 72 65 65 0a 58 53 6f | by the |Free.XSo|
|00002570| 66 74 77 61 72 65 20 46 | 6f 75 6e 64 61 74 69 6f |ftware F|oundatio|
|00002580| 6e 2c 20 77 72 69 74 65 | 20 74 6f 20 74 68 65 20 |n, write| to the |
|00002590| 46 72 65 65 20 53 6f 66 | 74 77 61 72 65 20 46 6f |Free Sof|tware Fo|
|000025a0| 75 6e 64 61 74 69 6f 6e | 3b 20 77 65 20 73 6f 6d |undation|; we som|
|000025b0| 65 74 69 6d 65 73 0a 58 | 6d 61 6b 65 20 65 78 63 |etimes.X|make exc|
|000025c0| 65 70 74 69 6f 6e 73 20 | 66 6f 72 20 74 68 69 73 |eptions |for this|
|000025d0| 2e 20 20 4f 75 72 20 64 | 65 63 69 73 69 6f 6e 20 |. Our d|ecision |
|000025e0| 77 69 6c 6c 20 62 65 20 | 67 75 69 64 65 64 20 62 |will be |guided b|
|000025f0| 79 20 74 68 65 20 74 77 | 6f 20 67 6f 61 6c 73 0a |y the tw|o goals.|
|00002600| 58 6f 66 20 70 72 65 73 | 65 72 76 69 6e 67 20 74 |Xof pres|erving t|
|00002610| 68 65 20 66 72 65 65 20 | 73 74 61 74 75 73 20 6f |he free |status o|
|00002620| 66 20 61 6c 6c 20 64 65 | 72 69 76 61 74 69 76 65 |f all de|rivative|
|00002630| 73 20 6f 66 20 6f 75 72 | 20 66 72 65 65 20 73 6f |s of our| free so|
|00002640| 66 74 77 61 72 65 20 61 | 6e 64 0a 58 6f 66 20 70 |ftware a|nd.Xof p|
|00002650| 72 6f 6d 6f 74 69 6e 67 | 20 74 68 65 20 73 68 61 |romoting| the sha|
|00002660| 72 69 6e 67 20 61 6e 64 | 20 72 65 75 73 65 20 6f |ring and| reuse o|
|00002670| 66 20 73 6f 66 74 77 61 | 72 65 20 67 65 6e 65 72 |f softwa|re gener|
|00002680| 61 6c 6c 79 2e 0a 58 0a | 58 09 09 09 20 20 20 20 |ally..X.|X... |
|00002690| 4e 4f 20 57 41 52 52 41 | 4e 54 59 0a 58 0a 58 20 |NO WARRA|NTY.X.X |
|000026a0| 20 39 2e 20 42 45 43 41 | 55 53 45 20 54 48 45 20 | 9. BECA|USE THE |
|000026b0| 50 52 4f 47 52 41 4d 20 | 49 53 20 4c 49 43 45 4e |PROGRAM |IS LICEN|
|000026c0| 53 45 44 20 46 52 45 45 | 20 4f 46 20 43 48 41 52 |SED FREE| OF CHAR|
|000026d0| 47 45 2c 20 54 48 45 52 | 45 20 49 53 20 4e 4f 20 |GE, THER|E IS NO |
|000026e0| 57 41 52 52 41 4e 54 59 | 0a 58 46 4f 52 20 54 48 |WARRANTY|.XFOR TH|
|000026f0| 45 20 50 52 4f 47 52 41 | 4d 2c 20 54 4f 20 54 48 |E PROGRA|M, TO TH|
|00002700| 45 20 45 58 54 45 4e 54 | 20 50 45 52 4d 49 54 54 |E EXTENT| PERMITT|
|00002710| 45 44 20 42 59 20 41 50 | 50 4c 49 43 41 42 4c 45 |ED BY AP|PLICABLE|
|00002720| 20 4c 41 57 2e 20 20 45 | 58 43 45 50 54 20 57 48 | LAW. E|XCEPT WH|
|00002730| 45 4e 0a 58 4f 54 48 45 | 52 57 49 53 45 20 53 54 |EN.XOTHE|RWISE ST|
|00002740| 41 54 45 44 20 49 4e 20 | 57 52 49 54 49 4e 47 20 |ATED IN |WRITING |
|00002750| 54 48 45 20 43 4f 50 59 | 52 49 47 48 54 20 48 4f |THE COPY|RIGHT HO|
|00002760| 4c 44 45 52 53 20 41 4e | 44 2f 4f 52 20 4f 54 48 |LDERS AN|D/OR OTH|
|00002770| 45 52 20 50 41 52 54 49 | 45 53 0a 58 50 52 4f 56 |ER PARTI|ES.XPROV|
|00002780| 49 44 45 20 54 48 45 20 | 50 52 4f 47 52 41 4d 20 |IDE THE |PROGRAM |
|00002790| 22 41 53 20 49 53 22 20 | 57 49 54 48 4f 55 54 20 |"AS IS" |WITHOUT |
|000027a0| 57 41 52 52 41 4e 54 59 | 20 4f 46 20 41 4e 59 20 |WARRANTY| OF ANY |
|000027b0| 4b 49 4e 44 2c 20 45 49 | 54 48 45 52 20 45 58 50 |KIND, EI|THER EXP|
|000027c0| 52 45 53 53 45 44 0a 58 | 4f 52 20 49 4d 50 4c 49 |RESSED.X|OR IMPLI|
|000027d0| 45 44 2c 20 49 4e 43 4c | 55 44 49 4e 47 2c 20 42 |ED, INCL|UDING, B|
|000027e0| 55 54 20 4e 4f 54 20 4c | 49 4d 49 54 45 44 20 54 |UT NOT L|IMITED T|
|000027f0| 4f 2c 20 54 48 45 20 49 | 4d 50 4c 49 45 44 20 57 |O, THE I|MPLIED W|
|00002800| 41 52 52 41 4e 54 49 45 | 53 20 4f 46 0a 58 4d 45 |ARRANTIE|S OF.XME|
|00002810| 52 43 48 41 4e 54 41 42 | 49 4c 49 54 59 20 41 4e |RCHANTAB|ILITY AN|
|00002820| 44 20 46 49 54 4e 45 53 | 53 20 46 4f 52 20 41 20 |D FITNES|S FOR A |
|00002830| 50 41 52 54 49 43 55 4c | 41 52 20 50 55 52 50 4f |PARTICUL|AR PURPO|
|00002840| 53 45 2e 20 20 54 48 45 | 20 45 4e 54 49 52 45 20 |SE. THE| ENTIRE |
|00002850| 52 49 53 4b 20 41 53 0a | 58 54 4f 20 54 48 45 20 |RISK AS.|XTO THE |
|00002860| 51 55 41 4c 49 54 59 20 | 41 4e 44 20 50 45 52 46 |QUALITY |AND PERF|
|00002870| 4f 52 4d 41 4e 43 45 20 | 4f 46 20 54 48 45 20 50 |ORMANCE |OF THE P|
|00002880| 52 4f 47 52 41 4d 20 49 | 53 20 57 49 54 48 20 59 |ROGRAM I|S WITH Y|
|00002890| 4f 55 2e 20 20 53 48 4f | 55 4c 44 20 54 48 45 0a |OU. SHO|ULD THE.|
|000028a0| 58 50 52 4f 47 52 41 4d | 20 50 52 4f 56 45 20 44 |XPROGRAM| PROVE D|
|000028b0| 45 46 45 43 54 49 56 45 | 2c 20 59 4f 55 20 41 53 |EFECTIVE|, YOU AS|
|000028c0| 53 55 4d 45 20 54 48 45 | 20 43 4f 53 54 20 4f 46 |SUME THE| COST OF|
|000028d0| 20 41 4c 4c 20 4e 45 43 | 45 53 53 41 52 59 20 53 | ALL NEC|ESSARY S|
|000028e0| 45 52 56 49 43 49 4e 47 | 2c 0a 58 52 45 50 41 49 |ERVICING|,.XREPAI|
|000028f0| 52 20 4f 52 20 43 4f 52 | 52 45 43 54 49 4f 4e 2e |R OR COR|RECTION.|
|00002900| 0a 58 0a 58 20 20 31 30 | 2e 20 49 4e 20 4e 4f 20 |.X.X 10|. IN NO |
|00002910| 45 56 45 4e 54 20 55 4e | 4c 45 53 53 20 52 45 51 |EVENT UN|LESS REQ|
|00002920| 55 49 52 45 44 20 42 59 | 20 41 50 50 4c 49 43 41 |UIRED BY| APPLICA|
|00002930| 42 4c 45 20 4c 41 57 20 | 4f 52 20 41 47 52 45 45 |BLE LAW |OR AGREE|
|00002940| 44 20 54 4f 20 49 4e 20 | 57 52 49 54 49 4e 47 0a |D TO IN |WRITING.|
|00002950| 58 57 49 4c 4c 20 41 4e | 59 20 43 4f 50 59 52 49 |XWILL AN|Y COPYRI|
|00002960| 47 48 54 20 48 4f 4c 44 | 45 52 2c 20 4f 52 20 41 |GHT HOLD|ER, OR A|
|00002970| 4e 59 20 4f 54 48 45 52 | 20 50 41 52 54 59 20 57 |NY OTHER| PARTY W|
|00002980| 48 4f 20 4d 41 59 20 4d | 4f 44 49 46 59 20 41 4e |HO MAY M|ODIFY AN|
|00002990| 44 2f 4f 52 0a 58 52 45 | 44 49 53 54 52 49 42 55 |D/OR.XRE|DISTRIBU|
|000029a0| 54 45 20 54 48 45 20 50 | 52 4f 47 52 41 4d 20 41 |TE THE P|ROGRAM A|
|000029b0| 53 20 50 45 52 4d 49 54 | 54 45 44 20 41 42 4f 56 |S PERMIT|TED ABOV|
|000029c0| 45 2c 20 42 45 20 4c 49 | 41 42 4c 45 20 54 4f 20 |E, BE LI|ABLE TO |
|000029d0| 59 4f 55 20 46 4f 52 20 | 44 41 4d 41 47 45 53 2c |YOU FOR |DAMAGES,|
|000029e0| 0a 58 49 4e 43 4c 55 44 | 49 4e 47 20 41 4e 59 20 |.XINCLUD|ING ANY |
|000029f0| 47 45 4e 45 52 41 4c 2c | 20 53 50 45 43 49 41 4c |GENERAL,| SPECIAL|
|00002a00| 2c 20 49 4e 43 49 44 45 | 4e 54 41 4c 20 4f 52 20 |, INCIDE|NTAL OR |
|00002a10| 43 4f 4e 53 45 51 55 45 | 4e 54 49 41 4c 20 44 41 |CONSEQUE|NTIAL DA|
|00002a20| 4d 41 47 45 53 20 41 52 | 49 53 49 4e 47 0a 58 4f |MAGES AR|ISING.XO|
|00002a30| 55 54 20 4f 46 20 54 48 | 45 20 55 53 45 20 4f 52 |UT OF TH|E USE OR|
|00002a40| 20 49 4e 41 42 49 4c 49 | 54 59 20 54 4f 20 55 53 | INABILI|TY TO US|
|00002a50| 45 20 54 48 45 20 50 52 | 4f 47 52 41 4d 20 28 49 |E THE PR|OGRAM (I|
|00002a60| 4e 43 4c 55 44 49 4e 47 | 20 42 55 54 20 4e 4f 54 |NCLUDING| BUT NOT|
|00002a70| 20 4c 49 4d 49 54 45 44 | 0a 58 54 4f 20 4c 4f 53 | LIMITED|.XTO LOS|
|00002a80| 53 20 4f 46 20 44 41 54 | 41 20 4f 52 20 44 41 54 |S OF DAT|A OR DAT|
|00002a90| 41 20 42 45 49 4e 47 20 | 52 45 4e 44 45 52 45 44 |A BEING |RENDERED|
|00002aa0| 20 49 4e 41 43 43 55 52 | 41 54 45 20 4f 52 20 4c | INACCUR|ATE OR L|
|00002ab0| 4f 53 53 45 53 20 53 55 | 53 54 41 49 4e 45 44 20 |OSSES SU|STAINED |
|00002ac0| 42 59 0a 58 59 4f 55 20 | 4f 52 20 54 48 49 52 44 |BY.XYOU |OR THIRD|
|00002ad0| 20 50 41 52 54 49 45 53 | 20 4f 52 20 41 20 46 41 | PARTIES| OR A FA|
|00002ae0| 49 4c 55 52 45 20 4f 46 | 20 54 48 45 20 50 52 4f |ILURE OF| THE PRO|
|00002af0| 47 52 41 4d 20 54 4f 20 | 4f 50 45 52 41 54 45 20 |GRAM TO |OPERATE |
|00002b00| 57 49 54 48 20 41 4e 59 | 20 4f 54 48 45 52 0a 58 |WITH ANY| OTHER.X|
|00002b10| 50 52 4f 47 52 41 4d 53 | 29 2c 20 45 56 45 4e 20 |PROGRAMS|), EVEN |
|00002b20| 49 46 20 53 55 43 48 20 | 48 4f 4c 44 45 52 20 4f |IF SUCH |HOLDER O|
|00002b30| 52 20 4f 54 48 45 52 20 | 50 41 52 54 59 20 48 41 |R OTHER |PARTY HA|
|00002b40| 53 20 42 45 45 4e 20 41 | 44 56 49 53 45 44 20 4f |S BEEN A|DVISED O|
|00002b50| 46 20 54 48 45 0a 58 50 | 4f 53 53 49 42 49 4c 49 |F THE.XP|OSSIBILI|
|00002b60| 54 59 20 4f 46 20 53 55 | 43 48 20 44 41 4d 41 47 |TY OF SU|CH DAMAG|
|00002b70| 45 53 2e 0a 58 0a 58 09 | 09 20 20 20 20 20 45 4e |ES..X.X.|. EN|
|00002b80| 44 20 4f 46 20 54 45 52 | 4d 53 20 41 4e 44 20 43 |D OF TER|MS AND C|
|00002b90| 4f 4e 44 49 54 49 4f 4e | 53 0a 58 0c 0a 58 09 41 |ONDITION|S.X..X.A|
|00002ba0| 70 70 65 6e 64 69 78 3a | 20 48 6f 77 20 74 6f 20 |ppendix:| How to |
|00002bb0| 41 70 70 6c 79 20 54 68 | 65 73 65 20 54 65 72 6d |Apply Th|ese Term|
|00002bc0| 73 20 74 6f 20 59 6f 75 | 72 20 4e 65 77 20 50 72 |s to You|r New Pr|
|00002bd0| 6f 67 72 61 6d 73 0a 58 | 0a 58 20 20 49 66 20 79 |ograms.X|.X If y|
|00002be0| 6f 75 20 64 65 76 65 6c | 6f 70 20 61 20 6e 65 77 |ou devel|op a new|
|00002bf0| 20 70 72 6f 67 72 61 6d | 2c 20 61 6e 64 20 79 6f | program|, and yo|
|00002c00| 75 20 77 61 6e 74 20 69 | 74 20 74 6f 20 62 65 20 |u want i|t to be |
|00002c10| 6f 66 20 74 68 65 20 67 | 72 65 61 74 65 73 74 0a |of the g|reatest.|
|00002c20| 58 70 6f 73 73 69 62 6c | 65 20 75 73 65 20 74 6f |Xpossibl|e use to|
|00002c30| 20 68 75 6d 61 6e 69 74 | 79 2c 20 74 68 65 20 62 | humanit|y, the b|
|00002c40| 65 73 74 20 77 61 79 20 | 74 6f 20 61 63 68 69 65 |est way |to achie|
|00002c50| 76 65 20 74 68 69 73 20 | 69 73 20 74 6f 20 6d 61 |ve this |is to ma|
|00002c60| 6b 65 20 69 74 0a 58 66 | 72 65 65 20 73 6f 66 74 |ke it.Xf|ree soft|
|00002c70| 77 61 72 65 20 77 68 69 | 63 68 20 65 76 65 72 79 |ware whi|ch every|
|00002c80| 6f 6e 65 20 63 61 6e 20 | 72 65 64 69 73 74 72 69 |one can |redistri|
|00002c90| 62 75 74 65 20 61 6e 64 | 20 63 68 61 6e 67 65 20 |bute and| change |
|00002ca0| 75 6e 64 65 72 20 74 68 | 65 73 65 0a 58 74 65 72 |under th|ese.Xter|
|00002cb0| 6d 73 2e 0a 58 0a 58 20 | 20 54 6f 20 64 6f 20 73 |ms..X.X | To do s|
|00002cc0| 6f 2c 20 61 74 74 61 63 | 68 20 74 68 65 20 66 6f |o, attac|h the fo|
|00002cd0| 6c 6c 6f 77 69 6e 67 20 | 6e 6f 74 69 63 65 73 20 |llowing |notices |
|00002ce0| 74 6f 20 74 68 65 20 70 | 72 6f 67 72 61 6d 2e 20 |to the p|rogram. |
|00002cf0| 20 49 74 20 69 73 20 73 | 61 66 65 73 74 20 74 6f | It is s|afest to|
|00002d00| 0a 58 61 74 74 61 63 68 | 20 74 68 65 6d 20 74 6f |.Xattach| them to|
|00002d10| 20 74 68 65 20 73 74 61 | 72 74 20 6f 66 20 65 61 | the sta|rt of ea|
|00002d20| 63 68 20 73 6f 75 72 63 | 65 20 66 69 6c 65 20 74 |ch sourc|e file t|
|00002d30| 6f 20 6d 6f 73 74 20 65 | 66 66 65 63 74 69 76 65 |o most e|ffective|
|00002d40| 6c 79 20 63 6f 6e 76 65 | 79 0a 58 74 68 65 20 65 |ly conve|y.Xthe e|
|00002d50| 78 63 6c 75 73 69 6f 6e | 20 6f 66 20 77 61 72 72 |xclusion| of warr|
|00002d60| 61 6e 74 79 3b 20 61 6e | 64 20 65 61 63 68 20 66 |anty; an|d each f|
|00002d70| 69 6c 65 20 73 68 6f 75 | 6c 64 20 68 61 76 65 20 |ile shou|ld have |
|00002d80| 61 74 20 6c 65 61 73 74 | 20 74 68 65 0a 58 22 63 |at least| the.X"c|
|00002d90| 6f 70 79 72 69 67 68 74 | 22 20 6c 69 6e 65 20 61 |opyright|" line a|
|00002da0| 6e 64 20 61 20 70 6f 69 | 6e 74 65 72 20 74 6f 20 |nd a poi|nter to |
|00002db0| 77 68 65 72 65 20 74 68 | 65 20 66 75 6c 6c 20 6e |where th|e full n|
|00002dc0| 6f 74 69 63 65 20 69 73 | 20 66 6f 75 6e 64 2e 0a |otice is| found..|
|00002dd0| 58 0a 58 20 20 20 20 3c | 6f 6e 65 20 6c 69 6e 65 |X.X <|one line|
|00002de0| 20 74 6f 20 67 69 76 65 | 20 74 68 65 20 70 72 6f | to give| the pro|
|00002df0| 67 72 61 6d 27 73 20 6e | 61 6d 65 20 61 6e 64 20 |gram's n|ame and |
|00002e00| 61 20 62 72 69 65 66 20 | 69 64 65 61 20 6f 66 20 |a brief |idea of |
|00002e10| 77 68 61 74 20 69 74 20 | 64 6f 65 73 2e 3e 0a 58 |what it |does.>.X|
|00002e20| 20 20 20 20 43 6f 70 79 | 72 69 67 68 74 20 28 43 | Copy|right (C|
|00002e30| 29 20 31 39 79 79 20 20 | 3c 6e 61 6d 65 20 6f 66 |) 19yy |<name of|
|00002e40| 20 61 75 74 68 6f 72 3e | 0a 58 0a 58 20 20 20 20 | author>|.X.X |
|00002e50| 54 68 69 73 20 70 72 6f | 67 72 61 6d 20 69 73 20 |This pro|gram is |
|00002e60| 66 72 65 65 20 73 6f 66 | 74 77 61 72 65 3b 20 79 |free sof|tware; y|
|00002e70| 6f 75 20 63 61 6e 20 72 | 65 64 69 73 74 72 69 62 |ou can r|edistrib|
|00002e80| 75 74 65 20 69 74 20 61 | 6e 64 2f 6f 72 20 6d 6f |ute it a|nd/or mo|
|00002e90| 64 69 66 79 0a 58 20 20 | 20 20 69 74 20 75 6e 64 |dify.X | it und|
|00002ea0| 65 72 20 74 68 65 20 74 | 65 72 6d 73 20 6f 66 20 |er the t|erms of |
|00002eb0| 74 68 65 20 47 4e 55 20 | 47 65 6e 65 72 61 6c 20 |the GNU |General |
|00002ec0| 50 75 62 6c 69 63 20 4c | 69 63 65 6e 73 65 20 61 |Public L|icense a|
|00002ed0| 73 20 70 75 62 6c 69 73 | 68 65 64 20 62 79 0a 58 |s publis|hed by.X|
|00002ee0| 20 20 20 20 74 68 65 20 | 46 72 65 65 20 53 6f 66 | the |Free Sof|
|00002ef0| 74 77 61 72 65 20 46 6f | 75 6e 64 61 74 69 6f 6e |tware Fo|undation|
|00002f00| 3b 20 65 69 74 68 65 72 | 20 76 65 72 73 69 6f 6e |; either| version|
|00002f10| 20 31 2c 20 6f 72 20 28 | 61 74 20 79 6f 75 72 20 | 1, or (|at your |
|00002f20| 6f 70 74 69 6f 6e 29 0a | 58 20 20 20 20 61 6e 79 |option).|X any|
|00002f30| 20 6c 61 74 65 72 20 76 | 65 72 73 69 6f 6e 2e 0a | later v|ersion..|
|00002f40| 58 0a 58 0a 58 41 6c 73 | 6f 20 61 64 64 20 69 6e |X.X.XAls|o add in|
|00002f50| 66 6f 72 6d 61 74 69 6f | 6e 20 6f 6e 20 68 6f 77 |formatio|n on how|
|00002f60| 20 74 6f 20 63 6f 6e 74 | 61 63 74 20 79 6f 75 20 | to cont|act you |
|00002f70| 62 79 20 65 6c 65 63 74 | 72 6f 6e 69 63 20 61 6e |by elect|ronic an|
|00002f80| 64 20 70 61 70 65 72 20 | 6d 61 69 6c 2e 0a 58 0a |d paper |mail..X.|
|00002f90| 58 49 66 20 74 68 65 20 | 70 72 6f 67 72 61 6d 20 |XIf the |program |
|00002fa0| 69 73 20 69 6e 74 65 72 | 61 63 74 69 76 65 2c 20 |is inter|active, |
|00002fb0| 6d 61 6b 65 20 69 74 20 | 6f 75 74 70 75 74 20 61 |make it |output a|
|00002fc0| 20 73 68 6f 72 74 20 6e | 6f 74 69 63 65 20 6c 69 | short n|otice li|
|00002fd0| 6b 65 20 74 68 69 73 0a | 58 77 68 65 6e 20 69 74 |ke this.|Xwhen it|
|00002fe0| 20 73 74 61 72 74 73 20 | 69 6e 20 61 6e 20 69 6e | starts |in an in|
|00002ff0| 74 65 72 61 63 74 69 76 | 65 20 6d 6f 64 65 3a 0a |teractiv|e mode:.|
|00003000| 58 0a 58 20 20 20 20 47 | 6e 6f 6d 6f 76 69 73 69 |X.X G|nomovisi|
|00003010| 6f 6e 20 76 65 72 73 69 | 6f 6e 20 36 39 2c 20 43 |on versi|on 69, C|
|00003020| 6f 70 79 72 69 67 68 74 | 20 28 43 29 20 31 39 78 |opyright| (C) 19x|
|00003030| 78 20 6e 61 6d 65 20 6f | 66 20 61 75 74 68 6f 72 |x name o|f author|
|00003040| 0a 58 20 20 20 20 47 6e | 6f 6d 6f 76 69 73 69 6f |.X Gn|omovisio|
|00003050| 6e 20 63 6f 6d 65 73 20 | 77 69 74 68 20 41 42 53 |n comes |with ABS|
|00003060| 4f 4c 55 54 45 4c 59 20 | 4e 4f 20 57 41 52 52 41 |OLUTELY |NO WARRA|
|00003070| 4e 54 59 3b 20 66 6f 72 | 20 64 65 74 61 69 6c 73 |NTY; for| details|
|00003080| 20 74 79 70 65 20 60 73 | 68 6f 77 20 77 27 2e 0a | type `s|how w'..|
|00003090| 58 20 20 20 20 54 68 69 | 73 20 69 73 20 66 72 65 |X Thi|s is fre|
|000030a0| 65 20 73 6f 66 74 77 61 | 72 65 2c 20 61 6e 64 20 |e softwa|re, and |
|000030b0| 79 6f 75 20 61 72 65 20 | 77 65 6c 63 6f 6d 65 20 |you are |welcome |
|000030c0| 74 6f 20 72 65 64 69 73 | 74 72 69 62 75 74 65 20 |to redis|tribute |
|000030d0| 69 74 0a 58 20 20 20 20 | 75 6e 64 65 72 20 63 65 |it.X |under ce|
|000030e0| 72 74 61 69 6e 20 63 6f | 6e 64 69 74 69 6f 6e 73 |rtain co|nditions|
|000030f0| 3b 20 74 79 70 65 20 60 | 73 68 6f 77 20 63 27 20 |; type `|show c' |
|00003100| 66 6f 72 20 64 65 74 61 | 69 6c 73 2e 0a 58 0a 58 |for deta|ils..X.X|
|00003110| 54 68 65 20 68 79 70 6f | 74 68 65 74 69 63 61 6c |The hypo|thetical|
|00003120| 20 63 6f 6d 6d 61 6e 64 | 73 20 60 73 68 6f 77 20 | command|s `show |
|00003130| 77 27 20 61 6e 64 20 60 | 73 68 6f 77 20 63 27 20 |w' and `|show c' |
|00003140| 73 68 6f 75 6c 64 20 73 | 68 6f 77 20 74 68 65 0a |should s|how the.|
|00003150| 58 61 70 70 72 6f 70 72 | 69 61 74 65 20 70 61 72 |Xappropr|iate par|
|00003160| 74 73 20 6f 66 20 74 68 | 65 20 47 65 6e 65 72 61 |ts of th|e Genera|
|00003170| 6c 20 50 75 62 6c 69 63 | 20 4c 69 63 65 6e 73 65 |l Public| License|
|00003180| 2e 20 20 4f 66 20 63 6f | 75 72 73 65 2c 20 74 68 |. Of co|urse, th|
|00003190| 65 0a 58 63 6f 6d 6d 61 | 6e 64 73 20 79 6f 75 20 |e.Xcomma|nds you |
|000031a0| 75 73 65 20 6d 61 79 20 | 62 65 20 63 61 6c 6c 65 |use may |be calle|
|000031b0| 64 20 73 6f 6d 65 74 68 | 69 6e 67 20 6f 74 68 65 |d someth|ing othe|
|000031c0| 72 20 74 68 61 6e 20 60 | 73 68 6f 77 20 77 27 20 |r than `|show w' |
|000031d0| 61 6e 64 20 60 73 68 6f | 77 0a 58 63 27 3b 20 74 |and `sho|w.Xc'; t|
|000031e0| 68 65 79 20 63 6f 75 6c | 64 20 65 76 65 6e 20 62 |hey coul|d even b|
|000031f0| 65 20 6d 6f 75 73 65 2d | 63 6c 69 63 6b 73 20 6f |e mouse-|clicks o|
|00003200| 72 20 6d 65 6e 75 20 69 | 74 65 6d 73 2d 2d 77 68 |r menu i|tems--wh|
|00003210| 61 74 65 76 65 72 20 73 | 75 69 74 73 20 79 6f 75 |atever s|uits you|
|00003220| 72 0a 58 70 72 6f 67 72 | 61 6d 2e 0a 58 0a 58 59 |r.Xprogr|am..X.XY|
|00003230| 6f 75 20 73 68 6f 75 6c | 64 20 61 6c 73 6f 20 67 |ou shoul|d also g|
|00003240| 65 74 20 79 6f 75 72 20 | 65 6d 70 6c 6f 79 65 72 |et your |employer|
|00003250| 20 28 69 66 20 79 6f 75 | 20 77 6f 72 6b 20 61 73 | (if you| work as|
|00003260| 20 61 20 70 72 6f 67 72 | 61 6d 6d 65 72 29 20 6f | a progr|ammer) o|
|00003270| 72 20 79 6f 75 72 0a 58 | 73 63 68 6f 6f 6c 2c 20 |r your.X|school, |
|00003280| 69 66 20 61 6e 79 2c 20 | 74 6f 20 73 69 67 6e 20 |if any, |to sign |
|00003290| 61 20 22 63 6f 70 79 72 | 69 67 68 74 20 64 69 73 |a "copyr|ight dis|
|000032a0| 63 6c 61 69 6d 65 72 22 | 20 66 6f 72 20 74 68 65 |claimer"| for the|
|000032b0| 20 70 72 6f 67 72 61 6d | 2c 20 69 66 0a 58 6e 65 | program|, if.Xne|
|000032c0| 63 65 73 73 61 72 79 2e | 20 20 48 65 72 65 20 61 |cessary.| Here a|
|000032d0| 20 73 61 6d 70 6c 65 3b | 20 61 6c 74 65 72 20 74 | sample;| alter t|
|000032e0| 68 65 20 6e 61 6d 65 73 | 3a 0a 58 0a 58 20 20 59 |he names|:.X.X Y|
|000032f0| 6f 79 6f 64 79 6e 65 2c | 20 49 6e 63 2e 2c 20 68 |oyodyne,| Inc., h|
|00003300| 65 72 65 62 79 20 64 69 | 73 63 6c 61 69 6d 73 20 |ereby di|sclaims |
|00003310| 61 6c 6c 20 63 6f 70 79 | 72 69 67 68 74 20 69 6e |all copy|right in|
|00003320| 74 65 72 65 73 74 20 69 | 6e 20 74 68 65 0a 58 20 |terest i|n the.X |
|00003330| 20 70 72 6f 67 72 61 6d | 20 60 47 6e 6f 6d 6f 76 | program| `Gnomov|
|00003340| 69 73 69 6f 6e 27 20 28 | 61 20 70 72 6f 67 72 61 |ision' (|a progra|
|00003350| 6d 20 74 6f 20 64 69 72 | 65 63 74 20 63 6f 6d 70 |m to dir|ect comp|
|00003360| 69 6c 65 72 73 20 74 6f | 20 6d 61 6b 65 20 70 61 |ilers to| make pa|
|00003370| 73 73 65 73 0a 58 20 20 | 61 74 20 61 73 73 65 6d |sses.X |at assem|
|00003380| 62 6c 65 72 73 29 20 77 | 72 69 74 74 65 6e 20 62 |blers) w|ritten b|
|00003390| 79 20 4a 61 6d 65 73 20 | 48 61 63 6b 65 72 2e 0a |y James |Hacker..|
|000033a0| 58 0a 58 20 20 3c 73 69 | 67 6e 61 74 75 72 65 20 |X.X <si|gnature |
|000033b0| 6f 66 20 54 79 20 43 6f | 6f 6e 3e 2c 20 31 20 41 |of Ty Co|on>, 1 A|
|000033c0| 70 72 69 6c 20 31 39 38 | 39 0a 58 20 20 54 79 20 |pril 198|9.X Ty |
|000033d0| 43 6f 6f 6e 2c 20 50 72 | 65 73 69 64 65 6e 74 20 |Coon, Pr|esident |
|000033e0| 6f 66 20 56 69 63 65 0a | 58 0a 58 54 68 61 74 27 |of Vice.|X.XThat'|
|000033f0| 73 20 61 6c 6c 20 74 68 | 65 72 65 20 69 73 20 74 |s all th|ere is t|
|00003400| 6f 20 69 74 21 0a 58 0a | 58 0a 45 4e 44 5f 4f 46 |o it!.X.|X.END_OF|
|00003410| 5f 43 4f 50 59 49 4e 47 | 0a 69 66 20 74 65 73 74 |_COPYING|.if test|
|00003420| 20 31 32 30 34 32 20 2d | 6e 65 20 60 77 63 20 2d | 12042 -|ne `wc -|
|00003430| 63 20 3c 43 4f 50 59 49 | 4e 47 60 3b 20 74 68 65 |c <COPYI|NG`; the|
|00003440| 6e 0a 20 20 20 20 65 63 | 68 6f 20 73 68 61 72 3a |n. ec|ho shar:|
|00003450| 20 5c 22 43 4f 50 59 49 | 4e 47 5c 22 20 75 6e 70 | \"COPYI|NG\" unp|
|00003460| 61 63 6b 65 64 20 77 69 | 74 68 20 77 72 6f 6e 67 |acked wi|th wrong|
|00003470| 20 73 69 7a 65 21 0a 66 | 69 0a 23 20 65 6e 64 20 | size!.f|i.# end |
|00003480| 6f 66 20 6f 76 65 72 77 | 72 69 74 69 6e 67 20 63 |of overw|riting c|
|00003490| 68 65 63 6b 0a 66 69 0a | 69 66 20 74 65 73 74 20 |heck.fi.|if test |
|000034a0| 2d 66 20 66 69 6e 67 65 | 72 2e 63 20 2d 61 20 22 |-f finge|r.c -a "|
|000034b0| 24 7b 31 7d 22 20 21 3d | 20 22 2d 63 22 20 3b 20 |${1}" !=| "-c" ; |
|000034c0| 74 68 65 6e 20 0a 20 20 | 65 63 68 6f 20 73 68 61 |then . |echo sha|
|000034d0| 72 3a 20 57 69 6c 6c 20 | 6e 6f 74 20 6f 76 65 72 |r: Will |not over|
|000034e0| 2d 77 72 69 74 65 20 65 | 78 69 73 74 69 6e 67 20 |-write e|xisting |
|000034f0| 66 69 6c 65 20 5c 22 66 | 69 6e 67 65 72 2e 63 5c |file \"f|inger.c\|
|00003500| 22 0a 65 6c 73 65 0a 65 | 63 68 6f 20 73 68 61 72 |".else.e|cho shar|
|00003510| 3a 20 45 78 74 72 61 63 | 74 69 6e 67 20 5c 22 66 |: Extrac|ting \"f|
|00003520| 69 6e 67 65 72 2e 63 5c | 22 20 5c 28 31 33 38 31 |inger.c\|" \(1381|
|00003530| 38 20 63 68 61 72 61 63 | 74 65 72 73 5c 29 0a 73 |8 charac|ters\).s|
|00003540| 65 64 20 22 73 2f 5e 58 | 2f 2f 22 20 3e 66 69 6e |ed "s/^X|//" >fin|
|00003550| 67 65 72 2e 63 20 3c 3c | 27 45 4e 44 5f 4f 46 5f |ger.c <<|'END_OF_|
|00003560| 66 69 6e 67 65 72 2e 63 | 27 0a 58 2f 2a 0a 58 20 |finger.c|'.X/*.X |
|00003570| 2a 20 66 69 6e 67 65 72 | 2e 63 20 2d 2d 20 6f 75 |* finger|.c -- ou|
|00003580| 74 70 75 74 20 66 6f 72 | 6d 61 74 74 69 6e 67 20 |tput for|matting |
|00003590| 66 6f 72 20 66 69 6e 67 | 65 72 20 28 6d 61 69 6e |for fing|er (main|
|000035a0| 20 69 73 20 69 6e 20 61 | 72 67 73 2e 63 29 0a 58 | is in a|rgs.c).X|
|000035b0| 20 2a 0a 58 20 2a 20 43 | 6f 70 79 72 69 67 68 74 | *.X * C|opyright|
|000035c0| 20 28 43 29 20 31 39 38 | 36 2c 20 31 39 39 30 20 | (C) 198|6, 1990 |
|000035d0| 20 50 68 69 6c 69 70 20 | 4c 2e 20 42 75 64 6e 65 | Philip |L. Budne|
|000035e0| 0a 58 20 2a 0a 58 20 2a | 20 54 68 69 73 20 66 69 |.X *.X *| This fi|
|000035f0| 6c 65 20 69 73 20 70 61 | 72 74 20 6f 66 20 22 50 |le is pa|rt of "P|
|00003600| 68 69 6c 27 73 20 46 69 | 6e 67 65 72 20 50 72 6f |hil's Fi|nger Pro|
|00003610| 67 72 61 6d 22 2e 0a 58 | 20 2a 0a 58 20 2a 20 54 |gram"..X| *.X * T|
|00003620| 68 69 73 20 70 72 6f 67 | 72 61 6d 20 69 73 20 66 |his prog|ram is f|
|00003630| 72 65 65 20 73 6f 66 74 | 77 61 72 65 3b 20 79 6f |ree soft|ware; yo|
|00003640| 75 20 63 61 6e 20 72 65 | 64 69 73 74 72 69 62 75 |u can re|distribu|
|00003650| 74 65 20 69 74 20 61 6e | 64 2f 6f 72 20 6d 6f 64 |te it an|d/or mod|
|00003660| 69 66 79 0a 58 20 2a 20 | 69 74 20 75 6e 64 65 72 |ify.X * |it under|
|00003670| 20 74 68 65 20 74 65 72 | 6d 73 20 6f 66 20 74 68 | the ter|ms of th|
|00003680| 65 20 47 4e 55 20 47 65 | 6e 65 72 61 6c 20 50 75 |e GNU Ge|neral Pu|
|00003690| 62 6c 69 63 20 4c 69 63 | 65 6e 73 65 20 61 73 20 |blic Lic|ense as |
|000036a0| 70 75 62 6c 69 73 68 65 | 64 20 62 79 0a 58 20 2a |publishe|d by.X *|
|000036b0| 20 74 68 65 20 46 72 65 | 65 20 53 6f 66 74 77 61 | the Fre|e Softwa|
|000036c0| 72 65 20 46 6f 75 6e 64 | 61 74 69 6f 6e 3b 20 65 |re Found|ation; e|
|000036d0| 69 74 68 65 72 20 76 65 | 72 73 69 6f 6e 20 31 2c |ither ve|rsion 1,|
|000036e0| 20 6f 72 20 28 61 74 20 | 79 6f 75 72 20 6f 70 74 | or (at |your opt|
|000036f0| 69 6f 6e 29 0a 58 20 2a | 20 61 6e 79 20 6c 61 74 |ion).X *| any lat|
|00003700| 65 72 20 76 65 72 73 69 | 6f 6e 2e 0a 58 20 2a 0a |er versi|on..X *.|
|00003710| 58 20 2a 2f 0a 58 0a 58 | 23 20 69 66 6e 64 65 66 |X */.X.X|# ifndef|
|00003720| 20 6c 69 6e 74 0a 58 73 | 74 61 74 69 63 20 63 68 | lint.Xs|tatic ch|
|00003730| 61 72 20 2a 72 63 73 69 | 64 20 3d 20 22 24 49 64 |ar *rcsi|d = "$Id|
|00003740| 3a 20 66 69 6e 67 65 72 | 2e 63 2c 76 20 33 2e 30 |: finger|.c,v 3.0|
|00003750| 20 39 30 2f 30 37 2f 30 | 36 20 31 33 3a 31 30 3a | 90/07/0|6 13:10:|
|00003760| 33 35 20 62 75 64 64 20 | 52 65 6c 20 24 22 3b 0a |35 budd |Rel $";.|
|00003770| 58 23 20 65 6e 64 69 66 | 20 2f 2a 20 6c 69 6e 74 |X# endif| /* lint|
|00003780| 20 6e 6f 74 20 64 65 66 | 69 6e 65 64 20 2a 2f 0a | not def|ined */.|
|00003790| 58 0a 58 23 20 69 6e 63 | 6c 75 64 65 20 3c 73 79 |X.X# inc|lude <sy|
|000037a0| 73 2f 74 79 70 65 73 2e | 68 3e 0a 58 23 20 69 6e |s/types.|h>.X# in|
|000037b0| 63 6c 75 64 65 20 3c 73 | 74 64 69 6f 2e 68 3e 0a |clude <s|tdio.h>.|
|000037c0| 58 23 20 69 6e 63 6c 75 | 64 65 20 22 70 65 72 73 |X# inclu|de "pers|
|000037d0| 6f 6e 2e 68 22 0a 58 23 | 20 69 6e 63 6c 75 64 65 |on.h".X#| include|
|000037e0| 20 22 6f 75 74 70 75 74 | 2e 68 22 0a 58 23 20 69 | "output|.h".X# i|
|000037f0| 6e 63 6c 75 64 65 20 22 | 61 72 67 73 2e 68 22 09 |nclude "|args.h".|
|00003800| 09 09 2f 2a 20 62 65 66 | 6f 72 65 20 6c 75 73 65 |../* bef|ore luse|
|00003810| 72 2e 68 20 2a 2f 0a 58 | 23 20 69 6e 63 6c 75 64 |r.h */.X|# includ|
|00003820| 65 20 22 6c 75 73 65 72 | 2e 68 22 0a 58 23 20 69 |e "luser|.h".X# i|
|00003830| 6e 63 6c 75 64 65 20 22 | 66 69 6e 67 65 72 2e 68 |nclude "|finger.h|
|00003840| 22 0a 58 23 20 69 6e 63 | 6c 75 64 65 20 22 70 72 |".X# inc|lude "pr|
|00003850| 2e 68 22 0a 58 23 20 69 | 6e 63 6c 75 64 65 20 22 |.h".X# i|nclude "|
|00003860| 69 6e 71 75 69 72 65 2e | 68 22 09 09 09 2f 2a 20 |inquire.|h".../* |
|00003870| 66 6f 72 20 49 4e 51 55 | 49 52 45 20 2a 2f 0a 58 |for INQU|IRE */.X|
|00003880| 23 20 69 6e 63 6c 75 64 | 65 20 22 74 74 79 6c 6f |# includ|e "ttylo|
|00003890| 63 66 69 6c 65 2e 68 22 | 0a 58 0a 58 23 20 64 65 |cfile.h"|.X.X# de|
|000038a0| 66 69 6e 65 20 50 49 44 | 5f 43 4f 4c 09 09 2f 2a |fine PID|_COL../*|
|000038b0| 20 64 69 73 70 6c 61 79 | 20 2f 70 69 64 20 69 6e | display| /pid in|
|000038c0| 20 73 65 70 65 72 61 74 | 65 20 63 6f 6c 75 6d 6e | seperat|e column|
|000038d0| 20 2a 2f 0a 58 0a 58 2f | 2a 23 20 64 65 66 69 6e | */.X.X/|*# defin|
|000038e0| 65 20 52 45 4c 41 54 49 | 4f 4e 20 20 20 20 09 09 |e RELATI|ON ..|
|000038f0| 2f 2a 20 64 69 73 70 6c | 61 79 20 52 45 4c 20 69 |/* displ|ay REL i|
|00003900| 66 20 74 68 69 73 20 69 | 73 20 64 65 66 69 6e 65 |f this i|s define|
|00003910| 64 20 2a 2f 0a 58 2f 2a | 23 20 64 65 66 69 6e 65 |d */.X/*|# define|
|00003920| 20 52 45 4c 5f 53 55 50 | 20 22 22 09 09 2f 2a 20 | REL_SUP| ""../* |
|00003930| 28 64 65 66 69 6e 65 20 | 61 73 20 71 75 6f 74 65 |(define |as quote|
|00003940| 64 20 73 74 72 69 6e 67 | 20 6f 66 20 72 65 6c 61 |d string| of rela|
|00003950| 74 69 6f 6e 73 20 2a 2f | 0a 58 09 09 09 09 2f 2a |tions */|.X..../*|
|00003960| 20 20 74 6f 20 73 75 70 | 72 65 73 73 20 64 69 73 | to sup|ress dis|
|00003970| 70 6c 61 79 20 6f 66 29 | 20 2a 2f 0a 58 0a 58 46 |play of)| */.X.XF|
|00003980| 4f 52 57 41 52 44 20 4c | 4f 43 41 4c 20 76 6f 69 |ORWARD L|OCAL voi|
|00003990| 64 0a 58 23 20 69 66 64 | 65 66 20 52 45 4c 41 54 |d.X# ifd|ef RELAT|
|000039a0| 49 4f 4e 0a 58 20 20 20 | 20 70 72 65 6c 61 74 69 |ION.X | prelati|
|000039b0| 6f 6e 28 29 2c 0a 58 23 | 20 65 6e 64 69 66 20 2f |on(),.X#| endif /|
|000039c0| 2a 20 52 45 4c 41 54 49 | 4f 4e 20 64 65 66 69 6e |* RELATI|ON defin|
|000039d0| 65 64 20 2a 2f 0a 58 20 | 20 20 20 70 75 73 65 72 |ed */.X | puser|
|000039e0| 6e 61 6d 65 28 29 2c 20 | 70 67 72 6f 75 70 28 29 |name(), |pgroup()|
|000039f0| 2c 20 70 73 70 61 63 65 | 28 29 2c 20 70 70 6e 61 |, pspace|(), ppna|
|00003a00| 6d 65 28 29 2c 0a 58 20 | 20 20 20 70 63 6d 64 28 |me(),.X | pcmd(|
|00003a10| 29 2c 20 70 69 64 6c 65 | 28 29 2c 20 70 62 69 66 |), pidle|(), pbif|
|00003a20| 66 28 29 2c 20 70 74 74 | 79 28 29 2c 20 70 6d 65 |f(), ptt|y(), pme|
|00003a30| 73 67 28 29 2c 20 70 6c | 6f 63 61 74 69 6f 6e 28 |sg(), pl|ocation(|
|00003a40| 29 2c 20 70 70 69 64 28 | 29 2c 0a 58 20 20 20 20 |), ppid(|),.X |
|00003a50| 70 73 74 72 28 29 2c 20 | 70 63 68 61 72 28 29 2c |pstr(), |pchar(),|
|00003a60| 20 74 6f 67 6f 61 6c 28 | 29 3b 0a 58 0a 58 4c 4f | togoal(|);.X.XLO|
|00003a70| 43 41 4c 20 69 6e 74 20 | 6f 75 74 63 6f 6c 2c 20 |CAL int |outcol, |
|00003a80| 67 6f 61 6c 63 6f 6c 3b | 0a 58 0a 58 23 20 64 65 |goalcol;|.X.X# de|
|00003a90| 66 69 6e 65 20 55 53 45 | 52 5f 57 49 44 20 38 0a |fine USE|R_WID 8.|
|00003aa0| 58 23 20 64 65 66 69 6e | 65 20 50 52 4f 47 5f 57 |X# defin|e PROG_W|
|00003ab0| 49 44 20 37 09 09 09 2f | 2a 20 36 20 70 72 6f 67 |ID 7.../|* 6 prog|
|00003ac0| 20 2b 20 31 20 66 6c 61 | 67 20 2a 2f 0a 58 0a 58 | + 1 fla|g */.X.X|
|00003ad0| 23 20 69 66 6e 64 65 66 | 20 54 54 59 5f 57 49 44 |# ifndef| TTY_WID|
|00003ae0| 0a 58 23 20 69 66 64 65 | 66 20 41 49 58 33 0a 58 |.X# ifde|f AIX3.X|
|00003af0| 23 20 64 65 66 69 6e 65 | 20 54 54 59 5f 57 49 44 |# define| TTY_WID|
|00003b00| 20 36 0a 58 23 20 65 6c | 73 65 20 20 2f 2a 20 41 | 6.X# el|se /* A|
|00003b10| 49 58 33 20 6e 6f 74 20 | 64 65 66 69 6e 65 64 20 |IX3 not |defined |
|00003b20| 2a 2f 0a 58 23 20 69 66 | 20 64 65 66 69 6e 65 64 |*/.X# if| defined|
|00003b30| 28 55 6d 61 78 56 29 20 | 7c 7c 20 64 65 66 69 6e |(UmaxV) ||| defin|
|00003b40| 65 64 28 50 54 53 5f 50 | 54 59 5f 4e 41 4d 45 53 |ed(PTS_P|TY_NAMES|
|00003b50| 29 0a 58 23 20 64 65 66 | 69 6e 65 20 54 54 59 5f |).X# def|ine TTY_|
|00003b60| 57 49 44 20 35 09 09 09 | 2f 2a 20 72 74 41 41 50 |WID 5...|/* rtAAP|
|00003b70| 50 53 20 6f 72 20 70 74 | 73 4e 4e 20 2a 2f 0a 58 |PS or pt|sNN */.X|
|00003b80| 23 20 65 6c 73 65 20 20 | 2f 2a 20 6e 6f 74 20 64 |# else |/* not d|
|00003b90| 65 66 69 6e 65 64 28 55 | 6d 61 78 56 29 20 7c 7c |efined(U|maxV) |||
|00003ba0| 20 64 65 66 69 6e 65 64 | 28 50 54 53 5f 50 54 59 | defined|(PTS_PTY|
|00003bb0| 5f 4e 41 4d 45 53 29 20 | 2a 2f 0a 58 23 20 64 65 |_NAMES) |*/.X# de|
|00003bc0| 66 69 6e 65 20 54 54 59 | 5f 57 49 44 20 33 0a 58 |fine TTY|_WID 3.X|
|00003bd0| 23 20 65 6e 64 69 66 20 | 2f 2a 20 6e 6f 74 20 64 |# endif |/* not d|
|00003be0| 65 66 69 6e 65 64 28 55 | 6d 61 78 56 29 20 7c 7c |efined(U|maxV) |||
|00003bf0| 20 64 65 66 69 6e 65 64 | 28 50 54 53 5f 50 54 59 | defined|(PTS_PTY|
|00003c00| 5f 4e 41 4d 45 53 29 20 | 2a 2f 0a 58 23 20 65 6e |_NAMES) |*/.X# en|
|00003c10| 64 69 66 20 2f 2a 20 41 | 49 58 33 20 6e 6f 74 20 |dif /* A|IX3 not |
|00003c20| 64 65 66 69 6e 65 64 20 | 2a 2f 0a 58 23 20 65 6e |defined |*/.X# en|
|00003c30| 64 69 66 20 2f 2a 20 54 | 54 59 5f 57 49 44 20 6e |dif /* T|TY_WID n|
|00003c40| 6f 74 20 64 65 66 69 6e | 65 64 20 2a 2f 0a 58 0a |ot defin|ed */.X.|
|00003c50| 58 23 20 64 65 66 69 6e | 65 20 42 41 53 45 5f 50 |X# defin|e BASE_P|
|00003c60| 45 52 5f 57 49 44 20 28 | 32 32 2b 33 2b 33 29 09 |ER_WID (|22+3+3).|
|00003c70| 09 2f 2a 20 62 61 73 65 | 20 70 65 72 73 6f 6e 20 |./* base| person |
|00003c80| 77 69 64 74 68 20 2a 2f | 0a 58 0a 58 74 79 70 65 |width */|.X.Xtype|
|00003c90| 64 65 66 20 76 6f 69 64 | 20 28 2a 46 50 54 52 29 |def void| (*FPTR)|
|00003ca0| 28 29 3b 0a 58 0a 58 46 | 50 54 52 20 66 69 65 6c |();.X.XF|PTR fiel|
|00003cb0| 64 73 5b 5d 20 3d 20 7b | 0a 58 20 20 20 20 70 75 |ds[] = {|.X pu|
|00003cc0| 73 65 72 6e 61 6d 65 2c | 0a 58 20 20 20 20 70 73 |sername,|.X ps|
|00003cd0| 70 61 63 65 2c 0a 58 20 | 20 20 20 70 67 72 6f 75 |pace,.X | pgrou|
|00003ce0| 70 2c 0a 58 23 20 69 66 | 64 65 66 20 52 45 4c 41 |p,.X# if|def RELA|
|00003cf0| 54 49 4f 4e 0a 58 23 20 | 64 65 66 69 6e 65 20 47 |TION.X# |define G|
|00003d00| 52 50 52 45 4c 5f 57 49 | 44 20 33 09 09 09 2f 2a |RPREL_WI|D 3.../*|
|00003d10| 20 32 20 2b 20 73 70 61 | 63 65 20 2a 2f 0a 58 20 | 2 + spa|ce */.X |
|00003d20| 20 20 20 70 72 65 6c 61 | 74 69 6f 6e 2c 0a 58 23 | prela|tion,.X#|
|00003d30| 20 65 6c 73 65 20 20 2f | 2a 20 52 45 4c 41 54 49 | else /|* RELATI|
|00003d40| 4f 4e 20 6e 6f 74 20 64 | 65 66 69 6e 65 64 20 2a |ON not d|efined *|
|00003d50| 2f 0a 58 23 20 64 65 66 | 69 6e 65 20 47 52 50 52 |/.X# def|ine GRPR|
|00003d60| 45 4c 5f 57 49 44 20 32 | 09 09 09 2f 2a 20 31 20 |EL_WID 2|.../* 1 |
|00003d70| 2b 20 73 70 61 63 65 20 | 2a 2f 0a 58 23 20 65 6e |+ space |*/.X# en|
|00003d80| 64 69 66 20 2f 2a 20 52 | 45 4c 41 54 49 4f 4e 20 |dif /* R|ELATION |
|00003d90| 6e 6f 74 20 64 65 66 69 | 6e 65 64 20 2a 2f 0a 58 |not defi|ned */.X|
|00003da0| 20 20 20 20 70 73 70 61 | 63 65 2c 0a 58 20 20 20 | pspa|ce,.X |
|00003db0| 20 70 70 6e 61 6d 65 2c | 0a 58 20 20 20 20 4e 55 | ppname,|.X NU|
|00003dc0| 4c 4c 0a 58 7d 3b 20 2f | 2a 20 66 69 65 6c 64 73 |LL.X}; /|* fields|
|00003dd0| 20 2a 2f 0a 58 0a 58 23 | 20 64 65 66 69 6e 65 20 | */.X.X#| define |
|00003de0| 50 45 52 5f 57 49 44 20 | 28 42 41 53 45 5f 50 45 |PER_WID |(BASE_PE|
|00003df0| 52 5f 57 49 44 2d 54 54 | 59 5f 57 49 44 2d 47 52 |R_WID-TT|Y_WID-GR|
|00003e00| 50 52 45 4c 5f 57 49 44 | 29 0a 58 0a 58 0a 58 46 |PREL_WID|).X.X.XF|
|00003e10| 50 54 52 20 66 69 65 6c | 64 73 32 5b 5d 20 3d 20 |PTR fiel|ds2[] = |
|00003e20| 7b 0a 58 23 20 69 66 64 | 65 66 20 50 49 44 5f 43 |{.X# ifd|ef PID_C|
|00003e30| 4f 4c 0a 58 20 20 20 20 | 70 70 69 64 2c 0a 58 23 |OL.X |ppid,.X#|
|00003e40| 20 65 6e 64 69 66 20 2f | 2a 20 50 49 44 5f 43 4f | endif /|* PID_CO|
|00003e50| 4c 20 64 65 66 69 6e 65 | 64 20 2a 2f 0a 58 23 20 |L define|d */.X# |
|00003e60| 69 66 6e 64 65 66 20 53 | 55 50 50 52 45 53 53 5f |ifndef S|UPPRESS_|
|00003e70| 57 48 41 54 0a 58 20 20 | 20 20 70 63 6d 64 2c 0a |WHAT.X | pcmd,.|
|00003e80| 58 23 20 65 6e 64 69 66 | 20 2f 2a 20 53 55 50 50 |X# endif| /* SUPP|
|00003e90| 52 45 53 53 5f 57 48 41 | 54 20 6e 6f 74 20 64 65 |RESS_WHA|T not de|
|00003ea0| 66 69 6e 65 64 20 2a 2f | 0a 58 20 20 20 20 70 69 |fined */|.X pi|
|00003eb0| 64 6c 65 2c 0a 58 20 20 | 20 20 70 62 69 66 66 2c |dle,.X | pbiff,|
|00003ec0| 0a 58 20 20 20 20 70 74 | 74 79 2c 0a 58 20 20 20 |.X pt|ty,.X |
|00003ed0| 20 70 6d 65 73 67 2c 0a | 58 20 20 20 20 70 6c 6f | pmesg,.|X plo|
|00003ee0| 63 61 74 69 6f 6e 2c 0a | 58 20 20 20 20 4e 55 4c |cation,.|X NUL|
|00003ef0| 4c 0a 58 7d 3b 20 2f 2a | 20 66 69 65 6c 64 73 32 |L.X}; /*| fields2|
|00003f00| 20 2a 2f 0a 58 0a 58 2f | 2a 20 64 69 73 70 6c 61 | */.X.X/|* displa|
|00003f10| 79 20 77 68 65 6e 20 70 | 72 6f 67 72 61 6d 20 72 |y when p|rogram r|
|00003f20| 75 6e 6e 69 6e 67 20 66 | 72 6f 6d 20 61 6e 6f 74 |unning f|rom anot|
|00003f30| 68 65 72 20 75 69 64 20 | 2a 2f 0a 58 23 20 69 66 |her uid |*/.X# if|
|00003f40| 6e 64 65 66 20 53 55 49 | 44 5f 52 4f 4f 54 0a 58 |ndef SUI|D_ROOT.X|
|00003f50| 23 20 64 65 66 69 6e 65 | 20 53 55 49 44 5f 52 4f |# define| SUID_RO|
|00003f60| 4f 54 20 27 2b 27 0a 58 | 23 20 65 6e 64 69 66 20 |OT '+'.X|# endif |
|00003f70| 2f 2a 20 53 55 49 44 5f | 52 4f 4f 54 20 6e 6f 74 |/* SUID_|ROOT not|
|00003f80| 20 64 65 66 69 6e 65 64 | 20 2a 2f 0a 58 0a 58 23 | defined| */.X.X#|
|00003f90| 20 69 66 6e 64 65 66 20 | 53 55 49 44 5f 4f 54 48 | ifndef |SUID_OTH|
|00003fa0| 45 52 0a 58 23 20 64 65 | 66 69 6e 65 20 53 55 49 |ER.X# de|fine SUI|
|00003fb0| 44 5f 4f 54 48 45 52 20 | 27 21 27 0a 58 23 20 65 |D_OTHER |'!'.X# e|
|00003fc0| 6e 64 69 66 20 2f 2a 20 | 53 55 49 44 5f 4f 54 48 |ndif /* |SUID_OTH|
|00003fd0| 45 52 20 6e 6f 74 20 64 | 65 66 69 6e 65 64 20 2a |ER not d|efined *|
|00003fe0| 2f 0a 58 0a 58 2f 2a 20 | 77 68 65 6e 20 6e 6f 20 |/.X.X/* |when no |
|00003ff0| 63 6f 6d 6d 61 6e 64 20 | 66 6f 75 6e 64 20 2a 2f |command |found */|
|00004000| 0a 58 23 20 69 66 6e 64 | 65 66 20 45 4d 50 54 59 |.X# ifnd|ef EMPTY|
|00004010| 5f 43 4d 44 0a 58 23 20 | 64 65 66 69 6e 65 20 45 |_CMD.X# |define E|
|00004020| 4d 50 54 59 5f 43 4d 44 | 20 22 3f 3f 22 0a 58 23 |MPTY_CMD| "??".X#|
|00004030| 20 65 6e 64 69 66 20 2f | 2a 20 45 4d 50 54 59 5f | endif /|* EMPTY_|
|00004040| 43 4d 44 20 6e 6f 74 20 | 64 65 66 69 6e 65 64 20 |CMD not |defined |
|00004050| 2a 2f 0a 58 0a 58 23 20 | 64 65 66 69 6e 65 20 4e |*/.X.X# |define N|
|00004060| 4f 5f 47 52 4f 55 50 20 | 27 20 27 0a 58 0a 58 23 |O_GROUP |' '.X.X#|
|00004070| 20 69 66 64 65 66 20 52 | 45 4c 41 54 49 4f 4e 0a | ifdef R|ELATION.|
|00004080| 58 23 20 64 65 66 69 6e | 65 20 52 45 4c 5f 48 45 |X# defin|e REL_HE|
|00004090| 41 44 45 52 20 27 52 27 | 0a 58 23 20 64 65 66 69 |ADER 'R'|.X# defi|
|000040a0| 6e 65 20 47 52 50 5f 48 | 45 41 44 45 52 20 27 47 |ne GRP_H|EADER 'G|
|000040b0| 27 0a 58 23 20 65 6c 73 | 65 20 20 2f 2a 20 52 45 |'.X# els|e /* RE|
|000040c0| 4c 41 54 49 4f 4e 20 6e | 6f 74 20 64 65 66 69 6e |LATION n|ot defin|
|000040d0| 65 64 20 2a 2f 0a 58 23 | 20 64 65 66 69 6e 65 20 |ed */.X#| define |
|000040e0| 47 52 50 5f 48 45 41 44 | 45 52 20 27 20 27 09 09 |GRP_HEAD|ER ' '..|
|000040f0| 2f 2a 20 6f 72 20 27 47 | 27 20 2a 2f 0a 58 23 20 |/* or 'G|' */.X# |
|00004100| 65 6e 64 69 66 20 2f 2a | 20 52 45 4c 41 54 49 4f |endif /*| RELATIO|
|00004110| 4e 20 6e 6f 74 20 64 65 | 66 69 6e 65 64 20 2a 2f |N not de|fined */|
|00004120| 0a 58 0a 58 2f 2a 2a 2a | 2a 2a 2a 20 77 68 61 74 |.X.X/***|*** what|
|00004130| 20 74 6f 20 73 68 6f 77 | 20 77 68 65 6e 20 74 68 | to show| when th|
|00004140| 65 72 65 20 69 73 20 6e | 6f 20 70 65 72 73 6f 6e |ere is n|o person|
|00004150| 20 73 74 72 75 63 74 75 | 72 65 20 2a 2a 2a 2a 2a | structu|re *****|
|00004160| 2a 2f 0a 58 23 20 64 65 | 66 69 6e 65 20 4e 4f 5f |*/.X# de|fine NO_|
|00004170| 52 45 4c 41 54 49 4f 4e | 20 27 20 27 0a 58 0a 58 |RELATION| ' '.X.X|
|00004180| 23 20 69 66 64 65 66 20 | 49 4e 51 55 49 52 45 0a |# ifdef |INQUIRE.|
|00004190| 58 23 20 64 65 66 69 6e | 65 20 4e 4f 5f 4e 41 4d |X# defin|e NO_NAM|
|000041a0| 45 20 22 2d 2d 4e 6f 20 | 69 6e 71 75 69 72 65 20 |E "--No |inquire |
|000041b0| 65 6e 74 72 79 2d 2d 22 | 0a 58 23 20 65 6c 73 65 |entry--"|.X# else|
|000041c0| 20 20 2f 2a 20 49 4e 51 | 55 49 52 45 20 6e 6f 74 | /* INQ|UIRE not|
|000041d0| 20 64 65 66 69 6e 65 64 | 20 2a 2f 0a 58 23 20 64 | defined| */.X# d|
|000041e0| 65 66 69 6e 65 20 4e 4f | 5f 4e 41 4d 45 20 22 2d |efine NO|_NAME "-|
|000041f0| 2d 4e 6f 20 70 61 73 73 | 77 6f 72 64 20 65 6e 74 |-No pass|word ent|
|00004200| 72 79 2d 2d 22 20 2f 2a | 20 61 63 75 63 6e 74 72 |ry--" /*| acucntr|
|00004210| 6c 20 6c 6f 63 6b 73 3f | 21 2a 2f 0a 58 23 20 65 |l locks?|!*/.X# e|
|00004220| 6e 64 69 66 20 2f 2a 20 | 49 4e 51 55 49 52 45 20 |ndif /* |INQUIRE |
|00004230| 6e 6f 74 20 64 65 66 69 | 6e 65 64 20 2a 2f 0a 58 |not defi|ned */.X|
|00004240| 0a 58 65 78 74 65 72 6e | 20 4c 54 52 45 45 20 2a |.Xextern| LTREE *|
|00004250| 6d 61 6b 65 74 72 65 65 | 28 29 3b 09 09 2f 2a 20 |maketree|();../* |
|00004260| 66 72 6f 6d 20 67 65 74 | 65 6e 74 2e 63 20 2a 2f |from get|ent.c */|
|00004270| 0a 58 65 78 74 65 72 6e | 20 73 74 72 75 63 74 20 |.Xextern| struct |
|00004280| 70 72 20 2a 67 65 74 63 | 6f 6d 6d 61 6e 64 28 29 |pr *getc|ommand()|
|00004290| 3b 09 09 2f 2a 20 66 72 | 6f 6d 20 67 65 74 63 6f |;../* fr|om getco|
|000042a0| 6d 6d 61 6e 64 2e 63 20 | 2a 2f 0a 58 65 78 74 65 |mmand.c |*/.Xexte|
|000042b0| 72 6e 20 63 68 61 72 20 | 2a 67 65 74 74 74 79 6c |rn char |*getttyl|
|000042c0| 6f 63 28 29 3b 09 09 2f | 2a 20 66 72 6f 6d 20 67 |oc();../|* from g|
|000042d0| 65 74 74 79 6c 6f 63 2e | 63 20 2a 2f 0a 58 65 78 |ettyloc.|c */.Xex|
|000042e0| 74 65 72 6e 20 69 6e 74 | 20 70 77 74 72 65 65 28 |tern int| pwtree(|
|000042f0| 29 3b 09 09 09 2f 2a 20 | 66 72 6f 6d 20 67 65 74 |);.../* |from get|
|00004300| 70 65 72 73 6f 6e 2e 63 | 20 2a 2f 0a 58 65 78 74 |person.c| */.Xext|
|00004310| 65 72 6e 20 77 68 6f 69 | 73 28 29 2c 20 70 6c 61 |ern whoi|s(), pla|
|00004320| 6e 28 29 3b 09 09 09 2f | 2a 20 66 72 6f 6d 20 77 |n();.../|* from w|
|00004330| 68 6f 69 73 2e 63 20 2a | 2f 0a 58 65 78 74 65 72 |hois.c *|/.Xexter|
|00004340| 6e 20 63 68 61 72 20 2a | 67 74 6e 61 6d 65 28 29 |n char *|gtname()|
|00004350| 2c 20 2a 69 6e 74 73 74 | 72 28 29 3b 09 2f 2a 20 |, *intst|r();./* |
|00004360| 66 72 6f 6d 20 6f 75 74 | 70 75 74 2e 63 20 2a 2f |from out|put.c */|
|00004370| 0a 58 0a 58 4c 4f 43 41 | 4c 20 74 69 6d 65 5f 74 |.X.XLOCA|L time_t|
|00004380| 20 6e 6f 77 3b 09 09 09 | 2f 2a 20 63 75 72 72 65 | now;...|/* curre|
|00004390| 6e 74 20 74 69 6d 65 20 | 2a 2f 0a 58 4c 4f 43 41 |nt time |*/.XLOCA|
|000043a0| 4c 20 69 6e 74 20 70 65 | 72 73 6f 6e 77 69 64 74 |L int pe|rsonwidt|
|000043b0| 68 3b 09 09 09 2f 2a 20 | 63 61 6c 63 75 6c 61 74 |h;.../* |calculat|
|000043c0| 65 64 20 61 74 20 72 75 | 6e 74 69 6d 65 21 20 2a |ed at ru|ntime! *|
|000043d0| 2f 0a 58 0a 58 4c 4f 43 | 41 4c 20 76 6f 69 64 09 |/.X.XLOC|AL void.|
|000043e0| 09 09 09 2f 2a 20 66 6f | 72 77 61 72 64 73 2e 2e |.../* fo|rwards..|
|000043f0| 20 2a 2f 0a 58 20 20 20 | 20 66 69 6e 67 75 73 65 | */.X | finguse|
|00004400| 72 28 29 2c 0a 58 20 20 | 20 20 66 69 6e 67 68 65 |r(),.X | finghe|
|00004410| 61 64 65 72 28 29 2c 0a | 58 20 20 20 20 64 6f 67 |ader(),.|X dog|
|00004420| 65 63 6f 73 28 29 3b 0a | 58 0a 58 47 4c 4f 42 41 |ecos();.|X.XGLOBA|
|00004430| 4c 20 76 6f 69 64 20 64 | 6f 66 69 6e 67 65 72 28 |L void d|ofinger(|
|00004440| 20 74 20 29 0a 58 4c 54 | 52 45 45 20 2a 74 3b 0a | t ).XLT|REE *t;.|
|00004450| 58 7b 0a 58 20 20 20 20 | 69 6e 74 20 6e 3b 0a 58 |X{.X |int n;.X|
|00004460| 0a 58 20 20 20 20 70 65 | 72 73 6f 6e 77 69 64 74 |.X pe|rsonwidt|
|00004470| 68 20 3d 20 50 45 52 5f | 57 49 44 3b 0a 58 23 20 |h = PER_|WID;.X# |
|00004480| 69 66 64 65 66 20 50 49 | 44 5f 43 4f 4c 0a 58 23 |ifdef PI|D_COL.X#|
|00004490| 20 64 65 66 69 6e 65 20 | 50 49 44 5f 57 49 44 20 | define |PID_WID |
|000044a0| 36 0a 58 20 20 20 20 69 | 66 28 20 73 77 5f 70 69 |6.X i|f( sw_pi|
|000044b0| 64 20 29 0a 58 09 70 65 | 72 73 6f 6e 77 69 64 74 |d ).X.pe|rsonwidt|
|000044c0| 68 20 2d 3d 20 50 49 44 | 5f 57 49 44 2f 32 3b 0a |h -= PID|_WID/2;.|
|000044d0| 58 23 20 65 6e 64 69 66 | 20 2f 2a 20 50 49 44 5f |X# endif| /* PID_|
|000044e0| 43 4f 4c 20 64 65 66 69 | 6e 65 64 20 2a 2f 0a 58 |COL defi|ned */.X|
|000044f0| 0a 58 23 20 69 66 64 65 | 66 20 4c 41 53 54 4c 4f |.X# ifde|f LASTLO|
|00004500| 47 0a 58 20 20 20 20 6c | 6c 6f 70 65 6e 28 29 3b |G.X l|lopen();|
|00004510| 09 09 09 09 2f 2a 20 6f | 70 65 6e 20 6c 61 73 74 |..../* o|pen last|
|00004520| 6c 6f 67 20 66 69 6c 65 | 20 2a 2f 0a 58 23 20 65 |log file| */.X# e|
|00004530| 6e 64 69 66 20 2f 2a 20 | 4c 41 53 54 4c 4f 47 20 |ndif /* |LASTLOG |
|00004540| 64 65 66 69 6e 65 64 20 | 2a 2f 0a 58 0a 58 20 20 |defined |*/.X.X |
|00004550| 20 20 74 69 6d 65 28 20 | 26 6e 6f 77 20 29 3b 09 | time( |&now );.|
|00004560| 09 09 2f 2a 20 67 65 74 | 20 63 75 72 72 65 6e 74 |../* get| current|
|00004570| 20 74 69 6d 65 20 2a 2f | 0a 58 20 20 20 20 69 66 | time */|.X if|
|00004580| 28 20 74 20 3d 3d 20 4e | 55 4c 4c 20 29 09 09 09 |( t == N|ULL )...|
|00004590| 2f 2a 20 6e 6f 74 68 69 | 6e 67 3f 20 2a 2f 0a 58 |/* nothi|ng? */.X|
|000045a0| 09 70 77 74 72 65 65 28 | 20 28 74 20 3d 20 6d 61 |.pwtree(| (t = ma|
|000045b0| 6b 65 74 72 65 65 28 29 | 29 20 29 3b 09 2f 2a 20 |ketree()|) );./* |
|000045c0| 67 65 74 20 74 72 65 65 | 20 6f 66 20 61 6c 6c 20 |get tree| of all |
|000045d0| 6c 6f 67 67 65 64 20 69 | 6e 20 75 73 65 72 73 20 |logged i|n users |
|000045e0| 2a 2f 0a 58 0a 58 20 20 | 20 20 6e 20 3d 20 74 72 |*/.X.X | n = tr|
|000045f0| 65 65 73 69 7a 65 28 20 | 74 20 29 3b 09 09 09 2f |eesize( |t );.../|
|00004600| 2a 20 63 6f 75 6e 74 20 | 75 73 65 72 73 20 2a 2f |* count |users */|
|00004610| 0a 58 20 20 20 20 69 66 | 28 20 6e 20 3d 3d 20 30 |.X if|( n == 0|
|00004620| 20 29 0a 58 09 70 75 74 | 73 28 22 4e 6f 20 6f 6e | ).X.put|s("No on|
|00004630| 65 20 6c 6f 67 67 65 64 | 20 69 6e 2e 22 29 3b 0a |e logged| in.");.|
|00004640| 58 20 20 20 20 65 6c 73 | 65 20 7b 0a 58 23 20 69 |X els|e {.X# i|
|00004650| 66 6e 64 65 66 20 41 4c | 57 41 59 53 5f 50 52 49 |fndef AL|WAYS_PRI|
|00004660| 4e 54 5f 48 45 41 44 45 | 52 0a 58 09 69 66 28 20 |NT_HEADE|R.X.if( |
|00004670| 6e 20 3e 20 31 20 29 09 | 09 09 2f 2a 20 62 65 20 |n > 1 ).|../* be |
|00004680| 6c 69 6b 65 20 6f 7a 20 | 66 69 6e 67 65 72 20 2a |like oz |finger *|
|00004690| 2f 0a 58 23 20 65 6e 64 | 69 66 20 2f 2a 20 41 4c |/.X# end|if /* AL|
|000046a0| 57 41 59 53 5f 50 52 49 | 4e 54 5f 48 45 41 44 45 |WAYS_PRI|NT_HEADE|
|000046b0| 52 20 6e 6f 74 20 64 65 | 66 69 6e 65 64 20 2a 2f |R not de|fined */|
|000046c0| 0a 58 09 20 20 20 20 66 | 69 6e 67 68 65 61 64 65 |.X. f|ingheade|
|000046d0| 72 28 29 3b 09 09 2f 2a | 20 70 72 69 6e 74 20 68 |r();../*| print h|
|000046e0| 65 61 64 65 72 20 2a 2f | 0a 58 0a 58 09 70 74 72 |eader */|.X.X.ptr|
|000046f0| 65 65 28 20 74 2c 20 66 | 69 6e 67 75 73 65 72 20 |ee( t, f|inguser |
|00004700| 29 3b 09 09 2f 2a 20 70 | 72 69 6e 74 20 74 72 65 |);../* p|rint tre|
|00004710| 65 20 2a 2f 0a 58 20 20 | 20 20 7d 20 2f 2a 20 6e |e */.X | } /* n|
|00004720| 20 21 3d 20 30 20 2a 2f | 0a 58 0a 58 23 20 69 66 | != 0 */|.X.X# if|
|00004730| 64 65 66 20 4c 41 53 54 | 4c 4f 47 0a 58 20 20 20 |def LAST|LOG.X |
|00004740| 20 6c 6c 63 6c 6f 73 65 | 28 29 3b 09 09 09 09 2f | llclose|();..../|
|00004750| 2a 20 63 6c 6f 73 65 20 | 6c 61 73 74 6c 6f 67 20 |* close |lastlog |
|00004760| 66 69 6c 65 20 2a 2f 0a | 58 23 20 65 6e 64 69 66 |file */.|X# endif|
|00004770| 20 2f 2a 20 4c 41 53 54 | 4c 4f 47 20 64 65 66 69 | /* LAST|LOG defi|
|00004780| 6e 65 64 20 2a 2f 0a 58 | 7d 20 2f 2a 20 66 69 6e |ned */.X|} /* fin|
|00004790| 67 65 72 20 2a 2f 0a 58 | 0c 0a 58 4c 4f 43 41 4c |ger */.X|..XLOCAL|
|000047a0| 20 42 4f 4f 4c 20 73 61 | 6d 65 3b 0a 58 0a 58 4c | BOOL sa|me;.X.XL|
|000047b0| 4f 43 41 4c 20 76 6f 69 | 64 20 66 69 6e 67 75 73 |OCAL voi|d fingus|
|000047c0| 65 72 28 75 29 0a 58 72 | 65 67 69 73 74 65 72 20 |er(u).Xr|egister |
|000047d0| 4c 55 53 45 52 20 2a 75 | 3b 0a 58 7b 0a 58 20 20 |LUSER *u|;.X{.X |
|000047e0| 20 20 73 74 61 74 69 63 | 20 50 45 52 53 4f 4e 20 | static| PERSON |
|000047f0| 2a 70 65 72 73 6f 6e 3b | 0a 58 20 20 20 20 73 74 |*person;|.X st|
|00004800| 61 74 69 63 20 69 6e 74 | 20 69 6e 63 61 72 6e 61 |atic int| incarna|
|00004810| 74 69 6f 6e 73 3b 0a 58 | 20 20 20 20 72 65 67 69 |tions;.X| regi|
|00004820| 73 74 65 72 20 46 50 54 | 52 20 2a 66 70 3b 0a 58 |ster FPT|R *fp;.X|
|00004830| 0a 58 20 20 20 20 69 66 | 28 20 75 2d 3e 75 5f 70 |.X if|( u->u_p|
|00004840| 65 72 73 6f 6e 20 21 3d | 20 4e 55 4c 4c 20 29 20 |erson !=| NULL ) |
|00004850| 7b 0a 58 09 69 66 28 20 | 28 75 2d 3e 75 5f 70 65 |{.X.if( |(u->u_pe|
|00004860| 72 73 6f 6e 2d 3e 70 5f | 66 6c 61 67 73 20 26 20 |rson->p_|flags & |
|00004870| 50 5f 52 43 29 20 21 3d | 20 30 20 29 20 7b 20 2f |P_RC) !=| 0 ) { /|
|00004880| 2a 20 70 77 5f 67 65 63 | 6f 73 20 3d 3d 20 22 52 |* pw_gec|os == "R|
|00004890| 43 22 20 3f 2a 2f 0a 58 | 09 20 20 20 20 64 6f 67 |C" ?*/.X|. dog|
|000048a0| 65 63 6f 73 28 20 75 20 | 29 3b 0a 58 09 20 20 20 |ecos( u |);.X. |
|000048b0| 20 72 65 74 75 72 6e 3b | 0a 58 09 7d 20 2f 2a 20 | return;|.X.} /* |
|000048c0| 52 43 20 68 61 63 6b 20 | 2a 2f 0a 58 20 20 20 20 |RC hack |*/.X |
|000048d0| 7d 20 2f 2a 20 72 75 6e | 20 63 6f 6d 6d 61 6e 64 |} /* run| command|
|000048e0| 20 2a 2f 0a 58 0a 58 20 | 20 20 20 69 66 28 20 75 | */.X.X | if( u|
|000048f0| 2d 3e 75 5f 66 6c 61 67 | 73 20 26 20 55 5f 4e 4c |->u_flag|s & U_NL|
|00004900| 49 20 29 20 7b 09 09 2f | 2a 20 6e 6f 74 20 6c 6f |I ) {../|* not lo|
|00004910| 67 67 65 64 20 69 6e 20 | 2a 2f 0a 58 09 63 68 61 |gged in |*/.X.cha|
|00004920| 72 20 6c 6f 63 61 74 69 | 6f 6e 5b 20 35 30 20 5d |r locati|on[ 50 ]|
|00004930| 3b 0a 58 09 74 69 6d 65 | 5f 74 20 6c 74 69 6d 65 |;.X.time|_t ltime|
|00004940| 3b 09 09 09 2f 2a 20 6c | 61 73 74 20 6c 6f 67 69 |;.../* l|ast logi|
|00004950| 6e 20 74 69 6d 65 20 2a | 2f 0a 58 09 69 6e 74 20 |n time *|/.X.int |
|00004960| 68 6f 73 74 3b 0a 58 09 | 50 45 52 53 4f 4e 20 2a |host;.X.|PERSON *|
|00004970| 70 3b 0a 58 0a 58 09 70 | 20 3d 20 75 2d 3e 75 5f |p;.X.X.p| = u->u_|
|00004980| 70 65 72 73 6f 6e 3b 0a | 58 09 73 61 6d 65 20 3d |person;.|X.same =|
|00004990| 20 46 41 4c 53 45 3b 09 | 09 09 2f 2a 20 63 72 6f | FALSE;.|../* cro|
|000049a0| 63 6b 2c 20 70 61 73 73 | 20 61 73 20 61 72 67 3f |ck, pass| as arg?|
|000049b0| 20 2a 54 4f 44 4f 2a 20 | 2a 2f 0a 58 09 66 6f 72 | *TODO* |*/.X.for|
|000049c0| 28 20 66 70 20 3d 20 66 | 69 65 6c 64 73 3b 20 2a |( fp = f|ields; *|
|000049d0| 66 70 20 21 3d 20 4e 55 | 4c 4c 3b 20 66 70 2b 2b |fp != NU|LL; fp++|
|000049e0| 20 29 0a 58 09 20 20 20 | 20 28 2a 66 70 29 28 20 | ).X. | (*fp)( |
|000049f0| 46 41 4c 53 45 2c 20 75 | 2c 20 70 20 29 3b 0a 58 |FALSE, u|, p );.X|
|00004a00| 09 67 6f 61 6c 63 6f 6c | 2b 2b 3b 09 09 09 2f 2a |.goalcol|++;.../*|
|00004a10| 20 73 70 61 63 65 20 2a | 2f 0a 58 0a 58 09 2f 2a | space *|/.X.X./*|
|00004a20| 20 67 65 74 20 6c 61 73 | 74 20 6c 6f 67 69 6e 20 | get las|t login |
|00004a30| 74 69 6d 65 20 66 72 6f | 6d 20 6c 61 73 74 6c 6f |time fro|m lastlo|
|00004a40| 67 20 2a 2f 0a 58 09 69 | 66 28 20 70 20 3d 3d 20 |g */.X.i|f( p == |
|00004a50| 4e 55 4c 4c 20 7c 7c 20 | 28 70 2d 3e 70 5f 66 6c |NULL || |(p->p_fl|
|00004a60| 61 67 73 20 26 20 50 5f | 4e 4f 50 57 45 4e 54 29 |ags & P_|NOPWENT)|
|00004a70| 20 29 0a 58 09 20 20 20 | 20 70 73 74 72 28 20 22 | ).X. | pstr( "|
|00004a80| 4e 4f 20 50 41 53 53 57 | 4f 52 44 20 45 4e 54 52 |NO PASSW|ORD ENTR|
|00004a90| 59 20 28 45 58 50 49 52 | 45 44 20 41 43 43 4f 55 |Y (EXPIR|ED ACCOU|
|00004aa0| 4e 54 3f 29 22 20 29 3b | 20 2f 2a 20 6e 6f 20 70 |NT?)" );| /* no p|
|00004ab0| 77 20 65 6e 74 3f 20 2a | 2f 0a 58 23 20 69 66 64 |w ent? *|/.X# ifd|
|00004ac0| 65 66 20 4c 41 53 54 4c | 4f 47 0a 58 09 65 6c 73 |ef LASTL|OG.X.els|
|00004ad0| 65 20 69 66 28 20 21 6c | 6c 74 69 6d 65 28 20 70 |e if( !l|ltime( p|
|00004ae0| 2d 3e 70 5f 75 69 64 2c | 20 6c 6f 63 61 74 69 6f |->p_uid,| locatio|
|00004af0| 6e 2c 20 26 6c 74 69 6d | 65 2c 20 26 68 6f 73 74 |n, <im|e, &host|
|00004b00| 20 29 20 7c 7c 20 6c 74 | 69 6d 65 20 3d 3d 20 30 | ) || lt|ime == 0|
|00004b10| 20 29 0a 58 09 20 20 20 | 20 70 73 74 72 28 20 22 | ).X. | pstr( "|
|00004b20| 4c 6f 67 69 6e 20 55 6e | 6b 6e 6f 77 6e 22 20 29 |Login Un|known" )|
|00004b30| 3b 09 2f 2a 20 6e 6f 20 | 6c 6f 67 69 6e 20 74 69 |;./* no |login ti|
|00004b40| 6d 65 20 2a 2f 0a 58 09 | 65 6c 73 65 20 7b 09 09 |me */.X.|else {..|
|00004b50| 09 09 2f 2a 20 68 61 76 | 65 20 6c 6f 67 69 6e 20 |../* hav|e login |
|00004b60| 74 69 6d 65 2e 20 66 6f | 72 6d 61 74 20 69 74 20 |time. fo|rmat it |
|00004b70| 2a 2f 0a 58 09 20 20 20 | 20 69 6e 74 20 70 72 69 |*/.X. | int pri|
|00004b80| 6e 74 65 64 3b 0a 58 09 | 20 20 20 20 54 54 59 4c |nted;.X.| TTYL|
|00004b90| 4f 43 20 2a 74 70 3b 0a | 58 0a 58 09 20 20 20 20 |OC *tp;.|X.X. |
|00004ba0| 70 73 74 72 28 20 22 4c | 6f 67 69 6e 20 22 20 29 |pstr( "L|ogin " )|
|00004bb0| 3b 0a 58 09 20 20 20 20 | 70 73 74 72 28 20 6e 69 |;.X. |pstr( ni|
|00004bc0| 63 65 74 69 6d 65 28 20 | 6c 74 69 6d 65 20 29 20 |cetime( |ltime ) |
|00004bd0| 29 3b 0a 58 0a 58 09 20 | 20 20 20 2f 2a 20 54 4f |);.X.X. | /* TO|
|00004be0| 44 4f 3a 20 69 66 20 73 | 77 5f 69 74 73 20 6e 6f |DO: if s|w_its no|
|00004bf0| 20 22 66 72 6f 6d 2e 2e | 2e 2e 22 20 2a 2f 0a 58 | "from..|.." */.X|
|00004c00| 09 20 20 20 20 70 73 74 | 72 28 20 22 20 66 72 6f |. pst|r( " fro|
|00004c10| 6d 20 22 20 29 3b 0a 58 | 09 20 20 20 20 70 72 69 |m " );.X|. pri|
|00004c20| 6e 74 65 64 20 3d 20 46 | 41 4c 53 45 3b 0a 58 09 |nted = F|ALSE;.X.|
|00004c30| 20 20 20 20 69 6e 69 74 | 74 79 6c 6f 63 73 28 29 | init|tylocs()|
|00004c40| 3b 0a 58 09 20 20 20 20 | 69 66 28 20 21 68 6f 73 |;.X. |if( !hos|
|00004c50| 74 20 26 26 20 28 74 70 | 20 3d 20 66 69 6e 64 74 |t && (tp| = findt|
|00004c60| 74 79 6c 6f 63 28 20 6c | 6f 63 61 74 69 6f 6e 20 |tyloc( l|ocation |
|00004c70| 29 29 20 21 3d 20 4e 55 | 4c 4c 20 29 20 7b 0a 58 |)) != NU|LL ) {.X|
|00004c80| 09 09 63 68 61 72 20 2a | 73 3b 0a 58 09 09 69 66 |..char *|s;.X..if|
|00004c90| 28 20 74 70 2d 3e 74 5f | 73 68 6f 72 74 20 21 3d |( tp->t_|short !=|
|00004ca0| 20 4e 55 4c 4c 20 29 0a | 58 09 09 20 20 20 20 73 | NULL ).|X.. s|
|00004cb0| 20 3d 20 74 70 2d 3e 74 | 5f 73 68 6f 72 74 3b 0a | = tp->t|_short;.|
|00004cc0| 58 09 09 65 6c 73 65 20 | 69 66 28 20 74 70 2d 3e |X..else |if( tp->|
|00004cd0| 74 5f 6c 6f 63 6e 20 21 | 3d 20 4e 55 4c 4c 20 29 |t_locn !|= NULL )|
|00004ce0| 0a 58 09 09 20 20 20 20 | 73 20 3d 20 74 70 2d 3e |.X.. |s = tp->|
|00004cf0| 74 5f 6c 6f 63 6e 3b 0a | 58 09 09 65 6c 73 65 0a |t_locn;.|X..else.|
|00004d00| 58 09 09 20 20 20 20 73 | 20 3d 20 4e 55 4c 4c 3b |X.. s| = NULL;|
|00004d10| 0a 58 09 09 69 66 28 20 | 73 20 21 3d 20 4e 55 4c |.X..if( |s != NUL|
|00004d20| 4c 20 29 20 7b 0a 58 09 | 09 20 20 20 20 70 72 69 |L ) {.X.|. pri|
|00004d30| 6e 74 65 64 20 3d 20 54 | 52 55 45 3b 0a 58 09 09 |nted = T|RUE;.X..|
|00004d40| 20 20 20 20 70 73 74 72 | 28 20 73 20 29 3b 0a 58 | pstr|( s );.X|
|00004d50| 09 09 20 20 20 20 70 63 | 68 61 72 28 27 7b 27 29 |.. pc|har('{')|
|00004d60| 3b 0a 58 09 09 20 20 20 | 20 70 73 74 72 28 20 6c |;.X.. | pstr( l|
|00004d70| 6f 63 61 74 69 6f 6e 20 | 29 3b 0a 58 09 09 20 20 |ocation |);.X.. |
|00004d80| 20 20 70 63 68 61 72 28 | 27 7d 27 29 3b 0a 58 09 | pchar(|'}');.X.|
|00004d90| 09 7d 0a 58 09 20 20 20 | 20 7d 20 2f 2a 20 66 6f |.}.X. | } /* fo|
|00004da0| 75 6e 64 74 74 79 6c 6f | 63 20 2a 2f 0a 58 09 20 |undttylo|c */.X. |
|00004db0| 20 20 20 69 66 28 20 21 | 70 72 69 6e 74 65 64 20 | if( !|printed |
|00004dc0| 29 0a 58 09 09 70 73 74 | 72 28 20 6c 6f 63 61 74 |).X..pst|r( locat|
|00004dd0| 69 6f 6e 20 29 3b 0a 58 | 09 7d 20 2f 2a 20 68 61 |ion );.X|.} /* ha|
|00004de0| 76 65 20 6c 6f 67 69 6e | 20 74 69 6d 65 20 2a 2f |ve login| time */|
|00004df0| 0a 58 23 20 65 6e 64 69 | 66 20 2f 2a 20 4c 41 53 |.X# endi|f /* LAS|
|00004e00| 54 4c 4f 47 20 64 65 66 | 69 6e 65 64 20 2a 2f 0a |TLOG def|ined */.|
|00004e10| 58 09 2f 2a 20 69 66 20 | 73 77 5f 69 74 73 20 63 |X./* if |sw_its c|
|00004e20| 68 65 63 6b 20 70 6c 61 | 6e 20 2a 2f 0a 58 09 70 |heck pla|n */.X.p|
|00004e30| 63 68 61 72 28 27 5c 6e | 27 29 3b 0a 58 09 69 6e |char('\n|');.X.in|
|00004e40| 63 61 72 6e 61 74 69 6f | 6e 73 20 3d 20 31 3b 0a |carnatio|ns = 1;.|
|00004e50| 58 20 20 20 20 7d 20 2f | 2a 20 6e 6f 74 20 6c 6f |X } /|* not lo|
|00004e60| 67 67 65 64 20 69 6e 20 | 2a 2f 0a 58 20 20 20 20 |gged in |*/.X |
|00004e70| 65 6c 73 65 20 7b 09 09 | 09 09 2f 2a 20 69 73 20 |else {..|../* is |
|00004e80| 6c 6f 67 67 65 64 20 69 | 6e 20 2a 2f 0a 58 09 74 |logged i|n */.X.t|
|00004e90| 65 72 6d 73 74 61 74 28 | 20 75 20 29 3b 09 09 09 |ermstat(| u );...|
|00004ea0| 2f 2a 20 67 65 74 20 74 | 74 79 20 73 74 61 74 75 |/* get t|ty statu|
|00004eb0| 73 20 28 62 65 66 6f 72 | 65 20 67 65 74 63 6f 6d |s (befor|e getcom|
|00004ec0| 6d 61 6e 64 29 20 2a 2f | 0a 58 23 20 69 66 6e 64 |mand) */|.X# ifnd|
|00004ed0| 65 66 20 53 55 50 50 52 | 45 53 53 5f 57 48 41 54 |ef SUPPR|ESS_WHAT|
|00004ee0| 0a 58 09 67 65 74 63 6f | 6d 6d 61 6e 64 28 20 75 |.X.getco|mmand( u|
|00004ef0| 20 29 3b 09 09 2f 2a 20 | 67 65 74 20 63 6f 6d 6d | );../* |get comm|
|00004f00| 61 6e 64 2f 64 61 65 6d | 6f 6e 20 70 72 6f 63 73 |and/daem|on procs|
|00004f10| 20 2a 2f 0a 58 23 20 65 | 6e 64 69 66 20 2f 2a 20 | */.X# e|ndif /* |
|00004f20| 53 55 50 50 52 45 53 53 | 5f 57 48 41 54 20 6e 6f |SUPPRESS|_WHAT no|
|00004f30| 74 20 64 65 66 69 6e 65 | 64 20 2a 2f 0a 58 0a 58 |t define|d */.X.X|
|00004f40| 23 20 69 66 6e 64 65 66 | 20 4e 45 56 45 52 5f 53 |# ifndef| NEVER_S|
|00004f50| 41 4d 45 0a 58 09 69 66 | 28 20 75 2d 3e 75 5f 70 |AME.X.if|( u->u_p|
|00004f60| 65 72 73 6f 6e 20 21 3d | 20 4e 55 4c 4c 20 26 26 |erson !=| NULL &&|
|00004f70| 20 75 2d 3e 75 5f 70 65 | 72 73 6f 6e 20 3d 3d 20 | u->u_pe|rson == |
|00004f80| 70 65 72 73 6f 6e 20 29 | 20 2f 2a 20 73 61 6d 65 |person )| /* same|
|00004f90| 20 70 65 72 73 6f 6e 20 | 2a 2f 0a 58 09 20 20 20 | person |*/.X. |
|00004fa0| 20 73 61 6d 65 20 3d 20 | 54 52 55 45 3b 09 09 2f | same = |TRUE;../|
|00004fb0| 2a 20 61 73 20 62 65 66 | 6f 72 65 3f 20 2a 2f 0a |* as bef|ore? */.|
|00004fc0| 58 09 65 6c 73 65 0a 58 | 23 20 65 6e 64 69 66 20 |X.else.X|# endif |
|00004fd0| 2f 2a 20 4e 45 56 45 52 | 5f 53 41 4d 45 20 6e 6f |/* NEVER|_SAME no|
|00004fe0| 74 20 64 65 66 69 6e 65 | 64 20 2a 2f 0a 58 09 20 |t define|d */.X. |
|00004ff0| 20 20 20 73 61 6d 65 20 | 3d 20 46 41 4c 53 45 3b | same |= FALSE;|
|00005000| 0a 58 0a 58 09 70 65 72 | 73 6f 6e 20 3d 20 75 2d |.X.X.per|son = u-|
|00005010| 3e 75 5f 70 65 72 73 6f | 6e 3b 0a 58 09 69 66 28 |>u_perso|n;.X.if(|
|00005020| 20 21 73 61 6d 65 20 29 | 0a 58 09 20 20 20 20 69 | !same )|.X. i|
|00005030| 66 28 20 70 65 72 73 6f | 6e 20 21 3d 20 4e 55 4c |f( perso|n != NUL|
|00005040| 4c 20 29 0a 58 09 09 69 | 6e 63 61 72 6e 61 74 69 |L ).X..i|ncarnati|
|00005050| 6f 6e 73 20 3d 20 70 65 | 72 73 6f 6e 2d 3e 70 5f |ons = pe|rson->p_|
|00005060| 63 6f 75 6e 74 3b 0a 58 | 09 20 20 20 20 65 6c 73 |count;.X|. els|
|00005070| 65 0a 58 09 09 69 6e 63 | 61 72 6e 61 74 69 6f 6e |e.X..inc|arnation|
|00005080| 73 20 3d 20 31 3b 0a 58 | 0a 58 09 66 6f 72 28 20 |s = 1;.X|.X.for( |
|00005090| 66 70 20 3d 20 66 69 65 | 6c 64 73 3b 20 2a 66 70 |fp = fie|lds; *fp|
|000050a0| 20 21 3d 20 4e 55 4c 4c | 3b 20 66 70 2b 2b 20 29 | != NULL|; fp++ )|
|000050b0| 0a 58 09 20 20 20 20 28 | 2a 66 70 29 28 20 46 41 |.X. (|*fp)( FA|
|000050c0| 4c 53 45 2c 20 75 2c 20 | 70 65 72 73 6f 6e 20 29 |LSE, u, |person )|
|000050d0| 3b 0a 58 09 67 6f 61 6c | 63 6f 6c 2b 2b 3b 09 09 |;.X.goal|col++;..|
|000050e0| 09 2f 2a 20 62 6c 61 6e | 6b 20 73 70 61 63 65 20 |./* blan|k space |
|000050f0| 2a 2f 0a 58 09 66 6f 72 | 28 20 66 70 20 3d 20 66 |*/.X.for|( fp = f|
|00005100| 69 65 6c 64 73 32 3b 20 | 2a 66 70 20 21 3d 20 4e |ields2; |*fp != N|
|00005110| 55 4c 4c 3b 20 66 70 2b | 2b 20 29 0a 58 09 20 20 |ULL; fp+|+ ).X. |
|00005120| 20 20 28 2a 66 70 29 28 | 20 46 41 4c 53 45 2c 20 | (*fp)(| FALSE, |
|00005130| 75 2c 20 70 65 72 73 6f | 6e 20 29 3b 0a 58 09 70 |u, perso|n );.X.p|
|00005140| 63 68 61 72 28 20 27 5c | 6e 27 20 29 3b 0a 58 20 |char( '\|n' );.X |
|00005150| 20 20 20 7d 20 2f 2a 20 | 6c 6f 67 67 65 64 20 69 | } /* |logged i|
|00005160| 6e 20 2a 2f 0a 58 0a 58 | 20 20 20 20 69 66 28 20 |n */.X.X| if( |
|00005170| 69 6e 63 61 72 6e 61 74 | 69 6f 6e 73 2d 2d 20 3d |incarnat|ions-- =|
|00005180| 3d 20 31 20 29 20 7b 09 | 09 2f 2a 20 66 69 6e 61 |= 1 ) {.|./* fina|
|00005190| 6c 20 69 6e 63 61 72 6e | 61 74 69 6f 6e 3f 20 2a |l incarn|ation? *|
|000051a0| 2f 0a 58 09 69 66 28 20 | 73 77 5f 77 68 6f 69 73 |/.X.if( |sw_whois|
|000051b0| 20 29 20 7b 09 09 2f 2a | 20 64 6f 20 77 68 6f 69 | ) {../*| do whoi|
|000051c0| 73 20 73 74 75 66 66 20 | 2a 2f 0a 58 09 20 20 20 |s stuff |*/.X. |
|000051d0| 20 77 68 6f 69 73 28 20 | 75 20 29 3b 0a 58 09 20 | whois( |u );.X. |
|000051e0| 20 20 20 62 6c 61 6e 6b | 6c 69 6e 65 28 29 3b 0a | blank|line();.|
|000051f0| 58 09 7d 0a 58 0a 58 09 | 69 66 28 20 75 2d 3e 75 |X.}.X.X.|if( u->u|
|00005200| 5f 73 77 2e 73 77 5f 6d | 61 69 6c 20 7c 7c 20 73 |_sw.sw_m|ail || s|
|00005210| 77 5f 77 68 6f 69 73 20 | 7c 7c 20 28 75 2d 3e 75 |w_whois ||| (u->u|
|00005220| 5f 66 6c 61 67 73 20 26 | 20 55 5f 4e 4c 49 29 20 |_flags &| U_NLI) |
|00005230| 29 20 7b 0a 58 09 20 20 | 20 20 6d 63 68 65 63 6b |) {.X. | mcheck|
|00005240| 28 20 75 20 29 3b 0a 58 | 09 20 20 20 20 62 6c 61 |( u );.X|. bla|
|00005250| 6e 6b 6c 69 6e 65 28 29 | 3b 0a 58 09 7d 0a 58 0a |nkline()|;.X.}.X.|
|00005260| 58 09 69 66 28 20 73 77 | 5f 77 68 6f 69 73 20 29 |X.if( sw|_whois )|
|00005270| 20 7b 0a 58 09 20 20 20 | 20 72 65 6d 61 72 6b 73 | {.X. | remarks|
|00005280| 28 20 75 20 29 3b 0a 58 | 09 20 20 20 20 62 6c 61 |( u );.X|. bla|
|00005290| 6e 6b 6c 69 6e 65 28 29 | 3b 0a 58 09 7d 0a 58 0a |nkline()|;.X.}.X.|
|000052a0| 58 09 2f 2a 0a 58 09 20 | 2a 20 73 68 6f 77 20 70 |X./*.X. |* show p|
|000052b0| 6c 61 6e 20 69 66 20 61 | 73 6b 65 64 20 66 6f 72 |lan if a|sked for|
|000052c0| 2e 20 20 69 66 20 75 73 | 65 72 20 6e 6f 74 20 6c |. if us|er not l|
|000052d0| 6f 67 67 65 64 20 69 6e | 0a 58 09 20 2a 20 73 68 |ogged in|.X. * sh|
|000052e0| 6f 77 20 75 6e 6c 65 73 | 73 20 70 72 6f 68 69 62 |ow unles|s prohib|
|000052f0| 69 74 65 64 2e 0a 58 09 | 20 2a 2f 0a 58 09 69 66 |ited..X.| */.X.if|
|00005300| 28 20 75 2d 3e 75 5f 73 | 77 2e 73 77 5f 70 6c 61 |( u->u_s|w.sw_pla|
|00005310| 6e 20 7c 7c 20 28 75 2d | 3e 75 5f 66 6c 61 67 73 |n || (u-|>u_flags|
|00005320| 20 26 20 55 5f 4e 4c 49 | 29 20 26 26 20 21 75 2d | & U_NLI|) && !u-|
|00005330| 3e 75 5f 73 77 2e 73 77 | 5f 6e 6f 70 6c 61 6e 20 |>u_sw.sw|_noplan |
|00005340| 29 20 7b 0a 58 09 20 20 | 20 20 70 6c 61 6e 28 20 |) {.X. | plan( |
|00005350| 75 20 29 3b 0a 58 09 20 | 20 20 20 62 6c 61 6e 6b |u );.X. | blank|
|00005360| 6c 69 6e 65 28 29 3b 0a | 58 09 7d 0a 58 20 20 20 |line();.|X.}.X |
|00005370| 20 7d 20 2f 2a 20 6c 61 | 73 74 20 69 6e 63 61 72 | } /* la|st incar|
|00005380| 6e 61 74 69 6f 6e 20 2a | 2f 0a 58 7d 20 2f 2a 20 |nation *|/.X} /* |
|00005390| 66 69 6e 67 75 73 65 72 | 20 2a 2f 0a 58 0a 58 4c |finguser| */.X.XL|
|000053a0| 4f 43 41 4c 20 76 6f 69 | 64 20 66 69 6e 67 68 65 |OCAL voi|d finghe|
|000053b0| 61 64 65 72 28 29 20 7b | 0a 58 20 20 20 20 46 50 |ader() {|.X FP|
|000053c0| 54 52 20 2a 66 70 3b 0a | 58 0a 58 20 20 20 20 66 |TR *fp;.|X.X f|
|000053d0| 6f 72 28 20 66 70 20 3d | 20 66 69 65 6c 64 73 3b |or( fp =| fields;|
|000053e0| 20 2a 66 70 20 21 3d 20 | 4e 55 4c 4c 3b 20 66 70 | *fp != |NULL; fp|
|000053f0| 2b 2b 20 29 0a 58 09 28 | 2a 66 70 29 28 20 54 52 |++ ).X.(|*fp)( TR|
|00005400| 55 45 2c 20 4e 55 4c 4c | 2c 20 4e 55 4c 4c 20 29 |UE, NULL|, NULL )|
|00005410| 3b 0a 58 20 20 20 20 67 | 6f 61 6c 63 6f 6c 2b 2b |;.X g|oalcol++|
|00005420| 3b 09 09 09 09 2f 2a 20 | 62 6c 61 6e 6b 20 73 70 |;..../* |blank sp|
|00005430| 61 63 65 20 2a 2f 0a 58 | 20 20 20 20 66 6f 72 28 |ace */.X| for(|
|00005440| 20 66 70 20 3d 20 66 69 | 65 6c 64 73 32 3b 20 2a | fp = fi|elds2; *|
|00005450| 66 70 20 21 3d 20 4e 55 | 4c 4c 3b 20 66 70 2b 2b |fp != NU|LL; fp++|
|00005460| 20 29 0a 58 09 28 2a 66 | 70 29 28 20 54 52 55 45 | ).X.(*f|p)( TRUE|
|00005470| 2c 20 4e 55 4c 4c 2c 20 | 4e 55 4c 4c 20 29 3b 0a |, NULL, |NULL );.|
|00005480| 58 20 20 20 20 70 63 68 | 61 72 28 20 27 5c 6e 27 |X pch|ar( '\n'|
|00005490| 20 29 3b 0a 58 20 20 20 | 20 66 66 6c 75 73 68 28 | );.X | fflush(|
|000054a0| 4f 55 54 50 55 54 29 3b | 0a 58 7d 20 2f 2a 20 66 |OUTPUT);|.X} /* f|
|000054b0| 69 6e 67 68 65 61 64 65 | 72 20 2a 2f 0a 58 0c 0a |ingheade|r */.X..|
|000054c0| 58 4c 4f 43 41 4c 20 76 | 6f 69 64 20 64 6f 67 65 |XLOCAL v|oid doge|
|000054d0| 63 6f 73 28 20 75 20 29 | 09 09 09 2f 2a 20 68 65 |cos( u )|.../* he|
|000054e0| 72 65 20 69 66 20 50 4e | 41 4d 45 20 3d 3d 20 22 |re if PN|AME == "|
|000054f0| 52 43 22 20 2a 2f 0a 58 | 4c 55 53 45 52 20 2a 75 |RC" */.X|LUSER *u|
|00005500| 3b 0a 58 7b 0a 58 20 20 | 20 20 69 6e 74 20 70 69 |;.X{.X | int pi|
|00005510| 64 2c 20 77 70 69 64 3b | 0a 58 0a 58 20 20 20 20 |d, wpid;|.X.X |
|00005520| 70 69 64 20 3d 20 66 6f | 72 6b 28 29 3b 09 09 09 |pid = fo|rk();...|
|00005530| 2f 2a 20 6e 6f 20 76 66 | 6f 72 6b 20 75 73 65 73 |/* no vf|ork uses|
|00005540| 20 73 74 64 69 6f 20 2a | 2f 0a 58 20 20 20 20 69 | stdio *|/.X i|
|00005550| 66 28 20 70 69 64 20 3d | 3d 20 30 20 29 20 7b 09 |f( pid =|= 0 ) {.|
|00005560| 09 09 2f 2a 20 62 65 20 | 63 68 69 6c 64 69 73 68 |../* be |childish|
|00005570| 20 2a 2f 0a 58 09 50 45 | 52 53 4f 4e 20 2a 70 3b | */.X.PE|RSON *p;|
|00005580| 0a 58 09 70 20 3d 20 75 | 2d 3e 75 5f 70 65 72 73 |.X.p = u|->u_pers|
|00005590| 6f 6e 3b 0a 58 0a 58 09 | 63 68 64 69 72 28 70 2d |on;.X.X.|chdir(p-|
|000055a0| 3e 70 5f 68 6f 6d 65 29 | 3b 0a 58 09 73 65 74 75 |>p_home)|;.X.setu|
|000055b0| 69 64 28 70 2d 3e 70 5f | 75 69 64 29 3b 0a 58 09 |id(p->p_|uid);.X.|
|000055c0| 73 65 74 67 69 64 28 70 | 2d 3e 70 5f 67 69 64 29 |setgid(p|->p_gid)|
|000055d0| 3b 0a 58 09 70 72 69 6e | 74 66 28 22 25 73 2f 25 |;.X.prin|tf("%s/%|
|000055e0| 73 3a 5c 6e 22 2c 20 70 | 2d 3e 70 5f 68 6f 6d 65 |s:\n", p|->p_home|
|000055f0| 2c 20 75 2d 3e 75 5f 75 | 73 65 72 29 3b 0a 58 09 |, u->u_u|ser);.X.|
|00005600| 66 66 6c 75 73 68 28 20 | 73 74 64 6f 75 74 20 29 |fflush( |stdout )|
|00005610| 3b 0a 58 09 65 78 65 63 | 6c 28 75 2d 3e 75 5f 75 |;.X.exec|l(u->u_u|
|00005620| 73 65 72 2c 20 75 2d 3e | 75 5f 75 73 65 72 2c 20 |ser, u->|u_user, |
|00005630| 30 29 3b 0a 58 09 70 65 | 72 72 6f 72 28 22 53 6f |0);.X.pe|rror("So|
|00005640| 72 72 79 22 29 3b 0a 58 | 09 65 78 69 74 28 31 29 |rry");.X|.exit(1)|
|00005650| 3b 0a 58 20 20 20 20 7d | 0a 58 20 20 20 20 65 6c |;.X }|.X el|
|00005660| 73 65 20 69 66 28 20 70 | 69 64 20 3c 20 30 20 29 |se if( p|id < 0 )|
|00005670| 0a 58 09 70 65 72 72 6f | 72 28 22 66 6f 72 6b 22 |.X.perro|r("fork"|
|00005680| 29 3b 0a 58 0a 58 20 20 | 20 20 77 68 69 6c 65 28 |);.X.X | while(|
|00005690| 20 28 77 70 69 64 20 3d | 20 77 61 69 74 28 30 29 | (wpid =| wait(0)|
|000056a0| 29 20 3e 20 30 20 26 26 | 20 77 70 69 64 20 21 3d |) > 0 &&| wpid !=|
|000056b0| 20 70 69 64 20 29 20 2f | 2a 20 6c 61 73 73 69 65 | pid ) /|* lassie|
|000056c0| 20 63 6f 6d 65 20 68 6f | 6d 65 21 21 20 2a 2f 0a | come ho|me!! */.|
|000056d0| 58 09 3b 0a 58 7d 20 2f | 2a 20 64 6f 67 65 63 6f |X.;.X} /|* dogeco|
|000056e0| 73 20 2a 2f 0a 58 0a 58 | 4c 4f 43 41 4c 20 76 6f |s */.X.X|LOCAL vo|
|000056f0| 69 64 0a 58 5f 70 63 68 | 61 72 28 20 63 20 29 0a |id.X_pch|ar( c ).|
|00005700| 58 20 20 20 20 63 68 61 | 72 20 63 3b 0a 58 7b 0a |X cha|r c;.X{.|
|00005710| 58 20 20 20 20 73 74 61 | 74 69 63 20 63 68 61 72 |X sta|tic char|
|00005720| 20 6c 69 6e 65 62 75 66 | 5b 20 35 31 32 20 5d 2c | linebuf|[ 512 ],|
|00005730| 20 2a 6c 70 20 3d 20 6c | 69 6e 65 62 75 66 3b 0a | *lp = l|inebuf;.|
|00005740| 58 20 20 20 20 69 66 28 | 20 63 20 3d 3d 20 27 5c |X if(| c == '\|
|00005750| 6e 27 20 29 20 7b 0a 58 | 09 2a 6c 70 20 3d 20 45 |n' ) {.X|.*lp = E|
|00005760| 4f 53 3b 0a 58 09 6f 75 | 74 6c 69 6e 65 28 20 6c |OS;.X.ou|tline( l|
|00005770| 69 6e 65 62 75 66 20 29 | 3b 0a 58 09 6f 75 74 63 |inebuf )|;.X.outc|
|00005780| 6f 6c 20 3d 20 67 6f 61 | 6c 63 6f 6c 20 3d 20 30 |ol = goa|lcol = 0|
|00005790| 3b 0a 58 09 6c 70 20 3d | 20 6c 69 6e 65 62 75 66 |;.X.lp =| linebuf|
|000057a0| 3b 0a 58 20 20 20 20 7d | 20 2f 2a 20 6e 65 77 6c |;.X }| /* newl|
|000057b0| 69 6e 65 20 2a 2f 0a 58 | 20 20 20 20 65 6c 73 65 |ine */.X| else|
|000057c0| 20 7b 09 09 09 09 2f 2a | 20 6e 6f 74 20 6e 65 77 | {..../*| not new|
|000057d0| 6c 69 6e 65 20 2a 2f 0a | 58 09 69 66 28 20 63 20 |line */.|X.if( c |
|000057e0| 3d 3d 20 27 5c 74 27 20 | 29 0a 58 09 20 20 20 20 |== '\t' |).X. |
|000057f0| 6f 75 74 63 6f 6c 20 3d | 20 28 6f 75 74 63 6f 6c |outcol =| (outcol|
|00005800| 20 2b 20 38 29 20 26 20 | 7e 37 3b 0a 58 09 65 6c | + 8) & |~7;.X.el|
|00005810| 73 65 0a 58 09 20 20 20 | 20 6f 75 74 63 6f 6c 2b |se.X. | outcol+|
|00005820| 2b 3b 0a 58 09 2a 6c 70 | 2b 2b 20 3d 20 63 3b 0a |+;.X.*lp|++ = c;.|
|00005830| 58 20 20 20 20 7d 20 2f | 2a 20 6e 6f 74 20 6e 65 |X } /|* not ne|
|00005840| 77 6c 69 6e 65 20 2a 2f | 0a 58 7d 20 2f 2a 20 5f |wline */|.X} /* _|
|00005850| 70 63 68 61 72 20 2a 2f | 0a 58 0a 58 4c 4f 43 41 |pchar */|.X.XLOCA|
|00005860| 4c 20 76 6f 69 64 0a 58 | 74 6f 67 6f 61 6c 28 29 |L void.X|togoal()|
|00005870| 20 7b 0a 58 20 20 20 20 | 77 68 69 6c 65 28 20 6f | {.X |while( o|
|00005880| 75 74 63 6f 6c 20 3c 20 | 67 6f 61 6c 63 6f 6c 20 |utcol < |goalcol |
|00005890| 29 20 7b 0a 58 09 69 6e | 74 20 74 65 6d 70 3b 0a |) {.X.in|t temp;.|
|000058a0| 58 09 74 65 6d 70 20 3d | 20 28 6f 75 74 63 6f 6c |X.temp =| (outcol|
|000058b0| 20 2b 20 38 29 20 26 20 | 7e 37 3b 0a 58 09 69 66 | + 8) & |~7;.X.if|
|000058c0| 28 20 74 65 6d 70 20 3c | 3d 20 67 6f 61 6c 63 6f |( temp <|= goalco|
|000058d0| 6c 20 29 0a 58 09 20 20 | 20 20 5f 70 63 68 61 72 |l ).X. | _pchar|
|000058e0| 28 20 27 5c 74 27 20 29 | 3b 0a 58 09 65 6c 73 65 |( '\t' )|;.X.else|
|000058f0| 0a 58 09 20 20 20 20 5f | 70 63 68 61 72 28 20 27 |.X. _|pchar( '|
|00005900| 20 27 20 29 3b 0a 58 20 | 20 20 20 7d 0a 58 20 20 | ' );.X | }.X |
|00005910| 20 20 67 6f 61 6c 63 6f | 6c 20 3d 20 6f 75 74 63 | goalco|l = outc|
|00005920| 6f 6c 3b 0a 58 7d 20 2f | 2a 20 74 6f 67 6f 61 6c |ol;.X} /|* togoal|
|00005930| 20 2a 2f 0a 58 0a 58 4c | 4f 43 41 4c 20 76 6f 69 | */.X.XL|OCAL voi|
|00005940| 64 0a 58 70 63 68 61 72 | 28 20 63 20 29 0a 58 20 |d.Xpchar|( c ).X |
|00005950| 20 20 20 63 68 61 72 20 | 63 3b 0a 58 7b 0a 58 20 | char |c;.X{.X |
|00005960| 20 20 20 69 66 28 20 6f | 75 74 63 6f 6c 20 3c 20 | if( o|utcol < |
|00005970| 67 6f 61 6c 63 6f 6c 20 | 29 09 09 2f 2a 20 73 61 |goalcol |)../* sa|
|00005980| 76 65 20 65 78 74 72 61 | 20 63 61 6c 6c 73 20 2a |ve extra| calls *|
|00005990| 2f 0a 58 09 74 6f 67 6f | 61 6c 28 29 3b 0a 58 20 |/.X.togo|al();.X |
|000059a0| 20 20 20 5f 70 63 68 61 | 72 28 20 63 20 29 3b 0a | _pcha|r( c );.|
|000059b0| 58 7d 20 2f 2a 20 70 63 | 68 61 72 20 2a 2f 0a 58 |X} /* pc|har */.X|
|000059c0| 0a 58 4c 4f 43 41 4c 20 | 76 6f 69 64 0a 58 70 73 |.XLOCAL |void.Xps|
|000059d0| 74 72 28 20 73 20 29 0a | 58 20 20 20 20 72 65 67 |tr( s ).|X reg|
|000059e0| 69 73 74 65 72 20 63 68 | 61 72 20 2a 73 3b 0a 58 |ister ch|ar *s;.X|
|000059f0| 7b 0a 58 20 20 20 20 69 | 66 28 20 73 20 3d 3d 20 |{.X i|f( s == |
|00005a00| 4e 55 4c 4c 20 29 0a 58 | 09 72 65 74 75 72 6e 3b |NULL ).X|.return;|
|00005a10| 0a 58 20 20 20 20 74 6f | 67 6f 61 6c 28 29 3b 0a |.X to|goal();.|
|00005a20| 58 20 20 20 20 77 68 69 | 6c 65 28 20 2a 73 20 29 |X whi|le( *s )|
|00005a30| 0a 58 09 5f 70 63 68 61 | 72 28 20 2a 73 2b 2b 20 |.X._pcha|r( *s++ |
|00005a40| 29 3b 0a 58 7d 20 2f 2a | 20 70 73 74 72 20 2a 2f |);.X} /*| pstr */|
|00005a50| 0a 58 0a 58 4c 4f 43 41 | 4c 20 76 6f 69 64 0a 58 |.X.XLOCA|L void.X|
|00005a60| 70 63 6f 75 6e 74 28 20 | 63 2c 20 73 20 29 0a 58 |pcount( |c, s ).X|
|00005a70| 20 20 20 20 72 65 67 69 | 73 74 65 72 20 63 3b 0a | regi|ster c;.|
|00005a80| 58 20 20 20 20 72 65 67 | 69 73 74 65 72 20 63 68 |X reg|ister ch|
|00005a90| 61 72 20 2a 73 3b 0a 58 | 7b 0a 58 20 20 20 20 69 |ar *s;.X|{.X i|
|00005aa0| 66 28 20 73 20 3d 3d 20 | 4e 55 4c 4c 20 29 0a 58 |f( s == |NULL ).X|
|00005ab0| 09 72 65 74 75 72 6e 3b | 0a 58 20 20 20 20 74 6f |.return;|.X to|
|00005ac0| 67 6f 61 6c 28 29 3b 0a | 58 20 20 20 20 77 68 69 |goal();.|X whi|
|00005ad0| 6c 65 28 20 63 2d 2d 20 | 26 26 20 2a 73 20 29 0a |le( c-- |&& *s ).|
|00005ae0| 58 09 5f 70 63 68 61 72 | 28 20 2a 73 2b 2b 20 29 |X._pchar|( *s++ )|
|00005af0| 3b 0a 58 7d 20 2f 2a 20 | 70 63 6f 75 6e 74 20 2a |;.X} /* |pcount *|
|00005b00| 2f 0a 58 0a 58 4c 4f 43 | 41 4c 20 76 6f 69 64 0a |/.X.XLOC|AL void.|
|00005b10| 58 70 75 73 65 72 6e 61 | 6d 65 28 20 74 69 74 6c |Xpuserna|me( titl|
|00005b20| 65 2c 20 75 2c 20 70 20 | 29 0a 58 20 20 20 20 42 |e, u, p |).X B|
|00005b30| 4f 4f 4c 20 74 69 74 6c | 65 3b 0a 58 20 20 20 20 |OOL titl|e;.X |
|00005b40| 4c 55 53 45 52 20 2a 75 | 3b 0a 58 20 20 20 20 50 |LUSER *u|;.X P|
|00005b50| 45 52 53 4f 4e 20 2a 70 | 3b 0a 58 7b 0a 58 20 20 |ERSON *p|;.X{.X |
|00005b60| 20 20 69 66 28 20 74 69 | 74 6c 65 20 29 0a 58 09 | if( ti|tle ).X.|
|00005b70| 70 73 74 72 28 20 22 2d | 55 73 65 72 2d 22 20 29 |pstr( "-|User-" )|
|00005b80| 3b 0a 58 20 20 20 20 65 | 6c 73 65 20 69 66 28 20 |;.X e|lse if( |
|00005b90| 21 73 61 6d 65 20 29 0a | 58 09 70 63 6f 75 6e 74 |!same ).|X.pcount|
|00005ba0| 28 20 55 53 45 52 5f 57 | 49 44 2c 20 75 2d 3e 75 |( USER_W|ID, u->u|
|00005bb0| 5f 75 73 65 72 20 29 3b | 0a 58 20 20 20 20 67 6f |_user );|.X go|
|00005bc0| 61 6c 63 6f 6c 20 2b 3d | 20 55 53 45 52 5f 57 49 |alcol +=| USER_WI|
|00005bd0| 44 3b 0a 58 7d 20 2f 2a | 20 70 75 73 65 72 6e 61 |D;.X} /*| puserna|
|00005be0| 6d 65 20 2a 2f 0a 58 0a | 58 23 20 69 66 64 65 66 |me */.X.|X# ifdef|
|00005bf0| 20 49 4e 51 55 49 52 45 | 0a 58 23 20 69 66 64 65 | INQUIRE|.X# ifde|
|00005c00| 66 20 52 45 4c 41 54 49 | 4f 4e 0a 58 4c 4f 43 41 |f RELATI|ON.XLOCA|
|00005c10| 4c 20 76 6f 69 64 0a 58 | 70 72 65 6c 61 74 69 6f |L void.X|prelatio|
|00005c20| 6e 28 20 74 69 74 6c 65 | 2c 20 75 2c 20 70 20 29 |n( title|, u, p )|
|00005c30| 0a 58 20 20 20 20 42 4f | 4f 4c 20 74 69 74 6c 65 |.X BO|OL title|
|00005c40| 3b 0a 58 20 20 20 20 4c | 55 53 45 52 20 2a 75 3b |;.X L|USER *u;|
|00005c50| 0a 58 20 20 20 20 50 45 | 52 53 4f 4e 20 2a 70 3b |.X PE|RSON *p;|
|00005c60| 0a 58 7b 0a 58 20 20 20 | 20 63 68 61 72 20 72 65 |.X{.X | char re|
|00005c70| 6c 3b 0a 58 20 20 20 20 | 69 66 28 20 74 69 74 6c |l;.X |if( titl|
|00005c80| 65 20 29 0a 58 09 70 63 | 68 61 72 28 20 52 45 4c |e ).X.pc|har( REL|
|00005c90| 5f 48 45 41 44 45 52 20 | 29 3b 09 09 2f 2a 20 74 |_HEADER |);../* t|
|00005ca0| 69 74 6c 65 20 2a 2f 0a | 58 20 20 20 20 65 6c 73 |itle */.|X els|
|00005cb0| 65 20 69 66 28 20 21 73 | 61 6d 65 20 29 09 09 09 |e if( !s|ame )...|
|00005cc0| 2f 2a 20 6e 6f 74 20 73 | 61 6d 65 20 61 73 20 6c |/* not s|ame as l|
|00005cd0| 61 73 74 20 2a 2f 0a 58 | 09 69 66 28 20 70 20 21 |ast */.X|.if( p !|
|00005ce0| 3d 20 4e 55 4c 4c 20 29 | 20 7b 09 09 2f 2a 20 68 |= NULL )| {../* h|
|00005cf0| 61 76 65 20 70 65 72 73 | 6f 6e 20 69 6e 66 6f 20 |ave pers|on info |
|00005d00| 2a 2f 0a 58 09 20 20 20 | 20 72 65 6c 20 3d 20 70 |*/.X. | rel = p|
|00005d10| 2d 3e 70 5f 72 65 6c 61 | 74 69 6f 6e 3b 0a 58 23 |->p_rela|tion;.X#|
|00005d20| 20 69 66 64 65 66 20 52 | 45 4c 5f 53 55 50 0a 58 | ifdef R|EL_SUP.X|
|00005d30| 09 20 20 20 20 69 66 28 | 20 73 77 5f 77 68 6f 69 |. if(| sw_whoi|
|00005d40| 73 20 7c 7c 20 69 6e 64 | 65 78 28 52 45 4c 5f 53 |s || ind|ex(REL_S|
|00005d50| 55 50 2c 20 72 65 6c 29 | 20 3d 3d 20 4e 55 4c 4c |UP, rel)| == NULL|
|00005d60| 20 29 20 2f 2a 20 77 68 | 6f 69 73 20 6f 72 20 2a | ) /* wh|ois or *|
|00005d70| 2f 0a 58 23 20 65 6e 64 | 69 66 20 2f 2a 20 52 45 |/.X# end|if /* RE|
|00005d80| 4c 5f 53 55 50 20 64 65 | 66 69 6e 65 64 20 2a 2f |L_SUP de|fined */|
|00005d90| 0a 58 09 09 70 63 68 61 | 72 28 20 72 65 6c 20 29 |.X..pcha|r( rel )|
|00005da0| 3b 09 09 2f 2a 20 6e 6f | 74 20 73 75 70 70 72 65 |;../* no|t suppre|
|00005db0| 73 73 65 64 20 2a 2f 0a | 58 09 7d 20 2f 2a 20 68 |ssed */.|X.} /* h|
|00005dc0| 61 76 65 20 70 65 72 73 | 6f 6e 20 2a 2f 0a 58 09 |ave pers|on */.X.|
|00005dd0| 65 6c 73 65 0a 58 09 20 | 20 20 20 70 63 68 61 72 |else.X. | pchar|
|00005de0| 28 20 4e 4f 5f 52 45 4c | 20 29 3b 0a 58 20 20 20 |( NO_REL| );.X |
|00005df0| 20 67 6f 61 6c 63 6f 6c | 2b 2b 3b 0a 58 7d 20 2f | goalcol|++;.X} /|
|00005e00| 2a 20 70 72 65 6c 61 74 | 69 6f 6e 20 2a 2f 0a 58 |* prelat|ion */.X|
|00005e10| 23 20 65 6e 64 69 66 20 | 2f 2a 20 52 45 4c 41 54 |# endif |/* RELAT|
|00005e20| 49 4f 4e 20 64 65 66 69 | 6e 65 64 20 2a 2f 0a 58 |ION defi|ned */.X|
|00005e30| 23 20 65 6e 64 69 66 20 | 2f 2a 20 49 4e 51 55 49 |# endif |/* INQUI|
|00005e40| 52 45 20 64 65 66 69 6e | 65 64 20 2a 2f 0a 58 0a |RE defin|ed */.X.|
|00005e50| 58 4c 4f 43 41 4c 20 76 | 6f 69 64 0a 58 70 67 72 |XLOCAL v|oid.Xpgr|
|00005e60| 6f 75 70 28 20 74 69 74 | 6c 65 2c 20 75 2c 20 70 |oup( tit|le, u, p|
|00005e70| 20 29 0a 58 20 20 20 20 | 42 4f 4f 4c 20 74 69 74 | ).X |BOOL tit|
|00005e80| 6c 65 3b 0a 58 20 20 20 | 20 4c 55 53 45 52 20 2a |le;.X | LUSER *|
|00005e90| 75 3b 0a 58 20 20 20 20 | 50 45 52 53 4f 4e 20 2a |u;.X |PERSON *|
|00005ea0| 70 3b 0a 58 7b 0a 58 0a | 58 20 20 20 20 69 66 28 |p;.X{.X.|X if(|
|00005eb0| 20 74 69 74 6c 65 20 29 | 0a 58 09 70 63 68 61 72 | title )|.X.pchar|
|00005ec0| 28 20 47 52 50 5f 48 45 | 41 44 45 52 20 20 29 3b |( GRP_HE|ADER );|
|00005ed0| 09 09 2f 2a 20 74 69 74 | 6c 65 20 2a 2f 0a 58 20 |../* tit|le */.X |
|00005ee0| 20 20 20 65 6c 73 65 20 | 69 66 28 20 21 73 61 6d | else |if( !sam|
|00005ef0| 65 20 26 26 20 70 20 21 | 3d 20 4e 55 4c 4c 20 29 |e && p !|= NULL )|
|00005f00| 09 2f 2a 20 6e 6f 74 20 | 73 61 6d 65 20 61 6e 64 |./* not |same and|
|00005f10| 20 68 61 76 65 20 70 65 | 72 73 6f 6e 20 2a 2f 0a | have pe|rson */.|
|00005f20| 58 09 70 63 68 61 72 28 | 20 70 2d 3e 70 5f 67 72 |X.pchar(| p->p_gr|
|00005f30| 6f 75 70 20 29 3b 0a 58 | 0a 58 20 20 20 20 67 6f |oup );.X|.X go|
|00005f40| 61 6c 63 6f 6c 2b 2b 3b | 0a 58 7d 20 2f 2a 20 70 |alcol++;|.X} /* p|
|00005f50| 67 72 6f 75 70 20 2a 2f | 0a 58 0a 58 4c 4f 43 41 |group */|.X.XLOCA|
|00005f60| 4c 20 76 6f 69 64 0a 58 | 70 73 70 61 63 65 28 20 |L void.X|pspace( |
|00005f70| 74 69 74 6c 65 2c 20 75 | 2c 20 70 20 29 0a 58 20 |title, u|, p ).X |
|00005f80| 20 20 20 42 4f 4f 4c 20 | 74 69 74 6c 65 3b 0a 58 | BOOL |title;.X|
|00005f90| 20 20 20 20 4c 55 53 45 | 52 20 2a 75 3b 0a 58 20 | LUSE|R *u;.X |
|00005fa0| 20 20 20 50 45 52 53 4f | 4e 20 2a 70 3b 0a 58 7b | PERSO|N *p;.X{|
|00005fb0| 0a 58 20 20 20 20 67 6f | 61 6c 63 6f 6c 2b 2b 3b |.X go|alcol++;|
|00005fc0| 0a 58 7d 20 2f 2a 20 70 | 73 70 61 63 65 20 2a 2f |.X} /* p|space */|
|00005fd0| 0a 58 0a 58 4c 4f 43 41 | 4c 20 76 6f 69 64 0a 58 |.X.XLOCA|L void.X|
|00005fe0| 70 70 6e 61 6d 65 28 20 | 74 69 74 6c 65 2c 20 75 |ppname( |title, u|
|00005ff0| 2c 20 70 20 29 0a 58 20 | 20 20 20 42 4f 4f 4c 20 |, p ).X | BOOL |
|00006000| 74 69 74 6c 65 3b 0a 58 | 20 20 20 20 4c 55 53 45 |title;.X| LUSE|
|00006010| 52 20 2a 75 3b 0a 58 20 | 20 20 20 50 45 52 53 4f |R *u;.X | PERSO|
|00006020| 4e 20 2a 70 3b 0a 58 7b | 0a 58 20 20 20 20 69 66 |N *p;.X{|.X if|
|00006030| 28 20 74 69 74 6c 65 20 | 29 0a 58 09 70 73 74 72 |( title |).X.pstr|
|00006040| 28 20 22 2d 2d 46 75 6c | 6c 20 6e 61 6d 65 2d 2d |( "--Ful|l name--|
|00006050| 22 20 29 3b 0a 58 20 20 | 20 20 65 6c 73 65 20 69 |" );.X | else i|
|00006060| 66 28 20 21 73 61 6d 65 | 20 29 0a 58 09 69 66 28 |f( !same| ).X.if(|
|00006070| 20 70 20 21 3d 20 4e 55 | 4c 4c 20 29 0a 58 09 20 | p != NU|LL ).X. |
|00006080| 20 20 20 70 63 6f 75 6e | 74 28 20 70 65 72 73 6f | pcoun|t( perso|
|00006090| 6e 77 69 64 74 68 2c 20 | 70 2d 3e 70 5f 70 65 72 |nwidth, |p->p_per|
|000060a0| 73 6f 6e 61 6c 20 29 3b | 0a 58 09 65 6c 73 65 0a |sonal );|.X.else.|
|000060b0| 58 09 20 20 20 20 70 73 | 74 72 28 20 4e 4f 5f 4e |X. ps|tr( NO_N|
|000060c0| 41 4d 45 20 29 3b 0a 58 | 20 20 20 20 67 6f 61 6c |AME );.X| goal|
|000060d0| 63 6f 6c 20 2b 3d 20 70 | 65 72 73 6f 6e 77 69 64 |col += p|ersonwid|
|000060e0| 74 68 3b 0a 58 7d 20 2f | 2a 20 70 70 6e 61 6d 65 |th;.X} /|* ppname|
|000060f0| 20 2a 2f 0a 58 0a 58 4c | 4f 43 41 4c 20 76 6f 69 | */.X.XL|OCAL voi|
|00006100| 64 0a 58 70 63 6d 64 28 | 20 74 69 74 6c 65 2c 20 |d.Xpcmd(| title, |
|00006110| 75 2c 20 70 20 29 0a 58 | 20 20 20 20 42 4f 4f 4c |u, p ).X| BOOL|
|00006120| 20 74 69 74 6c 65 3b 0a | 58 20 20 20 20 4c 55 53 | title;.|X LUS|
|00006130| 45 52 20 2a 75 3b 0a 58 | 20 20 20 20 50 45 52 53 |ER *u;.X| PERS|
|00006140| 4f 4e 20 2a 70 3b 0a 58 | 7b 0a 58 20 20 20 20 73 |ON *p;.X|{.X s|
|00006150| 74 72 75 63 74 20 70 72 | 20 2a 70 72 3b 0a 58 0a |truct pr| *pr;.X.|
|00006160| 58 20 20 20 20 69 66 28 | 20 74 69 74 6c 65 20 29 |X if(| title )|
|00006170| 20 7b 0a 58 09 70 73 74 | 72 28 20 28 73 77 5f 69 | {.X.pst|r( (sw_i|
|00006180| 74 73 20 3f 20 22 4a 6f | 62 6e 61 6d 22 20 3a 20 |ts ? "Jo|bnam" : |
|00006190| 22 2d 57 68 61 74 2d 22 | 29 20 29 3b 0a 58 09 67 |"-What-"|) );.X.g|
|000061a0| 6f 61 6c 63 6f 6c 20 2b | 3d 20 50 52 4f 47 5f 57 |oalcol +|= PROG_W|
|000061b0| 49 44 3b 0a 58 09 72 65 | 74 75 72 6e 3b 0a 58 20 |ID;.X.re|turn;.X |
|000061c0| 20 20 20 7d 0a 58 0a 58 | 20 20 20 20 70 72 20 3d | }.X.X| pr =|
|000061d0| 20 75 2d 3e 75 5f 63 6f | 6d 6d 61 6e 64 3b 0a 58 | u->u_co|mmand;.X|
|000061e0| 20 20 20 20 69 66 28 20 | 70 72 20 21 3d 20 4e 55 | if( |pr != NU|
|000061f0| 4c 4c 20 29 20 7b 0a 58 | 09 63 68 61 72 20 73 75 |LL ) {.X|.char su|
|00006200| 69 64 3b 0a 58 0a 58 09 | 69 66 28 20 70 20 3d 3d |id;.X.X.|if( p ==|
|00006210| 20 4e 55 4c 4c 20 7c 7c | 20 70 72 2d 3e 70 72 5f | NULL ||| pr->pr_|
|00006220| 75 69 64 20 3d 3d 20 70 | 2d 3e 70 5f 75 69 64 20 |uid == p|->p_uid |
|00006230| 29 20 2f 2a 20 73 61 6d | 65 20 75 69 64 3f 20 2a |) /* sam|e uid? *|
|00006240| 2f 0a 58 09 20 20 20 20 | 73 75 69 64 20 3d 20 27 |/.X. |suid = '|
|00006250| 20 27 3b 09 09 09 2f 2a | 20 6e 6f 20 66 6c 61 67 | ';.../*| no flag|
|00006260| 20 2a 2f 0a 58 09 65 6c | 73 65 20 69 66 28 20 70 | */.X.el|se if( p|
|00006270| 72 2d 3e 70 72 5f 75 69 | 64 20 3d 3d 20 30 20 29 |r->pr_ui|d == 0 )|
|00006280| 09 2f 2a 20 73 75 70 65 | 72 20 75 73 65 72 3f 20 |./* supe|r user? |
|00006290| 2a 2f 0a 58 09 20 20 20 | 20 73 75 69 64 20 3d 20 |*/.X. | suid = |
|000062a0| 53 55 49 44 5f 52 4f 4f | 54 3b 09 09 2f 2a 20 66 |SUID_ROO|T;../* f|
|000062b0| 6c 61 67 20 69 74 20 2a | 2f 0a 58 09 65 6c 73 65 |lag it *|/.X.else|
|000062c0| 09 09 09 09 2f 2a 20 73 | 6f 6d 65 6f 6e 65 20 65 |..../* s|omeone e|
|000062d0| 6c 73 65 20 2a 2f 0a 58 | 09 20 20 20 20 73 75 69 |lse */.X|. sui|
|000062e0| 64 20 3d 20 53 55 49 44 | 5f 4f 54 48 45 52 3b 0a |d = SUID|_OTHER;.|
|000062f0| 58 0a 58 09 70 63 6f 75 | 6e 74 28 20 50 52 4f 47 |X.X.pcou|nt( PROG|
|00006300| 5f 57 49 44 2d 31 2c 20 | 70 72 2d 3e 70 72 5f 63 |_WID-1, |pr->pr_c|
|00006310| 6d 64 20 29 3b 20 2f 2a | 20 6c 65 61 76 65 20 6f |md ); /*| leave o|
|00006320| 6e 65 20 66 6f 72 20 73 | 75 69 64 20 2a 2f 0a 58 |ne for s|uid */.X|
|00006330| 09 70 63 68 61 72 28 20 | 73 75 69 64 20 29 3b 0a |.pchar( |suid );.|
|00006340| 58 20 20 20 20 7d 20 2f | 2a 20 70 72 20 6e 6f 74 |X } /|* pr not|
|00006350| 20 6e 75 6c 6c 20 2a 2f | 0a 58 20 20 20 20 65 6c | null */|.X el|
|00006360| 73 65 0a 58 09 70 73 74 | 72 28 20 45 4d 50 54 59 |se.X.pst|r( EMPTY|
|00006370| 5f 43 4d 44 20 29 3b 0a | 58 0a 58 20 20 20 20 67 |_CMD );.|X.X g|
|00006380| 6f 61 6c 63 6f 6c 20 2b | 3d 20 50 52 4f 47 5f 57 |oalcol +|= PROG_W|
|00006390| 49 44 3b 0a 58 7d 20 2f | 2a 20 70 63 6d 64 20 2a |ID;.X} /|* pcmd *|
|000063a0| 2f 0a 58 0a 58 23 20 69 | 66 64 65 66 20 50 49 44 |/.X.X# i|fdef PID|
|000063b0| 5f 43 4f 4c 0a 58 4c 4f | 43 41 4c 20 76 6f 69 64 |_COL.XLO|CAL void|
|000063c0| 0a 58 70 70 69 64 28 20 | 74 69 74 6c 65 2c 20 75 |.Xppid( |title, u|
|000063d0| 2c 20 70 20 29 0a 58 20 | 20 20 20 42 4f 4f 4c 20 |, p ).X | BOOL |
|000063e0| 74 69 74 6c 65 3b 0a 58 | 20 20 20 20 4c 55 53 45 |title;.X| LUSE|
|000063f0| 52 20 2a 75 3b 0a 58 20 | 20 20 20 50 45 52 53 4f |R *u;.X | PERSO|
+--------+-------------------------+-------------------------+--------+--------+
Only 25.0 KB of data is shown above.