home *** CD-ROM | disk | FTP | other *** search
/ Usenet 1994 January / usenetsourcesnewsgroupsinfomagicjanuary1994.iso / sources / misc / volume8 / hint / part02 < prev    next >
SHell self-extracting ARchive  |  1989-08-24  |  26.0 KB

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).

ConfidenceProgramDetectionMatch TypeSupport
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 6d 69 73 63 0a 46 72 |.sources|.misc.Fr|
|00000020| 6f 6d 3a 20 61 6c 6c 62 | 65 72 79 40 75 75 6e 65 |om: allb|ery@uune|
|00000030| 74 2e 55 55 2e 4e 45 54 | 20 28 42 72 61 6e 64 6f |t.UU.NET| (Brando|
|00000040| 6e 20 53 2e 20 41 6c 6c | 62 65 72 79 20 2d 20 63 |n S. All|bery - c|
|00000050| 6f 6d 70 2e 73 6f 75 72 | 63 65 73 2e 6d 69 73 63 |omp.sour|ces.misc|
|00000060| 29 0a 73 75 62 6a 65 63 | 74 3a 20 76 30 38 69 30 |).subjec|t: v08i0|
|00000070| 31 37 3a 20 68 69 6e 74 | 2c 20 61 6e 20 75 6e 6f |17: hint|, an uno|
|00000080| 62 74 72 75 73 69 76 65 | 20 6d 65 73 73 61 67 65 |btrusive| message|
|00000090| 72 2c 20 70 61 72 74 20 | 32 20 6f 66 20 32 0a 52 |r, part |2 of 2.R|
|000000a0| 65 70 6c 79 2d 54 6f 3a | 20 65 64 66 40 52 4f 43 |eply-To:| edf@ROC|
|000000b0| 4b 59 32 2e 52 4f 43 4b | 45 46 45 4c 4c 45 52 2e |KY2.ROCK|EFELLER.|
|000000c0| 45 44 55 20 28 44 61 76 | 69 64 20 4d 61 63 4b 65 |EDU (Dav|id MacKe|
|000000d0| 6e 7a 69 65 29 0a 0a 50 | 6f 73 74 69 6e 67 2d 6e |nzie)..P|osting-n|
|000000e0| 75 6d 62 65 72 3a 20 56 | 6f 6c 75 6d 65 20 38 2c |umber: V|olume 8,|
|000000f0| 20 49 73 73 75 65 20 31 | 37 0a 53 75 62 6d 69 74 | Issue 1|7.Submit|
|00000100| 74 65 64 2d 62 79 3a 20 | 65 64 66 40 52 4f 43 4b |ted-by: |edf@ROCK|
|00000110| 59 32 2e 52 4f 43 4b 45 | 46 45 4c 4c 45 52 2e 45 |Y2.ROCKE|FELLER.E|
|00000120| 44 55 20 28 44 61 76 69 | 64 20 4d 61 63 4b 65 6e |DU (Davi|d MacKen|
|00000130| 7a 69 65 29 0a 41 72 63 | 68 69 76 65 2d 6e 61 6d |zie).Arc|hive-nam|
|00000140| 65 3a 20 68 69 6e 74 2f | 70 61 72 74 30 32 0a 0a |e: hint/|part02..|
|00000150| 23 21 20 2f 62 69 6e 2f | 73 68 0a 23 20 54 68 69 |#! /bin/|sh.# Thi|
|00000160| 73 20 69 73 20 61 20 73 | 68 65 6c 6c 20 61 72 63 |s is a s|hell arc|
|00000170| 68 69 76 65 2e 20 20 52 | 65 6d 6f 76 65 20 61 6e |hive. R|emove an|
|00000180| 79 74 68 69 6e 67 20 62 | 65 66 6f 72 65 20 74 68 |ything b|efore th|
|00000190| 69 73 20 6c 69 6e 65 2c | 20 74 68 65 6e 20 75 6e |is line,| then un|
|000001a0| 70 61 63 6b 0a 23 20 69 | 74 20 62 79 20 73 61 76 |pack.# i|t by sav|
|000001b0| 69 6e 67 20 69 74 20 69 | 6e 74 6f 20 61 20 66 69 |ing it i|nto a fi|
|000001c0| 6c 65 20 61 6e 64 20 74 | 79 70 69 6e 67 20 22 73 |le and t|yping "s|
|000001d0| 68 20 66 69 6c 65 22 2e | 20 20 54 6f 20 6f 76 65 |h file".| To ove|
|000001e0| 72 77 72 69 74 65 20 65 | 78 69 73 74 69 6e 67 0a |rwrite e|xisting.|
|000001f0| 23 20 66 69 6c 65 73 2c | 20 74 79 70 65 20 22 73 |# files,| type "s|
|00000200| 68 20 66 69 6c 65 20 2d | 63 22 2e 20 20 59 6f 75 |h file -|c". You|
|00000210| 20 63 61 6e 20 61 6c 73 | 6f 20 66 65 65 64 20 74 | can als|o feed t|
|00000220| 68 69 73 20 61 73 20 73 | 74 61 6e 64 61 72 64 20 |his as s|tandard |
|00000230| 69 6e 70 75 74 20 76 69 | 61 0a 23 20 75 6e 73 68 |input vi|a.# unsh|
|00000240| 61 72 2c 20 6f 72 20 62 | 79 20 74 79 70 69 6e 67 |ar, or b|y typing|
|00000250| 20 22 73 68 20 3c 66 69 | 6c 65 22 2c 20 65 2e 67 | "sh <fi|le", e.g|
|00000260| 2e 2e 20 20 49 66 20 74 | 68 69 73 20 61 72 63 68 |.. If t|his arch|
|00000270| 69 76 65 20 69 73 20 63 | 6f 6d 70 6c 65 74 65 2c |ive is c|omplete,|
|00000280| 20 79 6f 75 0a 23 20 77 | 69 6c 6c 20 73 65 65 20 | you.# w|ill see |
|00000290| 74 68 65 20 66 6f 6c 6c | 6f 77 69 6e 67 20 6d 65 |the foll|owing me|
|000002a0| 73 73 61 67 65 20 61 74 | 20 74 68 65 20 65 6e 64 |ssage at| the end|
|000002b0| 3a 0a 23 09 09 22 45 6e | 64 20 6f 66 20 61 72 63 |:.#.."En|d of arc|
|000002c0| 68 69 76 65 20 32 20 28 | 6f 66 20 32 29 2e 22 0a |hive 2 (|of 2).".|
|000002d0| 23 20 43 6f 6e 74 65 6e | 74 73 3a 20 20 74 74 79 |# Conten|ts: tty|
|000002e0| 2e 63 20 63 6c 65 61 72 | 68 69 6e 74 2e 63 20 4d |.c clear|hint.c M|
|000002f0| 61 6b 65 66 69 6c 65 20 | 43 4f 50 59 49 4e 47 0a |akefile |COPYING.|
|00000300| 23 20 57 72 61 70 70 65 | 64 20 62 79 20 64 61 76 |# Wrappe|d by dav|
|00000310| 65 40 7a 65 64 66 64 63 | 20 6f 6e 20 54 68 75 20 |e@zedfdc| on Thu |
|00000320| 41 75 67 20 32 34 20 32 | 30 3a 31 30 3a 30 36 20 |Aug 24 2|0:10:06 |
|00000330| 31 39 38 39 0a 50 41 54 | 48 3d 2f 62 69 6e 3a 2f |1989.PAT|H=/bin:/|
|00000340| 75 73 72 2f 62 69 6e 3a | 2f 75 73 72 2f 75 63 62 |usr/bin:|/usr/ucb|
|00000350| 20 3b 20 65 78 70 6f 72 | 74 20 50 41 54 48 0a 69 | ; expor|t PATH.i|
|00000360| 66 20 74 65 73 74 20 2d | 66 20 27 74 74 79 2e 63 |f test -|f 'tty.c|
|00000370| 27 20 2d 61 20 22 24 7b | 31 7d 22 20 21 3d 20 22 |' -a "${|1}" != "|
|00000380| 2d 63 22 20 3b 20 74 68 | 65 6e 20 0a 20 20 65 63 |-c" ; th|en . ec|
|00000390| 68 6f 20 73 68 61 72 3a | 20 57 69 6c 6c 20 6e 6f |ho shar:| Will no|
|000003a0| 74 20 63 6c 6f 62 62 65 | 72 20 65 78 69 73 74 69 |t clobbe|r existi|
|000003b0| 6e 67 20 66 69 6c 65 20 | 5c 22 27 74 74 79 2e 63 |ng file |\"'tty.c|
|000003c0| 27 5c 22 0a 65 6c 73 65 | 0a 65 63 68 6f 20 73 68 |'\".else|.echo sh|
|000003d0| 61 72 3a 20 45 78 74 72 | 61 63 74 69 6e 67 20 5c |ar: Extr|acting \|
|000003e0| 22 27 74 74 79 2e 63 27 | 5c 22 20 5c 28 36 30 39 |"'tty.c'|\" \(609|
|000003f0| 37 20 63 68 61 72 61 63 | 74 65 72 73 5c 29 0a 73 |7 charac|ters\).s|
|00000400| 65 64 20 22 73 2f 5e 58 | 2f 2f 22 20 3e 27 74 74 |ed "s/^X|//" >'tt|
|00000410| 79 2e 63 27 20 3c 3c 27 | 45 4e 44 5f 4f 46 5f 46 |y.c' <<'|END_OF_F|
|00000420| 49 4c 45 27 0a 58 2f 2a | 20 74 74 79 2e 63 20 2d |ILE'.X/*| tty.c -|
|00000430| 2d 20 66 75 6e 63 74 69 | 6f 6e 73 20 64 65 61 6c |- functi|ons deal|
|00000440| 69 6e 67 20 77 69 74 68 | 20 74 65 72 6d 69 6e 61 |ing with| termina|
|00000450| 6c 73 20 61 6e 64 20 74 | 65 72 6d 63 61 70 0a 58 |ls and t|ermcap.X|
|00000460| 20 20 20 43 6f 70 79 72 | 69 67 68 74 20 28 43 29 | Copyr|ight (C)|
|00000470| 20 31 39 38 39 20 44 61 | 76 69 64 20 4d 61 63 4b | 1989 Da|vid MacK|
|00000480| 65 6e 7a 69 65 0a 58 0a | 58 20 20 20 54 68 69 73 |enzie.X.|X This|
|00000490| 20 70 72 6f 67 72 61 6d | 20 69 73 20 66 72 65 65 | program| is free|
|000004a0| 20 73 6f 66 74 77 61 72 | 65 3b 20 79 6f 75 20 63 | softwar|e; you c|
|000004b0| 61 6e 20 72 65 64 69 73 | 74 72 69 62 75 74 65 20 |an redis|tribute |
|000004c0| 69 74 20 61 6e 64 2f 6f | 72 20 6d 6f 64 69 66 79 |it and/o|r modify|
|000004d0| 0a 58 20 20 20 69 74 20 | 75 6e 64 65 72 20 74 68 |.X it |under th|
|000004e0| 65 20 74 65 72 6d 73 20 | 6f 66 20 74 68 65 20 47 |e terms |of the G|
|000004f0| 4e 55 20 47 65 6e 65 72 | 61 6c 20 50 75 62 6c 69 |NU Gener|al Publi|
|00000500| 63 20 4c 69 63 65 6e 73 | 65 20 61 73 20 70 75 62 |c Licens|e as pub|
|00000510| 6c 69 73 68 65 64 20 62 | 79 0a 58 20 20 20 74 68 |lished b|y.X th|
|00000520| 65 20 46 72 65 65 20 53 | 6f 66 74 77 61 72 65 20 |e Free S|oftware |
|00000530| 46 6f 75 6e 64 61 74 69 | 6f 6e 3b 20 65 69 74 68 |Foundati|on; eith|
|00000540| 65 72 20 76 65 72 73 69 | 6f 6e 20 31 2c 20 6f 72 |er versi|on 1, or|
|00000550| 20 28 61 74 20 79 6f 75 | 72 20 6f 70 74 69 6f 6e | (at you|r option|
|00000560| 29 0a 58 20 20 20 61 6e | 79 20 6c 61 74 65 72 20 |).X an|y later |
|00000570| 76 65 72 73 69 6f 6e 2e | 0a 58 0a 58 20 20 20 54 |version.|.X.X T|
|00000580| 68 69 73 20 70 72 6f 67 | 72 61 6d 20 69 73 20 64 |his prog|ram is d|
|00000590| 69 73 74 72 69 62 75 74 | 65 64 20 69 6e 20 74 68 |istribut|ed in th|
|000005a0| 65 20 68 6f 70 65 20 74 | 68 61 74 20 69 74 20 77 |e hope t|hat it w|
|000005b0| 69 6c 6c 20 62 65 20 75 | 73 65 66 75 6c 2c 0a 58 |ill be u|seful,.X|
|000005c0| 20 20 20 62 75 74 20 57 | 49 54 48 4f 55 54 20 41 | but W|ITHOUT A|
|000005d0| 4e 59 20 57 41 52 52 41 | 4e 54 59 3b 20 77 69 74 |NY WARRA|NTY; wit|
|000005e0| 68 6f 75 74 20 65 76 65 | 6e 20 74 68 65 20 69 6d |hout eve|n the im|
|000005f0| 70 6c 69 65 64 20 77 61 | 72 72 61 6e 74 79 20 6f |plied wa|rranty o|
|00000600| 66 0a 58 20 20 20 4d 45 | 52 43 48 41 4e 54 41 42 |f.X ME|RCHANTAB|
|00000610| 49 4c 49 54 59 20 6f 72 | 20 46 49 54 4e 45 53 53 |ILITY or| FITNESS|
|00000620| 20 46 4f 52 20 41 20 50 | 41 52 54 49 43 55 4c 41 | FOR A P|ARTICULA|
|00000630| 52 20 50 55 52 50 4f 53 | 45 2e 20 20 53 65 65 20 |R PURPOS|E. See |
|00000640| 74 68 65 0a 58 20 20 20 | 47 4e 55 20 47 65 6e 65 |the.X |GNU Gene|
|00000650| 72 61 6c 20 50 75 62 6c | 69 63 20 4c 69 63 65 6e |ral Publ|ic Licen|
|00000660| 73 65 20 66 6f 72 20 6d | 6f 72 65 20 64 65 74 61 |se for m|ore deta|
|00000670| 69 6c 73 2e 0a 58 0a 58 | 20 20 20 59 6f 75 20 73 |ils..X.X| You s|
|00000680| 68 6f 75 6c 64 20 68 61 | 76 65 20 72 65 63 65 69 |hould ha|ve recei|
|00000690| 76 65 64 20 61 20 63 6f | 70 79 20 6f 66 20 74 68 |ved a co|py of th|
|000006a0| 65 20 47 4e 55 20 47 65 | 6e 65 72 61 6c 20 50 75 |e GNU Ge|neral Pu|
|000006b0| 62 6c 69 63 20 4c 69 63 | 65 6e 73 65 0a 58 20 20 |blic Lic|ense.X |
|000006c0| 20 61 6c 6f 6e 67 20 77 | 69 74 68 20 74 68 69 73 | along w|ith this|
|000006d0| 20 70 72 6f 67 72 61 6d | 3b 20 69 66 20 6e 6f 74 | program|; if not|
|000006e0| 2c 20 77 72 69 74 65 20 | 74 6f 20 74 68 65 20 46 |, write |to the F|
|000006f0| 72 65 65 20 53 6f 66 74 | 77 61 72 65 0a 58 20 20 |ree Soft|ware.X |
|00000700| 20 46 6f 75 6e 64 61 74 | 69 6f 6e 2c 20 49 6e 63 | Foundat|ion, Inc|
|00000710| 2e 2c 20 36 37 35 20 4d | 61 73 73 20 41 76 65 2c |., 675 M|ass Ave,|
|00000720| 20 43 61 6d 62 72 69 64 | 67 65 2c 20 4d 41 20 30 | Cambrid|ge, MA 0|
|00000730| 32 31 33 39 2c 20 55 53 | 41 2e 20 2a 2f 0a 58 0a |2139, US|A. */.X.|
|00000740| 58 23 69 6e 63 6c 75 64 | 65 20 22 68 69 6e 74 2e |X#includ|e "hint.|
|00000750| 68 22 0a 58 0a 58 2f 2a | 20 54 65 72 6d 63 61 70 |h".X.X/*| Termcap|
|00000760| 20 63 6f 64 65 73 2e 20 | 20 2a 2f 0a 58 73 74 61 | codes. | */.Xsta|
|00000770| 74 69 63 20 63 68 61 72 | 20 2a 74 63 5f 74 73 3b |tic char| *tc_ts;|
|00000780| 09 09 2f 2a 20 54 6f 20 | 73 74 61 74 75 73 20 6c |../* To |status l|
|00000790| 69 6e 65 2e 20 2a 2f 0a | 58 73 74 61 74 69 63 20 |ine. */.|Xstatic |
|000007a0| 63 68 61 72 20 2a 74 63 | 5f 66 73 3b 09 09 2f 2a |char *tc|_fs;../*|
|000007b0| 20 46 72 6f 6d 20 73 74 | 61 74 75 73 20 6c 69 6e | From st|atus lin|
|000007c0| 65 2e 20 2a 2f 0a 58 73 | 74 61 74 69 63 20 63 68 |e. */.Xs|tatic ch|
|000007d0| 61 72 20 2a 74 63 5f 64 | 73 3b 09 09 2f 2a 20 44 |ar *tc_d|s;../* D|
|000007e0| 69 73 61 62 6c 65 20 28 | 63 6c 65 61 72 29 20 73 |isable (|clear) s|
|000007f0| 74 61 74 75 73 20 6c 69 | 6e 65 2e 20 2a 2f 0a 58 |tatus li|ne. */.X|
|00000800| 73 74 61 74 69 63 20 63 | 68 61 72 20 2a 74 63 5f |static c|har *tc_|
|00000810| 62 6c 3b 09 09 2f 2a 20 | 42 65 6c 6c 20 28 70 6f |bl;../* |Bell (po|
|00000820| 73 73 69 62 6c 79 20 76 | 69 73 75 61 6c 29 2e 20 |ssibly v|isual). |
|00000830| 2a 2f 0a 58 73 74 61 74 | 69 63 20 73 68 6f 72 74 |*/.Xstat|ic short|
|00000840| 20 74 63 5f 77 73 3b 09 | 09 2f 2a 20 57 69 64 74 | tc_ws;.|./* Widt|
|00000850| 68 20 28 69 6e 20 63 6f | 6c 75 6d 6e 73 29 20 6f |h (in co|lumns) o|
|00000860| 66 20 73 74 61 74 75 73 | 20 6c 69 6e 65 2e 20 2a |f status| line. *|
|00000870| 2f 0a 58 0a 58 2f 2a 20 | 53 65 6e 64 20 74 68 65 |/.X.X/* |Send the|
|00000880| 20 6d 65 73 73 61 67 65 | 20 74 6f 20 60 74 74 2d | message| to `tt-|
|00000890| 3e 74 74 5f 74 74 79 27 | 2e 20 20 55 73 65 20 68 |>tt_tty'|. Use h|
|000008a0| 69 6e 74 74 61 62 20 74 | 6f 20 64 65 74 65 72 6d |inttab t|o determ|
|000008b0| 69 6e 65 20 77 68 61 74 | 20 74 68 65 0a 58 20 20 |ine what| the.X |
|000008c0| 20 73 74 61 74 75 73 20 | 6c 69 6e 65 20 63 6f 64 | status |line cod|
|000008d0| 65 73 20 66 6f 72 20 74 | 68 61 74 20 74 65 72 6d |es for t|hat term|
|000008e0| 69 6e 61 6c 20 61 72 65 | 2e 20 20 2a 2f 0a 58 0a |inal are|. */.X.|
|000008f0| 58 76 6f 69 64 0a 58 73 | 65 6e 64 68 69 6e 74 20 |Xvoid.Xs|endhint |
|00000900| 28 74 74 29 0a 58 20 20 | 20 20 20 73 74 72 75 63 |(tt).X | struc|
|00000910| 74 20 74 74 79 6c 69 73 | 74 20 2a 74 74 3b 0a 58 |t ttylis|t *tt;.X|
|00000920| 7b 0a 58 20 20 69 6e 74 | 20 66 64 3b 0a 58 0a 58 |{.X int| fd;.X.X|
|00000930| 20 20 69 66 20 28 21 68 | 69 6e 74 61 62 6c 65 20 | if (!h|intable |
|00000940| 28 74 74 2d 3e 74 74 5f | 74 74 79 29 29 0a 58 20 |(tt->tt_|tty)).X |
|00000950| 20 20 20 7b 0a 58 20 20 | 20 20 20 20 66 70 72 69 | {.X | fpri|
|00000960| 6e 74 66 20 28 73 74 64 | 65 72 72 2c 20 22 25 73 |ntf (std|err, "%s|
|00000970| 3a 20 25 73 20 6f 6e 20 | 25 73 20 69 73 20 6e 6f |: %s on |%s is no|
|00000980| 20 6c 6f 6e 67 65 72 20 | 61 63 63 65 70 74 69 6e | longer |acceptin|
|00000990| 67 20 68 69 6e 74 73 5c | 6e 22 2c 0a 58 09 20 20 |g hints\|n",.X. |
|000009a0| 20 20 20 20 20 70 72 6f | 67 72 61 6d 5f 6e 61 6d | pro|gram_nam|
|000009b0| 65 2c 20 74 74 2d 3e 74 | 74 5f 75 73 65 72 2c 20 |e, tt->t|t_user, |
|000009c0| 74 74 2d 3e 74 74 5f 74 | 74 79 29 3b 0a 58 20 20 |tt->tt_t|ty);.X |
|000009d0| 20 20 20 20 72 65 74 75 | 72 6e 3b 0a 58 20 20 20 | retu|rn;.X |
|000009e0| 20 7d 0a 58 20 20 69 6e | 69 74 5f 62 75 66 66 65 | }.X in|it_buffe|
|000009f0| 72 20 28 29 3b 0a 58 20 | 20 2f 2a 20 57 65 20 70 |r ();.X | /* We p|
|00000a00| 75 74 20 74 68 65 20 62 | 65 65 70 20 68 65 72 65 |ut the b|eep here|
|00000a10| 20 62 65 63 61 75 73 65 | 20 62 65 6c 6c 73 20 73 | because| bells s|
|00000a20| 6f 6d 65 74 69 6d 65 73 | 20 64 6f 6e 27 74 20 77 |ometimes| don't w|
|00000a30| 6f 72 6b 20 77 68 65 6e | 20 69 6e 20 74 68 65 0a |ork when| in the.|
|00000a40| 58 20 20 20 20 20 73 74 | 61 74 75 73 20 6c 69 6e |X st|atus lin|
|00000a50| 65 2e 20 2a 2f 0a 58 20 | 20 74 70 75 74 73 20 28 |e. */.X | tputs (|
|00000a60| 74 74 2d 3e 74 74 5f 68 | 74 2e 68 5f 62 6c 2c 20 |tt->tt_h|t.h_bl, |
|00000a70| 31 2c 20 62 75 66 66 65 | 72 5f 63 68 61 72 29 3b |1, buffe|r_char);|
|00000a80| 0a 58 20 20 74 70 75 74 | 73 20 28 74 67 6f 74 6f |.X tput|s (tgoto|
|00000a90| 20 28 74 74 2d 3e 74 74 | 5f 68 74 2e 68 5f 74 73 | (tt->tt|_ht.h_ts|
|00000aa0| 2c 20 30 2c 20 30 29 2c | 20 31 2c 20 62 75 66 66 |, 0, 0),| 1, buff|
|00000ab0| 65 72 5f 63 68 61 72 29 | 3b 0a 58 20 20 69 66 20 |er_char)|;.X if |
|00000ac0| 28 21 6e 61 6d 65 5f 61 | 74 5f 65 6e 64 29 0a 58 |(!name_a|t_end).X|
|00000ad0| 20 20 20 20 7b 0a 58 20 | 20 20 20 20 20 62 75 66 | {.X | buf|
|00000ae0| 66 65 72 5f 73 74 72 69 | 6e 67 20 28 22 28 22 29 |fer_stri|ng ("(")|
|00000af0| 3b 0a 58 20 20 20 20 20 | 20 62 75 66 66 65 72 5f |;.X | buffer_|
|00000b00| 73 74 72 69 6e 67 20 28 | 77 68 6f 61 6d 69 20 28 |string (|whoami (|
|00000b10| 29 29 3b 0a 58 20 20 20 | 20 20 20 62 75 66 66 65 |));.X | buffe|
|00000b20| 72 5f 73 74 72 69 6e 67 | 20 28 22 29 20 22 29 3b |r_string| (") ");|
|00000b30| 0a 58 20 20 20 20 7d 0a | 58 20 20 62 75 66 66 65 |.X }.|X buffe|
|00000b40| 72 5f 73 74 72 69 6e 67 | 20 28 6d 65 73 73 61 67 |r_string| (messag|
|00000b50| 65 29 3b 0a 58 20 20 69 | 66 20 28 6e 61 6d 65 5f |e);.X i|f (name_|
|00000b60| 61 74 5f 65 6e 64 29 0a | 58 20 20 20 20 7b 0a 58 |at_end).|X {.X|
|00000b70| 20 20 20 20 20 20 62 75 | 66 66 65 72 5f 73 74 72 | bu|ffer_str|
|00000b80| 69 6e 67 20 28 22 20 2d | 20 22 29 3b 3b 0a 58 20 |ing (" -| ");;.X |
|00000b90| 20 20 20 20 20 62 75 66 | 66 65 72 5f 73 74 72 69 | buf|fer_stri|
|00000ba0| 6e 67 20 28 77 68 6f 61 | 6d 69 20 28 29 29 3b 0a |ng (whoa|mi ());.|
|00000bb0| 58 20 20 20 20 7d 0a 58 | 20 20 74 70 75 74 73 20 |X }.X| tputs |
|00000bc0| 28 74 74 2d 3e 74 74 5f | 68 74 2e 68 5f 66 73 2c |(tt->tt_|ht.h_fs,|
|00000bd0| 20 31 2c 20 62 75 66 66 | 65 72 5f 63 68 61 72 29 | 1, buff|er_char)|
|00000be0| 3b 0a 58 0a 58 20 20 66 | 64 20 3d 20 6f 70 65 6e |;.X.X f|d = open|
|00000bf0| 20 28 74 74 2d 3e 74 74 | 5f 74 74 79 2c 20 4f 5f | (tt->tt|_tty, O_|
|00000c00| 57 52 4f 4e 4c 59 29 3b | 0a 58 20 20 69 66 20 28 |WRONLY);|.X if (|
|00000c10| 66 64 20 3d 3d 20 2d 31 | 29 0a 58 20 20 20 20 70 |fd == -1|).X p|
|00000c20| 66 61 74 61 6c 20 28 74 | 74 2d 3e 74 74 5f 74 74 |fatal (t|t->tt_tt|
|00000c30| 79 29 3b 0a 58 20 20 66 | 6c 75 73 68 5f 62 75 66 |y);.X f|lush_buf|
|00000c40| 66 65 72 20 28 66 64 29 | 3b 0a 58 20 20 63 6c 6f |fer (fd)|;.X clo|
|00000c50| 73 65 20 28 66 64 29 3b | 0a 58 7d 0a 58 0a 58 2f |se (fd);|.X}.X.X/|
|00000c60| 2a 20 45 72 61 73 65 20 | 74 68 65 20 68 69 6e 74 |* Erase |the hint|
|00000c70| 20 66 72 6f 6d 20 60 74 | 74 2d 3e 74 74 5f 74 74 | from `t|t->tt_tt|
|00000c80| 79 27 2e 20 20 2a 2f 0a | 58 0a 58 76 6f 69 64 0a |y'. */.|X.Xvoid.|
|00000c90| 58 65 72 61 73 65 68 69 | 6e 74 20 28 74 74 29 0a |Xerasehi|nt (tt).|
|00000ca0| 58 20 20 20 20 20 73 74 | 72 75 63 74 20 74 74 79 |X st|ruct tty|
|00000cb0| 6c 69 73 74 20 2a 74 74 | 3b 0a 58 7b 0a 58 20 20 |list *tt|;.X{.X |
|00000cc0| 69 6e 74 20 66 64 3b 0a | 58 0a 58 20 20 69 6e 69 |int fd;.|X.X ini|
|00000cd0| 74 5f 62 75 66 66 65 72 | 20 28 29 3b 0a 58 20 20 |t_buffer| ();.X |
|00000ce0| 74 70 75 74 73 20 28 74 | 74 2d 3e 74 74 5f 68 74 |tputs (t|t->tt_ht|
|00000cf0| 2e 68 5f 64 73 2c 20 31 | 2c 20 62 75 66 66 65 72 |.h_ds, 1|, buffer|
|00000d00| 5f 63 68 61 72 29 3b 0a | 58 0a 58 20 20 66 64 20 |_char);.|X.X fd |
|00000d10| 3d 20 6f 70 65 6e 20 28 | 74 74 2d 3e 74 74 5f 74 |= open (|tt->tt_t|
|00000d20| 74 79 2c 20 4f 5f 57 52 | 4f 4e 4c 59 29 3b 0a 58 |ty, O_WR|ONLY);.X|
|00000d30| 20 20 69 66 20 28 66 64 | 20 3d 3d 20 2d 31 29 0a | if (fd| == -1).|
|00000d40| 58 20 20 20 20 70 66 61 | 74 61 6c 20 28 74 74 2d |X pfa|tal (tt-|
|00000d50| 3e 74 74 5f 74 74 79 29 | 3b 0a 58 20 20 66 6c 75 |>tt_tty)|;.X flu|
|00000d60| 73 68 5f 62 75 66 66 65 | 72 20 28 66 64 29 3b 0a |sh_buffe|r (fd);.|
|00000d70| 58 20 20 63 6c 6f 73 65 | 20 28 66 64 29 3b 0a 58 |X close| (fd);.X|
|00000d80| 7d 0a 58 0a 58 2f 2a 20 | 52 65 74 75 72 6e 20 6f |}.X.X/* |Return o|
|00000d90| 75 72 20 75 73 65 72 6e | 61 6d 65 2e 20 20 46 69 |ur usern|ame. Fi|
|00000da0| 72 73 74 20 74 72 79 20 | 75 74 6d 70 20 65 6e 74 |rst try |utmp ent|
|00000db0| 72 79 3b 20 69 66 20 74 | 68 61 74 20 66 61 69 6c |ry; if t|hat fail|
|00000dc0| 73 2c 20 75 73 65 20 75 | 69 64 2e 0a 58 20 20 20 |s, use u|id..X |
|00000dd0| 47 75 61 72 61 6e 74 65 | 65 64 20 74 6f 20 72 65 |Guarante|ed to re|
|00000de0| 74 75 72 6e 20 61 20 73 | 74 72 69 6e 67 20 38 20 |turn a s|tring 8 |
|00000df0| 63 68 61 72 61 63 74 65 | 72 73 20 6f 72 20 73 68 |characte|rs or sh|
|00000e00| 6f 72 74 65 72 2e 20 20 | 2a 2f 0a 58 0a 58 63 68 |orter. |*/.X.Xch|
|00000e10| 61 72 20 2a 0a 58 77 68 | 6f 61 6d 69 20 28 29 0a |ar *.Xwh|oami ().|
|00000e20| 58 7b 0a 58 20 20 63 68 | 61 72 20 2a 6d 65 3b 0a |X{.X ch|ar *me;.|
|00000e30| 58 0a 58 20 20 6d 65 20 | 3d 20 67 65 74 6c 6f 67 |X.X me |= getlog|
|00000e40| 69 6e 20 28 29 3b 0a 58 | 20 20 69 66 20 28 6d 65 |in ();.X| if (me|
|00000e50| 20 3d 3d 20 4e 55 4c 4c | 29 0a 58 20 20 20 20 6d | == NULL|).X m|
|00000e60| 65 20 3d 20 70 77 6e 61 | 6d 65 20 28 29 3b 0a 58 |e = pwna|me ();.X|
|00000e70| 20 20 69 66 20 28 73 74 | 72 6c 65 6e 20 28 6d 65 | if (st|rlen (me|
|00000e80| 29 20 3e 20 38 29 0a 58 | 20 20 20 20 6d 65 5b 38 |) > 8).X| me[8|
|00000e90| 5d 20 3d 20 30 3b 0a 58 | 20 20 72 65 74 75 72 6e |] = 0;.X| return|
|00000ea0| 20 6d 65 3b 0a 58 7d 0a | 58 0a 58 2f 2a 20 52 65 | me;.X}.|X.X/* Re|
|00000eb0| 74 75 72 6e 20 74 68 65 | 20 70 61 73 73 77 64 20 |turn the| passwd |
|00000ec0| 6e 61 6d 65 20 62 61 73 | 65 64 20 6f 6e 20 6f 75 |name bas|ed on ou|
|00000ed0| 72 20 75 69 64 2e 20 20 | 2a 2f 0a 58 0a 58 63 68 |r uid. |*/.X.Xch|
|00000ee0| 61 72 20 2a 0a 58 70 77 | 6e 61 6d 65 20 28 29 0a |ar *.Xpw|name ().|
|00000ef0| 58 7b 0a 58 20 20 73 74 | 72 75 63 74 20 70 61 73 |X{.X st|ruct pas|
|00000f00| 73 77 64 20 2a 70 77 3b | 0a 58 0a 58 20 20 70 77 |swd *pw;|.X.X pw|
|00000f10| 20 3d 20 67 65 74 70 77 | 75 69 64 20 28 67 65 74 | = getpw|uid (get|
|00000f20| 75 69 64 20 28 29 29 3b | 0a 58 20 20 69 66 20 28 |uid ());|.X if (|
|00000f30| 70 77 20 3d 3d 20 4e 55 | 4c 4c 29 0a 58 20 20 20 |pw == NU|LL).X |
|00000f40| 20 72 65 74 75 72 6e 20 | 22 22 3b 0a 58 20 20 65 | return |"";.X e|
|00000f50| 6c 73 65 0a 58 20 20 20 | 20 72 65 74 75 72 6e 20 |lse.X | return |
|00000f60| 70 77 2d 3e 70 77 5f 6e | 61 6d 65 3b 0a 58 7d 0a |pw->pw_n|ame;.X}.|
|00000f70| 58 0a 58 2f 2a 20 53 65 | 74 20 74 68 65 20 65 6e |X.X/* Se|t the en|
|00000f80| 74 72 79 20 69 6e 20 68 | 69 6e 74 74 61 62 20 66 |try in h|inttab f|
|00000f90| 6f 72 20 74 74 79 20 60 | 74 74 79 27 20 28 61 20 |or tty `|tty' (a |
|00000fa0| 66 75 6c 6c 20 70 61 74 | 68 29 2e 0a 58 0a 58 20 |full pat|h)..X.X |
|00000fb0| 20 20 46 69 72 73 74 20 | 77 65 20 73 65 61 72 63 | First |we searc|
|00000fc0| 68 20 66 6f 72 20 61 6e | 20 65 78 69 73 74 69 6e |h for an| existin|
|00000fd0| 67 20 28 69 6e 76 61 6c | 69 64 29 20 65 6e 74 72 |g (inval|id) entr|
|00000fe0| 79 20 66 6f 72 20 60 74 | 74 79 27 2c 20 61 6e 64 |y for `t|ty', and|
|00000ff0| 20 69 66 0a 58 20 20 20 | 77 65 20 66 69 6e 64 20 | if.X |we find |
|00001000| 6f 6e 65 2c 20 77 65 20 | 75 70 64 61 74 65 20 69 |one, we |update i|
|00001010| 74 2e 0a 58 0a 58 20 20 | 20 49 66 20 77 65 20 64 |t..X.X | If we d|
|00001020| 6f 6e 27 74 20 66 69 6e | 64 20 6f 6e 65 2c 20 77 |on't fin|d one, w|
|00001030| 65 20 6f 70 65 6e 20 74 | 68 65 20 66 69 6c 65 20 |e open t|he file |
|00001040| 69 6e 0a 58 20 20 20 41 | 50 50 45 4e 44 20 6d 6f |in.X A|PPEND mo|
|00001050| 64 65 2c 20 61 6e 64 20 | 61 64 64 20 61 20 6e 65 |de, and |add a ne|
|00001060| 77 20 65 6e 74 72 79 20 | 74 6f 20 74 68 65 20 65 |w entry |to the e|
|00001070| 6e 64 2e 20 20 53 69 6e | 63 65 20 77 65 27 72 65 |nd. Sin|ce we're|
|00001080| 20 75 73 69 6e 67 0a 58 | 20 20 20 61 74 6f 6d 69 | using.X| atomi|
|00001090| 63 20 77 72 69 74 65 73 | 2c 20 77 65 20 64 6f 6e |c writes|, we don|
|000010a0| 27 74 20 6e 65 65 64 20 | 74 6f 20 75 73 65 20 61 |'t need |to use a|
|000010b0| 6e 79 20 73 70 65 63 69 | 61 6c 20 66 69 6c 65 20 |ny speci|al file |
|000010c0| 6c 6f 63 6b 69 6e 67 20 | 74 6f 0a 58 20 20 20 70 |locking |to.X p|
|000010d0| 72 65 76 65 6e 74 20 63 | 6f 6d 70 65 74 69 6e 67 |revent c|ompeting|
|000010e0| 20 68 69 6e 74 20 70 72 | 6f 63 65 73 73 65 73 20 | hint pr|ocesses |
|000010f0| 66 72 6f 6d 20 77 72 69 | 74 69 6e 67 20 73 63 72 |from wri|ting scr|
|00001100| 61 6d 62 6c 65 64 20 65 | 6e 74 72 69 65 73 20 74 |ambled e|ntries t|
|00001110| 6f 0a 58 20 20 20 74 68 | 65 20 65 6e 64 20 6f 66 |o.X th|e end of|
|00001120| 20 74 68 65 20 66 69 6c | 65 2e 20 20 2a 2f 0a 58 | the fil|e. */.X|
|00001130| 0a 58 76 6f 69 64 0a 58 | 75 70 64 61 74 65 74 61 |.Xvoid.X|updateta|
|00001140| 62 20 28 74 74 79 29 0a | 58 20 20 20 20 20 63 68 |b (tty).|X ch|
|00001150| 61 72 20 2a 74 74 79 3b | 0a 58 7b 0a 58 20 20 73 |ar *tty;|.X{.X s|
|00001160| 74 61 74 69 63 20 73 74 | 72 75 63 74 20 68 69 6e |tatic st|ruct hin|
|00001170| 74 74 61 62 20 68 3b 0a | 58 0a 58 20 20 2f 2a 20 |ttab h;.|X.X /* |
|00001180| 53 65 61 72 63 68 20 74 | 68 65 20 68 69 6e 74 74 |Search t|he hintt|
|00001190| 61 62 20 66 6f 72 20 61 | 6e 20 6f 6c 64 20 65 6e |ab for a|n old en|
|000011a0| 74 72 79 20 66 6f 72 20 | 60 74 74 79 27 2e 20 2a |try for |`tty'. *|
|000011b0| 2f 0a 58 20 20 73 65 74 | 68 74 65 6e 74 20 28 29 |/.X set|htent ()|
|000011c0| 3b 0a 58 20 20 69 66 20 | 28 21 67 65 74 68 74 74 |;.X if |(!gethtt|
|000011d0| 74 79 20 28 74 74 79 29 | 29 0a 58 20 20 20 20 7b |ty (tty)|).X {|
|000011e0| 0a 58 20 20 20 20 20 20 | 2f 2a 20 4e 6f 20 70 72 |.X |/* No pr|
|000011f0| 65 76 69 6f 75 73 20 65 | 6e 74 72 79 20 66 6f 72 |evious e|ntry for|
|00001200| 20 60 74 74 79 27 2e 20 | 20 41 64 64 20 6f 6e 65 | `tty'. | Add one|
|00001210| 2e 20 2a 2f 0a 58 20 20 | 20 20 20 20 65 6e 64 68 |. */.X | endh|
|00001220| 74 65 6e 74 20 28 29 3b | 0a 58 20 20 20 20 20 20 |tent ();|.X |
|00001230| 73 65 74 68 74 61 70 70 | 20 28 29 3b 0a 58 20 20 |sethtapp| ();.X |
|00001240| 20 20 7d 0a 58 20 20 73 | 65 74 75 70 5f 74 65 72 | }.X s|etup_ter|
|00001250| 6d 63 61 70 20 28 29 3b | 0a 58 20 20 67 65 74 5f |mcap ();|.X get_|
|00001260| 73 70 65 65 64 20 28 29 | 3b 0a 58 20 20 73 74 72 |speed ()|;.X str|
|00001270| 63 70 79 20 28 68 2e 68 | 5f 74 74 79 2c 20 74 74 |cpy (h.h|_tty, tt|
|00001280| 79 29 3b 0a 58 20 20 73 | 74 72 63 70 79 20 28 68 |y);.X s|trcpy (h|
|00001290| 2e 68 5f 74 73 2c 20 74 | 63 5f 74 73 29 3b 0a 58 |.h_ts, t|c_ts);.X|
|000012a0| 20 20 73 74 72 63 70 79 | 20 28 68 2e 68 5f 66 73 | strcpy| (h.h_fs|
|000012b0| 2c 20 74 63 5f 66 73 29 | 3b 0a 58 20 20 73 74 72 |, tc_fs)|;.X str|
|000012c0| 63 70 79 20 28 68 2e 68 | 5f 64 73 2c 20 74 63 5f |cpy (h.h|_ds, tc_|
|000012d0| 64 73 29 3b 0a 58 20 20 | 73 74 72 63 70 79 20 28 |ds);.X |strcpy (|
|000012e0| 68 2e 68 5f 62 6c 2c 20 | 74 63 5f 62 6c 29 3b 0a |h.h_bl, |tc_bl);.|
|000012f0| 58 20 20 68 2e 68 5f 77 | 73 20 3d 20 74 63 5f 77 |X h.h_w|s = tc_w|
|00001300| 73 3b 0a 58 20 20 77 72 | 69 74 65 68 74 65 6e 74 |s;.X wr|itehtent|
|00001310| 20 28 26 68 29 3b 0a 58 | 20 20 65 6e 64 68 74 65 | (&h);.X| endhte|
|00001320| 6e 74 20 28 29 3b 0a 58 | 7d 0a 58 0a 58 2f 2a 20 |nt ();.X|}.X.X/* |
|00001330| 54 68 65 73 65 20 66 75 | 6e 63 74 69 6f 6e 73 20 |These fu|nctions |
|00001340| 64 6f 20 74 68 65 69 72 | 20 62 65 73 74 20 74 6f |do their| best to|
|00001350| 20 70 72 6f 76 69 64 65 | 20 61 74 6f 6d 69 63 20 | provide| atomic |
|00001360| 77 72 69 74 65 73 2c 20 | 73 69 6e 63 65 0a 58 20 |writes, |since.X |
|00001370| 20 20 77 65 20 64 6f 6e | 27 74 20 77 61 6e 74 20 | we don|'t want |
|00001380| 6f 75 72 20 6f 75 74 70 | 75 74 20 67 65 74 74 69 |our outp|ut getti|
|00001390| 6e 67 20 6d 69 78 65 64 | 20 75 70 20 77 69 74 68 |ng mixed| up with|
|000013a0| 20 74 68 61 74 20 6f 66 | 20 66 6f 72 65 67 72 6f | that of| foregro|
|000013b0| 75 6e 64 0a 58 20 20 20 | 70 72 6f 63 65 73 73 65 |und.X |processe|
|000013c0| 73 2e 20 20 54 68 65 79 | 20 64 6f 6e 27 74 20 63 |s. They| don't c|
|000013d0| 68 65 63 6b 20 66 6f 72 | 20 6f 76 65 72 66 6c 6f |heck for| overflo|
|000013e0| 77 73 2e 20 20 2a 2f 0a | 58 0a 58 73 74 61 74 69 |ws. */.|X.Xstati|
|000013f0| 63 20 63 68 61 72 20 6f | 75 74 70 75 74 5f 62 75 |c char o|utput_bu|
|00001400| 66 66 65 72 5b 33 30 30 | 5d 3b 0a 58 73 74 61 74 |ffer[300|];.Xstat|
|00001410| 69 63 20 69 6e 74 20 62 | 75 66 66 65 72 5f 6c 65 |ic int b|uffer_le|
|00001420| 6e 67 74 68 3b 0a 58 0a | 58 76 6f 69 64 0a 58 69 |ngth;.X.|Xvoid.Xi|
|00001430| 6e 69 74 5f 62 75 66 66 | 65 72 20 28 29 0a 58 7b |nit_buff|er ().X{|
|00001440| 0a 58 20 20 62 75 66 66 | 65 72 5f 6c 65 6e 67 74 |.X buff|er_lengt|
|00001450| 68 20 3d 20 30 3b 0a 58 | 7d 0a 58 0a 58 69 6e 74 |h = 0;.X|}.X.Xint|
|00001460| 0a 58 62 75 66 66 65 72 | 5f 63 68 61 72 20 28 63 |.Xbuffer|_char (c|
|00001470| 29 0a 58 20 20 20 20 20 | 69 6e 74 20 63 3b 0a 58 |).X |int c;.X|
|00001480| 7b 0a 58 20 20 6f 75 74 | 70 75 74 5f 62 75 66 66 |{.X out|put_buff|
|00001490| 65 72 5b 62 75 66 66 65 | 72 5f 6c 65 6e 67 74 68 |er[buffe|r_length|
|000014a0| 2b 2b 5d 20 3d 20 63 3b | 0a 58 7d 0a 58 0a 58 2f |++] = c;|.X}.X.X/|
|000014b0| 2a 20 60 73 27 20 69 73 | 20 61 20 6e 75 6c 6c 2d |* `s' is| a null-|
|000014c0| 74 65 72 6d 69 6e 61 74 | 65 64 20 73 74 72 69 6e |terminat|ed strin|
|000014d0| 67 2e 20 2a 2f 0a 58 0a | 58 76 6f 69 64 0a 58 62 |g. */.X.|Xvoid.Xb|
|000014e0| 75 66 66 65 72 5f 73 74 | 72 69 6e 67 20 28 73 29 |uffer_st|ring (s)|
|000014f0| 0a 58 20 20 20 20 20 63 | 68 61 72 20 2a 73 3b 0a |.X c|har *s;.|
|00001500| 58 7b 0a 58 20 20 77 68 | 69 6c 65 20 28 2a 73 29 |X{.X wh|ile (*s)|
|00001510| 0a 58 20 20 20 20 6f 75 | 74 70 75 74 5f 62 75 66 |.X ou|tput_buf|
|00001520| 66 65 72 5b 62 75 66 66 | 65 72 5f 6c 65 6e 67 74 |fer[buff|er_lengt|
|00001530| 68 2b 2b 5d 20 3d 20 2a | 73 2b 2b 3b 0a 58 7d 0a |h++] = *|s++;.X}.|
|00001540| 58 0a 58 76 6f 69 64 0a | 58 66 6c 75 73 68 5f 62 |X.Xvoid.|Xflush_b|
|00001550| 75 66 66 65 72 20 28 66 | 64 29 0a 58 20 20 20 20 |uffer (f|d).X |
|00001560| 20 69 6e 74 20 66 64 3b | 0a 58 7b 0a 58 20 20 77 | int fd;|.X{.X w|
|00001570| 72 69 74 65 20 28 66 64 | 2c 20 6f 75 74 70 75 74 |rite (fd|, output|
|00001580| 5f 62 75 66 66 65 72 2c | 20 62 75 66 66 65 72 5f |_buffer,| buffer_|
|00001590| 6c 65 6e 67 74 68 29 3b | 0a 58 7d 0a 58 0a 58 2f |length);|.X}.X.X/|
|000015a0| 2a 20 4f 75 74 70 75 74 | 20 73 70 65 65 64 20 66 |* Output| speed f|
|000015b0| 6f 72 20 74 70 75 74 73 | 2e 20 2a 2f 0a 58 65 78 |or tputs|. */.Xex|
|000015c0| 74 65 72 6e 20 73 68 6f | 72 74 20 6f 73 70 65 65 |tern sho|rt ospee|
|000015d0| 64 3b 0a 58 0a 58 2f 2a | 20 50 61 64 64 69 6e 67 |d;.X.X/*| Padding|
|000015e0| 20 63 68 61 72 61 63 74 | 65 72 20 66 6f 72 20 74 | charact|er for t|
|000015f0| 70 75 74 73 2e 20 2a 2f | 0a 58 65 78 74 65 72 6e |puts. */|.Xextern|
|00001600| 20 63 68 61 72 20 50 43 | 3b 0a 58 0a 58 2f 2a 20 | char PC|;.X.X/* |
|00001610| 46 6f 72 20 74 67 6f 74 | 6f 2e 20 2a 2f 0a 58 65 |For tgot|o. */.Xe|
|00001620| 78 74 65 72 6e 20 63 68 | 61 72 20 2a 42 43 2c 20 |xtern ch|ar *BC, |
|00001630| 2a 55 50 3b 0a 58 0a 58 | 2f 2a 20 52 61 77 20 74 |*UP;.X.X|/* Raw t|
|00001640| 65 72 6d 63 61 70 20 65 | 6e 74 72 79 2e 20 2a 2f |ermcap e|ntry. */|
|00001650| 0a 58 73 74 61 74 69 63 | 20 63 68 61 72 20 65 6e |.Xstatic| char en|
|00001660| 74 72 79 5b 31 30 32 34 | 5d 3b 0a 58 0a 58 2f 2a |try[1024|];.X.X/*|
|00001670| 20 45 78 74 72 61 63 74 | 65 64 20 74 65 72 6d 63 | Extract|ed termc|
|00001680| 61 70 20 73 74 72 69 6e | 67 73 2e 20 2a 2f 0a 58 |ap strin|gs. */.X|
|00001690| 73 74 61 74 69 63 20 63 | 68 61 72 20 73 74 72 69 |static c|har stri|
|000016a0| 6e 67 73 5b 31 30 32 34 | 5d 3b 0a 58 0a 58 2f 2a |ngs[1024|];.X.X/*|
|000016b0| 20 49 6e 69 74 69 61 6c | 69 7a 65 20 67 6c 6f 62 | Initial|ize glob|
|000016c0| 61 6c 20 74 65 72 6d 63 | 61 70 20 73 74 72 69 6e |al termc|ap strin|
|000016d0| 67 73 2e 20 20 2a 2f 0a | 58 0a 58 76 6f 69 64 0a |gs. */.|X.Xvoid.|
|000016e0| 58 73 65 74 75 70 5f 74 | 65 72 6d 63 61 70 20 28 |Xsetup_t|ermcap (|
|000016f0| 29 0a 58 7b 0a 58 20 20 | 63 68 61 72 20 2a 74 63 |).X{.X |char *tc|
|00001700| 5f 70 63 3b 09 09 09 2f | 2a 20 50 61 64 64 69 6e |_pc;.../|* Paddin|
|00001710| 67 20 63 68 61 72 61 63 | 74 65 72 20 73 74 72 69 |g charac|ter stri|
|00001720| 6e 67 2e 20 2a 2f 0a 58 | 0a 58 20 20 69 66 20 28 |ng. */.X|.X if (|
|00001730| 74 65 72 6d 20 3d 3d 20 | 4e 55 4c 4c 29 0a 58 20 |term == |NULL).X |
|00001740| 20 20 20 7b 0a 58 20 20 | 20 20 20 20 66 70 72 69 | {.X | fpri|
|00001750| 6e 74 66 20 28 73 74 64 | 65 72 72 2c 20 22 25 73 |ntf (std|err, "%s|
|00001760| 3a 20 54 45 52 4d 20 65 | 6e 76 69 72 6f 6e 6d 65 |: TERM e|nvironme|
|00001770| 6e 74 20 76 61 72 69 61 | 62 6c 65 20 69 73 20 6e |nt varia|ble is n|
|00001780| 6f 74 20 64 65 66 69 6e | 65 64 5c 6e 22 2c 0a 58 |ot defin|ed\n",.X|
|00001790| 09 20 20 20 20 20 20 20 | 70 72 6f 67 72 61 6d 5f |. |program_|
|000017a0| 6e 61 6d 65 29 3b 0a 58 | 20 20 20 20 20 20 65 78 |name);.X| ex|
|000017b0| 69 74 20 28 31 29 3b 0a | 58 20 20 20 20 7d 0a 58 |it (1);.|X }.X|
|000017c0| 20 20 73 77 69 74 63 68 | 20 28 74 67 65 74 65 6e | switch| (tgeten|
|000017d0| 74 20 28 65 6e 74 72 79 | 2c 20 74 65 72 6d 29 29 |t (entry|, term))|
|000017e0| 0a 58 20 20 20 20 7b 0a | 58 20 20 20 20 63 61 73 |.X {.|X cas|
|000017f0| 65 20 30 3a 0a 58 20 20 | 20 20 20 20 66 70 72 69 |e 0:.X | fpri|
|00001800| 6e 74 66 20 28 73 74 64 | 65 72 72 2c 0a 58 09 20 |ntf (std|err,.X. |
|00001810| 20 20 20 20 20 20 22 25 | 73 3a 20 54 65 72 6d 69 | "%|s: Termi|
|00001820| 6e 61 6c 20 74 79 70 65 | 20 25 73 20 69 73 20 75 |nal type| %s is u|
|00001830| 6e 6b 6e 6f 77 6e 5c 6e | 22 2c 20 70 72 6f 67 72 |nknown\n|", progr|
|00001840| 61 6d 5f 6e 61 6d 65 2c | 20 74 65 72 6d 29 3b 0a |am_name,| term);.|
|00001850| 58 20 20 20 20 20 20 65 | 78 69 74 20 28 31 29 3b |X e|xit (1);|
|00001860| 0a 58 20 20 20 20 63 61 | 73 65 20 2d 31 3a 0a 58 |.X ca|se -1:.X|
|00001870| 20 20 20 20 20 20 66 70 | 72 69 6e 74 66 20 28 73 | fp|rintf (s|
|00001880| 74 64 65 72 72 2c 0a 58 | 09 20 20 20 22 25 73 3a |tderr,.X|. "%s:|
|00001890| 20 43 61 6e 6e 6f 74 20 | 6f 70 65 6e 20 74 65 72 | Cannot |open ter|
|000018a0| 6d 69 6e 61 6c 20 64 65 | 73 63 72 69 70 74 69 6f |minal de|scriptio|
|000018b0| 6e 20 64 61 74 61 62 61 | 73 65 5c 6e 22 2c 20 70 |n databa|se\n", p|
|000018c0| 72 6f 67 72 61 6d 5f 6e | 61 6d 65 29 3b 0a 58 20 |rogram_n|ame);.X |
|000018d0| 20 20 20 20 20 65 78 69 | 74 20 28 31 29 3b 0a 58 | exi|t (1);.X|
|000018e0| 20 20 20 20 7d 0a 58 0a | 58 20 20 2f 2a 20 52 65 | }.X.|X /* Re|
|000018f0| 2d 75 73 65 20 74 65 72 | 6d 20 74 6f 20 70 6f 69 |-use ter|m to poi|
|00001900| 6e 74 20 74 6f 20 73 70 | 61 63 65 20 66 6f 72 20 |nt to sp|ace for |
|00001910| 6e 65 78 74 20 65 78 74 | 72 61 63 74 65 64 20 73 |next ext|racted s|
|00001920| 74 72 69 6e 67 2e 20 2a | 2f 0a 58 20 20 74 65 72 |tring. *|/.X ter|
|00001930| 6d 20 3d 20 73 74 72 69 | 6e 67 73 3b 0a 58 20 20 |m = stri|ngs;.X |
|00001940| 74 63 5f 70 63 20 3d 20 | 74 67 65 74 73 74 72 20 |tc_pc = |tgetstr |
|00001950| 28 22 70 63 22 2c 20 26 | 74 65 72 6d 29 3b 0a 58 |("pc", &|term);.X|
|00001960| 20 20 50 43 20 3d 20 74 | 63 5f 70 63 20 3f 20 2a | PC = t|c_pc ? *|
|00001970| 74 63 5f 70 63 20 3a 20 | 30 3b 0a 58 20 20 42 43 |tc_pc : |0;.X BC|
|00001980| 20 3d 20 55 50 20 3d 20 | 4e 55 4c 4c 3b 0a 58 20 | = UP = |NULL;.X |
|00001990| 20 69 66 20 28 74 67 65 | 74 66 6c 61 67 20 28 22 | if (tge|tflag ("|
|000019a0| 68 73 22 29 29 0a 58 20 | 20 20 20 7b 0a 58 20 20 |hs")).X | {.X |
|000019b0| 20 20 20 20 2f 2a 20 74 | 67 65 74 73 74 72 20 72 | /* t|getstr r|
|000019c0| 65 74 75 72 6e 73 20 4e | 55 4c 4c 20 69 66 20 74 |eturns N|ULL if t|
|000019d0| 68 65 20 63 61 70 61 62 | 69 6c 69 74 79 20 77 61 |he capab|ility wa|
|000019e0| 73 20 6e 6f 74 20 66 6f | 75 6e 64 2e 20 2a 2f 0a |s not fo|und. */.|
|000019f0| 58 20 20 20 20 20 20 74 | 63 5f 74 73 20 3d 20 74 |X t|c_ts = t|
|00001a00| 67 65 74 73 74 72 20 28 | 22 74 73 22 2c 20 26 74 |getstr (|"ts", &t|
|00001a10| 65 72 6d 29 3b 0a 58 20 | 20 20 20 20 20 74 63 5f |erm);.X | tc_|
|00001a20| 66 73 20 3d 20 74 67 65 | 74 73 74 72 20 28 22 66 |fs = tge|tstr ("f|
|00001a30| 73 22 2c 20 26 74 65 72 | 6d 29 3b 0a 58 20 20 20 |s", &ter|m);.X |
|00001a40| 20 20 20 74 63 5f 64 73 | 20 3d 20 74 67 65 74 73 | tc_ds| = tgets|
|00001a50| 74 72 20 28 22 64 73 22 | 2c 20 26 74 65 72 6d 29 |tr ("ds"|, &term)|
|00001a60| 3b 0a 58 20 20 20 20 20 | 20 74 63 5f 77 73 20 3d |;.X | tc_ws =|
|00001a70| 20 74 67 65 74 6e 75 6d | 20 28 22 77 73 22 29 3b | tgetnum| ("ws");|
|00001a80| 0a 58 20 20 20 20 20 20 | 69 66 20 28 74 63 5f 77 |.X |if (tc_w|
|00001a90| 73 20 3d 3d 20 2d 31 29 | 0a 58 09 74 63 5f 77 73 |s == -1)|.X.tc_ws|
|00001aa0| 20 3d 20 44 45 46 5f 57 | 53 3b 0a 58 20 20 20 20 | = DEF_W|S;.X |
|00001ab0| 7d 0a 58 20 20 65 6c 73 | 65 0a 58 20 20 20 20 7b |}.X els|e.X {|
|00001ac0| 0a 58 20 20 20 20 20 20 | 74 63 5f 74 73 20 3d 20 |.X |tc_ts = |
|00001ad0| 74 63 5f 66 73 20 3d 20 | 74 63 5f 64 73 20 3d 20 |tc_fs = |tc_ds = |
|00001ae0| 22 22 3b 0a 58 20 20 20 | 20 20 20 74 63 5f 77 73 |"";.X | tc_ws|
|00001af0| 20 3d 20 44 45 46 5f 57 | 53 3b 0a 58 20 20 20 20 | = DEF_W|S;.X |
|00001b00| 7d 0a 58 20 20 69 66 20 | 28 75 73 65 5f 76 62 65 |}.X if |(use_vbe|
|00001b10| 6c 6c 29 0a 58 20 20 20 | 20 74 63 5f 62 6c 20 3d |ll).X | tc_bl =|
|00001b20| 20 74 67 65 74 73 74 72 | 20 28 22 76 62 22 2c 20 | tgetstr| ("vb", |
|00001b30| 26 74 65 72 6d 29 3b 0a | 58 20 20 65 6c 73 65 0a |&term);.|X else.|
|00001b40| 58 20 20 20 20 74 63 5f | 62 6c 20 3d 20 4e 55 4c |X tc_|bl = NUL|
|00001b50| 4c 3b 0a 58 20 20 69 66 | 20 28 75 73 65 5f 62 65 |L;.X if| (use_be|
|00001b60| 6c 6c 20 26 26 20 21 74 | 63 5f 62 6c 29 0a 58 20 |ll && !t|c_bl).X |
|00001b70| 20 20 20 7b 0a 58 20 20 | 20 20 20 20 74 63 5f 62 | {.X | tc_b|
|00001b80| 6c 20 3d 20 74 67 65 74 | 73 74 72 20 28 22 62 6c |l = tget|str ("bl|
|00001b90| 22 2c 20 26 74 65 72 6d | 29 3b 0a 58 20 20 20 20 |", &term|);.X |
|00001ba0| 20 20 69 66 20 28 21 74 | 63 5f 62 6c 29 0a 58 09 | if (!t|c_bl).X.|
|00001bb0| 74 63 5f 62 6c 20 3d 20 | 22 5c 37 22 3b 0a 58 20 |tc_bl = |"\7";.X |
|00001bc0| 20 20 20 7d 0a 58 20 20 | 65 6c 73 65 0a 58 20 20 | }.X |else.X |
|00001bd0| 20 20 74 63 5f 62 6c 20 | 3d 20 22 22 3b 0a 58 7d | tc_bl |= "";.X}|
|00001be0| 0a 58 0a 58 76 6f 69 64 | 0a 58 67 65 74 5f 73 70 |.X.Xvoid|.Xget_sp|
|00001bf0| 65 65 64 20 28 29 0a 58 | 7b 0a 58 23 69 66 64 65 |eed ().X|{.X#ifde|
|00001c00| 66 20 55 53 47 0a 58 20 | 20 73 74 72 75 63 74 20 |f USG.X | struct |
|00001c10| 74 65 72 6d 69 6f 20 74 | 74 79 5f 62 75 66 66 65 |termio t|ty_buffe|
|00001c20| 72 3b 0a 58 0a 58 20 20 | 69 66 20 28 69 6f 63 74 |r;.X.X |if (ioct|
|00001c30| 6c 20 28 31 2c 20 54 43 | 47 45 54 41 2c 20 26 74 |l (1, TC|GETA, &t|
|00001c40| 74 79 5f 62 75 66 66 65 | 72 29 20 21 3d 20 2d 31 |ty_buffe|r) != -1|
|00001c50| 29 0a 58 20 20 20 20 6f | 73 70 65 65 64 20 3d 20 |).X o|speed = |
|00001c60| 74 74 79 5f 62 75 66 66 | 65 72 2e 63 5f 63 66 6c |tty_buff|er.c_cfl|
|00001c70| 61 67 20 26 20 43 42 41 | 55 44 3b 0a 58 23 65 6c |ag & CBA|UD;.X#el|
|00001c80| 73 65 0a 58 20 20 73 74 | 72 75 63 74 20 73 67 74 |se.X st|ruct sgt|
|00001c90| 74 79 62 20 74 74 79 5f | 62 75 66 66 65 72 3b 0a |tyb tty_|buffer;.|
|00001ca0| 58 0a 58 20 20 69 66 20 | 28 67 74 74 79 20 28 31 |X.X if |(gtty (1|
|00001cb0| 2c 20 26 74 74 79 5f 62 | 75 66 66 65 72 29 20 21 |, &tty_b|uffer) !|
|00001cc0| 3d 20 2d 31 29 0a 58 20 | 20 20 20 6f 73 70 65 65 |= -1).X | ospee|
|00001cd0| 64 20 3d 20 74 74 79 5f | 62 75 66 66 65 72 2e 73 |d = tty_|buffer.s|
|00001ce0| 67 5f 6f 73 70 65 65 64 | 3b 0a 58 23 65 6e 64 69 |g_ospeed|;.X#endi|
|00001cf0| 66 0a 58 20 20 65 6c 73 | 65 0a 58 20 20 20 20 6f |f.X els|e.X o|
|00001d00| 73 70 65 65 64 20 3d 20 | 30 3b 0a 58 7d 0a 45 4e |speed = |0;.X}.EN|
|00001d10| 44 5f 4f 46 5f 46 49 4c | 45 0a 69 66 20 74 65 73 |D_OF_FIL|E.if tes|
|00001d20| 74 20 36 30 39 37 20 2d | 6e 65 20 60 77 63 20 2d |t 6097 -|ne `wc -|
|00001d30| 63 20 3c 27 74 74 79 2e | 63 27 60 3b 20 74 68 65 |c <'tty.|c'`; the|
|00001d40| 6e 0a 20 20 20 20 65 63 | 68 6f 20 73 68 61 72 3a |n. ec|ho shar:|
|00001d50| 20 5c 22 27 74 74 79 2e | 63 27 5c 22 20 75 6e 70 | \"'tty.|c'\" unp|
|00001d60| 61 63 6b 65 64 20 77 69 | 74 68 20 77 72 6f 6e 67 |acked wi|th wrong|
|00001d70| 20 73 69 7a 65 21 0a 66 | 69 0a 23 20 65 6e 64 20 | size!.f|i.# end |
|00001d80| 6f 66 20 27 74 74 79 2e | 63 27 0a 66 69 0a 69 66 |of 'tty.|c'.fi.if|
|00001d90| 20 74 65 73 74 20 2d 66 | 20 27 63 6c 65 61 72 68 | test -f| 'clearh|
|00001da0| 69 6e 74 2e 63 27 20 2d | 61 20 22 24 7b 31 7d 22 |int.c' -|a "${1}"|
|00001db0| 20 21 3d 20 22 2d 63 22 | 20 3b 20 74 68 65 6e 20 | != "-c"| ; then |
|00001dc0| 0a 20 20 65 63 68 6f 20 | 73 68 61 72 3a 20 57 69 |. echo |shar: Wi|
|00001dd0| 6c 6c 20 6e 6f 74 20 63 | 6c 6f 62 62 65 72 20 65 |ll not c|lobber e|
|00001de0| 78 69 73 74 69 6e 67 20 | 66 69 6c 65 20 5c 22 27 |xisting |file \"'|
|00001df0| 63 6c 65 61 72 68 69 6e | 74 2e 63 27 5c 22 0a 65 |clearhin|t.c'\".e|
|00001e00| 6c 73 65 0a 65 63 68 6f | 20 73 68 61 72 3a 20 45 |lse.echo| shar: E|
|00001e10| 78 74 72 61 63 74 69 6e | 67 20 5c 22 27 63 6c 65 |xtractin|g \"'cle|
|00001e20| 61 72 68 69 6e 74 2e 63 | 27 5c 22 20 5c 28 32 39 |arhint.c|'\" \(29|
|00001e30| 35 38 20 63 68 61 72 61 | 63 74 65 72 73 5c 29 0a |58 chara|cters\).|
|00001e40| 73 65 64 20 22 73 2f 5e | 58 2f 2f 22 20 3e 27 63 |sed "s/^|X//" >'c|
|00001e50| 6c 65 61 72 68 69 6e 74 | 2e 63 27 20 3c 3c 27 45 |learhint|.c' <<'E|
|00001e60| 4e 44 5f 4f 46 5f 46 49 | 4c 45 27 0a 58 2f 2a 20 |ND_OF_FI|LE'.X/* |
|00001e70| 63 6c 65 61 72 68 69 6e | 74 2e 63 20 2d 2d 20 63 |clearhin|t.c -- c|
|00001e80| 6c 65 61 72 20 74 65 72 | 6d 69 6e 61 6c 20 73 74 |lear ter|minal st|
|00001e90| 61 74 75 73 20 6c 69 6e | 65 0a 58 20 20 20 43 6f |atus lin|e.X Co|
|00001ea0| 70 79 72 69 67 68 74 20 | 28 43 29 20 31 39 38 39 |pyright |(C) 1989|
|00001eb0| 20 44 61 76 69 64 20 4d | 61 63 4b 65 6e 7a 69 65 | David M|acKenzie|
|00001ec0| 0a 58 0a 58 20 20 20 54 | 68 69 73 20 70 72 6f 67 |.X.X T|his prog|
|00001ed0| 72 61 6d 20 69 73 20 66 | 72 65 65 20 73 6f 66 74 |ram is f|ree soft|
|00001ee0| 77 61 72 65 3b 20 79 6f | 75 20 63 61 6e 20 72 65 |ware; yo|u can re|
|00001ef0| 64 69 73 74 72 69 62 75 | 74 65 20 69 74 20 61 6e |distribu|te it an|
|00001f00| 64 2f 6f 72 20 6d 6f 64 | 69 66 79 0a 58 20 20 20 |d/or mod|ify.X |
|00001f10| 69 74 20 75 6e 64 65 72 | 20 74 68 65 20 74 65 72 |it under| the ter|
|00001f20| 6d 73 20 6f 66 20 74 68 | 65 20 47 4e 55 20 47 65 |ms of th|e GNU Ge|
|00001f30| 6e 65 72 61 6c 20 50 75 | 62 6c 69 63 20 4c 69 63 |neral Pu|blic Lic|
|00001f40| 65 6e 73 65 20 61 73 20 | 70 75 62 6c 69 73 68 65 |ense as |publishe|
|00001f50| 64 20 62 79 0a 58 20 20 | 20 74 68 65 20 46 72 65 |d by.X | the Fre|
|00001f60| 65 20 53 6f 66 74 77 61 | 72 65 20 46 6f 75 6e 64 |e Softwa|re Found|
|00001f70| 61 74 69 6f 6e 3b 20 65 | 69 74 68 65 72 20 76 65 |ation; e|ither ve|
|00001f80| 72 73 69 6f 6e 20 31 2c | 20 6f 72 20 28 61 74 20 |rsion 1,| or (at |
|00001f90| 79 6f 75 72 20 6f 70 74 | 69 6f 6e 29 0a 58 20 20 |your opt|ion).X |
|00001fa0| 20 61 6e 79 20 6c 61 74 | 65 72 20 76 65 72 73 69 | any lat|er versi|
|00001fb0| 6f 6e 2e 0a 58 0a 58 20 | 20 20 54 68 69 73 20 70 |on..X.X | This p|
|00001fc0| 72 6f 67 72 61 6d 20 69 | 73 20 64 69 73 74 72 69 |rogram i|s distri|
|00001fd0| 62 75 74 65 64 20 69 6e | 20 74 68 65 20 68 6f 70 |buted in| the hop|
|00001fe0| 65 20 74 68 61 74 20 69 | 74 20 77 69 6c 6c 20 62 |e that i|t will b|
|00001ff0| 65 20 75 73 65 66 75 6c | 2c 0a 58 20 20 20 62 75 |e useful|,.X bu|
|00002000| 74 20 57 49 54 48 4f 55 | 54 20 41 4e 59 20 57 41 |t WITHOU|T ANY WA|
|00002010| 52 52 41 4e 54 59 3b 20 | 77 69 74 68 6f 75 74 20 |RRANTY; |without |
|00002020| 65 76 65 6e 20 74 68 65 | 20 69 6d 70 6c 69 65 64 |even the| implied|
|00002030| 20 77 61 72 72 61 6e 74 | 79 20 6f 66 0a 58 20 20 | warrant|y of.X |
|00002040| 20 4d 45 52 43 48 41 4e | 54 41 42 49 4c 49 54 59 | MERCHAN|TABILITY|
|00002050| 20 6f 72 20 46 49 54 4e | 45 53 53 20 46 4f 52 20 | or FITN|ESS FOR |
|00002060| 41 20 50 41 52 54 49 43 | 55 4c 41 52 20 50 55 52 |A PARTIC|ULAR PUR|
|00002070| 50 4f 53 45 2e 20 20 53 | 65 65 20 74 68 65 0a 58 |POSE. S|ee the.X|
|00002080| 20 20 20 47 4e 55 20 47 | 65 6e 65 72 61 6c 20 50 | GNU G|eneral P|
|00002090| 75 62 6c 69 63 20 4c 69 | 63 65 6e 73 65 20 66 6f |ublic Li|cense fo|
|000020a0| 72 20 6d 6f 72 65 20 64 | 65 74 61 69 6c 73 2e 0a |r more d|etails..|
|000020b0| 58 0a 58 20 20 20 59 6f | 75 20 73 68 6f 75 6c 64 |X.X Yo|u should|
|000020c0| 20 68 61 76 65 20 72 65 | 63 65 69 76 65 64 20 61 | have re|ceived a|
|000020d0| 20 63 6f 70 79 20 6f 66 | 20 74 68 65 20 47 4e 55 | copy of| the GNU|
|000020e0| 20 47 65 6e 65 72 61 6c | 20 50 75 62 6c 69 63 20 | General| Public |
|000020f0| 4c 69 63 65 6e 73 65 0a | 58 20 20 20 61 6c 6f 6e |License.|X alon|
|00002100| 67 20 77 69 74 68 20 74 | 68 69 73 20 70 72 6f 67 |g with t|his prog|
|00002110| 72 61 6d 3b 20 69 66 20 | 6e 6f 74 2c 20 77 72 69 |ram; if |not, wri|
|00002120| 74 65 20 74 6f 20 74 68 | 65 20 46 72 65 65 20 53 |te to th|e Free S|
|00002130| 6f 66 74 77 61 72 65 0a | 58 20 20 20 46 6f 75 6e |oftware.|X Foun|
|00002140| 64 61 74 69 6f 6e 2c 20 | 49 6e 63 2e 2c 20 36 37 |dation, |Inc., 67|
|00002150| 35 20 4d 61 73 73 20 41 | 76 65 2c 20 43 61 6d 62 |5 Mass A|ve, Camb|
|00002160| 72 69 64 67 65 2c 20 4d | 41 20 30 32 31 33 39 2c |ridge, M|A 02139,|
|00002170| 20 55 53 41 2e 20 2a 2f | 0a 58 0a 58 2f 2a 20 63 | USA. */|.X.X/* c|
|00002180| 6c 65 61 72 68 69 6e 74 | 20 2d 20 63 6c 65 61 72 |learhint| - clear|
|00002190| 20 74 65 72 6d 69 6e 61 | 6c 20 73 74 61 74 75 73 | termina|l status|
|000021a0| 20 6c 69 6e 65 0a 58 0a | 58 20 20 20 55 73 61 67 | line.X.|X Usag|
|000021b0| 65 3a 20 63 6c 65 61 72 | 68 69 6e 74 20 5b 2d 54 |e: clear|hint [-T|
|000021c0| 20 74 65 72 6d 69 6e 61 | 6c 5d 0a 58 0a 58 20 20 | termina|l].X.X |
|000021d0| 20 44 61 76 69 64 20 4d | 61 63 4b 65 6e 7a 69 65 | David M|acKenzie|
|000021e0| 0a 58 20 20 20 4c 61 74 | 65 73 74 20 72 65 76 69 |.X Lat|est revi|
|000021f0| 73 69 6f 6e 3a 20 30 38 | 2f 31 35 2f 38 39 20 2a |sion: 08|/15/89 *|
|00002200| 2f 0a 58 0a 58 23 69 6e | 63 6c 75 64 65 20 3c 73 |/.X.X#in|clude <s|
|00002210| 74 64 69 6f 2e 68 3e 0a | 58 23 69 66 64 65 66 20 |tdio.h>.|X#ifdef |
|00002220| 55 53 47 0a 58 23 69 6e | 63 6c 75 64 65 20 3c 74 |USG.X#in|clude <t|
|00002230| 65 72 6d 69 6f 2e 68 3e | 0a 58 23 65 6c 73 65 0a |ermio.h>|.X#else.|
|00002240| 58 23 69 6e 63 6c 75 64 | 65 20 3c 73 67 74 74 79 |X#includ|e <sgtty|
|00002250| 2e 68 3e 0a 58 23 65 6e | 64 69 66 0a 58 0a 58 63 |.h>.X#en|dif.X.Xc|
|00002260| 68 61 72 20 2a 67 65 74 | 65 6e 76 20 28 29 3b 0a |har *get|env ();.|
|00002270| 58 63 68 61 72 20 2a 74 | 67 65 74 73 74 72 20 28 |Xchar *t|getstr (|
|00002280| 29 3b 0a 58 76 6f 69 64 | 20 65 78 69 74 20 28 29 |);.Xvoid| exit ()|
|00002290| 3b 0a 58 0a 58 69 6e 74 | 20 74 63 70 75 74 63 68 |;.X.Xint| tcputch|
|000022a0| 61 72 20 28 29 3b 0a 58 | 76 6f 69 64 20 67 65 74 |ar ();.X|void get|
|000022b0| 73 70 65 65 64 20 28 29 | 3b 0a 58 76 6f 69 64 20 |speed ()|;.Xvoid |
|000022c0| 75 73 61 67 65 20 28 29 | 3b 0a 58 0a 58 65 78 74 |usage ()|;.X.Xext|
|000022d0| 65 72 6e 20 73 68 6f 72 | 74 20 6f 73 70 65 65 64 |ern shor|t ospeed|
|000022e0| 3b 09 09 2f 2a 20 4f 75 | 74 70 75 74 20 73 70 65 |;../* Ou|tput spe|
|000022f0| 65 64 20 6f 66 20 73 74 | 64 6f 75 74 20 66 6f 72 |ed of st|dout for|
|00002300| 20 74 70 75 74 73 2e 20 | 2a 2f 0a 58 65 78 74 65 | tputs. |*/.Xexte|
|00002310| 72 6e 20 63 68 61 72 20 | 50 43 3b 09 09 09 2f 2a |rn char |PC;.../*|
|00002320| 20 50 61 64 20 63 68 61 | 72 61 63 74 65 72 20 66 | Pad cha|racter f|
|00002330| 6f 72 20 74 70 75 74 73 | 2e 20 2a 2f 0a 58 0a 58 |or tputs|. */.X.X|
|00002340| 69 6e 74 0a 58 6d 61 69 | 6e 20 28 61 72 67 63 2c |int.Xmai|n (argc,|
|00002350| 20 61 72 67 76 29 0a 58 | 20 20 20 20 20 69 6e 74 | argv).X| int|
|00002360| 20 61 72 67 63 3b 0a 58 | 20 20 20 20 20 63 68 61 | argc;.X| cha|
|00002370| 72 20 2a 2a 61 72 67 76 | 3b 0a 58 7b 0a 58 20 20 |r **argv|;.X{.X |
|00002380| 65 78 74 65 72 6e 20 63 | 68 61 72 20 2a 6f 70 74 |extern c|har *opt|
|00002390| 61 72 67 3b 0a 58 20 20 | 65 78 74 65 72 6e 20 69 |arg;.X |extern i|
|000023a0| 6e 74 20 6f 70 74 69 6e | 64 3b 0a 58 20 20 63 68 |nt optin|d;.X ch|
|000023b0| 61 72 20 65 6e 74 72 79 | 5b 31 30 32 34 5d 3b 09 |ar entry|[1024];.|
|000023c0| 09 2f 2a 20 52 61 77 20 | 74 65 72 6d 63 61 70 20 |./* Raw |termcap |
|000023d0| 65 6e 74 72 79 2e 20 2a | 2f 0a 58 20 20 63 68 61 |entry. *|/.X cha|
|000023e0| 72 20 73 74 72 69 6e 67 | 73 5b 38 30 5d 3b 09 09 |r string|s[80];..|
|000023f0| 2f 2a 20 45 78 74 72 61 | 63 74 65 64 20 74 65 72 |/* Extra|cted ter|
|00002400| 6d 63 61 70 20 73 74 72 | 69 6e 67 73 2e 20 2a 2f |mcap str|ings. */|
|00002410| 0a 58 20 20 63 68 61 72 | 20 2a 74 65 72 6d 3b 09 |.X char| *term;.|
|00002420| 09 09 2f 2a 20 45 6e 76 | 69 72 6f 6e 6d 65 6e 74 |../* Env|ironment|
|00002430| 20 76 61 72 69 61 62 6c | 65 20 54 45 52 4d 2e 20 | variabl|e TERM. |
|00002440| 2a 2f 0a 58 20 20 63 68 | 61 72 20 2a 6e 65 78 74 |*/.X ch|ar *next|
|00002450| 5f 73 74 72 69 6e 67 3b | 09 09 2f 2a 20 50 6f 69 |_string;|../* Poi|
|00002460| 6e 74 65 72 20 69 6e 74 | 6f 20 73 74 72 69 6e 67 |nter int|o string|
|00002470| 73 2e 20 2a 2f 0a 58 20 | 20 63 68 61 72 20 2a 74 |s. */.X | char *t|
|00002480| 63 5f 64 73 3b 09 09 09 | 2f 2a 20 44 69 73 61 62 |c_ds;...|/* Disab|
|00002490| 6c 65 20 73 74 61 74 75 | 73 20 6c 69 6e 65 20 73 |le statu|s line s|
|000024a0| 74 72 69 6e 67 2e 20 2a | 2f 0a 58 20 20 63 68 61 |tring. *|/.X cha|
|000024b0| 72 20 2a 74 63 5f 70 63 | 3b 09 09 09 2f 2a 20 50 |r *tc_pc|;.../* P|
|000024c0| 61 64 20 63 68 61 72 61 | 63 74 65 72 20 73 74 72 |ad chara|cter str|
|000024d0| 69 6e 67 2e 20 2a 2f 0a | 58 20 20 69 6e 74 20 63 |ing. */.|X int c|
|000024e0| 3b 09 09 09 2f 2a 20 4f | 70 74 69 6f 6e 20 63 68 |;.../* O|ption ch|
|000024f0| 61 72 61 63 74 65 72 2e | 20 2a 2f 0a 58 0a 58 20 |aracter.| */.X.X |
|00002500| 20 74 65 72 6d 20 3d 20 | 67 65 74 65 6e 76 20 28 | term = |getenv (|
|00002510| 22 54 45 52 4d 22 29 3b | 0a 58 20 20 77 68 69 6c |"TERM");|.X whil|
|00002520| 65 20 28 28 63 20 3d 20 | 67 65 74 6f 70 74 20 28 |e ((c = |getopt (|
|00002530| 61 72 67 63 2c 20 61 72 | 67 76 2c 20 22 54 3a 22 |argc, ar|gv, "T:"|
|00002540| 29 29 20 21 3d 20 45 4f | 46 29 0a 58 20 20 20 20 |)) != EO|F).X |
|00002550| 69 66 20 28 63 20 3d 3d | 20 27 54 27 29 0a 58 20 |if (c ==| 'T').X |
|00002560| 20 20 20 20 20 74 65 72 | 6d 20 3d 20 6f 70 74 61 | ter|m = opta|
|00002570| 72 67 3b 0a 58 20 20 20 | 20 65 6c 73 65 0a 58 20 |rg;.X | else.X |
|00002580| 20 20 20 20 20 75 73 61 | 67 65 20 28 61 72 67 76 | usa|ge (argv|
|00002590| 5b 30 5d 29 3b 0a 58 20 | 20 69 66 20 28 6f 70 74 |[0]);.X | if (opt|
|000025a0| 69 6e 64 20 21 3d 20 61 | 72 67 63 29 0a 58 20 20 |ind != a|rgc).X |
|000025b0| 20 20 75 73 61 67 65 20 | 28 61 72 67 76 5b 30 5d | usage |(argv[0]|
|000025c0| 29 3b 0a 58 0a 58 20 20 | 69 66 20 28 74 65 72 6d |);.X.X |if (term|
|000025d0| 20 3d 3d 20 4e 55 4c 4c | 29 0a 58 20 20 20 20 7b | == NULL|).X {|
|000025e0| 0a 58 20 20 20 20 20 20 | 66 70 72 69 6e 74 66 20 |.X |fprintf |
|000025f0| 28 73 74 64 65 72 72 2c | 0a 58 09 20 20 20 20 20 |(stderr,|.X. |
|00002600| 20 20 22 25 73 3a 20 54 | 45 52 4d 20 65 6e 76 69 | "%s: T|ERM envi|
|00002610| 72 6f 6e 6d 65 6e 74 20 | 76 61 72 69 61 62 6c 65 |ronment |variable|
|00002620| 20 69 73 20 6e 6f 74 20 | 64 65 66 69 6e 65 64 5c | is not |defined\|
|00002630| 6e 22 2c 20 61 72 67 76 | 5b 30 5d 29 3b 0a 58 20 |n", argv|[0]);.X |
|00002640| 20 20 20 20 20 65 78 69 | 74 20 28 31 29 3b 0a 58 | exi|t (1);.X|
|00002650| 20 20 20 20 7d 0a 58 0a | 58 20 20 73 77 69 74 63 | }.X.|X switc|
|00002660| 68 20 28 74 67 65 74 65 | 6e 74 20 28 65 6e 74 72 |h (tgete|nt (entr|
|00002670| 79 2c 20 74 65 72 6d 29 | 29 0a 58 20 20 20 20 7b |y, term)|).X {|
|00002680| 0a 58 20 20 20 20 63 61 | 73 65 20 30 3a 0a 58 20 |.X ca|se 0:.X |
|00002690| 20 20 20 20 20 66 70 72 | 69 6e 74 66 20 28 73 74 | fpr|intf (st|
|000026a0| 64 65 72 72 2c 0a 58 09 | 20 20 20 20 20 20 20 22 |derr,.X.| "|
|000026b0| 25 73 3a 20 54 65 72 6d | 69 6e 61 6c 20 74 79 70 |%s: Term|inal typ|
|000026c0| 65 20 25 73 20 69 73 20 | 75 6e 6b 6e 6f 77 6e 5c |e %s is |unknown\|
|000026d0| 6e 22 2c 20 61 72 67 76 | 5b 30 5d 2c 20 74 65 72 |n", argv|[0], ter|
|000026e0| 6d 29 3b 0a 58 20 20 20 | 20 20 20 65 78 69 74 20 |m);.X | exit |
|000026f0| 28 31 29 3b 0a 58 20 20 | 20 20 63 61 73 65 20 2d |(1);.X | case -|
|00002700| 31 3a 0a 58 20 20 20 20 | 20 20 66 70 72 69 6e 74 |1:.X | fprint|
|00002710| 66 20 28 73 74 64 65 72 | 72 2c 0a 58 09 20 20 20 |f (stder|r,.X. |
|00002720| 20 20 20 20 22 25 73 3a | 20 43 61 6e 6e 6f 74 20 | "%s:| Cannot |
|00002730| 6f 70 65 6e 20 74 65 72 | 6d 69 6e 61 6c 20 64 65 |open ter|minal de|
|00002740| 73 63 72 69 70 74 69 6f | 6e 20 64 61 74 61 62 61 |scriptio|n databa|
|00002750| 73 65 5c 6e 22 2c 20 61 | 72 67 76 5b 30 5d 29 3b |se\n", a|rgv[0]);|
|00002760| 0a 58 20 20 20 20 20 20 | 65 78 69 74 20 28 31 29 |.X |exit (1)|
|00002770| 3b 0a 58 20 20 20 20 7d | 0a 58 0a 58 20 20 67 65 |;.X }|.X.X ge|
|00002780| 74 73 70 65 65 64 20 28 | 29 3b 0a 58 0a 58 20 20 |tspeed (|);.X.X |
|00002790| 6e 65 78 74 5f 73 74 72 | 69 6e 67 20 3d 20 73 74 |next_str|ing = st|
|000027a0| 72 69 6e 67 73 3b 0a 58 | 20 20 74 63 5f 70 63 20 |rings;.X| tc_pc |
|000027b0| 3d 20 74 67 65 74 73 74 | 72 20 28 22 70 63 22 2c |= tgetst|r ("pc",|
|000027c0| 20 26 6e 65 78 74 5f 73 | 74 72 69 6e 67 29 3b 0a | &next_s|tring);.|
|000027d0| 58 20 20 50 43 20 3d 20 | 74 63 5f 70 63 20 3f 20 |X PC = |tc_pc ? |
|000027e0| 2a 74 63 5f 70 63 20 3a | 20 30 3b 0a 58 20 20 74 |*tc_pc :| 0;.X t|
|000027f0| 63 5f 64 73 20 3d 20 74 | 67 65 74 73 74 72 20 28 |c_ds = t|getstr (|
|00002800| 22 64 73 22 2c 20 26 6e | 65 78 74 5f 73 74 72 69 |"ds", &n|ext_stri|
|00002810| 6e 67 29 3b 0a 58 20 20 | 69 66 20 28 74 63 5f 64 |ng);.X |if (tc_d|
|00002820| 73 29 0a 58 20 20 20 20 | 7b 0a 58 20 20 20 20 20 |s).X |{.X |
|00002830| 20 74 70 75 74 73 20 28 | 74 63 5f 64 73 2c 20 31 | tputs (|tc_ds, 1|
|00002840| 2c 20 74 63 70 75 74 63 | 68 61 72 29 3b 0a 58 20 |, tcputc|har);.X |
|00002850| 20 20 20 20 20 65 78 69 | 74 20 28 30 29 3b 0a 58 | exi|t (0);.X|
|00002860| 20 20 20 20 7d 0a 58 20 | 20 65 78 69 74 20 28 31 | }.X | exit (1|
|00002870| 29 3b 0a 58 20 20 2f 2a | 20 4e 4f 54 52 45 41 43 |);.X /*| NOTREAC|
|00002880| 48 45 44 20 2a 2f 0a 58 | 7d 0a 58 0a 58 76 6f 69 |HED */.X|}.X.Xvoi|
|00002890| 64 0a 58 67 65 74 73 70 | 65 65 64 20 28 29 0a 58 |d.Xgetsp|eed ().X|
|000028a0| 7b 0a 58 23 69 66 64 65 | 66 20 55 53 47 0a 58 20 |{.X#ifde|f USG.X |
|000028b0| 20 73 74 72 75 63 74 20 | 74 65 72 6d 69 6f 20 74 | struct |termio t|
|000028c0| 74 79 5f 62 75 66 66 65 | 72 3b 0a 58 0a 58 20 20 |ty_buffe|r;.X.X |
|000028d0| 69 66 20 28 69 6f 63 74 | 6c 20 28 31 2c 20 54 43 |if (ioct|l (1, TC|
|000028e0| 47 45 54 41 2c 20 26 74 | 74 79 5f 62 75 66 66 65 |GETA, &t|ty_buffe|
|000028f0| 72 29 20 21 3d 20 2d 31 | 29 0a 58 20 20 20 20 6f |r) != -1|).X o|
|00002900| 73 70 65 65 64 20 3d 20 | 74 74 79 5f 62 75 66 66 |speed = |tty_buff|
|00002910| 65 72 2e 63 5f 63 66 6c | 61 67 20 26 20 43 42 41 |er.c_cfl|ag & CBA|
|00002920| 55 44 3b 0a 58 23 65 6c | 73 65 0a 58 20 20 73 74 |UD;.X#el|se.X st|
|00002930| 72 75 63 74 20 73 67 74 | 74 79 62 20 74 74 79 5f |ruct sgt|tyb tty_|
|00002940| 62 75 66 66 65 72 3b 0a | 58 0a 58 20 20 69 66 20 |buffer;.|X.X if |
|00002950| 28 67 74 74 79 20 28 31 | 2c 20 26 74 74 79 5f 62 |(gtty (1|, &tty_b|
|00002960| 75 66 66 65 72 29 20 21 | 3d 20 2d 31 29 0a 58 20 |uffer) !|= -1).X |
|00002970| 20 20 20 6f 73 70 65 65 | 64 20 3d 20 74 74 79 5f | ospee|d = tty_|
|00002980| 62 75 66 66 65 72 2e 73 | 67 5f 6f 73 70 65 65 64 |buffer.s|g_ospeed|
|00002990| 3b 0a 58 23 65 6e 64 69 | 66 0a 58 20 20 65 6c 73 |;.X#endi|f.X els|
|000029a0| 65 0a 58 20 20 20 20 6f | 73 70 65 65 64 20 3d 20 |e.X o|speed = |
|000029b0| 30 3b 0a 58 7d 0a 58 0a | 58 69 6e 74 0a 58 74 63 |0;.X}.X.|Xint.Xtc|
|000029c0| 70 75 74 63 68 61 72 20 | 28 63 29 0a 58 20 20 20 |putchar |(c).X |
|000029d0| 20 20 69 6e 74 20 63 3b | 0a 58 7b 0a 58 20 20 70 | int c;|.X{.X p|
|000029e0| 75 74 63 68 61 72 20 28 | 63 20 26 20 30 78 37 66 |utchar (|c & 0x7f|
|000029f0| 29 3b 0a 58 20 20 72 65 | 74 75 72 6e 20 63 3b 0a |);.X re|turn c;.|
|00002a00| 58 7d 0a 58 0a 58 76 6f | 69 64 0a 58 75 73 61 67 |X}.X.Xvo|id.Xusag|
|00002a10| 65 20 28 70 72 6f 67 72 | 61 6d 29 0a 58 20 20 20 |e (progr|am).X |
|00002a20| 20 20 63 68 61 72 20 2a | 70 72 6f 67 72 61 6d 3b | char *|program;|
|00002a30| 0a 58 7b 0a 58 20 20 66 | 70 72 69 6e 74 66 20 28 |.X{.X f|printf (|
|00002a40| 73 74 64 65 72 72 2c 20 | 22 55 73 61 67 65 3a 20 |stderr, |"Usage: |
|00002a50| 25 73 20 5b 2d 54 20 74 | 65 72 6d 69 6e 61 6c 5d |%s [-T t|erminal]|
|00002a60| 5c 6e 22 2c 20 70 72 6f | 67 72 61 6d 29 3b 0a 58 |\n", pro|gram);.X|
|00002a70| 20 20 65 78 69 74 20 28 | 31 29 3b 0a 58 7d 0a 45 | exit (|1);.X}.E|
|00002a80| 4e 44 5f 4f 46 5f 46 49 | 4c 45 0a 69 66 20 74 65 |ND_OF_FI|LE.if te|
|00002a90| 73 74 20 32 39 35 38 20 | 2d 6e 65 20 60 77 63 20 |st 2958 |-ne `wc |
|00002aa0| 2d 63 20 3c 27 63 6c 65 | 61 72 68 69 6e 74 2e 63 |-c <'cle|arhint.c|
|00002ab0| 27 60 3b 20 74 68 65 6e | 0a 20 20 20 20 65 63 68 |'`; then|. ech|
|00002ac0| 6f 20 73 68 61 72 3a 20 | 5c 22 27 63 6c 65 61 72 |o shar: |\"'clear|
|00002ad0| 68 69 6e 74 2e 63 27 5c | 22 20 75 6e 70 61 63 6b |hint.c'\|" unpack|
|00002ae0| 65 64 20 77 69 74 68 20 | 77 72 6f 6e 67 20 73 69 |ed with |wrong si|
|00002af0| 7a 65 21 0a 66 69 0a 23 | 20 65 6e 64 20 6f 66 20 |ze!.fi.#| end of |
|00002b00| 27 63 6c 65 61 72 68 69 | 6e 74 2e 63 27 0a 66 69 |'clearhi|nt.c'.fi|
|00002b10| 0a 69 66 20 74 65 73 74 | 20 2d 66 20 27 4d 61 6b |.if test| -f 'Mak|
|00002b20| 65 66 69 6c 65 27 20 2d | 61 20 22 24 7b 31 7d 22 |efile' -|a "${1}"|
|00002b30| 20 21 3d 20 22 2d 63 22 | 20 3b 20 74 68 65 6e 20 | != "-c"| ; then |
|00002b40| 0a 20 20 65 63 68 6f 20 | 73 68 61 72 3a 20 57 69 |. echo |shar: Wi|
|00002b50| 6c 6c 20 6e 6f 74 20 63 | 6c 6f 62 62 65 72 20 65 |ll not c|lobber e|
|00002b60| 78 69 73 74 69 6e 67 20 | 66 69 6c 65 20 5c 22 27 |xisting |file \"'|
|00002b70| 4d 61 6b 65 66 69 6c 65 | 27 5c 22 0a 65 6c 73 65 |Makefile|'\".else|
|00002b80| 0a 65 63 68 6f 20 73 68 | 61 72 3a 20 45 78 74 72 |.echo sh|ar: Extr|
|00002b90| 61 63 74 69 6e 67 20 5c | 22 27 4d 61 6b 65 66 69 |acting \|"'Makefi|
|00002ba0| 6c 65 27 5c 22 20 5c 28 | 31 37 30 34 20 63 68 61 |le'\" \(|1704 cha|
|00002bb0| 72 61 63 74 65 72 73 5c | 29 0a 73 65 64 20 22 73 |racters\|).sed "s|
|00002bc0| 2f 5e 58 2f 2f 22 20 3e | 27 4d 61 6b 65 66 69 6c |/^X//" >|'Makefil|
|00002bd0| 65 27 20 3c 3c 27 45 4e | 44 5f 4f 46 5f 46 49 4c |e' <<'EN|D_OF_FIL|
|00002be0| 45 27 0a 58 23 20 4d 61 | 6b 65 66 69 6c 65 20 66 |E'.X# Ma|kefile f|
|00002bf0| 6f 72 20 68 69 6e 74 0a | 58 23 20 44 61 76 69 64 |or hint.|X# David|
|00002c00| 20 4d 61 63 4b 65 6e 7a | 69 65 0a 58 23 20 4c 61 | MacKenz|ie.X# La|
|00002c10| 74 65 73 74 20 72 65 76 | 69 73 69 6f 6e 3a 20 30 |test rev|ision: 0|
|00002c20| 38 2f 32 34 2f 38 39 0a | 58 0a 58 23 20 54 61 72 |8/24/89.|X.X# Tar|
|00002c30| 67 65 74 73 3a 0a 58 23 | 20 61 6c 6c 20 28 64 65 |gets:.X#| all (de|
|00002c40| 66 61 75 6c 74 29 0a 58 | 23 20 20 4d 61 6b 65 20 |fault).X|# Make |
|00002c50| 74 68 65 20 65 78 65 63 | 75 74 61 62 6c 65 73 20 |the exec|utables |
|00002c60| 6f 66 20 68 69 6e 74 20 | 61 6e 64 20 63 6c 65 61 |of hint |and clea|
|00002c70| 72 68 69 6e 74 20 69 6e | 20 74 68 65 20 63 75 72 |rhint in| the cur|
|00002c80| 72 65 6e 74 20 64 69 72 | 65 63 74 6f 72 79 2e 0a |rent dir|ectory..|
|00002c90| 58 23 20 69 6e 73 74 61 | 6c 6c 0a 58 23 20 20 43 |X# insta|ll.X# C|
|00002ca0| 6f 70 79 20 74 68 65 20 | 65 78 65 63 75 74 61 62 |opy the |executab|
|00002cb0| 6c 65 73 20 69 6e 74 6f | 20 24 28 42 49 4e 44 49 |les into| $(BINDI|
|00002cc0| 52 29 20 61 6e 64 20 63 | 68 6d 6f 64 20 74 68 65 |R) and c|hmod the|
|00002cd0| 6d 20 28 6d 75 73 74 20 | 62 65 20 72 6f 6f 74 29 |m (must |be root)|
|00002ce0| 2e 0a 58 23 20 69 6e 69 | 74 69 61 6c 69 7a 65 0a |..X# ini|tialize.|
|00002cf0| 58 23 20 20 43 72 65 61 | 74 65 20 61 6e 64 20 63 |X# Crea|te and c|
|00002d00| 6c 65 61 72 20 24 28 44 | 41 54 41 46 49 4c 45 29 |lear $(D|ATAFILE)|
|00002d10| 2e 0a 58 23 20 63 6c 65 | 61 6e 0a 58 23 20 20 52 |..X# cle|an.X# R|
|00002d20| 65 6d 6f 76 65 20 65 78 | 65 63 75 74 61 62 6c 65 |emove ex|ecutable|
|00002d30| 2c 20 6f 62 6a 65 63 74 | 20 61 6e 64 20 74 65 6d |, object| and tem|
|00002d40| 70 6f 72 61 72 79 20 66 | 69 6c 65 73 20 66 72 6f |porary f|iles fro|
|00002d50| 6d 20 63 75 72 72 65 6e | 74 20 64 69 72 65 63 74 |m curren|t direct|
|00002d60| 6f 72 79 2e 0a 58 23 20 | 6c 69 6e 74 0a 58 23 20 |ory..X# |lint.X# |
|00002d70| 20 52 75 6e 20 6c 69 6e | 74 20 6f 6e 20 68 69 6e | Run lin|t on hin|
|00002d80| 74 20 73 6f 75 72 63 65 | 73 20 77 69 74 68 20 6f |t source|s with o|
|00002d90| 75 74 70 75 74 20 69 6e | 20 4c 49 4e 54 2e 4f 55 |utput in| LINT.OU|
|00002da0| 54 2e 0a 58 23 20 74 61 | 67 73 0a 58 23 20 20 52 |T..X# ta|gs.X# R|
|00002db0| 75 6e 20 63 74 61 67 73 | 20 6f 6e 20 68 69 6e 74 |un ctags| on hint|
|00002dc0| 20 73 6f 75 72 63 65 73 | 2e 0a 58 23 20 6b 69 74 | sources|..X# kit|
|00002dd0| 0a 58 23 20 20 4d 61 6b | 65 20 73 68 65 6c 6c 20 |.X# Mak|e shell |
|00002de0| 61 72 63 68 69 76 65 2e | 0a 58 0a 58 53 48 45 4c |archive.|.X.XSHEL|
|00002df0| 4c 20 3d 20 2f 62 69 6e | 2f 73 68 0a 58 0a 58 23 |L = /bin|/sh.X.X#|
|00002e00| 20 50 61 74 68 20 6f 66 | 20 74 68 65 20 66 69 6c | Path of| the fil|
|00002e10| 65 20 63 6f 6e 74 61 69 | 6e 69 6e 67 20 68 69 6e |e contai|ning hin|
|00002e20| 74 20 79 20 75 73 65 72 | 73 27 20 74 65 72 6d 63 |t y user|s' termc|
|00002e30| 61 70 20 73 74 72 69 6e | 67 73 2e 0a 58 44 41 54 |ap strin|gs..XDAT|
|00002e40| 41 46 49 4c 45 20 3d 20 | 2f 75 73 72 2f 6c 6f 63 |AFILE = |/usr/loc|
|00002e50| 61 6c 2f 6c 69 62 2f 68 | 69 6e 74 74 61 62 0a 58 |al/lib/h|inttab.X|
|00002e60| 0a 58 23 20 44 69 72 65 | 63 74 6f 72 79 20 66 6f |.X# Dire|ctory fo|
|00002e70| 72 20 74 68 65 20 62 69 | 6e 61 72 69 65 73 20 74 |r the bi|naries t|
|00002e80| 6f 20 67 6f 20 69 6e 2e | 0a 58 42 49 4e 44 49 52 |o go in.|.XBINDIR|
|00002e90| 20 3d 20 2f 75 73 72 2f | 6e 65 77 0a 58 0a 58 23 | = /usr/|new.X.X#|
|00002ea0| 20 44 45 46 53 20 73 68 | 6f 75 6c 64 20 69 6e 63 | DEFS sh|ould inc|
|00002eb0| 6c 75 64 65 20 2d 44 55 | 53 47 20 6f 6e 20 53 79 |lude -DU|SG on Sy|
|00002ec0| 73 74 65 6d 20 56 2e 0a | 58 44 45 46 53 20 3d 20 |stem V..|XDEFS = |
|00002ed0| 2d 44 48 49 4e 54 54 41 | 42 3d 5c 22 24 28 44 41 |-DHINTTA|B=\"$(DA|
|00002ee0| 54 41 46 49 4c 45 29 5c | 22 20 2d 44 55 53 47 0a |TAFILE)\|" -DUSG.|
|00002ef0| 58 43 46 4c 41 47 53 20 | 3d 20 2d 4f 20 24 28 44 |XCFLAGS |= -O $(D|
|00002f00| 45 46 53 29 0a 58 4c 44 | 46 4c 41 47 53 20 3d 20 |EFS).XLD|FLAGS = |
|00002f10| 2d 73 0a 58 23 20 4c 49 | 42 53 20 73 68 6f 75 6c |-s.X# LI|BS shoul|
|00002f20| 64 20 69 6e 63 6c 75 64 | 65 20 2d 6c 74 65 72 6d |d includ|e -lterm|
|00002f30| 63 61 70 20 6f 6e 20 42 | 53 44 2c 20 2d 6c 63 75 |cap on B|SD, -lcu|
|00002f40| 72 73 65 73 20 6f 6e 20 | 53 79 73 74 65 6d 20 56 |rses on |System V|
|00002f50| 2e 0a 58 4c 49 42 53 20 | 3d 20 2d 6c 63 75 72 73 |..XLIBS |= -lcurs|
|00002f60| 65 73 0a 58 0a 58 48 44 | 52 53 20 20 3d 20 68 69 |es.X.XHD|RS = hi|
|00002f70| 6e 74 2e 68 0a 58 23 20 | 49 6e 63 6c 75 64 65 20 |nt.h.X# |Include |
|00002f80| 73 74 72 2e 63 20 61 6e | 64 20 73 74 72 2e 6f 20 |str.c an|d str.o |
|00002f90| 6f 6e 20 42 53 44 3b 20 | 63 6f 6d 6d 65 6e 74 20 |on BSD; |comment |
|00002fa0| 74 68 65 6d 20 6f 75 74 | 20 6f 6e 20 53 79 73 74 |them out| on Syst|
|00002fb0| 65 6d 20 56 2e 0a 58 53 | 52 43 53 20 20 3d 20 6d |em V..XS|RCS = m|
|00002fc0| 61 69 6e 2e 63 20 68 69 | 6e 74 74 61 62 2e 63 20 |ain.c hi|nttab.c |
|00002fd0| 73 74 6f 76 2e 63 20 74 | 74 79 2e 63 20 75 73 65 |stov.c t|ty.c use|
|00002fe0| 72 2e 63 20 23 20 73 74 | 72 2e 63 0a 58 4f 42 4a |r.c # st|r.c.XOBJ|
|00002ff0| 53 20 20 3d 20 6d 61 69 | 6e 2e 6f 20 68 69 6e 74 |S = mai|n.o hint|
|00003000| 74 61 62 2e 6f 20 73 74 | 6f 76 2e 6f 20 74 74 79 |tab.o st|ov.o tty|
|00003010| 2e 6f 20 75 73 65 72 2e | 6f 20 23 20 73 74 72 2e |.o user.|o # str.|
|00003020| 6f 0a 58 0a 58 61 6c 6c | 3a 20 68 69 6e 74 20 63 |o.X.Xall|: hint c|
|00003030| 6c 65 61 72 68 69 6e 74 | 0a 58 0a 58 68 69 6e 74 |learhint|.X.Xhint|
|00003040| 3a 20 24 28 4f 42 4a 53 | 29 0a 58 09 24 28 43 43 |: $(OBJS|).X.$(CC|
|00003050| 29 20 2d 6f 20 68 69 6e | 74 20 24 28 4c 44 46 4c |) -o hin|t $(LDFL|
|00003060| 41 47 53 29 20 24 28 4f | 42 4a 53 29 20 24 28 4c |AGS) $(O|BJS) $(L|
|00003070| 49 42 53 29 0a 58 09 63 | 68 6d 6f 64 20 34 37 35 |IBS).X.c|hmod 475|
|00003080| 35 20 68 69 6e 74 0a 58 | 0a 58 24 28 4f 42 4a 53 |5 hint.X|.X$(OBJS|
|00003090| 29 3a 20 24 28 48 44 52 | 53 29 0a 58 0a 58 0a 58 |): $(HDR|S).X.X.X|
|000030a0| 63 6c 65 61 72 68 69 6e | 74 3a 20 63 6c 65 61 72 |clearhin|t: clear|
|000030b0| 68 69 6e 74 2e 63 0a 58 | 09 24 28 43 43 29 20 2d |hint.c.X|.$(CC) -|
|000030c0| 6f 20 63 6c 65 61 72 68 | 69 6e 74 20 24 28 43 46 |o clearh|int $(CF|
|000030d0| 4c 41 47 53 29 20 24 28 | 4c 44 46 4c 41 47 53 29 |LAGS) $(|LDFLAGS)|
|000030e0| 20 63 6c 65 61 72 68 69 | 6e 74 2e 63 20 24 28 4c | clearhi|nt.c $(L|
|000030f0| 49 42 53 29 0a 58 0a 58 | 69 6e 73 74 61 6c 6c 3a |IBS).X.X|install:|
|00003100| 20 68 69 6e 74 20 63 6c | 65 61 72 68 69 6e 74 20 | hint cl|earhint |
|00003110| 68 61 6c 6c 2e 73 68 0a | 58 09 63 70 20 68 69 6e |hall.sh.|X.cp hin|
|00003120| 74 20 24 28 42 49 4e 44 | 49 52 29 2f 68 69 6e 74 |t $(BIND|IR)/hint|
|00003130| 0a 58 09 63 68 6d 6f 64 | 20 34 37 35 35 20 24 28 |.X.chmod| 4755 $(|
|00003140| 42 49 4e 44 49 52 29 2f | 68 69 6e 74 0a 58 09 63 |BINDIR)/|hint.X.c|
|00003150| 70 20 63 6c 65 61 72 68 | 69 6e 74 20 24 28 42 49 |p clearh|int $(BI|
|00003160| 4e 44 49 52 29 2f 63 6c | 65 61 72 68 69 6e 74 0a |NDIR)/cl|earhint.|
|00003170| 58 09 63 68 6d 6f 64 20 | 37 35 35 20 24 28 42 49 |X.chmod |755 $(BI|
|00003180| 4e 44 49 52 29 2f 63 6c | 65 61 72 68 69 6e 74 0a |NDIR)/cl|earhint.|
|00003190| 58 09 63 70 20 68 61 6c | 6c 2e 73 68 20 24 28 42 |X.cp hal|l.sh $(B|
|000031a0| 49 4e 44 49 52 29 2f 68 | 61 6c 6c 0a 58 09 63 68 |INDIR)/h|all.X.ch|
|000031b0| 6d 6f 64 20 37 35 35 20 | 24 28 42 49 4e 44 49 52 |mod 755 |$(BINDIR|
|000031c0| 29 2f 68 61 6c 6c 0a 58 | 0a 58 69 6e 69 74 69 61 |)/hall.X|.Xinitia|
|000031d0| 6c 69 7a 65 3a 0a 58 09 | 63 61 74 20 2f 64 65 76 |lize:.X.|cat /dev|
|000031e0| 2f 6e 75 6c 6c 20 3e 20 | 24 28 44 41 54 41 46 49 |/null > |$(DATAFI|
|000031f0| 4c 45 29 0a 58 09 63 68 | 6d 6f 64 20 36 34 34 20 |LE).X.ch|mod 644 |
|00003200| 24 28 44 41 54 41 46 49 | 4c 45 29 0a 58 0a 58 63 |$(DATAFI|LE).X.Xc|
|00003210| 6c 65 61 6e 3a 0a 58 09 | 72 6d 20 2d 66 20 24 28 |lean:.X.|rm -f $(|
|00003220| 4f 42 4a 53 29 20 68 69 | 6e 74 20 63 6c 65 61 72 |OBJS) hi|nt clear|
|00003230| 68 69 6e 74 20 4c 49 4e | 54 2e 4f 55 54 20 74 61 |hint LIN|T.OUT ta|
|00003240| 67 73 20 61 2e 6f 75 74 | 20 6d 6f 6e 2e 6f 75 74 |gs a.out| mon.out|
|00003250| 20 63 6f 72 65 20 52 55 | 4e 4c 4f 47 0a 58 0a 58 | core RU|NLOG.X.X|
|00003260| 6c 69 6e 74 3a 0a 58 09 | 6c 69 6e 74 20 24 28 44 |lint:.X.|lint $(D|
|00003270| 45 46 53 29 20 24 28 53 | 52 43 53 29 20 24 28 4c |EFS) $(S|RCS) $(L|
|00003280| 49 42 53 29 20 3e 20 4c | 49 4e 54 2e 4f 55 54 0a |IBS) > L|INT.OUT.|
|00003290| 58 0a 58 74 61 67 73 3a | 09 24 28 53 52 43 53 29 |X.Xtags:|.$(SRCS)|
|000032a0| 0a 58 09 63 74 61 67 73 | 20 24 28 53 52 43 53 29 |.X.ctags| $(SRCS)|
|000032b0| 0a 58 0a 58 6b 69 74 3a | 0a 58 09 6d 61 6b 65 6b |.X.Xkit:|.X.makek|
|000032c0| 69 74 20 2d 6d 20 2d 70 | 20 2d 6e 48 69 6e 74 20 |it -m -p| -nHint |
|000032d0| 2d 73 34 30 6b 0a 45 4e | 44 5f 4f 46 5f 46 49 4c |-s40k.EN|D_OF_FIL|
|000032e0| 45 0a 69 66 20 74 65 73 | 74 20 31 37 30 34 20 2d |E.if tes|t 1704 -|
|000032f0| 6e 65 20 60 77 63 20 2d | 63 20 3c 27 4d 61 6b 65 |ne `wc -|c <'Make|
|00003300| 66 69 6c 65 27 60 3b 20 | 74 68 65 6e 0a 20 20 20 |file'`; |then. |
|00003310| 20 65 63 68 6f 20 73 68 | 61 72 3a 20 5c 22 27 4d | echo sh|ar: \"'M|
|00003320| 61 6b 65 66 69 6c 65 27 | 5c 22 20 75 6e 70 61 63 |akefile'|\" unpac|
|00003330| 6b 65 64 20 77 69 74 68 | 20 77 72 6f 6e 67 20 73 |ked with| wrong s|
|00003340| 69 7a 65 21 0a 66 69 0a | 23 20 65 6e 64 20 6f 66 |ize!.fi.|# end of|
|00003350| 20 27 4d 61 6b 65 66 69 | 6c 65 27 0a 66 69 0a 69 | 'Makefi|le'.fi.i|
|00003360| 66 20 74 65 73 74 20 2d | 66 20 27 43 4f 50 59 49 |f test -|f 'COPYI|
|00003370| 4e 47 27 20 2d 61 20 22 | 24 7b 31 7d 22 20 21 3d |NG' -a "|${1}" !=|
|00003380| 20 22 2d 63 22 20 3b 20 | 74 68 65 6e 20 0a 20 20 | "-c" ; |then . |
|00003390| 65 63 68 6f 20 73 68 61 | 72 3a 20 57 69 6c 6c 20 |echo sha|r: Will |
|000033a0| 6e 6f 74 20 63 6c 6f 62 | 62 65 72 20 65 78 69 73 |not clob|ber exis|
|000033b0| 74 69 6e 67 20 66 69 6c | 65 20 5c 22 27 43 4f 50 |ting fil|e \"'COP|
|000033c0| 59 49 4e 47 27 5c 22 0a | 65 6c 73 65 0a 65 63 68 |YING'\".|else.ech|
|000033d0| 6f 20 73 68 61 72 3a 20 | 45 78 74 72 61 63 74 69 |o shar: |Extracti|
|000033e0| 6e 67 20 5c 22 27 43 4f | 50 59 49 4e 47 27 5c 22 |ng \"'CO|PYING'\"|
|000033f0| 20 5c 28 31 32 34 38 38 | 20 63 68 61 72 61 63 74 | \(12488| charact|
|00003400| 65 72 73 5c 29 0a 73 65 | 64 20 22 73 2f 5e 58 2f |ers\).se|d "s/^X/|
|00003410| 2f 22 20 3e 27 43 4f 50 | 59 49 4e 47 27 20 3c 3c |/" >'COP|YING' <<|
|00003420| 27 45 4e 44 5f 4f 46 5f | 46 49 4c 45 27 0a 58 0a |'END_OF_|FILE'.X.|
|00003430| 58 09 09 20 20 20 20 47 | 4e 55 20 47 45 4e 45 52 |X.. G|NU GENER|
|00003440| 41 4c 20 50 55 42 4c 49 | 43 20 4c 49 43 45 4e 53 |AL PUBLI|C LICENS|
|00003450| 45 0a 58 09 09 20 20 20 | 20 20 56 65 72 73 69 6f |E.X.. | Versio|
|00003460| 6e 20 31 2c 20 46 65 62 | 72 75 61 72 79 20 31 39 |n 1, Feb|ruary 19|
|00003470| 38 39 0a 58 0a 58 20 43 | 6f 70 79 72 69 67 68 74 |89.X.X C|opyright|
|00003480| 20 28 43 29 20 31 39 38 | 39 20 46 72 65 65 20 53 | (C) 198|9 Free S|
|00003490| 6f 66 74 77 61 72 65 20 | 46 6f 75 6e 64 61 74 69 |oftware |Foundati|
|000034a0| 6f 6e 2c 20 49 6e 63 2e | 0a 58 20 20 20 20 20 20 |on, Inc.|.X |
|000034b0| 20 20 20 20 20 20 20 20 | 20 20 20 20 20 20 36 37 | | 67|
|000034c0| 35 20 4d 61 73 73 20 41 | 76 65 2c 20 43 61 6d 62 |5 Mass A|ve, Camb|
|000034d0| 72 69 64 67 65 2c 20 4d | 41 20 30 32 31 33 39 2c |ridge, M|A 02139,|
|000034e0| 20 55 53 41 0a 58 20 45 | 76 65 72 79 6f 6e 65 20 | USA.X E|veryone |
|000034f0| 69 73 20 70 65 72 6d 69 | 74 74 65 64 20 74 6f 20 |is permi|tted to |
|00003500| 63 6f 70 79 20 61 6e 64 | 20 64 69 73 74 72 69 62 |copy and| distrib|
|00003510| 75 74 65 20 76 65 72 62 | 61 74 69 6d 20 63 6f 70 |ute verb|atim cop|
|00003520| 69 65 73 0a 58 20 6f 66 | 20 74 68 69 73 20 6c 69 |ies.X of| this li|
|00003530| 63 65 6e 73 65 20 64 6f | 63 75 6d 65 6e 74 2c 20 |cense do|cument, |
|00003540| 62 75 74 20 63 68 61 6e | 67 69 6e 67 20 69 74 20 |but chan|ging it |
|00003550| 69 73 20 6e 6f 74 20 61 | 6c 6c 6f 77 65 64 2e 0a |is not a|llowed..|
|00003560| 58 0a 58 09 09 09 20 20 | 20 20 50 72 65 61 6d 62 |X.X... | Preamb|
|00003570| 6c 65 0a 58 0a 58 20 20 | 54 68 65 20 6c 69 63 65 |le.X.X |The lice|
|00003580| 6e 73 65 20 61 67 72 65 | 65 6d 65 6e 74 73 20 6f |nse agre|ements o|
|00003590| 66 20 6d 6f 73 74 20 73 | 6f 66 74 77 61 72 65 20 |f most s|oftware |
|000035a0| 63 6f 6d 70 61 6e 69 65 | 73 20 74 72 79 20 74 6f |companie|s try to|
|000035b0| 20 6b 65 65 70 20 75 73 | 65 72 73 0a 58 61 74 20 | keep us|ers.Xat |
|000035c0| 74 68 65 20 6d 65 72 63 | 79 20 6f 66 20 74 68 6f |the merc|y of tho|
|000035d0| 73 65 20 63 6f 6d 70 61 | 6e 69 65 73 2e 20 20 42 |se compa|nies. B|
|000035e0| 79 20 63 6f 6e 74 72 61 | 73 74 2c 20 6f 75 72 20 |y contra|st, our |
|000035f0| 47 65 6e 65 72 61 6c 20 | 50 75 62 6c 69 63 0a 58 |General |Public.X|
|00003600| 4c 69 63 65 6e 73 65 20 | 69 73 20 69 6e 74 65 6e |License |is inten|
|00003610| 64 65 64 20 74 6f 20 67 | 75 61 72 61 6e 74 65 65 |ded to g|uarantee|
|00003620| 20 79 6f 75 72 20 66 72 | 65 65 64 6f 6d 20 74 6f | your fr|eedom to|
|00003630| 20 73 68 61 72 65 20 61 | 6e 64 20 63 68 61 6e 67 | share a|nd chang|
|00003640| 65 20 66 72 65 65 0a 58 | 73 6f 66 74 77 61 72 65 |e free.X|software|
|00003650| 2d 2d 74 6f 20 6d 61 6b | 65 20 73 75 72 65 20 74 |--to mak|e sure t|
|00003660| 68 65 20 73 6f 66 74 77 | 61 72 65 20 69 73 20 66 |he softw|are is f|
|00003670| 72 65 65 20 66 6f 72 20 | 61 6c 6c 20 69 74 73 20 |ree for |all its |
|00003680| 75 73 65 72 73 2e 20 20 | 54 68 65 0a 58 47 65 6e |users. |The.XGen|
|00003690| 65 72 61 6c 20 50 75 62 | 6c 69 63 20 4c 69 63 65 |eral Pub|lic Lice|
|000036a0| 6e 73 65 20 61 70 70 6c | 69 65 73 20 74 6f 20 74 |nse appl|ies to t|
|000036b0| 68 65 20 46 72 65 65 20 | 53 6f 66 74 77 61 72 65 |he Free |Software|
|000036c0| 20 46 6f 75 6e 64 61 74 | 69 6f 6e 27 73 0a 58 73 | Foundat|ion's.Xs|
|000036d0| 6f 66 74 77 61 72 65 20 | 61 6e 64 20 74 6f 20 61 |oftware |and to a|
|000036e0| 6e 79 20 6f 74 68 65 72 | 20 70 72 6f 67 72 61 6d |ny other| program|
|000036f0| 20 77 68 6f 73 65 20 61 | 75 74 68 6f 72 73 20 63 | whose a|uthors c|
|00003700| 6f 6d 6d 69 74 20 74 6f | 20 75 73 69 6e 67 20 69 |ommit to| using i|
|00003710| 74 2e 0a 58 59 6f 75 20 | 63 61 6e 20 75 73 65 20 |t..XYou |can use |
|00003720| 69 74 20 66 6f 72 20 79 | 6f 75 72 20 70 72 6f 67 |it for y|our prog|
|00003730| 72 61 6d 73 2c 20 74 6f | 6f 2e 0a 58 0a 58 20 20 |rams, to|o..X.X |
|00003740| 57 68 65 6e 20 77 65 20 | 73 70 65 61 6b 20 6f 66 |When we |speak of|
|00003750| 20 66 72 65 65 20 73 6f | 66 74 77 61 72 65 2c 20 | free so|ftware, |
|00003760| 77 65 20 61 72 65 20 72 | 65 66 65 72 72 69 6e 67 |we are r|eferring|
|00003770| 20 74 6f 20 66 72 65 65 | 64 6f 6d 2c 20 6e 6f 74 | to free|dom, not|
|00003780| 0a 58 70 72 69 63 65 2e | 20 20 53 70 65 63 69 66 |.Xprice.| Specif|
|00003790| 69 63 61 6c 6c 79 2c 20 | 74 68 65 20 47 65 6e 65 |ically, |the Gene|
|000037a0| 72 61 6c 20 50 75 62 6c | 69 63 20 4c 69 63 65 6e |ral Publ|ic Licen|
|000037b0| 73 65 20 69 73 20 64 65 | 73 69 67 6e 65 64 20 74 |se is de|signed t|
|000037c0| 6f 20 6d 61 6b 65 0a 58 | 73 75 72 65 20 74 68 61 |o make.X|sure tha|
|000037d0| 74 20 79 6f 75 20 68 61 | 76 65 20 74 68 65 20 66 |t you ha|ve the f|
|000037e0| 72 65 65 64 6f 6d 20 74 | 6f 20 67 69 76 65 20 61 |reedom t|o give a|
|000037f0| 77 61 79 20 6f 72 20 73 | 65 6c 6c 20 63 6f 70 69 |way or s|ell copi|
|00003800| 65 73 20 6f 66 20 66 72 | 65 65 0a 58 73 6f 66 74 |es of fr|ee.Xsoft|
|00003810| 77 61 72 65 2c 20 74 68 | 61 74 20 79 6f 75 20 72 |ware, th|at you r|
|00003820| 65 63 65 69 76 65 20 73 | 6f 75 72 63 65 20 63 6f |eceive s|ource co|
|00003830| 64 65 20 6f 72 20 63 61 | 6e 20 67 65 74 20 69 74 |de or ca|n get it|
|00003840| 20 69 66 20 79 6f 75 20 | 77 61 6e 74 20 69 74 2c | if you |want it,|
|00003850| 0a 58 74 68 61 74 20 79 | 6f 75 20 63 61 6e 20 63 |.Xthat y|ou can c|
|00003860| 68 61 6e 67 65 20 74 68 | 65 20 73 6f 66 74 77 61 |hange th|e softwa|
|00003870| 72 65 20 6f 72 20 75 73 | 65 20 70 69 65 63 65 73 |re or us|e pieces|
|00003880| 20 6f 66 20 69 74 20 69 | 6e 20 6e 65 77 20 66 72 | of it i|n new fr|
|00003890| 65 65 0a 58 70 72 6f 67 | 72 61 6d 73 3b 20 61 6e |ee.Xprog|rams; an|
|000038a0| 64 20 74 68 61 74 20 79 | 6f 75 20 6b 6e 6f 77 20 |d that y|ou know |
|000038b0| 79 6f 75 20 63 61 6e 20 | 64 6f 20 74 68 65 73 65 |you can |do these|
|000038c0| 20 74 68 69 6e 67 73 2e | 0a 58 0a 58 20 20 54 6f | things.|.X.X To|
|000038d0| 20 70 72 6f 74 65 63 74 | 20 79 6f 75 72 20 72 69 | protect| your ri|
|000038e0| 67 68 74 73 2c 20 77 65 | 20 6e 65 65 64 20 74 6f |ghts, we| need to|
|000038f0| 20 6d 61 6b 65 20 72 65 | 73 74 72 69 63 74 69 6f | make re|strictio|
|00003900| 6e 73 20 74 68 61 74 20 | 66 6f 72 62 69 64 0a 58 |ns that |forbid.X|
|00003910| 61 6e 79 6f 6e 65 20 74 | 6f 20 64 65 6e 79 20 79 |anyone t|o deny y|
|00003920| 6f 75 20 74 68 65 73 65 | 20 72 69 67 68 74 73 20 |ou these| rights |
|00003930| 6f 72 20 74 6f 20 61 73 | 6b 20 79 6f 75 20 74 6f |or to as|k you to|
|00003940| 20 73 75 72 72 65 6e 64 | 65 72 20 74 68 65 20 72 | surrend|er the r|
|00003950| 69 67 68 74 73 2e 0a 58 | 54 68 65 73 65 20 72 65 |ights..X|These re|
|00003960| 73 74 72 69 63 74 69 6f | 6e 73 20 74 72 61 6e 73 |strictio|ns trans|
|00003970| 6c 61 74 65 20 74 6f 20 | 63 65 72 74 61 69 6e 20 |late to |certain |
|00003980| 72 65 73 70 6f 6e 73 69 | 62 69 6c 69 74 69 65 73 |responsi|bilities|
|00003990| 20 66 6f 72 20 79 6f 75 | 20 69 66 20 79 6f 75 0a | for you| if you.|
|000039a0| 58 64 69 73 74 72 69 62 | 75 74 65 20 63 6f 70 69 |Xdistrib|ute copi|
|000039b0| 65 73 20 6f 66 20 74 68 | 65 20 73 6f 66 74 77 61 |es of th|e softwa|
|000039c0| 72 65 2c 20 6f 72 20 69 | 66 20 79 6f 75 20 6d 6f |re, or i|f you mo|
|000039d0| 64 69 66 79 20 69 74 2e | 0a 58 0a 58 20 20 46 6f |dify it.|.X.X Fo|
|000039e0| 72 20 65 78 61 6d 70 6c | 65 2c 20 69 66 20 79 6f |r exampl|e, if yo|
|000039f0| 75 20 64 69 73 74 72 69 | 62 75 74 65 20 63 6f 70 |u distri|bute cop|
|00003a00| 69 65 73 20 6f 66 20 61 | 20 73 75 63 68 20 61 20 |ies of a| such a |
|00003a10| 70 72 6f 67 72 61 6d 2c | 20 77 68 65 74 68 65 72 |program,| whether|
|00003a20| 0a 58 67 72 61 74 69 73 | 20 6f 72 20 66 6f 72 20 |.Xgratis| or for |
|00003a30| 61 20 66 65 65 2c 20 79 | 6f 75 20 6d 75 73 74 20 |a fee, y|ou must |
|00003a40| 67 69 76 65 20 74 68 65 | 20 72 65 63 69 70 69 65 |give the| recipie|
|00003a50| 6e 74 73 20 61 6c 6c 20 | 74 68 65 20 72 69 67 68 |nts all |the righ|
|00003a60| 74 73 20 74 68 61 74 0a | 58 79 6f 75 20 68 61 76 |ts that.|Xyou hav|
|00003a70| 65 2e 20 20 59 6f 75 20 | 6d 75 73 74 20 6d 61 6b |e. You |must mak|
|00003a80| 65 20 73 75 72 65 20 74 | 68 61 74 20 74 68 65 79 |e sure t|hat they|
|00003a90| 2c 20 74 6f 6f 2c 20 72 | 65 63 65 69 76 65 20 6f |, too, r|eceive o|
|00003aa0| 72 20 63 61 6e 20 67 65 | 74 20 74 68 65 0a 58 73 |r can ge|t the.Xs|
|00003ab0| 6f 75 72 63 65 20 63 6f | 64 65 2e 20 20 41 6e 64 |ource co|de. And|
|00003ac0| 20 79 6f 75 20 6d 75 73 | 74 20 74 65 6c 6c 20 74 | you mus|t tell t|
|00003ad0| 68 65 6d 20 74 68 65 69 | 72 20 72 69 67 68 74 73 |hem thei|r rights|
|00003ae0| 2e 0a 58 0a 58 20 20 57 | 65 20 70 72 6f 74 65 63 |..X.X W|e protec|
|00003af0| 74 20 79 6f 75 72 20 72 | 69 67 68 74 73 20 77 69 |t your r|ights wi|
|00003b00| 74 68 20 74 77 6f 20 73 | 74 65 70 73 3a 20 28 31 |th two s|teps: (1|
|00003b10| 29 20 63 6f 70 79 72 69 | 67 68 74 20 74 68 65 20 |) copyri|ght the |
|00003b20| 73 6f 66 74 77 61 72 65 | 2c 20 61 6e 64 0a 58 28 |software|, and.X(|
|00003b30| 32 29 20 6f 66 66 65 72 | 20 79 6f 75 20 74 68 69 |2) offer| you thi|
|00003b40| 73 20 6c 69 63 65 6e 73 | 65 20 77 68 69 63 68 20 |s licens|e which |
|00003b50| 67 69 76 65 73 20 79 6f | 75 20 6c 65 67 61 6c 20 |gives yo|u legal |
|00003b60| 70 65 72 6d 69 73 73 69 | 6f 6e 20 74 6f 20 63 6f |permissi|on to co|
|00003b70| 70 79 2c 0a 58 64 69 73 | 74 72 69 62 75 74 65 20 |py,.Xdis|tribute |
|00003b80| 61 6e 64 2f 6f 72 20 6d | 6f 64 69 66 79 20 74 68 |and/or m|odify th|
|00003b90| 65 20 73 6f 66 74 77 61 | 72 65 2e 0a 58 0a 58 20 |e softwa|re..X.X |
|00003ba0| 20 41 6c 73 6f 2c 20 66 | 6f 72 20 65 61 63 68 20 | Also, f|or each |
|00003bb0| 61 75 74 68 6f 72 27 73 | 20 70 72 6f 74 65 63 74 |author's| protect|
|00003bc0| 69 6f 6e 20 61 6e 64 20 | 6f 75 72 73 2c 20 77 65 |ion and |ours, we|
|00003bd0| 20 77 61 6e 74 20 74 6f | 20 6d 61 6b 65 20 63 65 | want to| make ce|
|00003be0| 72 74 61 69 6e 0a 58 74 | 68 61 74 20 65 76 65 72 |rtain.Xt|hat ever|
|00003bf0| 79 6f 6e 65 20 75 6e 64 | 65 72 73 74 61 6e 64 73 |yone und|erstands|
|00003c00| 20 74 68 61 74 20 74 68 | 65 72 65 20 69 73 20 6e | that th|ere is n|
|00003c10| 6f 20 77 61 72 72 61 6e | 74 79 20 66 6f 72 20 74 |o warran|ty for t|
|00003c20| 68 69 73 20 66 72 65 65 | 0a 58 73 6f 66 74 77 61 |his free|.Xsoftwa|
|00003c30| 72 65 2e 20 20 49 66 20 | 74 68 65 20 73 6f 66 74 |re. If |the soft|
|00003c40| 77 61 72 65 20 69 73 20 | 6d 6f 64 69 66 69 65 64 |ware is |modified|
|00003c50| 20 62 79 20 73 6f 6d 65 | 6f 6e 65 20 65 6c 73 65 | by some|one else|
|00003c60| 20 61 6e 64 20 70 61 73 | 73 65 64 20 6f 6e 2c 20 | and pas|sed on, |
|00003c70| 77 65 0a 58 77 61 6e 74 | 20 69 74 73 20 72 65 63 |we.Xwant| its rec|
|00003c80| 69 70 69 65 6e 74 73 20 | 74 6f 20 6b 6e 6f 77 20 |ipients |to know |
|00003c90| 74 68 61 74 20 77 68 61 | 74 20 74 68 65 79 20 68 |that wha|t they h|
|00003ca0| 61 76 65 20 69 73 20 6e | 6f 74 20 74 68 65 20 6f |ave is n|ot the o|
|00003cb0| 72 69 67 69 6e 61 6c 2c | 20 73 6f 0a 58 74 68 61 |riginal,| so.Xtha|
|00003cc0| 74 20 61 6e 79 20 70 72 | 6f 62 6c 65 6d 73 20 69 |t any pr|oblems i|
|00003cd0| 6e 74 72 6f 64 75 63 65 | 64 20 62 79 20 6f 74 68 |ntroduce|d by oth|
|00003ce0| 65 72 73 20 77 69 6c 6c | 20 6e 6f 74 20 72 65 66 |ers will| not ref|
|00003cf0| 6c 65 63 74 20 6f 6e 20 | 74 68 65 20 6f 72 69 67 |lect on |the orig|
|00003d00| 69 6e 61 6c 0a 58 61 75 | 74 68 6f 72 73 27 20 72 |inal.Xau|thors' r|
|00003d10| 65 70 75 74 61 74 69 6f | 6e 73 2e 0a 58 0a 58 20 |eputatio|ns..X.X |
|00003d20| 20 54 68 65 20 70 72 65 | 63 69 73 65 20 74 65 72 | The pre|cise ter|
|00003d30| 6d 73 20 61 6e 64 20 63 | 6f 6e 64 69 74 69 6f 6e |ms and c|ondition|
|00003d40| 73 20 66 6f 72 20 63 6f | 70 79 69 6e 67 2c 20 64 |s for co|pying, d|
|00003d50| 69 73 74 72 69 62 75 74 | 69 6f 6e 20 61 6e 64 0a |istribut|ion and.|
|00003d60| 58 6d 6f 64 69 66 69 63 | 61 74 69 6f 6e 20 66 6f |Xmodific|ation fo|
|00003d70| 6c 6c 6f 77 2e 0a 58 0c | 0a 58 09 09 20 20 20 20 |llow..X.|.X.. |
|00003d80| 47 4e 55 20 47 45 4e 45 | 52 41 4c 20 50 55 42 4c |GNU GENE|RAL PUBL|
|00003d90| 49 43 20 4c 49 43 45 4e | 53 45 0a 58 20 20 20 54 |IC LICEN|SE.X T|
|00003da0| 45 52 4d 53 20 41 4e 44 | 20 43 4f 4e 44 49 54 49 |ERMS AND| CONDITI|
|00003db0| 4f 4e 53 20 46 4f 52 20 | 43 4f 50 59 49 4e 47 2c |ONS FOR |COPYING,|
|00003dc0| 20 44 49 53 54 52 49 42 | 55 54 49 4f 4e 20 41 4e | DISTRIB|UTION AN|
|00003dd0| 44 20 4d 4f 44 49 46 49 | 43 41 54 49 4f 4e 0a 58 |D MODIFI|CATION.X|
|00003de0| 0a 58 20 20 30 2e 20 54 | 68 69 73 20 4c 69 63 65 |.X 0. T|his Lice|
|00003df0| 6e 73 65 20 41 67 72 65 | 65 6d 65 6e 74 20 61 70 |nse Agre|ement ap|
|00003e00| 70 6c 69 65 73 20 74 6f | 20 61 6e 79 20 70 72 6f |plies to| any pro|
|00003e10| 67 72 61 6d 20 6f 72 20 | 6f 74 68 65 72 20 77 6f |gram or |other wo|
|00003e20| 72 6b 20 77 68 69 63 68 | 0a 58 63 6f 6e 74 61 69 |rk which|.Xcontai|
|00003e30| 6e 73 20 61 20 6e 6f 74 | 69 63 65 20 70 6c 61 63 |ns a not|ice plac|
|00003e40| 65 64 20 62 79 20 74 68 | 65 20 63 6f 70 79 72 69 |ed by th|e copyri|
|00003e50| 67 68 74 20 68 6f 6c 64 | 65 72 20 73 61 79 69 6e |ght hold|er sayin|
|00003e60| 67 20 69 74 20 6d 61 79 | 20 62 65 0a 58 64 69 73 |g it may| be.Xdis|
|00003e70| 74 72 69 62 75 74 65 64 | 20 75 6e 64 65 72 20 74 |tributed| under t|
|00003e80| 68 65 20 74 65 72 6d 73 | 20 6f 66 20 74 68 69 73 |he terms| of this|
|00003e90| 20 47 65 6e 65 72 61 6c | 20 50 75 62 6c 69 63 20 | General| Public |
|00003ea0| 4c 69 63 65 6e 73 65 2e | 20 20 54 68 65 0a 58 22 |License.| The.X"|
|00003eb0| 50 72 6f 67 72 61 6d 22 | 2c 20 62 65 6c 6f 77 2c |Program"|, below,|
|00003ec0| 20 72 65 66 65 72 73 20 | 74 6f 20 61 6e 79 20 73 | refers |to any s|
|00003ed0| 75 63 68 20 70 72 6f 67 | 72 61 6d 20 6f 72 20 77 |uch prog|ram or w|
|00003ee0| 6f 72 6b 2c 20 61 6e 64 | 20 61 20 22 77 6f 72 6b |ork, and| a "work|
|00003ef0| 20 62 61 73 65 64 0a 58 | 6f 6e 20 74 68 65 20 50 | based.X|on the P|
|00003f00| 72 6f 67 72 61 6d 22 20 | 6d 65 61 6e 73 20 65 69 |rogram" |means ei|
|00003f10| 74 68 65 72 20 74 68 65 | 20 50 72 6f 67 72 61 6d |ther the| Program|
|00003f20| 20 6f 72 20 61 6e 79 20 | 77 6f 72 6b 20 63 6f 6e | or any |work con|
|00003f30| 74 61 69 6e 69 6e 67 20 | 74 68 65 0a 58 50 72 6f |taining |the.XPro|
|00003f40| 67 72 61 6d 20 6f 72 20 | 61 20 70 6f 72 74 69 6f |gram or |a portio|
|00003f50| 6e 20 6f 66 20 69 74 2c | 20 65 69 74 68 65 72 20 |n of it,| either |
|00003f60| 76 65 72 62 61 74 69 6d | 20 6f 72 20 77 69 74 68 |verbatim| or with|
|00003f70| 20 6d 6f 64 69 66 69 63 | 61 74 69 6f 6e 73 2e 20 | modific|ations. |
|00003f80| 20 45 61 63 68 0a 58 6c | 69 63 65 6e 73 65 65 20 | Each.Xl|icensee |
|00003f90| 69 73 20 61 64 64 72 65 | 73 73 65 64 20 61 73 20 |is addre|ssed as |
|00003fa0| 22 79 6f 75 22 2e 0a 58 | 0a 58 20 20 31 2e 20 59 |"you"..X|.X 1. Y|
|00003fb0| 6f 75 20 6d 61 79 20 63 | 6f 70 79 20 61 6e 64 20 |ou may c|opy and |
|00003fc0| 64 69 73 74 72 69 62 75 | 74 65 20 76 65 72 62 61 |distribu|te verba|
|00003fd0| 74 69 6d 20 63 6f 70 69 | 65 73 20 6f 66 20 74 68 |tim copi|es of th|
|00003fe0| 65 20 50 72 6f 67 72 61 | 6d 27 73 20 73 6f 75 72 |e Progra|m's sour|
|00003ff0| 63 65 0a 58 63 6f 64 65 | 20 61 73 20 79 6f 75 20 |ce.Xcode| as you |
|00004000| 72 65 63 65 69 76 65 20 | 69 74 2c 20 69 6e 20 61 |receive |it, in a|
|00004010| 6e 79 20 6d 65 64 69 75 | 6d 2c 20 70 72 6f 76 69 |ny mediu|m, provi|
|00004020| 64 65 64 20 74 68 61 74 | 20 79 6f 75 20 63 6f 6e |ded that| you con|
|00004030| 73 70 69 63 75 6f 75 73 | 6c 79 20 61 6e 64 0a 58 |spicuous|ly and.X|
|00004040| 61 70 70 72 6f 70 72 69 | 61 74 65 6c 79 20 70 75 |appropri|ately pu|
|00004050| 62 6c 69 73 68 20 6f 6e | 20 65 61 63 68 20 63 6f |blish on| each co|
|00004060| 70 79 20 61 6e 20 61 70 | 70 72 6f 70 72 69 61 74 |py an ap|propriat|
|00004070| 65 20 63 6f 70 79 72 69 | 67 68 74 20 6e 6f 74 69 |e copyri|ght noti|
|00004080| 63 65 20 61 6e 64 0a 58 | 64 69 73 63 6c 61 69 6d |ce and.X|disclaim|
|00004090| 65 72 20 6f 66 20 77 61 | 72 72 61 6e 74 79 3b 20 |er of wa|rranty; |
|000040a0| 6b 65 65 70 20 69 6e 74 | 61 63 74 20 61 6c 6c 20 |keep int|act all |
|000040b0| 74 68 65 20 6e 6f 74 69 | 63 65 73 20 74 68 61 74 |the noti|ces that|
|000040c0| 20 72 65 66 65 72 20 74 | 6f 20 74 68 69 73 0a 58 | refer t|o this.X|
|000040d0| 47 65 6e 65 72 61 6c 20 | 50 75 62 6c 69 63 20 4c |General |Public L|
|000040e0| 69 63 65 6e 73 65 20 61 | 6e 64 20 74 6f 20 74 68 |icense a|nd to th|
|000040f0| 65 20 61 62 73 65 6e 63 | 65 20 6f 66 20 61 6e 79 |e absenc|e of any|
|00004100| 20 77 61 72 72 61 6e 74 | 79 3b 20 61 6e 64 20 67 | warrant|y; and g|
|00004110| 69 76 65 20 61 6e 79 0a | 58 6f 74 68 65 72 20 72 |ive any.|Xother r|
|00004120| 65 63 69 70 69 65 6e 74 | 73 20 6f 66 20 74 68 65 |ecipient|s of the|
|00004130| 20 50 72 6f 67 72 61 6d | 20 61 20 63 6f 70 79 20 | Program| a copy |
|00004140| 6f 66 20 74 68 69 73 20 | 47 65 6e 65 72 61 6c 20 |of this |General |
|00004150| 50 75 62 6c 69 63 20 4c | 69 63 65 6e 73 65 0a 58 |Public L|icense.X|
|00004160| 61 6c 6f 6e 67 20 77 69 | 74 68 20 74 68 65 20 50 |along wi|th the P|
|00004170| 72 6f 67 72 61 6d 2e 20 | 20 59 6f 75 20 6d 61 79 |rogram. | You may|
|00004180| 20 63 68 61 72 67 65 20 | 61 20 66 65 65 20 66 6f | charge |a fee fo|
|00004190| 72 20 74 68 65 20 70 68 | 79 73 69 63 61 6c 20 61 |r the ph|ysical a|
|000041a0| 63 74 20 6f 66 0a 58 74 | 72 61 6e 73 66 65 72 72 |ct of.Xt|ransferr|
|000041b0| 69 6e 67 20 61 20 63 6f | 70 79 2e 0a 58 0a 58 20 |ing a co|py..X.X |
|000041c0| 20 32 2e 20 59 6f 75 20 | 6d 61 79 20 6d 6f 64 69 | 2. You |may modi|
|000041d0| 66 79 20 79 6f 75 72 20 | 63 6f 70 79 20 6f 72 20 |fy your |copy or |
|000041e0| 63 6f 70 69 65 73 20 6f | 66 20 74 68 65 20 50 72 |copies o|f the Pr|
|000041f0| 6f 67 72 61 6d 20 6f 72 | 20 61 6e 79 20 70 6f 72 |ogram or| any por|
|00004200| 74 69 6f 6e 20 6f 66 0a | 58 69 74 2c 20 61 6e 64 |tion of.|Xit, and|
|00004210| 20 63 6f 70 79 20 61 6e | 64 20 64 69 73 74 72 69 | copy an|d distri|
|00004220| 62 75 74 65 20 73 75 63 | 68 20 6d 6f 64 69 66 69 |bute suc|h modifi|
|00004230| 63 61 74 69 6f 6e 73 20 | 75 6e 64 65 72 20 74 68 |cations |under th|
|00004240| 65 20 74 65 72 6d 73 20 | 6f 66 20 50 61 72 61 67 |e terms |of Parag|
|00004250| 72 61 70 68 0a 58 31 20 | 61 62 6f 76 65 2c 20 70 |raph.X1 |above, p|
|00004260| 72 6f 76 69 64 65 64 20 | 74 68 61 74 20 79 6f 75 |rovided |that you|
|00004270| 20 61 6c 73 6f 20 64 6f | 20 74 68 65 20 66 6f 6c | also do| the fol|
|00004280| 6c 6f 77 69 6e 67 3a 0a | 58 0a 58 20 20 20 20 61 |lowing:.|X.X a|
|00004290| 29 20 63 61 75 73 65 20 | 74 68 65 20 6d 6f 64 69 |) cause |the modi|
|000042a0| 66 69 65 64 20 66 69 6c | 65 73 20 74 6f 20 63 61 |fied fil|es to ca|
|000042b0| 72 72 79 20 70 72 6f 6d | 69 6e 65 6e 74 20 6e 6f |rry prom|inent no|
|000042c0| 74 69 63 65 73 20 73 74 | 61 74 69 6e 67 20 74 68 |tices st|ating th|
|000042d0| 61 74 0a 58 20 20 20 20 | 79 6f 75 20 63 68 61 6e |at.X |you chan|
|000042e0| 67 65 64 20 74 68 65 20 | 66 69 6c 65 73 20 61 6e |ged the |files an|
|000042f0| 64 20 74 68 65 20 64 61 | 74 65 20 6f 66 20 61 6e |d the da|te of an|
|00004300| 79 20 63 68 61 6e 67 65 | 3b 20 61 6e 64 0a 58 0a |y change|; and.X.|
|00004310| 58 20 20 20 20 62 29 20 | 63 61 75 73 65 20 74 68 |X b) |cause th|
|00004320| 65 20 77 68 6f 6c 65 20 | 6f 66 20 61 6e 79 20 77 |e whole |of any w|
|00004330| 6f 72 6b 20 74 68 61 74 | 20 79 6f 75 20 64 69 73 |ork that| you dis|
|00004340| 74 72 69 62 75 74 65 20 | 6f 72 20 70 75 62 6c 69 |tribute |or publi|
|00004350| 73 68 2c 20 74 68 61 74 | 0a 58 20 20 20 20 69 6e |sh, that|.X in|
|00004360| 20 77 68 6f 6c 65 20 6f | 72 20 69 6e 20 70 61 72 | whole o|r in par|
|00004370| 74 20 63 6f 6e 74 61 69 | 6e 73 20 74 68 65 20 50 |t contai|ns the P|
|00004380| 72 6f 67 72 61 6d 20 6f | 72 20 61 6e 79 20 70 61 |rogram o|r any pa|
|00004390| 72 74 20 74 68 65 72 65 | 6f 66 2c 20 65 69 74 68 |rt there|of, eith|
|000043a0| 65 72 0a 58 20 20 20 20 | 77 69 74 68 20 6f 72 20 |er.X |with or |
|000043b0| 77 69 74 68 6f 75 74 20 | 6d 6f 64 69 66 69 63 61 |without |modifica|
|000043c0| 74 69 6f 6e 73 2c 20 74 | 6f 20 62 65 20 6c 69 63 |tions, t|o be lic|
|000043d0| 65 6e 73 65 64 20 61 74 | 20 6e 6f 20 63 68 61 72 |ensed at| no char|
|000043e0| 67 65 20 74 6f 20 61 6c | 6c 0a 58 20 20 20 20 74 |ge to al|l.X t|
|000043f0| 68 69 72 64 20 70 61 72 | 74 69 65 73 20 75 6e 64 |hird par|ties und|
|00004400| 65 72 20 74 68 65 20 74 | 65 72 6d 73 20 6f 66 20 |er the t|erms of |
|00004410| 74 68 69 73 20 47 65 6e | 65 72 61 6c 20 50 75 62 |this Gen|eral Pub|
|00004420| 6c 69 63 20 4c 69 63 65 | 6e 73 65 20 28 65 78 63 |lic Lice|nse (exc|
|00004430| 65 70 74 0a 58 20 20 20 | 20 74 68 61 74 20 79 6f |ept.X | that yo|
|00004440| 75 20 6d 61 79 20 63 68 | 6f 6f 73 65 20 74 6f 20 |u may ch|oose to |
|00004450| 67 72 61 6e 74 20 77 61 | 72 72 61 6e 74 79 20 70 |grant wa|rranty p|
|00004460| 72 6f 74 65 63 74 69 6f | 6e 20 74 6f 20 73 6f 6d |rotectio|n to som|
|00004470| 65 20 6f 72 20 61 6c 6c | 0a 58 20 20 20 20 74 68 |e or all|.X th|
|00004480| 69 72 64 20 70 61 72 74 | 69 65 73 2c 20 61 74 20 |ird part|ies, at |
|00004490| 79 6f 75 72 20 6f 70 74 | 69 6f 6e 29 2e 0a 58 0a |your opt|ion)..X.|
|000044a0| 58 20 20 20 20 63 29 20 | 49 66 20 74 68 65 20 6d |X c) |If the m|
|000044b0| 6f 64 69 66 69 65 64 20 | 70 72 6f 67 72 61 6d 20 |odified |program |
|000044c0| 6e 6f 72 6d 61 6c 6c 79 | 20 72 65 61 64 73 20 63 |normally| reads c|
|000044d0| 6f 6d 6d 61 6e 64 73 20 | 69 6e 74 65 72 61 63 74 |ommands |interact|
|000044e0| 69 76 65 6c 79 20 77 68 | 65 6e 0a 58 20 20 20 20 |ively wh|en.X |
|000044f0| 72 75 6e 2c 20 79 6f 75 | 20 6d 75 73 74 20 63 61 |run, you| must ca|
|00004500| 75 73 65 20 69 74 2c 20 | 77 68 65 6e 20 73 74 61 |use it, |when sta|
|00004510| 72 74 65 64 20 72 75 6e | 6e 69 6e 67 20 66 6f 72 |rted run|ning for|
|00004520| 20 73 75 63 68 20 69 6e | 74 65 72 61 63 74 69 76 | such in|teractiv|
|00004530| 65 20 75 73 65 0a 58 20 | 20 20 20 69 6e 20 74 68 |e use.X | in th|
|00004540| 65 20 73 69 6d 70 6c 65 | 73 74 20 61 6e 64 20 6d |e simple|st and m|
|00004550| 6f 73 74 20 75 73 75 61 | 6c 20 77 61 79 2c 20 74 |ost usua|l way, t|
|00004560| 6f 20 70 72 69 6e 74 20 | 6f 72 20 64 69 73 70 6c |o print |or displ|
|00004570| 61 79 20 61 6e 0a 58 20 | 20 20 20 61 6e 6e 6f 75 |ay an.X | annou|
|00004580| 6e 63 65 6d 65 6e 74 20 | 69 6e 63 6c 75 64 69 6e |ncement |includin|
|00004590| 67 20 61 6e 20 61 70 70 | 72 6f 70 72 69 61 74 65 |g an app|ropriate|
|000045a0| 20 63 6f 70 79 72 69 67 | 68 74 20 6e 6f 74 69 63 | copyrig|ht notic|
|000045b0| 65 20 61 6e 64 20 61 20 | 6e 6f 74 69 63 65 0a 58 |e and a |notice.X|
|000045c0| 20 20 20 20 74 68 61 74 | 20 74 68 65 72 65 20 69 | that| there i|
|000045d0| 73 20 6e 6f 20 77 61 72 | 72 61 6e 74 79 20 28 6f |s no war|ranty (o|
|000045e0| 72 20 65 6c 73 65 2c 20 | 73 61 79 69 6e 67 20 74 |r else, |saying t|
|000045f0| 68 61 74 20 79 6f 75 20 | 70 72 6f 76 69 64 65 20 |hat you |provide |
|00004600| 61 0a 58 20 20 20 20 77 | 61 72 72 61 6e 74 79 29 |a.X w|arranty)|
|00004610| 20 61 6e 64 20 74 68 61 | 74 20 75 73 65 72 73 20 | and tha|t users |
|00004620| 6d 61 79 20 72 65 64 69 | 73 74 72 69 62 75 74 65 |may redi|stribute|
|00004630| 20 74 68 65 20 70 72 6f | 67 72 61 6d 20 75 6e 64 | the pro|gram und|
|00004640| 65 72 20 74 68 65 73 65 | 0a 58 20 20 20 20 63 6f |er these|.X co|
|00004650| 6e 64 69 74 69 6f 6e 73 | 2c 20 61 6e 64 20 74 65 |nditions|, and te|
|00004660| 6c 6c 69 6e 67 20 74 68 | 65 20 75 73 65 72 20 68 |lling th|e user h|
|00004670| 6f 77 20 74 6f 20 76 69 | 65 77 20 61 20 63 6f 70 |ow to vi|ew a cop|
|00004680| 79 20 6f 66 20 74 68 69 | 73 20 47 65 6e 65 72 61 |y of thi|s Genera|
|00004690| 6c 0a 58 20 20 20 20 50 | 75 62 6c 69 63 20 4c 69 |l.X P|ublic Li|
|000046a0| 63 65 6e 73 65 2e 0a 58 | 0a 58 20 20 20 20 64 29 |cense..X|.X d)|
|000046b0| 20 59 6f 75 20 6d 61 79 | 20 63 68 61 72 67 65 20 | You may| charge |
|000046c0| 61 20 66 65 65 20 66 6f | 72 20 74 68 65 20 70 68 |a fee fo|r the ph|
|000046d0| 79 73 69 63 61 6c 20 61 | 63 74 20 6f 66 20 74 72 |ysical a|ct of tr|
|000046e0| 61 6e 73 66 65 72 72 69 | 6e 67 20 61 0a 58 20 20 |ansferri|ng a.X |
|000046f0| 20 20 63 6f 70 79 2c 20 | 61 6e 64 20 79 6f 75 20 | copy, |and you |
|00004700| 6d 61 79 20 61 74 20 79 | 6f 75 72 20 6f 70 74 69 |may at y|our opti|
|00004710| 6f 6e 20 6f 66 66 65 72 | 20 77 61 72 72 61 6e 74 |on offer| warrant|
|00004720| 79 20 70 72 6f 74 65 63 | 74 69 6f 6e 20 69 6e 0a |y protec|tion in.|
|00004730| 58 20 20 20 20 65 78 63 | 68 61 6e 67 65 20 66 6f |X exc|hange fo|
|00004740| 72 20 61 20 66 65 65 2e | 0a 58 0a 58 4d 65 72 65 |r a fee.|.X.XMere|
|00004750| 20 61 67 67 72 65 67 61 | 74 69 6f 6e 20 6f 66 20 | aggrega|tion of |
|00004760| 61 6e 6f 74 68 65 72 20 | 69 6e 64 65 70 65 6e 64 |another |independ|
|00004770| 65 6e 74 20 77 6f 72 6b | 20 77 69 74 68 20 74 68 |ent work| with th|
|00004780| 65 20 50 72 6f 67 72 61 | 6d 20 28 6f 72 20 69 74 |e Progra|m (or it|
|00004790| 73 0a 58 64 65 72 69 76 | 61 74 69 76 65 29 20 6f |s.Xderiv|ative) o|
|000047a0| 6e 20 61 20 76 6f 6c 75 | 6d 65 20 6f 66 20 61 20 |n a volu|me of a |
|000047b0| 73 74 6f 72 61 67 65 20 | 6f 72 20 64 69 73 74 72 |storage |or distr|
|000047c0| 69 62 75 74 69 6f 6e 20 | 6d 65 64 69 75 6d 20 64 |ibution |medium d|
|000047d0| 6f 65 73 20 6e 6f 74 20 | 62 72 69 6e 67 0a 58 74 |oes not |bring.Xt|
|000047e0| 68 65 20 6f 74 68 65 72 | 20 77 6f 72 6b 20 75 6e |he other| work un|
|000047f0| 64 65 72 20 74 68 65 20 | 73 63 6f 70 65 20 6f 66 |der the |scope of|
|00004800| 20 74 68 65 73 65 20 74 | 65 72 6d 73 2e 0a 58 0c | these t|erms..X.|
|00004810| 0a 58 20 20 33 2e 20 59 | 6f 75 20 6d 61 79 20 63 |.X 3. Y|ou may c|
|00004820| 6f 70 79 20 61 6e 64 20 | 64 69 73 74 72 69 62 75 |opy and |distribu|
|00004830| 74 65 20 74 68 65 20 50 | 72 6f 67 72 61 6d 20 28 |te the P|rogram (|
|00004840| 6f 72 20 61 20 70 6f 72 | 74 69 6f 6e 20 6f 72 20 |or a por|tion or |
|00004850| 64 65 72 69 76 61 74 69 | 76 65 20 6f 66 0a 58 69 |derivati|ve of.Xi|
|00004860| 74 2c 20 75 6e 64 65 72 | 20 50 61 72 61 67 72 61 |t, under| Paragra|
|00004870| 70 68 20 32 29 20 69 6e | 20 6f 62 6a 65 63 74 20 |ph 2) in| object |
|00004880| 63 6f 64 65 20 6f 72 20 | 65 78 65 63 75 74 61 62 |code or |executab|
|00004890| 6c 65 20 66 6f 72 6d 20 | 75 6e 64 65 72 20 74 68 |le form |under th|
|000048a0| 65 20 74 65 72 6d 73 20 | 6f 66 0a 58 50 61 72 61 |e terms |of.XPara|
|000048b0| 67 72 61 70 68 73 20 31 | 20 61 6e 64 20 32 20 61 |graphs 1| and 2 a|
|000048c0| 62 6f 76 65 20 70 72 6f | 76 69 64 65 64 20 74 68 |bove pro|vided th|
|000048d0| 61 74 20 79 6f 75 20 61 | 6c 73 6f 20 64 6f 20 6f |at you a|lso do o|
|000048e0| 6e 65 20 6f 66 20 74 68 | 65 20 66 6f 6c 6c 6f 77 |ne of th|e follow|
|000048f0| 69 6e 67 3a 0a 58 0a 58 | 20 20 20 20 61 29 20 61 |ing:.X.X| a) a|
|00004900| 63 63 6f 6d 70 61 6e 79 | 20 69 74 20 77 69 74 68 |ccompany| it with|
|00004910| 20 74 68 65 20 63 6f 6d | 70 6c 65 74 65 20 63 6f | the com|plete co|
|00004920| 72 72 65 73 70 6f 6e 64 | 69 6e 67 20 6d 61 63 68 |rrespond|ing mach|
|00004930| 69 6e 65 2d 72 65 61 64 | 61 62 6c 65 0a 58 20 20 |ine-read|able.X |
|00004940| 20 20 73 6f 75 72 63 65 | 20 63 6f 64 65 2c 20 77 | source| code, w|
|00004950| 68 69 63 68 20 6d 75 73 | 74 20 62 65 20 64 69 73 |hich mus|t be dis|
|00004960| 74 72 69 62 75 74 65 64 | 20 75 6e 64 65 72 20 74 |tributed| under t|
|00004970| 68 65 20 74 65 72 6d 73 | 20 6f 66 0a 58 20 20 20 |he terms| of.X |
|00004980| 20 50 61 72 61 67 72 61 | 70 68 73 20 31 20 61 6e | Paragra|phs 1 an|
|00004990| 64 20 32 20 61 62 6f 76 | 65 3b 20 6f 72 2c 0a 58 |d 2 abov|e; or,.X|
|000049a0| 0a 58 20 20 20 20 62 29 | 20 61 63 63 6f 6d 70 61 |.X b)| accompa|
|000049b0| 6e 79 20 69 74 20 77 69 | 74 68 20 61 20 77 72 69 |ny it wi|th a wri|
|000049c0| 74 74 65 6e 20 6f 66 66 | 65 72 2c 20 76 61 6c 69 |tten off|er, vali|
|000049d0| 64 20 66 6f 72 20 61 74 | 20 6c 65 61 73 74 20 74 |d for at| least t|
|000049e0| 68 72 65 65 0a 58 20 20 | 20 20 79 65 61 72 73 2c |hree.X | years,|
|000049f0| 20 74 6f 20 67 69 76 65 | 20 61 6e 79 20 74 68 69 | to give| any thi|
|00004a00| 72 64 20 70 61 72 74 79 | 20 66 72 65 65 20 28 65 |rd party| free (e|
|00004a10| 78 63 65 70 74 20 66 6f | 72 20 61 20 6e 6f 6d 69 |xcept fo|r a nomi|
|00004a20| 6e 61 6c 20 63 68 61 72 | 67 65 0a 58 20 20 20 20 |nal char|ge.X |
|00004a30| 66 6f 72 20 74 68 65 20 | 63 6f 73 74 20 6f 66 20 |for the |cost of |
|00004a40| 64 69 73 74 72 69 62 75 | 74 69 6f 6e 29 20 61 20 |distribu|tion) a |
|00004a50| 63 6f 6d 70 6c 65 74 65 | 20 6d 61 63 68 69 6e 65 |complete| machine|
|00004a60| 2d 72 65 61 64 61 62 6c | 65 20 63 6f 70 79 20 6f |-readabl|e copy o|
|00004a70| 66 20 74 68 65 0a 58 20 | 20 20 20 63 6f 72 72 65 |f the.X | corre|
|00004a80| 73 70 6f 6e 64 69 6e 67 | 20 73 6f 75 72 63 65 20 |sponding| source |
|00004a90| 63 6f 64 65 2c 20 74 6f | 20 62 65 20 64 69 73 74 |code, to| be dist|
|00004aa0| 72 69 62 75 74 65 64 20 | 75 6e 64 65 72 20 74 68 |ributed |under th|
|00004ab0| 65 20 74 65 72 6d 73 20 | 6f 66 0a 58 20 20 20 20 |e terms |of.X |
|00004ac0| 50 61 72 61 67 72 61 70 | 68 73 20 31 20 61 6e 64 |Paragrap|hs 1 and|
|00004ad0| 20 32 20 61 62 6f 76 65 | 3b 20 6f 72 2c 0a 58 0a | 2 above|; or,.X.|
|00004ae0| 58 20 20 20 20 63 29 20 | 61 63 63 6f 6d 70 61 6e |X c) |accompan|
|00004af0| 79 20 69 74 20 77 69 74 | 68 20 74 68 65 20 69 6e |y it wit|h the in|
|00004b00| 66 6f 72 6d 61 74 69 6f | 6e 20 79 6f 75 20 72 65 |formatio|n you re|
|00004b10| 63 65 69 76 65 64 20 61 | 73 20 74 6f 20 77 68 65 |ceived a|s to whe|
|00004b20| 72 65 20 74 68 65 0a 58 | 20 20 20 20 63 6f 72 72 |re the.X| corr|
|00004b30| 65 73 70 6f 6e 64 69 6e | 67 20 73 6f 75 72 63 65 |espondin|g source|
|00004b40| 20 63 6f 64 65 20 6d 61 | 79 20 62 65 20 6f 62 74 | code ma|y be obt|
|00004b50| 61 69 6e 65 64 2e 20 20 | 28 54 68 69 73 20 61 6c |ained. |(This al|
|00004b60| 74 65 72 6e 61 74 69 76 | 65 20 69 73 0a 58 20 20 |ternativ|e is.X |
|00004b70| 20 20 61 6c 6c 6f 77 65 | 64 20 6f 6e 6c 79 20 66 | allowe|d only f|
|00004b80| 6f 72 20 6e 6f 6e 63 6f | 6d 6d 65 72 63 69 61 6c |or nonco|mmercial|
|00004b90| 20 64 69 73 74 72 69 62 | 75 74 69 6f 6e 20 61 6e | distrib|ution an|
|00004ba0| 64 20 6f 6e 6c 79 20 69 | 66 20 79 6f 75 0a 58 20 |d only i|f you.X |
|00004bb0| 20 20 20 72 65 63 65 69 | 76 65 64 20 74 68 65 20 | recei|ved the |
|00004bc0| 70 72 6f 67 72 61 6d 20 | 69 6e 20 6f 62 6a 65 63 |program |in objec|
|00004bd0| 74 20 63 6f 64 65 20 6f | 72 20 65 78 65 63 75 74 |t code o|r execut|
|00004be0| 61 62 6c 65 20 66 6f 72 | 6d 20 61 6c 6f 6e 65 2e |able for|m alone.|
|00004bf0| 29 0a 58 0a 58 53 6f 75 | 72 63 65 20 63 6f 64 65 |).X.XSou|rce code|
|00004c00| 20 66 6f 72 20 61 20 77 | 6f 72 6b 20 6d 65 61 6e | for a w|ork mean|
|00004c10| 73 20 74 68 65 20 70 72 | 65 66 65 72 72 65 64 20 |s the pr|eferred |
|00004c20| 66 6f 72 6d 20 6f 66 20 | 74 68 65 20 77 6f 72 6b |form of |the work|
|00004c30| 20 66 6f 72 20 6d 61 6b | 69 6e 67 0a 58 6d 6f 64 | for mak|ing.Xmod|
|00004c40| 69 66 69 63 61 74 69 6f | 6e 73 20 74 6f 20 69 74 |ificatio|ns to it|
|00004c50| 2e 20 20 46 6f 72 20 61 | 6e 20 65 78 65 63 75 74 |. For a|n execut|
|00004c60| 61 62 6c 65 20 66 69 6c | 65 2c 20 63 6f 6d 70 6c |able fil|e, compl|
|00004c70| 65 74 65 20 73 6f 75 72 | 63 65 20 63 6f 64 65 20 |ete sour|ce code |
|00004c80| 6d 65 61 6e 73 0a 58 61 | 6c 6c 20 74 68 65 20 73 |means.Xa|ll the s|
|00004c90| 6f 75 72 63 65 20 63 6f | 64 65 20 66 6f 72 20 61 |ource co|de for a|
|00004ca0| 6c 6c 20 6d 6f 64 75 6c | 65 73 20 69 74 20 63 6f |ll modul|es it co|
|00004cb0| 6e 74 61 69 6e 73 3b 20 | 62 75 74 2c 20 61 73 20 |ntains; |but, as |
|00004cc0| 61 20 73 70 65 63 69 61 | 6c 0a 58 65 78 63 65 70 |a specia|l.Xexcep|
|00004cd0| 74 69 6f 6e 2c 20 69 74 | 20 6e 65 65 64 20 6e 6f |tion, it| need no|
|00004ce0| 74 20 69 6e 63 6c 75 64 | 65 20 73 6f 75 72 63 65 |t includ|e source|
|00004cf0| 20 63 6f 64 65 20 66 6f | 72 20 6d 6f 64 75 6c 65 | code fo|r module|
|00004d00| 73 20 77 68 69 63 68 20 | 61 72 65 20 73 74 61 6e |s which |are stan|
|00004d10| 64 61 72 64 0a 58 6c 69 | 62 72 61 72 69 65 73 20 |dard.Xli|braries |
|00004d20| 74 68 61 74 20 61 63 63 | 6f 6d 70 61 6e 79 20 74 |that acc|ompany t|
|00004d30| 68 65 20 6f 70 65 72 61 | 74 69 6e 67 20 73 79 73 |he opera|ting sys|
|00004d40| 74 65 6d 20 6f 6e 20 77 | 68 69 63 68 20 74 68 65 |tem on w|hich the|
|00004d50| 20 65 78 65 63 75 74 61 | 62 6c 65 0a 58 66 69 6c | executa|ble.Xfil|
|00004d60| 65 20 72 75 6e 73 2c 20 | 6f 72 20 66 6f 72 20 73 |e runs, |or for s|
|00004d70| 74 61 6e 64 61 72 64 20 | 68 65 61 64 65 72 20 66 |tandard |header f|
|00004d80| 69 6c 65 73 20 6f 72 20 | 64 65 66 69 6e 69 74 69 |iles or |definiti|
|00004d90| 6f 6e 73 20 66 69 6c 65 | 73 20 74 68 61 74 0a 58 |ons file|s that.X|
|00004da0| 61 63 63 6f 6d 70 61 6e | 79 20 74 68 61 74 20 6f |accompan|y that o|
|00004db0| 70 65 72 61 74 69 6e 67 | 20 73 79 73 74 65 6d 2e |perating| system.|
|00004dc0| 0a 58 0a 58 20 20 34 2e | 20 59 6f 75 20 6d 61 79 |.X.X 4.| You may|
|00004dd0| 20 6e 6f 74 20 63 6f 70 | 79 2c 20 6d 6f 64 69 66 | not cop|y, modif|
|00004de0| 79 2c 20 73 75 62 6c 69 | 63 65 6e 73 65 2c 20 64 |y, subli|cense, d|
|00004df0| 69 73 74 72 69 62 75 74 | 65 20 6f 72 20 74 72 61 |istribut|e or tra|
|00004e00| 6e 73 66 65 72 20 74 68 | 65 0a 58 50 72 6f 67 72 |nsfer th|e.XProgr|
|00004e10| 61 6d 20 65 78 63 65 70 | 74 20 61 73 20 65 78 70 |am excep|t as exp|
|00004e20| 72 65 73 73 6c 79 20 70 | 72 6f 76 69 64 65 64 20 |ressly p|rovided |
|00004e30| 75 6e 64 65 72 20 74 68 | 69 73 20 47 65 6e 65 72 |under th|is Gener|
|00004e40| 61 6c 20 50 75 62 6c 69 | 63 20 4c 69 63 65 6e 73 |al Publi|c Licens|
|00004e50| 65 2e 0a 58 41 6e 79 20 | 61 74 74 65 6d 70 74 20 |e..XAny |attempt |
|00004e60| 6f 74 68 65 72 77 69 73 | 65 20 74 6f 20 63 6f 70 |otherwis|e to cop|
|00004e70| 79 2c 20 6d 6f 64 69 66 | 79 2c 20 73 75 62 6c 69 |y, modif|y, subli|
|00004e80| 63 65 6e 73 65 2c 20 64 | 69 73 74 72 69 62 75 74 |cense, d|istribut|
|00004e90| 65 20 6f 72 20 74 72 61 | 6e 73 66 65 72 0a 58 74 |e or tra|nsfer.Xt|
|00004ea0| 68 65 20 50 72 6f 67 72 | 61 6d 20 69 73 20 76 6f |he Progr|am is vo|
|00004eb0| 69 64 2c 20 61 6e 64 20 | 77 69 6c 6c 20 61 75 74 |id, and |will aut|
|00004ec0| 6f 6d 61 74 69 63 61 6c | 6c 79 20 74 65 72 6d 69 |omatical|ly termi|
|00004ed0| 6e 61 74 65 20 79 6f 75 | 72 20 72 69 67 68 74 73 |nate you|r rights|
|00004ee0| 20 74 6f 20 75 73 65 0a | 58 74 68 65 20 50 72 6f | to use.|Xthe Pro|
|00004ef0| 67 72 61 6d 20 75 6e 64 | 65 72 20 74 68 69 73 20 |gram und|er this |
|00004f00| 4c 69 63 65 6e 73 65 2e | 20 20 48 6f 77 65 76 65 |License.| Howeve|
|00004f10| 72 2c 20 70 61 72 74 69 | 65 73 20 77 68 6f 20 68 |r, parti|es who h|
|00004f20| 61 76 65 20 72 65 63 65 | 69 76 65 64 0a 58 63 6f |ave rece|ived.Xco|
|00004f30| 70 69 65 73 2c 20 6f 72 | 20 72 69 67 68 74 73 20 |pies, or| rights |
|00004f40| 74 6f 20 75 73 65 20 63 | 6f 70 69 65 73 2c 20 66 |to use c|opies, f|
|00004f50| 72 6f 6d 20 79 6f 75 20 | 75 6e 64 65 72 20 74 68 |rom you |under th|
|00004f60| 69 73 20 47 65 6e 65 72 | 61 6c 20 50 75 62 6c 69 |is Gener|al Publi|
|00004f70| 63 0a 58 4c 69 63 65 6e | 73 65 20 77 69 6c 6c 20 |c.XLicen|se will |
|00004f80| 6e 6f 74 20 68 61 76 65 | 20 74 68 65 69 72 20 6c |not have| their l|
|00004f90| 69 63 65 6e 73 65 73 20 | 74 65 72 6d 69 6e 61 74 |icenses |terminat|
|00004fa0| 65 64 20 73 6f 20 6c 6f | 6e 67 20 61 73 20 73 75 |ed so lo|ng as su|
|00004fb0| 63 68 20 70 61 72 74 69 | 65 73 0a 58 72 65 6d 61 |ch parti|es.Xrema|
|00004fc0| 69 6e 20 69 6e 20 66 75 | 6c 6c 20 63 6f 6d 70 6c |in in fu|ll compl|
|00004fd0| 69 61 6e 63 65 2e 0a 58 | 0a 58 20 20 35 2e 20 42 |iance..X|.X 5. B|
|00004fe0| 79 20 63 6f 70 79 69 6e | 67 2c 20 64 69 73 74 72 |y copyin|g, distr|
|00004ff0| 69 62 75 74 69 6e 67 20 | 6f 72 20 6d 6f 64 69 66 |ibuting |or modif|
|00005000| 79 69 6e 67 20 74 68 65 | 20 50 72 6f 67 72 61 6d |ying the| Program|
|00005010| 20 28 6f 72 20 61 6e 79 | 20 77 6f 72 6b 20 62 61 | (or any| work ba|
|00005020| 73 65 64 0a 58 6f 6e 20 | 74 68 65 20 50 72 6f 67 |sed.Xon |the Prog|
|00005030| 72 61 6d 29 20 79 6f 75 | 20 69 6e 64 69 63 61 74 |ram) you| indicat|
|00005040| 65 20 79 6f 75 72 20 61 | 63 63 65 70 74 61 6e 63 |e your a|cceptanc|
|00005050| 65 20 6f 66 20 74 68 69 | 73 20 6c 69 63 65 6e 73 |e of thi|s licens|
|00005060| 65 20 74 6f 20 64 6f 20 | 73 6f 2c 0a 58 61 6e 64 |e to do |so,.Xand|
|00005070| 20 61 6c 6c 20 69 74 73 | 20 74 65 72 6d 73 20 61 | all its| terms a|
|00005080| 6e 64 20 63 6f 6e 64 69 | 74 69 6f 6e 73 2e 0a 58 |nd condi|tions..X|
|00005090| 0a 58 20 20 36 2e 20 45 | 61 63 68 20 74 69 6d 65 |.X 6. E|ach time|
|000050a0| 20 79 6f 75 20 72 65 64 | 69 73 74 72 69 62 75 74 | you red|istribut|
|000050b0| 65 20 74 68 65 20 50 72 | 6f 67 72 61 6d 20 28 6f |e the Pr|ogram (o|
|000050c0| 72 20 61 6e 79 20 77 6f | 72 6b 20 62 61 73 65 64 |r any wo|rk based|
|000050d0| 20 6f 6e 20 74 68 65 0a | 58 50 72 6f 67 72 61 6d | on the.|XProgram|
|000050e0| 29 2c 20 74 68 65 20 72 | 65 63 69 70 69 65 6e 74 |), the r|ecipient|
|000050f0| 20 61 75 74 6f 6d 61 74 | 69 63 61 6c 6c 79 20 72 | automat|ically r|
|00005100| 65 63 65 69 76 65 73 20 | 61 20 6c 69 63 65 6e 73 |eceives |a licens|
|00005110| 65 20 66 72 6f 6d 20 74 | 68 65 20 6f 72 69 67 69 |e from t|he origi|
|00005120| 6e 61 6c 0a 58 6c 69 63 | 65 6e 73 6f 72 20 74 6f |nal.Xlic|ensor to|
|00005130| 20 63 6f 70 79 2c 20 64 | 69 73 74 72 69 62 75 74 | copy, d|istribut|
|00005140| 65 20 6f 72 20 6d 6f 64 | 69 66 79 20 74 68 65 20 |e or mod|ify the |
|00005150| 50 72 6f 67 72 61 6d 20 | 73 75 62 6a 65 63 74 20 |Program |subject |
|00005160| 74 6f 20 74 68 65 73 65 | 0a 58 74 65 72 6d 73 20 |to these|.Xterms |
|00005170| 61 6e 64 20 63 6f 6e 64 | 69 74 69 6f 6e 73 2e 20 |and cond|itions. |
|00005180| 20 59 6f 75 20 6d 61 79 | 20 6e 6f 74 20 69 6d 70 | You may| not imp|
|00005190| 6f 73 65 20 61 6e 79 20 | 66 75 72 74 68 65 72 20 |ose any |further |
|000051a0| 72 65 73 74 72 69 63 74 | 69 6f 6e 73 20 6f 6e 20 |restrict|ions on |
|000051b0| 74 68 65 0a 58 72 65 63 | 69 70 69 65 6e 74 73 27 |the.Xrec|ipients'|
|000051c0| 20 65 78 65 72 63 69 73 | 65 20 6f 66 20 74 68 65 | exercis|e of the|
|000051d0| 20 72 69 67 68 74 73 20 | 67 72 61 6e 74 65 64 20 | rights |granted |
|000051e0| 68 65 72 65 69 6e 2e 0a | 58 0c 0a 58 20 20 37 2e |herein..|X..X 7.|
|000051f0| 20 54 68 65 20 46 72 65 | 65 20 53 6f 66 74 77 61 | The Fre|e Softwa|
|00005200| 72 65 20 46 6f 75 6e 64 | 61 74 69 6f 6e 20 6d 61 |re Found|ation ma|
|00005210| 79 20 70 75 62 6c 69 73 | 68 20 72 65 76 69 73 65 |y publis|h revise|
|00005220| 64 20 61 6e 64 2f 6f 72 | 20 6e 65 77 20 76 65 72 |d and/or| new ver|
|00005230| 73 69 6f 6e 73 0a 58 6f | 66 20 74 68 65 20 47 65 |sions.Xo|f the Ge|
|00005240| 6e 65 72 61 6c 20 50 75 | 62 6c 69 63 20 4c 69 63 |neral Pu|blic Lic|
|00005250| 65 6e 73 65 20 66 72 6f | 6d 20 74 69 6d 65 20 74 |ense fro|m time t|
|00005260| 6f 20 74 69 6d 65 2e 20 | 20 53 75 63 68 20 6e 65 |o time. | Such ne|
|00005270| 77 20 76 65 72 73 69 6f | 6e 73 20 77 69 6c 6c 0a |w versio|ns will.|
|00005280| 58 62 65 20 73 69 6d 69 | 6c 61 72 20 69 6e 20 73 |Xbe simi|lar in s|
|00005290| 70 69 72 69 74 20 74 6f | 20 74 68 65 20 70 72 65 |pirit to| the pre|
|000052a0| 73 65 6e 74 20 76 65 72 | 73 69 6f 6e 2c 20 62 75 |sent ver|sion, bu|
|000052b0| 74 20 6d 61 79 20 64 69 | 66 66 65 72 20 69 6e 20 |t may di|ffer in |
|000052c0| 64 65 74 61 69 6c 20 74 | 6f 0a 58 61 64 64 72 65 |detail t|o.Xaddre|
|000052d0| 73 73 20 6e 65 77 20 70 | 72 6f 62 6c 65 6d 73 20 |ss new p|roblems |
|000052e0| 6f 72 20 63 6f 6e 63 65 | 72 6e 73 2e 0a 58 0a 58 |or conce|rns..X.X|
|000052f0| 45 61 63 68 20 76 65 72 | 73 69 6f 6e 20 69 73 20 |Each ver|sion is |
|00005300| 67 69 76 65 6e 20 61 20 | 64 69 73 74 69 6e 67 75 |given a |distingu|
|00005310| 69 73 68 69 6e 67 20 76 | 65 72 73 69 6f 6e 20 6e |ishing v|ersion n|
|00005320| 75 6d 62 65 72 2e 20 20 | 49 66 20 74 68 65 20 50 |umber. |If the P|
|00005330| 72 6f 67 72 61 6d 0a 58 | 73 70 65 63 69 66 69 65 |rogram.X|specifie|
|00005340| 73 20 61 20 76 65 72 73 | 69 6f 6e 20 6e 75 6d 62 |s a vers|ion numb|
|00005350| 65 72 20 6f 66 20 74 68 | 65 20 6c 69 63 65 6e 73 |er of th|e licens|
|00005360| 65 20 77 68 69 63 68 20 | 61 70 70 6c 69 65 73 20 |e which |applies |
|00005370| 74 6f 20 69 74 20 61 6e | 64 20 22 61 6e 79 0a 58 |to it an|d "any.X|
|00005380| 6c 61 74 65 72 20 76 65 | 72 73 69 6f 6e 22 2c 20 |later ve|rsion", |
|00005390| 79 6f 75 20 68 61 76 65 | 20 74 68 65 20 6f 70 74 |you have| the opt|
|000053a0| 69 6f 6e 20 6f 66 20 66 | 6f 6c 6c 6f 77 69 6e 67 |ion of f|ollowing|
|000053b0| 20 74 68 65 20 74 65 72 | 6d 73 20 61 6e 64 20 63 | the ter|ms and c|
|000053c0| 6f 6e 64 69 74 69 6f 6e | 73 0a 58 65 69 74 68 65 |ondition|s.Xeithe|
|000053d0| 72 20 6f 66 20 74 68 61 | 74 20 76 65 72 73 69 6f |r of tha|t versio|
|000053e0| 6e 20 6f 72 20 6f 66 20 | 61 6e 79 20 6c 61 74 65 |n or of |any late|
|000053f0| 72 20 76 65 72 73 69 6f | 6e 20 70 75 62 6c 69 73 |r versio|n publis|
|00005400| 68 65 64 20 62 79 20 74 | 68 65 20 46 72 65 65 0a |hed by t|he Free.|
|00005410| 58 53 6f 66 74 77 61 72 | 65 20 46 6f 75 6e 64 61 |XSoftwar|e Founda|
|00005420| 74 69 6f 6e 2e 20 20 49 | 66 20 74 68 65 20 50 72 |tion. I|f the Pr|
|00005430| 6f 67 72 61 6d 20 64 6f | 65 73 20 6e 6f 74 20 73 |ogram do|es not s|
|00005440| 70 65 63 69 66 79 20 61 | 20 76 65 72 73 69 6f 6e |pecify a| version|
|00005450| 20 6e 75 6d 62 65 72 20 | 6f 66 0a 58 74 68 65 20 | number |of.Xthe |
|00005460| 6c 69 63 65 6e 73 65 2c | 20 79 6f 75 20 6d 61 79 |license,| you may|
|00005470| 20 63 68 6f 6f 73 65 20 | 61 6e 79 20 76 65 72 73 | choose |any vers|
|00005480| 69 6f 6e 20 65 76 65 72 | 20 70 75 62 6c 69 73 68 |ion ever| publish|
|00005490| 65 64 20 62 79 20 74 68 | 65 20 46 72 65 65 20 53 |ed by th|e Free S|
|000054a0| 6f 66 74 77 61 72 65 0a | 58 46 6f 75 6e 64 61 74 |oftware.|XFoundat|
|000054b0| 69 6f 6e 2e 0a 58 0a 58 | 20 20 38 2e 20 49 66 20 |ion..X.X| 8. If |
|000054c0| 79 6f 75 20 77 69 73 68 | 20 74 6f 20 69 6e 63 6f |you wish| to inco|
|000054d0| 72 70 6f 72 61 74 65 20 | 70 61 72 74 73 20 6f 66 |rporate |parts of|
|000054e0| 20 74 68 65 20 50 72 6f | 67 72 61 6d 20 69 6e 74 | the Pro|gram int|
|000054f0| 6f 20 6f 74 68 65 72 20 | 66 72 65 65 0a 58 70 72 |o other |free.Xpr|
|00005500| 6f 67 72 61 6d 73 20 77 | 68 6f 73 65 20 64 69 73 |ograms w|hose dis|
|00005510| 74 72 69 62 75 74 69 6f | 6e 20 63 6f 6e 64 69 74 |tributio|n condit|
|00005520| 69 6f 6e 73 20 61 72 65 | 20 64 69 66 66 65 72 65 |ions are| differe|
|00005530| 6e 74 2c 20 77 72 69 74 | 65 20 74 6f 20 74 68 65 |nt, writ|e to the|
|00005540| 20 61 75 74 68 6f 72 0a | 58 74 6f 20 61 73 6b 20 | author.|Xto ask |
|00005550| 66 6f 72 20 70 65 72 6d | 69 73 73 69 6f 6e 2e 20 |for perm|ission. |
|00005560| 20 46 6f 72 20 73 6f 66 | 74 77 61 72 65 20 77 68 | For sof|tware wh|
|00005570| 69 63 68 20 69 73 20 63 | 6f 70 79 72 69 67 68 74 |ich is c|opyright|
|00005580| 65 64 20 62 79 20 74 68 | 65 20 46 72 65 65 0a 58 |ed by th|e Free.X|
|00005590| 53 6f 66 74 77 61 72 65 | 20 46 6f 75 6e 64 61 74 |Software| Foundat|
|000055a0| 69 6f 6e 2c 20 77 72 69 | 74 65 20 74 6f 20 74 68 |ion, wri|te to th|
|000055b0| 65 20 46 72 65 65 20 53 | 6f 66 74 77 61 72 65 20 |e Free S|oftware |
|000055c0| 46 6f 75 6e 64 61 74 69 | 6f 6e 3b 20 77 65 20 73 |Foundati|on; we s|
|000055d0| 6f 6d 65 74 69 6d 65 73 | 0a 58 6d 61 6b 65 20 65 |ometimes|.Xmake e|
|000055e0| 78 63 65 70 74 69 6f 6e | 73 20 66 6f 72 20 74 68 |xception|s for th|
|000055f0| 69 73 2e 20 20 4f 75 72 | 20 64 65 63 69 73 69 6f |is. Our| decisio|
|00005600| 6e 20 77 69 6c 6c 20 62 | 65 20 67 75 69 64 65 64 |n will b|e guided|
|00005610| 20 62 79 20 74 68 65 20 | 74 77 6f 20 67 6f 61 6c | by the |two goal|
|00005620| 73 0a 58 6f 66 20 70 72 | 65 73 65 72 76 69 6e 67 |s.Xof pr|eserving|
|00005630| 20 74 68 65 20 66 72 65 | 65 20 73 74 61 74 75 73 | the fre|e status|
|00005640| 20 6f 66 20 61 6c 6c 20 | 64 65 72 69 76 61 74 69 | of all |derivati|
|00005650| 76 65 73 20 6f 66 20 6f | 75 72 20 66 72 65 65 20 |ves of o|ur free |
|00005660| 73 6f 66 74 77 61 72 65 | 20 61 6e 64 0a 58 6f 66 |software| and.Xof|
|00005670| 20 70 72 6f 6d 6f 74 69 | 6e 67 20 74 68 65 20 73 | promoti|ng the s|
|00005680| 68 61 72 69 6e 67 20 61 | 6e 64 20 72 65 75 73 65 |haring a|nd reuse|
|00005690| 20 6f 66 20 73 6f 66 74 | 77 61 72 65 20 67 65 6e | of soft|ware gen|
|000056a0| 65 72 61 6c 6c 79 2e 0a | 58 0a 58 09 09 09 20 20 |erally..|X.X... |
|000056b0| 20 20 4e 4f 20 57 41 52 | 52 41 4e 54 59 0a 58 0a | NO WAR|RANTY.X.|
|000056c0| 58 20 20 39 2e 20 42 45 | 43 41 55 53 45 20 54 48 |X 9. BE|CAUSE TH|
|000056d0| 45 20 50 52 4f 47 52 41 | 4d 20 49 53 20 4c 49 43 |E PROGRA|M IS LIC|
|000056e0| 45 4e 53 45 44 20 46 52 | 45 45 20 4f 46 20 43 48 |ENSED FR|EE OF CH|
|000056f0| 41 52 47 45 2c 20 54 48 | 45 52 45 20 49 53 20 4e |ARGE, TH|ERE IS N|
|00005700| 4f 20 57 41 52 52 41 4e | 54 59 0a 58 46 4f 52 20 |O WARRAN|TY.XFOR |
|00005710| 54 48 45 20 50 52 4f 47 | 52 41 4d 2c 20 54 4f 20 |THE PROG|RAM, TO |
|00005720| 54 48 45 20 45 58 54 45 | 4e 54 20 50 45 52 4d 49 |THE EXTE|NT PERMI|
|00005730| 54 54 45 44 20 42 59 20 | 41 50 50 4c 49 43 41 42 |TTED BY |APPLICAB|
|00005740| 4c 45 20 4c 41 57 2e 20 | 20 45 58 43 45 50 54 20 |LE LAW. | EXCEPT |
|00005750| 57 48 45 4e 0a 58 4f 54 | 48 45 52 57 49 53 45 20 |WHEN.XOT|HERWISE |
|00005760| 53 54 41 54 45 44 20 49 | 4e 20 57 52 49 54 49 4e |STATED I|N WRITIN|
|00005770| 47 20 54 48 45 20 43 4f | 50 59 52 49 47 48 54 20 |G THE CO|PYRIGHT |
|00005780| 48 4f 4c 44 45 52 53 20 | 41 4e 44 2f 4f 52 20 4f |HOLDERS |AND/OR O|
|00005790| 54 48 45 52 20 50 41 52 | 54 49 45 53 0a 58 50 52 |THER PAR|TIES.XPR|
|000057a0| 4f 56 49 44 45 20 54 48 | 45 20 50 52 4f 47 52 41 |OVIDE TH|E PROGRA|
|000057b0| 4d 20 22 41 53 20 49 53 | 22 20 57 49 54 48 4f 55 |M "AS IS|" WITHOU|
|000057c0| 54 20 57 41 52 52 41 4e | 54 59 20 4f 46 20 41 4e |T WARRAN|TY OF AN|
|000057d0| 59 20 4b 49 4e 44 2c 20 | 45 49 54 48 45 52 20 45 |Y KIND, |EITHER E|
|000057e0| 58 50 52 45 53 53 45 44 | 0a 58 4f 52 20 49 4d 50 |XPRESSED|.XOR IMP|
|000057f0| 4c 49 45 44 2c 20 49 4e | 43 4c 55 44 49 4e 47 2c |LIED, IN|CLUDING,|
|00005800| 20 42 55 54 20 4e 4f 54 | 20 4c 49 4d 49 54 45 44 | BUT NOT| LIMITED|
|00005810| 20 54 4f 2c 20 54 48 45 | 20 49 4d 50 4c 49 45 44 | TO, THE| IMPLIED|
|00005820| 20 57 41 52 52 41 4e 54 | 49 45 53 20 4f 46 0a 58 | WARRANT|IES OF.X|
|00005830| 4d 45 52 43 48 41 4e 54 | 41 42 49 4c 49 54 59 20 |MERCHANT|ABILITY |
|00005840| 41 4e 44 20 46 49 54 4e | 45 53 53 20 46 4f 52 20 |AND FITN|ESS FOR |
|00005850| 41 20 50 41 52 54 49 43 | 55 4c 41 52 20 50 55 52 |A PARTIC|ULAR PUR|
|00005860| 50 4f 53 45 2e 20 20 54 | 48 45 20 45 4e 54 49 52 |POSE. T|HE ENTIR|
|00005870| 45 20 52 49 53 4b 20 41 | 53 0a 58 54 4f 20 54 48 |E RISK A|S.XTO TH|
|00005880| 45 20 51 55 41 4c 49 54 | 59 20 41 4e 44 20 50 45 |E QUALIT|Y AND PE|
|00005890| 52 46 4f 52 4d 41 4e 43 | 45 20 4f 46 20 54 48 45 |RFORMANC|E OF THE|
|000058a0| 20 50 52 4f 47 52 41 4d | 20 49 53 20 57 49 54 48 | PROGRAM| IS WITH|
|000058b0| 20 59 4f 55 2e 20 20 53 | 48 4f 55 4c 44 20 54 48 | YOU. S|HOULD TH|
|000058c0| 45 0a 58 50 52 4f 47 52 | 41 4d 20 50 52 4f 56 45 |E.XPROGR|AM PROVE|
|000058d0| 20 44 45 46 45 43 54 49 | 56 45 2c 20 59 4f 55 20 | DEFECTI|VE, YOU |
|000058e0| 41 53 53 55 4d 45 20 54 | 48 45 20 43 4f 53 54 20 |ASSUME T|HE COST |
|000058f0| 4f 46 20 41 4c 4c 20 4e | 45 43 45 53 53 41 52 59 |OF ALL N|ECESSARY|
|00005900| 20 53 45 52 56 49 43 49 | 4e 47 2c 0a 58 52 45 50 | SERVICI|NG,.XREP|
|00005910| 41 49 52 20 4f 52 20 43 | 4f 52 52 45 43 54 49 4f |AIR OR C|ORRECTIO|
|00005920| 4e 2e 0a 58 0a 58 20 20 | 31 30 2e 20 49 4e 20 4e |N..X.X |10. IN N|
|00005930| 4f 20 45 56 45 4e 54 20 | 55 4e 4c 45 53 53 20 52 |O EVENT |UNLESS R|
|00005940| 45 51 55 49 52 45 44 20 | 42 59 20 41 50 50 4c 49 |EQUIRED |BY APPLI|
|00005950| 43 41 42 4c 45 20 4c 41 | 57 20 4f 52 20 41 47 52 |CABLE LA|W OR AGR|
|00005960| 45 45 44 20 54 4f 20 49 | 4e 20 57 52 49 54 49 4e |EED TO I|N WRITIN|
|00005970| 47 0a 58 57 49 4c 4c 20 | 41 4e 59 20 43 4f 50 59 |G.XWILL |ANY COPY|
|00005980| 52 49 47 48 54 20 48 4f | 4c 44 45 52 2c 20 4f 52 |RIGHT HO|LDER, OR|
|00005990| 20 41 4e 59 20 4f 54 48 | 45 52 20 50 41 52 54 59 | ANY OTH|ER PARTY|
|000059a0| 20 57 48 4f 20 4d 41 59 | 20 4d 4f 44 49 46 59 20 | WHO MAY| MODIFY |
|000059b0| 41 4e 44 2f 4f 52 0a 58 | 52 45 44 49 53 54 52 49 |AND/OR.X|REDISTRI|
|000059c0| 42 55 54 45 20 54 48 45 | 20 50 52 4f 47 52 41 4d |BUTE THE| PROGRAM|
|000059d0| 20 41 53 20 50 45 52 4d | 49 54 54 45 44 20 41 42 | AS PERM|ITTED AB|
|000059e0| 4f 56 45 2c 20 42 45 20 | 4c 49 41 42 4c 45 20 54 |OVE, BE |LIABLE T|
|000059f0| 4f 20 59 4f 55 20 46 4f | 52 20 44 41 4d 41 47 45 |O YOU FO|R DAMAGE|
|00005a00| 53 2c 0a 58 49 4e 43 4c | 55 44 49 4e 47 20 41 4e |S,.XINCL|UDING AN|
|00005a10| 59 20 47 45 4e 45 52 41 | 4c 2c 20 53 50 45 43 49 |Y GENERA|L, SPECI|
|00005a20| 41 4c 2c 20 49 4e 43 49 | 44 45 4e 54 41 4c 20 4f |AL, INCI|DENTAL O|
|00005a30| 52 20 43 4f 4e 53 45 51 | 55 45 4e 54 49 41 4c 20 |R CONSEQ|UENTIAL |
|00005a40| 44 41 4d 41 47 45 53 20 | 41 52 49 53 49 4e 47 0a |DAMAGES |ARISING.|
|00005a50| 58 4f 55 54 20 4f 46 20 | 54 48 45 20 55 53 45 20 |XOUT OF |THE USE |
|00005a60| 4f 52 20 49 4e 41 42 49 | 4c 49 54 59 20 54 4f 20 |OR INABI|LITY TO |
|00005a70| 55 53 45 20 54 48 45 20 | 50 52 4f 47 52 41 4d 20 |USE THE |PROGRAM |
|00005a80| 28 49 4e 43 4c 55 44 49 | 4e 47 20 42 55 54 20 4e |(INCLUDI|NG BUT N|
|00005a90| 4f 54 20 4c 49 4d 49 54 | 45 44 0a 58 54 4f 20 4c |OT LIMIT|ED.XTO L|
|00005aa0| 4f 53 53 20 4f 46 20 44 | 41 54 41 20 4f 52 20 44 |OSS OF D|ATA OR D|
|00005ab0| 41 54 41 20 42 45 49 4e | 47 20 52 45 4e 44 45 52 |ATA BEIN|G RENDER|
|00005ac0| 45 44 20 49 4e 41 43 43 | 55 52 41 54 45 20 4f 52 |ED INACC|URATE OR|
|00005ad0| 20 4c 4f 53 53 45 53 20 | 53 55 53 54 41 49 4e 45 | LOSSES |SUSTAINE|
|00005ae0| 44 20 42 59 0a 58 59 4f | 55 20 4f 52 20 54 48 49 |D BY.XYO|U OR THI|
|00005af0| 52 44 20 50 41 52 54 49 | 45 53 20 4f 52 20 41 20 |RD PARTI|ES OR A |
|00005b00| 46 41 49 4c 55 52 45 20 | 4f 46 20 54 48 45 20 50 |FAILURE |OF THE P|
|00005b10| 52 4f 47 52 41 4d 20 54 | 4f 20 4f 50 45 52 41 54 |ROGRAM T|O OPERAT|
|00005b20| 45 20 57 49 54 48 20 41 | 4e 59 20 4f 54 48 45 52 |E WITH A|NY OTHER|
|00005b30| 0a 58 50 52 4f 47 52 41 | 4d 53 29 2c 20 45 56 45 |.XPROGRA|MS), EVE|
|00005b40| 4e 20 49 46 20 53 55 43 | 48 20 48 4f 4c 44 45 52 |N IF SUC|H HOLDER|
|00005b50| 20 4f 52 20 4f 54 48 45 | 52 20 50 41 52 54 59 20 | OR OTHE|R PARTY |
|00005b60| 48 41 53 20 42 45 45 4e | 20 41 44 56 49 53 45 44 |HAS BEEN| ADVISED|
|00005b70| 20 4f 46 20 54 48 45 0a | 58 50 4f 53 53 49 42 49 | OF THE.|XPOSSIBI|
|00005b80| 4c 49 54 59 20 4f 46 20 | 53 55 43 48 20 44 41 4d |LITY OF |SUCH DAM|
|00005b90| 41 47 45 53 2e 0a 58 0a | 58 09 09 20 20 20 20 20 |AGES..X.|X.. |
|00005ba0| 45 4e 44 20 4f 46 20 54 | 45 52 4d 53 20 41 4e 44 |END OF T|ERMS AND|
|00005bb0| 20 43 4f 4e 44 49 54 49 | 4f 4e 53 0a 58 0c 0a 58 | CONDITI|ONS.X..X|
|00005bc0| 09 41 70 70 65 6e 64 69 | 78 3a 20 48 6f 77 20 74 |.Appendi|x: How t|
|00005bd0| 6f 20 41 70 70 6c 79 20 | 54 68 65 73 65 20 54 65 |o Apply |These Te|
|00005be0| 72 6d 73 20 74 6f 20 59 | 6f 75 72 20 4e 65 77 20 |rms to Y|our New |
|00005bf0| 50 72 6f 67 72 61 6d 73 | 0a 58 0a 58 20 20 49 66 |Programs|.X.X If|
|00005c00| 20 79 6f 75 20 64 65 76 | 65 6c 6f 70 20 61 20 6e | you dev|elop a n|
|00005c10| 65 77 20 70 72 6f 67 72 | 61 6d 2c 20 61 6e 64 20 |ew progr|am, and |
|00005c20| 79 6f 75 20 77 61 6e 74 | 20 69 74 20 74 6f 20 62 |you want| it to b|
|00005c30| 65 20 6f 66 20 74 68 65 | 20 67 72 65 61 74 65 73 |e of the| greates|
|00005c40| 74 0a 58 70 6f 73 73 69 | 62 6c 65 20 75 73 65 20 |t.Xpossi|ble use |
|00005c50| 74 6f 20 68 75 6d 61 6e | 69 74 79 2c 20 74 68 65 |to human|ity, the|
|00005c60| 20 62 65 73 74 20 77 61 | 79 20 74 6f 20 61 63 68 | best wa|y to ach|
|00005c70| 69 65 76 65 20 74 68 69 | 73 20 69 73 20 74 6f 20 |ieve thi|s is to |
|00005c80| 6d 61 6b 65 20 69 74 0a | 58 66 72 65 65 20 73 6f |make it.|Xfree so|
|00005c90| 66 74 77 61 72 65 20 77 | 68 69 63 68 20 65 76 65 |ftware w|hich eve|
|00005ca0| 72 79 6f 6e 65 20 63 61 | 6e 20 72 65 64 69 73 74 |ryone ca|n redist|
|00005cb0| 72 69 62 75 74 65 20 61 | 6e 64 20 63 68 61 6e 67 |ribute a|nd chang|
|00005cc0| 65 20 75 6e 64 65 72 20 | 74 68 65 73 65 0a 58 74 |e under |these.Xt|
|00005cd0| 65 72 6d 73 2e 0a 58 0a | 58 20 20 54 6f 20 64 6f |erms..X.|X To do|
|00005ce0| 20 73 6f 2c 20 61 74 74 | 61 63 68 20 74 68 65 20 | so, att|ach the |
|00005cf0| 66 6f 6c 6c 6f 77 69 6e | 67 20 6e 6f 74 69 63 65 |followin|g notice|
|00005d00| 73 20 74 6f 20 74 68 65 | 20 70 72 6f 67 72 61 6d |s to the| program|
|00005d10| 2e 20 20 49 74 20 69 73 | 20 73 61 66 65 73 74 20 |. It is| safest |
|00005d20| 74 6f 0a 58 61 74 74 61 | 63 68 20 74 68 65 6d 20 |to.Xatta|ch them |
|00005d30| 74 6f 20 74 68 65 20 73 | 74 61 72 74 20 6f 66 20 |to the s|tart of |
|00005d40| 65 61 63 68 20 73 6f 75 | 72 63 65 20 66 69 6c 65 |each sou|rce file|
|00005d50| 20 74 6f 20 6d 6f 73 74 | 20 65 66 66 65 63 74 69 | to most| effecti|
|00005d60| 76 65 6c 79 20 63 6f 6e | 76 65 79 0a 58 74 68 65 |vely con|vey.Xthe|
|00005d70| 20 65 78 63 6c 75 73 69 | 6f 6e 20 6f 66 20 77 61 | exclusi|on of wa|
|00005d80| 72 72 61 6e 74 79 3b 20 | 61 6e 64 20 65 61 63 68 |rranty; |and each|
|00005d90| 20 66 69 6c 65 20 73 68 | 6f 75 6c 64 20 68 61 76 | file sh|ould hav|
|00005da0| 65 20 61 74 20 6c 65 61 | 73 74 20 74 68 65 0a 58 |e at lea|st the.X|
|00005db0| 22 63 6f 70 79 72 69 67 | 68 74 22 20 6c 69 6e 65 |"copyrig|ht" line|
|00005dc0| 20 61 6e 64 20 61 20 70 | 6f 69 6e 74 65 72 20 74 | and a p|ointer t|
|00005dd0| 6f 20 77 68 65 72 65 20 | 74 68 65 20 66 75 6c 6c |o where |the full|
|00005de0| 20 6e 6f 74 69 63 65 20 | 69 73 20 66 6f 75 6e 64 | notice |is found|
|00005df0| 2e 0a 58 0a 58 20 20 20 | 20 3c 6f 6e 65 20 6c 69 |..X.X | <one li|
|00005e00| 6e 65 20 74 6f 20 67 69 | 76 65 20 74 68 65 20 70 |ne to gi|ve the p|
|00005e10| 72 6f 67 72 61 6d 27 73 | 20 6e 61 6d 65 20 61 6e |rogram's| name an|
|00005e20| 64 20 61 20 62 72 69 65 | 66 20 69 64 65 61 20 6f |d a brie|f idea o|
|00005e30| 66 20 77 68 61 74 20 69 | 74 20 64 6f 65 73 2e 3e |f what i|t does.>|
|00005e40| 0a 58 20 20 20 20 43 6f | 70 79 72 69 67 68 74 20 |.X Co|pyright |
|00005e50| 28 43 29 20 31 39 79 79 | 20 20 3c 6e 61 6d 65 20 |(C) 19yy| <name |
|00005e60| 6f 66 20 61 75 74 68 6f | 72 3e 0a 58 0a 58 20 20 |of autho|r>.X.X |
|00005e70| 20 20 54 68 69 73 20 70 | 72 6f 67 72 61 6d 20 69 | This p|rogram i|
|00005e80| 73 20 66 72 65 65 20 73 | 6f 66 74 77 61 72 65 3b |s free s|oftware;|
|00005e90| 20 79 6f 75 20 63 61 6e | 20 72 65 64 69 73 74 72 | you can| redistr|
|00005ea0| 69 62 75 74 65 20 69 74 | 20 61 6e 64 2f 6f 72 20 |ibute it| and/or |
|00005eb0| 6d 6f 64 69 66 79 0a 58 | 20 20 20 20 69 74 20 75 |modify.X| it u|
|00005ec0| 6e 64 65 72 20 74 68 65 | 20 74 65 72 6d 73 20 6f |nder the| terms o|
|00005ed0| 66 20 74 68 65 20 47 4e | 55 20 47 65 6e 65 72 61 |f the GN|U Genera|
|00005ee0| 6c 20 50 75 62 6c 69 63 | 20 4c 69 63 65 6e 73 65 |l Public| License|
|00005ef0| 20 61 73 20 70 75 62 6c | 69 73 68 65 64 20 62 79 | as publ|ished by|
|00005f00| 0a 58 20 20 20 20 74 68 | 65 20 46 72 65 65 20 53 |.X th|e Free S|
|00005f10| 6f 66 74 77 61 72 65 20 | 46 6f 75 6e 64 61 74 69 |oftware |Foundati|
|00005f20| 6f 6e 3b 20 65 69 74 68 | 65 72 20 76 65 72 73 69 |on; eith|er versi|
|00005f30| 6f 6e 20 31 2c 20 6f 72 | 20 28 61 74 20 79 6f 75 |on 1, or| (at you|
|00005f40| 72 20 6f 70 74 69 6f 6e | 29 0a 58 20 20 20 20 61 |r option|).X a|
|00005f50| 6e 79 20 6c 61 74 65 72 | 20 76 65 72 73 69 6f 6e |ny later| version|
|00005f60| 2e 0a 58 0a 58 20 20 20 | 20 54 68 69 73 20 70 72 |..X.X | This pr|
|00005f70| 6f 67 72 61 6d 20 69 73 | 20 64 69 73 74 72 69 62 |ogram is| distrib|
|00005f80| 75 74 65 64 20 69 6e 20 | 74 68 65 20 68 6f 70 65 |uted in |the hope|
|00005f90| 20 74 68 61 74 20 69 74 | 20 77 69 6c 6c 20 62 65 | that it| will be|
|00005fa0| 20 75 73 65 66 75 6c 2c | 0a 58 20 20 20 20 62 75 | useful,|.X bu|
|00005fb0| 74 20 57 49 54 48 4f 55 | 54 20 41 4e 59 20 57 41 |t WITHOU|T ANY WA|
|00005fc0| 52 52 41 4e 54 59 3b 20 | 77 69 74 68 6f 75 74 20 |RRANTY; |without |
|00005fd0| 65 76 65 6e 20 74 68 65 | 20 69 6d 70 6c 69 65 64 |even the| implied|
|00005fe0| 20 77 61 72 72 61 6e 74 | 79 20 6f 66 0a 58 20 20 | warrant|y of.X |
|00005ff0| 20 20 4d 45 52 43 48 41 | 4e 54 41 42 49 4c 49 54 | MERCHA|NTABILIT|
|00006000| 59 20 6f 72 20 46 49 54 | 4e 45 53 53 20 46 4f 52 |Y or FIT|NESS FOR|
|00006010| 20 41 20 50 41 52 54 49 | 43 55 4c 41 52 20 50 55 | A PARTI|CULAR PU|
|00006020| 52 50 4f 53 45 2e 20 20 | 53 65 65 20 74 68 65 0a |RPOSE. |See the.|
|00006030| 58 20 20 20 20 47 4e 55 | 20 47 65 6e 65 72 61 6c |X GNU| General|
|00006040| 20 50 75 62 6c 69 63 20 | 4c 69 63 65 6e 73 65 20 | Public |License |
|00006050| 66 6f 72 20 6d 6f 72 65 | 20 64 65 74 61 69 6c 73 |for more| details|
|00006060| 2e 0a 58 0a 58 20 20 20 | 20 59 6f 75 20 73 68 6f |..X.X | You sho|
|00006070| 75 6c 64 20 68 61 76 65 | 20 72 65 63 65 69 76 65 |uld have| receive|
|00006080| 64 20 61 20 63 6f 70 79 | 20 6f 66 20 74 68 65 20 |d a copy| of the |
|00006090| 47 4e 55 20 47 65 6e 65 | 72 61 6c 20 50 75 62 6c |GNU Gene|ral Publ|
|000060a0| 69 63 20 4c 69 63 65 6e | 73 65 0a 58 20 20 20 20 |ic Licen|se.X |
|000060b0| 61 6c 6f 6e 67 20 77 69 | 74 68 20 74 68 69 73 20 |along wi|th this |
|000060c0| 70 72 6f 67 72 61 6d 3b | 20 69 66 20 6e 6f 74 2c |program;| if not,|
|000060d0| 20 77 72 69 74 65 20 74 | 6f 20 74 68 65 20 46 72 | write t|o the Fr|
|000060e0| 65 65 20 53 6f 66 74 77 | 61 72 65 0a 58 20 20 20 |ee Softw|are.X |
|000060f0| 20 46 6f 75 6e 64 61 74 | 69 6f 6e 2c 20 49 6e 63 | Foundat|ion, Inc|
|00006100| 2e 2c 20 36 37 35 20 4d | 61 73 73 20 41 76 65 2c |., 675 M|ass Ave,|
|00006110| 20 43 61 6d 62 72 69 64 | 67 65 2c 20 4d 41 20 30 | Cambrid|ge, MA 0|
|00006120| 32 31 33 39 2c 20 55 53 | 41 2e 0a 58 0a 58 41 6c |2139, US|A..X.XAl|
|00006130| 73 6f 20 61 64 64 20 69 | 6e 66 6f 72 6d 61 74 69 |so add i|nformati|
|00006140| 6f 6e 20 6f 6e 20 68 6f | 77 20 74 6f 20 63 6f 6e |on on ho|w to con|
|00006150| 74 61 63 74 20 79 6f 75 | 20 62 79 20 65 6c 65 63 |tact you| by elec|
|00006160| 74 72 6f 6e 69 63 20 61 | 6e 64 20 70 61 70 65 72 |tronic a|nd paper|
|00006170| 20 6d 61 69 6c 2e 0a 58 | 0a 58 49 66 20 74 68 65 | mail..X|.XIf the|
|00006180| 20 70 72 6f 67 72 61 6d | 20 69 73 20 69 6e 74 65 | program| is inte|
|00006190| 72 61 63 74 69 76 65 2c | 20 6d 61 6b 65 20 69 74 |ractive,| make it|
|000061a0| 20 6f 75 74 70 75 74 20 | 61 20 73 68 6f 72 74 20 | output |a short |
|000061b0| 6e 6f 74 69 63 65 20 6c | 69 6b 65 20 74 68 69 73 |notice l|ike this|
|000061c0| 0a 58 77 68 65 6e 20 69 | 74 20 73 74 61 72 74 73 |.Xwhen i|t starts|
|000061d0| 20 69 6e 20 61 6e 20 69 | 6e 74 65 72 61 63 74 69 | in an i|nteracti|
|000061e0| 76 65 20 6d 6f 64 65 3a | 0a 58 0a 58 20 20 20 20 |ve mode:|.X.X |
|000061f0| 47 6e 6f 6d 6f 76 69 73 | 69 6f 6e 20 76 65 72 73 |Gnomovis|ion vers|
|00006200| 69 6f 6e 20 36 39 2c 20 | 43 6f 70 79 72 69 67 68 |ion 69, |Copyrigh|
|00006210| 74 20 28 43 29 20 31 39 | 78 78 20 6e 61 6d 65 20 |t (C) 19|xx name |
|00006220| 6f 66 20 61 75 74 68 6f | 72 0a 58 20 20 20 20 47 |of autho|r.X G|
|00006230| 6e 6f 6d 6f 76 69 73 69 | 6f 6e 20 63 6f 6d 65 73 |nomovisi|on comes|
|00006240| 20 77 69 74 68 20 41 42 | 53 4f 4c 55 54 45 4c 59 | with AB|SOLUTELY|
|00006250| 20 4e 4f 20 57 41 52 52 | 41 4e 54 59 3b 20 66 6f | NO WARR|ANTY; fo|
|00006260| 72 20 64 65 74 61 69 6c | 73 20 74 79 70 65 20 60 |r detail|s type `|
|00006270| 73 68 6f 77 20 77 27 2e | 0a 58 20 20 20 20 54 68 |show w'.|.X Th|
|00006280| 69 73 20 69 73 20 66 72 | 65 65 20 73 6f 66 74 77 |is is fr|ee softw|
|00006290| 61 72 65 2c 20 61 6e 64 | 20 79 6f 75 20 61 72 65 |are, and| you are|
|000062a0| 20 77 65 6c 63 6f 6d 65 | 20 74 6f 20 72 65 64 69 | welcome| to redi|
|000062b0| 73 74 72 69 62 75 74 65 | 20 69 74 0a 58 20 20 20 |stribute| it.X |
|000062c0| 20 75 6e 64 65 72 20 63 | 65 72 74 61 69 6e 20 63 | under c|ertain c|
|000062d0| 6f 6e 64 69 74 69 6f 6e | 73 3b 20 74 79 70 65 20 |ondition|s; type |
|000062e0| 60 73 68 6f 77 20 63 27 | 20 66 6f 72 20 64 65 74 |`show c'| for det|
|000062f0| 61 69 6c 73 2e 0a 58 0a | 58 54 68 65 20 68 79 70 |ails..X.|XThe hyp|
|00006300| 6f 74 68 65 74 69 63 61 | 6c 20 63 6f 6d 6d 61 6e |othetica|l comman|
|00006310| 64 73 20 60 73 68 6f 77 | 20 77 27 20 61 6e 64 20 |ds `show| w' and |
|00006320| 60 73 68 6f 77 20 63 27 | 20 73 68 6f 75 6c 64 20 |`show c'| should |
|00006330| 73 68 6f 77 20 74 68 65 | 0a 58 61 70 70 72 6f 70 |show the|.Xapprop|
|00006340| 72 69 61 74 65 20 70 61 | 72 74 73 20 6f 66 20 74 |riate pa|rts of t|
|00006350| 68 65 20 47 65 6e 65 72 | 61 6c 20 50 75 62 6c 69 |he Gener|al Publi|
|00006360| 63 20 4c 69 63 65 6e 73 | 65 2e 20 20 4f 66 20 63 |c Licens|e. Of c|
|00006370| 6f 75 72 73 65 2c 20 74 | 68 65 0a 58 63 6f 6d 6d |ourse, t|he.Xcomm|
|00006380| 61 6e 64 73 20 79 6f 75 | 20 75 73 65 20 6d 61 79 |ands you| use may|
|00006390| 20 62 65 20 63 61 6c 6c | 65 64 20 73 6f 6d 65 74 | be call|ed somet|
|000063a0| 68 69 6e 67 20 6f 74 68 | 65 72 20 74 68 61 6e 20 |hing oth|er than |
|000063b0| 60 73 68 6f 77 20 77 27 | 20 61 6e 64 20 60 73 68 |`show w'| and `sh|
|000063c0| 6f 77 0a 58 63 27 3b 20 | 74 68 65 79 20 63 6f 75 |ow.Xc'; |they cou|
|000063d0| 6c 64 20 65 76 65 6e 20 | 62 65 20 6d 6f 75 73 65 |ld even |be mouse|
|000063e0| 2d 63 6c 69 63 6b 73 20 | 6f 72 20 6d 65 6e 75 20 |-clicks |or menu |
|000063f0| 69 74 65 6d 73 2d 2d 77 | 68 61 74 65 76 65 72 20 |items--w|hatever |
+--------+-------------------------+-------------------------+--------+--------+
Only 25.0 KB of data is shown above.