home *** CD-ROM | disk | FTP | other *** search
/ Source Code 1994 March / Source_Code_CD-ROM_Walnut_Creek_March_1994.iso / unix_c / windows / calctool.tar < prev    next >
Tape Archive  |  1990-02-02  |  248.0 KB

open in: MacOS 8.1     |     Win98     |     DOS

view JSON data     |     view as text

This file was processed as: Tape Archive (archive/tar).

You can browse this item here: calctool.tar

ConfidenceProgramDetectionMatch TypeSupport
100% dexvert Tape Archive (archive/tar) magic Supported
100% file tar archive default
99% file tar archive (V7), file calctool/, mode 755 , uid 1524 , gid 13 , size 0 , seconds 4557166747 default
98% file data default
100% lsar Tar default
100% gt2 TAR Archiv gefunden (Auflistung ist deaktiviert) default
100% disktype Pre-POSIX tar archive default



hex view
+--------+-------------------------+-------------------------+--------+--------+
|00000000| 63 61 6c 63 74 6f 6f 6c | 2f 00 00 00 00 00 00 00 |calctool|/.......|
|00000010| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000020| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000030| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000040| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000050| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000060| 00 00 00 00 20 20 20 37 | 35 35 20 00 20 20 31 35 |.... 7|55 . 15|
|00000070| 32 34 20 00 20 20 20 20 | 31 33 20 00 20 20 20 20 |24 . |13 . |
|00000080| 20 20 20 20 20 20 30 20 | 20 34 35 35 37 31 36 36 | 0 | 4557166|
|00000090| 37 34 37 20 20 20 35 36 | 36 35 00 20 00 00 00 00 |747 56|65. ....|
|000000a0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000000b0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000000c0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000000d0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000000e0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000000f0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000100| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000110| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000120| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000130| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000140| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000150| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000160| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000170| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000180| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000190| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000001a0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000001b0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000001c0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000001d0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000001e0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000001f0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000200| 63 61 6c 63 74 6f 6f 6c | 2f 53 68 61 72 46 69 6c |calctool|/SharFil|
|00000210| 65 2e 48 65 61 64 65 72 | 73 00 00 00 00 00 00 00 |e.Header|s.......|
|00000220| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000230| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000240| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000250| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000260| 00 00 00 00 20 20 20 36 | 34 34 20 00 20 20 31 35 |.... 6|44 . 15|
|00000270| 32 34 20 00 20 20 20 20 | 31 33 20 00 20 20 20 20 |24 . |13 . |
|00000280| 20 20 20 35 37 30 36 20 | 20 34 35 35 37 31 36 36 | 5706 | 4557166|
|00000290| 37 35 30 20 20 31 30 37 | 34 36 00 20 00 00 00 00 |750 107|46. ....|
|000002a0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000002b0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000002c0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000002d0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000002e0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000002f0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000300| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000310| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000320| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000330| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000340| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000350| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000360| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000370| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000380| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000390| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000003a0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000003b0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000003c0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000003d0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000003e0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000003f0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000400| 3d 3d 3d 20 63 61 6c 63 | 74 6f 6f 6c 2e 73 68 61 |=== calc|tool.sha|
|00000410| 72 31 20 3d 3d 3d 3d 3d | 3d 3d 3d 3d 3d 3d 3d 3d |r1 =====|========|
|00000420| 3d 3d 3d 3d 3d 3d 3d 3d | 3d 3d 3d 3d 0a 46 72 6f |========|====.Fro|
|00000430| 6d 20 73 70 61 72 6b 79 | 66 73 21 61 6d 65 73 21 |m sparky|fs!ames!|
|00000440| 74 68 69 6e 6b 21 73 61 | 6d 73 75 6e 67 21 75 75 |think!sa|msung!uu|
|00000450| 6e 65 74 21 61 6c 6c 62 | 65 72 79 20 54 75 65 20 |net!allb|ery Tue |
|00000460| 4a 61 6e 20 31 36 20 30 | 39 3a 30 36 3a 34 34 20 |Jan 16 0|9:06:44 |
|00000470| 50 53 54 20 31 39 39 30 | 0a 0a 50 6f 73 74 69 6e |PST 1990|..Postin|
|00000480| 67 2d 6e 75 6d 62 65 72 | 3a 20 56 6f 6c 75 6d 65 |g-number|: Volume|
|00000490| 20 31 30 2c 20 49 73 73 | 75 65 20 36 0a 53 75 62 | 10, Iss|ue 6.Sub|
|000004a0| 6d 69 74 74 65 64 2d 62 | 79 3a 20 72 69 63 68 62 |mitted-b|y: richb|
|000004b0| 40 41 75 73 2e 53 75 6e | 2e 43 4f 4d 20 28 52 69 |@Aus.Sun|.COM (Ri|
|000004c0| 63 68 20 42 75 72 72 69 | 64 67 65 29 0a 41 72 63 |ch Burri|dge).Arc|
|000004d0| 68 69 76 65 2d 6e 61 6d | 65 3a 20 63 61 6c 63 74 |hive-nam|e: calct|
|000004e0| 6f 6f 6c 32 34 2f 70 61 | 72 74 30 31 0a 0a 54 68 |ool24/pa|rt01..Th|
|000004f0| 69 73 20 69 73 20 56 32 | 2e 34 20 6f 66 20 61 20 |is is V2|.4 of a |
|00000500| 64 65 73 6b 74 6f 70 20 | 63 61 6c 63 75 6c 61 74 |desktop |calculat|
|00000510| 6f 72 20 66 6f 72 20 74 | 68 65 20 53 75 6e 20 77 |or for t|he Sun w|
|00000520| 6f 72 6b 73 74 61 74 69 | 6f 6e 2e 0a 54 68 69 73 |orkstati|on..This|
|00000530| 20 76 65 72 73 69 6f 6e | 20 77 6f 72 6b 73 20 75 | version| works u|
|00000540| 6e 64 65 72 20 53 75 6e | 56 69 65 77 2c 20 58 56 |nder Sun|View, XV|
|00000550| 69 65 77 2c 20 58 31 31 | 2c 20 4e 65 57 53 2c 20 |iew, X11|, NeWS, |
|00000560| 4d 47 52 20 61 6e 64 20 | 66 6f 72 0a 64 75 6d 62 |MGR and |for.dumb|
|00000570| 20 74 74 79 20 74 65 72 | 6d 69 6e 61 6c 73 2e 0a | tty ter|minals..|
|00000580| 0a 49 74 20 69 73 20 61 | 6c 6d 6f 73 74 20 76 69 |.It is a|lmost vi|
|00000590| 73 75 61 6c 6c 79 20 69 | 64 65 6e 74 69 63 61 6c |sually i|dentical|
|000005a0| 20 74 6f 20 56 32 2e 31 | 20 77 68 69 63 68 20 77 | to V2.1| which w|
|000005b0| 61 73 20 72 65 6c 65 61 | 73 65 64 20 69 6e 20 41 |as relea|sed in A|
|000005c0| 75 67 75 73 74 0a 31 39 | 38 38 2c 20 62 75 74 20 |ugust.19|88, but |
|000005d0| 69 6e 74 65 72 6e 61 6c | 6c 79 20 6d 6f 73 74 20 |internal|ly most |
|000005e0| 6f 66 20 74 68 65 20 63 | 6f 64 65 20 68 61 73 20 |of the c|ode has |
|000005f0| 62 65 65 6e 20 72 65 77 | 6f 72 6b 65 64 20 74 6f |been rew|orked to|
|00000600| 20 69 6e 63 6c 75 64 65 | 20 61 0a 6c 65 76 65 6c | include| a.level|
|00000610| 20 6f 66 20 67 72 61 70 | 68 69 63 73 20 61 62 73 | of grap|hics abs|
|00000620| 74 72 61 63 74 69 6f 6e | 2c 20 74 6f 20 6d 61 6b |traction|, to mak|
|00000630| 65 20 70 6f 72 74 69 6e | 67 20 74 68 69 73 20 63 |e portin|g this c|
|00000640| 6f 64 65 20 74 6f 20 6f | 74 68 65 72 0a 77 69 6e |ode to o|ther.win|
|00000650| 64 6f 77 20 73 79 73 74 | 65 6d 73 20 61 20 74 72 |dow syst|ems a tr|
|00000660| 69 76 69 61 6c 20 74 61 | 73 6b 2e 0a 0a 56 32 2e |ivial ta|sk...V2.|
|00000670| 34 20 69 6e 63 6c 75 64 | 65 73 20 64 69 73 70 6c |4 includ|es displ|
|00000680| 61 79 20 69 6e 20 73 63 | 69 65 6e 74 69 66 69 63 |ay in sc|ientific|
|00000690| 20 6e 6f 74 61 74 69 6f | 6e 2c 20 63 6f 6c 6f 72 | notatio|n, color|
|000006a0| 20 69 63 6f 6e 73 2c 20 | 61 20 63 6f 72 72 65 63 | icons, |a correc|
|000006b0| 74 0a 66 61 63 74 6f 72 | 69 61 6c 20 66 75 6e 63 |t.factor|ial func|
|000006c0| 74 69 6f 6e 20 61 6e 64 | 20 66 69 78 65 73 20 66 |tion and| fixes f|
|000006d0| 6f 72 20 61 20 66 65 77 | 20 6d 69 6e 6f 72 20 62 |or a few| minor b|
|000006e0| 75 67 73 2e 20 49 74 20 | 69 6e 74 72 6f 64 75 63 |ugs. It |introduc|
|000006f0| 65 73 20 74 68 65 0a 6e | 65 77 20 76 65 72 73 69 |es the.n|ew versi|
|00000700| 6f 6e 73 20 66 6f 72 20 | 58 56 69 65 77 2c 20 58 |ons for |XView, X|
|00000710| 31 31 2c 20 4d 47 52 20 | 61 6e 64 20 64 75 6d 62 |11, MGR |and dumb|
|00000720| 20 74 65 72 6d 69 6e 61 | 6c 73 2e 20 4e 65 77 20 | termina|ls. New |
|00000730| 66 75 6e 63 74 69 6f 6e | 73 0a 69 6e 63 6c 75 64 |function|s.includ|
|00000740| 65 20 68 79 70 65 72 62 | 6f 6c 69 63 20 61 6e 64 |e hyperb|olic and|
|00000750| 20 69 6e 76 65 72 73 65 | 20 68 79 70 65 72 62 6f | inverse| hyperbo|
|00000760| 6c 69 63 20 74 72 69 67 | 6f 6e 6f 6d 65 74 72 69 |lic trig|onometri|
|00000770| 63 61 6c 20 66 75 6e 63 | 74 69 6f 6e 73 2c 0a 72 |cal func|tions,.r|
|00000780| 65 67 69 73 74 65 72 20 | 65 78 63 68 61 6e 67 65 |egister |exchange|
|00000790| 2c 20 63 6f 6e 73 74 61 | 6e 74 73 20 61 6e 64 20 |, consta|nts and |
|000007a0| 74 68 65 20 69 6e 70 75 | 74 20 6f 66 20 6e 75 6d |the inpu|t of num|
|000007b0| 62 65 72 73 20 69 6e 20 | 65 78 70 6f 6e 65 6e 74 |bers in |exponent|
|000007c0| 69 61 6c 0a 6e 6f 74 61 | 74 69 6f 6e 2e 20 59 6f |ial.nota|tion. Yo|
|000007d0| 75 20 63 61 6e 20 61 6c | 73 6f 20 68 61 76 65 20 |u can al|so have |
|000007e0| 61 20 2e 63 61 6c 63 74 | 6f 6f 6c 72 63 20 66 69 |a .calct|oolrc fi|
|000007f0| 6c 65 20 69 6e 20 79 6f | 75 72 20 68 6f 6d 65 20 |le in yo|ur home |
|00000800| 64 69 72 65 63 74 6f 72 | 79 2c 0a 77 68 69 63 68 |director|y,.which|
|00000810| 20 63 61 6e 20 64 65 66 | 69 6e 65 20 75 70 74 6f | can def|ine upto|
|00000820| 20 74 65 6e 20 6e 65 77 | 20 76 61 6c 75 65 73 20 | ten new| values |
|00000830| 66 6f 72 20 63 6f 6e 73 | 74 61 6e 74 73 2c 20 61 |for cons|tants, a|
|00000840| 6e 64 20 74 65 6e 20 66 | 75 6e 63 74 69 6f 6e 0a |nd ten f|unction.|
|00000850| 64 65 66 69 6e 69 74 69 | 6f 6e 73 20 77 68 69 63 |definiti|ons whic|
|00000860| 68 20 61 72 65 20 75 73 | 65 64 20 69 6e 20 63 6f |h are us|ed in co|
|00000870| 6e 6a 75 6e 63 74 69 6f | 6e 20 77 69 74 68 20 74 |njunctio|n with t|
|00000880| 68 65 20 46 55 4e 20 6b | 65 79 2e 0a 0a 2a 2a 49 |he FUN k|ey...**I|
|00000890| 4d 50 4f 52 54 41 4e 54 | 20 4e 4f 54 45 2a 2a 0a |MPORTANT| NOTE**.|
|000008a0| 0a 53 65 76 65 72 61 6c | 20 6f 66 20 74 68 65 20 |.Several| of the |
|000008b0| 6b 65 79 62 6f 61 72 64 | 20 65 71 75 69 76 61 6c |keyboard| equival|
|000008c0| 65 6e 74 73 20 66 6f 72 | 20 76 61 72 69 6f 75 73 |ents for| various|
|000008d0| 20 63 61 6c 63 74 6f 6f | 6c 20 66 75 6e 63 74 69 | calctoo|l functi|
|000008e0| 6f 6e 73 0a 68 61 76 65 | 20 62 65 65 6e 20 63 68 |ons.have| been ch|
|000008f0| 61 6e 67 65 64 20 74 6f | 20 61 6c 6c 6f 77 20 66 |anged to| allow f|
|00000900| 6f 72 20 74 68 65 20 6e | 65 77 20 66 75 6e 63 74 |or the n|ew funct|
|00000910| 69 6f 6e 61 6c 69 74 79 | 20 61 6e 64 20 74 6f 20 |ionality| and to |
|00000920| 62 65 20 6d 6f 72 65 0a | 69 6e 74 75 69 74 69 76 |be more.|intuitiv|
|00000930| 65 2e 0a 0a 53 65 65 20 | 74 68 65 20 6f 6e 6c 69 |e...See |the onli|
|00000940| 6e 65 20 68 65 6c 70 2c | 20 74 68 65 20 52 45 41 |ne help,| the REA|
|00000950| 44 4d 45 20 66 69 6c 65 | 20 6f 72 20 74 68 65 20 |DME file| or the |
|00000960| 6d 61 6e 75 61 6c 20 70 | 61 67 65 73 20 66 6f 72 |manual p|ages for|
|00000970| 20 6d 6f 72 65 20 64 65 | 74 61 69 6c 73 2e 0a 0a | more de|tails...|
|00000980| 53 75 67 67 65 73 74 69 | 6f 6e 73 20 66 6f 72 20 |Suggesti|ons for |
|00000990| 66 75 72 74 68 75 72 20 | 69 6d 70 72 6f 76 65 6d |furthur |improvem|
|000009a0| 65 6e 74 20 77 6f 75 6c | 64 20 62 65 20 6d 6f 73 |ent woul|d be mos|
|000009b0| 74 20 77 65 6c 63 6f 6d | 65 2c 20 70 6c 75 73 20 |t welcom|e, plus |
|000009c0| 62 75 67 73 2c 0a 63 6f | 6d 6d 65 6e 74 73 20 61 |bugs,.co|mments a|
|000009d0| 6e 64 20 66 6c 61 6d 65 | 73 2e 0a 0a 52 69 63 68 |nd flame|s...Rich|
|000009e0| 20 42 75 72 72 69 64 67 | 65 2c 20 20 20 20 20 20 | Burridg|e, |
|000009f0| 20 20 20 20 44 4f 4d 41 | 49 4e 3a 20 72 69 63 68 | DOMA|IN: rich|
|00000a00| 62 40 73 75 6e 61 75 73 | 2e 6f 7a 2e 61 75 0a 50 |b@sunaus|.oz.au.P|
|00000a10| 48 4f 4e 45 3a 20 2b 36 | 31 20 32 20 34 31 33 20 |HONE: +6|1 2 413 |
|00000a20| 32 36 36 36 20 20 20 55 | 55 43 50 3a 20 20 20 7b |2666 U|UCP: {|
|00000a30| 75 75 6e 65 74 2c 6d 63 | 76 61 78 2c 75 6b 63 7d |uunet,mc|vax,ukc}|
|00000a40| 21 6d 75 6e 6e 61 72 69 | 21 73 75 6e 61 75 73 2e |!munnari|!sunaus.|
|00000a50| 6f 7a 21 72 69 63 68 62 | 0a 0a 2d 2d 2d 2d 20 43 |oz!richb|..---- C|
|00000a60| 75 74 20 48 65 72 65 20 | 61 6e 64 20 75 6e 70 61 |ut Here |and unpa|
|00000a70| 63 6b 20 2d 2d 2d 2d 0a | 3d 3d 3d 20 63 61 6c 63 |ck ----.|=== calc|
|00000a80| 74 6f 6f 6c 2e 73 68 61 | 72 32 20 3d 3d 3d 3d 3d |tool.sha|r2 =====|
|00000a90| 3d 3d 3d 3d 3d 3d 3d 3d | 3d 3d 3d 3d 3d 3d 3d 3d |========|========|
|00000aa0| 3d 3d 3d 3d 0a 46 72 6f | 6d 20 73 70 61 72 6b 79 |====.Fro|m sparky|
|00000ab0| 66 73 21 61 6d 65 73 21 | 61 70 70 6c 65 21 75 73 |fs!ames!|apple!us|
|00000ac0| 63 21 63 73 2e 75 74 65 | 78 61 73 2e 65 64 75 21 |c!cs.ute|xas.edu!|
|00000ad0| 75 75 6e 65 74 21 61 6c | 6c 62 65 72 79 20 54 75 |uunet!al|lbery Tu|
|00000ae0| 65 20 4a 61 6e 20 31 36 | 20 30 39 3a 30 36 3a 33 |e Jan 16| 09:06:3|
|00000af0| 33 20 50 53 54 20 31 39 | 39 30 0a 0a 50 6f 73 74 |3 PST 19|90..Post|
|00000b00| 69 6e 67 2d 6e 75 6d 62 | 65 72 3a 20 56 6f 6c 75 |ing-numb|er: Volu|
|00000b10| 6d 65 20 31 30 2c 20 49 | 73 73 75 65 20 37 0a 53 |me 10, I|ssue 7.S|
|00000b20| 75 62 6d 69 74 74 65 64 | 2d 62 79 3a 20 72 69 63 |ubmitted|-by: ric|
|00000b30| 68 62 40 41 75 73 2e 53 | 75 6e 2e 43 4f 4d 20 28 |hb@Aus.S|un.COM (|
|00000b40| 52 69 63 68 20 42 75 72 | 72 69 64 67 65 29 0a 41 |Rich Bur|ridge).A|
|00000b50| 72 63 68 69 76 65 2d 6e | 61 6d 65 3a 20 63 61 6c |rchive-n|ame: cal|
|00000b60| 63 74 6f 6f 6c 32 34 2f | 70 61 72 74 30 32 0a 0a |ctool24/|part02..|
|00000b70| 2d 2d 2d 2d 20 43 75 74 | 20 48 65 72 65 20 61 6e |---- Cut| Here an|
|00000b80| 64 20 75 6e 70 61 63 6b | 20 2d 2d 2d 2d 0a 3d 3d |d unpack| ----.==|
|00000b90| 3d 20 63 61 6c 63 74 6f | 6f 6c 2e 73 68 61 72 33 |= calcto|ol.shar3|
|00000ba0| 20 3d 3d 3d 3d 3d 3d 3d | 3d 3d 3d 3d 3d 3d 3d 3d | =======|========|
|00000bb0| 3d 3d 3d 3d 3d 3d 3d 3d | 3d 3d 0a 46 72 6f 6d 20 |========|==.From |
|00000bc0| 73 70 61 72 6b 79 66 73 | 21 61 6d 65 73 21 61 70 |sparkyfs|!ames!ap|
|00000bd0| 70 6c 65 21 75 73 63 21 | 63 73 2e 75 74 65 78 61 |ple!usc!|cs.utexa|
|00000be0| 73 2e 65 64 75 21 75 75 | 6e 65 74 21 61 6c 6c 62 |s.edu!uu|net!allb|
|00000bf0| 65 72 79 20 54 75 65 20 | 4a 61 6e 20 31 36 20 30 |ery Tue |Jan 16 0|
|00000c00| 39 3a 30 36 3a 35 39 20 | 50 53 54 20 31 39 39 30 |9:06:59 |PST 1990|
|00000c10| 0a 0a 50 6f 73 74 69 6e | 67 2d 6e 75 6d 62 65 72 |..Postin|g-number|
|00000c20| 3a 20 56 6f 6c 75 6d 65 | 20 31 30 2c 20 49 73 73 |: Volume| 10, Iss|
|00000c30| 75 65 20 38 0a 53 75 62 | 6d 69 74 74 65 64 2d 62 |ue 8.Sub|mitted-b|
|00000c40| 79 3a 20 72 69 63 68 62 | 40 41 75 73 2e 53 75 6e |y: richb|@Aus.Sun|
|00000c50| 2e 43 4f 4d 20 28 52 69 | 63 68 20 42 75 72 72 69 |.COM (Ri|ch Burri|
|00000c60| 64 67 65 29 0a 41 72 63 | 68 69 76 65 2d 6e 61 6d |dge).Arc|hive-nam|
|00000c70| 65 3a 20 63 61 6c 63 74 | 6f 6f 6c 32 34 2f 70 61 |e: calct|ool24/pa|
|00000c80| 72 74 30 33 0a 0a 2d 2d | 2d 2d 20 43 75 74 20 48 |rt03..--|-- Cut H|
|00000c90| 65 72 65 20 61 6e 64 20 | 75 6e 70 61 63 6b 20 2d |ere and |unpack -|
|00000ca0| 2d 2d 2d 0a 3d 3d 3d 20 | 63 61 6c 63 74 6f 6f 6c |---.=== |calctool|
|00000cb0| 2e 73 68 61 72 34 20 3d | 3d 3d 3d 3d 3d 3d 3d 3d |.shar4 =|========|
|00000cc0| 3d 3d 3d 3d 3d 3d 3d 3d | 3d 3d 3d 3d 3d 3d 3d 3d |========|========|
|00000cd0| 0a 46 72 6f 6d 20 73 70 | 61 72 6b 79 66 73 21 61 |.From sp|arkyfs!a|
|00000ce0| 6d 65 73 21 6d 61 69 6c | 72 75 73 21 63 73 2e 75 |mes!mail|rus!cs.u|
|00000cf0| 74 65 78 61 73 2e 65 64 | 75 21 75 75 6e 65 74 21 |texas.ed|u!uunet!|
|00000d00| 61 6c 6c 62 65 72 79 20 | 54 75 65 20 4a 61 6e 20 |allbery |Tue Jan |
|00000d10| 31 36 20 30 39 3a 30 37 | 3a 31 36 20 50 53 54 20 |16 09:07|:16 PST |
|00000d20| 31 39 39 30 0a 0a 50 6f | 73 74 69 6e 67 2d 6e 75 |1990..Po|sting-nu|
|00000d30| 6d 62 65 72 3a 20 56 6f | 6c 75 6d 65 20 31 30 2c |mber: Vo|lume 10,|
|00000d40| 20 49 73 73 75 65 20 39 | 0a 53 75 62 6d 69 74 74 | Issue 9|.Submitt|
|00000d50| 65 64 2d 62 79 3a 20 72 | 69 63 68 62 40 41 75 73 |ed-by: r|ichb@Aus|
|00000d60| 2e 53 75 6e 2e 43 4f 4d | 20 28 52 69 63 68 20 42 |.Sun.COM| (Rich B|
|00000d70| 75 72 72 69 64 67 65 29 | 0a 41 72 63 68 69 76 65 |urridge)|.Archive|
|00000d80| 2d 6e 61 6d 65 3a 20 63 | 61 6c 63 74 6f 6f 6c 32 |-name: c|alctool2|
|00000d90| 34 2f 70 61 72 74 30 34 | 0a 0a 2d 2d 2d 2d 20 43 |4/part04|..---- C|
|00000da0| 75 74 20 48 65 72 65 20 | 61 6e 64 20 75 6e 70 61 |ut Here |and unpa|
|00000db0| 63 6b 20 2d 2d 2d 2d 0a | 3d 3d 3d 20 63 61 6c 63 |ck ----.|=== calc|
|00000dc0| 74 6f 6f 6c 2e 73 68 61 | 72 35 20 3d 3d 3d 3d 3d |tool.sha|r5 =====|
|00000dd0| 3d 3d 3d 3d 3d 3d 3d 3d | 3d 3d 3d 3d 3d 3d 3d 3d |========|========|
|00000de0| 3d 3d 3d 3d 0a 46 72 6f | 6d 20 73 70 61 72 6b 79 |====.Fro|m sparky|
|00000df0| 66 73 21 61 6d 65 73 21 | 6d 61 69 6c 72 75 73 21 |fs!ames!|mailrus!|
|00000e00| 75 75 6e 65 74 21 61 6c | 6c 62 65 72 79 20 54 75 |uunet!al|lbery Tu|
|00000e10| 65 20 4a 61 6e 20 31 36 | 20 30 39 3a 30 37 3a 35 |e Jan 16| 09:07:5|
|00000e20| 33 20 50 53 54 20 31 39 | 39 30 0a 0a 50 6f 73 74 |3 PST 19|90..Post|
|00000e30| 69 6e 67 2d 6e 75 6d 62 | 65 72 3a 20 56 6f 6c 75 |ing-numb|er: Volu|
|00000e40| 6d 65 20 31 30 2c 20 49 | 73 73 75 65 20 31 30 0a |me 10, I|ssue 10.|
|00000e50| 53 75 62 6d 69 74 74 65 | 64 2d 62 79 3a 20 72 69 |Submitte|d-by: ri|
|00000e60| 63 68 62 40 41 75 73 2e | 53 75 6e 2e 43 4f 4d 20 |chb@Aus.|Sun.COM |
|00000e70| 28 52 69 63 68 20 42 75 | 72 72 69 64 67 65 29 0a |(Rich Bu|rridge).|
|00000e80| 41 72 63 68 69 76 65 2d | 6e 61 6d 65 3a 20 63 61 |Archive-|name: ca|
|00000e90| 6c 63 74 6f 6f 6c 32 34 | 2f 70 61 72 74 30 35 0a |lctool24|/part05.|
|00000ea0| 0a 2d 2d 2d 2d 20 43 75 | 74 20 48 65 72 65 20 61 |.---- Cu|t Here a|
|00000eb0| 6e 64 20 75 6e 70 61 63 | 6b 20 2d 2d 2d 2d 0a 3d |nd unpac|k ----.=|
|00000ec0| 3d 3d 20 63 61 6c 63 74 | 6f 6f 6c 2e 73 68 61 72 |== calct|ool.shar|
|00000ed0| 36 20 3d 3d 3d 3d 3d 3d | 3d 3d 3d 3d 3d 3d 3d 3d |6 ======|========|
|00000ee0| 3d 3d 3d 3d 3d 3d 3d 3d | 3d 3d 3d 0a 46 72 6f 6d |========|===.From|
|00000ef0| 20 73 70 61 72 6b 79 66 | 73 21 61 6d 65 73 21 6d | sparkyf|s!ames!m|
|00000f00| 61 69 6c 72 75 73 21 75 | 75 6e 65 74 21 61 6c 6c |ailrus!u|unet!all|
|00000f10| 62 65 72 79 20 54 75 65 | 20 4a 61 6e 20 31 36 20 |bery Tue| Jan 16 |
|00000f20| 30 39 3a 30 39 3a 34 35 | 20 50 53 54 20 31 39 39 |09:09:45| PST 199|
|00000f30| 30 0a 0a 50 6f 73 74 69 | 6e 67 2d 6e 75 6d 62 65 |0..Posti|ng-numbe|
|00000f40| 72 3a 20 56 6f 6c 75 6d | 65 20 31 30 2c 20 49 73 |r: Volum|e 10, Is|
|00000f50| 73 75 65 20 31 31 0a 53 | 75 62 6d 69 74 74 65 64 |sue 11.S|ubmitted|
|00000f60| 2d 62 79 3a 20 72 69 63 | 68 62 40 41 75 73 2e 53 |-by: ric|hb@Aus.S|
|00000f70| 75 6e 2e 43 4f 4d 20 28 | 52 69 63 68 20 42 75 72 |un.COM (|Rich Bur|
|00000f80| 72 69 64 67 65 29 0a 41 | 72 63 68 69 76 65 2d 6e |ridge).A|rchive-n|
|00000f90| 61 6d 65 3a 20 63 61 6c | 63 74 6f 6f 6c 32 34 2f |ame: cal|ctool24/|
|00000fa0| 70 61 72 74 30 36 0a 0a | 2d 2d 2d 2d 20 43 75 74 |part06..|---- Cut|
|00000fb0| 20 48 65 72 65 20 61 6e | 64 20 75 6e 70 61 63 6b | Here an|d unpack|
|00000fc0| 20 2d 2d 2d 2d 0a 00 00 | 00 00 00 00 00 00 00 00 | ----...|........|
|00000fd0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000fe0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000ff0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00001000| 63 61 6c 63 74 6f 6f 6c | 2f 52 45 41 44 4d 45 00 |calctool|/README.|
|00001010| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00001020| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00001030| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00001040| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00001050| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00001060| 00 00 00 00 20 20 20 34 | 34 34 20 00 20 20 31 35 |.... 4|44 . 15|
|00001070| 32 34 20 00 20 20 20 20 | 31 33 20 00 20 20 20 20 |24 . |13 . |
|00001080| 20 20 20 35 35 31 30 20 | 20 34 35 35 37 31 36 36 | 5510 | 4557166|
|00001090| 36 36 34 20 20 20 36 36 | 32 37 00 20 00 00 00 00 |664 66|27. ....|
|000010a0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000010b0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000010c0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000010d0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000010e0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000010f0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00001100| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00001110| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00001120| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00001130| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00001140| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00001150| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00001160| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00001170| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00001180| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00001190| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000011a0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000011b0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000011c0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000011d0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000011e0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000011f0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00001200| 0a 63 61 6c 63 74 6f 6f | 6c 20 20 2d 20 20 52 45 |.calctoo|l - RE|
|00001210| 41 44 4d 45 20 20 2d 20 | 20 4e 6f 76 65 6d 62 65 |ADME - | Novembe|
|00001220| 72 20 31 39 38 39 2e 0a | 0a 54 68 69 73 20 69 73 |r 1989..|.This is|
|00001230| 20 56 32 2e 34 20 6f 66 | 20 61 20 64 65 73 6b 74 | V2.4 of| a deskt|
|00001240| 6f 70 20 63 61 6c 63 75 | 6c 61 74 6f 72 20 66 6f |op calcu|lator fo|
|00001250| 72 20 74 68 65 20 53 75 | 6e 20 77 6f 72 6b 73 74 |r the Su|n workst|
|00001260| 61 74 69 6f 6e 2e 0a 54 | 68 69 73 20 76 65 72 73 |ation..T|his vers|
|00001270| 69 6f 6e 20 77 6f 72 6b | 73 20 75 6e 64 65 72 20 |ion work|s under |
|00001280| 53 75 6e 56 69 65 77 2c | 20 58 56 69 65 77 2c 20 |SunView,| XView, |
|00001290| 58 31 31 2c 20 4e 65 57 | 53 2c 20 4d 47 52 20 61 |X11, NeW|S, MGR a|
|000012a0| 6e 64 20 66 6f 72 0a 64 | 75 6d 62 20 74 74 79 20 |nd for.d|umb tty |
|000012b0| 74 65 72 6d 69 6e 61 6c | 73 2e 0a 0a 49 74 20 69 |terminal|s...It i|
|000012c0| 73 20 61 6c 6d 6f 73 74 | 20 76 69 73 75 61 6c 6c |s almost| visuall|
|000012d0| 79 20 69 64 65 6e 74 69 | 63 61 6c 20 74 6f 20 56 |y identi|cal to V|
|000012e0| 32 2e 31 20 77 68 69 63 | 68 20 77 61 73 20 72 65 |2.1 whic|h was re|
|000012f0| 6c 65 61 73 65 64 20 69 | 6e 20 41 75 67 75 73 74 |leased i|n August|
|00001300| 0a 31 39 38 38 2c 20 62 | 75 74 20 69 6e 74 65 72 |.1988, b|ut inter|
|00001310| 6e 61 6c 6c 79 20 6d 6f | 73 74 20 6f 66 20 74 68 |nally mo|st of th|
|00001320| 65 20 63 6f 64 65 20 68 | 61 73 20 62 65 65 6e 20 |e code h|as been |
|00001330| 72 65 77 6f 72 6b 65 64 | 20 74 6f 20 69 6e 63 6c |reworked| to incl|
|00001340| 75 64 65 20 61 0a 6c 65 | 76 65 6c 20 6f 66 20 67 |ude a.le|vel of g|
|00001350| 72 61 70 68 69 63 73 20 | 61 62 73 74 72 61 63 74 |raphics |abstract|
|00001360| 69 6f 6e 2c 20 74 6f 20 | 6d 61 6b 65 20 70 6f 72 |ion, to |make por|
|00001370| 74 69 6e 67 20 74 68 69 | 73 20 63 6f 64 65 20 74 |ting thi|s code t|
|00001380| 6f 20 6f 74 68 65 72 0a | 77 69 6e 64 6f 77 20 73 |o other.|window s|
|00001390| 79 73 74 65 6d 73 20 61 | 20 74 72 69 76 69 61 6c |ystems a| trivial|
|000013a0| 20 74 61 73 6b 2e 0a 0a | 56 32 2e 34 20 69 6e 63 | task...|V2.4 inc|
|000013b0| 6c 75 64 65 73 20 64 69 | 73 70 6c 61 79 20 69 6e |ludes di|splay in|
|000013c0| 20 73 63 69 65 6e 74 69 | 66 69 63 20 6e 6f 74 61 | scienti|fic nota|
|000013d0| 74 69 6f 6e 2c 20 63 6f | 6c 6f 72 20 69 63 6f 6e |tion, co|lor icon|
|000013e0| 73 2c 20 61 20 63 6f 72 | 72 65 63 74 0a 66 61 63 |s, a cor|rect.fac|
|000013f0| 74 6f 72 69 61 6c 20 66 | 75 6e 63 74 69 6f 6e 20 |torial f|unction |
|00001400| 61 6e 64 20 66 69 78 65 | 73 20 66 6f 72 20 61 20 |and fixe|s for a |
|00001410| 66 65 77 20 6d 69 6e 6f | 72 20 62 75 67 73 2e 20 |few mino|r bugs. |
|00001420| 49 74 20 69 6e 74 72 6f | 64 75 63 65 73 20 74 68 |It intro|duces th|
|00001430| 65 0a 6e 65 77 20 76 65 | 72 73 69 6f 6e 73 20 66 |e.new ve|rsions f|
|00001440| 6f 72 20 58 56 69 65 77 | 2c 20 58 31 31 2c 20 4d |or XView|, X11, M|
|00001450| 47 52 20 61 6e 64 20 64 | 75 6d 62 20 74 65 72 6d |GR and d|umb term|
|00001460| 69 6e 61 6c 73 2e 20 4e | 65 77 20 66 75 6e 63 74 |inals. N|ew funct|
|00001470| 69 6f 6e 73 0a 69 6e 63 | 6c 75 64 65 20 68 79 70 |ions.inc|lude hyp|
|00001480| 65 72 62 6f 6c 69 63 20 | 61 6e 64 20 69 6e 76 65 |erbolic |and inve|
|00001490| 72 73 65 20 68 79 70 65 | 72 62 6f 6c 69 63 20 74 |rse hype|rbolic t|
|000014a0| 72 69 67 6f 6e 6f 6d 65 | 74 72 69 63 61 6c 20 66 |rigonome|trical f|
|000014b0| 75 6e 63 74 69 6f 6e 73 | 2c 0a 72 65 67 69 73 74 |unctions|,.regist|
|000014c0| 65 72 20 65 78 63 68 61 | 6e 67 65 2c 20 63 6f 6e |er excha|nge, con|
|000014d0| 73 74 61 6e 74 73 20 61 | 6e 64 20 74 68 65 20 69 |stants a|nd the i|
|000014e0| 6e 70 75 74 20 6f 66 20 | 6e 75 6d 62 65 72 73 20 |nput of |numbers |
|000014f0| 69 6e 20 65 78 70 6f 6e | 65 6e 74 69 61 6c 0a 6e |in expon|ential.n|
|00001500| 6f 74 61 74 69 6f 6e 2e | 20 59 6f 75 20 63 61 6e |otation.| You can|
|00001510| 20 61 6c 73 6f 20 68 61 | 76 65 20 61 20 2e 63 61 | also ha|ve a .ca|
|00001520| 6c 63 74 6f 6f 6c 72 63 | 20 66 69 6c 65 20 69 6e |lctoolrc| file in|
|00001530| 20 79 6f 75 72 20 68 6f | 6d 65 20 64 69 72 65 63 | your ho|me direc|
|00001540| 74 6f 72 79 2c 0a 77 68 | 69 63 68 20 63 61 6e 20 |tory,.wh|ich can |
|00001550| 64 65 66 69 6e 65 20 75 | 70 74 6f 20 74 65 6e 20 |define u|pto ten |
|00001560| 6e 65 77 20 76 61 6c 75 | 65 73 20 66 6f 72 20 63 |new valu|es for c|
|00001570| 6f 6e 73 74 61 6e 74 73 | 2c 20 61 6e 64 20 74 65 |onstants|, and te|
|00001580| 6e 20 66 75 6e 63 74 69 | 6f 6e 0a 64 65 66 69 6e |n functi|on.defin|
|00001590| 69 74 69 6f 6e 73 20 77 | 68 69 63 68 20 61 72 65 |itions w|hich are|
|000015a0| 20 75 73 65 64 20 69 6e | 20 63 6f 6e 6a 75 6e 63 | used in| conjunc|
|000015b0| 74 69 6f 6e 20 77 69 74 | 68 20 74 68 65 20 46 55 |tion wit|h the FU|
|000015c0| 4e 20 6b 65 79 2e 0a 0a | 2a 2a 49 4d 50 4f 52 54 |N key...|**IMPORT|
|000015d0| 41 4e 54 20 4e 4f 54 45 | 2a 2a 0a 0a 53 65 76 65 |ANT NOTE|**..Seve|
|000015e0| 72 61 6c 20 6f 66 20 74 | 68 65 20 6b 65 79 62 6f |ral of t|he keybo|
|000015f0| 61 72 64 20 65 71 75 69 | 76 61 6c 65 6e 74 73 20 |ard equi|valents |
|00001600| 66 6f 72 20 76 61 72 69 | 6f 75 73 20 63 61 6c 63 |for vari|ous calc|
|00001610| 74 6f 6f 6c 20 66 75 6e | 63 74 69 6f 6e 73 0a 68 |tool fun|ctions.h|
|00001620| 61 76 65 20 62 65 65 6e | 20 63 68 61 6e 67 65 64 |ave been| changed|
|00001630| 20 74 6f 20 61 6c 6c 6f | 77 20 66 6f 72 20 74 68 | to allo|w for th|
|00001640| 65 20 6e 65 77 20 66 75 | 6e 63 74 69 6f 6e 61 6c |e new fu|nctional|
|00001650| 69 74 79 20 61 6e 64 20 | 74 6f 20 62 65 20 6d 6f |ity and |to be mo|
|00001660| 72 65 0a 69 6e 74 75 69 | 74 69 76 65 2e 0a 0a 53 |re.intui|tive...S|
|00001670| 65 65 20 74 68 65 20 6f | 6e 6c 69 6e 65 20 68 65 |ee the o|nline he|
|00001680| 6c 70 20 6f 72 20 74 68 | 65 20 6d 61 6e 75 61 6c |lp or th|e manual|
|00001690| 20 70 61 67 65 73 20 66 | 6f 72 20 6d 6f 72 65 20 | pages f|or more |
|000016a0| 64 65 74 61 69 6c 73 2e | 0a 0a 54 68 69 73 20 63 |details.|..This c|
|000016b0| 6f 64 65 20 68 61 73 20 | 62 65 65 6e 20 74 65 73 |ode has |been tes|
|000016c0| 74 65 64 20 6f 6e 20 61 | 20 72 61 6e 67 65 20 6f |ted on a| range o|
|000016d0| 66 20 64 69 66 66 65 72 | 65 6e 74 20 53 75 6e 20 |f differ|ent Sun |
|000016e0| 6d 61 63 68 69 6e 65 73 | 20 75 6e 64 65 72 20 61 |machines| under a|
|000016f0| 0a 76 61 72 69 65 74 79 | 20 6f 66 20 4f 2f 53 73 |.variety| of O/Ss|
|00001700| 2e 20 53 65 65 20 74 68 | 65 20 62 65 67 69 6e 6e |. See th|e beginn|
|00001710| 69 6e 67 20 6f 66 20 74 | 68 65 20 4d 61 6b 65 66 |ing of t|he Makef|
|00001720| 69 6c 65 20 66 6f 72 20 | 64 65 74 61 69 6c 73 20 |ile for |details |
|00001730| 6f 66 20 77 68 61 74 0a | 79 6f 75 20 6d 69 67 68 |of what.|you migh|
|00001740| 74 20 68 61 76 65 20 74 | 6f 20 74 77 65 61 6b 20 |t have t|o tweak |
|00001750| 69 6e 20 6f 72 64 65 72 | 20 74 6f 20 67 65 74 20 |in order| to get |
|00001760| 69 74 20 77 6f 72 6b 69 | 6e 67 20 75 6e 64 65 72 |it worki|ng under|
|00001770| 20 64 69 66 66 65 72 65 | 6e 74 20 4f 2f 53 73 0a | differe|nt O/Ss.|
|00001780| 6f 72 20 6f 6e 20 6f 74 | 68 65 72 20 6d 61 63 68 |or on ot|her mach|
|00001790| 69 6e 65 73 2c 20 61 6e | 64 20 61 6c 73 6f 20 68 |ines, an|d also h|
|000017a0| 6f 77 20 74 6f 20 63 6f | 6d 70 69 6c 65 20 61 6e |ow to co|mpile an|
|000017b0| 64 20 6c 69 6e 6b 20 66 | 6f 72 20 74 68 65 20 64 |d link f|or the d|
|000017c0| 69 66 66 65 72 65 6e 74 | 0a 76 65 72 73 69 6f 6e |ifferent|.version|
|000017d0| 73 2e 20 4e 6f 74 65 20 | 74 68 61 74 20 63 61 6c |s. Note |that cal|
|000017e0| 63 74 6f 6f 6c 20 63 72 | 65 61 74 65 73 20 61 20 |ctool cr|eates a |
|000017f0| 6c 69 62 72 61 72 79 20 | 62 65 66 6f 72 65 20 67 |library |before g|
|00001800| 65 6e 65 72 61 74 69 6e | 67 20 74 68 65 0a 61 70 |eneratin|g the.ap|
|00001810| 70 72 6f 70 72 69 61 74 | 65 20 63 61 6c 63 74 6f |propriat|e calcto|
|00001820| 6f 6c 20 62 69 6e 61 72 | 79 2e 20 42 79 20 64 65 |ol binar|y. By de|
|00001830| 66 61 75 6c 74 2c 20 74 | 68 69 73 20 69 73 20 61 |fault, t|his is a|
|00001840| 20 6e 6f 72 6d 61 6c 20 | 27 61 72 27 20 74 79 70 | normal |'ar' typ|
|00001850| 65 0a 6c 69 62 72 61 72 | 79 2c 20 62 75 74 20 77 |e.librar|y, but w|
|00001860| 69 74 68 20 53 75 6e 4f | 53 20 76 34 2e 78 20 69 |ith SunO|S v4.x i|
|00001870| 74 20 69 73 20 70 6f 73 | 73 69 62 6c 65 20 74 6f |t is pos|sible to|
|00001880| 20 63 72 65 61 74 65 20 | 61 20 73 68 61 72 65 64 | create |a shared|
|00001890| 20 6c 69 62 72 61 72 79 | 2e 0a 49 6e 20 6f 72 64 | library|..In ord|
|000018a0| 65 72 20 74 6f 20 64 6f | 20 74 68 69 73 2c 20 79 |er to do| this, y|
|000018b0| 6f 75 20 73 68 6f 75 6c | 64 20 74 79 70 65 20 27 |ou shoul|d type '|
|000018c0| 6d 61 6b 65 20 73 68 61 | 72 65 64 27 20 62 65 66 |make sha|red' bef|
|000018d0| 6f 72 65 20 6d 61 6b 69 | 6e 67 20 74 68 65 0a 63 |ore maki|ng the.c|
|000018e0| 61 6c 63 74 6f 6f 6c 20 | 6f 66 20 79 6f 75 72 20 |alctool |of your |
|000018f0| 63 68 6f 69 63 65 2e 20 | 49 74 20 77 69 6c 6c 20 |choice. |It will |
|00001900| 69 6e 73 74 61 6c 6c 20 | 74 68 69 73 20 6c 69 62 |install |this lib|
|00001910| 72 61 72 79 20 69 6e 20 | 74 68 65 20 64 69 72 65 |rary in |the dire|
|00001920| 63 74 6f 72 79 0a 64 65 | 66 69 6e 65 64 20 62 79 |ctory.de|fined by|
|00001930| 20 74 68 65 20 4d 61 6b | 65 66 69 6c 65 20 6d 61 | the Mak|efile ma|
|00001940| 63 72 6f 20 64 65 66 69 | 6e 69 74 69 6f 6e 20 4c |cro defi|nition L|
|00001950| 49 42 44 49 52 2c 20 73 | 6f 20 79 6f 75 20 6d 69 |IBDIR, s|o you mi|
|00001960| 67 68 74 20 6e 65 65 64 | 20 72 6f 6f 74 0a 70 65 |ght need| root.pe|
|00001970| 72 6d 69 73 73 69 6f 6e | 20 74 6f 20 73 75 63 63 |rmission| to succ|
|00001980| 65 73 73 66 75 6c 6c 79 | 20 64 6f 20 74 68 69 73 |essfully| do this|
|00001990| 2e 0a 0a 54 68 65 72 65 | 20 69 73 20 61 20 54 4f |...There| is a TO|
|000019a0| 44 4f 20 66 69 6c 65 20 | 69 6e 63 6c 75 64 65 64 |DO file |included|
|000019b0| 2c 20 77 68 69 63 68 20 | 6c 69 73 74 73 20 74 68 |, which |lists th|
|000019c0| 65 20 63 75 72 72 65 6e | 74 20 6b 6e 6f 77 6e 20 |e curren|t known |
|000019d0| 62 75 67 73 2c 20 61 6e | 64 0a 61 20 73 65 74 20 |bugs, an|d.a set |
|000019e0| 6f 66 20 70 6f 73 73 69 | 62 6c 65 20 65 6e 68 61 |of possi|ble enha|
|000019f0| 6e 63 65 6d 65 6e 74 73 | 2c 20 73 6f 6d 65 20 72 |ncements|, some r|
|00001a00| 65 6c 61 74 69 76 65 6c | 79 20 74 72 69 76 69 61 |elativel|y trivia|
|00001a10| 6c 2c 20 6f 74 68 65 72 | 73 20 74 68 61 74 0a 61 |l, other|s that.a|
|00001a20| 72 65 20 66 61 69 72 6c | 79 20 6d 61 6a 6f 72 20 |re fairl|y major |
|00001a30| 65 6e 68 61 6e 63 65 6d | 65 6e 74 73 20 77 68 69 |enhancem|ents whi|
|00001a40| 63 68 20 77 6f 75 6c 64 | 20 6d 61 6b 65 20 69 6e |ch would| make in|
|00001a50| 74 65 72 65 73 74 69 6e | 67 20 66 75 74 75 72 65 |terestin|g future|
|00001a60| 0a 70 72 6f 6a 65 63 74 | 73 2e 0a 0a 0a 41 63 6b |.project|s....Ack|
|00001a70| 6e 6f 77 6c 65 64 67 65 | 6d 65 6e 74 73 2e 0a 0a |nowledge|ments...|
|00001a80| 54 68 61 6e 6b 73 20 74 | 6f 20 45 64 20 46 61 6c |Thanks t|o Ed Fal|
|00001a90| 6b 20 61 74 20 53 75 6e | 20 4d 69 63 72 6f 73 79 |k at Sun| Microsy|
|00001aa0| 73 74 65 6d 73 20 28 4d | 6f 75 6e 74 61 69 6e 20 |stems (M|ountain |
|00001ab0| 56 69 65 77 29 20 66 6f | 72 20 6d 6f 73 74 20 6f |View) fo|r most o|
|00001ac0| 66 20 74 68 65 0a 62 61 | 73 69 63 20 61 72 69 74 |f the.ba|sic arit|
|00001ad0| 68 6d 65 74 69 63 61 6c | 20 61 6c 67 6f 72 69 74 |hmetical| algorit|
|00001ae0| 68 6d 73 20 75 73 65 64 | 2c 20 74 6f 20 41 6e 64 |hms used|, to And|
|00001af0| 72 65 77 20 4e 69 63 68 | 6f 6c 73 6f 6e 20 66 6f |rew Nich|olson fo|
|00001b00| 72 20 72 65 76 69 73 69 | 6e 67 20 74 68 65 0a 70 |r revisi|ng the.p|
|00001b10| 72 65 76 69 6f 75 73 20 | 76 65 72 73 69 6f 6e 20 |revious |version |
|00001b20| 6f 66 20 74 68 65 20 4e | 65 57 53 20 63 6f 64 65 |of the N|eWS code|
|00001b30| 2c 20 74 6f 20 53 72 69 | 72 61 6d 20 52 61 6d 61 |, to Sri|ram Rama|
|00001b40| 63 68 61 6e 64 72 61 6e | 20 66 6f 72 20 66 69 78 |chandran| for fix|
|00001b50| 69 6e 67 20 75 70 0a 74 | 68 65 20 58 56 69 65 77 |ing up.t|he XView|
|00001b60| 20 63 6f 64 65 2c 20 61 | 6e 64 20 48 61 6c 61 20 | code, a|nd Hala |
|00001b70| 41 62 64 61 6c 6c 61 20 | 66 6f 72 20 74 68 65 20 |Abdalla |for the |
|00001b80| 6f 72 69 67 69 6e 61 6c | 20 69 6d 70 6c 65 6d 65 |original| impleme|
|00001b90| 6e 74 61 74 69 6f 6e 20 | 6f 66 20 74 68 65 0a 70 |ntation |of the.p|
|00001ba0| 6f 70 75 70 20 6d 65 6e | 75 20 61 6e 64 20 66 75 |opup men|u and fu|
|00001bb0| 6e 63 74 69 6f 6e 20 6b | 65 79 62 6f 61 72 64 20 |nction k|eyboard |
|00001bc0| 73 75 70 70 6f 72 74 2e | 0a 0a 54 68 61 6e 6b 73 |support.|..Thanks|
|00001bd0| 20 67 6f 20 61 6c 73 6f | 20 74 6f 20 4a 61 6d 65 | go also| to Jame|
|00001be0| 73 20 42 75 73 74 65 72 | 2c 20 44 61 76 69 64 20 |s Buster|, David |
|00001bf0| 57 65 61 76 65 72 2c 20 | 53 74 65 76 65 20 44 61 |Weaver, |Steve Da|
|00001c00| 6d 72 6f 6e 2c 20 4d 69 | 6b 65 20 42 65 6e 64 65 |mron, Mi|ke Bende|
|00001c10| 72 2c 0a 43 68 61 72 6c | 65 73 20 54 69 65 72 6e |r,.Charl|es Tiern|
|00001c20| 65 79 2c 20 54 72 65 76 | 6f 72 20 57 61 74 73 6f |ey, Trev|or Watso|
|00001c30| 6e 20 61 6e 64 20 4d 61 | 72 6c 61 20 42 65 72 67 |n and Ma|rla Berg|
|00001c40| 20 66 6f 72 20 62 75 67 | 20 72 65 70 6f 72 74 73 | for bug| reports|
|00001c50| 20 61 6e 64 20 73 75 67 | 67 67 65 73 74 65 64 0a | and sug|ggested.|
|00001c60| 65 6e 68 61 6e 63 65 6d | 65 6e 74 73 2e 0a 0a 53 |enhancem|ents...S|
|00001c70| 75 67 67 65 73 74 69 6f | 6e 73 20 66 6f 72 20 66 |uggestio|ns for f|
|00001c80| 75 72 74 68 75 72 20 69 | 6d 70 72 6f 76 65 6d 65 |urthur i|mproveme|
|00001c90| 6e 74 20 77 6f 75 6c 64 | 20 62 65 20 6d 6f 73 74 |nt would| be most|
|00001ca0| 20 77 65 6c 63 6f 6d 65 | 2c 20 70 6c 75 73 20 62 | welcome|, plus b|
|00001cb0| 75 67 73 2c 0a 63 6f 6d | 6d 65 6e 74 73 20 61 6e |ugs,.com|ments an|
|00001cc0| 64 20 66 6c 61 6d 65 73 | 2e 0a 0a 52 69 63 68 20 |d flames|...Rich |
|00001cd0| 42 75 72 72 69 64 67 65 | 2c 20 20 20 20 20 20 20 |Burridge|, |
|00001ce0| 20 20 20 44 4f 4d 41 49 | 4e 3a 20 72 69 63 68 62 | DOMAI|N: richb|
|00001cf0| 40 73 75 6e 61 75 73 2e | 6f 7a 2e 61 75 0a 50 48 |@sunaus.|oz.au.PH|
|00001d00| 4f 4e 45 3a 20 2b 36 31 | 20 32 20 34 31 33 20 32 |ONE: +61| 2 413 2|
|00001d10| 36 36 36 20 20 20 55 55 | 43 50 3a 20 20 20 7b 75 |666 UU|CP: {u|
|00001d20| 75 6e 65 74 2c 6d 63 76 | 61 78 2c 75 6b 63 7d 21 |unet,mcv|ax,ukc}!|
|00001d30| 6d 75 6e 6e 61 72 69 21 | 73 75 6e 61 75 73 2e 6f |munnari!|sunaus.o|
|00001d40| 7a 21 72 69 63 68 62 0a | 65 20 31 30 2c 20 49 73 |z!richb.|e 10, Is|
|00001d50| 73 75 65 20 31 31 0a 53 | 75 62 6d 69 74 74 65 64 |sue 11.S|ubmitted|
|00001d60| 2d 62 79 3a 20 72 69 63 | 68 62 40 41 75 73 2e 53 |-by: ric|hb@Aus.S|
|00001d70| 75 6e 2e 43 4f 4d 20 28 | 52 69 63 68 20 42 75 72 |un.COM (|Rich Bur|
|00001d80| 72 69 64 67 65 29 0a 41 | 72 63 68 69 76 65 2d 6e |ridge).A|rchive-n|
|00001d90| 61 6d 65 3a 20 63 61 6c | 63 74 6f 6f 6c 32 34 2f |ame: cal|ctool24/|
|00001da0| 70 61 72 74 30 36 0a 0a | 2d 2d 2d 2d 20 43 75 74 |part06..|---- Cut|
|00001db0| 20 48 65 72 65 20 61 6e | 64 20 75 6e 70 61 63 6b | Here an|d unpack|
|00001dc0| 20 2d 2d 2d 2d 0a 00 00 | 00 00 00 00 00 00 00 00 | ----...|........|
|00001dd0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00001de0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00001df0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00001e00| 63 61 6c 63 74 6f 6f 6c | 2f 4d 61 6b 65 66 69 6c |calctool|/Makefil|
|00001e10| 65 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |e.......|........|
|00001e20| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00001e30| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00001e40| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00001e50| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00001e60| 00 00 00 00 20 20 20 34 | 34 34 20 00 20 20 31 35 |.... 4|44 . 15|
|00001e70| 32 34 20 00 20 20 20 20 | 31 33 20 00 20 20 20 20 |24 . |13 . |
|00001e80| 20 20 31 37 37 33 36 20 | 20 34 35 35 37 31 36 36 | 17736 | 4557166|
|00001e90| 36 36 36 20 20 20 37 34 | 34 36 00 20 00 00 00 00 |666 74|46. ....|
|00001ea0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00001eb0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00001ec0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00001ed0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00001ee0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00001ef0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00001f00| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00001f10| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00001f20| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00001f30| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00001f40| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00001f50| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00001f60| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00001f70| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00001f80| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00001f90| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00001fa0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00001fb0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00001fc0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00001fd0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00001fe0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00001ff0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00002000| 23 0a 23 20 20 4d 61 6b | 65 66 69 6c 65 20 66 6f |#.# Mak|efile fo|
|00002010| 72 20 63 61 6c 63 74 6f | 6f 6c 2c 20 61 20 63 61 |r calcto|ol, a ca|
|00002020| 6c 63 75 6c 61 74 6f 72 | 20 70 72 6f 67 72 61 6d |lculator| program|
|00002030| 2e 0a 23 0a 23 20 20 40 | 28 23 29 4d 61 6b 65 66 |..#.# @|(#)Makef|
|00002040| 69 6c 65 20 31 2e 31 36 | 20 38 39 2f 31 32 2f 32 |ile 1.16| 89/12/2|
|00002050| 31 0a 23 0a 23 20 20 43 | 6f 70 79 72 69 67 68 74 |1.#.# C|opyright|
|00002060| 20 28 63 29 20 52 69 63 | 68 20 42 75 72 72 69 64 | (c) Ric|h Burrid|
|00002070| 67 65 2e 0a 23 20 20 20 | 20 20 20 20 20 20 20 20 |ge..# | |
|00002080| 20 20 20 20 20 53 75 6e | 20 4d 69 63 72 6f 73 79 | Sun| Microsy|
|00002090| 73 74 65 6d 73 2c 20 41 | 75 73 74 72 61 6c 69 61 |stems, A|ustralia|
|000020a0| 20 2d 20 41 6c 6c 20 72 | 69 67 68 74 73 20 72 65 | - All r|ights re|
|000020b0| 73 65 72 76 65 64 2e 0a | 23 0a 23 20 20 50 65 72 |served..|#.# Per|
|000020c0| 6d 69 73 73 69 6f 6e 20 | 69 73 20 67 69 76 65 6e |mission |is given|
|000020d0| 20 74 6f 20 64 69 73 74 | 72 69 62 75 74 65 20 74 | to dist|ribute t|
|000020e0| 68 65 73 65 20 73 6f 75 | 72 63 65 73 2c 20 61 73 |hese sou|rces, as|
|000020f0| 20 6c 6f 6e 67 20 61 73 | 20 74 68 65 0a 23 20 20 | long as| the.# |
|00002100| 63 6f 70 79 72 69 67 68 | 74 20 6d 65 73 73 61 67 |copyrigh|t messag|
|00002110| 65 73 20 61 72 65 20 6e | 6f 74 20 72 65 6d 6f 76 |es are n|ot remov|
|00002120| 65 64 2c 20 61 6e 64 20 | 6e 6f 20 6d 6f 6e 69 65 |ed, and |no monie|
|00002130| 73 20 61 72 65 20 65 78 | 63 68 61 6e 67 65 64 2e |s are ex|changed.|
|00002140| 0a 23 0a 23 20 20 4e 6f | 20 72 65 73 70 6f 6e 73 |.#.# No| respons|
|00002150| 69 62 69 6c 69 74 79 20 | 69 73 20 74 61 6b 65 6e |ibility |is taken|
|00002160| 20 66 6f 72 20 61 6e 79 | 20 65 72 72 6f 72 73 20 | for any| errors |
|00002170| 69 6e 68 65 72 65 6e 74 | 20 65 69 74 68 65 72 20 |inherent| either |
|00002180| 69 6e 20 74 68 65 20 63 | 6f 6d 6d 65 6e 74 73 0a |in the c|omments.|
|00002190| 23 20 20 6f 72 20 74 68 | 65 20 63 6f 64 65 20 6f |# or th|e code o|
|000021a0| 66 20 74 68 69 73 20 70 | 72 6f 67 72 61 6d 2c 20 |f this p|rogram, |
|000021b0| 62 75 74 20 69 66 20 72 | 65 70 6f 72 74 65 64 20 |but if r|eported |
|000021c0| 74 6f 20 6d 65 20 74 68 | 65 6e 20 61 6e 20 61 74 |to me th|en an at|
|000021d0| 74 65 6d 70 74 20 77 69 | 6c 6c 0a 23 20 20 62 65 |tempt wi|ll.# be|
|000021e0| 20 6d 61 64 65 20 74 6f | 20 66 69 78 20 74 68 65 | made to| fix the|
|000021f0| 6d 2e 0a 23 0a 23 3d 3d | 3d 3d 3d 3d 3d 3d 3d 3d |m..#.#==|========|
|00002200| 3d 3d 3d 3d 3d 3d 3d 3d | 3d 3d 3d 3d 3d 3d 3d 3d |========|========|
|00002210| 3d 3d 3d 3d 3d 3d 3d 3d | 3d 3d 3d 3d 3d 3d 3d 3d |========|========|
|00002220| 3d 3d 3d 3d 3d 3d 3d 3d | 3d 3d 3d 3d 3d 3d 3d 3d |========|========|
|00002230| 3d 3d 3d 3d 3d 3d 3d 3d | 3d 3d 3d 3d 0a 23 0a 23 |========|====.#.#|
|00002240| 20 20 54 68 65 72 65 20 | 61 72 65 20 76 61 72 69 | There |are vari|
|00002250| 6f 75 73 20 73 6d 61 6c | 6c 20 63 68 61 6e 67 65 |ous smal|l change|
|00002260| 73 20 6e 65 65 64 65 64 | 20 77 68 65 6e 20 63 6f |s needed| when co|
|00002270| 6d 70 69 6c 69 6e 67 20 | 63 61 6c 63 74 6f 6f 6c |mpiling |calctool|
|00002280| 20 6f 6e 0a 23 20 20 64 | 69 66 66 65 72 65 6e 74 | on.# d|ifferent|
|00002290| 20 73 79 73 74 65 6d 73 | 2e 20 54 68 65 73 65 20 | systems|. These |
|000022a0| 68 61 76 65 20 62 65 65 | 6e 20 69 73 6f 6c 61 74 |have bee|n isolat|
|000022b0| 65 64 20 68 65 72 65 2c | 20 61 6e 64 20 73 68 6f |ed here,| and sho|
|000022c0| 75 6c 64 0a 23 20 20 62 | 65 20 75 6e 63 6f 6d 6d |uld.# b|e uncomm|
|000022d0| 65 6e 74 65 64 20 69 66 | 20 6e 65 65 64 65 64 2e |ented if| needed.|
|000022e0| 0a 23 0a 23 3d 3d 3d 3d | 3d 3d 3d 3d 3d 3d 3d 3d |.#.#====|========|
|000022f0| 3d 3d 3d 3d 3d 3d 3d 3d | 3d 3d 3d 3d 3d 3d 3d 3d |========|========|
|00002300| 3d 3d 3d 3d 3d 3d 3d 3d | 3d 3d 3d 3d 3d 3d 3d 3d |========|========|
|00002310| 3d 3d 3d 3d 3d 3d 3d 3d | 3d 3d 3d 3d 3d 3d 3d 3d |========|========|
|00002320| 3d 3d 3d 3d 3d 3d 3d 3d | 3d 3d 0a 23 0a 23 20 20 |========|==.#.# |
|00002330| 43 61 6c 63 74 6f 6f 6c | 20 75 73 65 73 20 61 6e |Calctool| uses an|
|00002340| 20 68 65 6c 70 66 69 6c | 65 20 74 6f 20 73 75 70 | helpfil|e to sup|
|00002350| 70 6c 79 20 6f 6e 6c 69 | 6e 65 20 68 65 6c 70 20 |ply onli|ne help |
|00002360| 66 6f 72 20 65 61 63 68 | 20 6b 65 79 2e 0a 23 20 |for each| key..# |
|00002370| 20 42 79 20 64 65 66 61 | 75 6c 74 20 74 68 69 73 | By defa|ult this|
|00002380| 20 66 69 6c 65 20 69 73 | 20 63 61 6c 6c 65 64 20 | file is| called |
|00002390| 22 63 61 6c 63 74 6f 6f | 6c 2e 68 65 6c 70 22 2c |"calctoo|l.help",|
|000023a0| 20 61 6e 64 20 69 73 20 | 6c 6f 6f 6b 65 64 0a 23 | and is |looked.#|
|000023b0| 20 20 66 6f 72 20 69 6e | 20 65 76 65 72 79 20 64 | for in| every d|
|000023c0| 69 72 65 63 74 6f 72 79 | 20 6f 6e 20 74 68 65 20 |irectory| on the |
|000023d0| 75 73 65 72 73 20 73 65 | 61 72 63 68 20 70 61 74 |users se|arch pat|
|000023e0| 68 2e 20 59 6f 75 20 63 | 61 6e 20 61 6c 73 6f 0a |h. You c|an also.|
|000023f0| 23 20 20 6f 76 65 72 72 | 69 64 65 20 69 74 27 73 |# overr|ide it's|
|00002400| 20 6c 6f 63 61 74 69 6f | 6e 20 61 6e 64 20 6e 61 | locatio|n and na|
|00002410| 6d 65 20 61 74 20 72 75 | 6e 74 69 6d 65 20 77 69 |me at ru|ntime wi|
|00002420| 74 68 20 74 68 65 20 2d | 68 20 6f 70 74 69 6f 6e |th the -|h option|
|00002430| 2e 0a 23 20 20 49 74 20 | 63 61 6e 20 61 6c 73 6f |..# It |can also|
|00002440| 20 62 65 20 73 70 65 63 | 69 66 69 65 64 20 68 65 | be spec|ified he|
|00002450| 72 65 20 62 79 20 75 6e | 63 6f 6d 6d 65 6e 74 69 |re by un|commenti|
|00002460| 6e 67 20 74 68 65 20 66 | 6f 6c 6c 6f 77 69 6e 67 |ng the f|ollowing|
|00002470| 0a 23 20 20 6d 61 63 72 | 6f 20 64 65 66 69 6e 69 |.# macr|o defini|
|00002480| 74 69 6f 6e 20 61 6e 64 | 20 73 65 74 74 69 6e 67 |tion and| setting|
|00002490| 20 61 70 70 72 6f 70 72 | 69 61 74 65 6c 79 2e 0a | appropr|iately..|
|000024a0| 23 0a 23 48 45 4c 50 4e | 41 4d 45 20 20 20 20 20 |#.#HELPN|AME |
|000024b0| 20 20 20 3d 20 2d 44 48 | 45 4c 50 47 49 56 45 4e | = -DH|ELPGIVEN|
|000024c0| 20 2d 44 48 45 4c 50 4e | 41 4d 45 3d 5c 22 24 28 | -DHELPN|AME=\"$(|
|000024d0| 4c 49 42 44 49 52 29 2f | 63 61 6c 63 74 6f 6f 6c |LIBDIR)/|calctool|
|000024e0| 2e 68 65 6c 70 5c 22 0a | 23 0a 23 20 20 49 66 20 |.help\".|#.# If |
|000024f0| 79 6f 75 20 61 72 65 20 | 63 6f 6d 70 69 6c 69 6e |you are |compilin|
|00002500| 67 20 74 68 65 20 4d 47 | 52 20 76 65 72 73 69 6f |g the MG|R versio|
|00002510| 6e 2c 20 74 68 65 6e 20 | 74 68 65 20 66 6f 6c 6c |n, then |the foll|
|00002520| 6f 77 69 6e 67 20 74 68 | 72 65 65 0a 23 20 20 64 |owing th|ree.# d|
|00002530| 65 66 69 6e 69 74 69 6f | 6e 73 20 73 68 6f 75 6c |efinitio|ns shoul|
|00002540| 64 20 62 65 20 75 6e 63 | 6f 6d 6d 65 6e 74 65 64 |d be unc|ommented|
|00002550| 2e 0a 23 0a 23 4d 47 52 | 48 4f 4d 45 20 20 20 20 |..#.#MGR|HOME |
|00002560| 20 20 20 20 20 3d 20 2f | 75 73 72 2f 6d 67 72 0a | = /|usr/mgr.|
|00002570| 23 4d 47 52 50 41 52 41 | 4d 20 20 20 20 20 20 20 |#MGRPARA|M |
|00002580| 20 3d 20 2d 44 4d 47 52 | 48 4f 4d 45 3d 5c 22 24 | = -DMGR|HOME=\"$|
|00002590| 28 4d 47 52 48 4f 4d 45 | 29 5c 22 0a 23 4d 47 52 |(MGRHOME|)\".#MGR|
|000025a0| 49 4e 43 44 49 52 20 20 | 20 20 20 20 20 3d 20 2d |INCDIR | = -|
|000025b0| 49 24 28 4d 47 52 48 4f | 4d 45 29 2f 69 6e 63 6c |I$(MGRHO|ME)/incl|
|000025c0| 75 64 65 0a 23 0a 23 20 | 20 49 66 20 79 6f 75 20 |ude.#.# | If you |
|000025d0| 61 72 65 20 63 6f 6d 70 | 69 6c 69 6e 67 20 74 68 |are comp|iling th|
|000025e0| 65 20 4e 65 57 53 20 76 | 65 72 73 69 6f 6e 2c 20 |e NeWS v|ersion, |
|000025f0| 74 68 65 6e 20 74 68 65 | 20 66 6f 6c 6c 6f 77 69 |then the| followi|
|00002600| 6e 67 20 64 65 66 69 6e | 69 74 69 6f 6e 0a 23 20 |ng defin|ition.# |
|00002610| 20 73 68 6f 75 6c 64 20 | 62 65 20 75 6e 63 6f 6d | should |be uncom|
|00002620| 6d 65 6e 74 65 64 20 61 | 6e 64 20 73 65 74 20 74 |mented a|nd set t|
|00002630| 6f 20 74 68 65 20 64 65 | 66 61 75 6c 74 20 6c 6f |o the de|fault lo|
|00002640| 63 61 74 69 6f 6e 20 66 | 6f 72 20 74 68 65 20 63 |cation f|or the c|
|00002650| 61 6c 63 74 6f 6f 6c 0a | 23 20 20 50 6f 73 74 53 |alctool.|# PostS|
|00002660| 63 72 69 70 74 20 66 69 | 6c 65 2c 20 77 68 69 63 |cript fi|le, whic|
|00002670| 68 20 69 73 20 64 6f 77 | 6e 6c 6f 61 64 65 64 20 |h is dow|nloaded |
|00002680| 74 6f 20 74 68 65 20 4e | 65 57 53 20 73 65 72 76 |to the N|eWS serv|
|00002690| 65 72 2e 0a 23 0a 23 4e | 45 57 53 46 49 4c 45 20 |er..#.#N|EWSFILE |
|000026a0| 20 20 20 20 20 20 20 3d | 20 2d 44 4e 45 57 53 47 | =| -DNEWSG|
|000026b0| 49 56 45 4e 20 2d 44 4e | 45 57 53 46 49 4c 45 3d |IVEN -DN|EWSFILE=|
|000026c0| 5c 22 24 28 4c 49 42 44 | 49 52 29 2f 63 61 6c 63 |\"$(LIBD|IR)/calc|
|000026d0| 74 6f 6f 6c 2e 70 73 5c | 22 0a 23 0a 23 20 20 43 |tool.ps\|".#.# C|
|000026e0| 61 6c 63 74 6f 6f 6c 20 | 6c 6f 61 64 73 20 61 20 |alctool |loads a |
|000026f0| 72 75 6e 20 63 6f 6e 74 | 72 6f 6c 20 66 69 6c 65 |run cont|rol file|
|00002700| 20 77 68 65 6e 20 69 74 | 20 73 74 61 72 74 73 2e | when it| starts.|
|00002710| 20 42 79 20 64 65 66 61 | 75 6c 74 0a 23 20 20 74 | By defa|ult.# t|
|00002720| 68 69 73 20 66 69 6c 65 | 20 69 73 20 63 61 6c 6c |his file| is call|
|00002730| 65 64 20 22 2e 63 61 6c | 63 74 6f 6f 6c 72 63 22 |ed ".cal|ctoolrc"|
|00002740| 2c 20 61 6e 64 20 69 73 | 20 74 61 6b 65 6e 20 66 |, and is| taken f|
|00002750| 72 6f 6d 20 74 68 65 20 | 75 73 65 72 73 0a 23 20 |rom the |users.# |
|00002760| 20 68 6f 6d 65 20 64 69 | 72 65 63 74 6f 72 79 2e | home di|rectory.|
|00002770| 20 49 66 20 74 68 65 72 | 65 20 69 73 20 61 20 73 | If ther|e is a s|
|00002780| 69 6d 69 6c 61 72 20 66 | 69 6c 65 20 69 6e 20 74 |imilar f|ile in t|
|00002790| 68 65 20 63 75 72 72 65 | 6e 74 20 64 69 72 65 63 |he curre|nt direc|
|000027a0| 74 6f 72 79 2c 0a 23 20 | 20 74 68 65 6e 20 74 68 |tory,.# | then th|
|000027b0| 65 73 65 20 76 61 6c 75 | 65 73 20 6f 76 65 72 72 |ese valu|es overr|
|000027c0| 69 64 65 20 74 68 65 20 | 64 65 66 61 75 6c 74 20 |ide the |default |
|000027d0| 6f 6e 65 73 2e 20 49 74 | 73 20 6e 61 6d 65 20 61 |ones. It|s name a|
|000027e0| 6e 64 20 6c 6f 63 61 74 | 69 6f 6e 0a 23 20 20 63 |nd locat|ion.# c|
|000027f0| 61 6e 20 61 6c 73 6f 20 | 62 65 20 73 70 65 63 69 |an also |be speci|
|00002800| 66 69 65 64 20 68 65 72 | 65 20 62 79 20 75 6e 63 |fied her|e by unc|
|00002810| 6f 6d 6d 65 6e 74 69 6e | 67 20 74 68 65 20 66 6f |ommentin|g the fo|
|00002820| 6c 6c 6f 77 69 6e 67 20 | 6d 61 63 72 6f 0a 23 20 |llowing |macro.# |
|00002830| 20 64 65 66 69 6e 69 74 | 69 6f 6e 20 61 6e 64 20 | definit|ion and |
|00002840| 73 65 74 74 69 6e 67 20 | 61 70 70 72 6f 70 72 69 |setting |appropri|
|00002850| 61 74 65 6c 79 2e 0a 23 | 0a 23 52 43 4e 41 4d 45 |ately..#|.#RCNAME|
|00002860| 20 20 20 20 20 20 20 20 | 20 20 3d 20 2d 44 52 43 | | = -DRC|
|00002870| 47 49 56 45 4e 20 20 20 | 2d 44 52 43 4e 41 4d 45 |GIVEN |-DRCNAME|
|00002880| 3d 5c 22 2e 63 61 6c 63 | 74 6f 6f 6c 72 63 5c 22 |=\".calc|toolrc\"|
|00002890| 0a 23 0a 23 20 20 49 66 | 20 79 6f 75 20 6e 6f 74 |.#.# If| you not|
|000028a0| 20 72 75 6e 6e 69 6e 67 | 20 75 6e 64 65 72 20 61 | running| under a|
|000028b0| 20 42 53 44 34 2e 33 20 | 64 65 72 69 76 65 64 20 | BSD4.3 |derived |
|000028c0| 73 79 73 74 65 6d 2c 20 | 74 68 65 20 70 61 72 61 |system, |the para|
|000028d0| 6d 65 74 65 72 73 0a 23 | 20 20 74 6f 20 74 68 65 |meters.#| to the|
|000028e0| 20 73 65 6c 65 63 74 20 | 63 61 6c 6c 20 61 72 65 | select |call are|
|000028f0| 20 64 69 66 66 65 72 65 | 6e 74 2c 20 61 6e 64 20 | differe|nt, and |
|00002900| 74 68 69 73 20 64 65 66 | 69 6e 69 74 69 6f 6e 20 |this def|inition |
|00002910| 73 68 6f 75 6c 64 20 62 | 65 0a 23 20 20 75 6e 63 |should b|e.# unc|
|00002920| 6f 6d 6d 65 6e 74 65 64 | 2e 20 59 6f 75 20 6e 65 |ommented|. You ne|
|00002930| 65 64 20 74 6f 20 75 6e | 63 6f 6d 6d 65 6e 74 20 |ed to un|comment |
|00002940| 74 68 69 73 20 66 6f 72 | 20 53 75 6e 4f 53 20 76 |this for| SunOS v|
|00002950| 33 2e 78 2e 0a 23 0a 23 | 53 45 4c 54 59 50 45 20 |3.x..#.#|SELTYPE |
|00002960| 20 20 20 20 20 20 20 3d | 20 2d 44 4e 4f 5f 34 2e | =| -DNO_4.|
|00002970| 33 53 45 4c 45 43 54 0a | 23 0a 23 20 20 4e 6f 74 |3SELECT.|#.# Not|
|00002980| 65 20 74 68 61 74 20 77 | 69 74 68 20 53 75 6e 4f |e that w|ith SunO|
|00002990| 53 20 76 34 2e 78 20 69 | 74 20 69 73 20 70 6f 73 |S v4.x i|t is pos|
|000029a0| 73 69 62 6c 65 20 74 6f | 20 63 72 65 61 74 65 20 |sible to| create |
|000029b0| 61 20 73 68 61 72 65 64 | 20 6c 69 62 72 61 72 79 |a shared| library|
|000029c0| 0a 23 20 20 66 6f 72 20 | 74 68 65 20 63 61 6c 63 |.# for |the calc|
|000029d0| 74 6f 6f 6c 20 72 6f 75 | 74 69 6e 65 73 2e 20 49 |tool rou|tines. I|
|000029e0| 66 20 79 6f 75 20 77 69 | 73 68 20 74 6f 20 64 6f |f you wi|sh to do|
|000029f0| 20 74 68 69 73 2c 20 74 | 68 65 6e 20 79 6f 75 20 | this, t|hen you |
|00002a00| 73 68 6f 75 6c 64 0a 23 | 20 20 63 68 61 6e 67 65 |should.#| change|
|00002a10| 20 4c 49 42 4e 41 4d 45 | 20 62 65 6c 6f 77 20 74 | LIBNAME| below t|
|00002a20| 6f 20 6c 69 62 63 61 6c | 63 74 6f 6f 6c 2e 73 6f |o libcal|ctool.so|
|00002a30| 2e 31 2e 31 2c 20 61 6e | 64 20 75 6e 63 6f 6d 6d |.1.1, an|d uncomm|
|00002a40| 65 6e 74 20 74 68 65 20 | 53 48 4c 49 42 0a 23 20 |ent the |SHLIB.# |
|00002a50| 20 6c 69 6e 65 2e 0a 23 | 0a 4c 49 42 4e 41 4d 45 | line..#|.LIBNAME|
|00002a60| 20 20 20 20 20 20 20 20 | 20 3d 20 6c 69 62 63 61 | | = libca|
|00002a70| 6c 63 74 6f 6f 6c 2e 61 | 0a 23 0a 23 4c 49 42 4e |lctool.a|.#.#LIBN|
|00002a80| 41 4d 45 20 20 20 20 20 | 20 20 20 20 3d 20 6c 69 |AME | = li|
|00002a90| 62 63 61 6c 63 74 6f 6f | 6c 2e 73 6f 2e 31 2e 31 |bcalctoo|l.so.1.1|
|00002aa0| 0a 23 53 48 4c 49 42 20 | 20 20 20 20 20 20 20 20 |.#SHLIB | |
|00002ab0| 20 20 3d 20 2d 70 69 63 | 0a 23 0a 23 20 20 49 66 | = -pic|.#.# If|
|00002ac0| 20 79 6f 75 20 61 72 65 | 20 6e 6f 74 20 72 75 6e | you are| not run|
|00002ad0| 6e 69 6e 67 20 75 6e 64 | 65 72 20 61 20 42 53 44 |ning und|er a BSD|
|00002ae0| 34 2e 33 20 64 65 72 69 | 76 65 64 20 73 79 73 74 |4.3 deri|ved syst|
|00002af0| 65 6d 2c 20 74 68 65 6e | 20 74 68 65 0a 23 20 20 |em, then| the.# |
|00002b00| 73 65 63 6f 6e 64 20 70 | 61 72 61 6d 65 74 65 72 |second p|arameter|
|00002b10| 20 74 6f 20 61 20 73 65 | 6c 65 63 74 20 63 61 6c | to a se|lect cal|
|00002b20| 6c 20 69 73 20 61 20 70 | 6f 69 6e 74 65 72 20 74 |l is a p|ointer t|
|00002b30| 6f 20 61 6e 20 69 6e 74 | 65 67 65 72 20 66 75 6e |o an int|eger fun|
|00002b40| 63 74 69 6f 6e 2c 0a 23 | 20 20 61 6e 64 20 74 68 |ction,.#| and th|
|00002b50| 69 73 20 64 65 66 69 6e | 69 74 69 6f 6e 20 6e 65 |is defin|ition ne|
|00002b60| 65 64 73 20 74 6f 20 62 | 65 20 75 6e 63 6f 6d 6d |eds to b|e uncomm|
|00002b70| 65 6e 74 65 64 2e 20 59 | 6f 75 20 6e 65 65 64 20 |ented. Y|ou need |
|00002b80| 74 6f 20 75 6e 63 6f 6d | 6d 65 6e 74 20 74 68 69 |to uncom|ment thi|
|00002b90| 73 0a 23 20 20 66 6f 72 | 20 53 75 6e 4f 53 20 76 |s.# for| SunOS v|
|00002ba0| 33 2e 78 2e 0a 23 0a 23 | 53 49 47 52 45 54 20 20 |3.x..#.#|SIGRET |
|00002bb0| 20 20 20 20 20 20 20 3d | 20 2d 44 4e 4f 5f 34 2e | =| -DNO_4.|
|00002bc0| 33 53 49 47 4e 41 4c 0a | 23 0a 23 20 20 43 61 6c |3SIGNAL.|#.# Cal|
|00002bd0| 63 74 6f 6f 6c 20 65 6e | 64 65 76 6f 75 72 73 20 |ctool en|devours |
|00002be0| 74 6f 20 70 72 6f 76 69 | 64 65 20 61 20 6e 75 6d |to provi|de a num|
|00002bf0| 65 72 69 63 20 6b 65 79 | 70 61 64 20 75 73 69 6e |eric key|pad usin|
|00002c00| 67 20 74 68 65 20 72 69 | 67 68 74 20 66 75 6e 63 |g the ri|ght func|
|00002c10| 74 69 6f 6e 0a 23 20 20 | 6b 65 79 70 61 64 2e 20 |tion.# |keypad. |
|00002c20| 54 68 65 20 53 75 6e 33 | 20 6b 65 79 62 6f 61 72 |The Sun3| keyboar|
|00002c30| 64 20 68 61 73 20 61 20 | 64 69 66 66 65 72 65 6e |d has a |differen|
|00002c40| 74 20 70 61 64 20 73 65 | 74 75 70 20 74 6f 20 74 |t pad se|tup to t|
|00002c50| 68 65 20 53 75 6e 34 20 | 6b 65 79 62 6f 61 72 64 |he Sun4 |keyboard|
|00002c60| 2e 0a 23 20 20 49 66 20 | 79 6f 75 20 77 69 73 68 |..# If |you wish|
|00002c70| 20 74 6f 20 75 73 65 20 | 74 68 65 73 65 20 66 75 | to use |these fu|
|00002c80| 6e 63 74 69 6f 6e 20 6b | 65 79 73 20 77 69 74 68 |nction k|eys with|
|00002c90| 20 61 20 53 75 6e 34 20 | 6b 65 79 62 6f 61 72 64 | a Sun4 |keyboard|
|00002ca0| 2c 20 74 68 65 6e 20 79 | 6f 75 0a 23 20 20 6e 65 |, then y|ou.# ne|
|00002cb0| 65 64 20 74 6f 20 75 6e | 63 6f 6d 6d 65 6e 74 20 |ed to un|comment |
|00002cc0| 74 68 65 20 66 6f 6c 6c | 6f 77 69 6e 67 20 64 65 |the foll|owing de|
|00002cd0| 66 69 6e 69 74 69 6f 6e | 2e 0a 23 0a 23 53 55 4e |finition|..#.#SUN|
|00002ce0| 34 5f 4b 45 59 42 4f 41 | 52 44 20 20 3d 20 2d 44 |4_KEYBOA|RD = -D|
|00002cf0| 53 55 4e 34 5f 4b 45 59 | 42 4f 41 52 44 0a 23 0a |SUN4_KEY|BOARD.#.|
|00002d00| 23 20 20 49 66 20 79 6f | 75 20 61 72 65 20 72 75 |# If yo|u are ru|
|00002d10| 6e 6e 69 6e 67 20 53 75 | 6e 4f 53 20 76 33 2e 78 |nning Su|nOS v3.x|
|00002d20| 2c 20 74 68 65 6e 20 70 | 72 5f 74 74 65 78 74 20 |, then p|r_ttext |
|00002d30| 64 6f 65 73 6e 27 74 20 | 65 78 69 73 74 2c 20 61 |doesn't |exist, a|
|00002d40| 6e 64 0a 23 20 20 79 6f | 75 20 6d 75 73 74 20 75 |nd.# yo|u must u|
|00002d50| 6e 63 6f 6d 6d 65 6e 74 | 20 74 68 69 73 20 64 65 |ncomment| this de|
|00002d60| 66 69 6e 69 74 69 6f 6e | 2e 0a 23 0a 23 54 54 45 |finition|..#.#TTE|
|00002d70| 58 54 20 20 20 20 20 20 | 20 20 20 20 3d 20 2d 44 |XT | = -D|
|00002d80| 4e 4f 5f 50 52 5f 54 54 | 45 58 54 0a 23 0a 23 20 |NO_PR_TT|EXT.#.# |
|00002d90| 20 49 66 20 79 6f 75 20 | 61 72 65 20 63 6f 6d 70 | If you |are comp|
|00002da0| 69 6c 69 6e 67 20 74 68 | 65 20 58 31 31 20 76 65 |iling th|e X11 ve|
|00002db0| 72 73 69 6f 6e 20 61 6e | 64 20 74 68 65 20 58 31 |rsion an|d the X1|
|00002dc0| 31 20 69 6e 63 6c 75 64 | 65 20 61 6e 64 0a 23 20 |1 includ|e and.# |
|00002dd0| 20 6c 69 62 72 61 72 79 | 20 66 69 6c 65 73 20 61 | library| files a|
|00002de0| 72 65 20 6e 6f 74 20 69 | 6e 20 61 20 73 74 61 6e |re not i|n a stan|
|00002df0| 64 61 72 64 20 70 6c 61 | 63 65 2c 20 74 68 65 6e |dard pla|ce, then|
|00002e00| 20 74 68 65 20 66 6f 6c | 6c 6f 77 69 6e 67 0a 23 | the fol|lowing.#|
|00002e10| 20 20 74 77 6f 20 6c 69 | 6e 65 73 20 73 68 6f 75 | two li|nes shou|
|00002e20| 6c 64 20 62 65 20 75 6e | 63 6f 6d 6d 65 6e 74 65 |ld be un|commente|
|00002e30| 64 2c 20 61 6e 64 20 73 | 65 74 20 61 70 70 72 6f |d, and s|et appro|
|00002e40| 70 72 69 61 74 65 6c 79 | 2e 0a 23 0a 23 58 31 31 |priately|..#.#X11|
|00002e50| 49 4e 43 44 49 52 20 20 | 20 20 20 20 20 20 20 3d |INCDIR | =|
|00002e60| 20 2d 49 24 28 58 4e 45 | 57 53 48 4f 4d 45 29 2f | -I$(XNE|WSHOME)/|
|00002e70| 69 6e 63 6c 75 64 65 0a | 23 58 31 31 4c 49 42 44 |include.|#X11LIBD|
|00002e80| 49 52 20 20 20 20 20 20 | 20 20 20 3d 20 2d 4c 24 |IR | = -L$|
|00002e90| 28 58 4e 45 57 53 48 4f | 4d 45 29 2f 6c 69 62 0a |(XNEWSHO|ME)/lib.|
|00002ea0| 23 0a 23 20 20 49 66 20 | 79 6f 75 20 61 72 65 20 |#.# If |you are |
|00002eb0| 63 6f 6d 70 69 6c 69 6e | 67 20 74 68 65 20 58 56 |compilin|g the XV|
|00002ec0| 69 65 77 20 76 65 72 73 | 69 6f 6e 2c 20 74 68 65 |iew vers|ion, the|
|00002ed0| 6e 20 74 68 65 20 66 6f | 6c 6c 6f 77 69 6e 67 20 |n the fo|llowing |
|00002ee0| 74 77 6f 20 6c 69 6e 65 | 73 0a 23 20 20 73 68 6f |two line|s.# sho|
|00002ef0| 75 6c 64 20 62 65 20 75 | 6e 63 6f 6d 6d 65 6e 74 |uld be u|ncomment|
|00002f00| 65 64 2e 0a 23 0a 23 58 | 56 49 45 57 49 4e 43 44 |ed..#.#X|VIEWINCD|
|00002f10| 49 52 20 20 20 20 20 20 | 3d 20 2d 49 24 28 58 4e |IR |= -I$(XN|
|00002f20| 45 57 53 48 4f 4d 45 29 | 2f 69 6e 63 6c 75 64 65 |EWSHOME)|/include|
|00002f30| 0a 23 58 56 49 45 57 4c | 49 42 44 49 52 20 20 20 |.#XVIEWL|IBDIR |
|00002f40| 20 20 20 3d 20 2d 4c 24 | 28 58 4e 45 57 53 48 4f | = -L$|(XNEWSHO|
|00002f50| 4d 45 29 2f 6c 69 62 0a | 23 0a 23 3d 3d 3d 3d 3d |ME)/lib.|#.#=====|
|00002f60| 3d 3d 3d 3d 3d 3d 3d 3d | 3d 3d 3d 3d 3d 3d 3d 3d |========|========|
|00002f70| 3d 3d 3d 3d 3d 3d 3d 3d | 3d 3d 3d 3d 3d 3d 3d 3d |========|========|
|00002f80| 3d 3d 3d 3d 3d 3d 3d 3d | 3d 3d 3d 3d 3d 3d 3d 3d |========|========|
|00002f90| 3d 3d 3d 3d 3d 3d 3d 3d | 3d 3d 3d 3d 3d 3d 3d 3d |========|========|
|00002fa0| 3d 3d 3d 3d 0a 23 0a 23 | 20 20 44 65 66 61 75 6c |====.#.#| Defaul|
|00002fb0| 74 20 6c 6f 63 61 74 69 | 6f 6e 73 20 77 68 65 72 |t locati|ons wher|
|00002fc0| 65 20 63 61 6c 63 74 6f | 6f 6c 20 66 69 6c 65 73 |e calcto|ol files|
|00002fd0| 20 77 69 6c 6c 20 62 65 | 20 69 6e 73 74 61 6c 6c | will be| install|
|00002fe0| 65 64 2e 0a 23 20 20 59 | 6f 75 20 6d 69 67 68 74 |ed..# Y|ou might|
|00002ff0| 20 77 69 73 68 20 74 6f | 20 61 6c 74 65 72 20 74 | wish to| alter t|
|00003000| 68 65 73 65 20 76 61 6c | 75 65 73 2e 0a 23 0a 42 |hese val|ues..#.B|
|00003010| 49 4e 44 49 52 20 20 20 | 20 20 20 20 20 20 20 3d |INDIR | =|
|00003020| 20 2f 75 73 72 2f 6c 6f | 63 61 6c 2f 62 69 6e 0a | /usr/lo|cal/bin.|
|00003030| 4c 49 42 44 49 52 20 20 | 20 20 20 20 20 20 20 20 |LIBDIR | |
|00003040| 3d 20 2f 75 73 72 2f 6c | 6f 63 61 6c 2f 6c 69 62 |= /usr/l|ocal/lib|
|00003050| 0a 4d 41 4e 44 49 52 20 | 20 20 20 20 20 20 20 20 |.MANDIR | |
|00003060| 20 3d 20 2f 75 73 72 2f | 6d 61 6e 2f 6d 61 6e 24 | = /usr/|man/man$|
|00003070| 28 4d 41 4e 53 45 43 54 | 29 0a 4d 41 4e 53 45 43 |(MANSECT|).MANSEC|
|00003080| 54 20 20 20 20 20 20 20 | 20 20 3d 20 6c 0a 23 0a |T | = l.#.|
|00003090| 23 20 20 43 6f 6d 70 69 | 6c 61 74 69 6f 6e 20 66 |# Compi|lation f|
|000030a0| 6c 61 67 73 20 61 6e 64 | 20 73 74 61 6e 64 61 72 |lags and| standar|
|000030b0| 64 20 6d 61 63 72 6f 20 | 64 65 66 69 6e 69 74 69 |d macro |definiti|
|000030c0| 6f 6e 73 2e 0a 23 0a 43 | 46 4c 41 47 53 09 09 3d |ons..#.C|FLAGS..=|
|000030d0| 20 2d 67 20 24 28 48 45 | 4c 50 4e 41 4d 45 29 20 | -g $(HE|LPNAME) |
|000030e0| 24 28 4e 45 57 53 46 49 | 4c 45 29 20 24 28 52 43 |$(NEWSFI|LE) $(RC|
|000030f0| 4e 41 4d 45 29 20 24 28 | 53 45 4c 54 59 50 45 29 |NAME) $(|SELTYPE)|
|00003100| 20 24 28 53 48 4c 49 42 | 29 20 5c 0a 09 09 20 20 | $(SHLIB|) \... |
|00003110| 20 20 20 24 28 53 49 47 | 52 45 54 29 20 24 28 53 | $(SIG|RET) $(S|
|00003120| 55 4e 34 5f 4b 45 59 42 | 4f 41 52 44 29 20 24 28 |UN4_KEYB|OARD) $(|
|00003130| 54 54 45 58 54 29 20 5c | 0a 09 09 20 20 20 20 20 |TTEXT) \|... |
|00003140| 24 28 4d 47 52 50 41 52 | 41 4d 29 20 24 28 4d 47 |$(MGRPAR|AM) $(MG|
|00003150| 52 49 4e 43 44 49 52 29 | 20 24 28 58 31 31 49 4e |RINCDIR)| $(X11IN|
|00003160| 43 44 49 52 29 20 24 28 | 58 56 49 45 57 49 4e 43 |CDIR) $(|XVIEWINC|
|00003170| 44 49 52 29 0a 23 0a 23 | 3d 3d 3d 3d 3d 3d 3d 3d |DIR).#.#|========|
|00003180| 3d 3d 3d 3d 3d 3d 3d 3d | 3d 3d 3d 3d 3d 3d 3d 3d |========|========|
|00003190| 3d 3d 3d 3d 3d 3d 3d 3d | 3d 3d 3d 3d 3d 3d 3d 3d |========|========|
|000031a0| 3d 3d 3d 3d 3d 3d 3d 3d | 3d 3d 3d 3d 3d 3d 3d 3d |========|========|
|000031b0| 3d 3d 3d 3d 3d 3d 3d 3d | 3d 3d 3d 3d 3d 3d 3d 3d |========|========|
|000031c0| 3d 0a 0a 42 49 4e 41 52 | 49 45 53 20 20 20 20 20 |=..BINAR|IES |
|000031d0| 20 20 20 3d 20 6d 67 72 | 5f 63 61 6c 63 74 6f 6f | = mgr|_calctoo|
|000031e0| 6c 20 70 73 5f 63 61 6c | 63 74 6f 6f 6c 20 73 76 |l ps_cal|ctool sv|
|000031f0| 5f 63 61 6c 63 74 6f 6f | 6c 20 5c 0a 09 09 20 20 |_calctoo|l \... |
|00003200| 74 74 79 5f 63 61 6c 63 | 74 6f 6f 6c 20 78 63 61 |tty_calc|tool xca|
|00003210| 6c 63 74 6f 6f 6c 20 78 | 76 5f 63 61 6c 63 74 6f |lctool x|v_calcto|
|00003220| 6f 6c 0a 0a 4c 49 42 53 | 52 43 53 20 20 20 20 20 |ol..LIBS|RCS |
|00003230| 20 20 20 20 3d 20 67 72 | 61 70 68 69 63 73 2e 63 | = gr|aphics.c|
|00003240| 20 64 69 73 70 6c 61 79 | 2e 63 20 66 75 6e 63 74 | display|.c funct|
|00003250| 69 6f 6e 73 2e 63 20 67 | 65 74 2e 63 0a 4c 49 42 |ions.c g|et.c.LIB|
|00003260| 4f 42 4a 53 20 20 20 20 | 20 20 20 20 20 3d 20 67 |OBJS | = g|
|00003270| 72 61 70 68 69 63 73 2e | 6f 20 64 69 73 70 6c 61 |raphics.|o displa|
|00003280| 79 2e 6f 20 66 75 6e 63 | 74 69 6f 6e 73 2e 6f 20 |y.o func|tions.o |
|00003290| 67 65 74 2e 6f 0a 53 54 | 44 53 52 43 53 20 20 20 |get.o.ST|DSRCS |
|000032a0| 20 20 20 20 20 20 3d 20 | 63 61 6c 63 74 6f 6f 6c | = |calctool|
|000032b0| 2e 63 0a 53 54 44 4f 42 | 4a 53 20 20 20 20 20 20 |.c.STDOB|JS |
|000032c0| 20 20 20 3d 20 63 61 6c | 63 74 6f 6f 6c 2e 6f 0a | = cal|ctool.o.|
|000032d0| 4f 42 4a 53 20 20 20 20 | 20 20 20 20 20 20 20 20 |OBJS | |
|000032e0| 3d 20 24 28 53 54 44 4f | 42 4a 53 29 20 24 28 4c |= $(STDO|BJS) $(L|
|000032f0| 49 42 4e 41 4d 45 29 0a | 0a 47 53 52 43 53 20 20 |IBNAME).|.GSRCS |
|00003300| 20 20 20 20 20 20 20 20 | 20 3d 20 6d 67 72 2e 63 | | = mgr.c|
|00003310| 20 6e 65 77 73 2e 63 20 | 73 75 6e 76 69 65 77 2e | news.c |sunview.|
|00003320| 63 20 74 74 79 2e 63 20 | 78 31 31 2e 63 20 78 76 |c tty.c |x11.c xv|
|00003330| 69 65 77 2e 63 0a 48 44 | 52 53 20 20 20 20 20 20 |iew.c.HD|RS |
|00003340| 20 20 20 20 20 20 3d 20 | 63 61 6c 63 74 6f 6f 6c | = |calctool|
|00003350| 2e 68 20 63 6f 6c 6f 72 | 2e 68 20 65 78 74 65 72 |.h color|.h exter|
|00003360| 6e 2e 68 0a 49 4d 41 47 | 45 53 20 20 20 20 20 20 |n.h.IMAG|ES |
|00003370| 20 20 20 20 3d 20 63 61 | 6c 63 74 6f 6f 6c 2e 69 | = ca|lctool.i|
|00003380| 63 6f 6e 20 63 61 6c 63 | 74 6f 6f 6c 2e 63 6f 6c |con calc|tool.col|
|00003390| 6f 72 2e 69 63 6f 6e 20 | 68 65 6c 70 2e 63 75 72 |or.icon |help.cur|
|000033a0| 73 6f 72 0a 4f 54 48 45 | 52 53 20 20 20 20 20 20 |sor.OTHE|RS |
|000033b0| 20 20 20 20 3d 20 4d 61 | 6b 65 66 69 6c 65 20 52 | = Ma|kefile R|
|000033c0| 45 41 44 4d 45 20 54 4f | 44 4f 20 63 61 6c 63 74 |EADME TO|DO calct|
|000033d0| 6f 6f 6c 2e 68 65 6c 70 | 20 63 61 6c 63 74 6f 6f |ool.help| calctoo|
|000033e0| 6c 2e 31 20 5c 0a 09 09 | 20 20 63 61 6c 63 74 6f |l.1 \...| calcto|
|000033f0| 6f 6c 2e 70 73 20 70 61 | 74 63 68 6c 65 76 65 6c |ol.ps pa|tchlevel|
|00003400| 2e 68 20 2e 63 61 6c 63 | 74 6f 6f 6c 72 63 0a 0a |.h .calc|toolrc..|
|00003410| 53 46 49 4c 45 53 31 20 | 20 20 20 20 20 20 20 20 |SFILES1 | |
|00003420| 3d 20 24 28 4c 49 42 53 | 52 43 53 29 20 24 28 53 |= $(LIBS|RCS) $(S|
|00003430| 54 44 53 52 43 53 29 0a | 53 46 49 4c 45 53 32 20 |TDSRCS).|SFILES2 |
|00003440| 20 20 20 20 20 20 20 20 | 3d 20 24 28 47 53 52 43 | |= $(GSRC|
|00003450| 53 29 0a 53 46 49 4c 45 | 53 33 20 20 20 20 20 20 |S).SFILE|S3 |
|00003460| 20 20 20 3d 20 24 28 48 | 44 52 53 29 20 24 28 49 | = $(H|DRS) $(I|
|00003470| 4d 41 47 45 53 29 0a 53 | 46 49 4c 45 53 34 20 20 |MAGES).S|FILES4 |
|00003480| 20 20 20 20 20 20 20 3d | 20 24 28 4f 54 48 45 52 | =| $(OTHER|
|00003490| 53 29 0a 0a 43 41 4c 43 | 4c 49 42 20 20 20 20 20 |S)..CALC|LIB |
|000034a0| 20 20 20 20 3d 20 2d 4c | 2e 20 2d 6c 63 61 6c 63 | = -L|. -lcalc|
|000034b0| 74 6f 6f 6c 0a 4d 47 52 | 4c 49 42 53 20 20 20 20 |tool.MGR|LIBS |
|000034c0| 20 20 20 20 20 3d 20 24 | 28 43 41 4c 43 4c 49 42 | = $|(CALCLIB|
|000034d0| 29 20 24 28 4d 47 52 48 | 4f 4d 45 29 2f 6c 69 62 |) $(MGRH|OME)/lib|
|000034e0| 2f 6c 69 62 6d 67 72 2e | 61 20 2d 6c 6d 0a 4e 45 |/libmgr.|a -lm.NE|
|000034f0| 57 53 4c 49 42 53 20 20 | 20 20 20 20 20 20 3d 20 |WSLIBS | = |
|00003500| 24 28 43 41 4c 43 4c 49 | 42 29 20 24 24 4e 45 57 |$(CALCLI|B) $$NEW|
|00003510| 53 48 4f 4d 45 2f 6c 69 | 62 2f 6c 69 62 63 70 73 |SHOME/li|b/libcps|
|00003520| 2e 61 20 2d 6c 6d 0a 53 | 56 49 45 57 4c 49 42 53 |.a -lm.S|VIEWLIBS|
|00003530| 20 20 20 20 20 20 20 3d | 20 24 28 43 41 4c 43 4c | =| $(CALCL|
|00003540| 49 42 29 20 2d 6c 73 75 | 6e 74 6f 6f 6c 20 2d 6c |IB) -lsu|ntool -l|
|00003550| 73 75 6e 77 69 6e 64 6f | 77 20 2d 6c 70 69 78 72 |sunwindo|w -lpixr|
|00003560| 65 63 74 20 2d 6c 6d 0a | 54 54 59 4c 49 42 53 20 |ect -lm.|TTYLIBS |
|00003570| 20 20 20 20 20 20 20 20 | 3d 20 24 28 43 41 4c 43 | |= $(CALC|
|00003580| 4c 49 42 29 20 2d 6c 74 | 65 72 6d 63 61 70 20 2d |LIB) -lt|ermcap -|
|00003590| 6c 6d 0a 58 31 31 4c 49 | 42 53 20 20 20 20 20 20 |lm.X11LI|BS |
|000035a0| 20 20 20 3d 20 24 28 43 | 41 4c 43 4c 49 42 29 20 | = $(C|ALCLIB) |
|000035b0| 2d 6c 58 31 31 20 2d 6c | 6d 0a 58 56 49 45 57 4c |-lX11 -l|m.XVIEWL|
|000035c0| 49 42 53 20 20 20 20 20 | 20 20 3d 20 24 28 43 41 |IBS | = $(CA|
|000035d0| 4c 43 4c 49 42 29 20 2d | 6c 78 76 69 65 77 20 2d |LCLIB) -|lxview -|
|000035e0| 6c 58 31 31 20 2d 6c 6d | 0a 0a 2e 50 52 45 43 49 |lX11 -lm|...PRECI|
|000035f0| 4f 55 53 3a 20 20 20 20 | 20 20 24 28 4c 49 42 4e |OUS: | $(LIBN|
|00003600| 41 4d 45 29 0a 0a 68 65 | 6c 70 3a 0a 09 09 40 65 |AME)..he|lp:...@e|
|00003610| 63 68 6f 0a 09 09 40 65 | 63 68 6f 20 22 59 6f 75 |cho...@e|cho "You|
|00003620| 20 6e 65 65 64 20 74 6f | 20 73 70 65 63 69 66 79 | need to| specify|
|00003630| 20 6f 6e 65 20 6f 66 20 | 74 68 65 20 66 6f 6c 6c | one of |the foll|
|00003640| 6f 77 69 6e 67 20 6f 70 | 74 69 6f 6e 73 3a 22 0a |owing op|tions:".|
|00003650| 09 09 40 65 63 68 6f 0a | 09 09 40 65 63 68 6f 20 |..@echo.|..@echo |
|00003660| 22 20 20 6d 61 6b 65 20 | 6d 67 72 20 20 20 20 20 |" make |mgr |
|00003670| 20 20 20 2d 20 74 6f 20 | 6d 61 6b 65 20 74 68 65 | - to |make the|
|00003680| 20 4d 47 52 20 76 65 72 | 73 69 6f 6e 2e 22 0a 09 | MGR ver|sion."..|
|00003690| 09 40 65 63 68 6f 20 22 | 20 20 6d 61 6b 65 20 6e |.@echo "| make n|
|000036a0| 65 77 73 20 20 20 20 20 | 20 20 2d 20 74 6f 20 6d |ews | - to m|
|000036b0| 61 6b 65 20 74 68 65 20 | 4e 65 57 53 20 76 65 72 |ake the |NeWS ver|
|000036c0| 73 69 6f 6e 2e 22 0a 09 | 09 40 65 63 68 6f 20 22 |sion."..|.@echo "|
|000036d0| 20 20 6d 61 6b 65 20 73 | 75 6e 76 69 65 77 20 20 | make s|unview |
|000036e0| 20 20 2d 20 74 6f 20 6d | 61 6b 65 20 74 68 65 20 | - to m|ake the |
|000036f0| 53 75 6e 56 69 65 77 20 | 76 65 72 73 69 6f 6e 2e |SunView |version.|
|00003700| 22 0a 09 09 40 65 63 68 | 6f 20 22 20 20 6d 61 6b |"...@ech|o " mak|
|00003710| 65 20 74 74 79 20 20 20 | 20 20 20 20 20 2d 20 74 |e tty | - t|
|00003720| 6f 20 6d 61 6b 65 20 74 | 68 65 20 64 75 6d 62 20 |o make t|he dumb |
|00003730| 74 74 79 20 76 65 72 73 | 69 6f 6e 2e 22 0a 09 09 |tty vers|ion."...|
|00003740| 40 65 63 68 6f 20 22 20 | 20 6d 61 6b 65 20 78 31 |@echo " | make x1|
|00003750| 31 20 20 20 20 20 20 20 | 20 2d 20 74 6f 20 6d 61 |1 | - to ma|
|00003760| 6b 65 20 74 68 65 20 58 | 31 31 20 76 65 72 73 69 |ke the X|11 versi|
|00003770| 6f 6e 2e 22 0a 09 09 40 | 65 63 68 6f 20 22 20 20 |on."...@|echo " |
|00003780| 6d 61 6b 65 20 78 76 69 | 65 77 20 20 20 20 20 20 |make xvi|ew |
|00003790| 2d 20 74 6f 20 6d 61 6b | 65 20 74 68 65 20 58 56 |- to mak|e the XV|
|000037a0| 69 65 77 20 76 65 72 73 | 69 6f 6e 2e 22 0a 09 09 |iew vers|ion."...|
|000037b0| 40 65 63 68 6f 0a 09 09 | 40 65 63 68 6f 20 22 54 |@echo...|@echo "T|
|000037c0| 68 69 73 20 73 68 6f 75 | 6c 64 20 62 65 20 66 6f |his shou|ld be fo|
|000037d0| 6c 6c 6f 77 65 64 20 62 | 79 3a 22 0a 09 09 40 65 |llowed b|y:"...@e|
|000037e0| 63 68 6f 0a 09 09 40 65 | 63 68 6f 20 22 20 20 6d |cho...@e|cho " m|
|000037f0| 61 6b 65 20 69 6e 73 74 | 61 6c 6c 22 0a 09 09 40 |ake inst|all"...@|
|00003800| 65 63 68 6f 20 22 20 20 | 6d 61 6b 65 20 63 6c 65 |echo " |make cle|
|00003810| 61 6e 22 0a 09 09 40 65 | 63 68 6f 0a 0a 61 6c 6c |an"...@e|cho..all|
|00003820| 3a 20 20 20 20 20 20 20 | 20 20 20 20 20 24 28 42 |: | $(B|
|00003830| 49 4e 41 52 49 45 53 29 | 0a 0a 6d 67 72 3a 20 20 |INARIES)|..mgr: |
|00003840| 20 20 20 20 20 20 20 20 | 20 20 24 28 4f 42 4a 53 | | $(OBJS|
|00003850| 29 20 6d 67 72 2e 6f 0a | 09 09 63 63 20 2d 6f 20 |) mgr.o.|..cc -o |
|00003860| 6d 67 72 5f 63 61 6c 63 | 74 6f 6f 6c 20 24 28 43 |mgr_calc|tool $(C|
|00003870| 46 4c 41 47 53 29 20 24 | 28 53 54 44 4f 42 4a 53 |FLAGS) $|(STDOBJS|
|00003880| 29 20 6d 67 72 2e 6f 20 | 24 28 4d 47 52 4c 49 42 |) mgr.o |$(MGRLIB|
|00003890| 53 29 0a 09 09 2d 63 70 | 20 6d 67 72 5f 63 61 6c |S)...-cp| mgr_cal|
|000038a0| 63 74 6f 6f 6c 20 63 61 | 6c 63 74 6f 6f 6c 0a 0a |ctool ca|lctool..|
|000038b0| 6e 65 77 73 3a 20 20 20 | 20 20 20 20 20 20 20 20 |news: | |
|000038c0| 24 28 4f 42 4a 53 29 20 | 6e 65 77 73 2e 6f 0a 09 |$(OBJS) |news.o..|
|000038d0| 09 63 63 20 2d 6f 20 70 | 73 5f 63 61 6c 63 74 6f |.cc -o p|s_calcto|
|000038e0| 6f 6c 20 24 28 43 46 4c | 41 47 53 29 20 24 28 53 |ol $(CFL|AGS) $(S|
|000038f0| 54 44 4f 42 4a 53 29 20 | 6e 65 77 73 2e 6f 20 24 |TDOBJS) |news.o $|
|00003900| 28 4e 45 57 53 4c 49 42 | 53 29 0a 09 09 2d 63 70 |(NEWSLIB|S)...-cp|
|00003910| 20 70 73 5f 63 61 6c 63 | 74 6f 6f 6c 20 63 61 6c | ps_calc|tool cal|
|00003920| 63 74 6f 6f 6c 0a 0a 73 | 75 6e 76 69 65 77 3a 20 |ctool..s|unview: |
|00003930| 20 20 20 20 20 20 20 24 | 28 4f 42 4a 53 29 20 73 | $|(OBJS) s|
|00003940| 75 6e 76 69 65 77 2e 6f | 0a 09 09 63 63 20 2d 6f |unview.o|...cc -o|
|00003950| 20 73 76 5f 63 61 6c 63 | 74 6f 6f 6c 20 24 28 43 | sv_calc|tool $(C|
|00003960| 46 4c 41 47 53 29 20 24 | 28 53 54 44 4f 42 4a 53 |FLAGS) $|(STDOBJS|
|00003970| 29 20 73 75 6e 76 69 65 | 77 2e 6f 20 24 28 53 56 |) sunvie|w.o $(SV|
|00003980| 49 45 57 4c 49 42 53 29 | 0a 09 09 2d 63 70 20 73 |IEWLIBS)|...-cp s|
|00003990| 76 5f 63 61 6c 63 74 6f | 6f 6c 20 63 61 6c 63 74 |v_calcto|ol calct|
|000039a0| 6f 6f 6c 0a 0a 74 74 79 | 3a 20 20 20 20 20 20 20 |ool..tty|: |
|000039b0| 20 20 20 20 20 24 28 4f | 42 4a 53 29 20 74 74 79 | $(O|BJS) tty|
|000039c0| 2e 6f 0a 09 09 63 63 20 | 2d 6f 20 74 74 79 5f 63 |.o...cc |-o tty_c|
|000039d0| 61 6c 63 74 6f 6f 6c 20 | 24 28 43 46 4c 41 47 53 |alctool |$(CFLAGS|
|000039e0| 29 20 24 28 53 54 44 4f | 42 4a 53 29 20 74 74 79 |) $(STDO|BJS) tty|
|000039f0| 2e 6f 20 24 28 54 54 59 | 4c 49 42 53 29 0a 09 09 |.o $(TTY|LIBS)...|
|00003a00| 2d 63 70 20 74 74 79 5f | 63 61 6c 63 74 6f 6f 6c |-cp tty_|calctool|
|00003a10| 20 63 61 6c 63 74 6f 6f | 6c 0a 0a 78 31 31 3a 20 | calctoo|l..x11: |
|00003a20| 20 20 20 20 20 20 20 20 | 20 20 20 24 28 4f 42 4a | | $(OBJ|
|00003a30| 53 29 20 78 31 31 2e 6f | 0a 09 09 63 63 20 2d 6f |S) x11.o|...cc -o|
|00003a40| 20 78 63 61 6c 63 74 6f | 6f 6c 20 24 28 58 31 31 | xcalcto|ol $(X11|
|00003a50| 4c 49 42 44 49 52 29 20 | 24 28 43 46 4c 41 47 53 |LIBDIR) |$(CFLAGS|
|00003a60| 29 20 24 28 53 54 44 4f | 42 4a 53 29 20 78 31 31 |) $(STDO|BJS) x11|
|00003a70| 2e 6f 20 5c 0a 09 09 09 | 09 24 28 58 31 31 4c 49 |.o \....|.$(X11LI|
|00003a80| 42 53 29 0a 09 09 2d 63 | 70 20 78 63 61 6c 63 74 |BS)...-c|p xcalct|
|00003a90| 6f 6f 6c 20 63 61 6c 63 | 74 6f 6f 6c 0a 0a 78 76 |ool calc|tool..xv|
|00003aa0| 69 65 77 3a 20 20 20 20 | 20 20 20 20 20 20 24 28 |iew: | $(|
|00003ab0| 4f 42 4a 53 29 20 78 76 | 69 65 77 2e 6f 0a 09 09 |OBJS) xv|iew.o...|
|00003ac0| 63 63 20 2d 6f 20 78 76 | 5f 63 61 6c 63 74 6f 6f |cc -o xv|_calctoo|
|00003ad0| 6c 20 24 28 58 56 49 45 | 57 4c 49 42 44 49 52 29 |l $(XVIE|WLIBDIR)|
|00003ae0| 20 24 28 43 46 4c 41 47 | 53 29 20 24 28 53 54 44 | $(CFLAG|S) $(STD|
|00003af0| 4f 42 4a 53 29 20 78 76 | 69 65 77 2e 6f 20 5c 0a |OBJS) xv|iew.o \.|
|00003b00| 09 09 09 09 20 20 24 28 | 58 56 49 45 57 4c 49 42 |.... $(|XVIEWLIB|
|00003b10| 53 29 0a 09 09 2d 63 70 | 20 78 76 5f 63 61 6c 63 |S)...-cp| xv_calc|
|00003b20| 74 6f 6f 6c 20 63 61 6c | 63 74 6f 6f 6c 0a 0a 6c |tool cal|ctool..l|
|00003b30| 69 62 63 61 6c 63 74 6f | 6f 6c 2e 61 3a 20 20 24 |ibcalcto|ol.a: $|
|00003b40| 28 4c 49 42 4f 42 4a 53 | 29 0a 09 09 61 72 20 72 |(LIBOBJS|)...ar r|
|00003b50| 76 20 24 40 20 24 3f 0a | 09 09 72 61 6e 6c 69 62 |v $@ $?.|..ranlib|
|00003b60| 20 24 40 0a 20 20 20 20 | 20 20 20 20 20 20 20 20 | $@. | |
|00003b70| 20 20 20 20 20 0a 23 20 | 20 54 68 65 73 65 20 61 | .# | These a|
|00003b80| 72 65 20 74 68 65 20 6c | 69 62 72 61 72 79 20 63 |re the l|ibrary c|
|00003b90| 72 65 61 74 69 6f 6e 20 | 72 75 6c 65 73 20 66 6f |reation |rules fo|
|00003ba0| 72 20 6d 61 6b 69 6e 67 | 20 74 68 65 20 73 68 61 |r making| the sha|
|00003bb0| 72 65 64 20 63 61 6c 63 | 74 6f 6f 6c 0a 23 20 20 |red calc|tool.# |
|00003bc0| 6c 69 62 72 61 72 79 20 | 28 61 76 61 69 6c 61 62 |library |(availab|
|00003bd0| 6c 65 20 77 69 74 68 20 | 53 75 6e 4f 53 20 76 34 |le with |SunOS v4|
|00003be0| 2e 78 29 2e 0a 20 0a 6c | 69 62 63 61 6c 63 74 6f |.x).. .l|ibcalcto|
|00003bf0| 6f 6c 2e 73 6f 2e 31 2e | 31 3a 20 20 20 20 20 24 |ol.so.1.|1: $|
|00003c00| 28 4c 49 42 4f 42 4a 53 | 29 0a 09 09 09 6c 64 20 |(LIBOBJS|)....ld |
|00003c10| 2d 6f 20 6c 69 62 63 61 | 6c 63 74 6f 6f 6c 2e 73 |-o libca|lctool.s|
|00003c20| 6f 2e 31 2e 31 20 2d 61 | 73 73 65 72 74 20 70 75 |o.1.1 -a|ssert pu|
|00003c30| 72 65 2d 74 65 78 74 20 | 24 3f 0a 0a 69 6e 73 74 |re-text |$?..inst|
|00003c40| 61 6c 6c 3a 0a 09 09 69 | 6e 73 74 61 6c 6c 20 2d |all:...i|nstall -|
|00003c50| 63 20 2d 6d 20 36 34 34 | 20 24 28 4c 49 42 4e 41 |c -m 644| $(LIBNA|
|00003c60| 4d 45 29 20 24 28 4c 49 | 42 44 49 52 29 0a 09 09 |ME) $(LI|BDIR)...|
|00003c70| 69 6e 73 74 61 6c 6c 20 | 2d 73 20 2d 6d 20 37 35 |install |-s -m 75|
|00003c80| 31 20 63 61 6c 63 74 6f | 6f 6c 20 24 28 42 49 4e |1 calcto|ol $(BIN|
|00003c90| 44 49 52 29 0a 09 09 69 | 6e 73 74 61 6c 6c 20 2d |DIR)...i|nstall -|
|00003ca0| 63 20 2d 6d 20 36 34 34 | 20 63 61 6c 63 74 6f 6f |c -m 644| calctoo|
|00003cb0| 6c 2e 68 65 6c 70 20 24 | 28 4c 49 42 44 49 52 29 |l.help $|(LIBDIR)|
|00003cc0| 0a 09 09 69 6e 73 74 61 | 6c 6c 20 2d 63 20 2d 6d |...insta|ll -c -m|
|00003cd0| 20 36 34 34 20 63 61 6c | 63 74 6f 6f 6c 2e 70 73 | 644 cal|ctool.ps|
|00003ce0| 20 24 28 4c 49 42 44 49 | 52 29 0a 09 09 69 6e 73 | $(LIBDI|R)...ins|
|00003cf0| 74 61 6c 6c 20 2d 63 20 | 2d 6d 20 36 34 34 20 63 |tall -c |-m 644 c|
|00003d00| 61 6c 63 74 6f 6f 6c 2e | 31 20 24 28 4d 41 4e 44 |alctool.|1 $(MAND|
|00003d10| 49 52 29 2f 63 61 6c 63 | 74 6f 6f 6c 2e 24 28 4d |IR)/calc|tool.$(M|
|00003d20| 41 4e 53 45 43 54 29 0a | 0a 63 6c 65 61 6e 3a 3b |ANSECT).|.clean:;|
|00003d30| 20 20 20 20 20 20 20 20 | 20 72 6d 20 2d 66 20 2a | | rm -f *|
|00003d40| 2e 6f 20 61 72 63 68 69 | 76 65 2e 2a 20 2a 7e 20 |.o archi|ve.* *~ |
|00003d50| 2a 2e 61 20 24 28 42 49 | 4e 41 52 49 45 53 29 20 |*.a $(BI|NARIES) |
|00003d60| 63 6f 72 65 0a 0a 6c 69 | 6e 74 3a 3b 09 09 6c 69 |core..li|nt:;..li|
|00003d70| 6e 74 20 24 28 43 46 4c | 41 47 53 29 20 24 28 53 |nt $(CFL|AGS) $(S|
|00003d80| 54 44 53 52 43 53 29 20 | 24 28 4c 49 42 53 52 43 |TDSRCS) |$(LIBSRC|
|00003d90| 53 29 20 74 74 79 2e 63 | 20 24 28 54 54 59 4c 49 |S) tty.c| $(TTYLI|
|00003da0| 42 53 29 0a 09 09 6c 69 | 6e 74 20 24 28 43 46 4c |BS)...li|nt $(CFL|
|00003db0| 41 47 53 29 20 24 28 53 | 54 44 53 52 43 53 29 20 |AGS) $(S|TDSRCS) |
|00003dc0| 24 28 4c 49 42 53 52 43 | 53 29 20 73 75 6e 76 69 |$(LIBSRC|S) sunvi|
|00003dd0| 65 77 2e 63 20 24 28 53 | 56 49 45 57 4c 49 42 53 |ew.c $(S|VIEWLIBS|
|00003de0| 29 0a 09 09 6c 69 6e 74 | 20 24 28 43 46 4c 41 47 |)...lint| $(CFLAG|
|00003df0| 53 29 20 24 28 53 54 44 | 53 52 43 53 29 20 24 28 |S) $(STD|SRCS) $(|
|00003e00| 4c 49 42 53 52 43 53 29 | 20 78 76 69 65 77 2e 63 |LIBSRCS)| xview.c|
|00003e10| 20 24 28 58 56 49 45 57 | 4c 49 42 53 29 0a 09 09 | $(XVIEW|LIBS)...|
|00003e20| 6c 69 6e 74 20 24 28 43 | 46 4c 41 47 53 29 20 24 |lint $(C|FLAGS) $|
|00003e30| 28 53 54 44 53 52 43 53 | 29 20 24 28 4c 49 42 53 |(STDSRCS|) $(LIBS|
|00003e40| 52 43 53 29 20 78 31 31 | 2e 63 20 24 28 58 31 31 |RCS) x11|.c $(X11|
|00003e50| 4c 49 42 53 29 0a 09 09 | 6c 69 6e 74 20 24 28 43 |LIBS)...|lint $(C|
|00003e60| 46 4c 41 47 53 29 20 24 | 28 53 54 44 53 52 43 53 |FLAGS) $|(STDSRCS|
|00003e70| 29 20 24 28 4c 49 42 53 | 52 43 53 29 20 6e 65 77 |) $(LIBS|RCS) new|
|00003e80| 73 2e 63 20 24 28 4e 45 | 57 53 4c 49 42 53 29 0a |s.c $(NE|WSLIBS).|
|00003e90| 09 09 6c 69 6e 74 20 24 | 28 43 46 4c 41 47 53 29 |..lint $|(CFLAGS)|
|00003ea0| 20 24 28 53 54 44 53 52 | 43 53 29 20 24 28 4c 49 | $(STDSR|CS) $(LI|
|00003eb0| 42 53 52 43 53 29 20 6d | 67 72 2e 63 20 24 28 4d |BSRCS) m|gr.c $(M|
|00003ec0| 47 52 4c 49 42 53 29 0a | 0a 73 68 61 72 3a 3b 20 |GRLIBS).|.shar:; |
|00003ed0| 20 20 20 20 20 20 20 20 | 20 73 68 61 72 2e 73 63 | | shar.sc|
|00003ee0| 72 69 70 74 20 24 28 53 | 46 49 4c 45 53 31 29 20 |ript $(S|FILES1) |
|00003ef0| 3e 20 61 72 63 68 69 76 | 65 2e 31 0a 09 09 73 68 |> archiv|e.1...sh|
|00003f00| 61 72 2e 73 63 72 69 70 | 74 20 24 28 53 46 49 4c |ar.scrip|t $(SFIL|
|00003f10| 45 53 32 29 20 3e 20 61 | 72 63 68 69 76 65 2e 32 |ES2) > a|rchive.2|
|00003f20| 0a 09 09 73 68 61 72 2e | 73 63 72 69 70 74 20 24 |...shar.|script $|
|00003f30| 28 53 46 49 4c 45 53 33 | 29 20 3e 20 61 72 63 68 |(SFILES3|) > arch|
|00003f40| 69 76 65 2e 33 0a 09 09 | 73 68 61 72 2e 73 63 72 |ive.3...|shar.scr|
|00003f50| 69 70 74 20 24 28 53 46 | 49 4c 45 53 34 29 20 3e |ipt $(SF|ILES4) >|
|00003f60| 20 61 72 63 68 69 76 65 | 2e 34 0a 0a 63 72 65 61 | archive|.4..crea|
|00003f70| 74 65 3a 09 09 53 43 43 | 53 0a 09 09 2d 73 63 63 |te:..SCC|S...-scc|
|00003f80| 73 20 63 72 65 61 74 65 | 20 24 28 53 54 44 53 52 |s create| $(STDSR|
|00003f90| 43 53 29 20 24 28 47 53 | 52 43 53 29 20 24 28 48 |CS) $(GS|RCS) $(H|
|00003fa0| 44 52 53 29 20 24 28 49 | 4d 41 47 45 53 29 20 24 |DRS) $(I|MAGES) $|
|00003fb0| 28 4f 54 48 45 52 53 29 | 0a 53 43 43 53 3a 0a 09 |(OTHERS)|.SCCS:..|
|00003fc0| 09 2d 6d 6b 64 69 72 20 | 53 43 43 53 0a 09 09 63 |.-mkdir |SCCS...c|
|00003fd0| 68 6d 6f 64 20 37 35 35 | 20 53 43 43 53 0a 00 00 |hmod 755| SCCS...|
|00003fe0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00003ff0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00004000| 63 61 6c 63 74 6f 6f 6c | 2f 54 4f 44 4f 00 00 00 |calctool|/TODO...|
|00004010| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00004020| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00004030| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00004040| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00004050| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00004060| 00 00 00 00 20 20 20 34 | 34 34 20 00 20 20 31 35 |.... 4|44 . 15|
|00004070| 32 34 20 00 20 20 20 20 | 31 33 20 00 20 20 20 20 |24 . |13 . |
|00004080| 20 20 20 34 30 36 34 20 | 20 34 35 35 37 31 36 36 | 4064 | 4557166|
|00004090| 36 36 36 20 20 20 36 34 | 34 34 00 20 00 00 00 00 |666 64|44. ....|
|000040a0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000040b0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000040c0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000040d0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000040e0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000040f0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00004100| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00004110| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00004120| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00004130| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00004140| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00004150| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00004160| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00004170| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00004180| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00004190| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000041a0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000041b0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000041c0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000041d0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000041e0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000041f0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00004200| 42 75 67 73 3a 0a 0a 31 | 2f 20 54 68 65 20 66 6f |Bugs:..1|/ The fo|
|00004210| 6c 6c 6f 77 69 6e 67 20 | 70 72 6f 62 6c 65 6d 73 |llowing |problems|
|00004220| 20 65 78 69 73 74 20 66 | 6f 72 20 74 68 65 20 4e | exist f|or the N|
|00004230| 65 57 53 20 76 31 2e 31 | 20 76 65 72 73 69 6f 6e |eWS v1.1| version|
|00004240| 3a 0a 0a 20 20 20 61 29 | 20 54 68 65 20 63 61 6c |:.. a)| The cal|
|00004250| 63 74 6f 6f 6c 20 69 63 | 6f 6e 20 28 63 6f 6c 6f |ctool ic|on (colo|
|00004260| 72 20 61 6e 64 20 6d 6f | 6e 6f 29 20 69 73 20 6e |r and mo|no) is n|
|00004270| 6f 74 20 62 65 69 6e 67 | 20 64 69 73 70 6c 61 79 |ot being| display|
|00004280| 65 64 20 63 6f 72 72 65 | 63 74 6c 79 2e 0a 0a 20 |ed corre|ctly... |
|00004290| 20 20 62 29 20 54 68 65 | 20 69 6e 69 74 69 61 6c | b) The| initial|
|000042a0| 20 70 6f 73 69 74 69 6f | 6e 20 6f 66 20 74 68 65 | positio|n of the|
|000042b0| 20 69 63 6f 6e 20 73 68 | 6f 75 6c 64 20 62 65 20 | icon sh|ould be |
|000042c0| 73 65 74 74 61 62 6c 65 | 20 76 69 61 20 74 68 65 |settable| via the|
|000042d0| 0a 20 20 20 20 20 20 2d | 57 50 20 66 6c 61 67 2e |. -|WP flag.|
|000042e0| 0a 0a 20 20 20 63 29 20 | 49 74 20 73 68 6f 75 6c |.. c) |It shoul|
|000042f0| 64 20 62 65 20 70 6f 73 | 73 69 62 6c 65 20 66 6f |d be pos|sible fo|
|00004300| 72 20 63 61 6c 63 74 6f | 6f 6c 20 74 6f 20 73 74 |r calcto|ol to st|
|00004310| 61 72 74 20 69 63 6f 6e | 69 63 61 6c 6c 79 2e 0a |art icon|ically..|
|00004320| 0a 20 20 20 64 29 20 50 | 6f 70 75 70 20 6d 65 6e |. d) P|opup men|
|00004330| 75 20 73 75 70 70 6f 72 | 74 20 6e 65 65 64 73 20 |u suppor|t needs |
|00004340| 74 6f 20 62 65 20 66 75 | 6c 6c 79 20 69 6d 70 6c |to be fu|lly impl|
|00004350| 65 6d 65 6e 74 65 64 2e | 0a 0a 20 20 20 65 29 20 |emented.|.. e) |
|00004360| 54 68 65 20 4e 65 57 53 | 20 63 6f 64 65 20 73 68 |The NeWS| code sh|
|00004370| 6f 75 6c 64 20 62 65 20 | 63 6f 6d 6d 65 6e 74 65 |ould be |commente|
|00004380| 64 2e 0a 0a 0a 32 2f 20 | 54 68 65 20 66 6f 6c 6c |d....2/ |The foll|
|00004390| 6f 77 69 6e 67 20 70 72 | 6f 62 6c 65 6d 73 20 65 |owing pr|oblems e|
|000043a0| 78 69 73 74 20 77 69 74 | 68 20 74 68 65 20 6d 67 |xist wit|h the mg|
|000043b0| 72 20 76 65 72 73 69 6f | 6e 3a 0a 0a 20 20 20 61 |r versio|n:.. a|
|000043c0| 29 20 54 68 65 20 66 6f | 6e 74 73 20 61 72 65 6e |) The fo|nts aren|
|000043d0| 27 74 20 62 65 69 6e 67 | 20 6c 6f 61 64 65 64 20 |'t being| loaded |
|000043e0| 63 6f 72 72 65 63 74 6c | 79 2e 0a 0a 20 20 20 62 |correctl|y... b|
|000043f0| 29 20 41 66 74 65 72 20 | 61 20 72 65 73 68 61 70 |) After |a reshap|
|00004400| 65 2c 20 74 68 65 20 22 | 70 61 6e 65 6c 20 69 74 |e, the "|panel it|
|00004410| 65 6d 73 22 20 61 72 65 | 20 6e 6f 74 20 62 65 69 |ems" are| not bei|
|00004420| 6e 67 20 72 65 64 69 73 | 70 6c 61 79 65 64 2e 0a |ng redis|played..|
|00004430| 0a 20 20 20 63 29 20 54 | 68 65 20 72 69 67 68 74 |. c) T|he right|
|00004440| 20 62 75 74 74 6f 6e 20 | 70 6f 70 75 70 20 6d 65 | button |popup me|
|00004450| 6e 75 20 73 75 70 70 6f | 72 74 20 69 73 20 6e 6f |nu suppo|rt is no|
|00004460| 74 20 63 6f 72 72 65 63 | 74 6c 79 20 77 6f 72 6b |t correc|tly work|
|00004470| 69 6e 67 2e 0a 0a 0a 33 | 2f 20 54 68 65 20 66 6f |ing....3|/ The fo|
|00004480| 6c 6c 6f 77 69 6e 67 20 | 70 72 6f 62 6c 65 6d 20 |llowing |problem |
|00004490| 65 78 69 73 74 73 20 77 | 69 74 68 20 74 68 65 20 |exists w|ith the |
|000044a0| 53 75 6e 56 69 65 77 20 | 76 65 72 73 69 6f 6e 3a |SunView |version:|
|000044b0| 0a 0a 20 20 20 61 29 20 | 54 68 65 20 45 4e 54 45 |.. a) |The ENTE|
|000044c0| 52 20 6b 65 79 20 28 52 | 69 67 68 74 20 66 75 6e |R key (R|ight fun|
|000044d0| 63 74 69 6f 6e 20 6b 65 | 79 70 61 64 29 20 69 73 |ction ke|ypad) is|
|000044e0| 20 6e 6f 74 20 72 65 63 | 6f 67 6e 69 73 65 64 2e | not rec|ognised.|
|000044f0| 0a 0a 0a 34 2f 20 54 68 | 65 20 66 6f 6c 6c 6f 77 |...4/ Th|e follow|
|00004500| 69 6e 67 20 70 72 6f 62 | 6c 65 6d 73 20 65 78 69 |ing prob|lems exi|
|00004510| 73 74 20 77 69 74 68 20 | 74 68 65 20 58 56 69 65 |st with |the XVie|
|00004520| 77 20 76 65 72 73 69 6f | 6e 3a 0a 0a 20 20 20 61 |w versio|n:.. a|
|00004530| 29 20 54 68 65 20 6d 65 | 6d 6f 72 79 20 72 65 67 |) The me|mory reg|
|00004540| 69 73 74 65 72 20 77 69 | 6e 64 6f 77 20 69 73 20 |ister wi|ndow is |
|00004550| 63 6f 6d 69 6e 67 20 75 | 70 20 69 6e 20 74 68 65 |coming u|p in the|
|00004560| 20 77 72 6f 6e 67 20 70 | 6c 61 63 65 2e 0a 20 20 | wrong p|lace.. |
|00004570| 20 20 20 20 54 68 69 73 | 20 69 73 20 62 65 63 61 | This| is beca|
|00004580| 75 73 65 20 6f 66 20 62 | 75 67 20 31 30 32 32 34 |use of b|ug 10224|
|00004590| 39 35 20 28 78 76 69 65 | 77 2f 6c 69 62 72 61 72 |95 (xvie|w/librar|
|000045a0| 79 29 2e 0a 20 0a 20 20 | 20 62 29 20 54 68 65 20 |y).. . | b) The |
|000045b0| 66 6f 6c 6c 6f 77 69 6e | 67 20 72 69 67 68 74 20 |followin|g right |
|000045c0| 6b 65 79 70 61 64 20 66 | 75 6e 63 74 69 6f 6e 20 |keypad f|unction |
|000045d0| 6b 65 79 73 20 61 72 65 | 20 63 75 72 72 65 6e 74 |keys are| current|
|000045e0| 6c 79 20 6e 6f 74 20 72 | 65 63 6f 67 6e 69 73 65 |ly not r|ecognise|
|000045f0| 64 3a 0a 20 20 20 20 20 | 20 30 20 20 20 20 2e 20 |d:. | 0 . |
|00004600| 20 20 20 20 2d 20 20 20 | 20 20 2b 20 20 20 20 45 | - | + E|
|00004610| 4e 54 45 52 0a 0a 0a 35 | 2f 20 54 68 65 20 66 6f |NTER...5|/ The fo|
|00004620| 6c 6c 6f 77 69 6e 67 20 | 70 72 6f 62 6c 65 6d 73 |llowing |problems|
|00004630| 20 65 78 69 73 74 20 77 | 69 74 68 20 74 68 65 20 | exist w|ith the |
|00004640| 58 31 31 20 76 65 72 73 | 69 6f 6e 2e 0a 0a 20 20 |X11 vers|ion... |
|00004650| 20 61 29 20 54 68 65 20 | 73 69 7a 65 20 6f 66 20 | a) The |size of |
|00004660| 74 68 65 20 63 61 6c 63 | 74 6f 6f 6c 20 69 63 6f |the calc|tool ico|
|00004670| 6e 20 6f 6e 20 74 68 65 | 20 6d 6f 6e 6f 63 68 72 |n on the| monochr|
|00004680| 6f 6d 65 20 76 65 72 73 | 69 6f 6e 20 69 73 20 69 |ome vers|ion is i|
|00004690| 6e 63 6f 72 72 65 63 74 | 2e 0a 0a 0a 45 6e 68 61 |ncorrect|....Enha|
|000046a0| 6e 63 65 6d 65 6e 74 73 | 3a 0a 0a 31 2f 20 49 6e |ncements|:..1/ In|
|000046b0| 63 6f 72 70 6f 72 61 74 | 65 20 61 20 6d 75 6c 74 |corporat|e a mult|
|000046c0| 69 2d 70 72 65 63 69 73 | 69 6f 6e 20 61 72 69 74 |i-precis|ion arit|
|000046d0| 68 6d 65 74 69 63 20 70 | 61 63 6b 61 67 65 20 61 |hmetic p|ackage a|
|000046e0| 73 20 74 68 65 20 62 61 | 73 69 73 20 6f 66 20 61 |s the ba|sis of a|
|000046f0| 6c 6c 0a 20 20 20 63 61 | 6c 63 75 6c 61 74 69 6f |ll. ca|lculatio|
|00004700| 6e 73 2e 20 54 68 65 20 | 64 69 73 70 6c 61 79 20 |ns. The |display |
|00004710| 63 6f 75 6c 64 20 74 68 | 65 6e 20 69 6e 63 6c 75 |could th|en inclu|
|00004720| 64 65 20 74 77 6f 20 6c | 69 74 74 6c 65 20 61 72 |de two l|ittle ar|
|00004730| 72 6f 77 20 69 63 6f 6e | 73 2c 0a 20 20 20 6f 6e |row icon|s,. on|
|00004740| 65 20 61 74 20 65 61 63 | 68 20 73 69 64 65 20 6f |e at eac|h side o|
|00004750| 66 20 74 68 65 20 6e 75 | 6d 65 72 69 63 20 64 69 |f the nu|meric di|
|00004760| 73 70 6c 61 79 2c 20 77 | 68 69 63 68 20 77 6f 75 |splay, w|hich wou|
|00004770| 6c 64 20 73 68 69 66 74 | 20 74 68 65 20 63 6f 6e |ld shift| the con|
|00004780| 74 65 6e 74 73 0a 20 20 | 20 74 6f 20 74 68 65 20 |tents. | to the |
|00004790| 6c 65 66 74 20 6f 72 20 | 74 68 65 20 72 69 67 68 |left or |the righ|
|000047a0| 74 2e 0a 0a 32 2f 20 41 | 64 64 20 73 6f 6d 65 20 |t...2/ A|dd some |
|000047b0| 6d 6f 72 65 20 66 75 6e | 63 74 69 6f 6e 73 2e 20 |more fun|ctions. |
|000047c0| 53 6f 6d 65 20 73 75 67 | 67 65 73 74 65 64 20 66 |Some sug|gested f|
|000047d0| 75 6e 63 74 69 6f 6e 73 | 20 61 72 65 3a 0a 0a 20 |unctions| are:.. |
|000047e0| 20 61 29 20 43 6f 6d 6d | 6f 6e 20 61 6e 74 69 6c | a) Comm|on antil|
|000047f0| 6f 67 61 72 69 74 68 6d | 20 61 6e 64 20 6e 61 74 |ogarithm| and nat|
|00004800| 75 72 61 6c 20 61 6e 74 | 69 6c 6f 67 61 72 69 74 |ural ant|ilogarit|
|00004810| 68 6d 2e 0a 0a 20 20 62 | 29 20 43 75 62 65 20 72 |hm... b|) Cube r|
|00004820| 6f 6f 74 20 6b 65 79 2e | 0a 0a 20 20 63 29 20 52 |oot key.|.. c) R|
|00004830| 6f 6f 74 20 6b 65 79 2e | 20 54 68 65 20 79 20 72 |oot key.| The y r|
|00004840| 6f 6f 74 20 6f 66 20 78 | 2e 0a 0a 20 20 64 29 20 |oot of x|... d) |
|00004850| 52 65 63 74 61 6e 67 75 | 6c 61 72 20 74 6f 20 70 |Rectangu|lar to p|
|00004860| 6f 6c 61 72 20 61 6e 64 | 20 70 6f 6c 61 72 20 74 |olar and| polar t|
|00004870| 6f 20 72 65 63 74 61 6e | 67 75 6c 61 72 20 6b 65 |o rectan|gular ke|
|00004880| 79 73 2e 0a 0a 20 20 65 | 29 20 52 61 6e 64 6f 6d |ys... e|) Random|
|00004890| 20 6e 75 6d 62 65 72 20 | 6b 65 79 2e 20 52 65 74 | number |key. Ret|
|000048a0| 75 72 6e 20 61 20 72 61 | 6e 64 6f 6d 20 6e 75 6d |urn a ra|ndom num|
|000048b0| 62 65 72 20 62 65 74 77 | 65 65 6e 20 30 2e 30 20 |ber betw|een 0.0 |
|000048c0| 61 6e 64 20 3c 20 31 2e | 30 2e 0a 0a 33 2f 20 41 |and < 1.|0...3/ A|
|000048d0| 64 64 20 52 65 76 65 72 | 73 65 20 50 6f 6c 69 73 |dd Rever|se Polis|
|000048e0| 68 20 6e 6f 74 61 74 69 | 6f 6e 2e 0a 0a 34 2f 20 |h notati|on...4/ |
|000048f0| 53 75 70 70 6f 72 74 20 | 6d 75 6c 74 69 70 6c 65 |Support |multiple|
|00004900| 20 67 72 61 70 68 69 63 | 73 20 76 65 72 73 69 6f | graphic|s versio|
|00004910| 6e 20 69 6e 20 74 68 65 | 20 73 61 6d 65 20 62 69 |n in the| same bi|
|00004920| 6e 61 72 79 20 6f 72 20 | 77 72 69 74 65 20 61 20 |nary or |write a |
|00004930| 66 72 6f 6e 74 2d 65 6e | 64 0a 20 20 20 73 68 65 |front-en|d. she|
|00004940| 6c 6c 20 73 63 72 69 70 | 74 20 74 68 61 74 20 77 |ll scrip|t that w|
|00004950| 69 74 68 20 73 65 6c 65 | 63 74 20 74 68 65 20 61 |ith sele|ct the a|
|00004960| 70 70 72 6f 70 72 69 61 | 74 65 20 62 69 6e 61 72 |ppropria|te binar|
|00004970| 79 20 64 65 70 65 6e 64 | 69 6e 67 20 6f 6e 20 74 |y depend|ing on t|
|00004980| 68 65 0a 20 20 20 65 6e | 76 69 72 6f 6e 6d 65 6e |he. en|vironmen|
|00004990| 74 20 5b 4d 47 52 2f 4e | 65 57 53 2f 53 75 6e 56 |t [MGR/N|eWS/SunV|
|000049a0| 69 65 77 2f 74 74 79 2f | 58 31 31 5d 20 5b 53 75 |iew/tty/|X11] [Su|
|000049b0| 6e 33 2f 53 75 6e 34 2f | 53 75 6e 33 38 36 69 5d |n3/Sun4/|Sun386i]|
|000049c0| 20 65 74 63 2e 2e 0a 0a | 35 2f 20 53 65 65 20 69 | etc....|5/ See i|
|000049d0| 66 20 69 74 27 73 20 70 | 6f 73 73 69 62 6c 65 20 |f it's p|ossible |
|000049e0| 74 6f 20 67 65 74 20 74 | 68 65 20 47 45 54 20 61 |to get t|he GET a|
|000049f0| 6e 64 20 50 55 54 20 66 | 75 6e 63 74 69 6f 6e 20 |nd PUT f|unction |
|00004a00| 6b 65 79 73 20 77 6f 72 | 6b 69 6e 67 20 77 69 74 |keys wor|king wit|
|00004a10| 68 0a 20 20 20 74 68 65 | 20 4e 65 57 53 20 61 6e |h. the| NeWS an|
|00004a20| 64 20 74 68 65 20 58 31 | 31 20 76 65 72 73 69 6f |d the X1|1 versio|
|00004a30| 6e 73 2e 0a 69 6e 69 74 | 69 6f 6e 20 61 6e 64 20 |ns..init|ion and |
|00004a40| 73 65 74 74 69 6e 67 20 | 61 70 70 72 6f 70 72 69 |setting |appropri|
|00004a50| 61 74 65 6c 79 2e 0a 23 | 0a 23 52 43 4e 41 4d 45 |ately..#|.#RCNAME|
|00004a60| 20 20 20 20 20 20 20 20 | 20 20 3d 20 2d 44 52 43 | | = -DRC|
|00004a70| 47 49 56 45 4e 20 20 20 | 2d 44 52 43 4e 41 4d 45 |GIVEN |-DRCNAME|
|00004a80| 3d 5c 22 2e 63 61 6c 63 | 74 6f 6f 6c 72 63 5c 22 |=\".calc|toolrc\"|
|00004a90| 0a 23 0a 23 20 20 49 66 | 20 79 6f 75 20 6e 6f 74 |.#.# If| you not|
|00004aa0| 20 72 75 6e 6e 69 6e 67 | 20 75 6e 64 65 72 20 61 | running| under a|
|00004ab0| 20 42 53 44 34 2e 33 20 | 64 65 72 69 76 65 64 20 | BSD4.3 |derived |
|00004ac0| 73 79 73 74 65 6d 2c 20 | 74 68 65 20 70 61 72 61 |system, |the para|
|00004ad0| 6d 65 74 65 72 73 0a 23 | 20 20 74 6f 20 74 68 65 |meters.#| to the|
|00004ae0| 20 73 65 6c 65 63 74 20 | 63 61 6c 6c 20 61 72 65 | select |call are|
|00004af0| 20 64 69 66 66 65 72 65 | 6e 74 2c 20 61 6e 64 20 | differe|nt, and |
|00004b00| 74 68 69 73 20 64 65 66 | 69 6e 69 74 69 6f 6e 20 |this def|inition |
|00004b10| 73 68 6f 75 6c 64 20 62 | 65 0a 23 20 20 75 6e 63 |should b|e.# unc|
|00004b20| 6f 6d 6d 65 6e 74 65 64 | 2e 20 59 6f 75 20 6e 65 |ommented|. You ne|
|00004b30| 65 64 20 74 6f 20 75 6e | 63 6f 6d 6d 65 6e 74 20 |ed to un|comment |
|00004b40| 74 68 69 73 20 66 6f 72 | 20 53 75 6e 4f 53 20 76 |this for| SunOS v|
|00004b50| 33 2e 78 2e 0a 23 0a 23 | 53 45 4c 54 59 50 45 20 |3.x..#.#|SELTYPE |
|00004b60| 20 20 20 20 20 20 20 3d | 20 2d 44 4e 4f 5f 34 2e | =| -DNO_4.|
|00004b70| 33 53 45 4c 45 43 54 0a | 23 0a 23 20 20 4e 6f 74 |3SELECT.|#.# Not|
|00004b80| 65 20 74 68 61 74 20 77 | 69 74 68 20 53 75 6e 4f |e that w|ith SunO|
|00004b90| 53 20 76 34 2e 78 20 69 | 74 20 69 73 20 70 6f 73 |S v4.x i|t is pos|
|00004ba0| 73 69 62 6c 65 20 74 6f | 20 63 72 65 61 74 65 20 |sible to| create |
|00004bb0| 61 20 73 68 61 72 65 64 | 20 6c 69 62 72 61 72 79 |a shared| library|
|00004bc0| 0a 23 20 20 66 6f 72 20 | 74 68 65 20 63 61 6c 63 |.# for |the calc|
|00004bd0| 74 6f 6f 6c 20 72 6f 75 | 74 69 6e 65 73 2e 20 49 |tool rou|tines. I|
|00004be0| 66 20 79 6f 75 20 77 69 | 73 68 20 74 6f 20 64 6f |f you wi|sh to do|
|00004bf0| 20 74 68 69 73 2c 20 74 | 68 65 6e 20 79 6f 75 20 | this, t|hen you |
|00004c00| 63 61 6c 63 74 6f 6f 6c | 2f 63 61 6c 63 74 6f 6f |calctool|/calctoo|
|00004c10| 6c 2e 68 65 6c 70 00 00 | 00 00 00 00 00 00 00 00 |l.help..|........|
|00004c20| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00004c30| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00004c40| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00004c50| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00004c60| 00 00 00 00 20 20 20 34 | 34 34 20 00 20 20 31 35 |.... 4|44 . 15|
|00004c70| 32 34 20 00 20 20 20 20 | 31 33 20 00 20 20 20 20 |24 . |13 . |
|00004c80| 20 20 32 35 31 35 30 20 | 20 34 35 35 37 31 36 36 | 25150 | 4557166|
|00004c90| 36 36 37 20 20 31 30 34 | 34 36 00 20 00 00 00 00 |667 104|46. ....|
|00004ca0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00004cb0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00004cc0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00004cd0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00004ce0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00004cf0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00004d00| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00004d10| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00004d20| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00004d30| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00004d40| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00004d50| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00004d60| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00004d70| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00004d80| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00004d90| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00004da0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00004db0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00004dc0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00004dd0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00004de0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00004df0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00004e00| 5f 63 61 6c 63 74 6f 6f | 6c 2e 68 65 6c 70 5f 0a |_calctoo|l.help_.|
|00004e10| 5f 45 58 43 48 5f 0a 52 | 65 67 69 73 74 65 72 20 |_EXCH_.R|egister |
|00004e20| 65 78 63 68 61 6e 67 65 | 20 6e 20 20 20 20 20 20 |exchange| n |
|00004e30| 20 20 28 20 5e 65 20 29 | 2e 0a 0a 54 68 69 73 20 | ( ^e )|...This |
|00004e40| 6d 75 73 74 20 62 65 20 | 66 6f 6c 6c 6f 77 65 64 |must be |followed|
|00004e50| 20 62 79 20 61 20 64 69 | 67 69 74 0a 69 6e 20 74 | by a di|git.in t|
|00004e60| 68 65 20 72 61 6e 67 65 | 20 30 20 2d 20 39 20 74 |he range| 0 - 9 t|
|00004e70| 6f 20 69 6e 64 69 63 61 | 74 65 0a 77 68 69 63 68 |o indica|te.which|
|00004e80| 20 72 65 67 69 73 74 65 | 72 20 73 68 6f 75 6c 64 | registe|r should|
|00004e90| 20 62 65 20 69 6e 74 65 | 72 2d 0a 63 68 61 6e 67 | be inte|r-.chang|
|00004ea0| 65 64 20 77 69 74 68 20 | 74 68 65 20 63 75 72 72 |ed with |the curr|
|00004eb0| 65 6e 74 20 64 69 73 70 | 6c 61 79 2e 0a 5f 43 4f |ent disp|lay.._CO|
|00004ec0| 4e 20 5f 0a 43 6f 6e 73 | 74 61 6e 74 20 6e 20 20 |N _.Cons|tant n |
|00004ed0| 20 20 20 20 20 20 20 20 | 20 20 20 20 20 20 20 20 | | |
|00004ee0| 28 20 23 20 29 2e 0a 0a | 54 68 69 73 20 6d 75 73 |( # )...|This mus|
|00004ef0| 74 20 62 65 20 66 6f 6c | 6c 6f 77 65 64 20 62 79 |t be fol|lowed by|
|00004f00| 20 61 20 64 69 67 69 74 | 0a 69 6e 20 74 68 65 20 | a digit|.in the |
|00004f10| 72 61 6e 67 65 20 30 20 | 2d 20 39 20 74 6f 20 69 |range 0 |- 9 to i|
|00004f20| 6e 64 69 63 61 74 65 0a | 77 68 69 63 68 20 63 6f |ndicate.|which co|
|00004f30| 6e 73 74 61 6e 74 20 73 | 68 6f 75 6c 64 20 62 65 |nstant s|hould be|
|00004f40| 20 73 68 6f 77 6e 2e 0a | 0a 54 68 65 20 74 65 6e | shown..|.The ten|
|00004f50| 20 64 65 66 61 75 6c 74 | 20 63 6f 6e 73 74 61 6e | default| constan|
|00004f60| 74 73 20 61 72 65 3a 0a | 0a 30 20 2d 20 6b 6d 73 |ts are:.|.0 - kms|
|00004f70| 20 70 65 72 20 68 6f 75 | 72 20 2f 20 6d 69 6c 65 | per hou|r / mile|
|00004f80| 73 20 70 65 72 20 68 6f | 75 72 2e 0a 31 20 2d 20 |s per ho|ur..1 - |
|00004f90| 73 71 75 61 72 65 20 72 | 6f 6f 74 20 6f 66 20 32 |square r|oot of 2|
|00004fa0| 2e 0a 32 20 2d 20 65 2e | 0a 33 20 2d 20 70 69 2e |..2 - e.|.3 - pi.|
|00004fb0| 0a 34 20 2d 20 63 6d 73 | 20 2f 20 69 6e 63 68 65 |.4 - cms| / inche|
|00004fc0| 73 2e 0a 35 20 2d 20 64 | 65 67 72 65 65 73 20 69 |s..5 - d|egrees i|
|00004fd0| 6e 20 61 20 72 61 64 69 | 61 6e 2e 0a 34 20 2d 20 |n a radi|an..4 - |
|00004fe0| 32 20 5e 20 32 30 2e 0a | 36 20 2d 20 67 6d 73 20 |2 ^ 20..|6 - gms |
|00004ff0| 2f 20 6f 7a 2e 0a 38 20 | 2d 20 6b 69 6c 6f 6a 6f |/ oz..8 |- kilojo|
|00005000| 75 6c 65 73 20 2f 20 42 | 72 69 74 69 73 68 20 74 |ules / B|ritish t|
|00005010| 68 65 72 6d 61 6c 73 2e | 0a 39 20 2d 20 63 75 62 |hermals.|.9 - cub|
|00005020| 69 63 20 63 6d 73 20 2f | 20 63 75 62 69 63 20 69 |ic cms /| cubic i|
|00005030| 6e 63 68 65 73 2e 0a 5f | 42 49 4e 20 5f 0a 43 68 |nches.._|BIN _.Ch|
|00005040| 61 6e 67 65 20 62 61 73 | 65 20 74 6f 20 62 69 6e |ange bas|e to bin|
|00005050| 61 72 79 20 20 20 20 20 | 20 20 28 20 42 20 29 2e |ary | ( B ).|
|00005060| 0a 0a 54 68 65 20 64 69 | 73 70 6c 61 79 20 76 61 |..The di|splay va|
|00005070| 6c 75 65 20 69 73 20 73 | 68 6f 77 6e 20 69 6e 0a |lue is s|hown in.|
|00005080| 62 69 6e 61 72 79 2e 20 | 41 20 6d 61 78 69 6d 75 |binary. |A maximu|
|00005090| 6d 20 6f 66 20 33 32 20 | 64 69 67 69 74 73 0a 61 |m of 32 |digits.a|
|000050a0| 72 65 20 61 6c 6c 6f 77 | 65 64 2e 0a 5f 4d 45 4d |re allow|ed.._MEM|
|000050b0| 20 5f 0a 54 6f 67 67 6c | 65 20 72 65 67 69 73 74 | _.Toggl|e regist|
|000050c0| 65 72 20 77 69 6e 64 6f | 77 20 20 20 20 20 20 28 |er windo|w (|
|000050d0| 20 4d 20 29 2e 0a 0a 44 | 69 73 70 6c 61 79 20 70 | M )...D|isplay p|
|000050e0| 6f 70 75 70 20 77 69 6e | 64 6f 77 20 77 69 74 68 |opup win|dow with|
|000050f0| 20 74 68 65 0a 76 61 6c | 75 65 73 20 6f 66 20 74 | the.val|ues of t|
|00005100| 68 65 20 74 65 6e 20 6d | 65 6d 6f 72 79 0a 72 65 |he ten m|emory.re|
|00005110| 67 69 73 74 65 72 73 20 | 67 69 76 65 6e 20 69 6e |gisters |given in|
|00005120| 20 74 68 65 20 63 75 72 | 72 65 6e 74 0a 62 61 73 | the cur|rent.bas|
|00005130| 65 2c 20 74 6f 20 74 68 | 65 20 63 75 72 72 65 6e |e, to th|e curren|
|00005140| 74 20 61 63 63 75 72 61 | 63 79 2e 0a 5f 4f 43 54 |t accura|cy.._OCT|
|00005150| 20 5f 0a 43 68 61 6e 67 | 65 20 62 61 73 65 20 74 | _.Chang|e base t|
|00005160| 6f 20 6f 63 74 61 6c 20 | 20 20 20 20 20 20 20 28 |o octal | (|
|00005170| 20 4f 20 29 2e 0a 0a 54 | 68 65 20 64 69 73 70 6c | O )...T|he displ|
|00005180| 61 79 20 76 61 6c 75 65 | 20 69 73 20 73 68 6f 77 |ay value| is show|
|00005190| 6e 20 69 6e 0a 6f 63 74 | 61 6c 2e 20 41 20 6d 61 |n in.oct|al. A ma|
|000051a0| 78 69 6d 75 6d 20 6f 66 | 20 31 35 20 64 69 67 69 |ximum of| 15 digi|
|000051b0| 74 73 0a 61 72 65 20 61 | 6c 6c 6f 77 65 64 2e 0a |ts.are a|llowed..|
|000051c0| 5f 44 20 20 20 5f 0a 48 | 65 78 20 44 20 28 64 65 |_D _.H|ex D (de|
|000051d0| 63 69 6d 61 6c 20 31 33 | 29 20 20 20 20 20 20 20 |cimal 13|) |
|000051e0| 20 20 20 28 20 64 20 29 | 2e 0a 0a 54 68 69 73 20 | ( d )|...This |
|000051f0| 73 65 6c 65 63 74 69 6f | 6e 20 69 73 20 76 61 6c |selectio|n is val|
|00005200| 69 64 20 6f 6e 6c 79 20 | 69 66 0a 74 68 65 20 63 |id only |if.the c|
|00005210| 75 72 72 65 6e 74 20 62 | 61 73 65 20 69 73 20 68 |urrent b|ase is h|
|00005220| 65 78 69 64 65 63 69 6d | 61 6c 2e 0a 5f 44 45 43 |exidecim|al.._DEC|
|00005230| 20 5f 0a 43 68 61 6e 67 | 65 20 62 61 73 65 20 74 | _.Chang|e base t|
|00005240| 6f 20 64 65 63 69 6d 61 | 6c 20 20 20 20 20 20 28 |o decima|l (|
|00005250| 20 44 20 29 2e 0a 0a 54 | 68 65 20 64 69 73 70 6c | D )...T|he displ|
|00005260| 61 79 20 76 61 6c 75 65 | 20 69 73 20 73 68 6f 77 |ay value| is show|
|00005270| 6e 20 69 6e 0a 64 65 63 | 69 6d 61 6c 2e 20 54 68 |n in.dec|imal. Th|
|00005280| 69 73 20 69 73 20 74 68 | 65 20 64 65 66 61 75 6c |is is th|e defaul|
|00005290| 74 0a 62 61 73 65 2e 20 | 41 20 6d 61 78 69 6d 75 |t.base. |A maximu|
|000052a0| 6d 20 6f 66 20 31 32 20 | 64 69 67 69 74 73 0a 61 |m of 12 |digits.a|
|000052b0| 72 65 20 61 6c 6c 6f 77 | 65 64 2e 0a 5f 45 20 20 |re allow|ed.._E |
|000052c0| 20 5f 0a 48 65 78 20 45 | 20 28 64 65 63 69 6d 61 | _.Hex E| (decima|
|000052d0| 6c 20 31 34 29 20 20 20 | 20 20 20 20 20 20 20 28 |l 14) | (|
|000052e0| 20 65 20 29 2e 0a 0a 54 | 68 69 73 20 73 65 6c 65 | e )...T|his sele|
|000052f0| 63 74 69 6f 6e 20 69 73 | 20 76 61 6c 69 64 20 6f |ction is| valid o|
|00005300| 6e 6c 79 20 69 66 0a 74 | 68 65 20 63 75 72 72 65 |nly if.t|he curre|
|00005310| 6e 74 20 62 61 73 65 20 | 69 73 20 68 65 78 69 64 |nt base |is hexid|
|00005320| 65 63 69 6d 61 6c 2e 0a | 5f 48 45 58 20 5f 0a 43 |ecimal..|_HEX _.C|
|00005330| 68 61 6e 67 65 20 62 61 | 73 65 20 74 6f 20 68 65 |hange ba|se to he|
|00005340| 78 69 64 65 63 69 6d 61 | 6c 20 20 28 20 48 20 29 |xidecima|l ( H )|
|00005350| 2e 0a 20 0a 54 68 65 20 | 64 69 73 70 6c 61 79 20 |.. .The |display |
|00005360| 76 61 6c 75 65 20 69 73 | 20 73 68 6f 77 6e 20 69 |value is| shown i|
|00005370| 6e 0a 68 65 78 69 64 65 | 63 69 6d 61 6c 2e 20 41 |n.hexide|cimal. A|
|00005380| 20 6d 61 78 69 6d 75 6d | 20 6f 66 20 31 32 0a 64 | maximum| of 12.d|
|00005390| 69 67 69 74 73 20 61 72 | 65 20 61 6c 6c 6f 77 65 |igits ar|e allowe|
|000053a0| 64 2e 0a 5f 46 20 20 20 | 5f 0a 48 65 78 20 46 20 |d.._F |_.Hex F |
|000053b0| 28 64 65 63 69 6d 61 6c | 20 31 35 29 20 20 20 20 |(decimal| 15) |
|000053c0| 20 20 20 20 20 20 28 20 | 66 20 29 2e 0a 0a 54 68 | ( |f )...Th|
|000053d0| 69 73 20 73 65 6c 65 63 | 74 69 6f 6e 20 69 73 20 |is selec|tion is |
|000053e0| 76 61 6c 69 64 20 6f 6e | 6c 79 20 69 66 0a 74 68 |valid on|ly if.th|
|000053f0| 65 20 63 75 72 72 65 6e | 74 20 62 61 73 65 20 69 |e curren|t base i|
|00005400| 73 20 68 65 78 69 64 65 | 63 69 6d 61 6c 2e 0a 5f |s hexide|cimal.._|
|00005410| 46 49 58 20 5f 0a 46 69 | 78 65 64 20 4e 6f 74 61 |FIX _.Fi|xed Nota|
|00005420| 74 69 6f 6e 20 20 20 20 | 20 20 20 20 20 20 20 20 |tion | |
|00005430| 20 28 20 5e 6e 20 29 2e | 0a 0a 4e 75 6d 65 72 69 | ( ^n ).|..Numeri|
|00005440| 63 61 6c 20 76 61 6c 75 | 65 73 20 77 69 6c 6c 20 |cal valu|es will |
|00005450| 62 65 0a 64 69 73 70 6c | 61 79 65 64 20 69 6e 20 |be.displ|ayed in |
|00005460| 66 69 78 65 64 20 70 6f | 69 6e 74 0a 6e 6f 74 61 |fixed po|int.nota|
|00005470| 74 69 6f 6e 2e 20 54 68 | 69 73 20 62 75 74 74 6f |tion. Th|is butto|
|00005480| 6e 20 74 6f 67 67 6c 65 | 73 0a 62 65 74 77 65 65 |n toggle|s.betwee|
|00005490| 6e 20 66 69 78 65 64 20 | 61 6e 64 20 73 63 69 65 |n fixed |and scie|
|000054a0| 6e 74 69 66 69 63 0a 6e | 6f 74 61 74 69 6f 6e 2e |ntific.n|otation.|
|000054b0| 0a 5f 53 43 49 20 5f 0a | 53 63 69 65 6e 74 69 66 |._SCI _.|Scientif|
|000054c0| 69 63 20 6e 6f 74 61 74 | 69 6f 6e 20 20 20 20 20 |ic notat|ion |
|000054d0| 20 20 20 28 20 5e 6e 20 | 29 2e 0a 0a 4e 75 6d 65 | ( ^n |)...Nume|
|000054e0| 72 69 63 61 6c 20 76 61 | 6c 75 65 73 20 77 69 6c |rical va|lues wil|
|000054f0| 6c 20 62 65 0a 64 69 73 | 70 6c 61 79 65 64 20 69 |l be.dis|played i|
|00005500| 6e 20 73 63 69 65 6e 74 | 69 66 69 63 20 6e 6f 74 |n scient|ific not|
|00005510| 61 74 69 6f 6e 2e 0a 54 | 68 69 73 20 62 75 74 74 |ation..T|his butt|
|00005520| 6f 6e 20 74 6f 67 67 6c | 65 73 20 62 65 74 77 65 |on toggl|es betwe|
|00005530| 65 6e 0a 73 63 69 65 6e | 74 69 66 69 63 20 61 6e |en.scien|tific an|
|00005540| 64 20 66 69 78 65 64 20 | 70 6f 69 6e 74 0a 6e 6f |d fixed |point.no|
|00005550| 74 61 74 69 6f 6e 2e 0a | 5f 46 55 4e 20 5f 0a 46 |tation..|_FUN _.F|
|00005560| 75 6e 63 74 69 6f 6e 20 | 6b 65 79 20 6e 20 20 20 |unction |key n |
|00005570| 20 20 20 20 20 20 20 20 | 20 20 28 20 5e 66 20 29 | | ( ^f )|
|00005580| 2e 0a 20 0a 54 68 69 73 | 20 6d 75 73 74 20 62 65 |.. .This| must be|
|00005590| 20 66 6f 6c 6c 6f 77 65 | 64 20 62 79 20 61 20 64 | followe|d by a d|
|000055a0| 69 67 69 74 20 0a 69 6e | 20 74 68 65 20 72 61 6e |igit .in| the ran|
|000055b0| 67 65 20 30 20 2d 20 39 | 2c 20 74 6f 20 69 6e 64 |ge 0 - 9|, to ind|
|000055c0| 69 63 61 74 65 0a 77 68 | 69 63 68 20 75 73 65 72 |icate.wh|ich user|
|000055d0| 20 64 65 66 69 6e 65 64 | 20 66 75 6e 63 74 69 6f | defined| functio|
|000055e0| 6e 20 69 73 20 0a 74 6f | 20 62 65 20 70 65 72 66 |n is .to| be perf|
|000055f0| 6f 72 6d 65 64 2e 20 0a | 20 0a 54 68 65 73 65 20 |ormed. .| .These |
|00005600| 66 75 6e 63 74 69 6f 6e | 73 20 61 72 65 20 64 65 |function|s are de|
|00005610| 66 69 6e 65 64 20 69 6e | 20 61 0a 2e 63 61 6c 63 |fined in| a..calc|
|00005620| 74 6f 6f 6c 72 63 20 66 | 69 6c 65 2c 20 69 6e 20 |toolrc f|ile, in |
|00005630| 79 6f 75 72 20 68 6f 6d | 65 20 0a 64 69 72 65 63 |your hom|e .direc|
|00005640| 74 6f 72 79 2e 20 53 65 | 65 20 74 68 65 20 63 61 |tory. Se|e the ca|
|00005650| 6c 63 74 6f 6f 6c 0a 6d | 61 6e 75 61 6c 20 70 61 |lctool.m|anual pa|
|00005660| 67 65 20 66 6f 72 20 74 | 68 65 20 66 6f 72 6d 61 |ge for t|he forma|
|00005670| 74 20 6f 66 20 0a 74 68 | 69 73 20 66 69 6c 65 2e |t of .th|is file.|
|00005680| 0a 5f 26 33 32 20 5f 0a | 47 65 74 20 33 32 20 62 |._&32 _.|Get 32 b|
|00005690| 69 74 20 75 6e 73 69 67 | 6e 65 64 20 69 6e 74 20 |it unsig|ned int |
|000056a0| 20 20 20 20 28 20 5b 20 | 29 2e 0a 0a 54 68 69 73 | ( [ |)...This|
|000056b0| 20 69 73 20 61 20 6c 6f | 67 69 63 61 6c 20 66 75 | is a lo|gical fu|
|000056c0| 6e 63 74 69 6f 6e 2c 20 | 74 68 61 74 0a 77 69 6c |nction, |that.wil|
|000056d0| 6c 20 74 72 75 6e 63 61 | 74 65 20 74 68 65 20 67 |l trunca|te the g|
|000056e0| 69 76 65 6e 20 6e 75 6d | 62 65 72 20 74 6f 0a 72 |iven num|ber to.r|
|000056f0| 65 74 75 72 6e 20 61 20 | 33 32 20 62 69 74 20 75 |eturn a |32 bit u|
|00005700| 6e 73 69 67 6e 65 64 20 | 69 6e 74 65 67 65 72 2e |nsigned |integer.|
|00005710| 0a 5f 53 54 4f 20 5f 0a | 53 74 6f 72 65 20 6d 65 |._STO _.|Store me|
|00005720| 6d 6f 72 79 20 72 65 67 | 69 73 74 65 72 20 6e 20 |mory reg|ister n |
|00005730| 20 20 20 20 28 20 73 20 | 29 2e 0a 0a 54 68 69 73 | ( s |)...This|
|00005740| 20 6d 75 73 74 20 62 65 | 20 66 6f 6c 6c 6f 77 65 | must be| followe|
|00005750| 64 20 62 79 20 61 6e 0a | 61 72 69 74 68 6d 65 74 |d by an.|arithmet|
|00005760| 69 63 20 6f 70 65 72 61 | 74 69 6f 6e 20 28 61 64 |ic opera|tion (ad|
|00005770| 64 69 74 69 6f 6e 2c 0a | 73 75 62 74 72 61 63 74 |dition,.|subtract|
|00005780| 69 6f 6e 2c 20 6d 75 6c | 74 69 70 6c 69 63 61 74 |ion, mul|tiplicat|
|00005790| 69 6f 6e 20 6f 72 0a 64 | 69 76 69 73 69 6f 6e 29 |ion or.d|ivision)|
|000057a0| 2c 20 74 68 65 6e 20 61 | 20 64 69 67 69 74 20 69 |, then a| digit i|
|000057b0| 6e 20 74 68 65 0a 72 61 | 6e 67 65 20 30 20 74 6f |n the.ra|nge 0 to|
|000057c0| 20 39 20 74 6f 20 69 6e | 64 69 63 61 74 65 20 74 | 9 to in|dicate t|
|000057d0| 68 65 0a 6d 65 6d 6f 72 | 79 20 72 65 67 69 73 74 |he.memor|y regist|
|000057e0| 65 72 20 69 6e 20 77 68 | 69 63 68 20 74 6f 0a 73 |er in wh|ich to.s|
|000057f0| 74 6f 72 65 20 74 68 65 | 20 63 75 72 72 65 6e 74 |tore the| current|
|00005800| 20 64 69 73 70 6c 61 79 | 20 76 61 6c 75 65 2e 0a | display| value..|
|00005810| 54 68 65 20 61 72 69 74 | 68 6d 65 74 69 63 20 6f |The arit|hmetic o|
|00005820| 70 65 72 61 74 6f 72 20 | 69 73 0a 6f 70 74 69 6f |perator |is.optio|
|00005830| 6e 61 6c 20 69 6e 20 77 | 68 69 63 68 20 63 61 73 |nal in w|hich cas|
|00005840| 65 20 74 68 65 0a 63 75 | 72 72 65 6e 74 20 64 69 |e the.cu|rrent di|
|00005850| 73 70 6c 61 79 20 69 73 | 20 73 74 6f 72 65 64 20 |splay is| stored |
|00005860| 69 6e 20 74 68 65 0a 6d | 65 6d 6f 72 79 20 72 65 |in the.m|emory re|
|00005870| 67 69 73 74 65 72 2e 0a | 5f 26 31 36 20 5f 0a 47 |gister..|_&16 _.G|
|00005880| 65 74 20 31 36 20 62 69 | 74 20 75 6e 73 69 67 6e |et 16 bi|t unsign|
|00005890| 65 64 20 69 6e 74 20 20 | 20 20 20 28 20 5d 20 29 |ed int | ( ] )|
|000058a0| 2e 0a 0a 54 68 69 73 20 | 69 73 20 61 20 6c 6f 67 |...This |is a log|
|000058b0| 69 63 61 6c 20 66 75 6e | 63 74 69 6f 6e 2c 20 74 |ical fun|ction, t|
|000058c0| 68 61 74 0a 77 69 6c 6c | 20 74 72 75 6e 63 61 74 |hat.will| truncat|
|000058d0| 65 20 74 68 65 20 67 69 | 76 65 6e 20 6e 75 6d 62 |e the gi|ven numb|
|000058e0| 65 72 20 74 6f 0a 72 65 | 74 75 72 6e 20 61 20 31 |er to.re|turn a 1|
|000058f0| 36 20 62 69 74 20 75 6e | 73 69 67 6e 65 64 20 69 |6 bit un|signed i|
|00005900| 6e 74 65 67 65 72 2e 0a | 5f 52 43 4c 20 5f 0a 52 |nteger..|_RCL _.R|
|00005910| 65 74 72 69 65 76 65 20 | 6d 65 6d 6f 72 79 20 72 |etrieve |memory r|
|00005920| 65 67 69 73 74 65 72 20 | 6e 20 20 28 20 72 20 29 |egister |n ( r )|
|00005930| 2e 0a 0a 54 68 69 73 20 | 6d 75 73 74 20 62 65 20 |...This |must be |
|00005940| 66 6f 6c 6c 6f 77 65 64 | 20 62 79 20 61 20 64 69 |followed| by a di|
|00005950| 67 69 74 0a 69 6e 20 74 | 68 65 20 72 61 6e 67 65 |git.in t|he range|
|00005960| 20 30 20 74 6f 20 39 20 | 74 6f 20 69 6e 64 69 63 | 0 to 9 |to indic|
|00005970| 61 74 65 0a 74 68 65 20 | 6d 65 6d 6f 72 79 20 72 |ate.the |memory r|
|00005980| 65 67 69 73 74 65 72 20 | 66 72 6f 6d 20 77 68 69 |egister |from whi|
|00005990| 63 68 0a 64 61 74 61 20 | 69 73 20 74 6f 20 62 65 |ch.data |is to be|
|000059a0| 20 74 6f 20 72 65 74 72 | 69 65 76 65 64 2e 0a 5f | to retr|ieved.._|
|000059b0| 3c 20 20 20 5f 0a 4c 65 | 66 74 20 73 68 69 66 74 |< _.Le|ft shift|
|000059c0| 20 6e 20 20 20 20 20 20 | 20 20 20 20 20 20 20 20 | n | |
|000059d0| 20 20 28 20 3c 20 29 2e | 0a 0a 54 68 69 73 20 6d | ( < ).|..This m|
|000059e0| 75 73 74 20 62 65 20 66 | 6f 6c 6c 6f 77 65 64 20 |ust be f|ollowed |
|000059f0| 62 79 20 61 20 64 69 67 | 69 74 0a 69 6e 20 74 68 |by a dig|it.in th|
|00005a00| 65 20 72 61 6e 67 65 20 | 30 20 74 6f 20 39 20 74 |e range |0 to 9 t|
|00005a10| 6f 20 69 6e 64 69 63 61 | 74 65 0a 68 6f 77 20 6d |o indica|te.how m|
|00005a20| 61 6e 79 20 70 6c 61 63 | 65 73 20 74 6f 20 73 68 |any plac|es to sh|
|00005a30| 69 66 74 2e 0a 5f 41 20 | 20 20 5f 0a 48 65 78 20 |ift.._A | _.Hex |
|00005a40| 41 20 28 64 65 63 69 6d | 61 6c 20 31 30 29 20 20 |A (decim|al 10) |
|00005a50| 20 20 20 20 20 20 20 20 | 28 20 61 20 29 2e 0a 0a | |( a )...|
|00005a60| 54 68 69 73 20 73 65 6c | 65 63 74 69 6f 6e 20 69 |This sel|ection i|
|00005a70| 73 20 76 61 6c 69 64 20 | 6f 6e 6c 79 20 69 66 0a |s valid |only if.|
|00005a80| 74 68 65 20 63 75 72 72 | 65 6e 74 20 62 61 73 65 |the curr|ent base|
|00005a90| 20 69 73 20 68 65 78 69 | 64 65 63 69 6d 61 6c 2e | is hexi|decimal.|
|00005aa0| 0a 5f 3e 20 20 20 5f 0a | 52 69 67 68 74 20 73 68 |._> _.|Right sh|
|00005ab0| 69 66 74 20 6e 20 20 20 | 20 20 20 20 20 20 20 20 |ift n | |
|00005ac0| 20 20 20 20 28 20 3e 20 | 29 2e 0a 20 0a 54 68 69 | ( > |).. .Thi|
|00005ad0| 73 20 6d 75 73 74 20 62 | 65 20 66 6f 6c 6c 6f 77 |s must b|e follow|
|00005ae0| 65 64 20 62 79 20 61 20 | 64 69 67 69 74 0a 69 6e |ed by a |digit.in|
|00005af0| 20 74 68 65 20 72 61 6e | 67 65 20 30 20 74 6f 20 | the ran|ge 0 to |
|00005b00| 39 20 74 6f 20 69 6e 64 | 69 63 61 74 65 0a 68 6f |9 to ind|icate.ho|
|00005b10| 77 20 6d 61 6e 79 20 70 | 6c 61 63 65 73 20 74 6f |w many p|laces to|
|00005b20| 20 73 68 69 66 74 2e 0a | 5f 42 20 20 20 5f 0a 48 | shift..|_B _.H|
|00005b30| 65 78 20 42 20 28 64 65 | 63 69 6d 61 6c 20 31 31 |ex B (de|cimal 11|
|00005b40| 29 20 20 20 20 20 20 20 | 20 20 20 28 20 62 20 29 |) | ( b )|
|00005b50| 2e 0a 0a 54 68 69 73 20 | 73 65 6c 65 63 74 69 6f |...This |selectio|
|00005b60| 6e 20 69 73 20 76 61 6c | 69 64 20 6f 6e 6c 79 20 |n is val|id only |
|00005b70| 69 66 0a 74 68 65 20 63 | 75 72 72 65 6e 74 20 62 |if.the c|urrent b|
|00005b80| 61 73 65 20 69 73 20 68 | 65 78 69 64 65 63 69 6d |ase is h|exidecim|
|00005b90| 61 6c 2e 0a 5f 25 20 20 | 20 5f 0a 50 65 72 63 65 |al.._% | _.Perce|
|00005ba0| 6e 74 61 67 65 20 20 20 | 20 20 20 20 20 20 20 20 |ntage | |
|00005bb0| 20 20 20 20 20 20 20 28 | 20 25 20 29 2e 0a 0a 54 | (| % )...T|
|00005bc0| 68 69 73 20 63 61 6c 63 | 75 6c 61 74 69 6f 6e 20 |his calc|ulation |
|00005bd0| 74 61 6b 65 73 20 74 68 | 65 20 6c 61 73 74 0a 6e |takes th|e last.n|
|00005be0| 75 6d 62 65 72 20 65 6e | 74 65 72 20 61 6e 64 20 |umber en|ter and |
|00005bf0| 74 68 65 20 6e 65 78 74 | 20 6e 75 6d 62 65 72 0a |the next| number.|
|00005c00| 67 69 76 65 6e 2c 20 61 | 6e 64 20 70 65 72 66 6f |given, a|nd perfo|
|00005c10| 72 6d 73 20 61 20 70 65 | 72 63 65 6e 74 61 67 65 |rms a pe|rcentage|
|00005c20| 0a 63 61 6c 63 75 6c 61 | 74 69 6f 6e 20 6f 6e 20 |.calcula|tion on |
|00005c30| 74 68 65 6d 2e 0a 5f 43 | 20 20 20 5f 0a 48 65 78 |them.._C| _.Hex|
|00005c40| 20 43 20 28 64 65 63 69 | 6d 61 6c 20 31 32 29 20 | C (deci|mal 12) |
|00005c50| 20 20 20 20 20 20 20 20 | 20 28 20 63 20 29 2e 0a | | ( c )..|
|00005c60| 20 0a 54 68 69 73 20 73 | 65 6c 65 63 74 69 6f 6e | .This s|election|
|00005c70| 20 69 73 20 76 61 6c 69 | 64 20 6f 6e 6c 79 20 69 | is vali|d only i|
|00005c80| 66 0a 74 68 65 20 63 75 | 72 72 65 6e 74 20 62 61 |f.the cu|rrent ba|
|00005c90| 73 65 20 69 73 20 68 65 | 78 69 64 65 63 69 6d 61 |se is he|xidecima|
|00005ca0| 6c 2e 0a 5f 63 6c 72 20 | 5f 0a 43 6c 65 61 72 20 |l.._clr |_.Clear |
|00005cb0| 64 69 73 70 6c 61 79 20 | 20 20 20 20 20 20 20 20 |display | |
|00005cc0| 20 28 20 44 65 6c 65 74 | 65 20 29 2e 0a 0a 54 68 | ( Delet|e )...Th|
|00005cd0| 69 73 20 77 69 6c 6c 20 | 63 6c 65 61 72 20 74 68 |is will |clear th|
|00005ce0| 65 20 76 61 6c 75 65 20 | 6f 66 20 74 68 65 0a 63 |e value |of the.c|
|00005cf0| 61 6c 63 75 6c 61 74 6f | 72 73 20 64 69 73 70 6c |alculato|rs displ|
|00005d00| 61 79 2e 0a 5f 62 73 70 | 20 5f 0a 45 72 61 73 65 |ay.._bsp| _.Erase|
|00005d10| 20 63 68 61 72 61 63 74 | 65 72 20 20 20 20 20 28 | charact|er (|
|00005d20| 20 42 61 63 6b 53 70 61 | 63 65 20 29 2e 0a 20 0a | BackSpa|ce ).. .|
|00005d30| 54 68 65 20 72 69 67 68 | 74 20 6d 6f 73 74 20 63 |The righ|t most c|
|00005d40| 68 61 72 61 63 74 65 72 | 20 6f 66 20 74 68 65 0a |haracter| of the.|
|00005d50| 63 75 72 72 65 6e 74 20 | 63 61 6c 63 75 6c 61 74 |current |calculat|
|00005d60| 6f 72 20 64 69 73 70 6c | 61 79 20 76 61 6c 75 65 |or displ|ay value|
|00005d70| 0a 69 73 20 72 65 6d 6f | 76 65 64 2c 20 61 6e 64 |.is remo|ved, and|
|00005d80| 20 74 68 65 20 76 61 6c | 75 65 20 6f 66 20 74 68 | the val|ue of th|
|00005d90| 65 0a 64 69 73 70 6c 61 | 79 20 69 73 20 72 65 63 |e.displa|y is rec|
|00005da0| 61 6c 63 75 6c 61 74 65 | 64 2e 20 28 4e 6f 74 65 |alculate|d. (Note|
|00005db0| 3a 0a 69 6e 74 65 72 6e | 61 6c 20 61 63 63 75 72 |:.intern|al accur|
|00005dc0| 61 63 79 20 69 73 20 6c | 6f 73 74 20 77 69 74 68 |acy is l|ost with|
|00005dd0| 0a 74 68 69 73 20 6f 70 | 65 72 61 74 69 6f 6e 2e |.this op|eration.|
|00005de0| 29 0a 5f 4f 52 20 20 5f | 0a 4c 6f 67 69 63 61 6c |)._OR _|.Logical|
|00005df0| 20 4f 52 20 20 20 20 20 | 20 20 20 20 20 20 20 20 | OR | |
|00005e00| 20 20 20 20 20 28 20 7c | 20 29 2e 0a 0a 54 68 69 | ( || )...Thi|
|00005e10| 73 20 6f 70 65 72 61 74 | 69 6f 6e 20 74 61 6b 65 |s operat|ion take|
|00005e20| 73 20 74 68 65 20 6c 61 | 73 74 0a 6e 75 6d 62 65 |s the la|st.numbe|
|00005e30| 72 20 61 6e 64 20 74 68 | 65 20 6e 65 78 74 20 6e |r and th|e next n|
|00005e40| 75 6d 62 65 72 0a 65 6e | 74 65 72 65 64 2c 20 61 |umber.en|tered, a|
|00005e50| 6e 64 20 70 65 72 66 6f | 72 6d 73 20 61 20 6c 6f |nd perfo|rms a lo|
|00005e60| 67 69 63 61 6c 0a 4f 52 | 20 6f 70 65 72 61 74 69 |gical.OR| operati|
|00005e70| 6f 6e 20 6f 6e 20 74 68 | 65 6d 2c 20 74 72 65 61 |on on th|em, trea|
|00005e80| 74 69 6e 67 0a 62 6f 74 | 68 20 6e 75 6d 62 65 72 |ting.bot|h number|
|00005e90| 73 20 61 73 20 75 6e 73 | 69 67 6e 65 64 20 6c 6f |s as uns|igned lo|
|00005ea0| 6e 67 0a 69 6e 74 65 67 | 65 72 73 2e 0a 5f 41 4e |ng.integ|ers.._AN|
|00005eb0| 44 20 5f 0a 4c 6f 67 69 | 63 61 6c 20 41 4e 44 20 |D _.Logi|cal AND |
|00005ec0| 20 20 20 20 20 20 20 20 | 20 20 20 20 20 20 20 20 | | |
|00005ed0| 28 20 26 20 29 2e 0a 0a | 54 68 69 73 20 6f 70 65 |( & )...|This ope|
|00005ee0| 72 61 74 69 6f 6e 20 74 | 61 6b 65 73 20 74 68 65 |ration t|akes the|
|00005ef0| 20 6c 61 73 74 0a 6e 75 | 6d 62 65 72 20 61 6e 64 | last.nu|mber and|
|00005f00| 20 74 68 65 20 6e 65 78 | 74 20 6e 75 6d 62 65 72 | the nex|t number|
|00005f10| 0a 65 6e 74 65 72 65 64 | 2c 20 61 6e 64 20 70 65 |.entered|, and pe|
|00005f20| 72 66 6f 72 6d 73 20 61 | 20 6c 6f 67 69 63 61 6c |rforms a| logical|
|00005f30| 0a 41 4e 44 20 6f 70 65 | 72 61 74 69 6f 6e 20 6f |.AND ope|ration o|
|00005f40| 6e 20 74 68 65 6d 2c 20 | 74 72 65 61 74 69 6e 67 |n them, |treating|
|00005f50| 0a 62 6f 74 68 20 6e 75 | 6d 62 65 72 73 20 61 73 |.both nu|mbers as|
|00005f60| 20 75 6e 73 69 67 6e 65 | 64 20 6c 6f 6e 67 0a 69 | unsigne|d long.i|
|00005f70| 6e 74 65 67 65 72 73 2e | 0a 5f 48 59 50 20 5f 0a |ntegers.|._HYP _.|
|00005f80| 48 79 70 65 72 62 6f 6c | 69 63 20 66 6c 61 67 2e |Hyperbol|ic flag.|
|00005f90| 20 20 20 20 20 20 20 20 | 20 20 20 20 28 20 68 20 | | ( h |
|00005fa0| 29 2e 0a 0a 54 68 69 73 | 20 62 75 74 74 6f 6e 20 |)...This| button |
|00005fb0| 69 73 20 61 20 74 6f 67 | 67 6c 65 20 66 6f 72 0a |is a tog|gle for.|
|00005fc0| 73 65 74 74 69 6e 67 20 | 6f 72 20 75 6e 73 65 74 |setting |or unset|
|00005fd0| 74 69 6e 67 20 74 68 65 | 0a 68 79 70 65 72 62 6f |ting the|.hyperbo|
|00005fe0| 6c 69 63 20 66 75 6e 63 | 74 69 6f 6e 20 66 6c 61 |lic func|tion fla|
|00005ff0| 67 2e 20 54 68 69 73 0a | 66 6c 61 67 20 61 66 66 |g. This.|flag aff|
|00006000| 65 63 74 73 20 53 49 4e | 2c 20 43 4f 53 20 61 6e |ects SIN|, COS an|
|00006010| 64 20 54 41 4e 0a 74 72 | 69 67 6f 6e 6f 6d 65 74 |d TAN.tr|igonomet|
|00006020| 72 69 63 61 6c 20 66 75 | 6e 63 74 69 6f 6e 73 2e |rical fu|nctions.|
|00006030| 0a 5f 53 49 4e 20 5f 0a | 53 69 6e 65 20 66 75 6e |._SIN _.|Sine fun|
|00006040| 63 74 69 6f 6e 20 20 20 | 20 20 20 20 20 20 20 20 |ction | |
|00006050| 20 20 20 28 20 5e 73 20 | 29 2e 0a 0a 52 65 74 75 | ( ^s |)...Retu|
|00006060| 72 6e 73 20 74 68 65 20 | 74 72 69 67 6f 6e 6f 6d |rns the |trigonom|
|00006070| 65 74 72 69 63 20 73 69 | 6e 65 2c 0a 61 72 63 20 |etric si|ne,.arc |
|00006080| 73 69 6e 65 2c 20 68 79 | 70 65 72 62 6f 6c 69 63 |sine, hy|perbolic|
|00006090| 20 73 69 6e 65 20 6f 72 | 0a 69 6e 76 65 72 73 65 | sine or|.inverse|
|000060a0| 20 68 79 70 65 72 62 6f | 6c 69 63 20 73 69 6e 65 | hyperbo|lic sine|
|000060b0| 20 6f 66 0a 74 68 65 20 | 63 75 72 72 65 6e 74 20 | of.the |current |
|000060c0| 76 61 6c 75 65 2c 20 64 | 65 70 65 6e 64 69 6e 67 |value, d|epending|
|000060d0| 0a 75 70 6f 6e 20 74 68 | 65 20 73 65 74 74 69 6e |.upon th|e settin|
|000060e0| 67 73 20 6f 66 20 74 68 | 65 0a 48 59 50 20 61 6e |gs of th|e.HYP an|
|000060f0| 64 20 49 4e 56 20 66 6c | 61 67 73 2e 20 54 68 65 |d INV fl|ags. The|
|00006100| 20 72 65 73 75 6c 74 0a | 69 73 20 64 69 73 70 6c | result.|is displ|
|00006110| 61 79 65 64 20 69 6e 20 | 74 68 65 20 63 75 72 72 |ayed in |the curr|
|00006120| 65 6e 74 0a 75 6e 69 74 | 73 20 28 64 65 67 72 65 |ent.unit|s (degre|
|00006130| 65 73 2c 20 72 61 64 69 | 61 6e 73 20 6f 72 0a 67 |es, radi|ans or.g|
|00006140| 72 61 64 69 65 6e 74 73 | 29 2e 0a 5f 65 5e 78 20 |radients|).._e^x |
|00006150| 5f 0a 65 20 74 6f 20 74 | 68 65 20 78 20 70 6f 77 |_.e to t|he x pow|
|00006160| 65 72 20 20 20 20 20 20 | 20 20 20 20 20 20 28 20 |er | ( |
|00006170| 7b 20 29 2e 0a 0a 52 65 | 74 75 72 6e 20 65 20 72 |{ )...Re|turn e r|
|00006180| 61 69 73 65 64 20 74 6f | 20 74 68 65 20 70 6f 77 |aised to| the pow|
|00006190| 65 72 20 6f 66 0a 74 68 | 65 20 63 75 72 72 65 6e |er of.th|e curren|
|000061a0| 74 20 64 69 73 70 6c 61 | 79 20 76 61 6c 75 65 2e |t displa|y value.|
|000061b0| 0a 5f 37 20 20 20 5f 0a | 4e 75 6d 65 72 69 63 20 |._7 _.|Numeric |
|000061c0| 37 20 20 20 20 20 20 20 | 20 20 20 20 20 20 20 20 |7 | |
|000061d0| 20 20 20 20 28 20 37 20 | 29 2e 0a 0a 54 68 69 73 | ( 7 |)...This|
|000061e0| 20 73 65 6c 65 63 74 69 | 6f 6e 20 69 73 20 69 67 | selecti|on is ig|
|000061f0| 6e 6f 72 65 64 20 69 66 | 0a 74 68 65 20 63 75 72 |nored if|.the cur|
|00006200| 72 65 6e 74 20 62 61 73 | 65 20 69 73 20 62 69 6e |rent bas|e is bin|
|00006210| 61 72 79 2e 0a 5f 31 30 | 5e 78 5f 0a 31 30 20 74 |ary.._10|^x_.10 t|
|00006220| 6f 20 74 68 65 20 78 20 | 70 6f 77 65 72 20 20 20 |o the x |power |
|00006230| 20 20 20 20 20 20 20 20 | 28 20 7d 20 29 2e 0a 0a | |( } )...|
|00006240| 52 65 74 75 72 6e 20 31 | 30 20 72 61 69 73 65 64 |Return 1|0 raised|
|00006250| 20 74 6f 20 74 68 65 20 | 70 6f 77 65 72 20 6f 66 | to the |power of|
|00006260| 0a 74 68 65 20 63 75 72 | 72 65 6e 74 20 64 69 73 |.the cur|rent dis|
|00006270| 70 6c 61 79 20 76 61 6c | 75 65 2e 0a 5f 38 20 20 |play val|ue.._8 |
|00006280| 20 5f 0a 4e 75 6d 65 72 | 69 63 20 38 20 20 20 20 | _.Numer|ic 8 |
|00006290| 20 20 20 20 20 20 20 20 | 20 20 20 20 20 20 20 28 | | (|
|000062a0| 20 38 20 29 2e 0a 0a 54 | 68 69 73 20 73 65 6c 65 | 8 )...T|his sele|
|000062b0| 63 74 69 6f 6e 20 69 73 | 20 69 67 6e 6f 72 65 64 |ction is| ignored|
|000062c0| 20 69 66 0a 74 68 65 20 | 63 75 72 72 65 6e 74 20 | if.the |current |
|000062d0| 62 61 73 65 20 69 73 20 | 6f 63 74 61 6c 20 6f 72 |base is |octal or|
|000062e0| 0a 62 69 6e 61 72 79 2e | 0a 5f 79 5e 78 20 5f 0a |.binary.|._y^x _.|
|000062f0| 79 20 74 6f 20 74 68 65 | 20 70 6f 77 65 72 20 6f |y to the| power o|
|00006300| 66 20 78 20 20 20 20 20 | 20 20 20 20 28 20 59 20 |f x | ( Y |
|00006310| 29 2e 0a 0a 54 68 65 20 | 6f 70 65 72 61 74 69 6f |)...The |operatio|
|00006320| 6e 20 74 61 6b 65 73 20 | 74 68 65 20 6c 61 73 74 |n takes |the last|
|00006330| 0a 6e 75 6d 62 65 72 20 | 61 6e 64 20 72 61 69 73 |.number |and rais|
|00006340| 65 73 20 69 74 20 74 6f | 20 74 68 65 20 70 6f 77 |es it to| the pow|
|00006350| 65 72 0a 6f 66 20 74 68 | 65 20 6e 65 78 74 20 6e |er.of th|e next n|
|00006360| 75 6d 62 65 72 20 67 69 | 76 65 6e 2e 0a 5f 39 20 |umber gi|ven.._9 |
|00006370| 20 20 5f 0a 4e 75 6d 65 | 72 69 63 20 39 20 20 20 | _.Nume|ric 9 |
|00006380| 20 20 20 20 20 20 20 20 | 20 20 20 20 20 20 20 20 | | |
|00006390| 28 20 39 20 29 2e 0a 0a | 54 68 69 73 20 73 65 6c |( 9 )...|This sel|
|000063a0| 65 63 74 69 6f 6e 20 69 | 73 20 69 67 6e 6f 72 65 |ection i|s ignore|
|000063b0| 64 20 69 66 0a 74 68 65 | 20 63 75 72 72 65 6e 74 |d if.the| current|
|000063c0| 20 62 61 73 65 20 69 73 | 20 6f 63 74 61 6c 20 6f | base is| octal o|
|000063d0| 72 0a 62 69 6e 61 72 79 | 2e 0a 5f 49 4e 54 20 5f |r.binary|.._INT _|
|000063e0| 0a 49 6e 74 65 67 65 72 | 20 70 6f 72 74 69 6f 6e |.Integer| portion|
|000063f0| 20 20 20 20 20 20 20 20 | 20 20 20 20 20 28 20 49 | | ( I|
+--------+-------------------------+-------------------------+--------+--------+
Only 25.0 KB of data is shown above.