aboutsummaryrefslogtreecommitdiff
path: root/doc/notes.v211
blob: 4e5b8e9802bd2a660b349621a787ec10751a18c6 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
413
414
415
416
417
418
419
420
421
422
423
424
425
426
427
428
429
430
431
432
433
434
435
436
437
438
439
440
441
442
443
444
445
446
447
448
449
450
451
452
453
454
455
456
457
458
459
460
461
462
463
464
465
466
467
468
469
470
471
472
473
474
475
476
477
478
479
480
481
482
483
484
485
486
487
488
489
490
491
492
493
494
495
496
497
498
499
500
501
502
503
504
505
506
507
508
509
510
511
512
513
514
515
516
517
518
519
520
521
522
523
524
525
526
527
528
529
530
531
532
533
534
535
536
537
538
539
540
541
542
543
544
545
546
547
548
549
550
551
552
553
554
555
556
557
558
559
560
561
562
563
564
565
566
567
568
569
570
571
572
573
574
575
576
577
578
579
580
581
582
583
584
585
586
587
588
589
590
591
592
593
594
595
596
597
598
599
600
601
602
603
604
605
606
607
608
609
610
611
612
613
614
615
616
617
618
619
620
621
622
623
624
625
626
627
628
629
630
631
632
633
634
635
636
637
638
639
640
641
642
643
644
645
646
647
648
649
650
651
652
653
654
655
656
657
658
659
660
661
662
663
664
665
666
667
668
669
670
671
672
673
674
675
676
677
678
679
680
681
682
683
684
685
686
687
688
689
690
691
692
693
694
695
696
697
698
699
700
701
702
703
704
705
706
707
708
709
710
711
712
713
714
715
716
717
718
719
720
721
722
723
724
725
726
727
728
729
730
731
732
733
734
735
736
737
738
739
740
741
742
743
744
745
746
747
748
749
750
751
752
753
754
755
756
757
758
759
760
761
762
763
764
765
766
767
768
769
770
771
772
773
774
775
776
777
778
779
780
781
782
783
784
785
786
787
788
789
790
791
792
793
794
795
796
797
798
799
800
801
802
803
804
805
806
807
808
809
810
811
812
813
814
815
816
817
818
819
820
821
822
823
824
825
826
827
828
829
830
831
832
833
834
835
836
837
838
839
840
841
842
843
844
845
846
847
848
849
850
851
852
853
854
855
856
857
858
859
860
861
862
863
864
865
866
867
868
869
870
871
872
873
874
875
876
877
878
879
880
881
882
883
884
885
886
887
888
889
890
891
892
893
894
895
896
897
898
899
900
901
902
903
904
905
906
907
908
909
910
911
912
913
914
915
916
917
918
919
920
921
922
923
924
925
926
927
928
929
930
931
932
933
934
935
936
937
938
939
940
941
942
943
944
945
946
947
948
949
950
951
952
953
954
955
956
957
958
959
960
961
962
963
964
965
966
967
968
969
970
971
972
973
974
975
976
977
978
979
980
981
982
983
984
985
986
987
988
989
990
991
992
993
994
995
996
997
998
999
1000
1001
1002
1003
1004
1005
1006
1007
1008
1009
1010
1011
1012
1013
1014
1015
1016
1017
1018
1019
1020
1021
1022
1023
1024
1025
1026
1027
1028
1029
1030
1031
1032
1033
1034
1035
1036
1037
1038
1039
1040
1041
1042
1043
1044
1045
1046
1047
1048
1049
1050
1051
1052
1053
1054
1055
1056
1057
1058
1059
1060
1061
1062
1063
1064
1065
1066
1067
1068
1069
1070
1071
1072
1073
1074
1075
1076
1077
1078
1079
1080
1081
1082
1083
1084
1085
1086
1087
1088
1089
1090
1091
1092
1093
1094
1095
1096
1097
1098
1099
1100
1101
1102
1103
1104
1105
1106
1107
1108
1109
1110
1111
1112
1113
1114
1115
1116
1117
1118
1119
1120
1121
1122
1123
1124
1125
1126
1127
1128
1129
1130
1131
1132
1133
1134
1135
1136
1137
1138
1139
1140
1141
1142
1143
1144
1145
1146
1147
1148
1149
1150
1151
1152
1153
1154
1155
1156
1157
1158
1159
1160
1161
1162
1163
1164
1165
1166
1167
1168
1169
1170
1171
1172
1173
1174
1175
1176
1177
1178
1179
1180
1181
1182
1183
1184
1185
1186
1187
1188
1189
1190
1191
1192
1193
1194
1195
1196
1197
1198
1199
1200
1201
1202
1203
1204
1205
1206
1207
1208
1209
1210
1211
1212
1213
1214
1215
1216
1217
1218
1219
1220
1221
1222
1223
1224
1225
1226
1227
1228
1229
1230
1231
1232
1233
1234
1235
1236
1237
1238
1239
1240
1241
1242
1243
1244
1245
1246
1247
1248
1249
1250
1251
1252
1253
1254
1255
1256
1257
1258
1259
1260
1261
1262
1263
1264
1265
1266
1267
1268
1269
1270
1271
1272
1273
1274
1275
1276
1277
1278
1279
1280
1281
1282
1283
1284
1285
1286
1287
1288
1289
1290
1291
1292
1293
1294
1295
1296
1297
1298
1299
1300
1301
1302
1303
1304
1305
1306
1307
1308
1309
1310
1311
1312
1313
1314
1315
1316
1317
1318
1319
1320
1321
1322
1323
1324
1325
1326
1327
1328
1329
1330
1331
1332
1333
1334
1335
1336
1337
1338
1339
1340
1341
1342
1343
1344
1345
1346
1347
1348
1349
1350
1351
1352
1353
1354
1355
1356
1357
1358
1359
1360
1361
1362
1363
1364
1365
1366
1367
1368
1369
1370
1371
1372
1373
1374
1375
1376
1377
1378
1379
1380
1381
1382
1383
1384
1385
1386
1387
1388
1389
1390
1391
1392
1393
1394
1395
1396
1397
1398
1399
1400
1401
1402
1403
1404
1405
1406
1407
1408
1409
1410
1411
1412
1413
1414
1415
1416
1417
1418
1419
1420
1421
1422
1423
1424
1425
1426
1427
1428
1429
1430
1431
1432
1433
1434
1435
1436
1437
1438
1439
1440
1441
1442
1443
1444
1445
1446
1447
1448
1449
1450
1451
1452
1453
1454
1455
1456
1457
1458
1459
1460
1461
1462
1463
1464
1465
1466
1467
1468
1469
1470
1471
1472
1473
1474
1475
1476
1477
1478
1479
1480
1481
1482
1483
1484
1485
1486
1487
1488
1489
1490
1491
1492
1493
1494
1495
1496
1497
1498
1499
1500
1501
1502
1503
1504
1505
1506
1507
1508
1509
1510
1511
1512
1513
1514
1515
1516
1517
1518
1519
1520
1521
1522
1523
1524
1525
1526
1527
1528
1529
1530
1531
1532
1533
1534
1535
1536
1537
1538
1539
1540
1541
1542
1543
1544
1545
1546
1547
1548
1549
1550
1551
1552
1553
1554
1555
1556
1557
1558
1559
1560
1561
1562
1563
1564
1565
1566
1567
1568
1569
1570
1571
1572
1573
1574
1575
1576
1577
1578
1579
1580
1581
1582
1583
1584
1585
1586
1587
1588
1589
1590
1591
1592
1593
1594
1595
1596
1597
1598
1599
1600
1601
1602
1603
1604
1605
1606
1607
1608
1609
1610
1611
1612
1613
1614
1615
1616
1617
1618
1619
1620
1621
1622
1623
1624
1625
1626
1627
1628
1629
1630
1631
1632
1633
1634
1635
1636
1637
1638
1639
1640
1641
1642
1643
1644
1645
1646
1647
1648
1649
1650
1651
1652
1653
1654
1655
1656
1657
1658
1659
1660
1661
1662
1663
1664
1665
1666
1667
1668
1669
1670
1671
1672
1673
1674
1675
1676
1677
1678
1679
1680
1681
1682
1683
1684
1685
1686
1687
1688
1689
1690
1691
1692
1693
1694
1695
1696
1697
1698
1699
1700
1701
1702
1703
1704
1705
1706
1707
1708
1709
1710
1711
1712
1713
1714
1715
1716
1717
1718
1719
1720
1721
1722
1723
1724
1725
1726
1727
1728
1729
1730
1731
1732
1733
1734
1735
1736
1737
1738
1739
1740
1741
1742
1743
1744
1745
1746
1747
1748
1749
1750
1751
1752
1753
1754
1755
1756
1757
1758
1759
1760
1761
1762
1763
1764
1765
1766
1767
1768
1769
1770
1771
1772
1773
1774
1775
1776
1777
1778
1779
1780
1781
1782
1783
1784
1785
1786
1787
1788
1789
1790
1791
1792
1793
1794
1795
1796
1797
1798
1799
1800
1801
1802
1803
1804
1805
1806
1807
1808
1809
1810
1811
1812
1813
1814
1815
1816
1817
1818
1819
1820
1821
1822
1823
1824
1825
1826
1827
1828
1829
1830
1831
1832
1833
1834
1835
1836
1837
1838
1839
1840
1841
1842
1843
1844
1845
1846
1847
1848
1849
1850
1851
1852
1853
1854
1855
1856
1857
1858
1859
1860
1861
1862
1863
1864
1865
1866
1867
1868
1869
1870
1871
1872
1873
1874
1875
1876
1877
1878
1879
1880
1881
1882
1883
1884
1885
1886
1887
1888
1889
1890
1891
1892
1893
1894
1895
1896
1897
1898
1899
1900
1901
1902
1903
1904
1905
1906
1907
1908
1909
1910
1911
1912
1913
1914
1915
1916
1917
1918
1919
1920
1921
1922
1923
1924
1925
1926
1927
1928
1929
1930
1931
1932
1933
1934
1935
1936
1937
1938
1939
1940
1941
1942
1943
1944
1945
1946
1947
1948
1949
1950
1951
1952
1953
1954
1955
1956
1957
1958
1959
1960
1961
1962
1963
1964
1965
1966
1967
1968
1969
1970
1971
1972
1973
1974
1975
1976
1977
1978
1979
1980
1981
1982
1983
1984
1985
1986
1987
1988
1989
1990
1991
1992
1993
1994
1995
1996
1997
1998
1999
2000
2001
2002
2003
2004
2005
2006
2007
2008
2009
2010
2011
2012
2013
2014
2015
2016
2017
2018
2019
2020
2021
2022
2023
2024
2025
2026
2027
2028
2029
2030
2031
2032
2033
2034
2035
2036
2037
2038
2039
2040
2041
2042
2043
2044
2045
2046
2047
2048
2049
2050
2051
2052
2053
2054
2055
2056
2057
2058
2059
2060
2061
2062
2063
2064
2065
2066
2067
2068
2069
2070
2071
2072
2073
2074
2075
2076
2077
2078
2079
2080
2081
2082
2083
2084
2085
2086
2087
2088
2089
2090
2091
2092
2093
2094
2095
2096
2097
2098
2099
2100
2101
2102
2103
2104
2105
2106
2107
2108
2109
2110
2111
2112
2113
2114
2115
2116
2117
2118
2119
2120
2121
2122
2123
2124
2125
2126
2127
2128
2129
2130
2131
2132
2133
2134
2135
2136
2137
2138
2139
2140
2141
2142
2143
2144
2145
2146
2147
2148
2149
2150
2151
2152
2153
2154
2155
2156
2157
2158
2159
2160
2161
2162
2163
2164
2165
2166
2167
2168
2169
2170
2171
2172
2173
2174
2175
2176
2177
2178
2179
2180
2181
2182
2183
2184
2185
2186
2187
2188
2189
2190
2191
2192
2193
2194
2195
2196
2197
2198
2199
2200
2201
2202
2203
2204
2205
2206
2207
2208
2209
2210
2211
2212
2213
2214
2215
2216
2217
2218
2219
2220
2221
2222
2223
2224
2225
2226
2227
2228
2229
2230
2231
2232
2233
2234
2235
2236
2237
2238
2239
2240
2241
2242
2243
2244
2245
2246
2247
2248
2249
2250
2251
2252
2253
2254
2255
2256
2257
2258
2259
2260
2261
2262
2263
2264
2265
2266
2267
2268
2269
2270
2271
2272
2273
2274
2275
2276
2277
2278
2279
2280
2281
2282
2283
2284
2285
2286
2287
2288
2289
2290
2291
2292
2293
2294
2295
2296
2297
2298
2299
2300
2301
2302
2303
2304
2305
2306
2307
2308
2309
2310
2311
2312
2313
2314
2315
2316
2317
2318
2319
2320
2321
2322
2323
2324
2325
2326
2327
2328
2329
2330
2331
2332
2333
2334
2335
2336
2337
2338
2339
2340
2341
2342
2343
2344
2345
2346
2347
2348
2349
2350
2351
2352
2353
2354
2355
2356
2357
2358
2359
2360
2361
2362
2363
2364
2365
2366
2367
2368
2369
2370
2371
2372
2373
2374
2375
2376
2377
2378
2379
2380
2381
2382
2383
2384
2385
2386
2387
2388
2389
2390
2391
2392
2393
2394
2395
2396
2397
2398
2399
2400
2401
2402
2403
2404
2405
2406
2407
2408
2409
2410
2411
2412
2413
2414
2415
2416
2417
2418
2419
2420
2421
2422
2423
2424
2425
2426
2427
2428
2429
2430
2431
2432
2433
2434
2435
2436
2437
2438
2439
2440
2441
2442
2443
2444
2445
2446
2447
2448
2449
2450
2451
2452
2453
2454
2455
2456
2457
2458
2459
2460
2461
2462
2463
2464
2465
2466
2467
2468
2469
2470
2471
2472
2473
2474
2475
2476
2477
2478
2479
2480
2481
2482
2483
2484
2485
2486
2487
2488
2489
2490
2491
2492
2493
2494
2495
2496
2497
2498
2499
2500
2501
2502
2503
2504
2505
2506
2507
2508
2509
2510
2511
2512
2513
2514
2515
2516
2517
2518
2519
2520
2521
2522
2523
2524
2525
2526
2527
2528
2529
2530
2531
2532
2533
2534
2535
2536
2537
2538
2539
2540
2541
2542
2543
2544
2545
2546
2547
2548
2549
2550
2551
2552
2553
2554
2555
2556
2557
2558
2559
2560
2561
2562
2563
2564
2565
2566
2567
2568
2569
2570
2571
2572
2573
2574
2575
2576
2577
2578
2579
2580
2581
2582
2583
2584
2585
2586
2587
2588
2589
2590
2591
2592
2593
2594
2595
2596
2597
2598
2599
2600
2601
2602
2603
2604
2605
2606
2607
2608
2609
2610
2611
2612
2613
2614
2615
2616
2617
2618
2619
2620
2621
2622
2623
2624
2625
2626
2627
2628
2629
2630
2631
2632
2633
2634
2635
2636
2637
2638
2639
2640
2641
2642
2643
2644
2645
2646
2647
2648
2649
2650
2651
2652
2653
2654
2655
2656
2657
2658
2659
2660
2661
2662
2663
2664
2665
2666
2667
2668
2669
2670
2671
2672
2673
2674
2675
2676
2677
2678
2679
2680
2681
2682
2683
2684
2685
2686
2687
2688
2689
2690
2691
2692
2693
2694
2695
2696
2697
2698
2699
2700
2701
2702
2703
2704
2705
2706
2707
2708
2709
2710
2711
2712
2713
2714
2715
2716
2717
2718
2719
2720
2721
2722
2723
2724
2725
2726
2727
2728
2729
2730
2731
2732
2733
2734
2735
2736
2737
2738
2739
2740
2741
2742
2743
2744
2745
2746
2747
2748
2749
2750
2751
2752
2753
2754
2755
2756
2757
2758
2759
2760
2761
2762
2763
2764
2765
2766
2767
2768
2769
2770
2771
2772
2773
2774
2775
2776
2777
2778
2779
2780
2781
2782
2783
2784
2785
2786
2787
2788
2789
2790
2791
2792
2793
2794
2795
2796
2797
2798
2799
2800
2801
2802
2803
2804
2805
2806
2807
2808
2809
2810
2811
2812
2813
2814
2815
2816
2817
2818
2819
2820
2821
2822
2823
2824
2825
2826
2827
2828
2829
2830
2831
2832
2833
2834
2835
2836
2837
2838
2839
2840
2841
2842
2843
2844
2845
2846
2847
2848
2849
2850
2851
2852
2853
2854
2855
2856
2857
2858
2859
2860
2861
2862
2863
2864
2865
2866
2867
2868
2869
2870
2871
2872
2873
2874
2875
2876
2877
2878
2879
2880
2881
2882
2883
2884
2885
2886
2887
2888
2889
2890
2891
2892
2893
2894
2895
2896
2897
2898
2899
2900
2901
2902
2903
2904
2905
2906
2907
2908
2909
2910
2911
2912
2913
2914
2915
2916
2917
2918
2919
2920
2921
2922
2923
2924
2925
2926
2927
2928
2929
2930
2931
2932
2933
2934
2935
2936
2937
2938
2939
2940
2941
2942
2943
2944
2945
2946
2947
2948
2949
2950
2951
2952
2953
2954
2955
2956
2957
2958
2959
2960
2961
2962
2963
2964
2965
2966
2967
2968
2969
2970
2971
2972
2973
2974
2975
2976
2977
2978
2979
2980
2981
2982
2983
2984
2985
2986
2987
2988
2989
2990
2991
2992
2993
2994
2995
2996
2997
2998
2999
3000
3001
3002
3003
3004
3005
3006
3007
3008
3009
3010
3011
3012
3013
3014
3015
3016
3017
3018
3019
3020
3021
3022
3023
3024
3025
3026
3027
3028
3029
3030
3031
3032
3033
3034
3035
3036
3037
3038
3039
3040
3041
3042
3043
3044
3045
3046
3047
3048
3049
3050
3051
3052
3053
3054
3055
3056
3057
3058
3059
3060
3061
3062
3063
3064
3065
3066
3067
3068
3069
3070
3071
3072
3073
3074
3075
3076
3077
3078
3079
3080
3081
3082
3083
3084
3085
3086
3087
3088
3089
3090
3091
3092
3093
3094
3095
3096
3097
3098
3099
3100
3101
3102
3103
3104
3105
3106
3107
3108
3109
3110
3111
3112
3113
3114
3115
3116
3117
3118
3119
3120
3121
3122
3123
3124
3125
3126
3127
3128
3129
3130
3131
3132
3133
3134
3135
3136
3137
3138
3139
3140
3141
3142
3143
3144
3145
3146
3147
3148
3149
3150
3151
3152
3153
3154
3155
3156
3157
3158
3159
3160
3161
3162
3163
3164
3165
3166
3167
3168
3169
3170
3171
3172
3173
3174
3175
3176
3177
3178
3179
3180
3181
3182
3183
3184
3185
3186
3187
3188
3189
3190
3191
3192
3193
3194
3195
3196
3197
3198
3199
3200
3201
3202
3203
3204
3205
3206
3207
3208
3209
3210
3211
3212
3213
3214
3215
3216
3217
3218
3219
3220
3221
3222
3223
3224
3225
3226
3227
3228
3229
3230
3231
3232
3233
3234
3235
3236
3237
3238
3239
3240
3241
3242
3243
3244
3245
3246
3247
3248
3249
3250
3251
3252
3253
3254
3255
3256
3257
3258
3259
3260
3261
3262
3263
3264
3265
3266
3267
3268
3269
3270
3271
3272
3273
3274
3275
3276
3277
3278
3279
3280
3281
3282
3283
3284
3285
3286
3287
3288
3289
3290
3291
3292
3293
3294
3295
3296
3297
3298
3299
3300
3301
3302
3303
3304
3305
3306
3307
3308
3309
3310
3311
3312
3313
3314
3315
3316
3317
3318
3319
3320
3321
3322
3323
3324
3325
3326
3327
3328
3329
3330
3331
3332
3333
3334
3335
3336
3337
3338
3339
3340
3341
3342
3343
3344
3345
3346
3347
3348
3349
3350
3351
3352
3353
3354
3355
3356
3357
3358
3359
3360
3361
3362
3363
3364
3365
3366
3367
3368
3369
3370
3371
3372
3373
3374
3375
3376
3377
3378
3379
3380
3381
3382
3383
3384
3385
3386
3387
3388
3389
3390
3391
3392
3393
3394
3395
3396
3397
3398
3399
3400
3401
3402
3403
3404
3405
3406
3407
3408
3409
3410
3411
3412
3413
3414
3415
3416
3417
3418
3419
3420
3421
3422
3423
3424
3425
3426
3427
3428
3429
3430
3431
3432
3433
3434
3435
3436
3437
3438
3439
3440
3441
3442
3443
3444
3445
3446
3447
3448
3449
3450
3451
3452
3453
3454
3455
3456
3457
3458
3459
3460
3461
3462
3463
3464
3465
3466
3467
3468
3469
3470
3471
3472
3473
3474
3475
3476
3477
3478
3479
3480
3481
3482
3483
3484
3485
3486
3487
3488
3489
3490
3491
3492
3493
3494
3495
3496
3497
3498
3499
3500
3501
3502
3503
3504
3505
3506
3507
3508
3509
3510
3511
3512
3513
3514
3515
3516
3517
3518
3519
3520
3521
3522
3523
3524
3525
3526
3527
3528
3529
3530
3531
3532
3533
3534
3535
3536
3537
3538
3539
3540
3541
3542
3543
3544
3545
3546
3547
3548
3549
3550
3551
3552
3553
3554
3555
3556
3557
3558
3559
3560
3561
3562
3563
3564
3565
3566
3567
3568
3569
3570
3571
3572
3573
3574
3575
3576
3577
3578
3579
3580
3581
3582
3583
3584
3585
3586
3587
3588
3589
3590
3591
3592
3593
3594
3595
3596
3597
3598
3599
3600
3601
3602
3603
3604
3605
3606
3607
3608
3609
3610
3611
3612
3613
3614
3615
3616
3617
3618
3619
3620
3621
3622
3623
3624
3625
3626
3627
3628
3629
3630
3631
3632
3633
3634
3635
3636
3637
3638
3639
3640
3641
3642
3643
3644
3645
3646
3647
3648
3649
3650
3651
3652
3653
3654
3655
3656
3657
3658
3659
3660
3661
3662
3663
3664
3665
3666
3667
3668
3669
3670
3671
3672
3673
3674
3675
3676
3677
3678
3679
3680
3681
3682
3683
3684
3685
3686
3687
3688
3689
3690
3691
3692
3693
3694
3695
3696
3697
3698
3699
3700
3701
3702
3703
3704
3705
3706
3707
3708
3709
3710
3711
3712
3713
3714
3715
3716
3717
3718
3719
3720
3721
3722
3723
3724
3725
3726
3727
3728
3729
3730
3731
3732
3733
3734
3735
3736
3737
3738
3739
3740
3741
3742
3743
3744
3745
3746
3747
3748
3749
3750
3751
3752
3753
3754
3755
3756
3757
3758
3759
3760
3761
3762
3763
3764
3765
3766
3767
3768
3769
3770
3771
3772
3773
3774
3775
3776
3777
3778
3779
3780
3781
3782
3783
3784
3785
3786
3787
3788
3789
3790
3791
3792
3793
3794
3795
3796
3797
3798
3799
3800
3801
3802
3803
3804
3805
3806
3807
3808
3809
3810
3811
3812
3813
3814
3815
3816
3817
3818
3819
3820
3821
3822
3823
3824
3825
3826
3827
3828
3829
3830
3831
3832
3833
3834
3835
3836
3837
3838
3839
3840
3841
3842
3843
3844
3845
3846
3847
3848
3849
3850
3851
3852
3853
3854
3855
3856
3857
3858
3859
3860
3861
3862
3863
3864
3865
3866
3867
3868
3869
3870
3871
3872
3873
3874
3875
3876
3877
3878
3879
3880
3881
3882
3883
3884
3885
3886
3887
3888
3889
3890
3891
3892
3893
3894
3895
3896
3897
3898
3899
3900
3901
3902
3903
3904
3905
3906
3907
3908
3909
3910
3911
3912
3913
3914
3915
3916
3917
3918
3919
3920
3921
3922
3923
3924
3925
3926
3927
3928
3929
3930
3931
3932
3933
3934
3935
3936
3937
3938
3939
3940
3941
3942
3943
3944
3945
3946
3947
3948
3949
3950
3951
3952
3953
3954
3955
3956
3957
3958
3959
3960
3961
3962
3963
3964
3965
3966
3967
3968
3969
3970
3971
3972
3973
3974
3975
3976
3977
3978
3979
3980
3981
3982
3983
3984
3985
3986
3987
3988
3989
3990
3991
3992
3993
3994
3995
3996
3997
3998
3999
4000
4001
4002
4003
4004
4005
4006
4007
4008
4009
4010
4011
4012
4013
4014
4015
4016
4017
4018
4019
4020
4021
4022
4023
4024
4025
4026
4027
4028
4029
4030
4031
4032
4033
4034
4035
4036
4037
4038
4039
4040
4041
4042
4043
4044
4045
4046
4047
4048
4049
4050
4051
4052
4053
4054
4055
4056
4057
4058
4059
4060
4061
4062
4063
4064
4065
4066
4067
4068
4069
4070
4071
4072
4073
4074
4075
4076
4077
4078
4079
4080
4081
4082
4083
4084
4085
4086
4087
4088
4089
4090
4091
4092
4093
4094
4095
4096
4097
4098
4099
4100
4101
4102
4103
4104
4105
4106
4107
4108
4109
4110
4111
4112
4113
4114
4115
4116
4117
4118
4119
4120
4121
4122
4123
4124
4125
4126
4127
4128
4129
4130
4131
4132
4133
4134
4135
4136
4137
4138
4139
4140
4141
4142
4143
4144
4145
4146
4147
4148
4149
4150
4151
4152
4153
4154
4155
4156
4157
4158
4159
4160
4161
4162
4163
4164
4165
4166
4167
4168
4169
4170
4171
4172
4173
4174
4175
4176
4177
4178
4179
4180
4181
4182
4183
4184
4185
4186
4187
4188
4189
4190
4191
4192
4193
4194
4195
4196
4197
4198
4199
4200
4201
4202
4203
4204
4205
4206
4207
4208
4209
4210
4211
4212
4213
4214
4215
4216
4217
4218
4219
4220
4221
4222
4223
4224
4225
4226
4227
4228
4229
4230
4231
4232
4233
4234
4235
4236
4237
4238
4239
4240
4241
4242
4243
4244
4245
4246
4247
4248
4249
4250
4251
4252
4253
4254
4255
4256
4257
4258
4259
4260
4261
4262
4263
4264
4265
4266
4267
4268
4269
4270
4271
4272
4273
4274
4275
4276
4277
4278
4279
4280
4281
4282
4283
4284
4285
4286
4287
4288
4289
4290
4291
4292
4293
4294
4295
4296
4297
4298
4299
4300
4301
4302
4303
4304
4305
4306
4307
4308
4309
4310
4311
4312
4313
4314
4315
4316
4317
4318
4319
4320
4321
4322
4323
4324
4325
4326
4327
4328
4329
4330
4331
4332
4333
4334
4335
4336
4337
4338
4339
4340
4341
4342
4343
4344
4345
4346
4347
4348
4349
4350
4351
4352
4353
4354
4355
4356
4357
4358
4359
4360
4361
4362
4363
4364
4365
4366
4367
4368
4369
4370
4371
4372
4373
4374
4375
4376
4377
4378
4379
4380
4381
4382
4383
4384
4385
4386
4387
4388
4389
4390
4391
4392
4393
4394
4395
4396
4397
4398
4399
4400
4401
4402
4403
4404
4405
4406
4407
4408
4409
4410
4411
4412
4413
4414
4415
4416
4417
4418
4419
4420
4421
4422
4423
4424
4425
4426
4427
4428
4429
4430
4431
4432
4433
4434
4435
4436
4437
4438
4439
4440
4441
4442
4443
4444
4445
4446
4447
4448
4449
4450
4451
4452
4453
4454
4455
4456
4457
4458
4459
4460
4461
4462
4463
4464
4465
4466
4467
4468
4469
4470
4471
4472
4473
4474
4475
4476
4477
4478
4479
4480
4481
4482
4483
4484
4485
4486
4487
4488
4489
4490
4491
4492
4493
4494
4495
4496
4497
4498
4499
4500
4501
4502
4503
4504
4505
4506
4507
4508
4509
4510
4511
4512
4513
4514
4515
4516
4517
4518
4519
4520
4521
4522
4523
4524
4525
4526
4527
4528
4529
4530
4531
4532
4533
4534
4535
4536
4537
4538
4539
4540
4541
4542
4543
4544
4545
4546
4547
4548
4549
4550
4551
4552
4553
4554
4555
4556
4557
4558
4559
4560
4561
4562
4563
4564
4565
4566
4567
4568
4569
4570
4571
4572
4573
4574
4575
4576
4577
4578
4579
4580
4581
4582
4583
4584
4585
4586
4587
4588
4589
4590
4591
4592
4593
4594
4595
4596
4597
4598
4599
4600
4601
4602
4603
4604
4605
4606
4607
4608
4609
4610
4611
4612
4613
4614
4615
4616
4617
4618
4619
4620
4621
4622
4623
4624
4625
4626
4627
4628
4629
4630
4631
4632
4633
4634
4635
4636
4637
4638
4639
4640
4641
4642
4643
4644
4645
4646
4647
4648
4649
4650
4651
4652
4653
4654
4655
4656
4657
4658
4659
4660
4661
4662
4663
4664
4665
4666
4667
4668
4669
4670
4671
4672
4673
4674
4675
4676
4677
4678
4679
4680
4681
4682
4683
4684
4685
4686
4687
4688
4689
4690
4691
4692
4693
4694
4695
4696
4697
4698
4699
4700
4701
4702
4703
4704
4705
4706
4707
4708
4709
4710
4711
4712
4713
4714
4715
4716
4717
4718
4719
4720
4721
4722
4723
4724
4725
4726
4727
4728
4729
4730
4731
4732
4733
4734
4735
4736
4737
4738
4739
4740
4741
4742
4743
4744
4745
4746
4747
4748
4749
4750
4751
4752
4753
4754
4755
4756
4757
4758
4759
4760
4761
4762
4763
4764
4765
4766
4767
4768
4769
4770
4771
4772
4773
4774
4775
4776
4777
4778
4779
4780
4781
4782
4783
4784
4785
4786
4787
4788
4789
4790
4791
4792
4793
4794
4795
4796
4797
4798
4799
4800
4801
4802
4803
4804
4805
4806
4807
4808
4809
4810
4811
4812
4813
4814
4815
4816
4817
4818
4819
4820
4821
4822
4823
4824
4825
4826
4827
4828
4829
4830
4831
4832
4833
4834
4835
4836
4837
4838
4839
4840
4841
4842
4843
4844
4845
4846
4847
4848
4849
4850
4851
4852
4853
4854
4855
4856
4857
4858
4859
4860
4861
4862
4863
4864
4865
4866
4867
4868
4869
4870
4871
4872
4873
4874
4875
4876
4877
4878
4879
4880
4881
4882
4883
4884
4885
4886
4887
4888
4889
4890
4891
4892
4893
4894
4895
4896
4897
4898
4899
4900
4901
4902
4903
4904
4905
4906
4907
4908
4909
4910
4911
4912
4913
4914
4915
4916
4917
4918
4919
4920
4921
4922
4923
4924
4925
4926
4927
4928
4929
4930
4931
4932
4933
4934
4935
4936
4937
4938
4939
4940
4941
4942
4943
4944
4945
4946
4947
4948
4949
4950
4951
4952
4953
4954
4955
4956
4957
4958
4959
4960
4961
4962
4963
4964
4965
4966
4967
4968
4969
4970
4971
4972
4973
4974
4975
4976
4977
4978
4979
4980
4981
4982
4983
4984
4985
4986
4987
4988
4989
4990
4991
4992
4993
4994
4995
4996
4997
4998
4999
5000
5001
5002
5003
5004
5005
5006
5007
5008
5009
5010
5011
5012
5013
5014
5015
5016
5017
5018
5019
5020
5021
5022
5023
5024
5025
5026
5027
5028
5029
5030
5031
5032
5033
5034
5035
5036
5037
5038
5039
5040
5041
5042
5043
5044
5045
5046
5047
5048
5049
5050
5051
5052
5053
5054
5055
5056
5057
5058
5059
5060
5061
5062
5063
5064
5065
5066
5067
5068
5069
5070
5071
5072
5073
5074
5075
5076
5077
5078
5079
5080
5081
5082
5083
5084
5085
5086
5087
5088
5089
5090
5091
5092
5093
5094
5095
5096
5097
5098
5099
5100
5101
5102
5103
5104
5105
5106
5107
5108
5109
5110
5111
5112
5113
5114
5115
5116
5117
5118
5119
5120
5121
5122
5123
5124
5125
5126
5127
5128
5129
5130
5131
5132
5133
5134
5135
5136
5137
5138
5139
5140
5141
5142
5143
5144
5145
5146
5147
5148
5149
5150
5151
5152
5153
5154
5155
5156
5157
5158
5159
5160
5161
5162
5163
5164
5165
5166
5167
5168
5169
5170
5171
5172
5173
5174
5175
5176
5177
5178
5179
5180
5181
5182
5183
5184
5185
5186
5187
5188
5189
5190
5191
5192
5193
5194
5195
5196
5197
5198
5199
5200
5201
5202
5203
5204
5205
5206
5207
5208
5209
5210
5211
5212
5213
5214
5215
5216
5217
5218
5219
5220
5221
5222
5223
5224
5225
5226
5227
5228
5229
5230
5231
5232
5233
5234
5235
5236
5237
5238
5239
5240
5241
5242
5243
5244
5245
5246
5247
5248
5249
5250
5251
5252
5253
5254
5255
5256
5257
5258
5259
5260
5261
5262
5263
5264
5265
5266
5267
5268
5269
5270
5271
5272
5273
5274
5275
5276
5277
5278
5279
5280
5281
5282
5283
5284
5285
5286
5287
5288
5289
5290
5291
5292
5293
5294
5295
5296
5297
5298
5299
5300
5301
5302
5303
5304
5305
5306
5307
5308
5309
5310
5311
5312
5313
5314
5315
5316
5317
5318
5319
5320
5321
5322
5323
5324
5325
5326
5327
5328
5329
5330
5331
5332
5333
5334
5335
5336
5337
5338
5339
5340
5341
5342
5343
5344
5345
5346
5347
5348
5349
5350
5351
5352
5353
5354
5355
5356
5357
5358
5359
5360
5361
5362
5363
5364
5365
5366
5367
5368
5369
5370
5371
5372
5373
5374
5375
5376
5377
5378
5379
5380
5381
5382
5383
5384
5385
5386
5387
5388
5389
5390
5391
5392
5393
5394
5395
5396
5397
5398
5399
5400
5401
5402
5403
5404
5405
5406
5407
5408
5409
5410
5411
5412
5413
5414
5415
5416
5417
5418
5419
5420
5421
5422
5423
5424
5425
5426
5427
5428
5429
5430
5431
5432
5433
5434
5435
5436
5437
5438
5439
5440
5441
5442
5443
5444
5445
5446
5447
5448
5449
5450
5451
5452
5453
5454
5455
5456
5457
5458
5459
5460
5461
5462
5463
5464
5465
5466
5467
5468
5469
5470
5471
5472
5473
5474
5475
5476
5477
5478
5479
5480
5481
5482
5483
5484
5485
5486
5487
5488
5489
5490
5491
5492
5493
5494
5495
5496
5497
5498
5499
5500
5501
5502
5503
5504
5505
5506
5507
5508
5509
5510
5511
5512
5513
5514
5515
5516
5517
5518
5519
5520
5521
5522
5523
5524
5525
5526
5527
5528
5529
5530
5531
5532
5533
5534
5535
5536
5537
5538
5539
5540
5541
5542
5543
5544
5545
5546
5547
5548
5549
5550
5551
5552
5553
5554
5555
5556
5557
5558
5559
5560
5561
5562
5563
5564
5565
5566
5567
5568
5569
5570
5571
5572
5573
5574
5575
5576
5577
5578
5579
5580
5581
5582
5583
5584
5585
5586
5587
5588
5589
5590
5591
5592
5593
5594
5595
5596
5597
5598
5599
5600
5601
5602
5603
5604
5605
5606
5607
5608
5609
5610
5611
5612
5613
5614
5615
5616
5617
5618
5619
5620
5621
5622
5623
5624
5625
5626
5627
5628
5629
5630
5631
5632
5633
5634
5635
5636
5637
5638
5639
5640
5641
5642
5643
5644
5645
5646
5647
5648
5649
5650
5651
5652
5653
5654
5655
5656
5657
5658
5659
5660
5661
5662
5663
5664
5665
5666
5667
5668
5669
5670
5671
5672
5673
5674
5675
5676
5677
5678
5679
5680
5681
5682
5683
5684
5685
5686
5687
5688
5689
5690
5691
5692
5693
5694
5695
5696
5697
5698
5699
5700
5701
5702
5703
5704
5705
5706
5707
5708
5709
5710
5711
5712
5713
5714
5715
5716
5717
5718
5719
5720
5721
5722
5723
5724
5725
5726
5727
5728
5729
5730
5731
5732
5733
5734
5735
5736
5737
5738
5739
5740
5741
5742
5743
5744
5745
5746
5747
5748
5749
5750
5751
5752
5753
5754
5755
5756
5757
5758
5759
5760
5761
5762
5763
5764
5765
5766
5767
5768
5769
5770
5771
5772
5773
5774
5775
5776
5777
5778
5779
5780
5781
5782
5783
5784
5785
5786
5787
5788
5789
5790
5791
5792
5793
5794
5795
5796
5797
5798
5799
5800
5801
5802
5803
5804
5805
5806
5807
5808
5809
5810
5811
5812
5813
5814
5815
5816
5817
5818
5819
5820
5821
5822
5823
5824
5825
5826
5827
5828
5829
5830
5831
5832
5833
5834
5835
5836
5837
5838
5839
5840
5841
5842
5843
5844
5845
5846
5847
5848
5849
5850
5851
5852
5853
5854
5855
5856
5857
5858
5859
5860
5861
5862
5863
5864
5865
5866
5867
5868
5869
5870
5871
5872
5873
5874
5875
5876
5877
5878
5879
5880
5881
5882
5883
5884
5885
5886
5887
5888
5889
5890
5891
5892
5893
5894
5895
5896
5897
5898
5899
5900
5901
5902
5903
5904
5905
5906
5907
5908
5909
5910
5911
5912
5913
5914
5915
5916
5917
5918
5919
5920
5921
5922
5923
5924
5925
5926
5927
5928
5929
5930
5931
5932
5933
5934
5935
5936
5937
5938
5939
5940
5941
5942
5943
5944
5945
5946
5947
5948
5949
5950
5951
5952
5953
5954
5955
5956
5957
5958
5959
5960
5961
5962
5963
5964
5965
5966
5967
5968
5969
5970
5971
5972
5973
5974
5975
5976
5977
5978
5979
5980
5981
5982
5983
5984
5985
5986
5987
5988
5989
5990
5991
5992
5993
5994
5995
5996
5997
5998
5999
6000
6001
6002
6003
6004
6005
6006
6007
6008
6009
6010
6011
6012
6013
6014
6015
6016
6017
6018
6019
6020
6021
6022
6023
6024
6025
6026
6027
6028
6029
6030
6031
6032
6033
6034
6035
6036
6037
6038
6039
6040
6041
6042
6043
6044
6045
6046
6047
6048
6049
6050
6051
6052
6053
6054
6055
6056
6057
6058
6059
6060
6061
6062
6063
6064
6065
6066
6067
6068
6069
6070
6071
6072
6073
6074
6075
6076
6077
6078
6079
6080
6081
6082
6083
6084
6085
6086
6087
6088
6089
6090
6091
6092
6093
6094
6095
6096
6097
6098
6099
6100
6101
6102
6103
6104
6105
6106
6107
6108
6109
6110
6111
6112
6113
6114
6115
6116
6117
6118
6119
6120
6121
6122
6123
6124
6125
6126
6127
6128
6129
6130
6131
6132
6133
6134
6135
6136
6137
6138
6139
6140
6141
6142
6143
6144
6145
6146
6147
6148
6149
6150
6151
6152
6153
6154
6155
6156
6157
6158
6159
6160
6161
6162
6163
6164
6165
6166
6167
6168
6169
6170
6171
6172
6173
6174
6175
6176
6177
6178
6179
6180
6181
6182
6183
6184
6185
6186
6187
6188
6189
6190
6191
6192
6193
6194
6195
6196
6197
6198
6199
6200
6201
6202
6203
6204
6205
6206
6207
6208
6209
6210
6211
6212
6213
6214
6215
6216
6217
6218
6219
6220
6221
6222
6223
6224
6225
6226
6227
6228
6229
6230
6231
6232
6233
6234
6235
6236
6237
6238
6239
6240
6241
6242
6243
6244
6245
6246
6247
6248
6249
6250
6251
6252
6253
6254
6255
6256
6257
6258
6259
6260
6261
6262
6263
6264
6265
6266
6267
6268
6269
6270
6271
6272
6273
6274
6275
6276
6277
6278
6279
6280
6281
6282
6283
6284
6285
6286
6287
6288
6289
6290
6291
6292
6293
6294
6295
6296
6297
6298
6299
6300
6301
6302
6303
6304
6305
6306
6307
6308
6309
6310
6311
6312
6313
6314
6315
6316
6317
6318
6319
6320
6321
6322
6323
6324
6325
6326
6327
6328
6329
6330
6331
6332
6333
6334
6335
6336
6337
6338
6339
6340
6341
6342
6343
6344
6345
6346
6347
6348
6349
6350
6351
6352
6353
6354
6355
6356
6357
6358
6359
6360
6361
6362
6363
6364
6365
6366
6367
6368
6369
6370
6371
6372
6373
6374
6375
6376
6377
6378
6379
6380
6381
6382
6383
6384
6385
6386
6387
6388
6389
6390
6391
6392
6393
6394
6395
6396
6397
6398
6399
6400
6401
6402
6403
6404
6405
6406
6407
6408
6409
6410
6411
6412
6413
6414
6415
6416
6417
6418
6419
6420
6421
6422
6423
6424
6425
6426
6427
6428
6429
6430
6431
6432
6433
6434
6435
6436
6437
6438
6439
6440
6441
6442
6443
6444
6445
6446
6447
6448
6449
6450
6451
6452
6453
6454
6455
6456
6457
6458
6459
6460
6461
6462
6463
6464
6465
6466
6467
6468
6469
6470
6471
6472
6473
6474
6475
6476
6477
6478
6479
6480
6481
6482
6483
6484
6485
6486
6487
6488
6489
6490
6491
6492
6493
6494
6495
6496
6497
6498
6499
6500
6501
6502
6503
6504
6505
6506
6507
6508
6509
6510
6511
6512
6513
6514
6515
6516
6517
6518
6519
6520
6521
6522
6523
6524
6525
6526
6527
6528
6529
6530
6531
6532
6533
6534
6535
6536
6537
6538
6539
6540
6541
6542
6543
6544
6545
6546
6547
6548
6549
6550
6551
6552
6553
6554
6555
6556
6557
6558
6559
6560
6561
6562
6563
6564
6565
6566
6567
6568
6569
6570
6571
6572
6573
6574
6575
6576
6577
6578
6579
6580
6581
6582
6583
6584
6585
6586
6587
6588
6589
6590
6591
6592
6593
6594
6595
6596
6597
6598
6599
6600
6601
6602
6603
6604
6605
6606
6607
6608
6609
6610
6611
6612
6613
6614
6615
6616
6617
6618
6619
6620
6621
6622
6623
6624
6625
6626
6627
6628
6629
6630
6631
6632
6633
6634
6635
6636
6637
6638
6639
6640
6641
6642
6643
6644
6645
6646
6647
6648
6649
6650
6651
6652
6653
6654
6655
6656
6657
6658
6659
6660
6661
6662
6663
6664
6665
6666
6667
6668
6669
6670
6671
6672
6673
6674
6675
6676
6677
6678
6679
6680
6681
6682
6683
6684
6685
6686
6687
6688
6689
6690
6691
6692
6693
6694
6695
6696
6697
6698
6699
6700
6701
6702
6703
6704
6705
6706
6707
6708
6709
6710
6711
6712
6713
6714
6715
6716
6717
6718
6719
6720
6721
6722
6723
6724
6725
6726
6727
6728
6729
6730
6731
6732
6733
6734
6735
6736
6737
6738
6739
6740
6741
6742
6743
6744
6745
6746
6747
6748
6749
6750
6751
6752
6753
6754
6755
6756
6757
6758
6759
6760
6761
6762
6763
6764
6765
6766
6767
6768
6769
6770
6771
6772
6773
6774
6775
6776
6777
6778
6779
6780
6781
6782
6783
6784
6785
6786
6787
6788
6789
6790
6791
6792
6793
6794
6795
6796
6797
6798
6799
6800
6801
6802
6803
6804
6805
6806
6807
6808
6809
6810
6811
6812
6813
6814
6815
6816
6817
6818
6819
6820
6821
6822
6823
6824
6825
6826
6827
6828
6829
6830
6831
6832
6833
6834
6835
6836
6837
6838
6839
6840
6841
6842
6843
6844
6845
6846
6847
6848
6849
6850
6851
6852
6853
6854
6855
6856
6857
6858
6859
6860
6861
6862
6863
6864
6865
6866
6867
6868
6869
6870
6871
6872
6873
6874
6875
6876
6877
6878
6879
6880
6881
6882
6883
6884
6885
6886
6887
6888
6889
6890
6891
6892
6893
6894
6895
6896
6897
6898
6899
6900
6901
6902
6903
6904
6905
6906
6907
6908
6909
6910
6911
6912
6913
6914
6915
6916
6917
6918
6919
6920
6921
6922
6923
6924
6925
6926
6927
6928
6929
6930
6931
6932
6933
6934
6935
6936
6937
6938
6939
6940
6941
6942
6943
6944
6945
6946
6947
6948
6949
6950
6951
6952
6953
6954
6955
6956
6957
6958
6959
6960
6961
6962
6963
6964
6965
6966
6967
6968
6969
6970
6971
6972
6973
6974
6975
6976
6977
6978
6979
6980
6981
6982
6983
6984
6985
6986
6987
6988
6989
6990
6991
6992
6993
6994
6995
6996
6997
6998
6999
7000
7001
7002
7003
7004
7005
7006
7007
7008
7009
7010
7011
7012
7013
7014
7015
7016
7017
7018
7019
7020
7021
7022
7023
7024
7025
7026
7027
7028
7029
7030
7031
7032
7033
7034
7035
7036
7037
7038
7039
7040
7041
7042
7043
7044
7045
7046
7047
7048
7049
7050
7051
7052
7053
7054
7055
7056
7057
7058
7059
7060
7061
7062
7063
7064
7065
7066
7067
7068
7069
7070
7071
7072
7073
7074
7075
7076
7077
7078
7079
7080
7081
7082
7083
7084
7085
7086
7087
7088
7089
7090
7091
7092
7093
7094
7095
7096
7097
7098
7099
7100
7101
7102
7103
7104
7105
7106
7107
7108
7109
7110
7111
7112
7113
7114
7115
7116
7117
7118
7119
7120
7121
7122
7123
7124
7125
7126
7127
7128
7129
7130
7131
7132
7133
7134
7135
7136
7137
7138
7139
7140
7141
7142
7143
7144
7145
7146
7147
7148
7149
7150
7151
7152
7153
7154
7155
7156
7157
7158
7159
7160
7161
7162
7163
7164
7165
7166
7167
7168
7169
7170
7171
7172
7173
7174
7175
7176
7177
7178
7179
7180
7181
7182
7183
7184
7185
7186
7187
7188
7189
7190
7191
7192
7193
7194
7195
7196
7197
7198
7199
7200
7201
7202
7203
7204
7205
7206
7207
7208
7209
7210
7211
7212
7213
7214
7215
7216
7217
7218
7219
7220
7221
7222
7223
7224
7225
7226
7227
7228
7229
7230
7231
7232
7233
7234
7235
7236
7237
7238
7239
7240
7241
7242
7243
7244
7245
7246
7247
7248
7249
7250
7251
7252
7253
7254
7255
7256
7257
7258
7259
7260
7261
7262
7263
7264
7265
7266
7267
7268
7269
7270
7271
7272
7273
7274
7275
7276
7277
7278
7279
7280
7281
7282
7283
7284
7285
7286
7287
7288
7289
7290
7291
7292
7293
7294
7295
7296
7297
7298
7299
7300
7301
7302
7303
7304
7305
7306
7307
7308
7309
7310
7311
7312
7313
7314
7315
7316
7317
7318
7319
7320
7321
7322
7323
7324
7325
7326
7327
7328
7329
7330
7331
7332
7333
7334
7335
7336
7337
7338
7339
7340
7341
7342
7343
7344
7345
7346
7347
7348
7349
7350
7351
7352
7353
7354
7355
7356
7357
7358
7359
7360
7361
7362
7363
7364
7365
7366
7367
7368
7369
7370
7371
7372
7373
7374
7375
7376
7377
7378
7379
7380
7381
7382
7383
7384
7385
7386
7387
7388
7389
7390
7391
7392
7393
7394
7395
7396
7397
7398
7399
7400
7401
7402
7403
7404
7405
7406
7407
7408
7409
7410
7411
7412
7413
7414
7415
7416
7417
7418
7419
7420
7421
7422
7423
7424
7425
7426
7427
7428
7429
7430
7431
7432
7433
7434
7435
7436
7437
7438
7439
7440
7441
7442
7443
7444
7445
7446
7447
7448
7449
7450
7451
7452
7453
7454
7455
7456
7457
7458
7459
7460
7461
7462
7463
7464
7465
7466
7467
7468
7469
7470
7471
7472
7473
7474
7475
7476
7477
7478
7479
7480
7481
7482
7483
7484
7485
7486
7487
7488
7489
7490
7491
7492
7493
7494
7495
7496
7497
7498
7499
7500
7501
7502
7503
7504
7505
7506
7507
7508
7509
7510
7511
7512
7513
7514
7515
7516
7517
7518
7519
7520
7521
7522
7523
7524
7525
7526
7527
7528
7529
7530
7531
7532
7533
7534
7535
7536
7537
7538
7539
7540
7541
7542
7543
7544
7545
7546
7547
7548
7549
7550
7551
7552
7553
7554
7555
7556
7557
7558
7559
7560
7561
7562
7563
7564
7565
7566
7567
7568
7569
7570
7571
7572
7573
7574
7575
7576
7577
7578
7579
7580
7581
7582
7583
7584
7585
7586
7587
7588
7589
7590
7591
7592
7593
7594
7595
7596
7597
7598
7599
7600
7601
7602
7603
7604
7605
7606
7607
7608
7609
7610
7611
7612
7613
7614
7615
7616
7617
7618
7619
7620
7621
7622
7623
7624
7625
7626
7627
7628
7629
7630
7631
7632
7633
7634
7635
7636
7637
7638
7639
7640
7641
7642
7643
7644
7645
7646
7647
7648
7649
7650
7651
7652
7653
7654
7655
7656
7657
7658
7659
7660
7661
7662
7663
7664
7665
7666
7667
7668
7669
7670
7671
7672
7673
7674
7675
7676
7677
7678
7679
7680
7681
7682
7683
7684
7685
7686
7687
7688
7689
7690
7691
7692
7693
7694
7695
7696
7697
7698
7699
7700
7701
7702
7703
7704
7705
7706
7707
7708
7709
7710
7711
7712
7713
7714
7715
7716
7717
7718
7719
7720
7721
7722
7723
7724
7725
7726
7727
7728
7729
7730
7731
7732
7733
7734
7735
7736
7737
7738
7739
7740
7741
7742
7743
7744
7745
7746
7747
7748
7749
7750
7751
7752
7753
7754
7755
7756
7757
7758
7759
7760
7761
7762
7763
7764
7765
7766
7767
7768
7769
System Notes File for IRAF Version 2.11.
Begun 12 June 1995.
-------------------------------------------

unix/hlib/motd
unix/hlib/zzsetenv.def
    Develop system version number incremented to V2.11.  (6/12)

pkg/images/geometry/t_geotran.x
pkg/images/geometry/geotran.x
pkg/images/geometry/geotimtran.x
	Fixed a bug in the buffering of the x and y coordinate surface
	interpolants which can cause a memory corruption error if, the
	nxsample or nysample parameters are > 1, and the nxblock or nyblock
	parameters are less than the x and y dimensions of the input image.
	Took the opportunity to clean up the code. (6/13/95, LED)


pkg/math/curfit/cvpower.gx
pkg/math/curfit/cvpowerr.x
pkg/math/curfit/cvpowerd.x
pkg/math/curfit/doc/curfit.hd
pkg/math/curfit/doc/curfit.men
pkg/math/curfit/doc/cvepower.hlp
	Added the new routine cvepower to the curfit math library. Cvepower
	computes the errors in the power series coefficients equivalent
	to the fitted Legendre and Chebyshev coefficients. Cvepower is
	available in both real and double precision versions. (6/13/95, LED)


pkg/images/fmedian.hlp
pkg/images/fmode.hlp
pkg/images/median.hlp
pkg/images/mode.hlp
pkg/images/fmedian.par
pkg/images/fmode.par
pkg/images/median.par
pkg/images/mode.par
pkg/images/filters/fmedian.h
pkg/images/filters/fmode.h
pkg/images/filters/median.h
pkg/images/filters/mode.h
pkg/images/filters/t_fmedian.x
pkg/images/filters/t_fmode.x
pkg/images/filters/t_median.x
pkg/images/filters/t_mode.x
pkg/images/filters/fmedian.x
pkg/images/filters/fmode.x
pkg/images/filters/median.x
pkg/images/filters/mode.x
pkg/images/filters/fmd_buf.x
pkg/images/filters/fmd_hist.x
pkg/images/filters/fmd_maxmin.x
pkg/images/filters/med_buf.x
pkg/images/filters/med_sort.x
	Added minimum and maximum good data parameters to the fmedian, fmode,
	median, and mode filtering tasks.  Removed the 64X64 kernel size limit
	in the median and mode tasks.  Replaced the common blocks with
	structures and .h files.  (6/20/95, LED)

pkg/images/frmedian.hlp
pkg/images/frmode.hlp
pkg/images/rmedian.hlp
pkg/images/rmode.hlp
pkg/images/frmedian.par
pkg/images/frmode.par
pkg/images/rmedian.par
pkg/images/rmode.par
pkg/images/filters/frmedian.h
pkg/images/filters/frmode.h
pkg/images/filters/rmedian.h
pkg/images/filters/rmode.h
pkg/images/filters/t_frmedian.x
pkg/images/filters/t_frmode.x
pkg/images/filters/t_rmedian.x
pkg/images/filters/t_rmode.x
pkg/images/filters/frmedian.x
pkg/images/filters/frmode.x
pkg/images/filters/rmedian.x
pkg/images/filters/rmode.x
pkg/images/filters/med_utils.x
	Added new ring median and modal filtering tasks frmedian, rmedian,
	frmode, and rmode to the images package.  (6/20/95, LED)

doc/ports/notes.osf1		+
	Added notes file from DEC Alpha OSF/1 port.  (6/21)

sys/fio/fioclean.x
sys/fio/stropen.x
	Two new internal routines str{set,get}mode were added to stropen.x.
	These are used to set or query the file access mode as stored for
	the string file, which represents these in a file-dependent way.
	fio_cleanup was modified to force the access mode of a string file
	to READ_ONLY before closing it during file cleanup, to prevent the
	writing of the trailing EOS when closing a string file opened for
	writing.  The latter could cause a segmentation violation if the
	string buffer was no longer in a mapped region of memory, as is
	possible if the string file is still open (i.e. not closed normally)
	following task termination when fio_cleanup is called.  This problem
	was found when testing the OSF/1 version of IRAF.  (6/21, merged from
	OSF1 revision of 6/06)

dev/termcap
	Added "lp" as an alias for "lpr".  (6/26)

dev/hosts
	Added solstice to the downtown servers (tucana,ursa,gemini,orion,bigx)
	at Ed Anderson's request (6/26 RLS)

unix/hlib/mkpkg
	Changed "mkshlib.csh" references to "./mkshlib.csh" to make the
	script more robust in cases where the user has the path screwed
	up.  (7/03)

dev/tapecap
	Added support for device mtc|mtcc for BIGX, an HPDAT drive using the
	ST driver.  Also generic device st-hpdat, the HPDAT on ST.  (7/18)

dev/hosts
	Added aten, volans, & musca to all servers, deleted vegemite (7/18 MJF)

dev/hosts
	Added soleil to all downtown server at Ed Anderson's request. (7/27 MJF)

sys/fmtio/strdic.x
	Was not ignoring leading whitespace on the string to be tested, when
	computing the length "len" of the string.  (7/31)

pkg/proto/t_wcsreset.x
        Added an error check to the mw_openim command so wcsreset can erase
        the world coordinate systems of images with wcss that it cannot
        read correctly. (1/8/95, Davis)

pkg/xtools/inlfit/incopy.gx
pkg/xtools/inlfit/incopyr.x
pkg/xtools/inlfit/incopyd.x
	Changed 4 MEMP (Memi) references to Mem$t references. (02/8/95, Davis)

dev/tapecap
	Modified gemini entry to change WangDat to an HP drive.  (8/10)

sys/fio/zzdebug.x
	Replaced the t_ndopen debug task by a more recent version.  (8/28)

lib/gio.h
sys/gio/gplcache.x
sys/gio/gctran.x
	The WCS transformation caching mechanism used in gctran was not
	reliable and could fail in some cases where the WCS was changed more
	frequently than gctran was called.  To make caching of WCS related
	information more robust a new field GP_WCSORD was added to the GIO
	descriptor.  This is set to a unique integer ordinal when a WCS is
	fixed.  If the ordinal changes any routines that cache WCS information
	should invalidate their cache (unless they cache it on the basis of
	WCSORD).  WCSORD will differ for WCS stored in different graphics
	descriptors, so testing WCSORD also does an implicit test that the
	GP has changed.  (8/28)

sys/mwcs/iwewcs.x
	Modified so that if an image contains a partial Lterm consisiting
	of an LTV but no LTM, the missing LTM will default to the identity
	matrix instead of the zero matrix (the latter causes a segvio if you
	try to invert it).  An image with a zero LTM is illegal but MWCS
	should not die with a segvio in this case.  (8/29)

sys/imio/immaky.x
sys/imio/mkpkg
	When copying an image section IMIO will call MWCS to update the Lterm
	of the output image.  This requires that it load any existing WCS
	so that it can be modified and written out to the output image.  IMIO
	was modified to put the mw_open in an iferr block, printing a warning
	message if the WCS cannot be loaded, rather than aborting the immap.
	Aborting means that all IRAF imaging tasks fails to access the image
	if it contains a WCS of a type not supported by IMIO.  (8/29)

sys/mwcs/iwgbfits.x
	The code which reads in multiline FITS strings (WATi_j etc.) would
	always read 68 characters per card.  This was changed to read at
	most 68 characters, terminating if newline, EOS, or a single closing
	quote is seen in the input data.  This allows the string on a line to
	be less than 68 characters.  It also avoids a bug seen with non-blocked
	headers where the cards may contain less than 80 characters.  (8/29)

sys/mwcs/iwpstr.x
	The final card of a multi-card string is no longer blank filled, i.e.
	the closing quote will appear at the end of the string instead of in
	column 80.  (8/30)

sys/mwcs/mwsaveim.x
	The code which puts spaces between a sequence of attribute=value
	keywords in a WCS attribute list was improved to avoid an unnecessary
	space at the end of the list (spaces are now only used between the
	members of the list).  (8/30)

sys/imio/db/impstr.x
	When writing a string valued parameter the code checks for a trailing
	quote and tries to add one if it is missing.  The closing quote is
	omitted if it would overwrite a data character - it isn't required
	when reading cards unless the string ends before column 80.  (8/30)

sys/mwcs/mwsave.x
	The DBUF offset in the save header was not being aligned to double.
	(8/30)

-------------------------------------
V2.10.4 patch 1 generated.  (8/30)

doc/rev2.hlp
	Renamed this file to rev2.txt, it is not a help file.  (9/03)

unix/boot/bootlib/osfiletype.c
	Added ".gz" to the list of "source" file types.  Also added ".fit"
	as an alias for ".fits".   (9/03)

mkpkg
noao/mkpkg
	Added entries for linux and linuz architectures.  (9/06)

unix/hlib/strip.iraf
noao/lib/strip.noao
	Replaced by updated versions, some files moved around and others
	have been added.  (9/06)

local/.cshrc
	Added "." and moved /usr/lang up in the hierarchy.  (9/21)

hlib/extern.pkg
	Added the helpdb for the finder package on gemini and ursa.  The
	package is still loaded through the nlocal package.  (10/12 RLS)

sys/mwcs/imwcs.h
	CROTA was being stored internally as an integer, causing small
	truncation errors of non-integral rotational angles.  (10/18)

dev/graphcap
dev/imtoolrc
	Added a new 8192x8192 frame buffer (imt7|imt8192).  Redefined the
	old imt7 (imt4x1) as imt19.  (11/01)

pkg/images/tv/imexamine/ierimexam.x
pkg/images/tv/imexamine/stfmeasure.x +
pkg/images/tv/imexamine/starfocus.h +
pkg/images/tv/imexamine/mkpkg
pkg/images/tv/doc/imexamine.hlp
lib/src/imexamine.key
	New FWHM estimates based on the enclosed flux and a direct
	measurement were added to the 'a' and 'r' keys.  The weights for
	the Gaussian fit were modified to reduce the influence of pixels
	outside the half-maximum radius.  The ? help and help page were
	revised to described the new output and algorithms.  (11/09)

dev/hosts
	Added 'inti' to all downtown servers.  (11/20  MJF)

pkg/images/median.par
pkg/images/rmedian.par
pkg/images/mode.par
pkg/images/rmode.par
pkg/images/fmedian.par
pkg/images/frmedian.par
pkg/images/fmode.par
pkg/images/frmode.par
pkg/images/doc/median.hlp
pkg/images/doc/rmedian.hlp
pkg/images/doc/mode.hlp
pkg/images/doc/rmode.hlp
pkg/images/doc/fmedian.hlp
pkg/images/doc/frmedian.hlp
pkg/images/doc/fmode.hlp
pkg/images/doc/frmode.hlp
pkg/images/filters/t_median.x
pkg/images/filters/t_rmedian.x
pkg/images/filters/t_mode.x
pkg/images/filters/t_rmode.x
pkg/images/filters/t_fmedian.x
pkg/images/filters/t_frmedian.x
pkg/images/filters/t_fmode.x
pkg/images/filters/t_frmode.x
	Added a verbose parameter to the median, rmedian, mode, rmode, fmedian,
	frmedian, fmode, and frmode tasks. (11/27/95, Davis)

dev/hosts
	Corrected path to irafks.e for cephus on all servers (11/30 MJF)

unix/boot/spp/xpp/xppcode.c
	Modified XPP to make keyword recognition case sensitive.  Keywords
	such as "int", "char", "procedure", etc. must be lower case to be
	recognized.  This permits macros to use the upper case versions of
	these keywords.  (12/05)

pkg/cl/debug.c
	Added INDXINCR and PUSHINDEX to the debug code.  (12/14)

pkg/cl/builtin.c
pkg/cl/compile.c
pkg/cl/debug.c
pkg/cl/exec.c
pkg/cl/grammar.y
pkg/cl/main.c
pkg/cl/opcodes.c
pkg/cl/opcodes.h
pkg/cl/prcache.c
	1. Fixed minor bugs in the CL array code which showed up on the 64bit
	DEC Alpha.  The array code had builtin assumptions about the size of
	structures stored in CL memory, but on 64 bit systems the CL stack
	and dictionary have a 64 bit memel size, rather than 32 bit.

	2. Added a new builtin "d_trace" which permits instruction and
	process tracing during execution.  Typing d_trace without any
	arguments toggles this feature.  An optional argument 0 or 1 may be
	used to disable or enable instruction tracing.  A source line trace
	feature might have been nicer, but instruction tracing should still
	be of use for tracking down bugs in scripts, or otherwise revealing
	what is going on when the CL executes a task.  (12/16)

sys/fmio/zzdebug.x
	Added a parameter to the create datafile task to allow specification
	of FM_MAXPTPAGES (max page table pages), for testing large datafiles.
	(12/18)

dev/hosts
	Added new solaris machine oso to all servers. (1/29/96 MJF)

pkg/images/imarith/imexpr.gx
	Modified imexpr so that it will accept an image name that looks like
	a number in the first few characters, but which is really an image
	name.  For example, "123.imh" or "../foo.imh".  The previous version
	of imexpr was treating any string which looked like a number in the
	first few characters as a numeric constant.  (2/8/96 LED  2/14 DCT).

dev/hosts
	Eliminated all references to /gemini and /ursa since all machines
	have been updated such that /iraf is the correct path.  Merged all
	changes from other servers to tucana so all hosts files are now
	identical, new machines added include ozzie, verdi, corondito and
	pearl.kpno.  Backups of previous files will be maintained. (2/14 MJF)

pkg/images/geometry/t_geotran.x
pkg/images/geometry/geograph.x
pkg/images/doc/geomap.hlp
         Corrected the definition of skew in the routines which, compute the
	geometric interpretation of the 6-coefficient fit, compute the
	coefficients from the geometric parameters, and in the relevant help
	pages.  (2/19/96, LED)

sys/fio/zzdebug.x
	Spiffed up the "daytime" debug/test task to permit entry of a host
	name, so that one can use this to find out what time it is at some
	site halfway around the world.   (2/23)

pkg/images/tv/imexamine/iejimexam.x
pkg/images/tv/jimexam.par
pkg/images/tv/doc/imexamine.hlp
	There were several errors in this which only showed up when using a
	world WCS.  The parameter prompt and help now indicate the initial
	sigma value is in pixels even when fitting in world coordinates.
	(2/27/96, FV)

pkg/images/tv/imexamine/iemw.x
	The inverse WCS function was incorrect and is fixed.  (2/27/96, FV)

pkg/dataio/doc/rfits.hlp
	Added a note about support for unsigned short integers to the
	rfits help page. (2/27/96, LED)

pkg/xtools/icfit/icvshow.gx
pkg/xtools/icfit/icshow.x
pkg/xtools/icfit/icerrors.gx
	All output except the tabular part of :xyshow now begins with
	the comment character.  (2/29, Valdes)

pkg/utilities/curfit.gx
	Removed repeated output and added a comment character to the table
	header line.  (2/29, Valdes)

dev/hosts
	Changed GONG machines soi/mdi to use bin.ssun after solaris upgrades.
	(3/8/96  MJF)

sys/fmio/fmio.h
sys/fmio/fmlfopen.x
sys/fmio/fmlfbwr.x
sys/fmio/fmlfbrd.x
sys/fmio/fmioextnd.x
sys/fmio/fmclose.x
	1. Changed the lfile pagemap (LF_PAGEMAP) from type short to int.
	This is entirely an internal array, created at lfile open time from
	the global pagemap, and never written out, so there should be no
	problem changing the datatype of the array.  A type short lfile
	pagemap limits the maximum datafile size by limiting the max file
	offset to 32K datafile pages.  This is not a problem for the global
	page table as the global table stores the lfile number in each PTE,
	with the offset of the PTE entry giving the associated file offset
	(page number).
	2. Increased the default lfile pagemap size and increment on
	overflow.  (3/11)

lib/qpset.h
sys/qpoe/qpoe.h
sys/qpoe/qpstati.x
sys/qpoe/qpseti.x
sys/qpoe/qpopen.x
sys/qpoe/qpmacro.x
sys/qpoe/qpbind.x
	Added a new parameter "maxptpages" (QPOE_MAXPTPAGES) to QPOE.  This
	is a datafile control parameter similar to "maxlfiles" or "pagesize".
	The pagesize and matptpages together determine the maximum datafile
	size.  In the past we have had to increase the pagesize to accomodate
	very large datafiles, but beyond a certain point it is better to
	increase the maximum page table size (maxptpages).  Since QPOE files
	can be very large it is necessary to allow control of this parameter
	from within QPOE.  (3/11)

dev/hosts
	Added Doug Geisler's machine kukita to all servers. (3/11/96  MJF)

sys/fmtio/dtoc.x
	Added some rounding to avoid printing numbers such as 12:29:60.0
	when formatting sexagesimal (HMS or MS) numbers.  (3/12)

sys/mwcs/iwewcs.x
	Modified the code which computes the CD matrix from CDELT/CROTA.
	The old code computed the diagonal (scale) terms correctly but the
	rotation terms were evidently incorrect.  The old code was based on
	the 1988 Hanisch and Wells WCS paper and the new code is based on a
	more recent paper by Mark Calabretta et. al. which supercedes the
	1988 representation.  The affect of this change should be limited
	as it only affects rotated images for which CDELT is given but no
	CD matrix is defined.  (3/13)

pkg/images/tv/src/iecolon.x
pkg/images/tv/src/starfocus.h
pkg/images/tv/src/stfmeasure.x
pkg/images/tv/src/ierimexam.x
pkg/images/tv/rimexam.par
pkg/images/doc/imexamine.hlp
lib/scr/imexamine.key
	The radial profile fitting and width measurements now have an option to
	use a Gaussian or Moffat profile model.  The model is selected by a
	new "fittype" parameter.  A new "beta" parameter may be specified as
	INDEF to be determined from the fit or have a fixed value.  The Moffat
	profile model does better in producing consistent FWHM values so
	this is the default.  (3/16, Valdes)

math/gsurfit/gsrestore.gx
math/gsurfit/gsrestorer.x
math/gsurfit/gsrestored.x
	Changed the type declaration of the xmin, xmax, ymin, ymax variables
        from real to PIXEL to avoid machine precision problems.  (3/21 Davis)

pkg/cl/builtin.c
	Modified the clprintf code to support INDEF operands.  (3/23)

pkg/images/tv/imedit/epsearch.x
pkg/images/tv/imedit/epgcur.x
	1.  The search algorithm produced incorrect results if part of the
	    aperture was off the edge (negative image coordinates).
	2.  The rounding was incorrect when part of the aperture was off the
	    edge (negative image coordinates).
	3.  A floating operand error occurs when a key is given without
	    coordinates.
	(3/26, Valdes)

pkg/plot/t_implot.x
	When the vector being plotted was constant the 'l' and 'c' keys
	selecting lines/columns from the right plot axis did not work.  The
	code was fixed for this case. (3/27, Valdes)

pkg/images/geometry/xregister/rgxfit.x
        Changed several Memr[] references to Memi[] in the rg_fit routine.
        This type conversion bug was causing a floating point error
	in the xregister task on the Dec Alpha machines if the coords file
	was defined, and could potentially cause problems on other machines.
	(Davis, April 3, 1996)

unix/os/gmttolst.c
unix/boot/bootlib/ostime.c
	Removed the type long variables gmtl, lstl and modified all calls to
	localtime() so that the argument is of type time_t.  This is standard
	for all modern systems.  Some older systems still require that the
	argument be type long, but as this is nonstandard it should be
	ifdef-ed in the source for these older systems.  (4/04 1996)

unix/hlib/libc/libc.h
	The macros Memcptr and Memiptr included a "+ 1" which shouldn't have
	been there.  The one indexing correction was already being done in
	the Memc/Memi macros and Memcptr/Memiptr take a zero indexed C pointer
	as input.  This was causing a bug in LIBC version of realloc, which
	is not used anywhere in the IRAF system code.  (4/05)

pkg/images/tv/imexamine/ierimexam.x
pkg/images/tv/imexamine/stfmeasure.x
	Fixed incorrect datatype declaration "real np" -> "int np" in various
	related places.  (4/9/96, Valdes)

unix/os/zmain.c
	Added a #ifdef SYSV conditional to change the calling sequence for
	setpgrp() for SYSV and BSD systems.  (4/24)

sys/imio/iki/plf/plfopen.x
	Fixed an imerr() call which had the wrong argument type.   (5/06)

sys/libc/realloc.c
	Modified to work when called with a null pointer.  (5/06)

sys/gio/stdgraph/stgdrawch.x
	The text drawing routines were not controlling the polyline width
	when drawing characters in software mode using polylines.  There is
	no line width attribute for graphics text and we probably don't want
	one, so the code was modified to force the line width to 1 when
	drawing software characters.  (5/10)

unix/boot/bootlib/osgetenv.c
	The envinit code calls _os_getenv to fetch the value of "pkglibs".
	This code assumes that _os_getenv returns the string argument, but
	nothing was being returned if the named environment variable was not
	found.  Changed it to return a NULL-terminated empty string in this
	case.  (5/10)

sys/etc/mkpkg
sys/etc/onentry.x
sys/etc/main.x
unix/os/zmain.c
	1. The IRAF main (irafmn) was changed to an integer function and
	modified to return an exit status.  If a task aborts and the main
	exits without running any more tasks (as when executing a task at
	the host level where only a single task is run) then the error status
	of the task is returned.  In normal use as a connected process this
	condition never occurs and the main always returns XOK as the status.

	2. Several calls to sys_panic in various etc$ routines were modified
	to ensure that a zero error code is not returned.  sys_panic returns
	the error code as the exit status of the process.

	3. The process main (zmain.c) was modified to call IRAF_MAIN as an
	integer function and to return its exit status.
	4. The call to exit() in zmain.c was changed to _exit().  (5/11)

pkg/plot/t_graph.x
pkg/plot/graph.par
pkg/plot/doc/graph.hlp
	Added parameters "ltypes" and "colors" to specify a list of line types
	and colors when doing multiple data sets.  (5/13, Valdes)

----------------------------------------
V2.10.4 patch 2 release.  (5/22 1996)

unix/boot/bootlib/envinit.c
	Fixed a typo in some code that went "printf (stderr, ...)" (should be
	fprintf), also changed following fflush to flush stderr. (5/27)

unix/boot/bootlib/vfn2osfn.c
	Deleted some unneeded semicolons from some stub routines, e.g. in
	"KI_SEND(){};" the ; should not be there.  (5/27)

unix/boot/generic/mkpkg.sh
unix/boot/mkpkg/mkpkg.sh
unix/boot/rmbin/mkpkg.sh
unix/boot/rmfiles/mkpkg.sh
unix/boot/rtar/mkpkg.sh
unix/boot/wtar/mkpkg.sh
unix/boot/spp/mkpkg.sh
unix/boot/spp/mkxc.sh
unix/boot/rpp/mkpkg.sh
unix/boot/xpp/mkpkg.sh
unix/boot/xyacc/mkpkg.sh
	Replaced HSI_CF by HSI_LF in the link line (5/28)

unix/hlib/irafuser.csh
	Added a dummy definition of HSI_LF (not used in SunOS/IRAF but is
	needed on other platforms).  (5/28)

unix/boot/rmfiles/mkpkg.sh
	Added a (char *) declaration for vfn2osfn().  (5/28)

pkg/cl/grammar.h
pkg/cl/globals.c
	Added global definitions for parse_state, proc_script, and parse_pfile
	to globals.c and modified grammar.h to define these as extern (found
	with the IRIX 5.3 port).  (6/03)

pkg/obsolete/<imcombine> -
	The old (V2.9) IMCOMBINE task was removed. (6/14 FV)

pkg/obsolete/t_fixpix.x +
pkg/obsolete/fixcol.gx +
pkg/obsolete/t_fixline.gx +
pkg/obsolete/ofixpix.par +
pkg/obsolete/doc/ofixpix.hlp +
pkg/obsolete/mkpkg
pkg/obsolete/x_obsolete.x
pkg/obsolete/obsolete.cl
pkg/obsolete/obsolete.hd
pkg/obsolete/obsolete.men
	Moved the V2.10.4 version of PROTO.FIXPIX to OBSOLETE and renamed
	it to OFIXPIX.  (6/14 FV)

pkg/proto/generic/	+
pkg/proto/imfunc.x -> generic/
pkg/proto/imrep.x -> generic/
	Added a generic directory for generic files.  The generic procedures
	imfunc.x and imrep.x are now in this directory.  (6/14 FV)

pkg/proto/t_fixpix.x
pkg/proto/fpfixpix.gx
pkg/proto/fixpix.par
pkg/proto/text2mask.par	+
pkg/proto/t_text2mask.x	+
pkg/proto/t_mask2text.x	+
pkg/proto/doc/fixpix.hlp
pkg/proto/doc/text2mask.hlp	+
pkg/proto/mkpkg
pkg/proto/x_proto.x
pkg/proto/proto.cl
pkg/proto/proto.hd
pkg/proto/proto.men
	Replaced the old version of FIXPIX by a new version that works with
	mask images.  Two new tasks were also added, TEXT2MASK and
	MASK2TEXT, that convert from the old text file description to mask
	images and back.  The MASK2TEXT task is hidden to discourage
	continued use of the text file description.  (6/14 FV)

unix/boot/spp/xc.c
	Fixed a couple bugs in the PKGENV processing code.  (7/05)

doc/ports/notes.irix		+
	Installed the notes file from the IRIX 5.3 port.  (7/07)

unix/os/irafpath.c
	Added entries for Solaris, Linux, FreeBSD.  (7/17)

unix/os/zfaloc.c
unix/os/zfiobf.c
	Changed type of lseek() to off_f.  (7/17)

unix/boot/spp/xpp/xppcode.c
	Changed warn() to a static function.   (7/17)

mkpkg
noao/mkpkg
	Added an entry for the "freebsd" architecture.  (7/17)

pkg/images/filters/median.x
	The routine mde_yefilter was being called with too many arguments.
	(7/18 LED)

pkg/xtools/inlfit/ingresults.gx
	Changed several INDEFR references to INDEF references so that INDEF
	as the correct data type (real or double) in the output .x files.
	(7/18 LED)

sys/gio/fpequald.x
sys/gio/fpequalr.x
	Backed off the tolerance slightly, from 10*EPSILON to 32*EPSILON.
	(7/25)

sys/imfort/bfio.x
	In zfaloc, the first arg to strpak was changed from fname (a Fortran
	character variable which was incorrect) to sppname.  (7/17(26))

pkg/images/imarith/icsort.gx
	There was an error in the ic_2sort routine when there are exactly
	three images that one of the explicit cases did not properly keep
	the image identifications.  See buglog 344.  (8/1 FV)

dev/hosts
	Revised the list of Kitt Peak hosts.  (8/7 RLS)

pkg/proto/fields.par
pkg/proto/doc/fields.hlp
	Changed the default lines in FIELDS to an open upper limit.  (8/22 FV)

pkg/images/tv/imexamine/stfmeasure.x
	Fixed bug in evaluation of enclosed flux profile in which the scaled
	radius was used for the gaussian subtraction stage instead of pixels.
	This does not currently affect IMEXAM because the scale is fixed
	at 1.  (8/29, FV)

unix/os/zfnbrk.c
	Modified this routine to ignore file or directory characters other
	than those it considers to be file or directory name delimiters.
	On platforms that permit it, the effect is to permit characters (such
	as + and -) in filenames other than simple identifier characters.
	There is no expectation at this point however that all IRAF code will
	permit this.  (9/03)

dev/hosts
	Updated the hosts file on all Tucson servers for rainbow, Jim
	Deveny's new Sun.  (9/10/96 jb)

pkg/system/phelp.cl
	Modified to copy the "template" argument into a local variable since
	it is referenced twice in the script.  (10/10)

sys/fio/fioclean.x
	The file descriptor was being accessed after the file had been
	closed.  (10/11)

unix/os/zfiond.c
	Added a ":<flag>" field to the ND network driver.  The only protocol
	flags currently supported are "text" and "binary".  If "text" is
	specified then the datastream is assumed to consist of byte packed
	ascii text, and the driver will automatically convert to and from
	SPP chars during i/o.  (10/29)

sys/fio/zzdebug.x
	Added a new debug task "http".  Given a hostname and a HTTPD-root
	relative file path the task will connect to the HTTP server on the
	given host and fetch the file at the given path.  The output
	consists of the HTTP/1.0 protocol header followed by a blank line
	and the contents of the requested file.  (10/29)

pkg/images/tv/wcslab/t_wcslab.x
pkg/images/tv/doc/wcslab.hlp
	Added an "overplot" option to append to a plot but with a different
	viewport.  (11/06/96 Valdes)

pkg/images/imarith/t_imcombine.x
pkg/images/imarith/icombine.gx
	Changed the error checking to catch additional errors relating to too
	many files.  (11/12/96, Valdes)

dev/hosts
	Added driftwood to all downtown servers. (11/18/96 MJF)

dev/hosts
	Updated block of KPNO hosts on solaris tree on Gemini.
	This was up to date on development system.  (11/19/96 RLS)

sys/fmtio/sscan.x
sys/fmtio/fscan.x
sys/fmtio/clscan.x
sys/fmtio/scan.com
	Modified scan.com to dimension scanbuf locally as SZ_SCANBUF instead of
	SZ_COMMAND, in the process increasing the size from 1024 to 4096.
	Modified sscan to check for overflow of the scan buffer.  (11/19)

sys/ki/ki.h
	Increased maximum network hosts in the in-core host table from 128 to
	256.  (11/21)

pkg/images/tv/imedit/epgsfit.x
pkg/images/tv/imedit/epcolon.x
pkg/images/tv/doc/imedit.hlp
pkg/images/tv/imedit/imedit.par
	Added a median background if the xorder or yorder is zero.
	(11/22/96 Valdes)

dev/hosts
	Cleaned up the hosts table: Deleted
	    adonis	  aldebaran	auriga
	    columba	  crater	irafdemo
	    libra	  noctua	octans
	    omega	  serpens	suntest
	    verdi	  vela
	Fixed path names for mytoy and scorpius (11/21/96 MJF)

pkg/images/imarith/icsetout.x
pkg/images/doc/imcombine.hlp
	A new option for computing offsets from the image WCS has been added.
	(11/30/96 Valdes)

pkg/images/tv/display/sigm2.x	+
	Added a version of the spatial interpolation routines that allows masks
	to interpolate the input across bad pixels. (12/5/96, Valdes)

pkg/images/tv/display/t_display.x
	1.  Fixed numerous problems with the coordinate system.
	2.  Fixed a bug in how ztrans=log was done.
	(12/5/96, Valdes)

pkg/images/tv/display/iishdr.x
pkg/images/tv/display/iisers.x
	Replaces SPP int -> short assignments by calls to achtiu because of
	overflow problems with some VMS fortran compilers.
	(12/6/96, Valdes as reported by Zarate)

pkg/images/tv/display/imdmapfr.x
pkg/images/tv/display/imdputwcs.x +
	Added two routines to hide knowledge of the channel structure and
	other details from the calling routines.  (12/11/96, Valdes)

dev/hosts
	Changed hohokam to ssun, updated all servers w/ master copy from
	tucana to remove hosts and fix /gemini path names. (1/7/97 MJF)

dev/hosts
	Changed the following SWN machines to bin.ssun:
	    aquarius 	    aten 	bokchoy
	    carina (new)    hedgehog 	herbie
	    inti 	    mdi 	potosi
	    soi 	    soleil
	Updated all servers. (1/15/97  MJF)

pkg/xtools/dttext.x
	Added the routine dtgetd to the text database package. (1/16/97 LED)

dev/hosts
	Changed norma to a solaris box.  (1/24/97  MJF)

unix/boot/bootlib/osfiletype.c
	Added several entries for files considered to be "source" files.
	These include .pl, .gif, .jpeg, and .tiff (.fits is already present).
	There are cases where it may make sense to include these files in
	the machine indendent source tree, e.g. for small test data files
	or for online help.  (1/11)  1997

dev/hosts
	Added George's linux box aloe to all servers.  (2/13/97  MJF)

unix/boot/spp/xpp/decl.c
unix/boot/spp/xpp/xppcode.c
	The recent change of warn() to static in xppcode.c caused a problem
	as warn is also used in decl.c.  Changed warn() back to an external
	function but changed the name to xpp_warn to avoid whatever the
	platform-specific problem was that resulted in the original fix
	(probably warn was an internal function in some platform system
	library).  (3/03)

sys/mwcs/wfmspec.x
	On line 327, changed  din=log10(in[1])  to  din=log10(din).  (3/04)

--------------------------------
Did a diff/merge of recent tucana HSI changes into the Solaris/IRAF HSI.
Replaced the "unix" directory on tucana SunOS/IRAF by the version from
Solaris/IRAF.  This HSI is supposed to work for both SunOS and Solaris
(SunOS compatibility was preserved but never tested during the Solaris/IRAF
port).  Did a bootstrap and sysgen under both SunOS and Solaris.

Mounted tucana iraf.develop as iraf.develop on Data.  tucana iraf (irafx)
is now solaris/iraf as well as sunos/iraf, they are the same thing.  One
benefit of this is that irafx is now available on solaris systems in the
building (although we do have to update the ssun binaries periodically or
it does no one any good).   A complication is that since we have to update
the ssun binaries, it is now more likely that the architecture may be set
to something other than sparc.  (3/19 1997)

local/.cshrc
local/.login
	Modified to work for both SunOS and Solaris.  (3/19)

unix/as.sparc/enbint.s
	This file from Solaris/IRAF isn't used by SunOS/IRAF, but it is
	probably better to provide it in the library than to add conditionals
	to the build files in OS.  (3/19)

unix/boot/bootlib/osfiletype.c
unix/boot/bootlib/vfn2osfn.c
unix/boot/spp/xpp/decl.c
unix/boot/spp/xpp/xppcode.c
unix/hlib/libc/kernel.h
unix/os/irafpath.c
unix/os/zfaloc.c
unix/os/zfiobf.c
unix/os/zfiomt.c
unix/os/zfiond.c
unix/os/zlocpr.c
unix/os/zzstrt.c
	Assorted minor changes to make these files work for both SunOS
	and Solaris.  (3/19)

unix/shlib/medit.c
unix/shlib/mkpkg
unix/shlib/mkpkg.sh
unix/shlib/mkshlib.sos4
unix/shlib/mkshlib.ssol
unix/shlib/mkshlib.ssol-sc34
	Various file modifications and file name changes to make shlib
	build for both SunOS and Solaris.  (3/19)

pkg/math/curfit/cvacpts.gx
pkg/math/curfit/cvacptsr.x
pkg/math/curfit/cvacptsd.x
pkg/math/curfit/doc/cvpower.hlp
pkg/math/curfit/cvpower.gx
pkg/math/curfit/cvpowerr.x
pkg/math/curfit/cvpowerd.x
	The weights computed by the WTS_CHISQ option in the routines
	cvacpts[rd] were not being forced to be positive as intended.  (3/20)

	There was an inconsistency in the way the ncoeff argument to the
	cvpower[rd] routines was being used internally. Ncoeff was intended
	to be an output argument but was being used as an input argument by
	one of the routines called by cvpower.  (3/20)

sys/mtio/mtgtyopen.x
	MTIO was modified to add support for server-specific tapecap files.
	When opening the tapecap file MTIO will now look for "tapecap.<node>"
	followed by the default "tapecap".  <node> should be the hostname
	(as used by IRAF networking) of the server hosting the tape drives
	described by the tapecap file.  For example if host "gemini" serves
	up some tape drives it's tapecap file is named "tapecap.gemini".
	If a server-specific tapecap file is not found the default "tapecap"
	(on the possibly remote server node) is used.  This feature allows
	a single IRAF installation to be shared by multiple servers.  (3/21)

dev/README
dev/tapecap.sunos		+
dev/tapecap.solaris		+
	Since the Sun/IRAF DEV is now shared by both SunOS and Solaris it
	now contains the template tapecap files for both systems.  The README
	in DEV contains some pointers on configuring tapecap and other device
	files.  (3/21)

pkg/images/tv/display.par
pkg/images/tv/display/t_display.x
pkg/images/tv/display/zscale.x
pkg/images/tv/display/sigm2.x	+
pkg/images/tv/display/maskcolor.x	+
pkg/images/tv/display/dspmmap.x	+
pkg/images/tv/display/display.h
pkg/images/tv/display/gwindow.h
pkg/images/tv/display/mkpkg
pkg/images/tv/doc/display.hlp
	1.  Improved the structure of DISPLAY.
	2.  Fixed coordinate system errors.
	3.  Added parameters to display bad pixel masks and overlay masks.
	4.  The z scaling sampling may use a pixel mask or image section.
	5.  The z scaling excludes bad pixels.
	(3/20, Valdes)

--------------------------------
The following series of revisions were made to increase the size of various
system buffers.  This included a full system reboot and recompile.  (3/24)

lib/fio.h
sys/fio/vfnmap.x
sys/fio/vfntrans.x
	Various buffer sizes affecting filename mapping were increased.
	SZ_VFNFN (max length of the root field of a VFN) went from 32 -> 127.
	SZ_OSDIR (max length of the osdir field of a VFN) from 79 -> 255.
	SZ_FFNAME, an internal filename buffer, went from 127 -> 255.
	In an unrelated change SZ_SPOOLBUF, the intial size of a spool
	buffer, was increased from 1024 to 4096.  (3/23)

unix/hlib/config.h
	1. MAX_ROOTLEN was increased from 32 to 128.  This is supposed to be the
	limit the host system places on the root portion of a filename (that
	is, only the root name, not the pathname).  Anything in the range
	128-256 is typical for unix systems today.
	2. The maximum number of open VOS files was increased from 128 -> 256.
	(3/23)

sys/fio/fntgfn.x
	SZ_PATTERN, SZ_TEMPLATE, SZ_LDIR, SZ_PATSTR were all increased,
	although so far as I know there has never been a case of pattern
	buffers overflowing.  The new limit for a pattern string is about
	1024.  (3/23)

unix/hlib/iraf.h
	SZ_FNAME went from 63 -> 255.
	SZ_PATHNAME went from 127 -> 511.
	SZ_LINE went from 161 -> 1023.
	SZ_COMMAND went from 1024 -> 2047.  (3/23)

unix/hlib/iraf.h
unix/hlib/mach.h
	MAX_EXPONENTD went from 38 (same as real) to 308, the value for
	IEEE double.  MAX_DOUBLE increased from 0.99d37 to 0.99d307.
	INDEFD was changed from 1.6d38 to 1.6d308 for IEEE systems.  (3/23)

unix/hlib/libc/libc.h
unix/hlib/libc/spp.h
	FIO_MAXFD, INDEFD, SZ_LINE, SZ_FNAME, SZ_PATHNAME, SZ_COMMAND were
	updated to agree with the SPP values.  (3/23)

sys/imio/iki/stf/stfrdhdr.x
	Unrelated STF bug fix.  stfrdhdr.x was modified to handle the case
	where datamin/datamax were not defined in the GPB, but were defined
	in the main image header.  (3/24)

unix/boot/spp/xpp/xppmain.c
	Removed a redundant SZ_PATHNAME.  (3/24)

unix/shlib/mkpkg
unix/shlib/mkshlib.sos4
	Changed the address of the shared library from 0xa000000 to 0x10000000.
	This increases the maximum available per-process dynamic memory from 
	167 MB to 268 MB (much more is possible if the process is statically
	linked).  (3/24)

unix/os/zzstrt.c
	Changed some address-related ints to unsigned just to be safe.  (3/24)

sys/etc/pagefiles.x
	Increased SZ_LONGLINE from 1024 to 4096.  At 1024 it was the same as
	the new SZ_LINE, causing a loop test to fail.  (3/25)

pkg/images/tv/rimexam.par
pkg/images/tv/doc/rimexam.par
	Changed the zero point of the magnitude scale from 30.0 to 25.0
	for the sake of consistency with other photometry tasks. (3/31, LED)

pkg/images/tv/imexamine/ierimexam.x
	The log output for 'a' or 'r' has one line per measurement as in
	previous versions.  The standard output, however, uses two lines to
	print nicely on 80 column windows.  (3/31, FV)

pkg/dataio/mkpkg
pkg/dataio/dataio.cl
pkg/dataio/dataio.hd
pkg/dataio/dataio.men
pkg/dataio/x_dataio.x
pkg/dataio/import/                  +
pkg/dataio/import.par               +
pkg/dataio/export/                  +
pkg/dataio/export.par               +
pkg/dataio/doc/import.hlp           +
pkg/dataio/doc/export.hlp           +
    	Installed the IMPORT/EXPORT task for general use.  The images database
    	used by the IMPORT task is currently defined to be stored in
	dataio$import/images.dat.   (3/31/97 MJF)

pkg/proto/proto.cl
pkg/proto/proto.men
pkg/proto/proto.hd
pkg/proto/x_proto.x
pkg/proto/mkpkg
	The tasks imalign, imcentroid, imfunction, imreplace, wcsedit, and
	wcsreset have been deleted from the proto package and moved to the
	reorganized images package. (3/31/97 LED)

lib/imhdr.h
lib/imio.h
	The sizes of the pixel file, header file, title and imhistory strings
	were increased.  Defines were added for the image header file and
	pixel file "magic' strings.  A couple fields were added relating to
	byte swapping.  IM_SWAPPED, in the image header, tells whether the
	pixels in the disk image are byte swapped.  (3/31)

sys/imio/iki/oif/imhv1.h
sys/imio/iki/oif/imhv2.h
sys/imio/iki/oif/mkpkg
sys/imio/iki/oif/oif.h
sys/imio/iki/oif/oifmkpfn.x
sys/imio/iki/oif/oifopen.x
sys/imio/iki/oif/oifopix.x
sys/imio/iki/oif/oifrdhdr.x		+
sys/imio/iki/oif/oifupdhdr.x
sys/imio/iki/oif/oifwrhdr.x		+
sys/imio/iki/oif/oifwphdr.x		-
	It was necessary to change the OIF kernel to increase the maximum
	path length for header and pixel files.  This made it necessary to
	change the disk image format, since the old format only allowed 80
	characters for the pixel file pathname.  In the process reading and
	writing the disk header was separated out from the in-memory
	header.  Support for two versions of the image and pixel file
	headers were added.  The "magic" string in the image or pixel file
	header identifies the version.  Old (version 1) image headers have
	"imhdr" at the head of the file, with the string in SPP chars.  The
	new (version 2) headers have "imhv2" as the magic string.  V2 headers
	are byte packed and machine independent.  The path limit is 255.
	(3/31)

sys/imio/immaky.x
sys/imio/imrdpx.x
sys/imio/imwrpx.x
	1. Support was added for byte swapping pixels.  With the machine
	independent V2 image header, this allows .imh images to be read on
	any node (integer) or any IEEE-compatible node (floating).  The
	pixels are written in the native swap order of the creating host,
	but the order is recorded in the IM_SWAPPED field of the image header,
	and IMIO uses this to determine whether or not the pixels need to
	be byte swapped during i/o.
	2. Minor changes to trim junk data after EOS delimited strings.
	Since the V2 headers are byte packed the string data in these headers
	can be viewed with Unix tools such as "less" and "strings".  (3/31)

	Some pointers: "strings foo.imh" (or other tools like less) can be
	used at the Unix level to look at V2 image headers.  New images are
	always written with host-native binary format pixels, so there is no
	byte swapping involved for images read and written on the same
	host.  Images can any other (IEEE) host can be read or written but
	there may be some slight overhead for byteswapping.  If the image is
	rewritten however using imcopy, the bytes will be swapped to the
	native ordering of the new host.

pkg/images/imutil/src/imheader.x
	The only change so far was to eliminate some histogram dependence,
	since this unused feature was removed from the standard IMIO in-memory
	image header.  (3/31)

dev/pix.imh
dev/pix.pix
dev/wpix.imh
	Regenerated using the V2 image format.  (3/31)

lib/imio.h
sys/imio/immapz.x
sys/imio/immaky.x
unix/hlib/zzsetenv.def
unix/hlib/login.cl
	Increased the default size of the user area (min_lenuserarea) to
	64000 (about 800 80 char cards).  There was some ambiguity about
	units for min_lenuserarea; it should be consistently chars now.
	Also increased the "padding" added to the header when creating a
	new copy of an existing image which has a large header.  (4/01)

sys/imio/immaky.x
	When the header of an old image is copied during an open-new-copy,
	IMIO now recomputes the length of the user area of the input header.
	Formerly if the header had grown since the image was opened, the
	added data could be lost in a subsquent new-copy operation.  (4/01)

sys/etc/oscmd.x
	Changed an fclobber(outfile) to fclobber(errfile).  (4/02)

sys/imfort/bfio.x
	The little Fortran-callable file i/o package BFIO used in IMFORT
	was enhanced to support writing and reading of fractional file blocks
	so that files can be any size.  The default random and sequential
	buffer sizes were increased.  In addition to the old random access
	i/o routines bfread/bfwrite there are now sequential i/o routines
	bfseek/bfrseq/bfwseq.  (4/02)

sys/imfort/mkpkg
sys/imfort/imfort.h
sys/imfort/imhv1.h		+
sys/imfort/imhv2.h		+
sys/imfort/oif.h
sys/imfort/imcrex.x
sys/imfort/imfgpfn.x
sys/imfort/imfupdhdr.x
sys/imfort/imgl1r.x
sys/imfort/imgl1s.x
sys/imfort/imgl2r.x
sys/imfort/imgl2s.x
sys/imfort/imgl3r.x
sys/imfort/imgl3s.x
sys/imfort/imgs1r.x
sys/imfort/imgs1s.x
sys/imfort/imgs2r.x
sys/imfort/imgs2s.x
sys/imfort/imgs3r.x
sys/imfort/imgs3s.x
sys/imfort/imopnx.x
sys/imfort/impl1r.x
sys/imfort/impl1s.x
sys/imfort/impl2r.x
sys/imfort/impl2s.x
sys/imfort/impl3r.x
sys/imfort/impl3s.x
sys/imfort/imps1r.x
sys/imfort/imps1s.x
sys/imfort/imps2r.x
sys/imfort/imps2s.x
sys/imfort/imps3r.x
sys/imfort/imps3s.x
sys/imfort/imrdhdr.x		+
sys/imfort/imswap.x		+
sys/imfort/imwpix.x		+
sys/imfort/imwrhdr.x		+
	1. IMFORT was brought up to date with IMIO to read and write the new
	version 2 ".imh" images.  As with IMIO, the old V1 format is still
	supported but new images are written using the new machine independent
	V2 format.
	2. Image headers can now be any size (the old IMFORT had a very
	strict limit on the image header size).  Since BFIO now writes partial
	blocks, headers are no longer blocked out to 32768 bytes.
	3. "min_lenuserarea" is now supported as for IMIO (since IMFORT is
	host level it must be defined in the host environment).  The builtin
	default header buffer is 64000 chars, which is about 800 card images.
	(4/02)

sys/imfort/mii.x		+
	A version of the MII routines mii{read,write}[silrc] modified to
	use BFIO was added to IMFORT.  These are used to read and write the
	machine independent headers.  (4/02)

dev/hosts
	Aliased 'kf' for kingfisher at Al Fowler's request (4/3 MJF)

lib/qpioset.h
lib/syserrmsg
sys/qpoe/qpio.h
sys/qpoe/qpoe.h
sys/qpoe/qpiogetev.x
sys/qpoe/qpiogetfil.x
sys/qpoe/qpiomkidx.x
sys/qpoe/qpioopen.x
sys/qpoe/qpioparse.x
sys/qpoe/qpiorpix.gx
sys/qpoe/qpioseti.x
sys/qpoe/qpiostati.x
sys/qpoe/qpiosync.x
	QPOE was modified to allow event coordinate (X,Y) key fields to be
	of type int as well as short.  All event handling code will now
	accept either type.  Keys may be specified using "i" as the field
	type as well as "s", e.g. "key=(i10,s14)".  X and Y do not have to
	be the same type.  There should be no significant CPU runtime
	penalty, although obviously events with integer coordinate fields
	will mean larger event files (file i/o times will be affected
	accordingly).  (4/03)

lib/qpioset.h
lib/qpset.h
sys/qpoe/QPOE.hlp
sys/qpoe/README
sys/qpoe/qpcopyf.x
sys/qpoe/qpio.h
sys/qpoe/qpiogetfil.x
sys/qpoe/qpiolwcs.x
sys/qpoe/qpioopen.x
sys/qpoe/qpioparse.x
sys/qpoe/qpioseti.x
sys/qpoe/qpiostati.x
sys/qpoe/qpmacro.x
sys/qpoe/qpoe.h
sys/qpoe/qpopen.x
sys/qpoe/qpqueryf.x
sys/qpoe/qpseti.x
sys/qpoe/qpstati.x
sys/qpoe/zzdebug.x
	Added support for separate X and Y blocking factors.  The "block"
	parameter is still recognized as before and will set both the X and
	Y blocking factors, or "xblock" and "yblock" can be used to set only
	one or the other.  All occurrences have been updated, including
	expressions, the QPDEFS environment, and qp_set qpio_set.  (4/04)

sys/qpoe/qpiorpix.gx
	[INTERFACE CHANGE]
	The calling sequence for qpio_readpix was modified to replace the
	"block" argument by the two arguments xblock and yblock.  A scan
	indicates that none of the layered packages we have installed at
	NOAO (including xray) currently uses this routine.  (4/04)

sys/plio/plrio.x
	The plrio package provides an efficient lookup-table-based means of
	randomly sampling 2D pixel masks.  The code which recursively divides
	a region into 4 quadrants could fail if the region being subdivided
	was 1 pixel wide in either axis.  If this happens 2 of the "quadrants"
	will be valid and 2 will be degenerate.  Added a test to detect and
	discard these degenerate subregions.  (4/04)

sys/plio/plsectne.x
sys/plio/plsectnc.x
	Both of these routines had a bug that could prevent them from
	examining the full region requested (the routines check for section
	not empty and section not constant).  Line lists are segmented in
	segments of at most I_DATAMAX (4095) pixels.  If the mask is large
	and has large regions of constant value, the list will consist of
	successive segments all at the same value.  The routines were only
	checking the first such segment.  The corrected code reads successive
	segments until all the pixels in the region have been examined.  (4/04)

sys/plio/zzdebug.x
	Fixed a couple of bugs and added several new routines to test the
	above fixes.  SECNE and SECNC test pl_sectnotempty and pl_sectnotconst.
	RIO tests plrio random mask access.  INVERT inverts a mask.  (4/04)

sys/imio/implhdr.x
	These routines, which copy an image header to and from an encoded title 
	string in a PLIO save file, were modified to save the ctime, mtime,
	limtime, minpixval, and maxpixval static fields of the image header
	in addition to the title string.  (4/04)

sys/qpoe/qpexeval.x
	The value of "pass" was not being initialized before starting
	subprogram execution when evaluating a complex LUT bin.  Added the
	initialization and also some comments giving an overview of how the
	evaluation is performed (since it took me several hours to figure
	this out again).  (4/04)

sys/imio/iki/qpf/qpfcopypar.x
sys/imio/iki/qpf/zfioqp.x
sys/imio/iki/qpf/qpfopen.x
sys/imio/iki/qpf/qpf.h
	Modified to support separate x and y blocking factors.  (4/05)

sys/plio/plupdate.x
	This routine contains code which collapses successive mask lines
	in Y to a single encoded mask line if the mask lines are equal,
	thereby compressing the encoded mask in Y.  The encoded mask lines
	are encoded in short integer arrays and a multiply referenced
	line has a reference count which is stored in a short integer field.
	The code was modified to stop when this counter reaches MAX_SHORT,
	adding a new line to the encoded mask and starting over.  Combined
	with the X segmentation of lines into blocks of at most 4095 pixels,
	this should allow masks to be nearly any size despite the use of
	short integers for the encoding.  (4/05)

sys/qpoe/qpiolwcs.x
	Modified the LTV_2 term of the logical transformation to set the
	fractional pixel zero point resulting from blocking the input data.
	If for example 2 input pixels map to 1 on output, the range of the
	output pixel (e.g.  0.5 to 1.5) maps to the range covered by the two
	input pixels (e.g.  0.5 to 2.5), and the center of the output pixel
	(e.g.  x = 1.0) maps to the center of the range spanned by the input
	pixels (e.g. 1.5).  For 3 to 1, 1.0 maps back to 2.0 in the input,
	for 4 to 1, 1.0 maps back to 2.5, and so on as (block+1)/2.  (4/05)

sys/ki/kfmkcp.x
sys/ki/kfrnam.x
	These routines use a locally dimensioned buffer which was causing
	filenames to be truncated at 128 characters.  Increased the file
	length limit to 256.  If both files are remote the sum of the two
	file lengths cannot exceed 256.  (4/06)

unix/boot/spp/xc.c
	The XC compiler was modified to improve support for multi-language
	and host software development.  These changes should be transparent
	and should not affect conventional IRAF softwrae development.

	1. Various buffer sizes were increased.
	2. The environment variables XC-CC, XC-F77, XC-LINKER can now be
	specified to override the builtin default program name strings.

	3. New command line flags:
	    -D<str>	Pass -D<str> to the host compiler (does a #define).
	    -I<dir>	Pass -I<dir> to the host compiler; for includes.
			The directory name can be an IRAF VFN.
	    -Inolibc	Disables -Ihlib$libc, which is the default.  Use if
			you want to use the host rather than LIBC <stdio.h>.
	    -L<dir>	Can be used to specify a directory to be searched
			for library files.
	    -H		This is used like -h to link a host program, but
			unlike -h it causes the main IRAF libraries to be
			searched.
	    -V		Print the XC version number.

	4. XC now reads the "pkglibs" environment variable after processing
	all package includes, and converts this into a list of -I<dir> flags
	which are passed to the host compilers.  This allows host include
	files to be placed in package libraries.  As noted above, hlib$libc
	is automatically included unless the -Inolibc switch is specified.

	Note that -/foo can still be used to pass "-foo" to the host
	compiler.  (4/07)

unix/boot/bootlib/envinit.c
	"loadpkgenv" is called by HSI programs like XC and MKPKG when a
	package environment is loaded (-p pkname).  loadpkgenv was modified
	to allow it to be called as loadpkgenv(NULL) or loadpkgenv("iraf").
	This mode causes the package environment for the core IRAF system to
	be loaded.  This was done formerly as well, but only if a -p switch
	was given causing loadpkgenv to be called (in other words the core
	IRAF package environment was not being fully loaded consistently).
	(4/07)

unix/hlib/zzsetenv.def
	Added a line "set pkglibs = hlib$libc/" to zzsetenv.def.  This defines
	hlib$libc as a default library directory to be searched (for C header
	files) when compiling.  (4/07)

unix/hlib/libc/libc.h
unix/hlib/libc/setjmp.h
unix/hlib/libc/spp.h
unix/hlib/libc/stdio.h
unix/hlib/libc/varargs.h
unix/hlib/mkpkg.sf.SSUN
	Various changes to better support host or host-like compilation.

	1. libc.h will now include <spp.h> if it is not already included.
	This is disabled in an old style compilation using import_spp.
	libc.h is #ifdefed to not load if it has already been loaded.

	2. setjmp.h autoloads <libc.h> and <knames.h> if not referenced in
	import defines.

	3. spp.h if #ifdefed to not load if already loaded.  Various
	definitions were #ifdefed to be skipped if already defined, e.g.
	stuff like min and max.  A define for abs was added.

	4. stdio.h will automatically load <libc.h> (if not imported etc.).
	Since libc.h autoloads spp.h this means that C files which include
	<stdio.h> from LIBC will automatically load spp.h and libc.h; these
	contain the main LIBC definitions and often used IRAF defines such
	as OK, ERR, INDEF, NEW_FILE, SZ_FNAME, etc. etc.  A standard Unix
	C source file which includes <stdio.h>, if compiled with XC or with
	-I$hlib/libc will automatically be compiled using LIBC and will be
	usable in an IRAF program.

	5. varargs.h now includes /usr/include/varargs.h explicitly instead
	of <varargs.h>, which causes an infinite preprocessor include loop.
	On SunOS systems this causes a compiler warning message so the contents
	of the SunOS varargs.h are included instead.  For Solaris mkpkg.sf.SSUN
	is used to employ a flag -erroff=XXX to disable the warning.  (4/07)

unix/hlib/mkpkg.inc
	Added -DSUNOS to the XFLAGS for sparc, -DSYSV -DSOLARIS for Solaris.
	(4/07)

---------------------------------
V2.11 beta-1 released.  (4/08)

pkg/images/tv/imexamine/iejimexam.x
pkg/images/tv/imexamine/iecolon.x
pkg/images/tv/kimexam.par +
pkg/images/tv/doc/imexamine.hlp
pkg/images/tv/tv.cl
	Added a pset for the 'k' key rather than sharing with the 'j' key.  This
	was confusing to users since it was the only key without it's own pset.
	Also there may be some reason to have the fitting parameters be
	different along lines and columns.  (4/11, FV)

pkg/images/imcoords/doc/cctran.hlp
	Fixed a bug in the cctran help page. (4/15, LED)

pkg/images/tv/tvmark/mkmark.x
	Made sure that the object label was initialized to "" in the call
	to the mk_onemark procedure inside the a keystroke command. The lack
	of initialization was causing tvmark to fail with a segmentation
	violation when the coordinates file did not exist at task startup time,
	and the label parameter was set to "yes". (4/17, LED)

unix/hlib/libc/spp.h
	Deleted the definition of abs(), which conflicts with the stdlib
	definition.  (4/22)

unix/boot/spp/xc.c
	There was a problem with the -h flag: due to the recent changes it
	was referencing the VOS libraries (and linking shared by default).
	This would cause IMFORT programs to fail to link.  (4/23)

pkg/images/imutil/src/imcopy.x
	Changed the imcopy task so that it ignores the output image section
	if the input and output root names are the same, making its behavior
	consistent with other images package tasks which can overwrite the
	input image.  (4/24/97, Davis)


pkg/images/imgeom/rotate.cl
	The nlines parameter was called nrows by mistake in the rotate
	script calling sequence.  This did not affect the execution of the
	task but has been fixed anyway. (4/26/97, Davis)

sys/ki/kfrnam.x
sys/ki/kfmkcp.x
	Fixed a bug in calculating the offset to the second filename.  (4/27)

unix/boot/rtar.c
unix/boot/wtar.c
	Fixed a bug where rtar could in some cases confuse tar file directory 
	entries with links (both have a nonzero linkflag).  Also removed the
	#ifdef BSDUNIX stuff relating to symbolic links, as I don't know any
	modern systems that don't support symlink/lstat.  Typing -v now
	implies -t for both programs, as with unix tar.  (4/29)

dev/hosts
	Added a new sparc machine surya. (4/29/97  MJF)

pkg/images/immatch/src/geometry/t_geotran.x
pkg/images/immatch/src/geometry/geotran.x
	Fixed various bugs triggered by the case where the user sets xmin,
	xmax, ymin, or ymax, explicitly, and xmin > xmax or ymin > ymax.
	Improved the precision of the flux conservation algorithm at the
	same time.  (4/30/97 LED)

pkg/cl/cl.par
unix/hlib/login.cl
	Updated the version parameter for V2.11.  (4/29)

pkg/images/tv/display/zscale.x
pkg/images/tv/display/dspmmap.x
	1. Now works with higher dimensional images (displays the first band)
	   and with image sections.
	2. Now ignores error when the image has an unknown WCS type.  The
	   WCS is mapped to determine the physical coordinate transformation
	   for use with masks but this failed when someone imported an image
	   with the CAR projection type. (4/30 FV)

lib/math/gsurfit.h
pkg/math/gsurfit/*.gx
pkg/math/gsurfit/*.x
pkg/math/gsurfit/doc/gsinit.hlp
	Replaced the gsurfit package with a new version which support a
	"half" cross terms option useful in computing plate solutions.
	There are no package interface changes, old code should compile,
	link, and run without changes, and old database can still be
	read. Code changes are necessary to make use of the new feature.
	(4/30/97 LED)

pkg/images/immatch/geomap.par
pkg/images/immatch/skymap.cl
pkg/images/immatch/wcsmap.cl
pkg/images/immatch/sregister.cl
pkg/images/immatch/wregister.cl
pkg/images/immatch/doc/geomap.hlp
pkg/images/immatch/doc/skymap.hlp
pkg/images/immatch/doc/wcsmap.hlp
pkg/images/immatch/doc/wregister.hlp
pkg/images/immatch/doc/sregister.hlp
pkg/images/immatch/src/geometry/geoxytran.gx
pkg/images/immatch/src/geometry/geoxytran.x
pkg/images/immatch/src/geometry/t_geomap.gx
pkg/images/immatch/src/geometry/t_geomap.x
pkg/images/immatch/src/geometry/t_geotran.x
pkg/images/immatch/src/psfmatch/rgpbckgrd.x
pkg/images/immatch/src/xregister/rgxbckgrd.x
pkg/images/imcoords/ccmap.par
pkg/images/imcoords/doc/ccmap.hlp
pkg/images/imcoords/src/t_ccmap.x
pkg/images/imcoords/src/t_imcctran.x
pkg/images/lib/coomap.key
pkg/images/lib/geofit.gx
pkg/images/lib/geofit.x
pkg/images/lib/geograph.gx
pkg/images/lib/geograph.x
pkg/images/lib/geomap.h
pkg/images/lib/geomap.key
pkg/images/lib/rgtransform.x
	Modifed the geomap, wcsmap, skymap, wregister, sregister, and ccmap
	tasks to use the new cross terms option in the gsurfit library.
	This involved changing two boolean parameters in each of the above
	tasks to string parameters, making the interactive fitting software
	shared by all these tasks aware of the change, and modifying the
	gsinit calls to do the initialization properly. The default behavior
	of all these tasks should be unchanged.  (5/1/97 Davis)

dev/graphcap
	Modified the path to qsoli so that it was generic - since there is
	only one graphcap file now for SunOS and Solaris there can not be
	host dependent path names in this file for these two OSs. Made the
	modifications on /shared on gemini and ursa and on tucana.
	(5/1/97 jvb)

unix/shlib/mkshlib.ssol		(same as mkshlib.ssol-sc34)
unix/shlib/mkshlib.sos4
unix/shlib/mkpkg
	Modified the shared library build procedures for Solaris and SunOS
	to work correctly regardless of the current architecture setting of
	the core system.  There is no reason that the architecture of the
	core system should have to be set to the architecture of the shared
	image being built, since the shared image depends only upon the
	contents of the BIN directory for the target architecture.  This
	changes allows the shared library to be rebuilt regardless of the
	current architecture of the core system.  (5/05)

dev/hosts
	Made the following changes at Nigel's request:

	    o  added:  eagle (new SWN), standard SunOS
	    o  removed:  gll1, hedgehog, sandalwood, solara
	    o  change from SunOS to Solaris: enzo, humu, tofu
	    o  also dyevushka is now a Solaris 2.5.1 Sun Ultra

	(5/9/97  MJF)
 
pkg/images/tv/display/t_display.x
	Fixed a typo in the mode used to map the display frame.  When erase
	is set the image is now mapped in WRITE_ONLY mode, otherwise it is
	mapped READ_WRITE.  This is how it previously worked. (5/14/97 MJF)

unix/boot/spp/xc.c
	The -h and -H switches, used to link a host task, now imply -Inolibc
	as well.  It doesn't make any sense to use IRAF LIBC if a host
	program is being compiled and linked.  (5/20)

pkg/images/x_images.x
pkg/images/imcoords/starfind.par
pkg/images/imcoords/doc/starfind.hlp
pkg/images/imcoords/src/starfind.h
pkg/images/imcoords/src/t_starfind.x
pkg/images/imcoords/src/sftools.x
pkg/images/imcoords/src/sfconvolve.x
pkg/images/imcoords/src/sffind.x
	The starfind task has been added to the images.imcoords package.
	(5/22 LED)

sys/imio/iki/oif/oifrdhdr.x
	Added a check to omit a read if the size of the user area is zero.
	This problem showed up as a failure to open imfort images produced
	with IRAF V2.10.  Imfort images often have no extra header keywords.
	(6/01)

sys/qpoe/qpiorpix.gx
sys/qpoe/qpiogetev.x
sys/qpoe/qpiomkidx.x
	Fixed a mistyped pointer problem affecting integer event coordinate
	keys.  QPOE maintains event pointers internally as pointers to
	short, to optimize event filtering where the event extraction fields
	are type short.  The recently added code to support integer
	coordinates was correctly computing an integer offset for the field,
	but the short int pointer to the event struct was still being used.
	(6/02)

sys/qpoe/qpiogetfil.x
	Changed a few "pargc('s')" type calls to "pargi('s')" ('s' is an
	integer not a character).  (6/02)

unix/as.sparc/bytmov.c
unix/as.sparc/amovs.c
unix/as.sparc/amovr.c
unix/as.sparc/amovl.c
unix/as.sparc/amovi.c
unix/as.sparc/amovd.c
unix/as.sparc/amovc.c
	Added a check for a no-op copy where the input and output arrays
	are the same; the copy operation is skipped in this case.  The VOPS
	version has always done this, but the optimized version in AS does
	not, possibly because the first version of this used a bcopy() which
	already had this feature.  (6/03)

unix/as.ssol/bytmov.c
unix/as.ssol/amovs.c
unix/as.ssol/amovr.c
unix/as.ssol/amovl.c
unix/as.ssol/amovi.c
unix/as.ssol/amovd.c
unix/as.ssol/amovc.c
	Made the same change for the Solaris versions.  This will need to
	be propagated to the AS for the other platforms as well.  (6/03)

sys/fmtio/ctod.x
	Changed the generic MAX_EXPONENT to MAX_EXPONENTD.  (6/05)

sys/fmtio/ctor.x
	Since the exponent for double can now be larger than a real variable
	can support, added a log10(x) > MAX_EXPONENTR check before converting
	the value returned by ctod to a real.  (6/05)

dev/graphcap
	Installed graphcap support for the STSDAS Postscript graphics kernel.
	The actual kernel is still installed in STSDAS and its behavior is
	unchanged.  (6/06)

sys/osb/ieee.gx
unix/as.sparc/ieee.gx
unix/as.ssol/ieee.gx
	1. Added a new interface routine ieegmap, used to query the current
	input and output NaN-mapping flags.
	2. Changed the name of the old "ieemap" to "ieesmap" for consistency
	with ieegmap.  The old ieemap is retained for backwards compatibility.

	3. [INTERFACE CHANGE] ieesnan no longer has the side affect of
	enabling mapping by calling ieemap.  (6/06)

	Note that all of these routines have both double and real versions
	and that mapping must be handled separately for the two types.
	(Although we use generic language above, there is no ieesmap, you
	really have ieesmapr and ieesmapd).  For example, enabling input
	mapping for real data will not enable it for double as well.

pkg/dataio/doc/export.hlp
pkg/dataio/export/excmap.x
pkg/dataio/export/cmaps.inc
    Added the 'overlay' cmap as a builtin cmap. (6/6/97)

pkg/dataio/export/expreproc.x
    Removed a call to scale the colormaps when using the default values.
    Cmaps are now only scaled when a brightness/contrast value is set in
    the setcmap() function.  (6/6/97  MJF)

pkg/dataio/export/bltins/exgif.x
    Fixed a small error in the output of GIF files causing some display
    programs to complain.  GIF images which would now be an odd number of
    bytes have an extra trailing ';' delimiter.  This should be harmless
    as all processing is supposed to stop once that char is found. (6/6/97 MJF)

pkg/dataio/rfits.par
pkg/dataio/wfits.par
pkg/dataio/doc/rfits.hlp
pkg/dataio/doc/wfits.hlp
pkg/dataio/fits/fits_cards.x
pkg/dataio/fits/fits_files.x
pkg/dataio/fits/fits_params.x
pkg/dataio/fits/fits_read.x
pkg/dataio/fits/fits_rheader.x
pkg/dataio/fits/fits_rimage.x
pkg/dataio/fits/fits_rpixels.x
pkg/dataio/fits/fits_wheader.x
pkg/dataio/fits/fits_wimage.x
pkg/dataio/fits/fits_wpixels.x
pkg/dataio/fits/fits_write.x
pkg/dataio/fits/mkpkg
pkg/dataio/fits/rfits.com
pkg/dataio/fits/rfits.h
pkg/dataio/fits/t_rfits.x
pkg/dataio/fits/t_wfits.x
pkg/dataio/fits/wfits.com
pkg/dataio/fits/wfits.h
        Installed new versions of rfits and wfits. The new rfits and wfits
        include support for: 1) reading and writing multi-extension fits files,
        2) reading and writing global headers, 3)and  reading and writing ushort	 images.  (6/9/97 LED)

pkg/images/immatch/wcsxymatch.par
pkg/images/immatch/wcsmap.cl
pkg/images/immatch/wregister.cl
pkg/images/immatch/doc/wcsxymatch.hlp
pkg/images/immatch/doc/wcsmap.hlp
pkg/images/immatch/doc/wregister.hlp
pkg/images/immatch/src/wcsmatch/t_wcsxymatch.hlp
        Added the transpose parameter to the wcsxymatch, wcsmap, and wregister
        task to permit users to force an image transpose in cases where the
        image wcs does not contain enough information, e.g. axtype is undefined
        or set to the same units.  (6/10/97, Davis)

pkg/images/tv/imexamine/stfmeasure.x
	1.  The background is now set to zero if there are no background points.
	2.  Fixed an error recovery bug (attempting to free a pointer which
	    was not set).
	(6/11/97, Valdes)

pkg/images/tv/imexamine/ierimexam.x
	The background widths needed to be passed to the PSF measuring routines
	even if the background is turned off for the fitting in the 'a' and 'r'
	keys.  (6/11/97, Valdes)

dev/hosts
	Changed the following DMAC machines:
	      - anasazi, sol, mimbres, prometheus are now solaris
	      - changed path for dyevushka and humu
	(6/15/97 MJF)

pkg/images/lib/skywcs.x
       	Modified the code to initialize the physical and logical axis maps
       	to 1 and 2 respectively.  (6/16/97)

pkg/dataio/imtext/t_wtextimage.x
	Cleared the format arrays prior to using them so old format strings
	are overwritten.  (6/17/97  MJF)

pkg/dataio/fits/fits_read.x
	Changed the code to add the extension number (as intended) not
	the sequence number to the output file name if appropriate.
	Removed some extraneous error messages from the output. (6/18/97 LED)

pkg/dataio/fits/fits_write.x
	The IRAFNAME keyword was not being initialized properly for the
	global headers resulting in gargage being written into this
	variable. (6/18/97 LED)

unix/hlib/irafuser.csh
	Added the flag -Inolibc to HSI_XF.  The HSI C files are host level
	and do not use libc.  (6/17)

unix/hlib/libc/knames.h
unix/os/zcall.c
unix/os/zfunc.c
	Added zcall and zfunc routines for calls with ten arguments.  The
	new functions are called zfunca,zcalla (A is hex for 10; hex is used
	to avoid 7 char names in kernel routines).  (6/17)

lib/syserr.h
lib/syserrmsg
	Installed system error messages for the FITS kernel.  (6/17)

pkg/images/imutil/imheader.par
pkg/images/imutil/src/imheader.x
pkg/images/imutil/src/mkpkg
	1. Typing "imhead" with no arguments now lists the images in the
	current directory (like "ls").  
	2. A new parameter "imlist" was added to support the above.
	3. Imheader now left-justifies text to avoid truncating long cards.
	4. The method used to test for a pixel file was changed to avoid
	any pixel i/o.

sys/imio/iki/fxf/
	Installed the new FITS image kernel.  (6/16)

sys/imio/iki/iki.com
sys/imio/iki/iki.h
sys/imio/iki/ikiaccess.x
sys/imio/iki/ikiclose.x
sys/imio/iki/ikicopy.x
sys/imio/iki/ikidelete.x
sys/imio/iki/ikiextn.x		+
sys/imio/iki/ikiinit.x
sys/imio/iki/ikildd.x
sys/imio/iki/ikimkfn.x
sys/imio/iki/ikiopen.x
sys/imio/iki/ikiopix.x
sys/imio/iki/ikiparse.x
sys/imio/iki/ikirename.x
sys/imio/iki/ikiupdhdr.x
sys/imio/iki/mkpkg
	1. "imtype" now has a syntax such as "imtype=oif,noinherit" or
	"imtype=imh", "imtype=fits".  The default image type can be
	specified either by any legal image extension or by giving the
	internal kernel name (oif, fxf, plf, qpf, stf).  If "inherit" is
	enabled then the image type will be preserved in a new-copy
	operation, as in pre-V2.11 versions of IRAF.  The default in V2.11
	is OIF images with no inherit.  No inherit means new images always
	are of type imtype.

	2. A new environment variable "imextn" specifies the mapping of
	image file extensions to image types.  For example,
	    imtextn = "oif:imh fxf:fits,fit plf:pl qpf:qp stf:hhh,??h"
	Kernel names must be used here.  For each kernel the list of valid
	extensions or extension patterns is given.  The first extension for
	each type is the default extension when creating new images of that
	type.

	3. A "kernel" argument was added to many of the IKI routines.  This
	change was propagated to all the image kernels.

	4. The fits kernel (fxf) was added to ikiinit.  A call to
	iki_extninit was added to ikiinit.  imtype/imextn are only read
	once, when the first image is accessed.  A flpr is needed to use
	the new values if the variables are changed at runtime after images
	have been accessed.

	5. The extension processing code is in the new file ikiextn.
	(6/16)

sys/imio/iki/oif/mkpkg
sys/imio/iki/oif/oifaccess.x
sys/imio/iki/oif/oifcopy.x
sys/imio/iki/oif/oifdelete.x
sys/imio/iki/oif/oifopen.x
sys/imio/iki/oif/oifrename.x
sys/imio/iki/plf/plfaccess.x
sys/imio/iki/plf/plfcopy.x
sys/imio/iki/plf/plfdelete.x
sys/imio/iki/plf/plfopen.x
sys/imio/iki/plf/plfrename.x
sys/imio/iki/qpf/qpfaccess.x
sys/imio/iki/qpf/qpfcopy.x
sys/imio/iki/qpf/qpfdelete.x
sys/imio/iki/qpf/qpfopen.x
sys/imio/iki/qpf/qpfrename.x
sys/imio/iki/stf/mkpkg
sys/imio/iki/stf/stfaccess.x
sys/imio/iki/stf/stfcopy.x
sys/imio/iki/stf/stfdelete.x
sys/imio/iki/stf/stfhextn.x
sys/imio/iki/stf/stfopen.x
sys/imio/iki/stf/stfrename.x
	Numerous changes related to adding imtype/imextn, and adding a 
	kernel argument to the IKI driver entry points.  (6/16)

sys/imio/mkpkg
sys/imio/imaccess.x
sys/imio/imgimage.x
sys/imio/imgnln.x
sys/imio/imparse.x
sys/imio/impnln.x
sys/imio/iki/stf/stfopen.x
	If the image number in a multi-extension group is not given this is
	indicated by a value of -1.  Formerly 0 was used.  The listed
	routines had to be changed to implement this.  (6/16)

sys/imio/imstati.x
	An imstati on IM_PIXFD will now attempt to open the pixel file if
	it is not already open.  This is used by the revised IMHEADER task
	to test for a pixel file.  (6/17)

---------------------------------
V2.11 beta-2 released.  (6/18)

pkg/dataio/fits/fits_read.x
	Fixed an error in the call to pl_gsize (output variable set to
	constant) that was causing a segvio on Solaris. (6/19 LED)

pkg/images/imutil/src/imheader.x
sys/imio/imstati.x
	Removed the code from imstati to open the pixel file in an IM_PIXFD
	query; ideally imstat should be purely an information service with
	no action side effects.  Instead, added an imopsf call in imheader
	to test if the pixel file exists (this is done only if IM_PIXFD=NULL).
	imopsf was not really intended to be in the public interface of IMIO,
	but we can live with this for the system imheader task.  (6/19)

sys/imio/iki/fxf/fxfopen.x
	Fixed a bug that would affect opening of simple (not multi-extension)
	FITS files without specifying an extension.  (6/19)

sys/imio/iki/oif/oifopen.x
sys/imio/iki/plf/plfopen.x
sys/imio/iki/qpf/qpfopen.x
	These kernels were updated to check the image extension index and
	abort if an illegal extension is referenced.  For a simple file with
	one image the only extension permitted is [1] (or -1 which is what
	the kernel gets if no extension is specified).  Trying to open [0]
	or [2] or higher is an error.  This is necessary to provide a kernel
	independent behavior if other kernels may support multiple extensions.

	There are still two unresolved issues here.  The first is that STF
	was not also updated, so its behavior is inconsistent compared to
	the other kernels ([0] or [1] or not given will all return the first
	image).  This could not be modified due to the risk to STSDAS and
	the tight schedule we have for V2.11.  The second problem is that
	the FITS kernel used in the simplest manner will produce a
	multi-extension file with [0] as the first image.  In this mode the
	FITS kernel has images starting at [0] whereas the first image is
	[1] for the other kernels.  This is less of a problem if the PHU of
	a FITS MEF file is a dataless file header, in which case the first
	image is [1], and [0] is the file header, not an image.  But there
	is an inconsistency.  Perhaps the default behavior of the FITS
	kernel should not so easily create a multi-extension file with a PDU
	instead of a dataless PHU.  We might want to change the default
	behavior to add a file PHU when a multiextension FITS file is
	created, or add a kernel switch to force creation of a PHU.  Simple
	FITS files would remain a simple PDU with no extensions.  Currently
	the only way to get a PHU MEF file with the FITS kernel is to use
	special facilities to write a dataless PHU before appending a data
	image.  (6/19)

sys/ki/ki.h
	Increased the max nodes from 256 to 320.  This code needs to be
	rewritten to use a dynamic table to eliminate this upper limit,
	and improve efficiency.  (6/19)

pkg/images/imutil/doc/imheader.hlp
	Modifed the imheader help page to include a description of the
	new imlist parameter. (6/20 LED)

pkg/dataio/wfits.par
pkg/dataio/fits/t_wfits.x
pkg/dataio/help/wfits.hlp
	Added the parameter fextn to the wfits task. Wfits will append the
	current value of fextn to any output disk files so that they
	can be read with the fits kernel. The default value of fextn is "fits". 
	(6/20 LED)

pkg/dataio/fits/t_wfits.x
	Added a check to wfits so that it does not append a ".fextn" to
	an output file name which already ends in ".fextn".
	(6/21 LED)

unix/boot/spp/xc.c
	Modified the "isv3" code to be more flexible about the configuration
	of the host compiler.  (6/22)

sys/qpoe/qpex.h
	Increased DEF_PROGBUFLEN and DEF_DATABUFLEN to 65536.  (6/22)

sys/imio/iki/oif/oifopen.x
sys/imio/iki/plf/plfopen.x
sys/imio/iki/stf/stfopen.x
	Added support for "imclobber" to these kernels (images can be
	overwritten if imclobber=yes).  The FITS kernel (fxf) already had
	imclobber implemented.  QPF is read-only so it is not an issue.  (6/22)

sys/mwcs/mwrotate.x
	The sign of the x,y center of rotation was wrong in a call to
	mw_translated.  (6/22)

sys/mwcs/mkpkg
sys/mwcs/mwcs.h
sys/mwcs/iwewcs.x
sys/mwcs/iwrfits.x
sys/mwcs/mwsaveim.x
sys/mwcs/wfait.x
sys/mwcs/wfcar.x
sys/mwcs/wfcsc.x
sys/mwcs/wfdecaxis.x
sys/mwcs/wfgls.x
sys/mwcs/wfinit.x
sys/mwcs/wfmer.x
sys/mwcs/wfmol.x
sys/mwcs/wfpar.x
sys/mwcs/wfpco.x
sys/mwcs/wfqsc.x
sys/mwcs/wfstg.x
sys/mwcs/wftsc.x
sys/mwcs/wfzea.x
	1. Added support for galactic, ecliptic, and super-galactic coordinates
	to MWCS.
	2. Added the STG, ZEA, CAR, MER, PCO, PAR, AIT, MOL, CSC, QSC, TSC
	projection functions to MWCS.  These functions do not require any
	projection parameters.  We are using the G&C defaults for LONGPOLE
	and LATPOLE.  The CUBEFACE parameter in the COBE CSC, QSC, and TSC
	projections is ignored for now since it is not required to evaluate
	the functions.  (6/22)

unix/hlib/math.h
	Added explicitly DOUBLE versions of the math constants.  (6/22)

pkg/images/imcoords/doc/imcctran.hlp
	Modified the imcctran help page to reflect the 2.11 mwcs changes,
	e.g. support for galactic, supergalactic, and ecliptic coordinates,
	and the new function drivers. (6/23 LED)

unix/boot/spp/xpp/decl.c
	The line counter was not being updated in multiline declarations.
	This would mess up SPP source code debugging.  (6/23)

pkg/system/rename.x
pkg/system/doc/rename.hlp
	1. The field=extn option can now add file extensions where none 
	existed before, or remove them.
	2. The filename field editing capability now works for single file
	renames as well as file lists.  (6/23)

sys/imio/iki/ikiopen.x
	Add an errchk for zcalla.  Doesn't appear to matter in this case,
	but there should be one as otherwise assumptions are made about the
	value of the status argument when an error abort occurs.  (6/23)

sys/imio/iki/stf/stfopen.x
sys/imio/iki/plf/plfopen.x
sys/imio/iki/fxf/fxfopen.x
sys/imio/iki/fxf/fxfksection.x
sys/imio/iki/oif/oifopen.x
sys/imio/iki/fxf/fxfrfits.x
sys/imio/iki/fxf/fxfupdhdr.x
	1. Fixed a bug in fxfopen that was causing PHU inheritance to fail.
	2. Tweaked imclobber handling in all kernels.  Fixed a bug related
	to dev$null images in oif and plf.
	3. Some minor coding style changes, spelling errors.  (6/23)

pkg/images/x_images.x
pkg/images/imcoords/imcoords.par
pkg/images/x_images.x
pkg/images/imcoords/imcoords.cl
pkg/images/imcoords/imcoords.men
pkg/images/imcoords/imcoords.hd
pkg/images/imcoords/ccfind.par
pkg/images/imcoords/doc/ccfind.hlp
pkg/images/imcoords/src/t_ccfind.x
pkg/images/imcoords/src/mkpkg
	Installed the new ccfind task in the images.imcoords package.
	(6/24 LED)

sys/imio/iki/fxf/fxfopen.x
	More fixes to the fkinit/inheritance logic in the FITS kernel.  (6/24)

sys/imio/iki/ikiextn.x
	1. Modified the iki_extninit code to preserve the default extensions
	for kernels not specified in a user defined imextn string.  If the
	user specifies extensions for a given kernel these however override
	the builtin defaults (note though that not all kernels permit 
	arbitrary file extensions - fxf and stf are the main ones that do).

	2. Added a new routine iki_debug.  The init code was modified to check
	for an environment variable "ikidebug".  If this is defined and has
	a yes value the IKI data structures are dumped at init time, allowing
	the list of installed kernels and the mapping of extensions to kernels
	to be reviewed.  (6/24)

sys/imio/iki/fxf/fxfrename.x
sys/imio/iki/fxf/fxfdelete.x
sys/imio/iki/fxf/fxfopen.x
sys/imio/iki/fxf/fxfupdhdr.x
sys/imio/iki/fxf/fxfrfits.x
	We had a problem with "rfits make-" failing with imtype=fits.  This
	opens dev$null as the image and a kernel must be able to deal with
	this odd situation.  There was a problem with the internal header
	cache code as some of the code was searching the cache, but since we
	were opening a new image the cache had not been initialized (it is
	initialized in rfitshdr).  Added a new routine iki_init in
	fxfopen.x, and calls to this in all the external entry points for
	the fits kernel.  On the first call after a process startup, this
	initializes the cache to empty and sets rf_cachesize=0 (the cache is
	subquently reinitialized by rfitshdr).  A number of instances of
	the construct "do i = ...  max(1,rf_cachesize)" were changed to
	"do i = ...  rf_cachesize" as otherwise the loop does not notice
	that the cache is disabled.  (6/25)

unix/boot/spp/xpp/xppcode.c
	Increased the output code buffer from 50000 to 131072.  (6/25)

dev/graphcap
	The pen width parameter PW for sgi_apl was changed from 2.4 to 2.3.
	This was fine tuning for the SGIKERN font changes below.  (6/25)

sys/gio/sgikern/mkpkg
sys/gio/sgikern/sgifont.x
sys/gio/sgikern/sgitx.x
sys/gio/sgikern/greek.com		+
sys/gio/sgikern/font.com
sys/gio/sgikern/sgidrawch.x
	The SGI graphics kernel was upgraded with a better roman font, and a
	new greek font was added.  Aside from the above minor change to
	graphcap this should be transparent to anything outside sgikern. (6/25)

unix/hlib/zzsetenv.def
	Added an "imextn" entry to the default IRAF environment so that the
	user can do a "show imextn" to see the current mappings of image
	extensions to image kernels.  (6/25)

---------------------------------
V2.11 Beta-2 installed on NOAO servers.  (6/25)

unix/hlib/zzsetenv.def
	1. Added "imclobber = no".
	2. Changed imtype to "oif,noinherit" to better document the new syntax.
	(imtype=imh, imtype=fits etc. will still work so long as these are
	valid extensions in imextn).
	3. Changed version from beta1 to beta2.  (6/26)

unix/gdev/sgidev/sgi2uapl.c
unix/gdev/sgidev/sgi2ueps.c
	These routines could generate a "0 setlinewidth" in the output
	postscript, which could cause a plot to abort without generating
	any output.  Added a simple max(1) to prevent this, without changing
	the way a linewidth is scaled.  (6/27)

lib/syserr.h
lib/syserrmsg
	Added a new error code SYS_IKIKSECTNS, used when a kernel section
	is entered but it is invalid, e.g. because the kernel does not
	support the image section syntax given.  (6/28)

sys/imio/iki/oif/oifopen.x
	Now returns an error if the given kernel section is not legal.  (6/28)

sys/imio/iki/stf/stfopen.x
	The imclobber stuff introduced a serious bug preventing image
	sections such as "imcopy blah pix[3]" from being used to write a
	multi-extension STF file (e.g. created with pix[1/4]).  Modified
	stfopen to permit such usage.  Imclobber checking is only performed
	if the whole file is affected.  If an individual image is explicitly
	referenced it can be overwritten and is not affected by imclobber.
	(6/28)

unix/hlib/zzsetenv.def
	Set imtype back to "imh".  Unfortunately we have IMRED scripts which
	parse the value of imtype (an interface violation since it makes the
	scripts dependent on details of the image kernels).   Until these can
	be fixed imtype will have to be left as it is.  (6/29)

sys/gio/sgikern/greek.com
	Updated the greek fonts in the SGI kernel to a newer version.  (6/29)

pkg/images/imutil/src/imexpr.gx
pkg/images/imutil/src/imexpr.x
	Fixed a bug affecting generating functions using I,J,K.  (6/29)

sys/imio/iki/fxf/fxfksection.x
sys/imio/iki/fxf/fxfopen.x
	1. Bug fix to avoid "unexpected EOF" error when reading dataless
	PHU files.
	2. The extension number and extension name should now be
	interchangeable in kernel sections.  (6/29)

lib/syserr.h
lib/syserrmsg
	Added several new error messages for the FITS image kernel.  (6/29)

sys/mwcs/wfinit.x
	Removed a bogus "msp" entry from the MWCS function table.  This was
	an alias for the older multispec.  (6/30)

---------------------------------
V2.11 Public BETA release.  (6/30)

dev/hosts
	Added 'sunset' to all downtown servers (7/2/97 MJF)

dev/hosts
	Changed path for 'deneb' (7/7/97 MJF)

unix/hlib/zzsetenv.def
	There was a typo (extra double quote) in the definition of imextn.
	(7/24)

pkg/images/imcoords/src/ccxytran.x
pkg/images/immatch/src/geometry/geoxytran.gx
pkg/images/immatch/src/geometry/geoxytran.x
pkg/images/immatch/src/geometry/t_geotran.x
	Fixed a bug in the database reading code used by the cctran and
	geoxytran tasks that was producing an "illegal xorder" message
	if the x coordinate fit was linear and the y coordinate fits was
	nonlinear or vice versa. (7/24/97 LED)

pkg/images/immatch/src/xregister/rgxcorr.x
	Fixed an initialization problem in the xregister task that ocurred
	if: 1) the correlation parameter was set to "fourier", and, 2) one
	of the correlation regions was entirely off the input image. In this
	case all subsequent region shifts were being set to INDEF regardless
	of whether or not the region was actually on the image. (7/25/97 LED)

sys/libc/imaccess.x		+
sys/libc/mkpkg
	Added a new LIBC entry point "c_imaccess" which calls the IMIO imaccess
	routine.  (7/25)

unix/hlib/libc/xnames.h
	Added an entry for IMACCESS.  (7/25)

pkg/cl/unop.c
pkg/cl/param.h
pkg/cl/param.c
pkg/cl/operand.h
pkg/cl/builtin.c
pkg/cl/gram.c
	Added two new intrinsic functions, "imaccess" and "defvar".  imaccess
	tests whether an image exists, e.g. (imaccess("dev$pix")) or
	(imaccess(foo.fits[3])).  defvar tests whether an environment variable
	exists, e.g. (defvar("imextn")).  (7/25)

pkg/images/imcoords/doc/ccfind.hlp
	Fixed a typo in the ccfind task help page. (7/28 LED)

pkg/math/gsurfit/zzdebug.x
	Added a zzdebug.x file to the gsurfit package. (7/28 LED)

sys/imio/iki/stf/stfopen.x
	Added a max(0,gr_arg) to map gr_arg values of -1 to 0 for use within
	the STF kernel.  (7/29)

sys/imio/iki/stf/stfhextn.x
sys/imio/iki/fxf/fxfhextn.x
	These routines will now inherit the file extension in a new-copy
	operation only if inherit is enabled in "imtype".  (7/29)

sys/imio/iki/ikiextn.x
	Added a new IKI extn routine iki_getpar(), used by IMIO code to
	get IKI global parameters (such as inherit/defimtype).  (7/29)

sys/imio/iki/fxf/fxfopen.x
sys/imio/iki/fxf/fxfopix.x
sys/imio/iki/fxf/fxfrfits.x
sys/imio/iki/fxf/fxfupdhdr.x
sys/imio/iki/fxf/fxf.h
	1. When a new FITS file is created the value of the EXTEND keyword
	in the PHU is now set to F.  When an extension is subsequently
	added it is changed to T.
	2. A bug was fixed affecting files with many (hundreds) of extensions.
	3. A dev$null related bug was fixed (seen when displaying an image
	with imtype set to fits).  (7/29)

noao/lib/mkpkg.sf
	Fixed a typo in the $ifeq MACH section.  (7/29)

sys/gio/sgikern/font.com
	Updated to a new version of the font file which improves the
	inter-character spacing.  (7/29)

pkg/images/immatch/src/geometry/geotran.x
	Some min/max statements were reordered in geo_imset to work around an
	optimiser bug seen on Solaris.  Normally this should have been fixed
	by putting the file on the special file list, but since geotran is
	very compute intensive the source file was modified instead.  (7/29)

pkg/images/imutil/src/hedit.x
	Added a missing sfree() in he_deletefield().  (7/29)

sys/imio/db/imgftype.x
sys/imfort/db/imgftype.x
	Modified to check for a quoted string before checking if the keyword
	is boolean (T/F).  (7/29)

---------------------------------
V2.11 Public BETA release, patch-1.  (7/29)

pkg/images/imutil/src/imhistogram.x
pkg/plot/phistogram.x
	Fixed a bug in the imhistogram and phistogram tasks that could produce
	invalid floating point operation errors if the image pixel values are
	outside the legal integer range. (7/31 LED)

sys/imio/iki/fxf/fxfksection.x
	There was a typo on line 177, PHULINES should have been EHULINES.
	(7/31)

pkg/dataio/fits/fits_read.x
	Fixed a bug in the new global header reading code that could
	result in the global image header being left in the tmp$ directory.
	(8/6 LED)

dev/emacs.ed
	Fixed an ambiguity affecting MOVE_LEFT and DEL_CHAR.  Added ctrl/d
	as a second eof char (along with ctrl/z) as for vi.ed.  (8/07)

sys/imio/iki/fxf/fxfrfits.x
	Fixed a bug which would cause unwanted blank lines to be added to a
	header generated with INHERIT=T when there are blank lines near the
	top of the existing extension header.  (8/08)

sys/mtio/mtrewind.x
	The sequence close(mtopen()) was being used to rewind a device.
	The close could fail due to an invalid file descriptor if the mtopen
	failed, as when opening a device and no tape was loaded.  Modified
	to do the close only if the open succeeds.  An attempt to rewind a
	device when no tape is loaded will still fail with a "cannot open
	device" message.  There is no way to tell that a tape is not loaded.
	(8/08)

pkg/cl/builtin.c
	[This was the solution to the so-called "imdkern" bug].  Stty has
	the unusual side affect of writing to environment variables (to set
	the screen size etc.).  Environment variables set in the CL are
	automatically passed to all connected subprocesses.  This can cause
	corruption of the IPC prototcol when stty is called in response to a
	pagefiles() call in a running task and a connected graphics kernel
	is running at the time.  The safest thing is to have stty shutdown
	any connected graphics kernels before executing, so a call to gflush
	was added to the stty code in the CL.  (8/10)

sys/qpoe/qpaddf.x
	A symbol reference (dsym) was being made before a stenter, but the
	latter could cause symbol pointers to change.  The code was reorganized
	slightly to do the stenter before taking any symbol references.  (8/10)

sys/imio/iki/oif/oif.h
sys/imio/iki/oif/oifopen.x
	The OIF kernel now recognizes an environment variable "oifversion"
	which, if defined, specifies the file version for a new OIF image
	(for example set oifversion = 2 produces format version 2 images).
	If the variable is not defined, which is the default, the builtin
	OIF default will be in effect and new-format images will be
	generated.  This variable is provided only for backwards
	compatibility, e.g. when using V2.11 IRAF with old software which
	cannot easily be updated.  (8/10)

sys/imio/iki/fxf/fxf.h
sys/imio/iki/fxf/fxfopix.x
sys/imio/iki/fxf/fxfopen.x
sys/imio/iki/fxf/fxfupdhdr.x
sys/imio/iki/fxf/fxfrfits.x
sys/imio/iki/fxf/fxfctype.x
sys/imio/iki/fxf/fxfksection.x
	1. A bug was fixed that would leave open file descriptors behind
	when trying to open extensions beyond the EOF, e.g. when searching
	for the last extension in a file.
	2. An operation such as "imcopy foo.fits[3] new.fits" would fail
	with imclobber=yes if "new.fits" already existed, due to a problem
	with error recovery.
	3. A new fkinit parameter "padlines" was added.  Along with the
	existing "ehulines" this permits control of the number of blank
	lines at the end of a header (used for expansion).  Whereas ehulines
	defines the minimum size of an extension header when a new extension
	is added, padlines defines the number of lines of padding to be
	added when a EHU overflows and has to be extended.
	4. The FK code supporting FILENAME was deleted.  It is difficult
	for the FK to maintain this reliably (e.g. if a temp image is created
	and later renamed), and it is felt that it is better to let the
	application which creates FITS files control this parameter.  If the
	FK insists on writing it this interferes with the use of FILENAME by
	the application.  (8/11)

sys/imio/iki/fxf/fxfrfits.x
	A buffer was improperly dimensioned affecting the OBJECT keyword.
	This could cause long image title strings to be truncated.  SZ_EXTTYPE
	was changed to SZ_CARD on line 708.  (8/12)

lib/prstat.h
unix/hlib/libc/prstat.h
	A new process status value P_BUSY was added.  (8/13)

sys/etc/prseti.x			+
	A prseti routine was added to the process control interface, which
	already provided a prstati.  (8/13)

sys/etc/mkpkg
sys/etc/prupdate.x
	The prupdate routine, used to broadcast messages/commands to all
	subprocesses (e.g. for set environment or chdir requests), was
	modified to check the process status and only broadcast to processes
	for which the process status is P_RUNNING.  The process status for
	a running process can now be set to either P_BUSY or P_RUNNING.
	P_RUNNING indicates that the process is running, but is idle and
	read to accept commands.  P_BUSY means that it busy executing in a
	mode where it cannot accept standard IPC requests.  (8/13)

sys/etc/prclose.x
	Prclose will now close any process for which the process status is
	other than P_DONE or P_DEAD, that is, any running process.  (formerly
	it was checking for status=P_RUNNING but we now have to allow for
	P_BUSY as well).  (8/13)

sys/gio/cursor/mkpkg
sys/gio/cursor/gtropenws.x
	When a graphics subkernel is connected to the CL the process status
	is now set to P_BUSY.  Graphics subkernels execute in a loop reading
	GKI instructions and cannot accept standard IPC requests, such as
	environment change requests, without corrupting the IPC protocol.
	(8/13)

pkg/cl/config.h
	Increased a couple of history buffer sizes.  In particular SZ_CMDBLK
	is supposed to be larger than a line buffer and it wasn't after the
	recent increase in the line buffer size.  SZ_CMDBLK was increased 
	from 512 to 2048, and the history buffer size was increased from 2048
	to 8192.  (8/14)

pkg/images/immatch/src/imcombine/t_imcombine.x
	Fixed a segmentation violation caused by attempting to close the
	mask data structures which are not defined if an error occurs opening
	the input or output images.  (8/14 FV)

pkg/system/rename.x
pkg/system/rename.par
pkg/system/doc/rename.hlp
	The rename task was rewritten to hopefully make the code clearer and
	easier to follow.  The task now checks for the $/ characters in
	root or extn replacement strings and prints an error message if either
	of these characters are found.  For completeness the field-editing
	feature now permits "ldir" to be modified as well as "root", "extn",
	and "all" (modifying the ldir part of a filename is another way to
	move the file to the named directory).  (8/15)

doc/notes.v210			+
local/notes.v210		-
local/notes.v211		+
	Broke the old notes.v210 into a frozen v2.10 notes file and a new
	notes.v211 file for IRAF V2.11 and revisions.  (8/15)

unix/hlib/motd
unix/hlib/zzsetenv.def
	System version changed to V2.11EXPORT.  (8/15)

unix/hlib/mkiraf.csh
	For the NOAO servers we use a version of mkiraf which permits imdir
	to include hostnames, e.g. imdir=tucana!/d0/iraf (this is not
	currently included in the export version of the system).  It turns
	out that while this mkiraf script was setting imdir correctly in the 
	login.cl, it was not actually creating the directory if it didn't
	exist.  The local version of mkiraf was modified to use the iraf
	version of mkdir in x_system.e.  This avoids the problem with host!
	and the unix csh/mkdir, and also works when the directory is on a
	different host than the one executing the script.  (8/16)

pkg/images/imcoords/src/sffind.x
	Fixed a type mismatch in a call to atan2. (8/18 LED)

sys/imio/iki/fxf/fxfrfits.x
	In fxf_load_header, the calculation of "totpix" could overflow a 32
	bit integer for large (e.g. 8K by 8K) images.  The calculation was
	changed to avoid overflow.  A bug was also fixed affecting the use
	of PCOUNT in the expression.  The value returned for "totpix" is not
	actually the total pixels in the image as the name suggests, but the
	size in 2880-byte FITS logical blocks of the data area of the image,
	the data area being the pixel matrix plus PCOUNT data units.  At the
	moment we want to minimize changes, but later we should make more
	general modifications to the code to change the name of this
	variable to something more descriptive.  (8/18)

unix/boot/wtar/wtar.c
	Added a call to memset to zero the file header structure before
	setting the field values.  Unix tar on at least one platform (Digital
	Unix) was complaining about unused fields of the tar file headers.
	(8/20)

dev/hosts
	Added the Jannuzi/Dey machine chomper to all servers (8/20 MJF)

dev/hosts
	Added beet (Sol2.4 machine), mosaic machines rush and driftwood
	along with all their aliases  (8/20 MJF)

bin.ssun/S11_5.4.e		+
	Added a V2.11 shared image linked for Solaris 2.4.  (8/20)

pkg/images/tv/display/dspmmap.x
	There was a bug in the code when using pixel masks which gives
	"Warning: PLIO: reference out of bounds on mask".  This was
	introduced with the changes to allow masks and images to have
	different binning.  (8/21 FV)

sys/mwcs/iwewcs.x
	In the case of an image with more than 2 axes where CDELT/CROTA is
	used instead of a CD matrix, the CDELT value for axes other than
	the RA/DEC projection axes (or axes 1-2 if no projection) was
	being discarded and replaced with cdelt=1.0.  (8/21)

pkg/images/imutil/src/t_imtile.x
	Fixed a bug in the range decoding code that could produce an integer
	divide by 0 if the range syntax in xtools$ranges.x was extended to
	include zero (8/22 LED).

pkg/cl/config.h
	Increased the size of the stack and dictionary.  The V2.11 changes to
	SZ_FNAME affect storage allocation in compiled scripts, hence under
	V2.11 scripts will use more space than they used to.  (8/27)

sys/mwcs/mwcs.h
	Increased LEN_FC (the size of the compiled function call portion of
	a runtime CTRAN descriptor) from 48 to 64.  This descriptor is 
	internal to MWCS and the change should have no effect outside the
	interface.  (8/28)

dev/graphcap
dev/imtoolrc
	Updated a few of the KPNO instrument frame buffer entries in graphcap
	and imtoolrc.  Affected were cn# 26,27, 35-40.  No others were
	affected, only these KPNO-specific entries.  (8/28)

sys/imio/iki/fxfopix.x
	Fixed a typo: IM_LEN(im) -> IM_LEN(im,1).  Evidently the Sun Fortran
	compilers didn't complain about this (it was found on AIX).  (8/29)

pkg/images/tv/imexamine/iepos.x
	Added missing argument in fprintf call.  (8/29/97, Valdes)

pkg/images/imcoords/src/ccfunc.x
pkg/images/imcoords/src/t_ccsetwcs.x
pkg/images/imcoords/src/skyctran.x
	Removed extraneous argument from 2 call to mw_stati.  Removed extra
	arguments from 2 call to printf. (8/29/97, Davis) 

pkg/images/lib/skywcs.x
	Added missing argument to fprintf call. (8/29/97, Davis)

pkg/images/immatch/src/linmatch/rglcolon.x
	Added missing argument to call to rg_lstats. (8/29/97, Davis)

pkg/cl/prcache.c
	The pr_unlock() function was comment out.  This has never caused a
	problem as the CL does not currently use this interface routine, 
	however it was causing a compiler error on one platform due to a 
	malformed comment, so it was uncommented.  (8/29)

pkg/plot/impstatus.x
	In sl_getstr, changed "Memc[sl]" to "int(Memc[sl])" to fix a mixed
	type mod function problem.  This routine is a bit on in that it stores
	a variable nlines, the number of status line lines, in a char variable
	in a char array (but it should work).  (8/29)


---------------------------------
V2.11 Public EXPORT release.  (8/29)

sys/imfort/imfort.h
sys/imfort/imcrex.x
	Added support for the "oifversion" environment variable to IMFORT.
	This is identical to what is in IMIO.  The default is version 2 (new)
	format images.  (9/05)

sys/imfort/imwrhdr.x
	In the process of making the above fairly simple addition I found a
	bug in writing V1 headers: IM_V1HDRLEN was not getting set correctly
	as the pointer was "im" instead of "v1".  This was preventing imfort
	from writing valid V1 image headers (and it appears that IMIO may have
	the same problem as well, seen as the user fields of the header not
	being written, although other code may patch up the header field later
	in the case of IMIO).  We did not see this problem earlier in IMFORT
	since it had no way to write V1 format images.  (9/05)

sys/imfort/db/imgnfn.x
	In the process of making the above fairly simple addition I found
	another header related bug, this one appears to have been there for
	some time.  The phead.f test IMFORT task was only printing the
	standard fields of the header, not the user fields, although it was
	supposed to print the full header.  Updated the relevant section of
	code in the IMFORT version of db/imgnfn.x with the code from the
	IMIO version of the file, which does not have this problem.  (This
	causes a problem in phead.f now when it encounters a HISTORY card,
	but I think that is a problem with the task, not with imfort).  (9/05)

unix/hlib/strip.iraf
	Changed the -file entry for bin.ssol to bin.ssun.  (9/22)

pkg/utilities/urand.x
pkg/utilities/doc/urand.hlp
	If the "seed" parameter is set to INDEF then the clock time (integer
	seconds since 1980) will be used as the seed.  This allows different
	executions to produce different random numbers.  (9/23, Valdes)

local/login.cl
	Updated logver to "IRAF V2.11 May 1997".  (9/24)

pkg/images/immatch/src/imcombine/icscale.x
pkg/images/immatch/doc/imcombine.hlp
	When the zero offsets or weights are specified in a file the weight
	adjustment for differeing sky levels is not done.  (10/3/97, Valdes)

pkg/plot/phistogram.x
	Fixed an error in the previous bug fix that was causing phistogram
	to die with a segmentation violation for text file input. (10/4, Davis)

dev/hosts
	Removed dyevushka, changed virgo to ssun, added mogollan as a ssun
	for GONG and zippy as my home linux box.  (10/17 MJF)

pkg/images/immatch/src/imcombine/t_imcombine.x
	When using STF images the failure error when there are too many images
	is SYS_IKIOPEN rather than the others that occur with OIF, etc.
	Added this error code to be caught and have the program build a
	stacked image to combine.  (10/21/97, Valdes)

dev/hosts
	Changed argo to a solaris machine  (10/28/97  MJF)

pkg/dataio/fits/fits_read.x
	Fixed a bug in the tape listing code that was causing the entire
	file to read instead of skipped if: 1) make_image = no, 2) there
	was only 1 image per file, and 3) fe = 0. (11/3/97 LED)

dev/hosts
	Added new-tucana for testing (11/6/97  MJF)

dev/hosts
	Cleaned up the hosts file according to Nigel's list:
	Solaris: aquarius, aten, bokchoy, carina, chomper, corvus, enzo,
         	herbie, humu, inti, kukita, kumbhakarna, mdi, mozart, norma,
         	oso, potosi, saguaro, soi, soleil, tofu, virgo, xari.
	SunOS: arun, aspen, bruckner, caelum, charfman, condorito, eagle,
    		grus, jalapeno, jannu, jupiter, kale, katmai, loaner-1,
		lonestar, mars, mintchip, mira, moraine, msgsun, musca,
		mytoy, odysseus, pantera, radix, rainbow, sagittarius, seurat,
		solarium, spud, surya, susanna, taco, tesla, video, vivalid,
		volans
	Machines not already in the file were not added as requested. Removed
	retired machines madrona and hummel (11/7/97 MJF)

sys/mwcs/wfinit.x
	Removed a duplicate "extern" declarations line for the MSP function.
	This was causing a compilation failure on Digital Unix.  (11/07)

unix/os/zfiopr.c
	Added a check that the pipe file descriptors do not exceed MAXOFILES.
	(11/07)

pkg/cl/main.c
	Changed the datatype of the variable old_onipc from int to PFI.
	This is used as a function pointer in CL/LIBC but on 64-bit platforms
	such as the DEC Alpha int and pointer are different sizes.  (11/09)

pkg/images/imfilter/src/t_median.x
pkg/images/imfilter/src/t_mode.x
	Changed the type declaration of the boundary extension from int
	(incorrect type) to real (the correct type) to avoid FPE errors
	on the Dec Alpha. (11/11 LED)

sys/imio/iki/stf/stfaccess.x
sys/imio/iki/fxf/fxfaccess.x
	BTOI was being called on the value returned by iki_validextn without
	converting the value to a boolean expression.  (11/12)

sys/imio/iki/stf/stfhextn.x
sys/imio/iki/stf/stfnewim.x
sys/imio/iki/fxf/fxfhextn.x
	Added checks to make sure that the old image pointer o_im is not
	used unless we have a new copy image and o_im is not NULL.  (11/13)

pkg/cl/builtin.c
	When building up the command line for a foreign task, if an unquoted
	INDEF was given an argument the CL would segvio on some platforms.
	Technically, since INDEF is a keyword and is being used as a string
	it should be quoted by the user, and things would work fine in this
	case.  But the CL should not segvio and it should check for an 
	indefinite operand in such a case so the code was modified to do so
	and generate the string "INDEF" in this case, where a string argument
	is being generated for an external command.  This doesn't avoid the
	need to quote other keywords however, e.g. "grep else" won't work 
	unless "else" is quoted.  (11/13)

sys/osb/ieee.gx
sys/osb/ieeed.x
sys/osb/ieeer.x
unix/as.sparc/ieee.gx
unix/as.sparc/ieeed.x
unix/as.sparc/ieeer.x
unix/as.ssol/ieee.gx
unix/as.ssol/ieeed.x
unix/as.ssol/ieeer.x
	The IEEE i/o package was modified to detect IEEE subnormals on input
	and map them to zero.  This feature is enabled along with NaN
	mapping; both are either enabled or disabled.  The ieee statistics
	however count only NaN mappings, not subnormals, since the latter
	are considered the same as zero values.   A subnormal is a number so
	small (close to zero) that it cannot be accurately represented.  For
	example the smallest IEEE single precision real is about 1.175e-38.
	Numbers from e-38 to e-45 or more gradually lose precision and are
	considered subnormals which should be rounded to zero.  An IEEE
	subnormal is any floating point number which has an exponent of
	zero.  (11/14)

sys/imio/iki/fxf/fxfhextn.x
sys/imio/iki/stf/stfhextn.x
	Added an initializer for local variable "old_kernel".  (11/15)

sys/imio/iki/fxf/fxfksection.x
	1. A warning message is now issued if one writes to a new file and
	the "overwrite" flag is set in the kernel section.
	2. When writing a new image to a file in new-copy mode, an extension
	index is specified and overwrite is not set, append can be specified
	to avoid an error trap (it is not clear why this does not apply to
	case new-image as well).  (11/16)

sys/imio/iki/fxf/fxfopen.x
	Several minor changes to improve error handling for the overwrite and
	append parameters in the ksection.  It is an error to try to overwrite
	a nonexistent extension.  Overwrite and append cannot be given in the
	same ksection.  If overwrite is explicitly given in the ksection to
	overwrite a specific extension, this overrides any "append" option 
	in the fkinit.  (11/17)

sys/imio/iki/fxf/fxfopix.x
	1. A loop copying IM_LEN to FIT_LENAXIS was replaced by an equivalent
	call to AMOVI.
	2. A temporary fix has been put in the fxf_byte_short routine to
	create the temporary file in 'tmp' rather than in the working
	directory (this should be replaced eventually by a runtime conversion
	scheme which avoids writing any temporary files).  (11/17)

sys/imio/iki/fxf/fxfopix.x
	The BSCALE/BZERO handling was modified to correct any precision
	errors resulting from formatted input (CTOD) when checking for the
	usual case of BSCALE/BZERO being 1.0/0.0.  If the number is 1 or 0
	to within the allowable precision the converted number is replaced
	by the exact number to eliminate the conversion error.  Also, the
	keywords are always preserved even if the scaling is unitary.  (11/17)

sys/imio/iki/fxf/fxfupdhdr.x
	1. The variable "group" was being used before its value was defined.
	2. This routine uses a temporary file in some cases when changing the
	size of the header.  "close(in_fd)" could be called in cases where
	this temporary file was not used.
	3. Added one conditional to fxf_header_diff() to return zero on 'diff'
	when the file does not exist and we want to have a dataless header.
	This also works when the want to append only a header.  (11/17)

sys/imio/iki/fxf/zfiofxf.x
	The fxf{zrd,zwr} routines were modified to avoid a case where the
	number of bytes to read/write could be negative.  (11/17)

pkg/images/imutil/src/imcopy.x		-
pkg/images/imutil/src/mkpkg
pkg/images/lib/imcopy.x
	Two different versions of the file imcopy.x in the images package
	were causing inconsistent behavior in the imcopy task.  The version
	images$lib/ was updated and the version in images$imutil/src/ was
	deleted. (11/18 LED)

sys/imio/mkpkg
sys/imio/imseti.x
sys/imio/imsetr.x
	IMIO has long had the odd structure for imset where imseti would
	call imsetr to set integer valued parameters.  This worked, but it
	is always a bad idea to involve the floating point unit in integer
	computations, and we encountered a portability problem on one
	platform in code that set a pointer value (SPP pointers are integers
	but the value can be large enough to exceed the 24 bit integer
	precision of a single precision real).  Imseti and imsetr were 
	therefore broken out as two independent routines with integer or
	real parameters set directly by one or the other.  For backwards
	compatibility either can still be used however to set any IMIO
	parameter, subject to the implied conversion.  (11/18)

sys/imio/imstatr.x	+
	IMIO had imstati and imstats (string) routines but no imstatr, even
	though there there is a imsetr.  Added an imstatr.  (11/18)

sys/imio/db/imgnfn.x
sys/imfort/db/imgnfn.x
	Modified the imgnfn code, which returns a list of named keywords
	from the image header matching some pattern, to exclude lines in the
	header user area which are not named keywords, i.e. not
	keyword=value assignments.  This would include history and comment
	lines, or blank lines, none of which are considered header keywords.
	(11/18)

sys/imio/db/mkpkg
sys/imio/db/idbfstr.x		+
	Added a new internal IMIO routine idb_filstr which filters an input
	string to remove tabs, newlines, or unprintable control codes.  (11/21)

sys/imio/db/impstr.x
sys/imio/db/imputh.x
	These routines were modified to use idb_filstr to filter the input
	text before placing it in the image header.  In principle we should
	not be doing this, but since most existing headers are subject to
	FITS restrictions it is best to do so (also due to the way this code
	writes the headers tabs could cause things to be misformatted).
	(11/21)

sys/imio/db/imaddf.x
	The keyword name is filtered as above, also any embedded whitespace
	is removed.  (11/21)

sys/imio/iki/fxf/zfiofxf.x
sys/imio/iki/fxf/fxfpak.x
sys/imio/iki/fxf/fxfupk.x
	1. The fxfzwr routine, used when the FITS kernel writes to a file,
	would modify the input IMIO/FIO data buffer in some cases on some
	platforms.  This could cause data corruption, or if you were lucky
	an invalid operand exception.
	2. fxfzrd was modifying the input argument boffset.
	3. In fxfupk.x, fxf_altmd, which converts from int to double when
	applying bscale/bzero, would fail for in-place operations (which
	is how it is being called by the FK).

	Some other minor changes.  We will modify this code further later
	to eliminate the temp file used when accessing byte image or short
	images with non-unitary bscale/bzero.  There may be some other
	interim restrictions on updating byte images and so on.  (11/24)

sys/libc/scanf.c
	Increased SZ_NUMBUF from 25 to 256.  A number with a lot of leading
	non-significant zeros (0.0000<etc>12345) could overflow an internal
	temporary string buffer.  (12/07)

pkg/cl/gram.c
	1. In caseset() the first argument is a pointer value but it was
	declared as an int.  Changed to memel.  This was causing switch/case
	to fail on 64 bit platforms like the Alpha.
	2. There was also an apparent bug in the case of a string case
	which could prevent use of character constants as cases.  (12/07)

pkg/cl/mem.h
pkg/cl/stack.c
	The stack utility functions push/pop/ppush are used to push and pop
	operands from from the control stack, which is an array of memel
	(generic integer type memory elements, used to store values of
	various actual types).  "push" is used in a generic way in the CL to
	push both types of values, but this could cause portability problems
	on machines where e.g. int and pointer are not the same size.
	Rather than try to remember to always cast things properly when
	calling push, the functions were changed to pushmem/ppushmem/popmem,
	explicit type memel, and push/ppush/pop were changed to macros that
	automatically coerce arguments of any type to memel.  Hence common
	usages such as "push(0)" and "push(stkop(v))" are still acceptable
	and should now be portable.  (12/07)

pkg/cl/gram.c
	Changed a sscanf call in the code which parses a sexagesimal number
	to operate in double instead of float.  This fixes a problem where
	a statement such as "=1:12:34.567" would lose precision.  (12/08)

math/llsq/gen.f
	This file produced compiler warning about unitialized variables,
	and indeed some branches of an assigned goto (sorry) were using
	unitialized variables.  It seemed apparent what the author intended,
	so the variable initializers were moved to above the assigned goto.
	(12/10)

sys/imio/iki/fxf/fxfksection.x
sys/imio/iki/fxf/fxfopen.x
sys/imio/iki/fxf/fxfrfits.x
	Some missing sfree() calls were added.  (12/10)

sys/qpoe/qpio.h
	Fixed a typo in a definition of "defyblock".  (12/10)

sys/mwcs/mkpkg
sys/mwcs/wfinit.x
sys/mwcs/wftnx.x		+
sys/mwcs/wfzpx.x		+
sys/mwcs/wfgsurfit.x		+
	Added two new, experimental WCS function drives for TNX (tangent plane
	plus polynomials) and ZPX (zenithal radial polynomials).  These are
	used for optically distorted astrometric applications, e.g. the NOAO
	Mosaic wide field camera.  (12/10,12)

pkg/images/immatch/doc/geomap.hlp
	Added a entry for the verbose parameter to the geomap help page.
	(12/11 LED)

pkg/images/imgeom/doc/imtrans.hlp
pkg/images/imgeom/doc/rotate.hlp
	Improved the discussion of 90, 180, and 270 degree rotations in the
	imtranpose and rotate task help pages.
	(12/11 LED)

pkg/math/gsurfit/gsfree.gx
pkg/math/gsurfit/gsfreer.x
pkg/math/gsurfit/gsfreed.x
	Fixed a typo in the gsurfit package cleanup routine.
	(12/11 LED)

pkg/images/imutil/src/t_imreplace.x
pkg/images/imutil/src/imrep.gx
pkg/images/imutil/imreplace.par
pkg/images/imutil/doc/imreplace.hlp
	Added a radius parameter to also replace any pixels within a
	specified distance of pixels within the replacement window.
	(12/11 FV)

dev/hosts
	Added mars to hosts file for all server (12/12 MJF)

sys/imio/iki/oifwrhdr.x
	Fixed a typo, IM_V1HDRLEN(im) -> IM_V1HDRLEN(v1).  (12/12)

unix/shlib/mkshlib.ssol-sc34
	The shared library build would fail on Solaris if /opt/SUNWspro was
	a link rather than a directory, due to "find" not following the link
	in a file existence test.  (12/13)

unix/hlib/irafuser.csh
	The variable OSRELEASE was changed to be insensitive to micro-
	releases.  For example, releases 2.5 and 2.5.1 would both be
	considered to be "2.5".  The effect of this change is that shared
	libraries will, by default, only be generated to the minor release
	level (generating a shared image on a Solaris 2.5.1 or 2.6.1 system
	will result in a S11_2.5.e or S11_2.6.e being generated).  (12/13)

unix/os/zzstrt.c
	The shared library mapping code was changed to add a check for minor
	release shared images when searching for the shared image by OS
	release.  For example, for an IRAF version 11 shared image on a
	Solaris 2.5.1 system, the search order will be "S11_2.5.1.e",
	"S11_2.5.e", and "S11.e".  With the related change above only the
	"S11_2.5.e" shared image would be generated for a 2.5 system, but
	one could manually install separate 2.5 and 2.5.1 shared images if
	desired and the distributed linked images would automatically use
	the microrelease version.  (12/13)

	NOTE: Solaris IRAF is now being relinked using Solaris 2.6 instead
	of 2.5.1.  The Solaris 2.5 shared image, of course, is still being
	linked on a 2.5.1 system.  So far as we know there shouldn't be any
	problem running Solaris executables on any version of Solaris so
	long as the correct shared image is available.

sys/imio/iki/iki.h
sys/imio/iki/ikiopen.x
sys/imio/iki/ikiaccess.x
sys/imio/iki/ikiparse.x
sys/imio/iki/ikirename.x
sys/imio/iki/ikidelete.x
sys/imio/iki/ikicopy.x
	The iki_access routine was changed to query all image kernels to see
	if they recognize a given image, and return ERR in this case.  This
	happens when there are multiple images with the same root name but
	with different image types, and the image was referred to
	ambiguously (e.g. a directory contains "pix.imh" and "pix.fits" and
	the image name is given as "pix").

	The IKI copy, delete, and rename operations will abort with an
	"ambiguous image name" error if this situation occurs.  The iki_open
	routine (immap) will invoke the ambiguous image error when opening
	an existing image and multiple images with the given name exist,
	however it will allow multiple images to be created or existing
	images to be clobbered (clobber control is implemented at the image
	kernel level).

	A kludge had to be added to iki_parse to provide special treatment
	for the standard testimage dev$pix.  Otherwise an ambiguous image
	error would result due to having dev$pix.imh and dev$pix.hhh in the
	same directory, both matching "dev$pix".  pix.hhh is not a real
	image, merely a template used to construct new STF images, but it is
	used in existing applications code (STSDAS) hence could not easily
	be renamed.  (12/13-14)

sys/imio/iki/oif/oifaccess.x
	To implement the above it was necessary to drop support for
	imagefiles with no extension from the OIF kernel.  It is time we got
	rid of this feature anyway.  There probably aren't any existing OIF
	images that don't have an extension, but if there are they can be
	renamed and still be read.  (12/14)

sys/imio/imaccess.x
	The imaccess routine in IMIO will return YES if a single image
	exists with the given name, NO if no image exists with the given
	name, and will take an SYS_IKIAMBIG error exit (ambiguous image
	name) if multiple images exist with the same name.  I considered
	having imaccess return ERR in the case of multiple images, but this
	would have been an interface change, e.g. imaccess==YES could fail
	even if the named image existed.  An error handler can still be used
	to detect this situation.  (12/14)

sys/libc/cimaccess.c
	The LIBC routine c_imaccess (and the CL imaccess function) will return
	ERR rather than abort, if the ambiguous image error occurs.  (12/14)

lib/syserr.h
lib/syserrmsg
	Added the SYS_IKIAMBIG (ambiguous image name) error event.  (12/14)

sys/NAMES
sys/INDEX               +
	Installed an updated version of the old forgotten INDEX file and
	added a new file NAMES.  INDEX provides an index of all system
	library procedures.  NAMES provides the mapping between long source
	file names and 6-character library names.  NAMES can be used to
	check for system library name collisions with applications procedure
	names.  (12/14)

pkg/images/immatch/src/linmatch/rglscale.x
	Fixed a floating point operand error that could occur if the
	scaling algorithm was one of "mean", "median", or "mode", 
	and one or more of the reference image regions had a zero valued
	mean, median, or mode. The error was in the bscale and bzero error
	computation. (12/15)

dev/graphcap
	A few dozen lines at the end of the graphcap file somehow got
	replaced with NULs; the size of the file did not change so it looks
	like some sort of bizarre system problem.  Replaced the file with
	an earlier version after a diff/merge to verify that the bulk of 
	the file had not changed.  Propagated to Lyra and Vega for platform
	upgrade testing.  (12/16)

pkg/images/lib/skywcs.h
pkg/images/lib/geomap.h
pkg/images/lib/geofit.gx
pkg/images/lib/geofit.x
pkg/images/lib/rgccwcs.x
pkg/images/imcoords/ccfind.par
pkg/images/imcoords/ccmap.par
pkg/images/imcoords/ccsetwcs.par
pkg/images/imcoords/cctran.par
pkg/images/imcoords/ccxymatch.par
pkg/images/imcoords/src/t_ccfind.x
pkg/images/imcoords/src/t_ccmap.x
pkg/images/imcoords/src/t_ccsetwcs.x
pkg/images/imcoords/src/t_ccxymatch.x
pkg/images/imcoords/src/t_ccfunc.x
pkg/images/imcoords/src/ccfunc.x
pkg/images/imcoords/src/ccxytran.x
pkg/images/imcoords/doc/ccfind.hlp
pkg/images/imcoords/doc/ccmap.hlp
pkg/images/imcoords/doc/ccsetwcs.hlp
pkg/images/imcoords/doc/cctran.hlp
pkg/images/imcoords/doc/ccxymatch.hlp
	Modified the astrometry routines to support the experimental function
	drivers tnx and zpx as well as the other new function drivers.
	(12/15 LED)

pkg/images/immatch/src/linmatch/lsqfit.h
pkg/images/immatch/src/linmatch/rglscale.x
pkg/images/immatch/src/linmatch/rgliscale.x
pkg/images/immatch/src/linmatch/rglsqfit.x
pkg/images/immatch/src/linmatch/rglplot.x
	Fixed several bugs in the linmatch bad regions handling code that
	could result in floating point errors in the fit and other problems
	if the reference image regions shifted to the input image coordinate
	system were entirely or partially off the input image. Modified
	the graphics routines to window the fits more appropropriately in
	the case where the majority of the input data is bad for one reason
	or another (12/19 LED).

doc/newsfile
doc/v211revs.hlp		+
	Added the V2.11 revisions summary to the newsfile ("news" command in
	IRAF) and to the DOC archive.  (12/22)

sys/fmtio/evvexpr.gy
	In the xvv_quest code (the "?" conditional-expression operator) the
	local variable nelem was not being initialized in certain
	circumstances.  (12/23)

---------------------------------
V2.11.1 patch released.  (12/23 1997)

dev/hosts
	Added solaris machine mogollan (1/16/98  MJF)

sys/tty/ttyopen.x	
	A corrupted termcap file with a few thousand zero bytes at the end
	would cause ttyopen to segvio when attempting to fetch an entry not
	found, and hence reading into the zero data region.  (1/16)

dev/termcap
	This end of this file had been replaced by zero bytes.  The first 79
	512 byte blocks were valid data and the rest of the file was zeroed.
	This is the same problem seen with graphcap earlier!  It still looks
	like a system problem.  A rdist update a while back must have 
	propagated the error to lepus where it was causing a segvio in PC-IRAF.
	Replaced this file with an older version on ursa, after a diff to
	check for revisions.  (1/16)

sys/imio/iki/ikiextn.x
	The iki_validextn() function, used to test whether a file extension
	is valid for a given image format, was not rejecting extensions
	such as "extnXXX" which match the first few characters of a valid
	extension, but which are longer strings.  (1/20)

dev/hosts
	Added IRIX machine almond at the WIYN (1/21/98  MJF)

pkg/cl/login.cl
	Changed the version check string for V2.11.  (1/21)

pkg/cl/modes.c
	This routine was calling c_stggettline as (fd,buf,maxch) but since
	stggetline is patterned after FIO getline it uses a SZ_LINE buffer
	and takes no maxch argument.  The CL code was using a 512 char
	buffer, which is plenty large enough, but with the recent changes to
	buffer sizes in V2.11, SZ_LINE is now 1023 and is hence larger than
	512.  Even this would not normally be a problem as the actual string
	read never exceeds 512 chars, however the string packing routine
	called always sets the last char in the output buffer to EOS to
	truncate strings that are larger than the output buffer.  Hence, a
	very subtle buffer overrun could occur.  This showed up as a segvio
	during CL logout on a Linux system.  Since C allocates auto storage
	on the stack, the memory overrwrite was overriting the frame pointer
	for a function call in c_main, and the RET instruction in execute
	was vectoring off into segvio land.  Nasty stuff.  (1/23)

sys/unix/os/zwmsec.c
	Replaced the setitimer-based zwmsec code by a version that can use
	either usleep() or the old setitimer code.  (1/23)

sys/imfort/imcrex.x
	Added a line of code to set IM_ACMODE to NEW_IMAGE.  The imwrhdr
	code, used to update the image header, sets certain fields only if
	a new image is being created.  (2/03)

sys/imio/imsetbuf.x
	Modified to disable "fast" i/o if swapping is needed.  (2/05)

pkg/images/lib/geograph.gx
pkg/images/lib/geograph.x
        Modifed the plot labels to say "reject =" instead of "sigrej = " to
        maintain naming consistency with the reject parameter.
        (2/23/98 LED)

unix/hlib/buglog.csh
	Modified to create V2.11 bugs instead of V2.10 bugs.  The buglog
	file is in iraf/v211, but this is a link to the v2.10 buglog to
	allow a common buglog file to be used for both.  (2/24)

sys/imio/iki/oif/oifwrhdr.x
	Modified oif_trim() to check for a nonzero string count so that it
	does not call alcrc with a negative char count, which could cause
	it to corrupt memory.  (2/27)

noao/mkpkg
	Added architecture enties for "irix", "rs6000", and "redhat".  (3/03)

images/lib/geogmap.gx
images/lib/geogmap.x
	The calls to gt_colon were missing an argument so any gtools
	command would cause the geomap or ccmap tasks to crash. It looks
	as though the calling sequence for this routine changed a long
	time ago but geomap never picked up the change. (3/11 LED)

unix/boot/xyacc/y1.c
unix/boot/xyacc/y3.c
unix/boot/xyacc/y4.c
	Cleaned up some poorly formed comments.  These were of the form
	/* ... /* ... */, i.e. the opening and closing forms didn't match.
	This caused a problem with the C compiler on AIX4.  (3/11)

sys/gio/cursor/gtrwsclip.x
	This file contained an expression  ((tu <= 0) != (tv <= 0))  which is
	technically illegal (in Fortran) as != is an arithmetic operator and
	the operands are logical.  Replaced the above expression by the
	equivalent  (! ((tu <= 0 && tv <= 0) || (tu > 0 && tv > 0)))  which,
	while less clear, avoids the type clash.  (3/14)

sys/gio/stdgraph/stggim.x
	This file contained a couple instances of an AND of a short variable
	and the constant 017B, an integer, causing a short/int type mismatch.
	Changed the 017B to use a type variable of type short for the mask
	value.  (3/14)

sys/plio/plp2l.gx  
sys/plio/plp2r.gx  
	These files contained a couple of instances of  max(0,<short>)
	constructs which caused an integer/short type mismatch.  Had to
	replace the numeric 0 instances by a short variable.  (3/14)

dev/hosts
	removed virgo  (4/13  MJF)

dev/termcap
	Added an entry for lwdp.  (4/13)

dev/hosts
	added kalahari  (5/7/98 MJF)

pkg/system/references.cl
	Added the switch "metacharacters=yes" (the default) to several calls
	to the MATCH task in this script.  A user had changed the default
	value of this parameter, causing the references task to fail.  (5/08)

sys/gio/imdkern/idk.x
sys/gio/imdkern/imdpcell.x
dev/graphcap
	Changed BPW from 8 to 32 (nbits used per integer word of the IDK
	image bitmask); this increases the encoding efficiency of the
	bitmask to the maximum to reduce the size of the internal IDK frame
	buffer bitmask used for overlay graphics.  Increased the maximum
	frame buffer size from 2048 square to 8192 square.  Changed the
	max resolution for imdkern to 8192x8192 in the graphcap entry.  (5/19)

dev/hosts
	Changed pisces to ssun (5/28/98 MJF)

dev/hosts
	added 'defiant' to the list (5/29/98 MC)

pkg/images/immatch/src/imcombine/t_imcombine.x
pkg/images/immatch/src/imcombine/icombine.gx
pkg/images/immatch/src/imcombine/ic_rmasks.x    +
pkg/images/immatch/src/imcombine/ic_log.x
pkg/images/immatch/src/imcombine/mkpkg
pkg/images/immatch/imcombine.par
pkg/images/immatch/doc/imcombine.hlp
	Added a new output which is a pixel mask identifying which pixel in
	which input image is rejected or not included in the final output.
	(5/15/98, Valdes)

pkg/images/tv/display/dspmmap.x
	The steps to check if an image and mask have an integer relationship
	(integer sampling and integer offsets) in their physical coordinate
	systems could fail because real precision was not high enough
	in MWCS transformation calls.  Changed variables and MWCS calls
	to double.  (5/29/98, Valdes)

dev/hosts
	Added loaner-1  (6/3/98  MJF)

pkg/images/imutil/doc/imexpr.hlp
	Added an example of how to create a circular pixel mask. (6/8/98 MJF)

dev/hosts
	Added tesla (6/12/98  MJF)

pkg/dataio/fits/fits_cards.x
	Added a check for pre-existing IRAFNAME keywords to the wfits task.
	(6/8/98 LED)

sys/imfort/imopnx.x
	The value of the user variable min_lenuserarea was being read but was
	not being used correctly to allocate the header buffer.  Changed the
	calc of len_hdrmem to len_hdrmem = LEN_IMHDR + (len_ua / SZ_STRUCT).
	(6/22)

pkg/images/tv/imedit/epix.h
pkg/images/tv/imedit/t_imedit.x
pkg/images/tv/imedit/epcolon.x
pkg/images/tv/doc/imedit.hlp
	The temporary editing buffer image was made into a unique temporary
	image rather than the fixed name of "epixbuf".  (6/30/98, Valdes)

dev/hosts
	Added makalu (7/8/98 MJF)

unix/shlib/mkshlib.sos4
	Had to change a "-lresolv" to "-lresolv -l44bsd" to get things
	to link due to recent changes in SunOS on tucana.  (7/13)

pkg/dataio/import/t_import.x
	Modified to initialize the 'use_cmap' flag to on by default so 8-bit
	colormap images will be converted more intuitively.  (7/14/98 MJF)

pkg/images/immatch/src/imcombine/t_imcombine.x
	The internal calculation type was changed from the highest precedence
	type of the input images to the highest of the input and output.
	This allows setting the output type to be real to force computation
	in real for integer input images.  Not doing this could cause severe
	truncation errors if the users specify their own scaling values.
	(7/14/98, Valdes)

dev/hosts
	Removed: katmai jannu
	Changed to Solaris: grus seurat
	Added (Solaris): xari chopin bluemoon magenta matisse makalu mele gronk
  	Added (SunOS): grotrian  (7/16/98 MJF)

dev/hosts
	Changed deneb to solaris (7/22/98 MJF)

pkg/images/immatch/src/imcombine/icgdata.gx
	Needed to initialize the number of pixels combined for the case where
	there is initially no data.  (7/29/98, Valdes)

pkg/images/tv/imexamine/stfmeasure.x
	The logic in STF_FIT for determining the points to fit and the point
	to use for the initial width estimate was faulty allowing some bad
	cases to get through.  (7/31/98, Valdes)

pkg/math/nlfit/nlchomat.gx
pkg/math/nlfit/nlchomatr.x
pkg/math/nlfit/nlchomatd.x
        Modified the singular matrix test to make a comparison against EPSILON
	instead of 0.0 to avoid floating point problems. (8/1/98, Davis)

pkg/images/tv/display/t_display.x
	Added checks for a data range of zero, or which rounds to zero for
	short data, to avoid floating divide by zero errors.  Rather than
	resort to a unitary transformation in this case the requested
	data range minimum is decreased by one and the maximum is increased
	by one.  (8/11/98, Valdes)

unix/os/zfioks.c
	Added a new environment variable "KSRSH".  This can be used to define
	the RSH command to be used to make network connections.  The default
	value is "rsh" (or the equivalent "remsh" on one old system).  For
	example, one can set KSRSH=ssh to cause IRAF networking to use ssh
	instead of rsh (ssh is a more secure version of rsh that uses strong
	authentication).  (9/08)

pkg/images/immatch/doc/geomap.hlp
	Changed references to the old register task to gregister which is
	the new task name. (9/10, Davis)

pkg/images/imutil/src/t_imarith.x
	Modified the imarith task so that header updating would only occur
	if noact=no, to fix a segmentation violation error. (9/16, Davis)

dev/hosts
	Removed nonexistent benhur and monoceros (9/21, MJF)

lib/time.h
sys/etc/cnvtime.x
sys/etc/cnvdate.x
	Minor changes were made to print the year using 4 digits instead of
	2, to make this code Y2K compliant.  (10/29)

pkg/images/immatch/src/imcombine/icsetout.x
	Fixed a problem with input images that have dimensional reduction.
	(10/6, Valdes)

sys/mwcs/wfmspec.x
	The multispec format WCS driver was modified to normalize the
	weights array (adjust the sum of the weights to 1.0) if they are
	not already normalized.  IRAF code should produce normalized weights,
	but there were cases where unnormalized weights could get into the
	WCS, and this could cause systematic errors in radial velocities.
	(11/18)

dev/hosts
	Added solaris machine lilawati (12/1, MJF)

pkg/math/iminterp/asitype.x
pkg/math/iminterp/asisinit.x
pkg/math/iminterp/asigetr.x
pkg/math/iminterp/doc/asitype.hlp
pkg/math/iminterp/doc/asisinit.hlp
pkg/math/iminterp/doc/asigetr.hlp
	Three new routines were added to the 1D image interpolation package:
	asitype, asisinit, and asigetr. (12/28 LED).

pkg/math/iminterp/msitype.x
pkg/math/iminterp/msisinit.x
pkg/math/iminterp/msigetr.x
pkg/math/iminterp/doc/msitype.hlp
pkg/math/iminterp/doc/msisinit.hlp
pkg/math/iminterp/doc/msigetr.hlp
	Three new routines were added to the 2D image interpolation package:
	msitype, msisinit, and msigetr. (12/28 LED).

pkg/math/iminterp/im1interpdef.h
pkg/math/iminterp/iminterp.h
pkg/math/iminterp/iminterp.hd
pkg/math/iminterp/iminterp.men
pkg/math/iminterp/iminterp.help
pkg/math/iminterp/iminterp.spc
pkg/math/iminterp/arbpix.x
pkg/math/iminterp/arider.x
pkg/math/iminterp/arieval.x
pkg/math/iminterp/asider.x
pkg/math/iminterp/asieval.x
pkg/math/iminterp/asifit.x
pkg/math/iminterp/asifree.x
pkg/math/iminterp/asigeti.x
pkg/math/iminterp/asigrl.x
pkg/math/iminterp/asiinit.x
pkg/math/iminterp/asirestore.x
pkg/math/iminterp/asisave.x
pkg/math/iminterp/asivector.x
pkg/math/iminterp/ii_1dinteg.x
pkg/math/iminterp/ii_cubspl.f
pkg/math/iminterp/ii_eval.x
pkg/math/iminterp/ii_pc1deval.x
pkg/math/iminterp/ii_polterp.x
pkg/math/iminterp/ii_sinctable.x
pkg/math/iminterp/ii_spline.x
pkg/math/iminterp/mkpkg
pkg/math/iminterp/doc/arbpix.hlp
pkg/math/iminterp/doc/arider.hlp
pkg/math/iminterp/doc/arieval.hlp
pkg/math/iminterp/doc/asider.hlp
pkg/math/iminterp/doc/asieval.hlp
pkg/math/iminterp/doc/asifit.hlp
pkg/math/iminterp/doc/asifree.hlp
pkg/math/iminterp/doc/asigeti.hlp
pkg/math/iminterp/doc/asigetr.hlp
pkg/math/iminterp/doc/asigrl.hlp
pkg/math/iminterp/doc/asiinit.hlp
pkg/math/iminterp/doc/asirestore.hlp
pkg/math/iminterp/doc/asisave.hlp
pkg/math/iminterp/doc/asisinit.hlp
pkg/math/iminterp/doc/asitype.hlp
pkg/math/iminterp/doc/asivector.hlp
	The 1D interpolation routines were modified to support look-up table
	sinc interpolation and drizzle resampling. Minor improvements in
	weighting were made to the existing 1D sinc routines. (12/28 Davis)

pkg/math/iminterp/im2interpdef.h
pkg/math/iminterp/iminterp.h
pkg/math/iminterp/iminterp.hd
pkg/math/iminterp/iminterp.men
pkg/math/iminterp/iminterp.help
pkg/math/iminterp/iminterp.spc
pkg/math/iminterp/mrider.x
pkg/math/iminterp/mrieval.x
pkg/math/iminterp/msider.x
pkg/math/iminterp/msieval.x
pkg/math/iminterp/msifit.x
pkg/math/iminterp/msifree.x
pkg/math/iminterp/msigeti.x
pkg/math/iminterp/msigetr.x
pkg/math/iminterp/msigrid.x
pkg/math/iminterp/msigrl.x
pkg/math/iminterp/msiinit.x
pkg/math/iminterp/msirestore.x
pkg/math/iminterp/msisave.x
pkg/math/iminterp/msisinit.x
pkg/math/iminterp/msisqgrl.x
pkg/math/iminterp/msitype.x
pkg/math/iminterp/msivector.x
pkg/math/iminterp/ii_bieval.x
pkg/math/iminterp/ii_greval.x
pkg/math/iminterp/ii_pc2deval.x
pkg/math/iminterp/ii_spline2d.x
pkg/math/iminterp/mkpkg
pkg/math/iminterp/doc/mrider.hlp
pkg/math/iminterp/doc/mrieval.hlp
pkg/math/iminterp/doc/msider.hlp
pkg/math/iminterp/doc/msieval.hlp
pkg/math/iminterp/doc/msifit.hlp
pkg/math/iminterp/doc/msifree.hlp
pkg/math/iminterp/doc/msigeti.hlp
pkg/math/iminterp/doc/msigetr.hlp
pkg/math/iminterp/doc/msigrid.hlp
pkg/math/iminterp/doc/msigrl.hlp
pkg/math/iminterp/doc/msiinit.hlp
pkg/math/iminterp/doc/msirestore.hlp
pkg/math/iminterp/doc/msisave.hlp
pkg/math/iminterp/doc/msisinit.hlp
pkg/math/iminterp/doc/msisqgrl.hlp
pkg/math/iminterp/doc/msitype.hlp
pkg/math/iminterp/doc/msivector.hlp
	The 2D interpolation routines were modified to support sinc and
	look-up table sinc interpolation and drizzle resampling. (12/28 Davis)

pkg/images/imgeom/magnify.par
pkg/images/imgeom/src/t_magnify.x
pkg/images/imgeom/doc/magnify.hlp
        Installed a new version of the magnify task which support 1D and 2D
        sinc and look-up table sinc interpolation and 1D and 2D drizzle
	resampling.  Modified the out-of-bounds pixel handling algorithm to
	conform to the other image resampling tasks.  (12/28 Davis)

pkg/images/imgeom/imshift.par
pkg/images/imgeom/src/t_imshift.x
pkg/images/imgeom/doc/imshift.hlp
        Installed a new version of the imshift task which supports 2D sinc and
        look-up table sinc interpolation and 2D drizzle resampling.
        (12/28 Davis)

pkg/images/imgeom/shiftlines.par
pkg/images/imgeom/src/t_shiftlines.x
pkg/images/imgeom/src/shiftlines.x
pkg/images/imgeom/doc/shiftlines.hlp
        Installed a new version of the shiftlines task which supports 1D sinc
	and look-up table sinc interpolation and 1D drizzle resampling.
        (12/28 Davis)

pkg/images/immatch/xregister.par
pkg/images/immatch/src/t_xregister.x
pkg/images/immatch/src/rgximshift.x
pkg/images/immatch/doc/xregister.hlp
        Installed a new version of the xregister task which supports 2D sinc and
        look-up table sinc interpolation and 2D drizzle resampling.
        (12/29 Davis)

pkg/images/immatch/geotran.par
pkg/images/immatch/src/geometry/geotran.h
pkg/images/immatch/src/geometry/t_geotran.x
pkg/images/immatch/src/geometry/geotran.x
pkg/images/immatch/src/geometry/geotimtran.x
pkg/images/immatch/doc/geotran.hlp
        Installed a new version of the geotran task which support 1D and 2D
        sinc and look-up table sinc interpolation and 1D and 2D drizzle
	resampling.  Modified the out-of-bounds pixel handling algorithm to
	conform to the other image resampling tasks in the case where the
	entire input image is in memory. (12/29 Davis)

pkg/images/imgeom/rotate.par
pkg/images/imgeom/imlintran.par
pkg/images/imgeom/doc/rotate.hlp
pkg/images/imgeom/doc/imlintran.hlp
        Installed new versions of the rotate and imlintran tasks (these
	are scripts which run geotran) which support 2D sinc and look-up
	table sinc interpolation and 2D drizzle resampling.
	(12/29 Davis)

pkg/images/immmatch/gregister.par
pkg/images/immmatch/sregister.cl
pkg/images/immmatch/wregister.cl
pkg/images/immmatch/doc/gregister.hlp
pkg/images/immmatch/doc/sregister.hlp
pkg/images/immmatch/doc/wregister.hlp
        Installed new versions of the gregister, sregister, and wregister
	tasks (these are scripts which run geotran) which support 1D and 2D
	sinc and look-up table sinc interpolation and 1D and 2D drizzle
	resampling.  (12/29 Davis)

dev/graphcap
	Added an entry for 'clp2', a new color printer (1/2 MJF)

pkg/images/immatch/src/wcsmatch/t_wcscopy.x
	Modified wcscopy to update the RADECSYS, EQUINOX, and MJD-WCS keywords
	as well as the mwcs keywords. (1/7/99, Davis)

dev/hosts
	Added solaris machine roadrunner (1/11/99 MJF)

dev/devices.hlp
	Updated devices.hlp to include clp, clp2, and clp2t.  Propogated the
	updated graphcap and devices.hlp files to ursa, gemini, and bigx.
	(1/13/99 jb)

dev/hosts
	Changed tribble from sparc to solaris (1/13/99 MJF)

lib/pkg/gtools.h
pkg/xtools/gtools/gtools.h
pkg/xtools/gtools/gtvplot.x
pkg/xtools/gtools/gtctran.x
pkg/xtools/gtools/gtplot.x
pkg/xtools/gtools/gtfree.x
pkg/xtools/gtools/gtcur.x
pkg/xtools/gtools/gtgui.x
pkg/xtools/gtools/gtcur1.x
pkg/xtools/gtools/gtswind.x
pkg/xtools/gtools/gtwindow.x
pkg/xtools/gtools/gtget.x
pkg/xtools/gtools/gtset.x
pkg/xtools/gtools/gtreset.x
pkg/xtools/gtools/gtcopy.x
pkg/xtools/gtools/gtcolon.x
pkg/xtools/gtools/gtinit.x
pkg/xtools/gtools/gtlabax.x
pkg/xtools/gtools/gtascale.x
pkg/xtools/gtools/gthelp.x	-
pkg/xtools/gtools/gtpage.x	-
pkg/xtools/gtools/mkpkg
	A new version of the GTOOLS routines was installed.  The internal
	data structure was extended and colon commands and GUI messages
	added to support GUI tasks (SPECTOOL, XRV, and XCURFIT).  The
	package interface, the public include file, and all colon and
	keystroke commands remain unchanged for existing applications.  Two
	routines which were never used were deleted.  (12/16/98, FV)

pkg/xtools/icfit/icfit.h
pkg/xtools/icfit/icgui.x	+
pkg/xtools/icfit/icguishow.gx	+
pkg/xtools/icfit/icferrors.gx	+
pkg/xtools/icfit/icfshow.x	+
pkg/xtools/icfit/icfvshow.gx	+
pkg/xtools/icfit/icgaxes.gx
pkg/xtools/icfit/icgcolon.gx
pkg/xtools/icfit/icgdelete.gx
pkg/xtools/icfit/icgfit.gx
pkg/xtools/icfit/icggraph.gx
pkg/xtools/icfit/icgnearest.gx
pkg/xtools/icfit/icgparams.gx
pkg/xtools/icfit/icgsample.gx
pkg/xtools/icfit/icgundelete.gx
pkg/xtools/icfit/icparams.x
pkg/xtools/icfit/icerrors.gx
pkg/xtools/icfit/icshow.x
pkg/xtools/icfit/icvshow.gx
pkg/xtools/icfit/mkpkg
pkg/xtools/icfit/names.h
	The package was modified to add colon commands and GUI messages to
	support GUI tasks (SPECTOOL, XRV, and XCURFIT).  The package
	interface for existing applications remains unchanged and no
	changes are required to calling programs.  (12/16/98, FV)

pkg/images/immatch/doc/wregister.hlp
pkg/images/immatch/doc/sregister.hlp
	Added an example of how to do images mosaicing with the wregister
	and sregister tasks. (1/28/99, LED)

bin.sparc/S.e			+
bin.ssun/S.e			+
	The "S.e" link was restored.  This link points to the Sun/IRAF shared
	image for the development system.  It is not required for execution,
	but is required at compile/link time for edsym.e to be able to 
	update the symbols for the IRAF shared image.  This is needed to
	debug functions in the shared image.  (2/11)

unix/boot/spp/rpp/mkpkg.sh
unix/boot/spp/rpp/ratlibc/mkpkg.sh
	The ratlibc code was being compiled into a library "libc.a".  This
	caused problems linking rpp.e on Solaris 7, so the name of this
	internal, temporary library was changed to libratc.a.  (2/11)

pkg/images/immatch/src/listmatch/t_xyxymatch.x
pkg/images/imcoords/src/t_ccxymatch.x
        Fixed the xyxymatch and ccxymatch tasks so that they work properly when
        the number of reference files is greater than one and equal to the
        number of input files. In that case xyxymatch and ccxymatch are supposed
        to pair up the input and reference files one to one instead of using the
        last file in the reference file list, as they were doing. (2/22 LED)

dev/hosts
	Added sunos machine arun (3/4/99 MJF)

dev/hosts
	Deleted nonexistant hosts herbie, piscis, pictor, ozzie, and sonoma
	(3/18/99 MJF)

unix/hlib/r1mach.f
unix/hlib/d1mach.f
unix/hlib/i1mach.f
	Installed updated versions of these files from the PORT package
	on netlib.  The values for the minimum and maximum IEEE floating
	point normals were invalid (thanks to Steve Walton for pointing
	this out).  NOTE: even on a machine with IEEE floating point, the
	file d1mach.f has to be modified to reflect the byte order of
	the platform IRAF is being ported to.  (4/08)

lib/time.h
sys/etc/dtmcnv.x
sys/etc/gmtcnv.x
sys/etc/mkpkg
unix/hlib/libc/knames.h
unix/os/gmttolst.c
unix/os/mkpkg
unix/os/zgmtco.c
	1) A new kernel routine "zgmtco" was added to OS.  This gives the
	correction, in seconds, from LST to GMT.  (LST here means local
	standard time, or clock time).  Since IRAF already returns the clock
	time in LST seconds, this allows either LST or GMT to be determined.
	Note LST corrects for daylight savings time, the GMT correction takes
	this into account as well.  In practice programs can just ignore
	daylight savings time and let the kernel worry about it.

	2) New routines gmttolst() and lsttogmt() were added to ETC.  These
	convert times (in seconds) to and from LST and GMT.  A value of zero
	can be input to get the correction value.

	3) A set of four new routines dtm_encode, dtm_decode, dtm_encode_hms,
	and dtm_decode_hms were added to ETC.  A related flag value was
	added to <time.h>.  "dtm" standard for date/time.  These routines
	convert time expressed in year, month, date, and time of day to and
	from a string value.  A flags value can be used to select the type
	of time string to be encoded or decoded.  Currently DATE-OBS in
	FITS-Y2K and the old FITS formats are supported.  (4/20)

pkg/language/language.hd
pkg/language/language.men
pkg/language/doc/scan.hlp
pkg/language/doc/fprint.hlp
	These help pages were updated to document the CL printf() and scanf()
	functions added back in V2.10.  (4/21/99 MJF)

pkg/images/tv/imexamine/iepos.x
	The output of the 'x' and 'y' keys was not being written to the log
	file because of a typo.  (5/7/99, Valdes)

pkg/dataio/fits/wfits.h
pkg/dataio/fits/fits_cards.x
pkg/dataio/fits/fits_params.x
       Modified wfits to write the DATE keyword values in the new format
       (including a time field) and in units of GMT as specified by the
       new standards. The new format will take effect Jan 1 at 00:0:00 GMT.
       (5/8/99)

pkg/images/lib/skywcs.x
	Modified the image wcs decoding routines to support both the old
	and new DATE-OBS format. All tasks in the imcoords and immatch
	package which decode the image wcs should pick up the change.
	(5/13/99)

pkg/images/imcoords/doc/ccsetwcs.hlp
pkg/images/imcoords/doc/imcctran.hlp
pkg/images/imcoords/doc/skyctran.hlp
pkg/images/immatch/doc/skyxymatch.hlp
	Added some information about the new DATE-OBS format to the help
	pages for the ccsetwcs, imctran, skyctran, and skyxymatch tasks.
	(Davis, May 13, 1999)

unix/os/zglobl.c
	Increased the size of SZ_PROCNAME from 32 to 256 chars.  On some
	systems this is a full pathname, and could overflow the buffer.
	(5/13)

pkg/dataio/import/images.dat
	Added a database entry for the GOES weather satellite Unidata McIDAS
	image format (5/14/99 MJF)

lib/gio.h
	This and the next several changes were part of an effort to change
	GIO to allow long "device names" for GUIs (which may include a GUI
	file name) to be passed through the graphics stream to the stdgraph
	kernel.

	Increased SZ_UIFNAME from 99 to 199 chars.  This also increases the
	size of the dynamically allocated GIO descriptor.  (5/14)

sys/gio/cursor/gtr.h
	Increased SZ_TRDEVNAME from 29 to 229.  Increased SZ_KERNFNAME from
	59 to 259.  This also increases the size of the dynamically allocated
	GTR descriptor.  (5/14)

sys/gio/stdgraph/stdgraph.h
	Increased SZ_GDEVICE from 31 to 256.  Increased SZ_UIFNAME from 99
	to 199.  Increased SZ_SBUF from 1024 to 2048.  These changes did
	not change the size of the dynamically allocated stdgraph descriptor,
	as string space is dynamically allocated in the string buffer.
	(5/14)

pkg/images/imgeom/doc/imlintran.hlp
	Fixed a bug in the imlintran.hlp page. (5/17 LED)

dev/hosts
	Added pecan and crunch (5/17 MJF)

unix/os/zghost.c
	This routine was calling gethostname() to read the hostname 
	directly into the caller's buffer.  This could fail if the hostname
	were longer than the output buffer.  Changed to read the hostname
	into an internal buffer, and copy this out to the caller's buffer
	separately, truncating the hostname if necessary.  (5/23)

pkg/math/iminterp/msisqgrl.x
pkg/math/iminterp/msigrl.x
	Fixed a couple of bugs in the 2D integration routines that I
	inadvertantly introduced when I upgraded the image interpolation
	software to handle sinc and drizzle resampling. (6/2 LED)

pkg/images/immatch/src/geometry/geotran.x
	Fixed a type mismatch problem in a call to max that was causing
	compilation errors on the Dec Station. (6/2 LED)

pkg/images/imcoords/src/t_ccsetwcs.x
	Improved the error message handling in the case when a database
	records either not be found or could not be successfully decoded
	by the ccsetwcs task.
	(6/3 LED)

pkg/images/imcoords/src/t_wcsctran.x
	Fixed a bug in the wcsctran task units initialization code.
	(6/3 LED)

dev/hosts
	Added vissun-1, a sparc summer student machine (6/4/99 MJF)

pkg/images/tv/display/sigm2.x
	An argument to sigm2_setup was being changed by the routine and this
	changed argument was then incorrectly used by the calling program.
	The argument was made input only.  (6/15/99, Valdes)

pkg/images/immatch/src/imcombine/icsetout.x
	Changed to better parse the offset types.  The WCS correction for
	offsets was incorrect.  (6/17/99, Valdes)

pkg/math/slalib/
	Upgraded slalib from version 1.6.3 to version 2.3.0. There are
	seventeen new routines in the library. Most of these either deal
	with converting between the FK5 to ICRS (Hipparcos) equatorial
	coordinate systems, or with computing orbital elements for solar
	system objects. (6/18/99, LED)

pkg/images/immatch/src/geometry/t_geotran.x
        Fixed a bug in the transform list decoding routine that was preventing
	geotran from using the same transform for all the input images. This
	bug was introduced when geotran was modified to use the image template
	instead of the file template expansion code to manage the record list. 
	(Davis, June 18, 1999)

pkg/images/immatch/doc/geomap.hlp
        Added some notes and an example to explain and illustrate the role
	of the reference and input coordinates for different applicatons,
	i.e. image resampling and coordinate transformation.
        (Davis, June 18, 1999)

pkg/math/slalib/fk52h.f
pkg/math/slalib/fk5hz.f
pkg/math/slalib/h2fk5.f
pkg/math/slalib/hfk5z.f
	Fixed a bug in the ICRS <-> FK5 conversion routines that was 
	producing incorrect results for right ascensions >= 12 hours.
	(Davis, June 23, 1999)

pkg/images/lib/skywcs.h
pkg/images/lib/skywcs.x
pkg/images/imcoords/src/ttycur.key
pkg/images/imcoords/src/skycur.key
pkg/images/imcoords/doc/ccfind.hlp
pkg/images/imcoords/doc/ccmap.hlp
pkg/images/imcoords/doc/ccsetwcs.hlp
pkg/images/imcoords/doc/skyctran.hlp
pkg/images/imcoords/doc/imcctran.hlp
	Added support for the ICRS system to the images.imcoords package.
	(Davis, June 24, 1999)


pkg/images/imcoords/src/t_starfind.x
	Modified the starfind task default output file naming code to deal
	rationally with fits image extension names.
	(Davis, June 26, 1999)

pkg/images/imcoords/src/t_ccsetwcs.x
pkg/images/imcoords/src/ccxytran.x
	Modified the ccsetwcs and cctran tasks to read a zpx (or any other
	wcs transform with parameters) from the database produced by ccmap.
	These tasks had not been correctly updated when the changes were made
	to the immatchx versions of these tasks.
	(Davis, June 26, 1999)

pkg/utilities/surfit.par
pkg/utilities/t_surfit.x
pkg/utilities/doc/surfit.hlp
	Modified the utilities task surfit to support the surface fitting
	package half cross-terms option. This involved changing the type
	of the parameter xterms from boolean to string.
	(Davis, July 6, 1999)

unix/boot/bootlib/envinit.c
	Restructured a variable initializer (*fname = ++ip) due to a
	compiler warning.  (7/09)

unix/shlib/mkshlib.ssol-sc34
	Added support for the Version 5.0 Sun compilers.  (7/09)

pkg/language/doc/fprint.hlp
	The help for "printf" wasn't working; added an entry to the .help
	entry at the top of the help page to enable this.  (7/10)

sys/etc/dtmcnv.x
	Fixed a minor typo in a comment.  (7/11)

sys/imio/iki/fxf/mkpkg
sys/imio/iki/fxf/fxfencode.x
sys/imio/iki/fxf/fxfopen.x
sys/imio/iki/fxf/fxfrfits.x
sys/imio/iki/fxf/fxfupdhdr.x
	Installed the Y2K changes to the FITS kernel.  The affected keywords
	are "DATE" and "IRAF-TLM".  "DATE" is the date the FITS image was
	written by the FITS kernel; this is not to be confused with DATE-OBS,
	which is the date of observation of the image.  "IRAF-TLM" is the
	FITS version of the IRAF time of last modification of the imagefile.
	DATE is written in the old FITS date format through the end of 1999,
	after which the Y2K/ISO format is used.  IRAF-TLM, which is an
	internal keyword to the FK, is always written in the new format in the
	new version of the code.  (7/11)

sys/imio/iki/fxf/fxf.h
sys/imio/iki/fxf/fxfclose.x
sys/imio/iki/fxf/fxfopix.x
sys/imio/iki/fxf/fxfrdhdr.x
sys/imio/iki/fxf/fxfupdhdr.x
sys/imio/iki/fxf/fxfupk.x
sys/imio/iki/fxf/zfiofxf.x
	Installed the changes for "on-the-fly" conversion of unsigned byte
	images, and short images where the output pixel is real (FK has to
	apply bscale/bzero scaling).  The conversion is done in place in the
	output buffer during an image read.  The support for OTF scaling is
	read-only, i.e., these images types can be read, but not written.
	I don't think this is strictly necessary, but this is a limitation
	of the current code (Note: read-write access to such images will
	probably fail with the current implementation; read-only access to
	e.g. byte images is still a useful feature however).  The old
	creation of a temporary image to do the scaling has been removed.
	(7/11)

dev/ypix.imh
	A new version of the WCS test image (header) dev$ypix (prepared by
	L.Davis) was installed.  This version incorporates the new Y2K format
	dates for testing, and has a year 2000 equinox FK5 WCS; otherwise
	it is equivalent to wpix.  The old version is still available as
	dev$wpix, in addition to the old standard dev$pix.  (7/12)

sys/imio/iki/plf/plfupdhdr.x
sys/imio/iki/plf/plfopen.x
	These routines were changed to use IM_HDRFILE instead of IM_NAME to
	store the filename of the mask file.  IM_NAME is used for the logical
	image name in error messages, and only provides 80 chars, so mask
	image pathnames could be truncated if if IM_NAME were used for a file
	pathname.  (7/12)

sys/imio/iki/fxf/fxfupdhdr.x
	In the process of reviewing and cleaning up IM_NAME usage, deleted an
	unused reference to "imgcluster (IM_NAME(im), ...)".  (7/12)

sys/imio/immapz.x
	Revised the code which writes IM_NAME to protect against overflow of
	this string.  The image name is formatted into a SZ_PATHNAME string,
	and if the resultant image name is too long to fit in IM_NAME, is
	regenerated using only the root of the image name.  Previously bad
	things would happen if the sprintf overflowed IM_NAME.  (7/12)

sys/imio/iki/fxf/fxfupdhdr.x
	Fixed a minor bug what was causing the new format dates to be
	written with some trailing blanks following the date string.  (7/13)

sys/imio/iki/fxf/fxf.h
	Updated the FITS kernel version string (written to the ORIGIN kw)
	to read "NOAO-IRAF FITS Image Kernel July 1999".  (7/13)

sys/gio/gmsg.x
	This code was changed to use STDERR rather than STDOUT to send
	messages to GUIs.  Formerly, if the stdout of a GUI task was
	redirected this could cause GUI messages (gmsg) to never reach
	the GUI (this is of course still possible using STDERR, but it
	is less likely that someone will need to redirect the STDERR of an
	interactive GUI).  The text stream are used for messaging because
	messages can be any size; messages of hundreds of KB are possible,
	e.g. when sending large GUI files, or documentation text.  (Something
	like the message bus is needed to fully address this problem).
	(7/14)

dev/graphcap
	Added a new xgterm entry "xgterm-nogui", which is identical to the
	xgterm entry but which has GUI messaging (gmsg) disabled.  This
	logical device will completely disable GUIs but still permit vector
	graphics.  It also disables the builtin default ED (xgterm.gui), but
	the default xgterm GUI built into xgterm itself should kick in in
	this case when graphics mode is entered.  We don't plan to use
	xgterm-nogui, but it could be useful as a fallback in case of
	problems, or for testing.  (7/14)

sys/mwcs/iwewcs.x
	The code which checks CTYPEi for known function types was tightened
	to prevent confusion over names that share the same prefix.  Hence,
	function names like "linear", "sampled", and "multispec" must now
	be exact matches.  The prefixes "Xlon" and "Xlat" must now be "Xlon-"
	and "Xlat-" to be recognized (where X is some character like "g").
	(LD Aug98, DT 7/14)

sys/imfort/imcrex.x
	Added the statement "Memc[IM_USERAREA(im)] = EOS" to initialize
	the user area of a newly created image (as IMIO already does in
	imio$iminie.x).  Without this, there were cases where a new image
	could be created with arbitrary junk in the user area.
	(MC Aug98, DT 7/14)

sys/plio/pllnext.x
	After obtaining an opcode I_SH, the code does not update the value
	of ld_ip(ld) even though ip has been incremented. Adding
	    ld_ip(ld) = ip + 1
	in the block 'case I_SH' statement solved the bug presented when
	trying to copy a pixel list array into a subarray of an existent
	pixel list array.  (NZ Sep98, DT 7/14)

sys/plio/plloadf.x
sys/plio/plsavef.x
	Fixed a minor typo: various "mii_" names where the actual MII names
	do not have an underscore.  This is harmless as SPP omits the
	underscores when it makes the external name, but it is preferable
	to be more consistent.  (7/14)

sys/vops/asok.gx
	The algorithm used in this routine was found to be extremely slow in
	cases where many or all of the elements of the input area were equal.
	Replaced by a different algorithm from Wirth which appears to avoid
	the problem.  (LD Mar 99, DT 07/14)

sys/pmio/pmrop.x
sys/pmio/pmsten.x
	pm_rop, used to perform a rasterop on an image mask, had a problem
	where the operation could be performed on an area one pixel too
	large in cases where an image section was in effect on the image
	associated with the image mask.  The code was revised to fix this
	problem and add some more clipping logic in the process.
	The pm_stencil routine is very similar to pm_rop (pm_stencil performs
	a rasterop through a stencil mask) and was similarly modified.
	(NZ Sep98, DT 07/15)

unix/os/zfiotx.c
	Fixed a case where the internal descriptor "port" (used for terminal
	devices) could be referenced on a non-terminal device, causing a nil
	pointer reference.  This could occur when doing raw mode reads from
	the terminal, but writing to an output text file instead of the
	terminal.  (NZ Feb99, DT 07/15)

sys/imio/iki/fxf/fxfopen.x
sys/imio/iki/fxf/fxfencode.x
sys/imio/iki/fxf/fxfupdhdr.x
	While testing the new FK we found that files written under the
	new system, using a new ISO Y2K format for DATE-TLM, could not be
	read under earlier versions of IRAF.  The fxf_encode_date routine
	was changed to add support for formatting DATE-TLM in the old
	format (which is already Y2K compliant in any case).  The call
	to fxf_encode_date in fxfupdhdr.x now calls it in such a way that
	the old DATE-TLM format will continue to be used until 2010, by
	which time one would hope that people will have upgraded to a 
	more recent version of IRAF so that the ISO format version of the
	keyword can be used.  (07/15)

unix/os/zfiomt.c
	Incredibly, this file would not compile in a bootstrap on tucana
	(SunOS) even though it had not changed in a long time.  It turned
	out that zfiomt contained a structure field named "isset" which
	aliased a system macro in <sys/param.h>.  Something must have
	changed in SunOS to cause this file to be included.  The problem
	was solved by changing "isset" in zfiomt.c to "valset".  (7/15)

lib/imio.h
	Increased the default file buffer size used by IMIO a factor of 4
	from 65536 to 262144.  The units are XCHAR, so in byte units the new
	default image file buffer size increased from about 128 KB to about
	half a megabyte (about the size of dev$pix).  Note that applications
	can override the default buffer size with an imset option, and any
	such existing applications will be unaffected by this change
	(imcombine for example probably controls the image buffer sizes in
	order to have many images open at once).  Ordinary imaging tasks
	should function with fewer i/o operations however.  (7/15)

unix/hlib/config.h
	1. Increased the size of the file pushback buffer from 512 to 1024.
	Not a big deal as it gets incremented anyway if overflow occurs.

	2. Changed LEN_RANDBUF from 1 to 8.  LEN_SEQBUF remains at 8 as
	before.  Random mode FIO buffers are LEN_RANDBUF*blksize, hence
	these have increased in size from 512 bytes to 4KB (random mode
	i/o is rarely used).  Sequential mode FIO buffers are LEN_SEQBUF
	*optbufsize, where optbufsize is returned by the file driver.
	Sequential mode (fseti (fd, F_ADVISE, F_SEQUENTIAL) is also little
	used however.  Most file operations use the unscaled "optbufsize"
	returned by the kernel driver (see below).

	Note config.h contains a few size definitions which are not actually
	used any longer in the code, since these values now come from the
	device drivers are are tuned for each device and host system.  Hence
	these older values were unchanged.  (7/15)

unix/hlib/libc/kernel.h
	Increased the optbufsize for a binary file from 4096 to 32768.  The
	static file optbufsize was similarly increased, but static (mapped)
	files are little used in the current system.  All the other optbuf
	sizes remained the same.  The network devices, process communications
	buffers, and so on all remain at 4KB since this value is a good
	match for the buffer sizes used in the Unix kernel.

	Hence, ordinary binary file i/o operations now use 32 KB buffers
	instead of 4 KB buffers.  The special cases of random mode binary
	file i/o and sequentially optimized binary file i/o have default
	buffer sizes of 4 KB and 256 KB respectively.  These should be 
	reasonable, safe, and efficient buffer sizes for most applications.
	(7/15)

sys/imio/iki//fxf.h
sys/imio/iki//fxfrdhdr.x
sys/imio/iki//fxfupdhdr.x
	1. The FK was revised to handle the case of writing to an image
	which is being accessed using on-the-fly pixel conversion, e.g., a
	byte image or a short image with scaling to real.  The current
	version of the FK only supports reading such images, so an attempt
	to write pixels if OTF scaling is in effect causes an i/o error.
	Opening the image read-write is permitted however, so that the
	header can be edited.

	2. The zfio code was reworked to eliminate the high level calls
	which have crept in recently (syserr etc.).  A FIO driver can make
	only low level calls, e.g. to pure code routines or the iraf
	kernel.  Because the file driver is called by FIO, calling anything
	that might call FIO can result in recursion and various nasty
	situations we would prefer to avoid.  To aid in implementing this a
	status variable FIT_IOSTAT (as well as some extra space) was added
	to the main FK descriptor.  A read or write call will initially
	set this to OK, but set a nonzero value if an error occurs or the
	i/o operation is completed.  The ZAWAIT routine later returns the
	status to the caller.  It appeared that the old code was not always
	checking for and returning the low level i/o status.  (7/15)

pkg/cl/main.c
pkg/cl/cl.x
pkg/cl/cl.par
	The CL was modified to add basic support for using the CL as a host
	shell for shell scripts.  When this is done the shell script
	effectively replaces the login.cl file, hence startup is faster and
	flexibility is maximized, but the script is responsible for any
	initialization normally done by login.cl (e.g. loading packages).
	This implementation is still fairly basic, e.g. the argument
	handling facilities are limited, but it works.

	On a Unix system, the first line of a script which calls the CL as
	a shell should be something like "#!/usr/local/bin/cl.e -f", where
	/usr/local/bin/ would be either a copy of the cl.e executable,
	or a link such as cl.e -> /iraf/iraf/bin.ssun/cl.e (don't call the
	link "cl", as this name is already used for the shell script used
	to start up an interactive iraf session).  (RS, DT 7/15)

pkg/system/references.cl
pkg/system/help/getoption.x
pkg/system/help/prhelp.x
pkg/system/help/prhlpblk.x
pkg/system/help/prfile.x
pkg/system/help/help.h
	The REFERENCES task was modified to add the package name to the 
	output line for each task.  Usage is unchanged, i.e., type
	refer upd+ to regenerate the uparm$quick.ref file (using your
	current list of defined packages) then "refer pattern" to find
	all references matching the given pattern.  (MF Jun98, DT 7/15)

unix/hlib/zzsetenv.def
	Changed the version string to "NOAO/IRAF V2.11.2EXPORT".  (7/17)

pkg/xtools/gtools/gtreset.x
	This procedure was incorrectly declared as a function.  (7/21, FV)

pkg/xtools/icfit/icgfit.x
	This routine is called with a graphics descriptor for interactive
	fitting.  The descriptor is set in an internal structure.  Other
	procedures, which may be called both for interactive and
	non-interactive fitting, check if the descriptor is not NULL
	before sending GUI messages.  The problem occurs if this procedure is
	first called interactively and then the non-interactive fitting
	routine is called later (maybe after a deactivate workstation or
	closing the descriptor) resulting in GUI messages being sent
	when not in interactive mode.  The solution is to return the
	internal descriptor value to NULL after finishing the interactive
	fitting and returning from this procedure. (7/22, FV)

unix/hlib/mkfloat.csh
	Revised the status messages slightly to make it more clear what
	the program is doing.  The new format is "Doing blah... done".
	(7/27)

dev/hosts
	Added dbell's RH6 machine "shea".  (7/28 MJF)

pkg/math/iminterp/ii_greval.x
pkg/math/iminterp/asigetr.x
pkg/math/iminterp/msirestore.x
	Fixed an uninitialized variable problem in the ii_grdriz routine
	that was detected by the OpenVMS compiler. Also fixed a couple of
	bugs in the new unused routine asigetr and in the new msirestore 
	that were detected with spplint. (8/3 LED)

sys/imio/iki/fxf/zfiofxf.x
	Added some conditional byte swapping for type short data in the
	on-the-fly conversion code.  (8/09)

pkg/images/imutil/src/t_imarith.x
	Added a check for division by zero in the header keywords.  A warning
	is printed, the keyword is not updated, and the task completes without
	aborting.  (8/10 FV)

pkg/xtools/inlfit/inreject.gx
pkg/xtools/inlfit/inrejectr.x
pkg/xtools/inlfit/inrejectd.x
	Rearranged the code slightly to avoid a missing sfree error detected
	by spplint. (8/10/99 LED)

sys/imio/iki/fxf/fxf.h
sys/imio/iki/fxf/fxfopen.x
sys/imio/iki/fxf/fxfupdhdr.x
	Changed the cutover date for the DATE keyword from the fixed value
	2000 to 0.  Added a new hidden, not normally used environment
	variable "isodates" to allow this value to be explicitly specified.
	What this means is that by default, v2.11.2 will use ISO (Y2K)
	format consistently from the beginning, but if this causes a problem
	for some reason "isodates" can be set to some future date to cause
	old format date strings to be written.  It doesn't appear that the 
	FK or any current IRAF code actually uses the DATE keywored generated
	by the FK, so there shouldn't be a backwards compatibility problem
	reading with older code, images written by a V2.11.2 system.

	The value of isodates it the year on and after which ISO format
	dates will be written.  For example, to generate ISO format dates on
	or after Jan 1, 2000, the value "2000" would be used.  The value "0"
	(zero) is used by convention if ISO format dates are always
	desired.  (8/10)

pkg/xtools/icfit/icggraph.gx
	Rearranged the code to avoid a return without an sfree.  (8/10 FV)

pkg/xtools/fixpix/xtpmmap.x
	Removed extra argument to imgl1i.  (8/11 FV)

pkg/xtools/imtools.x
	Changed to correctly declare fnext as a function.  (8/11 FV)

pkg/xtools/xtanswer.x
	Fixed incorrect number of arguments in getline call.  (8/11 FV)

pkg/xtools/gtools/gtcolon.x
	Corrected definition of btoi.  (8/11 FV)

sys/gio/cursor/rcursor.x
sys/gio/cursor/gtrwritep.x
sys/gio/cursor/gtrundo.x
sys/gio/cursor/gtrstatus.x
sys/gio/cursor/gtrredraw.x
sys/gio/cursor/gtrpage.x
sys/gio/cursor/gtrgtty.x
sys/gio/cursor/gtrctrl.x
sys/gio/cursor/gtrbackup.x
sys/gio/cursor/grcwcs.x
sys/gio/cursor/grctext.x
sys/gio/cursor/grcpl.x
sys/gio/cursor/grcopen.x
sys/gio/cursor/grcinit.x
sys/gio/cursor/grccmd.x
sys/gio/cursor/grcclose.x
sys/gio/cursor/grcaxes.x
sys/gio/cursor/gtrinit.x
	It turned to to not be needed, but in the process of checking out a
	bug on another platform I beefed up the error checking in the GIO
	cursor mode code.  This is always a good idea, so I will leave the
	changes in. (8/11)

sys/etc/main.x
sys/etc/xalloc.x
sys/fio/diropen.x
sys/fio/fwtacc.x
sys/fio/osfnlock.x
sys/gio/sgikern/sgk.x
sys/imio/db/idbkwlu.x
sys/imio/iki/stf/stfwfits.x
sys/ki/kfchdr.x
sys/ki/kopdpr.x
sys/mtio/mtopen.x
sys/tty/ttygsize.x
	Added a few missing sfree() calls, found with an automatic code
	checking tool.  (8/12)

pkg/cl/history.c
	Ehistory command: When UP is used a few times, followed by enough
	DOWNS to get back to a "cl> " prompt, the next command entered is a
	silent noop.  The next command after that is fine.  Adding an
	execute=1 in get_command() when repeating input_ on an empty line
	fixes this problem  (08/12 SRo/RS/DT)

sys/imio/impnl.gx
	Fixed a typo in a comment block.  (08/12)

pkg/cl/history.c
	Increased the maximum number of history commands to be listed from
	100 to 800 (the actual history buffer storage is 8192 which is
	probably already enough to store 800-1000 or more commands, since
	the average command is fairly short).  (08/12)

unix/gdev/sgidev/mkpkg.sh
unix/gdev/sgidev/README.gif	+
unix/gdev/sgidev/sgi2gif.x	+
unix/gdev/sgidev/sgi2xbm.x	+
	Added these two new SGI graphics translators, used to write IRAF
	graphics to GIF or XBM files, e.g. to generate on-the-fly IRAF plots
	to include in web pages.  (08/12 MJF/DT)

unix/os/zfiond.c
	Modified the server-side code to set the socket option SO_REUSEADDR
	when opening a socket and binding it to an IP address and port.
	This avoids the annoying delay which is otherwise seen when a 
	server quits, but the socket it was using is not released for
	some time until the kernel times it out and releases it.  This
	only affects server-side connections and currently I don't know
	of any IRAF servers that use ZFIOND, but probably all server-side
	socket code should use this feature.  (setsockopt was added quite
	some time after most of the socket code in IRAF was originally
	written).  (08/12)

dev/graphcap
	Added generic entries "g-gif" and "g-xbm" for the new sgi2gif and
	sgi2xbm translators.  (8/13/99 MJF)

sys/imio/iki/fxf/zfiofxf.x
	In fxfzst the "physical" file block size and buffer size parameters
	were being returned as multiples of the FITS logical block size,
	2880.  Low level file i/o however must observe the real physical
	file block size and maximum transfer sizes as returned by zsttbf.
	On Unix systems this would not matter as i/o transfers do not have
	to be block aligned, however this would cause problems in some cases
	on VMS.  The 2880 related code was removed, and the file parameters
	from zsttbf are now returned as-is without change.  (This still may
	not be entirely correct as the block size and max transfer size 
	should perhaps be scaled if the virtual file driver scales the
	data, but this is complicated by the fact that the FITS header is
	not also scaled; it is probably not going to be a problem).  (8/16)

sys/plio/plcircle.x
	Tweaked up the circle drawing computation a bit.  (8/16)

unix/boot/spp/xc.c
	XC was modified to, when linking -Bstatic, switch back to -Bdynamic
	at the end of the link line so that -lc is linked dynamic.  This is
	always a good idea for Solaris systems, and turned out to be
	necessary in order for one executable to be runnable on all Solaris
	versions (2.5.1, 2.6, 2.7).  Most other libraries are still linked
	static, mainly so that the Fortran compiler does not have to be
	installed to be able to run IRAF executables on a given platform.

	Supporting Solaris 7 was what forced the issue here.  Note:  Solaris
	IRAF executables are linked under Solaris 2.5.1 and will run on
	solaris versions 2.5.1 through 2.7.  (8/18)

---------------------------------
V2.11.2 patch released.  (18Aug99)

dev/graphcap
	Modified the g-gif entry to use a pid in the filename (8/19/99 MJF)

language/doc/hidetask.hlp
	The correct syntax seems to be 'hidetask task,[task,..]'. The
	help file did not have the commas (nz aug 20,99)

pkg/dataio/export/exrgb8.x
   	Fixed a bug causing the cmap() function to write a garbage line at the
   	top or bottom of the output image. (8/20/99 MJF)

dev/devices.hlp
	Added and entry for ursa!mtp at Taft's request (8/24/99 MJF)

pkg/images/tv/wcslab/t_wcslab.x
pkg/images/tv/wcslab/wcslab.x
	Fixed a couple of bugs in the wcslab task that were causing it
	to fail with the message "ERROR: MWCS: coordinate system not
	defined (physical)" on the DecAlpha when the usewcs parameter
	was set to yes, and on Sun systems when the input image was
	undefined. (8/28/99 LED)

sys/imio/iki/fxf/fxfupdhdr.x
	1. An sfree was in the wrong place; moved to the end of the block
	of code it was in.
	2. In the "diff" routine, the OBJECT keyword was not being accounted
	for correctly in computing the new header size.
	3. If the new header were more than one FITS block (36 cards) smaller
	than the old, the extra blocks were being filled with zeros instead
	of blanks.
	4. Boy would this code be a lot better off it were using the new KWDB
	interface to manage the headers...
	(9/15)

pkg/images/tv/wcslab/wcslab.h
	Added an entry for tnx to the list of supported projections types.
	This apparently fixed a garbled plot problem for tnx images,
	espcially for thos around ra=0.0.
	(9/17 LED)

pkg/math/curfit/mkpkg
pkg/math/deboor/mkpkg
pkg/math/iminterp/mkpkg
pkg/xtools/inlfit/mkpkg
	Added some missing file dependencies to the math library mkpkg files.
	(9/20 LED)

pkg/images/tv/display/mkpkg
pkg/images/tv/wcslab/mkpkg
pkg/images/tv/imedit/mkpkg
pkg/images/tv/imexamine/mkpkg
        Added some missing file dependencies and removed some unecessary ones
        from the tv package mkpkg files.
        (9/21 LED)


pkg/images/imcoords/src/mkpkg
pkg/images/imgeom/src/mkpkg
pkg/images/immmatch/src/imcombine/generic/mkpkg
pkg/images/immmatch/src/imcombine/mkpkg
pkg/images/immmatch/src/imutil/generic/mkpkg
pkg/images/immmatch/src/imutil/mkpkg
        Added some missing file dependencies and removed some uneccessary ones
        from the image package mkpkg files. (9/21, LED)

pkg/plot/mkpkg
        Added some missing file dependencies and removed some uneccessary ones
        from the plot package mkpkg files. (9/21, LED)

pkg/proto/mkpkg
        Added some missing file dependencies and removed some uneccessary ones
        from the proto package mkpkg files. (9/21, LED)

pkg/utilities/curfit.gx
pkg/utilities/curfit.x
	Removed an unecessary include statement (9/22, LED)

pkg/xtools/icfit/icshow.x
pkg/xtools/icfit/icvshow.gx
	The gt pointer was not being used when called directly by 
	UTILITIES.CURFIT.  If the task was run non-interactively, so there 
	was no prior call to the icfit graphics routines, then IC_GT structure
	element was not set causing an error.  These routines now set the 
	element with the gt argument passed by the calling routine.  
	(9/14, Valdes)

pkg/images/imutil/imreplace.par
pkg/images/imutil/src/imrep.gx
    	Fixed a floating-point precision problem with short/int images in 
	which the lower cutoff could be rounded up. Also fixed a typo in the 
	parameter file.  (9/22/99, MJF)

imio/iki/fxf/zfiofxf.x
        The routine fxf_cnvpx() was not offsetting properly to FITS
        units other than one, e.g. giving a segvio when trying to access
	the 2nd extension.  This would only affect access to images of
	type byte or short where on-the-fly conversion is required.
        Adjusting to the beginning of the unit solved the problem.
	(Some clean up done as well).  (9/23 NZ/DT)

imio/iki/fxf/fxfopix.x
	In routine fxf_discard_keyw() a change was made to filter out the
	keyword BLOCKED from obsolete GEIS files in FITS format.  This was
	causing problems when adding a keyword into a header that was full
	to the 2880 bytes block and the INHERIT keyword was set to T.
	(9/23 NZ/DT)

imio/iki/fxf/zfiofxf.x
	A buffer overrun could occur in fxfzwr, when writing to the output
	image.  This caused a SEGVIO when testing the new kernel on an
	OpenVMS system.  (9/29)

pkg/images/tv/imexamine/mkpkg
        Added a file dependency to the mkpkg file that was missed the last
	time, (9/30 LED)

pkg/images/tv/imedit/t_imedit.x
	The use of a temporary image causes the output image type to be
	set by "imtype" instead of any explicit extension.  Changed to
	use the xt_mkimtemp routine which tries to create a temporary image
	of the desired output image type.  (10/1 FV)

pkg/images/immatch/src/imcombine/t_imcombine.x
	Modified error recovery to avoid a tranfer out of an IFERR block
	message.  (10/14, FV)

pkg/images/immatch/src/imcombine/t_imcombine.x
	A call to IMUNMAP within the THEN clause of an IFERR replaces the
	error string (inappropriately) so that a later ERRACT reports the
	wrong error.  The code was modified to get the error string before
	calling IMUNMAP and then restores the error condition with an
	ERROR call instead of an ERRACT.  (10/21, FV)

pkg/dataio/export/bltins/exeps.x
    	Fixed an array overrun when writing EPS trailer comments. (10/25/99 MJF)

sys/imio/iki/fxf/fxfopen.x
	The iferr handler for fxf_rheader was catching header read errors and
	turning them into warning messages.  These can be serious errors
	though requiring the image open to fail.  Added an erract(EA_ERROR)
	to repost the error after the cleanup performed in the iferr block
	in fxfopen.  (10/26)

sys/etc/mkpkg
sys/fmio/mkpkg
sys/gio/calcomp/mkpkg
sys/gio/cursor/grcstatus.x
sys/gio/mkpkg
sys/gio/nsppkern/mkpkg
sys/gio/stdgraph/mkpkg
sys/imio/iki/fxf/mkpkg
sys/imio/iki/oif/mkpkg
sys/imio/iki/qpf/mkpkg
sys/ki/mkpkg
sys/memdbg/mkpkg
sys/plio/tf/mkpkg
pkg/system/help/mkpkg
	Fixed minor mkpkg library file dependency related problems or
	oddities.  (10/26)

sys/mwcs/iwctype.x
	Modified the code which recognizes the cards CDi_j, CDELTi, CRPIXi,
	CRVALi, and CTYPEi to accept these cards only if the name is an
	exact match, i.e., no trailing characters.  Data in the draft FITS
	WCS standard may have a character appended if there are multiple WCS,
	and this could cause a secondary WCS to be confused with the primary.
	(10/26)

unix/os/zfchdr.c
	This code trims any trailing "/" from a directory path before
	doing a chdir to the new directory.  This would fail if the path
	were "/" (the unix root directory).   Changed the code to trim the
	trailing slash only if it is a trailing slash.  (10/26)

pkg/math/gsurfit/gsder.gx
pkg/math/gsurfit/gsderr.x
pkg/math/gsurfit/gsderd.x
pkg/math/gsurfit/gs_fder.gx
pkg/math/gsurfit/gs_fderr.x
pkg/math/gsurfit/gs_fderd.x
pkg/math/gsurfit/gs_deval.gx
pkg/math/gsurfit/gs_devalr.x
pkg/math/gsurfit/gs_devald.x
	Fixed a bug in the code which computes the derivatives for non-linear
	chebyshev and legendre polynomials surfaces. In the process
	of fixing those bugs decided to rewrite the code using the same
	recursion relations that are used to generate the original surface.
	(10/27 LED)

pkg/system/references.cl
	Modified the task to filter the stderr as well as stdout, to eliminate
	the "No help available" warning messages.  (10/29)

dev/hosts
	Added new redhat boxes atand and omhah  (11/3/99, MJF)

pkg/dataio/import.par
pkg/dataio/export.par
    	Changed query param modes to auto to avoid prompt from epar :go 
	command. (11/4/99 MJF)

---------------------------------
V2.11.3 patch in BETA test.  (11/05)

dev/hosts
	Added PC-IRAF systems vmware, slack40, suse62 and sol7 (11/16/99 MJF)

pkg/images/immatch/src/imcombine/icombine.gx
	An input array was declared with a value of 3 though it was passed to
	the routine with 4 elements.  Later there was a reference to
	the 4th element.  While this is legal as the size in the declaration
	is a dummy this was a compiler error on one platform.  Changed the
	declaration to 4.  (11/19/99, Valdes)

pkg/images/imfilter/src/fmedian.x
pkg/images/imfilter/src/frmedian.x
pkg/images/imfilter/src/fmode.x
pkg/images/imfilter/src/frmode.x
pkg/images/imfilter/src/fmd_hist.x
	Modified the fast median algorithm histogram storage from short to int
	to avoid integer overflows in the case that xfilter * yfilter > 32767
	and more than 32767 pixels end up in 1 bin as is likely to happen
	in bad pixel regions. (11/19/99, Davis)

pkg/math/gsurfit/gsder.gx
pkg/math/gsurfit/gsderr.gx
pkg/math/gsurfit/gsderd.gx
	After rewriting the derivative code to work correctly for the higher
	order chebyshev and legendre cases, forgot to add back in the 4 lines
	that do the final normalization to user (not -1.0 to 1.0 normalized)
	coordinates, causing the derivatives to be way offscale. Found
	by user running longslit. Only affects 2.11.3. (11/23/99 Davis)

sys/fmtio/evvexpr.gy
	The main routine of evvexpr dynamically allocates the output operand
	structure.  It was setting the flags O_FREEVAL+O_FREEOP for this
	structure, overriding any flags in the operand returned by the
	expression evaluator, but clearly only O_FREEOP is warannted as the
	only thing this code allocates is the operand structure.  Whether
	or not any vector value buffer should be freed has to be determined
	by the expression code which generates the operand returned by the
	expression evaluator.  Hence the O_FREEVAL flag was removed.  (11/23)

pkg/images/imutil/src/imexpr.gx
	Several places in the code where a new operand structure is being
	initialized, code was added to either clear the entire structure,
	or explicitly set O_FLAGS(o)=0 in cases where we wanted to be sure
	that any values from an earlier use of the same operand structure
	were not unintentionally reused.  In particular, in any case where
	the operand structure is being reused the O_FREEOP flag should be
	clear.  In any case where the operand is vector-valued and the
	data vector is a pointer returned by IMIO, O_FREEVAL should be
	clear as it is up to IMIO to eventually free the buffer.  (11/23)

pkg/images/imutil/src/imexpr.gx
	Changed the value of LEN_IMOPERAND from 16 to 17.  This problem was
	probably never seen as it would be a problem only for double
	operands, which are probably not used all that often.  (11/24)

pkg/images/imutil/doc/imexpr.hlp
	Fixed some typos in the imexpr task help page. (11/24 LED)

unix/os/zfiomt.c
	Changed one occurrence of zmtdbg1() to zmtdbg() as the call in
	question did not have an argument.  This was harmless, but incorrect
	and caused a compiler warning on one platform.  (11/24)

---------------------------------
V2.11.3 patch on verge of being frozen...  (11/24)

dev/graphcap
dev/imtoolrc
	Added new frame buffers for Mosaic at full frame and with several
	block averaging factors.   New buffers are: imt41|imt8800=8800x8800,
	imt42|imt4400=4400x4400, imt43|imt2200=2200x2200, and
	imt44|imt1100=1100x1100  (11/25  MJF)

sys/osb/ieee.gx
unix/as.sparc/ieee.gx
unix/as.ssol/ieee.gx
	This routine was missing some {} braces around an IF clause in
	ieevupk.  Although the code was technically correct as there was
	only one statement (a multiline do-loop) in the IF clause, it
	needed braces to be safe against modifications.  (11/30)

sys/fmtio/evvexpr.gy
	There was another bug in this routine which went undetected when it
	was modified several days earlier.  The code would set O_FLAGS on
	the output operand to ensure that the operand structure is later
	deleted.  By this point the actual operand had been created by
	the expression evaluator.  The bug was that the code was simply
	overwriting O_FLAGS in the output operand.  Instead it needed to
	preserve the existing flags, merely insuring that the O_FREEOP flag
	was set (setting the flag to O_FREEOP would clear the O_FREEVAL
	flag if already set in the operand).  The code was modified to
	"or" in the flag, rather than clobber the whole flag word.  (12/01)

sys/imio/iki/stf/stf.h
	Increased MAX_PCOUNT (the number of keywords in a group header block
	for STF images) from 50 to 99.  (12/02)

sys/libc/scanf.c
	Added support for "%n".  This returns to an integer output argument
	the number of input characters scanned thus far (a feature of ANSI C
	stdio).  (12/02)

sys/libc/printf.c
	Modified the *printf routines to recognize 'l', 'E', and 'G' in
	formatted prints, for enhanced compatibility with ANSI C.  'l' is
	ignored since it is a no-op on our current platforms anyway (related
	modifiers such as 'h', 'L', and 'q' are not supported).  'E' and 'G'
	are permitted, but are handled the same as 'e' and 'g' since IRAF
	already prints floating point numbers using 'E'.  (12/02)

sys/libc/zztest.c
	Added support to the test routine for scan for %n, and ran some
	simple tests.  Seems to work.  (12/02)

pkg/images/imfilter/src/frmedian.x
pkg/images/imfilter/src/frmode.x
	Changed 2 aclrs calls to aclri calls that were missed when the
	frmedian / frmode tasks were upgraded to work with larger kernels.
	(12/03 LED)

---------------------------------
V2.11.3 patch frozen.  (12/03)

---------------------------------
From here on PC-IRAF revisions will be recorded here as well as those for
the reference Sun port.  Both the Sun and PC-IRAF ports are equally reference
systems now and it is long past time to start recording revisions formally
for PC-IRAF.

unix/hlib/install [pcix]
	Fixed a typo in the install script.  (12/09)

dev/tapecap.linux [pcix]
dev/tapecap.freebsd [pcix]
	The tapecap.linux file had a entry which referred to a
	"generic-exabyte" entry, but this entry was named "generic-exb"
	later in the file.  Changed the later reference to generic-exabyte".
	Modified tapecap.freebsd to use the same name, although the entry
	is not used in tapecap.freebsd.  (12/10)

pkg/proto/t_bscale.x
	Changed the type declarations for the functions imgnld/imgnlx
	and impnld/impnlx from double/complex to int to fix a hangup
	or floating point errors generated when bscale is run on double
	or complex images. (12/11 LED)

pkg/dataio/import/ipdb.gx
pkg/dataio/import/bltins/ipgif.x
	Fixed a string overflow bug causing segvios on PC system, also
	commented out an unneeded evvfree() (12/13 MJF)

noao/mkpkg
	The entries for the HP archiectures (hp700 etc.) were missing the
	-d $(DIRS) argument listing the noao directories to be processed
	for an architecture change.  (12/14)

dev/hosts
	Added ssun machine zathras (12/14 MJF)

pkg/images/immatch/src/fmcombine/icsetout.x
	Fixed error with MWCS dimension mismatch when using offsets on
	input images which have been dimensionally reduced.  (1/12, FV)

pkg/images/immatch/src/imcombine/icgdata.gx
pkg/images/immatch/src/imcombine/iclog.x
pkg/images/immatch/src/imcombine/icmask.x
pkg/images/immatch/src/imcombine/icombine.gx
pkg/images/immatch/src/imcombine/icscale.x
pkg/images/immatch/src/imcombine/icsetout.x
	Changed declarations for the array "out" to be ARB rather than 3 in
	some places (because it was not changed when another element was
	added) or 4.  This will insure that any future output elements
	added will not require changing these arguments for the sake of
	cosmetic correctness.  (1/13, FV)

pkg/images/tv/imedit/t_imedit.x
pkg/images/tv/imedit/epimcopy.x
	Added some errchks.  In particular, even though the output and working
	images can be mapped without an error there could be an error in the
	first I/O as when the imdir directory is not available/writeable.
	(1/18, FV)

pkg/images/immatch/doc/imcombine.hlp
pkg/images/immatch/imcombine.par
	The "outtype" parameter can take the value "none" in addition to one
	of the standard datatypes.  The help page was incorrect/unclear what
	was meant by not specifying an output type.
	(1/18, FV)

pkg/images/lib/skywcs.x
        Incorrect values for the epoch of observation were being computed
        and printed by tasks like skyctran and imcctran if: 1) the input
	coordinate system was being read from an image,  and 2) the input
	coordinate system was galactic. The problem was that the epoch was
	being converted to MJD twice instead of once resulting in strange
	epoch values. Unless a proper motion correction was being computed
	this problem should have little practical effect although it is
        disturbing to odd units in the file headers. (1/31/00, LED)

pkg/dataio/reblock/t_reblock.x
pkg/dataio/reblock/reblock_file.x
	Fixed a bug in the block writing error checking code that could cause
	problems if an write error occurred. Also modified the code to
	open the output file only after the first non-zero byte read in
	order to avoid a magtape driver problem with opening and closing
	an empty magtape file for writing. In the process of doing this
	noticed a potential initialization problem that could when switching
	between record copy, record trim, or record pad modes. (2/10/00 LED).

pkg/images/immatch/wregister.cl
pkg/images/immatch/sregister.cl
	Changed the boundary option "refect" to the correct value "reflect".
	(2/29/00 LED)

pkg/images/imgeom/imlintran.cl
	Changed the nrows argument names to nlines which is what it is 
	supposed to be. 
	(4/11/00 LED)

sys/imio/iki/fxf/fxfupdhdr.x
       After incrementing the header size, the old header and pixel offset
       were still in memory causing data to be overwritten.  The solution was
       to change the modification date of the file to invalidate the cache
       so that next time the header is read it will be done from disk.
       From testing Gemini IRAF scripts. (nz feb.24.00)  (04/11)

sys/imio/iki/fxf/zfiofxf.x
       BITPIX = 8 was not handled correctly.  The number of bytes read needs
       to be returned to awaitb() (which calls the FXF driver) for correctly
       keeping the file offset.  Also BITPIX = 16 with scaling that converts
       the file to 4 bytes had the same problem.  (04/11)

sys/imio/iki/fxf/fxfopen.x
sys/imio/iki/fxf/fxfopix.x
sys/imio/iki/fxf/fxfrfits.x
sys/imio/iki/fxf/fxfupdhdr.x
	1. The OBJECT keyword was causing havoc with some applications.
	It was disappearing from an extension when it had the same
	value as the global header.  Now it will remain on the extension
	regardless of its value and what INHERIT is.
	2. Clean up keywords from the PHU that belong to an extension only.
	3. Clean up EXTEND from an extension as well. (nz feb.24.00)
	(04/11)

sys/mwcs/wftsc.x
sys/mwcs/wfqsc.x
sys/mwcs/wfpco.x
sys/mwcs/wfpar.x
sys/mwcs/wfmol.x
sys/mwcs/wfmer.x
sys/mwcs/wfgls.x
sys/mwcs/wfcsc.x
sys/mwcs/wfcar.x
sys/mwcs/wfait.x
	The car, mer, pco, gls, par, ait, csc, qsc, and tsc MWCS function
	drivers were modified to correct a radian/degree conversion error
	that would cause troubles for images with RA/LON < 180 and DEC > 0.0.
	(04/11)

pkg/images/imutil/src/imexpr.gx
	Changed the offset of the IM_OP (operand value) field of the operand
	structure to double align it.  Increased the size of the structure to
	reflex the increase in size.  Also modified the main IMEXPR descriptor
	to double align the IE_IMOP array of operands.  (04/11)

sys/imio/imt.x
	The heuristic used to estimate the length of the internal array "fnt",
	used to hold the edited image template string, could fail to produce
	a long enough buffer in some cases.  Modified the heuristic to be
	more generous in estimating the maximum buffer size required.  (04/11)

qpgpar.x
	The code which parses the input string and extracts a parameter name
	was not checking for EOS and could cause a buffer overflow in some
	circumstances.  (04/14)

dev/graphcap
	Commented out the 'xtermold' entry which contained an unescaped colon
	character and could cause parsing errors.  (04/17  MJF)

pkg/images/immatch/src/imcombine/icmedian.gx
	Replaced with the faster Wirth algorithm as used in vops$asok.gx.
	(5/16 FV)

pkg/images/tv/display/dspmmap.x
	When a pixel mask (overlay or bad pixel) needed to be matched to
	the data in physical coordinates the internal generation of a
	new mask was being doing in short integers.  This would truncate
	any masks with values greater than 16 bits.  All uses of short
	where changed to integer.  (5/16 FV)

pkg/dataio/export.par
    	Made the 'format' parameter automatic mode (5/16 MJF)

pkg/dataio/export/expreproc.x
    	Modified so that the 'overlay' colors are not scaled.  (5/16 MJF)

pkg/proto/fields.x
	Added 2 missing close statements and a missing sfree statement
	that results in a "too many open files" error when the fields
	task tries to process a long ~> 59 file list. (5/19 LED)

imio/sys/iki/fxf/fxfupdhdr.x
	When making a newcopy of an image and requesting a minimum number of
	blanks lines using the PADLINES parameter in the output header, a
	segmentation violation occurred.  The problem was that at header
	update time, the header and pixel offset arrays were not set, hence
	we could nod determine the header size before adding the padline
	amount.  The solution was to use the 'diff' variable which has the
	correct amount of blank characters to add to the output header to
	insure padline.  (5/29 NZ,DCT)

imio/sys/iki/fxf/fxfrfits.x
	With inheritance if an extension header keyword was also in the
	global header but with a different value, the hedit task would get
	the global header value and not the value from the requested
	extension.  The problem was that a previous problem with HIERARCH
	keyword we started to compare the whole 80 characters rather than
	the old SZ_KEYWORD.  The solution is to compare the strings up to
	the '=' sign.  (5/29 NZ,DCT)

unix/boot/spp/xc.c [sun, pcix]
	This code contained some old hardcoded file path buffers which were
	too small and could overflow.  Updated these to use SZ_PATHNAME.
	(5/30)

unix/os/zfiolp.c [sun, pcix]
unix/os/zfiopl.c
	Modified these routines to use the newer routine mkstemp instead of
	the old mktemp.  mkstemp not only generates a unique name but
	atomically creates the file, avoiding a possible race condition.
	(5/31)

pkg/images/immatch/src/imcombine/t_imcombine.
pkg/images/immatch/src/imcombine/icimstack.x
pkg/images/immatch/src/imcombine/iclog.x
pkg/images/immatch/doc/imcombine.hlp
	When there are a large number of images with bad pixel masks both the   
	input images and the bad pixel masks are stacked for combining.  The
	addition of stacking the masks allows for independent bad pixel masks
	for each input image which was not supported previously.
	(6/21 FV)

pkg/dataio/export/bltins/expgm.x
pkg/dataio/export/bltins/exppm.x
    	Fixed a bug in writing the format header under PCIX. (6/23/00 MJF)

sys/fio/filopn.x
	Added some error handling to catch any errors from the internal
	system routine ftwacc and map them to SYS_FOPEN (cannot open file).
	This affects only standard disk files; a failure to open a special
	device will result in a different error (SYS_FOPENDEV).  (7/03)

sys/imio/iki/ikiclose.x
sys/imio/iki/ikiopix.x
sys/imio/iki/ikiupdhdr.x
	In each of these routines, added an IFERR handler for the called
	image kernel routine, to catch any low level errors and map them to
	the error action posted by the IKI routine.  For example, any file
	open or other system problems occurring in iki_opix will now ensure
	that the SYS_IKIOPIX error is posted.  The routines were already
	trying to do this, but the IF-test employed could fail if an error
	action was taken by the kernel routine.  (7/03)

dev/hosts
	Added SunOS machine bruckner. (08/07 MJF)

pkg/images/immatch/src/imcombine/t_imcombine.x
	When there is an output mask or sigma image and the number of images
	exceeds the maximum number allowed by the number of logical file
	descriptors the task failed to delete the files when starting over
	using the stacked image approach.  This would result in an image
	already exists error.  This was fixed by deleting the files upon
	error recovery.  (8/09, FV)

sys/imio/iki/fxf/fxfrfits.x
	When reading a FITS file with PHU having NAXIS = 0 and no extensions
	the FK would not record the PHU as already been read, leading to
	further reading, which would result in and EOF error message.
	(8/09 NZ/DCT)

./sys/imio/mkpkg
./sys/imio/imopsf.x
	imopsf (open pixel file) could be called more than once when
	accessing a pixel mask as an image.  The pixel mask code in this
	file was not prepared for this, and could execute twice, causing
	dev$null to be multiply opened.  At image close time only one file
	descriptor would be closed, causing a file descriptor leak.  The
	imopsf code was changed so that the pixel mask initialization code
	is only executed once for an image.  Note however that imopsf can
	nonetheless be called more than once on an image in some cases,
	e.g. the system does this to ensure that imsetbuf is called, so it
	would not be correct to modify imopsf so that it simply returns
	if called on an already open image.  (8/16)

./sys/imio/impmopen.x
./sys/plio/plloadf.x
	Improved the error recovery in these routines so that all open files
	are closed and buffers freed if a blatant error occurs, such as
	trying to open a non-pixel mask file as a pixel mask image.  (8/16)

./lib/plio.h
./sys/plio/PLIO.hlp
./sys/plio/pll2p.gx
./sys/plio/pll2r.gx
./sys/plio/pllseg.h
./sys/plio/plupdate.x
./sys/plio/plopen.x
./sys/plio/plload.x
./sys/plio/plpoint.x
./sys/plio/plleq.x
./sys/plio/pllpr.x
./sys/plio/pldebug.x
./sys/plio/plssize.x
./sys/plio/plcmpress.x
./sys/plio/plclear.x
./sys/plio/plr2l.gx
./sys/plio/plp2l.gx
./sys/plio/pllrop.x
./sys/plio/pllsten.x
./sys/plio/zzlib.x
	The LEN and BLEN fields of the encoded line list (LL) descriptor
	would limit the length of a pixel area (and hence the size of a
	pixel mask) to the max size of a signed short, 32768.  This was due
	to the use of a simple array of type short to encode the line list
	(which simplifies handling considerably).  Nonetheless the limit to
	32K was unacceptable.  The fix adopted was to increase the LL header
	from 3 to 7 words.  Two 16 bit words are now used to encode each of
	LEN and BLEN.  A "version" word was added to allow the old, new, and
	future encodings to be distinguished.  A "hdrlen" word was added to
	parameterize the length of the LL header, rather than fix it at
	compile time as in the initial version.  With this change, the
	maximum length of an image line under PLIO is increased from 32768
	to 1073741824 (32768*32768).  All the higher level PLIO code is
	integer, so should already support larger masks.

	This was done in such a way that old line lists can still be read,
	although PLIO will always write out new format line lists (pixel
	mask files and images, QPOE, and MWCS all store encoded line lists
	in external storage, so backwards compatibility is important; also
	existing complied programs will continue to generate the old
	format).  The cost is 8 bytes per encoded line list.  For most masks
	this should only increase the size of the mask by a few percent at
	most.  (8/16)

unix/os/zfiond.c
	In the server-side code for a unix socket, "addrlen" was being
	computed using an obsolete heuristic which was only correct for
	older versions of the BSD socket interface.  On newer systems this
	could cause an "address already in use" error when opening a server
	socket, due to the socket pathname getting truncated.  (8/18)

sys/fio/reopen.x
	The FIO reopen routine, used to open an existing host file descriptor
	on a new FIO file descriptor (e.g. providing indepedent buffered
	streams for a single host file) had a bug which would cause it to
	set up the new file descriptor incorrectly.  (8/18)

unix/os/zfiond.c
	The ND driver supports a "text" mode which assumes that all program
	data is XCHAR and converts to and from 1 byte chars on output.  This
	is useful for an IRAF program which communicates with an external
	host program using only text.  A FIO binary stream can be used, but
	the external program sees only packed ASCII text while the SPP
	program sees only normal SPP text.  The :text mode was working for
	reads, but broken for writes.  On output zawrnd, given a buffer
	containing say 128 SPP chars (256 bytes), would compress the data as
	it should, but still write out 256 bytes.  While incorrect, this
	would actually work in many cases (especially when conversing with
	external host programs) since the output would be a null terminated
	128 char string followed by 127 bytes of junk.  (8/18)

pkg/images/immatch/src/imcombine/t_imcombine.x
	When a "cannot open image" error occurs for some other reason than
	running out of file descriptors the task would go into an infinite
	loop or given a segmentation error.  The checking was improved to
	avoid this.  (8/31/00, Valdes)

pkg/images/tv/imexamine/t_imexam.x
pkg/images/tv/imexamine/timexam.x	+
pkg/images/tv/imexamine/iecolon.x
pkg/images/tv/imexamine/mkpkg
pkg/images/tv/imexamine.par
pkg/images/tv/doc/imexamine.hlp
lib/scr/imexamine.key
	Added new key 't' to ouput an image section centered on the cursor.
	(9/02/00, Valdes)

dev/hosts
	Added Buell Jannuzi's new ssun machine 'climber'. 
	Added Michael Brown's new ssun machine 'bunyip'. (9/5/00 MJF)

pkg/cl/cl.par
	Added the new CL parameter "release".  This is a string valued
	parameter with values such as "2.11.3a", "2.11.4", "3.0" etc.
	This differs from "version" which is a descriptive string such
	as "NOAO/IRAF V2.11.3 EXPORT".  There can be multiple releases
	of one version of the software, and "release" specifies exactly
	what build the software is.  The release strings are composed in
	such a way that they can be used in expressions, e.g. (release >=
	2.11.3) would be true for IRAF V2.11.3 and all subsequent
	releases and versions.  (9/09)

---------------------------------
V2.11.3b limited patch release.  (9/10 2000)

pkg/images/immatch/src/imcombine/icombine.gx
pkg/images/immatch/src/imcombine/icgdata.gx
	Additional errchk declarations were needed to catch out of memory
	during image reading which were not caught during the initial
	pass at reading the images.  (9/11/00, Valdes)

pkg/images/immatch/src/imcombine/t_imcombine.x
pkg/images/immatch/src/imcombine/icimstack.x
	Error handling when running out of memory with immap (due to a very
	large min_lenuserarea) and when trying to stack was fixed up to
	report reasonable error messages and to not go into an infinite loop
	trying to manage memory.  (9/13/00, Valdes)

pkg/images/imcoords/src/sffind.x
pkg/images/imcoords/doc/starfind.hlp
	Modified the way starfind computes the background estimate used to
	compute the first and second order moments so that it does not depend
	on the value and density of the central pixel. (10/9/00, Davis)

pkg/images/immatch/imcentroid.par
pkg/images/immatch/imalign.par
pkg/images/immatch/imalign.cl
pkg/images/immatch/doc/imcentroid.hlp
pkg/images/immatch/doc/imalign.hlp
pkg/images/immatch/src/listmatch/t_imctroid.x
pkg/images/immatch/src/listmatch/mkpkg
	Added a new parameter maxshift to the imcentroid and imalign tasks.
	Maxshift is the maximum permitted difference between the computed
	and predicted shifts. Maxshift can be used to reject objects whose
	centers have wandered too far from the expected center. By default
	maxshift is undefined. (10/9/00, Davis)

pkg/xtools/mkpkg
pkg/xtools/doc/xtools.men
pkg/xtools/doc/xtools.hd
pkg/xtools/skywcs/mkpkg
pkg/xtools/skywcs/skdecode.x
pkg/xtools/skywcs/sksavim.x
pkg/xtools/skywcs/skset.x
pkg/xtools/skywcs/skstat.x
pkg/xtools/skywcs/sktransform.x
pkg/xtools/skywcs/skwrdstr.x
pkg/xtools/skywcs/skwrite.x
pkg/xtools/skywcs/skywcs.h
pkg/xtools/skywcs/skywcsdef.h
pkg/xtools/skywcs/doc/ccsystems.hlp
pkg/xtools/skywcs/doc/skclose.hlp
pkg/xtools/skywcs/doc/skcopy.hlp
pkg/xtools/skywcs/doc/skdecim.hlp
pkg/xtools/skywcs/doc/skdecwcs.hlp
pkg/xtools/skywcs/doc/skdecwstr.hlp
pkg/xtools/skywcs/doc/skenwcs.hlp
pkg/xtools/skywcs/doc/skequatorial.hlp
pkg/xtools/skywcs/doc/skiiprint.hlp
pkg/xtools/skywcs/doc/skiiwrite.hlp
pkg/xtools/skywcs/doc/sklltran.hlp
pkg/xtools/skywcs/doc/sksaveim.hlp
pkg/xtools/skywcs/doc/sksetd.hlp
pkg/xtools/skywcs/doc/skseti.hlp
pkg/xtools/skywcs/doc/sksets.hlp
pkg/xtools/skywcs/doc/skstatd.hlp
pkg/xtools/skywcs/doc/skstati.hlp
pkg/xtools/skywcs/doc/skstats.hlp
pkg/xtools/skywcs/doc/skultran.hlp
pkg/xtools/skywcs/doc/skywcs.hd
pkg/xtools/skywcs/doc/skywcs.hlp
pkg/xtools/skywcs/doc/skywcs.men
	Added the skywcs library to the xtools package. Skywcs is a
	repackaging of code already used in the images.imcoords package
	(10/12/00, Davis).

pkg/images/lib/coomap.key
pkg/images/lib/geofit.gx
pkg/images/lib/geofit.x
pkg/images/lib/geogmap.gx
pkg/images/lib/geogmap.x
pkg/images/lib/geogmap.h
pkg/images/lib/geograph.gx
pkg/images/lib/geograph.x
pkg/images/lib/geomap.key
pkg/images/lib/liststr.gx
pkg/images/lib/liststr.x
pkg/images/lib/mkpkg
pkg/images/lib/rgccwcs.x
pkg/images/lib/rglltran.x
	Added support for a :order command to the geomap task so that the
	user can change all the fitting orders simultaneously.  Fixed an
	error checking bug in the geomap and ccmap tasks that could cause a
	segmentation violation if there were too few points for a good fit
	and the verbose switch disabled. Added a couple of new routines to
	the list decoding tasks. Modified the code and mkpkg to use the new
	version of skywcs (10/12/00, Davis).

pkg/images/immatch/src/geometry/t_geomap.gx
pkg/images/immatch/src/geometry/t_geomap.x
	Improved the error checking in the geomap tasks (10/12/00, Davis).

pkg/images/immatch/src/wcsmatch/t_skyxymatch.x
pkg/images/immatch/src/wcsmatch/mkpkg
	Modified the skyxymatch task to use the new skywcs library
	(10/12/00, Davis).

pkg/images/imcoords/imcctran.par
pkg/images/imcoords/doc/imcctran.hlp
pkg/images/imcoords/src/ccfunc.x
pkg/images/imcoords/src/ccxytran.x
pkg/images/imcoords/src/skyctran.x
pkg/images/imcoords/src/t_ccfind.x
pkg/images/imcoords/src/t_ccmap.x
pkg/images/imcoords/src/t_ccsetwcs.x
pkg/images/imcoords/src/t_cctran.x
pkg/images/imcoords/src/t_ccxymatch.x
pkg/images/imcoords/src/t_imcctran.x
pkg/images/imcoords/src/t_skyctran.x
pkg/images/imcoords/src/mkpkg
	Modified the imcoords tasks to use the new skywcs library.
        Added support for doing coordinate transformations accurately on
        images with non-zenithal projections where rotating the CD matrix
        does not work accurately. Added a new parameter longpole to the
	imcctran  task. If longpole =yes then coordinate transformations
	with zenithal projections will be rotated using longpole rather
	than the CD matrix. (10/12/00, Davis)

pkg/images/x_images.x
pkg/images/imcoords/imcoords.cl
pkg/images/imcoords/imcoords.men
pkg/images/imcoords/imcoords.hd
pkg/images/imcoords/ccget.par
pkg/images/imcoords/ccstd.par
pkg/images/imcoords/doc/ccget.hlp
pkg/images/imcoords/doc/ccstd.hlp
pkg/images/imcoords/src/mkpkg
pkg/images/imcoords/src/t_ccget.x
pkg/images/imcoords/src/t_ccstd.x
pkg/images/imcoords/src/ccstd.x
	Added the ccget and ccstd tasks to the imcoords package.
	(10/12/00, Davis)

dev/hosts
	Added RedHat machine camille (11/23/00, MJF)

pkg/images/tv/display/t_display.x
	Changes to detect and use new WCS strings (12/04/00, MJF)

pkg/images/tv/display/gwindow.h
	Added struct element W_WCSVER (12/04/00, MJF)

pkg/images/tv/display/iis.h
	Added definitions for 16-frame support, increased the size of
	the SZ_WCSTEXT to 1024 (12/04/00, MJF)

pkg/images/tv/display/mkpkg
pkg/images/tv/display/imdwcsver.x     +
	Added a routine which does a WCS query with the X register set
	to check whether the server can handle the new WCS strings.  If
	the reply is "version=<num>" we use the new stuff, otherwise it's
	a no-op and we use the old format strings. (12/04/00, MJF)

sys/imio/imunmap.x
	Added a test to see if the image being closed is a pixel mask image
	(as opened by impmmap) with the IM_PLCLOSE flag set.  If so, the
	mask file must be closed at imunmap time.  (12/12)

pkg/images/lib/geomap.h
pkg/images/lib/geogmap.h
pkg/images/lib/geofit.gx
pkg/images/lib/geofit.x
pkg/images/lib/geogmap.gx
pkg/images/lib/geogmap.x
pkg/images/lib/geograph.gx
pkg/images/lib/geograph.x
pkg/images/lib/geomap.key
pkg/images/lib/coomap.key
pkg/images/immatch/geomap.par
pkg/images/immatch/doc/geomap.hlp
pkg/images/immatch/src/geometry/t_geomap.gx
pkg/images/immatch/src/geometry/t_geomap.x
pkg/images/imcoords$ccmap.par
pkg/images/imcoords/src/t_ccmap.x
pkg/images/imcoords/doc/ccmap.hlp
	Added a new parameter maxiter to the geomap and ccmap tasks. Maxiter
	defines the maximum number of rejection iterations and has a default
	value of 0 for no rejection.  Changed the default value of the ccmap
	and geomap parameter reject from INDEF to 3.0.  (05/01/01 LED)

pkg/dataio/fits/fits_rheader.x
	Fixed a bug in the MEF file reading error recovery code that could
	case a segvio due to a too many open file descriptors conditions.
	(05/01/01 LED)

pkg/images/immatch/immatch.hd
	Fixed a typo in the 'source' definition of imalign.cl (01/31/01 MJF)

xtools$inlfit.gx
xtools$inlfitr.x
xtools$inlfitd.x
xtools$inlrefit.gx
xtools$inlreffitr.x
xtools$inlrefitd.x
        Added a check for the condition case where the number of data points
        minus the number of deleted points (i.e. those with weights of 0.0)
        is less than the number of fitting parameters. The previous checks did
        not task into account the number of deleted points and could produce
        solutions that were correct but non-physical. (1/2/01, Davis)

pkg/images/imcoords/doc/ccmap.hlp
	Fixed an error in ccmap help page package definition. (02/09/01 LED)

pkg/images/tv/display/t_display.x
	Removed the code which stripped the path-prefix and section from the
	image name displayed in the title string.  This was originally done
	to save space but confuses tasks like IMEXAM which rely on this to
	map the image.  (02/26/01, MJF)

pkg/images/tv/display/iis.h
	Somehow the SZ_WCSTEXT value got reset to 320, this was causing a
	problem with TVMARK redrawing the display, reset to 1024.
	(02/26/01, MJF)

pkg/images/immatch/src/imcombine/icsetout.x
	The physical coordinates of the output WCS are now reset.
	(3/1/01, Valdes)

pkg/images/imgeom/src/t_im3dtran.x
pkg/images/imgeom/src/t_imtrans.x
pkg/images/imgeom/src/t_imshift.x
pkg/images/imgeom/src/t_magnify.x
        Modified the im3dtran, imtranspose, imshift, and magnify tasks so that
        the output image, which is mapped NEW_COPY, is unmapped before the
	input image. To the best of my knowledge this has not caused problems
	to date but ... (3/1/01 Davis)

sys/imio/impmhdr.x
	When expanding the text version of the header stored in the PL image, 
	the newline in column 81 would not be seen when processing a full
	line of exactly 80 characters, causing a blank line to be added
	to the output image header.  (3/05/01 LD,NZ,DT)

pkg/images/tv/display/t_display.x
pkg/images/tv/display/imdgetwcs.x
pkg/images/tv/display/imdwcsver.x
pkg/images/tv/display/iis.h
	Compatability fixes for the new WCS strings and "old" servers.  The
	WCS version query is now carried out with a read request using the
	old WCS data size (320) to avoid blocked reads from old servers not
	sending the 1024-char data.  imd_getwcs() was modified to query the
	server for the version before the actual wcs query and the request
	is made with the appropriate size.  In the case of a WCS query the
	IIS 'x' register is used to signal that the new format is being
	used, the WCS version is passed back if the 'y' register is
	non-zero.  Neither of these registers was used by the old protocol,
	the new ximtool checks these registers and responds by using the
	correct WCS buffer size.  (03/12/01, MJF)

sys/fio/zzdebug.x
	Added new versions (written Aug 2000) of the "server" and "client"
	debug tasks, which use the ND driver for fully streaming bidirectional
	socket communications.  (03/27)

sys/mwcs/wfsamp.x
	Fixed a couple minor bugs having to do with endpoint handling and
	saving the last position to speed subsequent searches.  Generalized
	the code to remove the restriction that both arrays increase in
	the same direction.  (03/31 FV/DT)

sys/etc/main.x
	Modified the way command line arguments are parsed to make it easier
	to set the value of a string parameter to the null string.  If a
	string parameter is set on the command line, e.g., "param=value",
	whitespace is no longer permitted between the = and the value
	string.  Hence, in command line such as [a=foo b= c=bar] will be
	treated the same as [a=foo b="" c=bar].  Whitespace is still
	skipped in @par files as before.  (03/31)

sys/clio/clcache.x
sys/fmtio/clscan.x
	1. Modified the private internal system routine clc_fetch, which
	fetches parameters from the in-task parameter cache, to return ERR if
	a parameter is not found rather than zero.  This makes it possible
	to discriminate between parameters that have not been set, and ones
	which have had the value string set to the null string.
	2. Modified clscan (called whenever a task gets a string-valued
	parameter) to check the status returned by clc_fetch for ERR rather
	than <=0 and to prompt for the parameter only if ERR (value not set)
	is returned.

	Note - These changes have some risk and could affect existing
	scripts.  Only tasks with parameters that have null string or
	uninitialized values should be impacted.  Testing using irafx is
	required.  (03/31)

sys/imio/db/imgnfn.x
	The code which scans a header looking for keywords which match a
	pattern was not skipping to the next card correctly when skipping
	non-keyword cards (blank cards, COMMENT, HISTORY, etc.).  (03/31)

pkg/images/tv/display/dspmmap.x
	Fixed problems with ds_match.  The new version is more robust and
	correct.  A bad pixel for the displayed image is the maximum of all
	pixels in the pixel mask which fall within the display pixel.   This
	version still does not allow any relative rotations but does allow
	non-integer offsets.  (4/24/01, FV)

images$imutil/hedit.par
images$imutil/doc/hedit.hlp
images$imutil/src/hedit.hlp
        Added a new addonly parameter to the hedit task. If addonly is set
        a new field will only be added to the image header if it does not
        already exist. (4/30/01, Davis)

images$immatch/src/psfmatch/rgpfilter.x
images$immatch/src/psfmatch/rgpconvolve.x
        Fixed a floating point error in the replace algorithm gaussian fitting
        routine that can occurs if the FFT of the reference image is exactly
	zero. Also fixed a symmetry error in the psfmatch convolve routine
	that would results in a corrected psf that is flipped in x and y if
	the psf matching kernel does not have mirror symmetry. The workaround
	and bug fix is to rotate the convolution kernel 180 degrees before
	applying it to the input image in that case. The matching kernel is
	is correctly oriented and can be used directly with the fconvolve
	task.  (5/15/01 Davis)

dataio$fits/t_rfits.x
dataio$imtext/t_rtextimage.x
        Changed the clgetc calls o clgstr calls for the datatype parameter
        (rfits task) and otype parameter (rtextimage. task) This change is
	required to avoid an "ERROR: Parameter not a legal character constant
	(parname)" error introduced by recent changes to the CL. "" is no
	longer a legal argument for clgetc. (6/15/01 LED)

images$immatch/src/imcombine/t_combine.x
images$immatch/src/imcombine/icombine.gx
images$immatch/src/imcombine/icgdata.gx
images$immatch/src/imcombine/icscale.x
images$immatch/src/imcombine/xtimmap.x	+
images$immatch/src/imcombine/mkpkgx
	When combining more images than there are IRAF FIO descriptors the
	additional images are mapped and unmapped as needed.  There is no
	limit now on the number of images or that they be capable of being
	stacked into a single image for combining by projection.  The creation
	of a temporary stack image is no longer done.  (6/16/01, Valdes)

images$imgeom/src/t_magnify.x
	Fixed a bug in the magnify task that could cause a previous block
	of lines to be repeated instead of a new block computed. This bug
    	was introduced when magnify was upgraded to use the new sinc / drizzle
    	interpolation code and to use imio boundary extension (IRAF 2.11.2). A
    	typo was made in the update which results the above error in the case
    	where the buffer does not update. Normally the buffer is supposed to
    	update for each group of lines but occasionally may not to integer
    	conversions, especially in the case that the magnification factors are
    	greater than the internal buffer size of 16 output image lines.
    	(6/21/01, Davis)

pkg/images/tv/display/imdgetwcs.x
pkg/images/tv/display/imdputwcs.x
pkg/images/tv/display/imdsetwcs.x
        Modified to allow read/write of the additional mapping information
    	during WCS i/o.  If the iis_version flag is non-zero and a valid
	mapping exists, the set/put wcs routines will automatically format
	the WCS text to include this information, otherwise it writes the old
	WCS text. If iis_version is non-zero and a server query returns mapping 	information this will be stored in the iis common for later retrieval
	by the imd_getmapping() routine.  (06/21/01, MJF)

pkg/images/tv/display/imdwcsver.x
        Removed 'frame' number argument form the procedure.  The procedure
    	will now map frame one if no connection is already opened and query
	the WCS. Returns non-zero if the server is capable of using the new
	mapping structures.  Required to be called explicitly by programs
	using mappings to initialize the imd interface for this functionality.
	A "disable_wcs_maps" boolean environment variable may be defined to
	force this procedure to return zero if the old behavior is desired or
	to workaround bugs in the new code.  (06/21/01, MJF)

pkg/images/tv/display/t_display.x
        Removed earlier addition of ds_setwcs() function since this is now
    	handled by the standard imd_putwcs() interface.  Mapping information
    	is set prior to the WCS write with imd_setmapping().  (06/21/01, MJF)

pkg/images/tv/display/mkpkg
        Updated dependencies (06/21/01, MJF)

pkg/images/tv/display/imdmapping.x              +
        New routines imd_[sg]etmapping() allow a program to set the
    	mapping to be sent with the next imd_putwcs() call, or retrieve the
    	mapping info sent by the server with the last wcs query.  The calls
    	are no-ops if the connected server doesn't know about the new
    	mappings, imd_getmapping() is an integer function which returns
    	non-zero if a valid mapping is available.  A new imd_query_map() is
    	available to return the mapping information for a given WCS number.
    	The intent is that the mapping can be obtained for a wcs returned by a
    	cursor read, e.g. to get the image name associated with the mapping.
    	(6/21/01, MJF)

pkg/images/tv/display/iis.com
        Added new variables to the IIS common to hold the mapping
    	information for each WCS write.  In order to preserve the imd inter-
	faces it was necessary to save the mappings in the common, along with
	a flag indicating whether the connected server can use them.
	(06/21/01, MJF)

pkg/images/tv/display/iisopn.x
    	Added initialization of the iis_version value at device open time
    	(6/21/01, MJF)

pkg/images/tv/display/gwindow.h
    	Removed struct element W_WCSVER added earlier, no longer needed.
    	(6/21/01, MJF)

pkg/images/tv/display/mkpkg
pkg/images/tv/display/t_display.x
    	Removed unused include files leftover from debugging. (7/2/01, MJF)

pkg/lists/rimcursor.x
	Modified to return actual WCS code.  Previously hardwired with '01'
	following the frame number. (7/3/01, MJF)

dev/hosts
	Changed equuleus to be a Solaris machine, added entry for it's
	new incarnation as 'new-equuleus'.  (7/6/01, MJF)

pkg/system/cmdstr.x
	Modified to handle the case of a redirected parameter value in 
	the input stream.  (7/11/01, MJF)

pkg/images/imcoords/src/t_ccmap.x
	Fixed a bug in the ccmap task refpoint = "coords" option that could
	produce a totally inaccurate tangent point estimate if the input
	coordinate list spanned ra = 0.0 hours. (7/20/01, LED)

pkg/images/tv/tvmark/t_tvmark.x
	Added a call to imd_wcsver() to reset the 'frame' parameter max so
	task can use all 16 frames (8/9/01, MJF)

pkg/images/tv/display/imdgetwcs.x
	Fixed a small bug in parsing the WCS return string, could sometimes
	cause the WCS to be reset.  (8/9/01, MJF)

pkg/images/tv/display/imdwcsver.x
	Initialized the iis_valid variable (8/9/01, MJF)

pkg/plot/doc/contour.hlp
    	Clarified the use of the 'fill' parameter in the example when
	overlaying contours to an image display. (08/10/01, MJF)

pkg/images/tv/imexamine/mkpkg
pkg/images/tv/imexamine/x_imexam.x	+
pkg/images/tv/imexamine/imexamine.par	+
	Added a mkpkg target to compile standalone; i.e. mkpkg standalone.
	(8/13/01, Valdes)

pkg/images/tv/imexamine/iecimexam.x
pkg/images/tv/imexamine/ieeimexam.x
pkg/images/tv/imexamine/iegcur.x
pkg/images/tv/imexamine/iegimage.x
pkg/images/tv/imexamine/iegnfr.x
pkg/images/tv/imexamine/iehimexam.x
pkg/images/tv/imexamine/ieimname.x
pkg/images/tv/imexamine/iejimexam.x
pkg/images/tv/imexamine/ielimexam.x
pkg/images/tv/imexamine/ieopenlog.x
pkg/images/tv/imexamine/ieqrimexam.x
pkg/images/tv/imexamine/ierimexam.x
pkg/images/tv/imexamine/iesimexam.x
pkg/images/tv/imexamine/ietimexam.x
pkg/images/tv/imexamine/ievimexam.x
pkg/images/tv/imexamine/imexam.h
pkg/images/tv/imexamine/t_imexam.x
	IMEXAMINE has been modified to use multiple WCS mappings.  The
	full WCS number is now used.  Based on the WCS number the image
	associated with the mapping determines the image to examine.
	This requires a display server which supports multiple mappings,
	such as XIMTOOL V1.3, and a display tasks which uses
	multiple mappings, such as MSCRED V4.5.  For single displays and
	other display servers it behaves as before.
	(8/13/01, Valdes)

pkg/obsolete/obsolete.cl
pkg/obsolete/obsolete.men
pkg/obsolete/obsolete.hd
pkg/obsolete/x_obsolete.x
pkg/obsolete/mkpkg
pkg/obsolete/odisplay.par	-
pkg/obsolete$doc/odisplay.hlp	-
pkg/obsolete$display/		-
	Removed ODISPLAY task.  (8/17/01, Valdes)

pkg/obsolete/obsolete.cl
pkg/obsolete/obsolete.men
pkg/obsolete/obsolete.hd
pkg/obsolete/x_obsolete.x
pkg/obsolete/mkpkg
pkg/obsolete/oimcombine.par	+
pkg/obsolete$doc/oimcombine.hlp	+
pkg/obsolete$imcombine/		+
	Added OIMCOMBINE from V2.11.3b.  (8/17/01, Valdes)

pkg/images/immatch/src/imcombine
pkg/imagess/immatch/imcombine.par
pkg/imagess/immatch/doc/imcombine.hlp
	1.  New parameters "headers", "bpmasks", "rejmasks",  "nrejmasks",
	    and "expmasks" provide additional types of output.  The old
	    parameters "rejmask" and "plfile" were removed.  The new
	    "nrejmasks" parameter corresponds to the old "plfile" and the
	    new "rejmasks" parameter corresponds to the old "rejmask".
	2.  There is a new "combine" type "sum" for summing instead of
	    averaging the final set of offset, scaled, and weighted
	    pixels.
	3.  There is a new parameter "outlimits" to allow output of a
	    subregion of the full output.  This is useful for raster
	    surveys with large numbers of images.
	4.  Additional keywords may appear in the output headers.
	5.   The scaling is now done relative to the first image rather than
	    an average over the images.  This is done so that flux related
	    keywords such as exposure time and airmass remain
	    representative.
	6.  The environment parmaeter "imcombine_option" allows using an
	    algorithm that opens and closes images.  This is very slow but
	    allows combining large numbers of images which are not the same
	    size.
	7.  New help page.
	(8/17/01, Valdes)

lig/pkg/cq.h
pkg/xtools/catquery/
pkg/xtools/mkpkg
pkg/xtools/cq.h
pkg/xtools/cqdef.h
pkg/xtools/cqdb.x
pkg/xtools/cqdtype.x
pkg/xtools/cqget.x
pkg/xtools/cqgfields.x
pkg/xtools/cqgqpars.x
pkg/xtools/cqgrecords.x
pkg/xtools/cqiminfo.x
pkg/xtools/cqimquery.x
pkg/xtools/cqistat.x
pkg/xtools/cqlocate.x
pkg/xtools/cqmap.x
pkg/xtools/cqnqpars.x
pkg/xtools/cqquery.x
pkg/xtools/cqrinfo.x
pkg/xtools/cqrstat.x
pkg/xtools/cqsetcat.x
pkg/xtools/cqsqpars.x
pkg/xtools/cqstat.x
pkg/xtools/cqwrdstr.x
pkg/xtools/doc/*.hlp
	Added the catalog and image survey access tools and documentation to
	the XTOOLS package.  (8/27/01, Davis)

pkg/obsolete/obsolete.cl
pkg/obsolete/obsolete.men
pkg/obsolete/obsolete.hd
pkg/obsolete/x_obsolete.x
pkg/obsolete/mkpkg
pkg/obsolete/oimstatistics.par
pkg/obsolete/oimstat.h
pkg/obsolete/t_oimstat.x
pkg/obsolete/doc/oimstat.hlp
	Added OIMSTATISTCS from V2.11.3b.  (8/30/01, Davis)

pkg/images/imutil/imstatistics.par
pkg/images/imutil/doc/imstatistics.hlp
pkg/images/imutil/src/imstat.h
pkg/images/imutil/src/t_imstat.x
	Added an interative rejection capability to the imstatistics task. Also
	added a cacheing option that may speed up the performance of the task
	if the midpt/mode statistic is computed or if iterative rejection
	is enabled.  (8/30/01, Davis)

pkg/xtools/catquery/cqgfields.x
pkg/xtools/catquery/cqquery.x
	Fixed an incorrect function  and data type declaration in the
	catquery library which showed up when compiling on Linux.
	(9/17/01, Davis)

pkg/images/imutil/src/t_imjoin.x
        Changed the clgetc call to clgstr calls for the pixtype parameter in
        imjoin. This change is required to avoid an "ERROR: Parameter not a
	legal character constant (parname)" error introduced by recent changes
	to the CL.  Basically "" is no longer a legal argument for clgetc.
	(9/17/01 LED)

pkg/proto/mimstatistics.par
pkg/proto/doc/mimstat.hlp
pkg/proto/masks/mimstat.h
pkg/proto/masks/t_mimstat.h
pkg/proto/masks/mstcache.x
pkg/proto/masks/mimstat.x
pkg/proto/masks/mptools.x
        Installed the new statistics through a mask task mimstatistics in the
	proto package. (09/17/01, Davis)

lib/pkg/pstools.h                       +
pkg/xtools/pstools/Notes                +
pkg/xtools/pstools/font.com             +
pkg/xtools/pstools/mkpkg                +
pkg/xtools/pstools/psbreak.x            +
pkg/xtools/pstools/pscenter.x           +
pkg/xtools/pstools/psclose.x            +
pkg/xtools/pstools/psdeposit.x          +
pkg/xtools/pstools/psfont.x             +
pkg/xtools/pstools/psjustify.x          +
pkg/xtools/pstools/psopen.x             +
pkg/xtools/pstools/psoutput.x           +
pkg/xtools/pstools/pspos.x              +
pkg/xtools/pstools/psprolog.x           +
pkg/xtools/pstools/pssetup.x            +
pkg/xtools/pstools/pswidth.x            +
	Added a new interface library for doing Postscript text output.
	This is used by the lroff conversion code but is useful for any
	application which needs to output blocks of text in a similar
	manner.  Because of the var- iable-width font used in the prolog it
	is not that useful for producing tabular output. (09/17/01, MJF)

pkg/proto/rskysub.par
pkg/proto/doc/rskysub.hlp
pkg/proto/masks/rskysub.h
pkg/proto/masks/t_rskysub.x
pkg/proto/masks/rsstats.x
pkg/proto/masks/rsmean.x
pkg/proto/masks/rsmmean.x
pkg/proto/masks/rscache.x
pkg/proto/masks/rsfnames.x
pkg/proto/masks/rsreject.x
        Installed the new running mean or median sky subtraction task rskysub
        in the proto package. (9/18/01, LED)

pkg/images/imcoords/src/t_skyctran.x
pkg/images/imcoords/src/t_sffind.x
pkg/images/imfilter/src/mode.x
pkg/images/imutil/doc/hedit.hlp
pkg/images/imutil/doc/imdivide.hlp
pkg/images/tv/doc/Tv.hlp
pkg/images/tv/iis/doc/Cv.hlp
pkg/images/tv/iis/doc/cv.hlp
pkg/mage/tv/iis/ids/doc/Imdis.hlp
        Fixed various missing/extra argument problems in the images package
        code that were found with spplint. Also fixed miscellaneous images
	package help page formatting problems. (9/19/01 Davis)

pkg/plot/crtpic/t_crtpict.x
pkg/plot/crtpic/plotimage.x
pkg/plot/t_graph.x
pkg/plot/t_implot.x
        Fixed various missing/extra argument and function/subroutine mismatch
        problems in the plot package that were found by running spplint.
        (9/19/01, Davis)

pkg/proto/t_suntoiraf.x
pkg/proto/t_binfil.x
pkg/proto/t_hfix.x
pkg/proto/t_joinlines.x
pkg/proto/doc/irafil.hlp
        Fixed various extra/missing argument, function declaration, and
        subroutine/function mismatchs in the proto package that were
	found with spplint. Also fixed an irafil task help page formatting
	problem. (9/19/01, Davis)

pkg/xtools/skywcs/doc/skdecim.hlp
pkg/xtools/skywcs/doc/skequatorial.hlp
pkg/xtools/skywcs/doc/sklltran.hlp
pkg/xtools/skywcs/doc/skultran.hlp
pkg/xtools/skywcs/doc/skywcs.hlp
pkg/xtools/catquery/doc/catquery.hlp
pkg/xtools/catquery/doc/cqsqpar.hlp
pkg/xtools/catquery/doc/cqsqparn.hlp
        Fixed various formatting problems in the skywcs and catquery library
        help pages. (19/09/01, Davis)

pkg/lists/doc/Lcalc.hlp
pkg/lists/doc/Lcalc.hlp
pkg/lists/doc/Lists.hlp
pkg/lists/doc/unique.hlp
pkg/lists/doc/average.hlp
        Fixed various formatting problems in the lists package help files.
        (19/09/01, Davis)

mkpkg
	Added architecture entries for LinuxPPC (linuxppc) and MacOSX
	(macosx) to the root iraf mkpkg file.  (9/25)

unix/hlib/libc/iraf.h
unix/hlib/libc/stdarg.h		+
	Added a new LIBC include <stdarg.h>.  This is the successor to
	<varargs.h>, which is no longer supported on all platforms
	(MacOSX).  If a C file defines "import_stdarg" then <stdarg.h> will
	be included.  If this file defines USE_STDARG then the stdargs
	mechanism for handling variable arguments lists should be used in
	the code, otherwise the older varargs mechanism should be used (they
	are NOT the same).  Unfortunately it is necessary to #ifdef the code
	to do this as variable argument handling has to be done at compile
	time and only one version can be used; nonetheless the code will be
	just as portable and platform independent as always.  (9/25)

pkg/cl/errs.c
pkg/cl/clprintf.c
	Modified these files to use STDARG.  (9/25)

sys/libc/scanf.c
sys/libc/printf.c
sys/libc/sprintf.c
sys/libc/eprintf.c
	Modified these files to use STDARG.  (9/25)

unix/mkpkg [pcix]
	Added some comments on what version of F2C is used and where the
	sources are maintained.  (9/25)

unix/as.macosx [pcix]			+
unix/boot.macosx [pcix]			+
	Added AS and HBIN directories for the MacOSX port.  (9/25)

unix/boot/bootlib/ostime.c [pcix]
unix/os/gmttolst.c [pcix]
	These routines were modified to use the cmtime.gmtime routine
	to get the GMT offset.  Required for MacOSX.  ftime() is
	normally used: while MacOSX has a manpage for this and says it
	is in libcompat.a, there is no libcompat.a.  gmtime() is probably
	the more modern routine anyway, and perhaps we should move to
	it for most platforms.  (9/25)

unix/boot/mkpkg/host.c [pcix]
	In h_rebuildlibrary, added a call to resolvefname() so that
	ranlib is passed an actual filename rather than a symbolic
	link.  (9/25)

unix/boot/spp/xc.c [pcix]
	Various changes to support MacOSX.  (9/25)

unix/boot/spp/xpp/xppcode.c
	Added explicit initialization for the variable nstrings to fix a
	runtime SPP compiliation problem seen on MacOSX.  (9/25)

unix/hlib/install [pcix]
unix/hlib/cl.csh [pcix]
unix/hlib/fc.csh [pcix]
unix/hlib/irafuser.csh [pcix]
unix/hlib/mkpkg.inc [pcix]
unix/hlib/mkpkg.sf.MACX [pcix]
unix/os/irafpath.c [pcix]
	The usual minor changes to support a new platform, in this case
	MacOSX.  (9/25)


unix/os/zfchdr.c [pcix]
unix/os/zfgcwd.c [pcix]
unix/os/zglobl.c [pcix]
	Moved the global variable oscwd to zglobl.c to avoid a linker
	problem seen on MacOSX.  (9/25)

unix/os/zfioks.c [pcix]
	MacOSX does not provide REXEC (it is in libcompat.a) so the KS
	driver was modified to conditionally use RCMD instead.  This routine
	replaces the very old REXEC and should probably be used on most
	platforms in any case.  A USE_RCMD define was added at the top
	of the file to select which routine is used on each platform.
	(/9/25)

unix/os/zxwhen.c [pcix]
	Added support for MacOSX, which does not fully support the 
	modern sigaction, used for signal handling on most platforms
	these days.  (9/25)

pkg/images/tv/imedit/epimcopy.x
	Added a missing TY_USHORT branch to the image copy case statement.
	(10/10 LED)

pkg/system/help/hinput.x
	Added a missing sfree before return. (10/10/01, MJF)

pkg/system/help/houtput.x
	ttyclear() was being called as a function, changed to call as a
	subroutine. (10/10/01, MJF)

pkg/system/help/prhelp.x
	Added some extra braces around complex if statements. (10/10/01, MJF)

pkg/system/help/help.h
pkg/system/help/t_help.x
pkg/system/help/t_lroff.x
pkg/system/help/prblkhdr.x
pkg/system/help/prhlpblk.x
	Added new code to permit text/html/ps output options.  Additional
	code to handle standout mode properly. (10/10/01, MJF)

pkg/xtools/mkpkg
lib/pkg/pstools.h			+
pkg/xtools/pstools/Notes		+
pkg/xtools/pstools/font.com		+
pkg/xtools/pstools/mkpkg		+
pkg/xtools/pstools/psbreak.x		+
pkg/xtools/pstools/pscenter.x		+
pkg/xtools/pstools/psclose.x		+
pkg/xtools/pstools/psdeposit.x		+
pkg/xtools/pstools/psfont.x		+
pkg/xtools/pstools/psjustify.x		+
pkg/xtools/pstools/psopen.x		+
pkg/xtools/pstools/psoutput.x		+
pkg/xtools/pstools/pspos.x		+
pkg/xtools/pstools/psprolog.x		+
pkg/xtools/pstools/pssetup.x		+
pkg/xtools/pstools/pswidth.x		+
	Added a new interface library for doing Postscript text output.
	This is used by the lroff conversion code but is useful for any
	application which needs to output blocks of text in a similar
	manner.  (10/10/01, MJF)

pkg/system/help/t_lroff.x
pkg/system/help/lroff.par
	Added a new 'format' parameter and code to permit output of HTML
	or Postscript. (10/10/01, MJF)

pkg/system/help/lroff/mkpkg
pkg/system/help/lroff/lroff.h
pkg/system/help/lroff/lroff.x
pkg/system/help/lroff/nofill.x
pkg/system/help/lroff/nextcmd.x
pkg/system/help/lroff/lroff2ps.x	+
pkg/system/help/lroff/lroff2html.x	+
	Added new converter code to create HTML or formatted Postscript from
	lroff source. (10/10/01, MJF)

pkg/system/help/t_help.x
	Task was modified to call the XHELP code to run the GUI version of
	the task if requested.  Task output is the same if the device
	remains the default 'terminal' value, however resetting the 'device'
	parameter to one of 'gui', 'html', or 'ps' will either spawn the GUI
	task under xgterm or print the converted help page to the stdout.
	(10/10/01, MJF)

lib/pkg/help.gui			+
lib/pkg/help.html			+
pkg/system/help/mkpkg
pkg/system/help/xhelp/			+
pkg/system/help/xhelp/help.gui		+
pkg/system/help/xhelp/mkpkg		+
pkg/system/help/xhelp/xhcmds.x		+
pkg/system/help/xhelp/xhdir.x		+
pkg/system/help/xhelp/xhelp.h		+
pkg/system/help/xhelp/xhelp.par		+
pkg/system/help/xhelp/xhelp.x		+
pkg/system/help/xhelp/xhfiles.x		+
pkg/system/help/xhelp/xhhelp.x		+
pkg/system/help/xhelp/xhinit.x		+
pkg/system/help/xhelp/xhofile.x		+
pkg/system/help/xhelp/xhpkg.x		+
pkg/system/help/xhelp/xhprint.x		+
pkg/system/help/xhelp/xhqref.x		+
pkg/system/help/xhelp/xhroot.x		+
pkg/system/help/xhelp/xhsave.x		+
pkg/system/help/xhelp/xhsearch.x	+
pkg/system/help/xhelp/xhsort.x		+
pkg/system/help/xhelp/zzdebug.x		+
	Installed GUI help support code.  Slight modifications from the
	stand-alone XHELP task were required, almost entirely in the task
	main.  Various bugs were fixed in the task initialization which
	prevented repeated executions from displaying the correct package
	information.  (10/10/01, MJF)

pkg/system/help/houtput.x
	Removed an unused 'junk' variable. (10/10/01, MJF)

pkg/system/phelp.cl
pkg/system/references.cl
	Hardwired the 'device' parameter to be 'terminal' (10/10/01, MJF)

lib/pkg/scr/help.gui
	Numerous bug fixes and consistency tweaks to the GUI file.
	(10/10/01, MJF)

pkg/system/help/xhelp/xhsave.x
	Added missing file descriptors to fprintf() calls.  (10/10/01, MJF)

pkg/system/help/xhelp.x
	Removed an unused clgeti() declaration.  (10/10/01, MJF)

pkg/system/pathnames.x
	Added a missing SZ_LINE arg to a gargstr() call.  (10/10/01, MJF)

pkg/system/protect.x
pkg/system/unprotect.x
	protect() was being called as a subroutine, changed to be a call to
	an int function as defined.  (10/10/01, MJF)

pkg/system/help/prhlpblk.x
	Fixed a Postscript initialization bug which was preventing files from
	being formatted as PS with the proper header.  (10/10/01, MJF)

pkg/system/help/lroff/lroff.x
	Fixed a bug in the new .hr directive preventing the text from being 
	passed through to the output in the case of non-HTML.  (10/10/01, MJF)

pkg/xtools/mkpkg
lib/pkg/pstools.h		-
pkg/xtools/pstools/Notes	-
pkg/xtools/pstools/font.com	-
pkg/xtools/pstools/mkpkg	-
pkg/xtools/pstools/psbreak.x	-
pkg/xtools/pstools/pscenter.x	-
pkg/xtools/pstools/psclose.x	-
pkg/xtools/pstools/psdeposit.x	-
pkg/xtools/pstools/psfont.x	-
pkg/xtools/pstools/psjustify.x	-
pkg/xtools/pstools/psopen.x	-
pkg/xtools/pstools/psoutput.x	-
pkg/xtools/pstools/pspos.x	-
pkg/xtools/pstools/psprolog.x	-
pkg/xtools/pstools/pssetup.x	-
pkg/xtools/pstools/pswidth.x	-
	The XTOOLS library is not built until after the SYSTEM executable
	and so the PSTOOLS library that the new HELP depends upon was not
	being found.  PSTOOLS was elevated to be a new SYS interface, PSIO,
	and so was deleted from the XTOOLS library.  (10/12/01, MJF)

lib/psio.h			+
sys/psio/			+
sys/psio/README			+
sys/psio/font.com		+
sys/psio/mkpkg			+
sys/psio/psbreak.x		+
sys/psio/pscenter.x		+
sys/psio/psclose.x		+
sys/psio/psdeposit.x		+
sys/psio/psfont.x		+
sys/psio/psio.h			+
sys/psio/psjustify.x		+
sys/psio/psopen.x		+
sys/psio/psoutput.x		+
sys/psio/pspos.x		+
sys/psio/psprolog.x		+
sys/psio/pssetup.x		+
sys/psio/pswidth.x		+
sys/psio/zzdebug.x		+
	Added a new interface library for doing Postscript text output.
	This is formerly the PSTOOLS library and is used by the lroff
	conversion code but is useful for any application which needs to
	output blocks of text.  The README file explains the interface.
	(10/12/01, MJF)

pkg/system/mkpkg
pkg/system/help/lroff/mkpkg
pkg/system/help/lroff/lroff2ps.x
	Removed the -lxtools flag from the system link line, small code
	modification to make use of <psio.h>  (10/12/01, MJF)

unix/hlib/zzsetenv.def
	Added a new 'pspage' variable which is used by the PSIO interface to
	set the default page size.  Acceptable values include "letter" (the
	default) for US Letter, "legal" for US Legal, and "a4" and "b5" for
	the most common European sizes.  Pspage can be used by the new HELP
	and LROFF tasks to automatically set the desired Postscript page
	size.  (10/12/01, MJF)

lib/psio.h			-
lib/psset.h			+
sys/psio/psio.h			+
sys/psio/*
	Various minor tweaks to the PSIO code for consistency.  The private
	and public parts of the interface were split into a psio.h include
	for the interface, and psset.h for applications.  (10/14/01, MJF)

pkg/system/help/lroff/mkpkg
pkg/system/help/lroff/lroff2ps.x
	Changed <psio.h> to <psset.h>.  (10/14/01, MJF)

lib/scr/help.gui
	Minor bug fixes to the HELP GUI.  (10/14/01, MJF)

dev/hosts
	Updated hohokam's irafks path for GONG. (10/15/01, MJF)

sys/mkpkg
	Added an entry for PSIO.  (10/15)

pkg/images/immatch/src/xregister/rgxicorr.x
pkg/images/immatch/src/xregister/rgxcolon.x
pkg/images/immatch/src/xregister/rgxtools.x
        Fixed a bug in the xregister multiple region handling code that was 
        preventing xregister from computing x-correlations on regions beyond
        the first in interactive mode. (10/17/01, LED)

dev/hosts
	Added solaris machines nebula and bobcat. (10/30/01, MJF)

pkg/images/imutil/src/imheader.x
        Fixed imheader so it prints out an image size of 0 if IM_NDIM(im) is
        is 0 instead of the contents of the first element of the IM_LEN(im,1)
        vector which may be non-zero. (11/05/01, Davis)

pkg/images/imutil/src/hedit.x
pkg/images/imutil/doc/hedit.hlp
	For backwards compatability modified the precedence of the operator
	switches from addonly / add / delete to add / addonly / delete.
	Addonly is a new switch which adds a keyword only if it is not
	already there.  Also clarified the switch precedence rules in the
	help page.  (11/13/01, Davis)

lib/plset.h
sys/plio/README
sys/plio/mkpkg
sys/plio/plsten.x
sys/plio/plsectne.x
sys/plio/plsectnc.x
sys/plio/plrop.x
sys/plio/plrio.x
sys/plio/plregrop.x
sys/plio/plpoint.x
sys/plio/plplr.gx
sys/plio/plplp.gx
sys/plio/plplls.x
sys/plio/pllinene.x
sys/plio/plglr.gx
sys/plio/plglp.gx
sys/plio/plglls.x
sys/plio/placcess.x
sys/pmio/pmaccess.x
sys/pmio/pmplls.x
	The pl_access routine (which is private to the PLIO interface)
	was changed to return a pointer to the line list rather than an
	offset into the PLIO data buffer.  A new routine pl_reference()
	was added to do what pl_access used to do.  All the affected 
	PLIO and PMIO code was updated (nearly all instances wanted the
	pointer instead of the buffer offset).  

	This change makes pl_access usable by external code, which has
	no (legal) way to do anything with internal references to the
	PLIO descriptor.  (12/03)

sys/plio/pllen.x
	Added a new PLIO routine pl_llen(), which returns the length of
	an encoded line list.  (12/03)

sys/plio/plemptyline.x
	Added a new routine to return a pointer to the "emptyline" line
	list for a mask.  This can be used in conjunction with the newly
	modified pl_access to check for a pointer to the empty line.
	Applications should rarely need to do this, but it is needed in the
	FITS kernel to compress empty lines, i.e., make the lines in the
	FITS verfsion of the mask all point to the same "emptyline" line
	list.  (12/03)

sys/fmtio/evvexpr.gy
	Added support for the bitwise boolean operators: '&' (and), '|' (or),
	'^' (xor), and '~' (not/complement).  These can be used only with
	integer type operands (short, int, long) and will return a result
	of the same type, like an arithmetic operator, with the usual type
	promotion semantics.  (12/03)

pkg/images/imutil/doc/imexpr.hlp
	Added the new bitwise boolean operators to the operator list. (12/04)

sys/ki/ki.h
	Increased MAX_NODES (the max nodes in a local network for IRAF
	networking) from 320 to 512.  (12/04)

sys/ki/kbzstt.x
	Fixed some typos; no functional changes.  (12/04)

pkg/images/immatch/src/imcombine/src/icscale.x
	Fixed a normalization bug.  (12/04])

unix/hlib/config.h
unix/hlib/libc/libc.h
	Increased FIO_MAXFD (the max number of open files in FIO) from 
	256 to 4096.  This is the "hard limit" on the maximum number of
	open files in an IRAF process.

	Analysis of the FIO code indicates that there isn't any serious
	efficiency issue here: there are only a few cases where a linear
	search of the file list is performed, and these do not impact normal
	usage.  During i/o to a file there is no affect all since access via
	a file descriptor is direct.  The is some impact on file descriptor
	allocation at file open time, however this only has an impact in
	cases where there are many open files (if 4000 files are open 4001
	file descriptors may have to be examined to find the next open
	slot).  Such cases are unusual however, and in such a case however,
	performance is likely to be governed by much more important
	factors.

	The biggest impact of increasing the number of FIO descriptors is
	static allocation of BSS storage (data memory space allocated when a
	process is spawned).  This is only about 100KB per process for 4096
	descriptors.  This would have been an issue once, but is not
	important today where even everyday PCs have hundreds of megabytes
	of memory.  (12/04)

unix/shlib/mkshlib.sos4
unix/shlib/mkshlib.ssol
	It turns out that the FIO common (FIOCOM) is explicitly referenced
	in the Sun/IRAF shared image.  The parameters FIOCOMSZ, XERCOMSZ,
	TOTCOMSZ, and CMSZ (rouned up to an integral number of pages) must
	all agree with the actual commons.  The new values are as follows:

	    FIOCOMSZ = 0x24660
	    XERCOMSZ = 0x810
	    TOTCOMSZ = 0x24e70
	    CMSZ = 0x26000

	(12/04)

sys/vops/awvg.gx
	Changed the way the computation was done so that the value MEAN
	is not forced to float when working on float data.  It is replaced
	by the expression (sum/ngpix) so that the computation is all done
	in double precision internally.  (12/04)

unix/hlib/libc/kernel.h
	1. Increased MAXOFILES, the maximum number of host level open files,
	from 64 to 256.  This is the maximum number of files that can be
	simultaneously open at the host level.  It determines the maximum
	number of files that can be simultaneously open by an IRAF process
	in the usual case - that is, when FCLOSEFD is not explicitly set on
	open files by the IRAF task (if FCLOSEFD is used, up to FIO_MAXFD
	files may be open at the IRAF level).  The actual maximum number
	open files may be less if the host system imposes a lower limit.
	For example, the default limit is 64 on SUNOS and Solaris systems.
	On PC Unix systems it is much higher.  Even on systems that impose
	a lower limit by default, the "limit" shell command may often be
	used to increase the limit.

	2. Increased the following "optimum" buffer sizes:

	    BF_OPTBUFSIZE	32768	->  65536  (binary files)
	    SF_OPTBUFSIZE	32768	->  65536
	    KS_OPTBUFSIZE	 4096	->  65536  (iraf networking)
	    PR_OPTBUFSIZE	 4096	->  65536  (interprocess comm.)
	    ND_OPTBUFSIZE	 4096	->  65536  (network driver)

	3. Removed the maximum buffer size limits for the PR and ND
	devices.  These were formerly set to 4096.  4K used to be the
	system buffer size for devices like pipes, however that was a
	long time ago and I don't know if it is still the case.  Probably
	not, and it doesn't matter anyway so long as a pipe doesn't
	circle back on itself.  This probably won't affect performance
	much, but it could, especially for ND connections which can carry
	a lot of traffic.

	The KS limit was already set to 0.  Since the KI and binary device
	limits are already 0, this means that large transfers can be used on
	IRAF networking connections, e.g., for image access.  Large transfers
	(100K or larger) are needed to achieve the high bandwidth provided
	by modern Fast Ethernet or Gigabit Ethernet network interfaces.
	We should do some tests at some point to see if we can get high
	performance for remote kernel server image access using fast
	networking and the new version of IRAF.  Potentially, accessing
	images in this way could be as fast or faster than accessing them
	on a local hard disk.  (12/04)

lib/imio.h
lib/imset.h
sys/imio/immapz.x
sys/imio/imsetbuf.x
sys/imio/imseti.x
sys/imio/imstati.x
	The following changes were made to enable IMIO to use larger
	buffer sizes to optimize i/o for large images.

	The default file buffer size set by IMIO is unchanged: it is still
	about 512 MB, the value set for V2.11.2.  However, a new parameter
	IM_BUFFRAC was added.  Both IM_BUFSIZE and IM_BUFFRAC are used to
	help determine the FIO buffer size set when an image is opened.
	The logic for this is implemented in imsetbuf.x.

	Backwards compatibility.  If you do nothing about IMIO/FIO buffers
	in your program, the system may transparently use a larger buffer
	for larger images.  If you set BUFSIZE in your program, the system
	will by default use the value you give, or possibly a larger value,
	if the image you are accessing is very large.  If you set BUFSIZE
	and you want to guarantee that the value you set is used (even
	for very large images) then you should also set BUFFRAC=0 to ensure
	that only BUFSIZE is used.

	How it works.  BUFFRAC specifies the default FIO buffer size used to
	access an image, expressed as a percentage of the size of the
	image.  For example, the builtin default value of BUFFRAC=10 will
	try to make a FIO buffer 10% of the size of the image.  The actual
	value used will be given by BUFFRAC, but will be at least BUFSIZE,
	and no more than a builtin default maximum value, currently 32 MB.
	Given the builtin defaults, the buffer size will range from 0.5 to
	32 MB depending upon the size of the image being accessed.  As noted
	above, BUFSIZE and BUFFRAC can be set to force the buffer size to a
	specific value if desired.

	Environment variables for both parameters are provided.  The names
	are "IMIO_BUFSIZE" and "IMIO_BUFFRAC".  If specified, these override
	(at image open time) the builtin default values for both
	parameters.  An IMSET call by the application will override all such
	defaults.

	The FIO buffer allocated will not be larger than the size of the
	image.  The FIO buffer will also not exceed the maximum size set by
	the file driver being accessed.  For example, for PLIO images the
	file buffer will not exceed about 2KB, even for a very large mask.
	This is because the "pixel file" for a PLIO image is dev$null, the
	driver for which specifies a maximum i/o buffer size of 2K (the real
	file to load or save the mask will use a different descriptor).

	The intent here is to provide an adaptive mechanism for setting the
	FIO buffer size used to access an image, which automatically adapts
	to the size of the image being accessed.  If you access a lot of
	small images you will get smaller buffers - everything will be as
	before.  If you access very large images, you may get large buffers
	up to the builtin maximum value of (currently) 32 MB.

	Using large buffers could cause a machine to run out of memory.
	However, it is likely that if someone is working on 300 MB images
	that they are using a machine which has a memory at least that
	large - probably larger.  If there are problems, the environment
	variable overrides can be used to tune IMIO.

	The reason for large file buffers is to limit the number of disk
	data transfers, and hence the number of disk seeks.  Using buffers
	larger than a certain amount (32 MB is generous) is probably
	counterproductive.  If the i/o system provides 20 MB/sec i/o
	transfers, 32 MB will take 1.6 seconds.  This should be more than a
	large enough granularity to provide efficient i/o, hence is a
	reasonable limit (at this point paging effects are likely to
	dominate).  (12/04)

unix/boot/spp/xc.c
unix/boot/spp/xc.c [pcix]
	The findexe() routine can modify the PATH variable in the program
	environment to add IRAF HSI directories to the path (so that
	stuff like f2c.e can be found).  The buffer used to compute a new
	PATH environment variable was dimensioned SZ_PATHNAME, which is
	too small for PATH since it may contain many directory pathnames.
	Changed the buffer dimension used here to 8192.  (12/04)

sys/plio/plgsize.x
sys/plio/plstati.x
sys/plio/plloadim.x
	Changed the code which computes the mask depth from PL_MAXVAL so
	that it will return a value of zero for a newly created but
	unitialized mask (naxes, axlen, and depth will hence all be zero
	for a newly created mask).  (12/04)

sys/vops/awvg.gx
	Changed the way the computation was done so that the value MEAN is
	not forced to float when working on float data.  It is replaced by
	the expression (sum/ngpix) so that the computation of SIGMA is all
	done in double precision internally.  (12/04)

sys/imio/imopsf.x
sys/imio/iki/fxf/fxfopen.x
	Both of these routines had code such as "IM_PFD(im) = open (...)".
	If the OPEN call should take an error exit, IM_PFD could get set
	to a garbage value.  The code was changed to break the assignment
	into two statements so that IM_PFD is not set if the file open
	fails.  (12/04)

sys/vops/alork.gx		+
sys/vops/alor.gx		+
sys/vops/alank.gx		+
sys/vops/alan.gx		+
sys/vops/vops.syn
sys/vops/vops.men
sys/vops/vops.calls
sys/vops/mkpkg
sys/vops/lz/mkpkg
	Added new vector operators alan, alank (logical AND) and alor, alork
	(logical OR).  These take any integer data as input (short, int,
	long) and return a logical (expressed as int) result.  (12/05)

sys/fmtio/evvexpr.gy
	The code for the logical AND and OR operations was modified to use
	the new VOPS alan/alor routines.  The old code was based on the
	bitwise boolean operators: it would work if the input data had only
	logical values (zero or one), but not if the input data was any
	arithmetic integer value.  The new routines will treat all input
	integer data values as either zero (false) or non-zero (true).
	Finally if a logical operation is performed the result image will
	be type int rather than short as before.  This is just to be
	consistent in the treatment of TY_BOOL as int.  The old code was
	trying to save space by storing the 1-bit logical result in a
	short image.  (12/05)

sys/vops/awvg.gx
	The usage of INDEF to set mean/sigma was incorrect.  The generic
	code would use the INDEF appropriate for the target datatype, but
	the datatypes of the internal variables mean/sigma were being
	explicitly set.  Changed the INDEF usage to explicitly match the
	INDEF type to the datatype of the mean/sigma variables.  (12/05)

sys/imio/iki/ikiextn.x
	Removed the call to strlwr() made when processing filename extensions
	in IMEXTN, e.g., imextn = "oif:imh fxf:fits,fit,FITS plf:pl" should
	now do what one would expect.  (12/05)

pkg/proto/proto.cl
pkg/proto/proto.men
pkg/proto/proto.hd
pkg/proto/x_proto.x
pkg/proto/mskexpr.par
pkg/proto/mskregions.par
pkg/proto/doc/mskexpr.hlp
pkg/proto/doc/mskregions.hlp
pkg/proto/maskexpr/t_mskexpr.x
pkg/proto/maskexpr/memkmask.x
pkg/proto/maskexpr/t_mskregions.x
pkg/proto/maskexpr/mesetreg.x
pkg/proto/maskexpr/mesetexpr.x
pkg/proto/maskexpr/meregmask.x
pkg/proto/maskexpr/peregfuncs.x
pkg/proto/maskexpr/megeom.x
pkg/proto/maskexpr/meregfuncs.x
pkg/proto/maskexpr/mskexpand.x
pkg/proto/maskexpr/gettok.x
pkg/proto/maskexpr/gettok.h
        Installed the mskexpr and mskregions tasks in the proto package.
        (12/06/01, Davis)

pkg/images/imcoords/src/t_wcsctran.x
pkg/images/imcoords/src/rgstr.gx
pkg/images/imcoords/src/rgstr.x
	Fixed a string_file error in the wcsctran task which may occur
	if the input image is dimensionally reduced. The bug is due to
	an uninitialized array error. The bug does not occur if by
	chance the array values are 0. (12/06/01, Davis)

sys/imio/imsetbuf.x
	Changed the way the buffer size is calculated slightly to avoid
	overflowing a 32 bit integer when calculating the buffer size as
	a fraction of a very large (e.g. 1 GB) image.  (12/10)

sys/imio/immapz.x
	Tweaked the handling of "IMIO_BUFSIZE" so that the value can be
	input in bytes, rather than the SPP char units used internally
	for the buffer size calculations.  MB would be more convenient
	for the user but would prevent the use of "small" buffers (e.g.
	the default buffer size is "small" - 0.5MB).  (12/10)

pkg/images/imutil/src/t_imstat.x
        Added a call setting IM_BUFFRAC to 0 to the memory caching code in
	the imstatistics task in order to force the imio buffer to be the
	size of the input image.
	(12/10/01, Davis)

pkg/proto/masks/mstcache.x
pkg/proto/masks/rsscache.x
        Added a call setting IM_BUFFRAC to 0 to the memory caching code in
	the mimstatistics and rskysub tasks in order to force the imio buffer
	to be the size of the input image.
	(12/10/01, Davis)

lib/imio.h
lib/imset.h
sys/imio/imsetbuf.x
sys/imio/imstati.x
sys/imio/imseti.x
sys/imio/immapz.x
	Added another IMIO parameter BUFMAX for tuning buffer size
	allocation.  This allows the builtin value of the maximum FIO buffer
	size (DEF_MAXFIOBUFSIZE, currently set to about 32 MB) to be easily
	overridden at the application or environment level, like BUFSIZE and
	BUFFRAC.

	If you set BUFFRAC=0 then BUFSIZE alone determines the FIO buffer
	size (subject to storage device limits if any).  BUFMAX is not a
	"hard" limit, it is just a parameter used in the BUFFRAC heuristic
	to automatically tune the buffer size.  If BUFFRAC is allowed to
	automatically tune the buffer size for the image to be accessed
	(the default), then BUFMAX specifies the largest buffer which IMIO
	will create.  (12/10)

sys/imio/iki/fxf/mkpkg
sys/imio/iki/fxf/fxf.h
sys/imio/iki/fxf/fxfaccess.x
sys/imio/iki/fxf/fxfctype.x
sys/imio/iki/fxf/fxfdelete.x
sys/imio/iki/fxf/fxfencode.x
sys/imio/iki/fxf/fxfksection.x
sys/imio/iki/fxf/fxfopen.x
sys/imio/iki/fxf/fxfopix.x
sys/imio/iki/fxf/fxfplread.x	+
sys/imio/iki/fxf/fxfplwrite.x	+
sys/imio/iki/fxf/fxfrfits.x
sys/imio/iki/fxf/fxfupdhdr.x
sys/imio/iki/fxf/zfiofxf.x
	The FITS kernel was modified to add support for storing images in
	extensions as compressed pixel masks.  The mask is stored as a
	binary table using the "ZIMAGE" (compressed image) convention
	proposed by White, Greenfield, Pence, and Tody in 1999:

	    http://heasarc.gsfc.nasa.gov
	    /docs/software/fitsio/compression/compress_image.html

	In the current implementation only the "PLIO_1" compression
	algorithm is implemented.  Mask extensions may be read or written
	directly by the kernel.  When writing a new extension it will be
	appended to the MEF file.  To append an image to a MEF file as
	a mask, include "type=mask" in the image kernel section when the
	output image is opened.

	Masks are interfaced to the system as images and may be read and
	written like any other image via IMIO.  They have a normal image
	header and can be manipulated with any program that deals with
	images.  The pixel type is INT.

	It is also possible to access a mask image as a PLIO mask.  An
	IMSTATI query for IM_PLDES parameter will return the PLIO mask
	descriptor.  While a mask extension is opened under IMIO it is
	represented as a PLIO mask and may be accessed in this form like
	any other mask.

	The mask image is stored in the FITS binary table (BINTABLE)
	extension when the image is closed, and is loaded from the extension
	when the image is opened.  The compression representation used to
	store the mask in the binary table is the same as is used within
	PLIO.  The new (V2.12) encoding is used, allowing very large masks
	to be stored.  Currently masks up to 3D are supported.  Data on
	each 2D mask plane will be compressed in both X and Y as with PLIO.
	The depth of the mask is preserved.

	Although a mask is stored as a binary table the format of the
	table is not completely general.  In the current implementation
	there can be only one column in the table (COMPRESSED_DATA).
	This is an integer-valued variable length array column containing,
	for each line of the N-dimensional image, the PLIO compressed
	version of that image line.  The actual compressed data is stored
	in the heap area of the table.  Multiple image lines may point to
	the same compressed line list, e.g., to store the empty line or to
	provide compression in Y.  
	(12/10 NZ+DT)

sys/imio/iki/fxf/fxfrdhdr.x
	Changes to fix and inconsistancy between the creation and modification
	time of an image. The DATE keyword contains the creation date and time
	and IRAF-TLM the modification date and time.  (12/10 NZ+DT)

sys/imio/iki/fxf/fxfexpandh.x	+
sys/imio/iki/fxf/fxfupdhdr.x
	The update header code was changed so that if a header has to be
	expanded (hence forcing a rewrite of the full file) then all the
	other extension headers will be expanded at the same time to
	include at least "nlines" of blank cards.  (12/10 NZ+DT)

pkg/xtools/catquery/mkpkg
pkg/xtools/gtools/mkpkg
	Added a missing "cq.h" file dependency to the cqsetcat.x declaration.
	Added a missing <gio.h> file dependency to the gtlabax.x declaration.
	(12/13/01 LED)

pkg/proto/masks/mptools.x
	Removed an unnecesary include <error.h> statement from the mptools.x
	file. (12/13/01 LED)

pkg/utilities/mkpkg
        Removed an unnecessary mkpkg <ttyset.h> file dependency from the
	curfit.x declaration.
	(12/13/01 LED)

pkg/images/immatch/src/imcombine/mkpkg
	Added a missing <imhdr.h> file dependency to the timcombine.x
	declaration.  (12/13/01 LED)

sys/imio/imwrite.x
	In some cases (FIO block size less than the length of an image
	line), when appending to an existing image, it could be possible for
	data at the end of the file to be overwritten.  The code which
	extends an imagefile was made more rigorous.  (12/13)

unix/gdev/mkpkg
unix/gdev/iism75/mkpkg
sys/fmio/mkpkg
sys/fmtio/mkpkg
sys/memdbg/mkpkg
pkg/softools/mkpkg
	Added missing mkpkg dependencies to sources.  (12/13)

sys/gio/stdgraph/stgrcur.x
	The int function stg_encode was being called as a subroutine.  (12/13)

sys/gio/cursor/grcinit.x
	Deleted the unused argument 'stream'.  All calls to grc_init
	(there was only one, in rcursor.x) already omit the argument.
	This is an internal function, hence this is not an interface
	change.  (12/13)

sys/gio/gmprintf.x
	Added a missing argument to a sprintf call in this (currently unused)
	routine.  (12/13)

sys/mtio/mtclean.x
	Removed an extra argument from a getline() call.  (12/13)

sys/mwcs/mwsctran.x
	Fixed a problem in mw_sctran that would occur where there is a
	mixture of axes with and without world functions.  When transforming
	between logical and world this would have the effect of transposing
	one of the function axes with one of the non-function axes.  (12/13)

sys/proto/maskexpr/peregfuncs.x
	Removed an extraneous argument that was no longer necessary and was
	being used incorrectly in the pe_polygon function. (12/14/01 LED)

unix/os/zwmsec.c
unix/os/zwmsec.c [pcix]
	This code uses usleep() to implement the millisecond sleep, which
	limits the maximum time delay to just over an hour.  Changed the
	code to use sleep() for delays longer than one hour (with a
	precision of at most 1 second), and usleep() for shorter time
	delays.  (12/15)

sys/imio/iki/fxf/fxfopen.x
sys/imio/iki/fxf/fxfplread.x
sys/imio/iki/fxf/fxfupdhdr.x
	Added support for creating a pixel mask extension in NEW_IMAGE mode.
	(12/15 NZ+DT)

unix/hlib/install
unix/hlib/install.old
unix/hlib/uninstall
unix/hlib/sysinfo
unix/hlib/install [pcix]
unix/hlib/install.old [pcix]
unix/hlib/uninstall [pcix]
unix/hlib/sysinfo [pcix]
	Installed the new version of the install script, and the companion
	uninstall and sysinfo scripts.  The old install script is still
	present as install.old.  The new version of INSTALL is a major new
	version which does a much more through job of checking the integrity
	of the system during an install; it also has some post-install
	capabilities for performing basic system configuration.  The 
	SYSINFO script can be used after an install to verify the integrity
	of a system.  (12/14)

lib/pmset.h
sys/pmio/miostati.x
sys/pmio/mioseti.x
	Added a new parameter P_PMCLOSE to mio_seti and mio_stati.  This
	provides access to the already existing flag used to automatically
	close an associated PMIO mask if the MIO object is closed.  (12/16)

sys/pmio/mkpkg
sys/pmio/pmstati.x
	Added the routine pm_stati to PMIO.  This was in the interface as
	a redefinition of pl_stati, but this was confusing enough to warrant
	a separate routine.  (12/16)

lib/syserr.h
lib/syserrmsg
sys/pmio/pmseti.x
sys/plio/plseti.x
sys/plio/plstati.x
	Added a default: branch to all the PLIO and PMIO set/stat calls to
	call syserr(SYS_PLINVPAR) (invalid mask parameter) if a bad parameter
	code is referenced.  (12/16)

unix/os/zmain.c
unix/os/zmain.c [pcix]
	Modified zmain (the host main for an IRAF task) to call exit() instead
	of _exit().  This is necessary to flush the output streams and to
	call any exit functions posted with atexit().  Most notably this is
	required for profiling (-pg/gprof) to work for an IRAF process.
	The ability of an IRAF task to return a exit status is unaffected.
	(12/16)

sys/imio/db/impstr.x
	This code is used to edit an existing header keyword to replace the
	value string (either a quoted string or a numeric/logical string
	value) with a new value.  It would replace only the text in the
	usual value fields through column 30.  In rare cases where an old
	numeric value extended beyond column 30 this could result in a
	malformed value being generated.  The code was modified to clear the
	old text in this case, up to an optional comment or end of line.
	(12/18 LD+DT)

sys/imfort/imrdhdr.x
	Fixed several instances of the function bfseek() being called as
	a procedure.  (12/19)

sys/imio/iki/fxf/fxfupdhdr.x
sys/imio/iki/fxf/fxfrfits.x
sys/imio/iki/fxf/fxfplwrite.x
sys/imio/iki/fxf/fxfplread.x
sys/imio/iki/fxf/fxfopix.x
sys/imio/iki/fxf/fxfopen.x
sys/imio/iki/fxf/fxf.h
	Fixed several FITS kernel bugs found during alpha testing.  (12/21)

unix/hlib/install
unix/hlib/uninstall
unix/hlib/sysinfo
unix/hlib/install [pcix]
unix/hlib/uninstall [pcix]
unix/hlib/sysinfo [pcix]
	Installed the latest versions of these scripts.  (12/21)

sys/imio/iki/fxf/fxf.h
sys/imio/iki/fxf/fxfopix.x
sys/imio/iki/fxf/fxfopen.x
sys/imio/iki/fxf/fxfplwrite.x
sys/imio/iki/fxf/fxfupdhdr.x
	Fixes for further minor FK bugs found during testing.  (12/26)

sys/ki/kfiosf.x
	Changed the kopnsf routine to use a "server" variable like the
	other KI file device drivers.  This does not change the function
	of the routine.  (12/28)

unix/hlib/cl.csh
unix/hlib/cl.csh [pcix]
	Modified the CL startup script to check that, if $iraf is defined,
	it is valid (or at least, whatever directory or link it points to
	exists).  If $iraf is defined but is invalid a warning is printed
	and $iraf will be set to the default value of /iraf/iraf/ for the
	current session.  (12/28)

unix/os/zfiond.c
unix/os/zfiond.c [pcix]
sys/fio/ndopen.x
	The ND driver was modified to provide better support for writing
	network servers.  A new open modifier "nonblock" was added.  If this
	is used when opening a server connection to a port then the
	connection will open a server socket on the indicated port and
	return immediately, without waiting for a client connection.  Later,
	when a client tries to connect to the server, the server can open
	the port with a special pseudo-filename syntax to accept the client
	connection and set it up on a new socket.  This allows a server to
	listen for client connections and open each on a separate socket.
	Multiple client connections may simultaneously be open (we still
	need to add a "select" type function to allow IRAF network servers
	to be written which can service multiple simultaneous clients).

	For example, to open a server socket on port 5697 on the localhost
	to be used for client connections:

		server = ndopen ("inet:5697::nonblock", NEW_FILE)

	A client would subsequently connect to server port 5697 to get a i/o
	connection to the server.  To accept the client connection on port
	5697 and open an i/o stream to the client on a new file descriptor:
		
		fd = ndopen ("sock:<server>", NEW_FILE)

	where <server> is the ascii representation of the server file
	descriptor returned in the first ndopen.  Note this second ndopen
	_will_ block if a client connection is not pending; usually some
	external means will be used to avoid opening the client connection
	until a client has made a connection attempt.  Once the NDOPEN
	returns, a second file descriptor can be opened with REOPEN to get
	separate buffered streams for reading and writing to the client.
	Note that if we repeat the second NDOPEN for additional client
	connections, each call will return a new file descriptor (the
	private connection to the new client), although the "file name"
	"sock:<server>" will be the same in each call.  (01/01/2002)

unix/os/zfiobf.c
unix/os/zfiobf.c [pcix]
unix/hlib/libc/kernel.h
unix/hlib/libc/kernel.h [pcix]
	The binary file driver was modified to add VMcache client support.
	This adds two new capabilities to the driver: 1) built-in support
	for direct i/o (on systems that support it), and 2) a client 
	interface to the VMcache daemon to permit the daemon to optimally
	manage binary file i/o if a VMcache daemon is present.

	Direct i/o is file i/o which transfers data directly between the
	disk and process memory, bypassing system virtual memory.  For small
	files or usage patterns which do not involve heavy i/o, direct i/o
	will usually provide lower performance than allowing the system to
	buffer data in virtual memory.  For large files or usage pattern
	which involve very heavy i/o, however, use of direct i/o can prevent
	paging and will avoid cluttering up system virtual memory with data
	that will be only accessed once.  A limitation of direct i/o is
	it is only possible when i/o transfers are block aligned and are
	an integral number of device blocks in size - this means that
	direct i/o cannot be used with the current version of the FITS
	kernel, which currently uses a host device block size of 2880.
	Direct i/o is currently only available on Solaris systems (versions
	2.6/5.6 or greater - 5.5.1 is not supported).

	Use of the VMcache daemon allows the daemon to control how file data
	is cached in virtual memory.  This makes it possible to optimize
	file access to avoid excessive paging (by freeing space used by low
	priority files when new VM cache space is needed), and makes it
	possible to cache images in memory for very fast access even by
	separate processes (even including non-IRAF programs in many
	cases).  The VMcache daemon can manage direct i/o on the behalf of
	clients, telling the client whether to use normal (VM buffered) i/o
	or direct i/o.  VMcache can also pre-fetch files so that they are
	memory resident by the time the application references them.

	The VMcache daemon is a separate system-level program outside of
	IRAF.  This is necessary to provide a central system-wide cache
	controller.  It also provides flexibility, allowing multiple
	versions of the daemon to exist, e.g., to allow experimentation with
	different types of caching algorithms.  It also allows easy
	customization of the daemon independently of the IRAF applications
	using the VMcache client interface.

	The VMcache client interface was added to the BF driver (rather
	than SF) because VMcache is a general low-level file i/o facility,
	useful for all file i/o.  FMIO files for example (used for QPOE
	images) are large binary files but FMIO uses BF and not SF.

	For the moment the VMcache client interface has been added to
	zfiobf.c since this is the only system component which uses it.
	We may move it out to a separate file later.  Two environment
	variables have been provided for customizing the behavior of the
	client interface:

	VMPORT		The tcp/ip socket to be used.  The built-in default
			is 8677.  Both IRAF and vmcached will respond to
			this environment variable if defined.

	VMCLIENT        Initialization of the VMCLIENT interface.  The
			string value should be a comma-delimited list of
			keywords or keyword=value terms.  For example,
			VMCLIENT="disable" or VMCLIENT="debug,threshold=8m".

	The keywords currently recognized by VMCLIENT are the following:

	enable		Enable use of the VMcache daemon, if any.  Used 
			without the "=value".

	disable		Disable use of the VMcache daemon.  Used without
			the "=value".

	debug		Set the debug level.  Can be used as either "debug"
			or "debug=value".   Higher values generate more
			detailed debugging messages.

	threshold       The file size threshold for use of the VMcache
			daemon.  Even if use of VMcache is enabled, the
			daemon will be used only if the size of the file
			being accessed equals or exceed the specified file
			size threshold.  Smaller files are handled using
			normal i/o and do not result in any communication
			with the daemon.  Values may be specified in bytes
			or in kilobytes (k or K suffix) or megabytes (m or M
			suffix).

	directio        Use of this keyword enables directio and disables
			VMcache.  The value specifies the file size
			threshold for use of direct i/o to access a file.
			Files smaller than this value use normal (VM
			buffered) i/o.  If directio is specified for a
			client then use of VMcache is disabled, and no
			communication with the daemon will occur.  Values
			may be specified in bytes or in kilobytes (k or K
			suffix) or megabytes (m or M suffix).

	The builtin defaults are VMCLIENT="enable,threshold=8m".

	Normally there will be no VMcache daemon running on a system.  If
	the VMcache client is enabled a connection attempt will be made each
	time a file larger than the threshold is accessed.  This is harmless
	if no daemon is present, and does not measurably affect execution
	time.  If a daemon is started after a process is already running,
	the process will detect the daemon automatically in the next
	connection attempt.  If a process is connected to a daemon and the
	daemon dies or is killed, the process will silently detect this and
	close the connection to the server.  If the daemon is subsequently
	restarted the client will reconnect.  (01/01)

unix/boot/vmcached/README +
unix/boot/vmcached/notes +
unix/boot/vmcached/vmcache.c +
unix/boot/vmcached/vmcache.h +
unix/boot/vmcached/vmcached.c +
unix/boot/vmcached/README [pcix] +
unix/boot/vmcached/notes [pcix] +
unix/boot/vmcached/vmcache.c [pcix] +
unix/boot/vmcached/vmcache.h [pcix] +
unix/boot/vmcached/vmcached.c [pcix] +
	The source for the developmental version of the VMcache library and
	the VMcache daemon (vmcached) have been installed in BOOT.  There
	are no build files as this version is still under development.
	The code is complete but only enough debug/test was done to support
	development of the VMcache client interface for IRAF (the vmcached
	code is debugged but the new version of the vmcache library code has
	not been tested).  Since the daemon can be worked with outside
	the normal IRAF release we do not have to fully develop it for the
	release.

	It should be stressed that VMcache is only useful or warranted for
	systems that are very data intensive.  The standard host operating
	system file access heuristics are best for "normal" processing where
	either the system is not really busy, or the datafiles are not
	excessively large.  On systems with very large physical memories
	where massive amounts of data are being processed, VMcache can make
	a significant difference in overall system performance.

	VMcache is too complex to document here.  Without going into the
	details, its function is to manage a cache of files in system
	virtual memory.  Files can be explicitly cached or uncached, or they
	can be "accessed", and VMcache will decide whether or not to cache
	the file in virtual memory.  This is what the VMcache client
	interface does: every time it accesses (opens or extends) a file
	larger then the VM threshold it sends an "access" directive to the
	VMcache daemon.  The daemon sends back a response of 0 (file not
	cached; use direct i/o to access the file), or 1 (file cached in VM;
	use normal VM-buffered i/o to access the file).  Even if a file is
	not cached the daemon keeps track of all accesses.  Files which are
	frequently accessed will have a higher prority and are more likely
	to be cached in memory.

	IRAF uses only the access directive to interact with VMcache since
	a general IRAF task cannot know how it is being used.  Higher level
	clients may more explicitly control the cache: for example, the
	Mosaic DHS will explicitly cache new images as they are read out,
	and will cause other file accesses to be given a lower priority.
	Any client code can connect to the VMcache daemon.  For example we
	could add a unix-level task to be called from scripts for explicit
	cache control, or a GUI to dynamically display the operation of
	the cache and the utilization of system memory.

	The builtin-default cache algorithm implemented in the new version
	of VMcache uses the following heuristics to determine whether a file
	is cached:

	Factors determining if a file is cached:

	    user-assigned priority (0=nocache; 1-N=cache priority)
	    number of references
	    time since last access (degrades nref)
	    amount of available memory (cutoff point)

	Cache priority

	    priority = userpri * max(0,
		(nref-refbase - ((time - last_access) / tock)) )

	Tunable parameters

	    userpri         User defined file priority.  Files with a higher
			    priority stay in the cache longer.  A zero
			    priority prevents a file from being cached.

	    refbase         The number of file references has to exceed
			    refbase before the file will be cached.  For
			    example, if refbase=0 the file will be cacheable
			    on the first reference.  If refbase=1 a file
			    will only become cacheable if accessed two or
			    more times.  Refbase can be used to exclude
			    files from the cache that are only referenced
			    once and hence are not worth caching.

	    tock            While the number of accesses increases the cache
			    priority of a file, the time interval since the
			    last access likewise decreases the cache
			    priority of the file.  A time interval of "tock"
			    seconds will cancel out one file reference.  In
			    effect, tock=N means that a file reference
			    increases the cache priority of a file for N
			    seconds.  A frequently referenced file will be
			    relatively unaffected by tock, but tock will
			    cause infrequently referenced files to age out
			    of the cache within a few tocks.

	For example, the cache could be configured to not cache a file the
	first time it is accessed, causing direct i/o to be used for a file
	which is only accessed once.  The second time a file is accessed
	it would be cached in memory.  Files which are frequently accessed
	would accumulate a high nref value and would stay in memory longer
	than files which are only accessed once or twice.  Files which are
	explicitly given a high priority (userpri) would stick around even
	longer (or could be prevented from ever being cached).  Files which
	have not been accessed for a long time will age out of the cache
	unless they are given a very high priority.

	VMcache is not IRAF-specific.  It is a stand-alone facility which
	is well integrated with IRAF.  IRAF is one possible client.  (01/01)

unix/os/mkpkg
unix/os/mkpkg.sh
unix/os/dio.c	+
unix/boot/spp/xc.c
unix/hlib/irafuser.csh
unix/shlib/mkshlib.ssol-sc34
	Use of direct i/o for Solaris proved more difficult than expected
	as the system routine required to control this feature (called
	"directio") is only available in Solaris 5.6 and later.  A 5.5.1
	system will fail to link if directio is used.  To get around this
	I had to add a compatibility library libcompat.a in HBIN.  This
	is linked after libc.a and can be used to provide versions of 
	any system routines not present in libc.a.  If libc.a does contain
	the routine then this is the version used.  (01/01)

unix/hlib/cl.csh
	The logical expression to check for the definition of a $iraf and
	it's validity was broken up into separate statements.  On some
	systems the full expression was being evaluated even if the first
	test failed, leading to an 'undefined variable' message when checking
	the path validity if it wasn't already defined.  (01/02, MJF)

sys/imoi/iki/fxf/fxfdelete.x
	Adding a missing access mode argument to the call to fxf_access.
	(01/02)

lib/syserr.h
lib/syserrmsg
sys/imoi/iki/fxf/fxfplread.x
	The miiread routines, which are integer functions, were being called
	as procedures.  Modified the code to use the return value to check
	for a read error.  Added call to syserrs and added a new FXF error
	message to syserr for a read error on a mask extension.  (01/02)

sys/imio/impmmap.x
sys/imio/impmopen.x
	These routines, used to map a pixel mask onto an image descriptor,
	were modified to support mapping a mask stored as an image (e.g.,
	a mask extension in a FITS MEF file).  im_pmmap was also modified
	to fix a bug that would occur when the BOOLEAN_MASK and INVERT_MASK
	flags were both set.  (01/03)

sys/plio/plsaveim.x
sys/plio/plloadim.x
	These routines were modified to use PLIO to copy the image section
	when saving a mask to an image or loading a mask from an image, and
	the image is using a mask internally (e.g., a mask extension in a
	FITS MEF file).  (01/03)

pkg/xtools/catquery/cqquery.x
	Fixed a couple of typos in the code which detects the end of the
	http header. (01/03 LED)

unix/os/zfdele.c
unix/os/zfiobf.c
unix/boot/vmcached/vmcached.c
unix/os/zfdele.c [pcix]
unix/os/zfiobf.c [pcix]
unix/boot/vmcached/vmcached.c [pcix]
	Added code to the VMcache client interface for a vm_delete method.
	Modified zfdele (the delete file primitive) to call this function.
	The purpose is to notify the VMcache daemon when a file is deleted
	so that it can free the associated VM memory used and cache info,
	if the file is cached.  The usual VM client heuristics apply here,
	e.g., nothing is done unless VMcache is enabled and the file size
	exceeds the threshold.  Also tested the VMcache code on Solaris
	(it was tested on FreeBSD earlier) and made some more tweaks.  (01/03)

pkg/images/imutil/src/t_minmax.x
	Removed extra aguments from the calls to clpstr. (01/07 LED)

pkg/xtools/rngranges.x
	Added missing rstr argument to 2 rng_error calls. (01/07/ LED)

sys/ki/irafks.x
	Fixed a couple of typos in the server-side code for ZOPDPR.  (01/07)

sys/tty/zzdebug.x
sys/plio/zzdebug.x
sys/pmio/zzinterp.x
sys/qpoe/zzdebug.x
math/interp/bench.x
	Minor fixes to make spplint happy.  (01/07)

lib/syserrmsg
sys/imio/iki/fxf/fxfksection.x
	Changed the system error SYS_FXFKSINVAL to read:
	    FXF: invalid value for kernel section parameter (<param>)
	Also fixed a bug in the TYPE case of the kernel section parsing
	code; it was identifying the parameter name in the error message
	as "mask" when it should have been "type" (as in type=mask).  (01/07)

sys/imio/iki/fxf/fxfrfits.x
	The computed calendar day was of off by one day.  (01/07 NZ+DT)

sys/imio/iki/fxf/fxfupdhdr.x
sys/imio/iki/fxf/fxfplwrite.x
sys/imio/iki/fxf/fxfopen.x
	Fixes installed for problems involving copying an image section.
	Also fixed another case of mask code that was limited to 2 dimensions.
	(01/07 NZ+DT)

unix/shlib/S.ver.sparc
	Incremented the shared image version number to 8 (S8.e).  (01/07)

unix/shlib/S.ver.ssun
	Incremented the shared image version number to 12 (S12_5.5.e,
	S12_5.6.e, etc.).  Installed the released (V2.11.3) versions of
	the older shared images (S7.e in sparc, S11_5[567].e).  (01/07)

sys/imio/iki/fxf/fxfplwrite.x
sys/imio/iki/fxf/fxfopen.x
	Fixed a bug affecting copying a section of a mask to a section of
	a mask in a FITS extension.  (01/08)

unix/boot/mkpkg/tok.c
unix/boot/mkpkg/tok.c [pcix]
	The MKPKG special file list facility was extended to add support
	for custom platform-dependent linking of executables.  In the
	$special directive if the target is a ".e" file the "make object"
	command string will be used to link the executable, instead of
	whatever command is given in the mkpkg file in the source directory.
	Special link directives are only recognized for files linked with
	the $link directive in a mkpkg file.  (01/09)

unix/hlib/libc/kernel.h
	Increased SZ_DEFWORKSET from 8m to 64m.  SZ_MAXWORKSET will be
	determined automatically on many recent systems so I did not change
	the current default value, which is 256m.  (01/10)

unix/os/zawset.c
	This routine (used by BEGMEM to try to get the maximum amount of
	physical memory available on a particular computer) was modified to
	automatically detect the physical size of system memory.  The 
	technique used should work on most recent POSIX systems, including
	Solaris and Linux.  The maximum amout of memory that ZAWSET will
	return is limited to 2GB even on machines with a larger physical
	memory.  (01/10)

sys/imio/iki/fxf/fxfupdhdr.x
sys/imio/iki/fxf/fxfplwrite.x
sys/imio/iki/fxf/fxfopen.x
	Installed a bug fix for the case of copying a section of an existing
	mask to a mask extension where the dimensionality of the mask is
	reduced.  (01/11)

unix/os/zawset.c
unix/os/zawset.c [pcix]
	Made some more enhancements to this routine and tested it.  To aid
	testing, the routine now recognizes the environment variable
	ZAWSET_DEBUG: if this variable is defined, debug messages will be
	printed when zawset is called to indicate the total system memory
	argument values, and other memory-related parameters.  If the total
	system physical memory can be determined the routine will
	automatically reserve some fraction of the space for the system
	to minimize swapping.  (01/11)

unix/hlib/mkpkg.sf.SSUN
	Added a special file entry to link x_images.e nonshared (-z) for
	Solaris.  We probably don't need to do this for the SunOS version,
	as any computers still running SunOS are older systems unlikely to
	require more than 268 MB per process, and the shared version will
	be smaller, use less memory and start up a little faster.  (01/12)

unix/boot/mkpkg/tok.c
unix/boot/mkpkg/tok.c [pcix]
unix/hlib/mkpkg.sf.SSUN
	The special file list link support was further enhanced to allow
	replacing LFLAGS (the link flags variable) as well as the entire
	link line.  Replacing LFLAGS is much easier than replacing the 
	entire link line in cases where all we want to do is change a
	link flag (like adding -z to link nonshared), and it avoids 
	needless duplication of package information in the special file
	entry.  The SSUN mkpkg special file list of updated to use this
	new syntax.  (01/15)

unix/os/zawset.c [pcix]
	Installed the new version of ZAWSET on PC/IRAF.  (01/15)

sys/imio/imsetbuf.x
sys/imio/iki/fxf/zfiofxf.x
	1. Modified the FITS image kernel to respect (pass-through) the
	device block size of the low level file driver.  This is usually
	a device sector (512 bytes), the physical storage unit of the
	low level storage device.  Formerly the FK was setting a pseudo
	block size of 2880 bytes, however blocking and deblocking should
	be done at the FIO level; if we try to do this in an IRAF file
	driver then the host system is required to do blocking/deblocking.
	Using transfers which are physically aligned at the hardware level
	makes certain optimizations possible, such as direct i/o.

	2. The imsetbuf routine in IMIO was modified to be a little smarter
	in aligning the first file buffer for a pixel file.  Formerly it
	would only set the offset of the first file buffer if image lines
	were aligned to device blocks.  This is overly restrictive, and
	doesn't work for FITS files.  The code was changed to always set the
	first file buffer offset for a pixel file, setting it to the offset
	of the device block _containing_ the first image line.  If the first
	image line is not block aligned the FIO buf size is made larger by
	the amount of the intra-block offset to ensure that it is big enough
	to contain the computed number of image lines for which the buffer
	was sized.  (The point of all this is to minimize the number of file
	reads or writes and the total i/o needed to span an image).  (01/16)

unix/os/zfiobf.c
unix/os/zfiobf.c [pcix.x]
	Added another debug level 2 message to the directio directive, to
	print debug messages whenever directio is turned on or off for a
	file.  Directio was tested for FITS files on Solaris and it appears
	to be working now.  (01/16)

unix/hlib/cl.csh
unix/hlib/cl.csh [pcix]
	Changed the "setenv d_iraf" to "set d_iraf =" since d_iraf is an
	internal variable within the script and doesn't need to be exported
	to the global environment.  (01/19)

unix/hlib/buglog.csh
unix/hlib/zzsetenv.def
unix/hlib/buglog.csh [pcix]
unix/hlib/zzsetenv.def [pcix]
	Changed a couple of ID strings to read V2.12BETA.  (01/19)

unix/os/dio.c + [pcix]
unix/hlib/zzsetenv.def [pcix]
unix/hlib/libc/kernel.h [pcix]
unix/hlib/libc/iraf.h [pcix]
unix/hlib/cl.csh [pcix]
unix/gdev/mkpkg [pcix]
unix/gdev/iism75/mkpkg [pcix]
unix/boot/bootlib/envinit.c [pcix]
	A diff/merge of the Sun/IRAF and PC-IRAF HSI was performed and the
	following files were updated to merge in various changes from the
	V2.12 Sun/IRAF revisions.  (01/19)

sys/mkpkg
lib/libmain.o -
	The libmain entry in the system mkpkg was modified to check file
	dates against bin$libmain.o instead of lib$libmain.o.  It builds
	directly into bin anyway so there is no need for the link entry
	in lib.  (01/19)

../irafbin/bin.redhat-5.2 [pcix]
../irafbin/noao.bin.redhat-5.2 [pcix]
unix/bin.redhat-5.2 [pcix]
	Deleted the RedHat 5.2 binaries.  IRAF V2.12 no longer supports 
	RedHat 5.2.  (01/19)

cl/cl.par
images/images.cl
unix/hlib/login.cl
unix/hlib/login.cl [pcix]
	Update cl.version (cl.par) and cl.logver (hlib/login.cl, images.cl)
	to "IRAF V2.12 December 2001".  hlib$login.cl was updated slightly
	as well, adding entries for imextn and pspage, and some more unix-
	oriented foreign tasks.  Updating cl.version would normally force
	the user to update login.cl.  This is often not required for a new
	release (as is the case this time) so I added a new cl.par parameter
	cl.logregen which, if set to "yes" causes a message to be printed
	whenever an IRAF session is started with an out of date login.cl.
	With this change we can update cl.version and cl.logver in each
	IRAF release and still control separately whether a new mkiraf
	is required.  (01/21)

unix/os/zfiotx.c [pcix]
	Modified the terminal driver code to use sigaction instead of signal
	for signal handling on Linux systems.  Use of signal was causing
	a problem where ctrl/c would fail after using epar/ehist (raw terminal
	i/o) on a Linux system.  (01/21)

dev/vdm.gki [pcix]
	Replaced with an equivalent but byte-swapped version of the file
	which is compatible with the PC architecture.  (01/22)

local/.xinitrc - [pcix]
local/.login [pcix]
	Deleted the .xinitrc - there are two many optional desktop
	configurations available for PC systems these days to make it 
	worthwhile trying to retain this.  Updated the "win" and "win8"
	aliases for compatiblity with recent versions of XFree86.  (01/22)

pkg/images/imutil/src/gettok.x
	IMEXPR was incorrectly parsing numbers with exponents like "5.8503E-6".
	(01/23)

pkg/proto/maskexpr/gettok.x
	MSKEXPR was incorrectly parsing numbers with exponents like "5.8503E-6"
	(see above). At present it uses a private copy of images macro
	expansion library.  This library should probably be made a system or
	xtools library at some point.  (01/23 LED)

----------------------------------------
Cut V2.12 BETA release.  (01/25/2002)

unix/hlib/extern.pkg
	Changed definition of NSO package to use /shared/iraf/extern.  The
	previous version pointed to a non-existant directory and broke the
	package when the system was updated to the servers.  (1/29/02, MJF)

pkg/images/immatch/src/imcombine/src/xtimmap.gx
pkg/images/immatch/src/imcombine/src/icomb.gx
pkg/images/immatch/src/imcombine/src/icgdata.gx
	The code to close unused images when they are not needed had an error
	when there were y offsets.  Rather than closing each image when it not
	longer contributed to an output line due to an offset, it was instead
	closing all images on every line and then mapping them again.
	(1/29/02, Valdes)

pkg/images/immatch/src/imcombine/src/icombine.x
pkg/images/immatch/src/imcombine/src/icomb.gx
pkg/images/immatch/src/imcombine/src/xtimmap.gx
pkg/images/immatch/src/imcombine/src/icombine.h
	The buffer size management calculation based on the number of input
	images was no longer working because unless IM_BUFFRAC is explicitly
	set to 0, the requested buffer size is just a lower limit.  The buffer
	size calculation was modified and calls to set IM_BUFFRAC to zero were
	added.  (1/30/02, Valdes)

unix/hlib/extern.pkg
	Added definitions for the GRASP and GRASPO packages needed by 
	GONG.  Also added NSO to helpd string.  (1/31/02, MJF)

pkg/images/immactch/doc/ccmap.hlp
	Fixed a type in the ccmap help page package definition.
	(02/01/02 LED)

dev/hosts
	Added solaris machine gongxx (2/1/02, MJF)

unix/boot/spp/xc.c
	Modified for Solaris systems to link the socket libraries dynamic
	(at the Solaris level) when linking the IRAF executable nonshared
	(at the IRAF level).  This is necessary as the socket libraries
	are incompatible in different versions of Solaris.  (02/02)

sys/imio/iki/fxf/fxfrfits.x
	Modified to correctly handle the case where an embedded BINTABLE
	extension is something other than a PLIO_1 pixel mask.  (02/02)

sys/imio/iki/fxf/mkpkg
sys/imio/iki/fxf/fxfplwrite.x
	Removed the unused <plio.h> reference from fxfplwrite.x, and added
	<imhdr.h> and <pmset.h> to the mkpkg file entry as dependencies.
	(02/02)

sys/plio/mkpkg
	Added <imset.h> as include dependencies to the mkpkg file entries
	for plloadim.x and plsaveim.x.  (02/02)

unix/hlib/cl.csh [pcix]
	Fixed a couple of obscure variable referencing errors.  (02/02)

----------------------------------------
Updated V2.12 BETA release; public BETA release.  (02/02/2002)


pkg/images/tv/display/sigm2.x
	The routine to compute the maximum value as the interpolated quantity
	was incorrect because the size of the input and output arrays were
	treated as the same when they are not.  This is used for overlay
	display which produced the symptom of horizontal lines.
	(2/5/02, Valdes)

pkg/images/tv/display/dspmmap.x
	Added the feature that the bad pixel mask or overlay mask may be
	specified by a keyword value with the syntax !<keyword>.  This is
	important for multiextension files where various masks are set
	as keywords.  The new task OBJMASKS also writes the object mask name
	that is created for an image in the header.  Use of !objmask then
	allows the object mask to be used for the bad pixel mask (to set
	the scaling using only sky pixels) and for overlay.
	(2/5/02, Valdes)

pkg/images/immatch/src/imcombine/src/icmask.x
	If pl_loadf fails then pl_loadim is tried.  This adds support for
	masks in FITS extensions.  (2/5/02, Valdes)

pkg/images/immatch/src/imcombine/src/icmask.x
pkg/images/immatch/src/imcombine/src/icmask.h
pkg/images/immatch/src/imcombine/src/iclog.h
pkg/images/immatch/src/imcombine/imcombine.par
pkg/images/immatch/imcombine.par
pkg/images/immatch/doc/imcombine.hlp
	The masktype parameter may now specify !<keyword> to select the keyword
	to use for a mask.  When this option is selected the mask value
	interpretation is "goodval".  (2/5/02, Valdes)

pkg/images/immatch/src/imcombine/src/icaverage.gx
pkg/images/immatch/src/imcombine/src/icsigma.gx
pkg/images/immatch/src/imcombine/src/icomb.gx
pkg/images/immatch/src/imcombine/src/icscale.x
pkg/images/immatch/src/imcombine/src/icemask.x
pkg/images/immatch/doc/imcombine.hlp
	If weights of zero are given for an image then that image will not
	contribute to the output weighted average unless all of the
	non-excluded images have zero weight.   In that case the unweighted
	average is output.  The exposure mask is the sum of the exposure times
	of the images with non-zero weights.  These changes allow combining
	only data which is considered good (photometric or good seeing) as
	specified by the weights but still including non-good data in the
	final image when there is no good data.  The combinined zero weight
	data will have an exposure time mask value of zero.  (2/8/02, Valdes)

sys/fio/close.x
	This routine was supporting the F_CLOSEFD option incorrectly and
	could attempt to close an already closed file in the special case
	where F_CLOSEFD is enabled but later disabled, leaving the file
	closed since it is not reopened until the next i/o occurs.  (02/17)

pkg/images/lib/imcopy.x
	Added a missing sfree to the img_imcopy.x routine which fixed a segvio
	error seen in the imcopy routine. (02/18, Davis)

sys/imio/iki/fxf/fxfupdhdr.x
	The FITS kernel would fail to expand the header in the case of a
	single FITS file when there are more keywords in the IMUSERAREA than
	space in the FITS header.   (02/18)

sys/imio/iki/fxf/fxfplwrite.x
sys/imio/iki/ikiaccess.x
sys/imfort/db/idbkwlu.x
sys/gio/nsppkern/zzdebug.x
	Fixed some minor instances of mismatched or missing salloc/sfree
	pairs.  (02/19)

pkg/images/lib/rgmerge.x
pkg/images/imutil/src/t_imstack.x
pkg/images/imutil/src/t_imsum.x
	Fixed some minor instances of mismatched or missing salloc/sfree
	pairs.  (02/19 LED)

pkg/images/tv/imexamine/iegimage.x
	The changes to support multiple WCS per frame involved keeping track of
	the full WCS frame id (i.e. 101) rather than just the frame number.
	There was a minor error in this bookkeeping when incrementing the
	the next display frame to be used.  (2/19/02, Valdes)

pkg/images/imutil/src/t_minmax.x
	Fixed a floating overflow error in minmax which occurs when the
	update parameter is set to yes but the input image has a dimensionality
	of 0. In this case the min and max values are set to INDEFD but
	must be converted to INDEFR before being stored in the image header.
	(2/19/02, Davis)

sys/plio/plsave.x
	pl_save uses pl_p2li to encode the line index for a PLIO mask.
	For a very large mask the integer values (which are indices into
	the line list storage buffer) can be quite large, and will be
	incompressible by PLIO unless the image contains zero lines or
	duplicated lines.  In the worst case it takes a "set high value
	absolute) instruction for each index value, and 3 line list words
	(6 bytes) to represent 1 integer index value in the encoded line
	list.  The line list buffer used was not sized for this worst
	case value and could overflow.  (02/19)

sys/mwcs/mwsave.x
sys/qpoe/qpiomkidx.x
	These routines use pl_p2li in a similar way to pl_save, so I made a
	buffer size change as for pl_save above.  (02/19)

pkg/images/immatch/src/imcombine/src/icstat.gx
pkg/images/immatch/src/imcombine/src/xtimmap.gx
	asum$t declared incorrectly as type PIXEL rather than real.  xt_cpix
	incorrectly defined as pointer function instead of a subroutine.
	(2/20/02, Valdes)

pkg/images/immatch/src/imcombine/src/xtimmap.gx
	The header keywords were not being fully copied.  (2/20/02, Valdes)

pkg/images/tv/imexamine/iegimage.x
	The 'p' was not properly updated for the multiple WCS changes.
	(2/26/02, Valdes)

pkg/xtools/fixpix/xtpmmap.x
	The change to IMIO for mapping bad pixel files in FITS extensions
	resulted in a different error code when failing to open the file.
	This code needed to be recognized by this routine in order to
	continue on to try other possible formats.  (2/27/02, Valdes)

pkg/images/imcoords/src/t_wcsctran.x
        Fixed a bug the logical to tv coordinate mapping which could occur
	if the section subsmapling parameter was > 1, the input image was a
	section of a higher dimensioned image, and the first dimension was
	not one of those extracted. (3/1/02, Davis)

pkg/images/tv/imexamine/iegimage.x
pkg/images/tv/imexamine/t_imexam.x
	When the frame buffer is used as the image source (when the image name
	in the display frame cannot be mapped) the final imunmap would
	attempt to unmap the same descriptor twice.  (3/1/02, Valdes)

pkg/images/tv/imexamine/iegimage.x
    	When imexmaine fails to map the image name returned by the display
	server it uses the frame buffer.  Previously there was no warning
	message about failing to map the image.  Now there is a warning.
	This is only given once until there is no error or the error message
	changes either by going to a new frame buffer or doing a new display.
	(3/4/02, Valdes)

pkg/images/tv/display/t_display.x
pkg/images/tv/display/imdmapping.x
	Added a check for the image name being "dev$pix" and if so added the
	".imh" extension to the full node!prefix pathname to avoid an ambiguous
	image name error in clients like IMEXAM which need to readback the
	image name with a WCS query.  The expansion was left in place to allow
	iraf networking access to the image.  (3/4/02, MJF)

sys/imio/iki/fxf/fxfplwrite.x
	Masks containing empty lines were not being handled correctly. (3/05)

sys/imio/iki/fxf/fxfrfits.x
	A FITS MEF containing an embedded binary table not recognized by
	the FK (i.e., anything other than an embedded PLIO mask) would cause
	a failure to read the file.  Moved the code which detects this
	condition so that the FK will skip over FITS extensions it doesn't
	recognize, so long as it is not asked to read them.  (3/05)

unix/hlib/mkpkg.sf.SSUN
	In addition to x_images.e, x_plot.e and x_tv.e are now linked -z
	to avoid the 268 MB per-process memory limitation imposed by the
	solaris/iraf shared image.  In the case of plot and tv, this was
	needed to deal with excessively large PLIO masks used for NDWFS
	images.  (3/05)

pkg/images/imutil/src/hedit.x
pkg/images/imutil/src/hselect.x
        Added missing xev_freeop calls to the hedit and hselect tasks and a
	missing mfree call to the hselect task. (3/5/02, Davis)

sys/plio/plloadim.x
sys/plio/plsaveim.x
sys/plio/zzdebug.x
sys/pmio/zzinterp.x
	[INTERFACE CHANGE] Modified these two routines to add the
	arguments title,maxch so that they can save and restore image
	headers encoded in the "title" string, as for a PLIO mask
	saved in a .pl file.  If a mask is being created from an
	image with pl_loadim then the "title" string will be encoded
	and returned.  If an image is being writen from a mask and
	encoded "title" string with pl_saveim then the image header
	is populated from the encoded title string.  This was
	necessary to handle image headers uniformly in im_pmmap (see
	the discussion under im_pmopen below).  These are obscure
	routines which are currently only used by the system code in
	IMIO (so far as I can tell) hence the interface change should
	be a minor risk.  (3/05)

sys/imio/impmmap.x
	Deleted the unused stack variables ksection and title.  (3/05)

sys/imio/impmopen.x
	Modified im_pmopen (called by im_pmmap) to add the title,maxch
	args to the call to pl_loadim, used to load a mask from an image.
	The call to pl_loadf, used to load a mask from a .pl mask file,
	already sets title,maxch, which is used by im_pmmap to load the
	image header of the image it creates from the stored mask.  (3/05)

pkg/images/immatch/src/imcombine/src/iclog.x
pkg/images/immatch/src/imcombine/src/icmask.x
pkg/images/immatch/src/imcombine/src/icstat.gx
	Rather than open all the masks at the beginning the masks are now
	opened and closed as needed.  For situations with offsets this
	can reduce the amount of memory required for the masks.
	(3/6/02, Valdes)

pkg/images/immatch/src/imcombine/src/icombine.x
	Added error checks for imunmap of the output files.  In the final
	stage of closing the output if an error occurs, principally in
	writing mask, this will at least allow the primary combined output
	image to be written.  This is useful when an extremely large combining
	operation is performed.  (3/6/02, Valdes)

unix/hlib/install
	Fixed an error in the pathname prompts when the defaults values are
	not accepted.  (3/6/02, MJF)

unix/hlib/install
	Modified to permit setuid, setgid, and sticky-bit permissions in 
	the iraf directory files when doing validity checks. (3/6/02, MJF)

unix/hlib/install
	More small fixes and added checks found when building PC-IRAF systems.
	(3/7/02, MJF)

lib/syserr.h
lib/syserrmsg
sys/plio/plcmpress.x
	Modified the pl_compress code slightly to add a sanity check for the
	mask being compressed.  We had a case where this code went into an
	infinite loop in a process that was nearing the 2GB memory limit,
	probably as a result of a pointer going negative. (3/10)

unix/as.linux/zsvjmp.s [pcix]
unix/as.linux/zsvjmp.s.SL40 [pcix]	+
	Newer versions of Slackware require use of __sigsetjmp, like most
	modern Linux versions (RedHat etc.).  (3/10)

unix/boot/mkpkg/host.c [pcix]
	The resolvefname code could fail in some cases where the pathname
	was a simple file name.  (3/10)

unix/hlib/install [pcix]
	Various minor changes to support the PC-IRAF platforms.  (3/10)

unix/os/zgtime.c [pcix]
	Added an include for <time.h> to pick up the CLK_TCK definition
	to get things to build correctly on some PC-IRAF platforms.  (3/10)

unix/bin.linux/f2c.e [pcix]
unix/bin.linux/f2c.e.SL40 [pcix]	+
	Replaced the LNUX f2c.e by the RHUX version, required by Slackware 8
	which uses glibc2.  (3/10)

unix/os/zopdir.c [pcix]
	Added a new ifdef check for LINUX to the dirfd() usage as required
	for newer Linux/IRAF (Slackware) systems.  (3/11)

----------------------------------------
Updated V2.12 BETA release; second public BETA release.  (3/12/2002)


dev/imtoolrc
dev/graphcap
	Added new stdimage devices imt45-imt49 submitted by Gemini for
	GMOS CCD displays at various sizes.  (3/14/2002, MJF)

sys/imio/iki/fxf/fxfupdhdr.x
	When copying an extension or subsection of an extension to a new
	file some of the header keywords could be duplicated at the end
	of the header.  (3/15)

sys/imio/iki/plf/plfupdhdr.x
	If an error occurred while writing the header to a pixel mask
	image the error handler in this routine would mask the error and
	no error was being reported to the caller. (3/15)

doc/newsfile
doc/v212revs.hlp			+
	Installed the V2.12 Revisions Summary and updated the 'news' command
	files.  (3/15/02, MJF)

dev/hosts
	Aliased 'ndws' to 'archive'  (3/18/02, MJF)

dev/hosts
	Added new NDWFS RedHat machine 'dropbear'  (3/19/02, MJF)

pkg/images/tv/display/t_display.x
	If an image section of a higher dimensional image is displayed the
	image section is included in the image name sent to the display
	server.  Previously the section was stripped and so it was not
	possible to know the 2D section displayed.  For now we keep backwards
	compatibility by stripping any section from 2D parent images.
	(3/20/02, Valdes)

pkg/images/tv/imexamine/iegimage.x
	Image sections in the image name retrieved from the display server
	are now handled more intelligently.  In particular, 2D sections of
	higher dimensional images will now examine the correct 2D section
	rather than just the lowest 2D plane.  (3/20/02, Valdes)

pkg/dataio/export/export.h
    	Changed the zscale sampling parameters to use more points spread out
    	over more of the image.  The old values would sometimes find an
    	innappropriate z1/z2 range causing problems when doing many images in
    	batch mode.  (3/20/02, MJF)

unix/hlib/install
unix/hlib/install [pcix]
	A previous change that added a check for write permission on the iraf
	tree (to edit paths) proved to be too restrictive when installing on
	an NFS client node.  The check was modified to allow the install to
	continue without editing files if the user wanted, this would create
	the local command links and device files but not edit the paths in
	the iraf files.  A '-noedit' option to force this behavior was also
	added.  (3/20/02, MJF)

sys/imio/iki/fxf/fxfrfits.x
	The limtime value calculated was off by a day after Feb 2002 and as
	a result DATAMIN and DATAMAX were not being updated in headers.
	Replaced the code which calculates limtime by a more robust calculation
	based on the Julian day taken from asttools.  (3/21)

sys/imio/iki/fxf/fxfupdhdr.x
	The update header code was modified to delete BSCALE and BZERO for
	floating point images, just in case they are added to the header
	by the application after the image has already been opened.
	We may as well do this since the FK does not support use of scaling
	when reading floating point images, and the presence of these
	keywords in the header could cause an i/o error when the image is
	later opened for reading (as seen in ST HSTIO code during testing
	of V2.12).  (3/21 NZ+DT)

pkg/images/tv/tvmark/mkoutname.x
pkg/images/tv/tvmark/mktools.x
        Fixed a bug in the default output image name code that would result
	in hidden images with names like .snap.1, .snap.2, etc being written
        if the display image name included a kernel or pixel section.
        (3/21 LED)

dev/hosts
	Added redhat machines cholla and pym, removed pyxis (3/24/02, MJF)

dev/hosts
	Added the MacOS X host cetus.  (3/24)

doc/newsfile
doc/v212revs.hlp
	Fixed some typos and formatting problems with the revisions (3/25, MJF)

pkg/system/help/t_help.x
	Fixed a bug with dev=text where the standout flags weren't being
	properly disabled. (3/25/02, MJF)

unix/hlib/install
unix/hlib/install [pcix]
	Small change to allow a "no-edit" install to skip the configuration
	stage (all of which require edit permissions). (3/25, MJF)

noao/mkpkg
	Added an entry for MACOSX.  (4/02)

pkg/images/imcoords/src/t_wcsctran.x
	Added an error check for INDEF valued input coordinates. (4/04, LED)

pkg/images/immatch/src/imcombine/src/icmask.x
	There was a bug in the recent change to open and close masks as needed
	where a possibly null filename pointer was being checked for being
	a null string.  (4/8/02, Valdes)

pkg/lists/doc/Lintran.hlp
pkg/images/tv/iis/doc/Cv.hlp
        The above files were rename to Lintran.spc.hlp and Cv.spc.hlp
	respectively in order to work around upper / lower case file name
	ambiguities in MACOSX. (4/11, LED)

pkg/images/imcoords/src/t_ccget.x
	Ccget was not transforming the units and applying the user supplied
	formatting parameters if the input or output coordinate system, e.g.
	ICRS, was the same as the catalog coordinate system. This bug does
	not affect released code. (04/16/02, Davis)

unix/hlib/install
unix/hlib/sysinfo
unix/hlib/install [pcix]
unix/hlib/sysinfo [pcix]
	Mods and bug fixes needed for OS X (04/16/02, MJF)

pkg/images/immatch/src/imcombine/src/icsetout.x
	When computing offsets the registration point was the reference pixel
	returned by mw_gwterm for the first image.  The code then went on to
	assume this was a logical pixel when comparing with the other images,
	which is not true when there is a physical coordinate system.  The
	algorithm was fixed by converting the reference point to logical
	coordinates.  (4/18/02, Valdes)

pkg/cl/main.c
	The routines startup() and shutdown() in the CL main conflicted
	with host library routines of the same name on MacOSX.  Changed
	these two routines plus login() and logout() to static functions.
	Added a new external function cl_shutdown to allow the error
	recovery code to get at the now static shutdown().  (4/21)

pkg/cl/errs.c
pkg/cl/errs.h
pkg/cl/binop.c
	Modified the interpreter binary divide operator to check for a
	zero divisor and call cl_error if a divide by zero is attempted.
	Added two new error actions for integer and floating divide by
	zero.  (4/21)

unix/hlib/config.h  [pcix]
unix/hlib/libc/spp.h  [pcix]
	Increased LEN_JUMPBUF to 1024 for this platform to allow for the
	worst case jmpbuf for MacOSX (not sure why this can be so big but
	it may be the altivec vector registers).  (4/21)

unix/boot/bootlib/rindex.c  [pcix]
unix/boot/bootlib/index.c  [pcix]
	These functions conflicted with the host system versions due to
	the dynamic libraries used on MacOSX.  Redefined the names for
	this platform to avoid the conflict (this is new since the initial
	10.0 port).  (4/21)

unix/os/zzstrt.c  [pcix]
	Minor modifications for MacOSX.  Normally process startup exception
	handling initialization is done in this file.  For MacOSX nothing
	is done at the moment (since the exception handling is mostly
	done in software) but the LinuxPPC code had to be reworked somewhat
	for MacOSX to build on both platforms.  (4/21)

unix/bin.macosx/mach.h  [pcix]	+
	Installed a byteswap=NO version of <mach.h> in HBIN for MacOSX.
	This allows the same PC-IRAF HSI to be used for both Intel and
	PowerPC, which are byte swapped with respect to each other.  The
	default <mach.h> in HLIB is for Intel.  Note that any versions
	of the global system includes in the HBIN for a platform will
	override the global HLIB versions.  (4/21)

unix/os/zzepro.c  [pcix]	+
unix/hlib/libc/knames.h  [pcix]
unix/os/mkpkg  [pcix]
	Added a new routine ZZEPRO (ZZ End PROcedure) to the PC-IRAF OS.
	This is present on all PC-IRAF platforms, but is a no-op (for now)
	except on MacOSX.  On MacOSX it calls an assembler routine to
	read the PowerPC floating point status and control register (FPSCR)
	to check if any floating point "exceptions" have occurred.
	Currently the floating point exceptions are not enabled for MacOSX,
	but the hardware will nonetheless set a bit in the FPSCR if one
	of the IEEE-defined exception conditions occur.  The ZZEPRO code
	will check for a divide by zero, overflow, or invalid operand
	exception condition, and if any of these have occurred, execute
	a "software exception" by calling the exception handler in ZXWHEN.
	The result is exactly the same as a real hardware exception, with
	all the same semantics and error actions, except that the
	exception condition is not detected until some time after the
	instruction which caused it is executed.  (4/21)

unix/boot/spp/rpp/rpprat/endcod.r  [pcix]
unix/boot/spp/rpp/rppfor/endcod.f  [pcix]
	Modified the SPP compiler to insert a call to ZZEPRO (see above)
	to every SPP function or procedure.  The call is made just before
	the function exits.  Note that since the check is only made at
	the exit from a function, the exception condition often will be
	detected in a routine called by the routine in which the
	exception condition occurred.  For example, if A does a 5.0/0,
	then calls B, then B exits, the exception conditition will be
	detected by the ZZEPRO call at the end of B.  In all cases however,
	it won't be very long before the exception condition is detected.
	If external C or Fortran code is called an exception will not be
	detected until execution resumes in an SPP function.  (4/21)

unix/os/zxwhen.c  [pcix]
	Added exception handling support for MacOSX.  Also, ex_handler
	(the exception handler) was changed from static to public so that
	it could be called from ZZEPRO.  (4/21)

unix/as.macosx/zsvjmp.s  [pcix]
	1. New version of ZSVJMP for MacOSX.  This was very tricky to
	implement for this platform but it appears to be working now.
	ZSVJMP was difficult as it needs to call the host "setjmp" to
	do the real work, but MacOSX has only dynamic libraries, so
	the routine has to invoke setjmp from the system shared library
	from the assembler code!  (I think we need to do away with the
	assembler version of ZSVJMP - might be possible by adding some
	C code generation to e.g. F2C, so that the PC-IRAF implementations
	at least could avoid assembler).
	2. New routines GFPSCR and SFPSCR added to get and set the FPSCR
	register on MacOSX.  (4/21)

unix/as.macosx/ieee.gx  [pcix]
	Modified the invalid exception masking support for MacOSX.
	Normally floating invalid exceptions are enabled, meaning that if
	a NaN or Inf is encountered the invalid operand exception is
	invoked.  The invalid exception has to be masked in the IEEE
	handling code, to allow IEEE NaN/Inf to be detected and replaced
	when reading in floating data.  (4/21)

pkg/images/immatch/src/imcombine/t_imcombine.x
pkg/images/immatch/src/imcombine/src/icombine.x
pkg/images/immatch/src/imcombine/src/icsetout.x
pkg/images/immatch/src/imcombine/src/icmask.x
pkg/images/immatch/src/imcombine/src/iclog.x
	The projection option was no longer working.  There was a typo in
	t_imcombine.x, the dimensionality of the image was not set
	properly in icombine.x and icsetout.x, and the masks for projected
	images was not correct.  (4/22/02, Valdes)

unix/hlib/install
unix/hlib/install [pcix]
	Fixed a typo ('MAG' -> 'MSG' on line 1023).  (4/22/02, MJF)

unix/hlib/install
unix/hlib/install [pcix]
	Modified to skip the /dev fifo and iraf user login checks which
	aren't appropriate for OS X.  (4/23/02, MJF)

unix/boot/spp/xc.c
	We had reports of XC not working properly with long filenames.
	Changed a 256 char buffer in sys() to SZ_PATHNAME, and also
	found a call to symlink() that was dimensioned 128 on the output
	buffer even though the actual buffer was SZ_PATHNAME.  (4/23)

images$imutil/src/imadiv.gx
images$imutil/src/generic/imadiv.x
        Fixed an error in the imarith code which evaluates an expression of the
        form "inimage / 0". This was causing a bus error on the OSX but
        apparently not on any other platform. (4/24/02, LED)

local/.login [pcix]
local/.cshrc [pcix]
	Modified to set proper environment for OS X (4/24/02, MJF)

pkg/images/immatch/src/imcombine/src/icmask.x
	The fix of 4/8/02 had been inadvertently undone.  (4/25/02, Valdes)

sys/imio/impmhdr.x
	The im_pmldhdr code could go into an infinite loop when reading
	a malformed PL imio save header.  (4/25)

sys/imio/iki/fxf/zfiofxf.x
	The fxfzop routine had some invalid code at the end of the routine
	which was incorrectly trying to set FPKOSFN in what it thought was
	the parent file descriptor.  (4/25)

unix/hlib/install
unix/hlib/install [pcix]
	1) Not all failed tests were properly incrementing the error
	counter leading to a confusing "successful" install.  2) Added a
	new procedure to install symlinks to the .login/.cshrc files for
	OS X installs where it's not easy to change the iraf user login
	directory.  Once the iraf path is edited into the files symlinks
	are made in the account directory, which is normally /Users/iraf,
	so the iraf user still have the proper environment.  (4/26/02, MJF)

unix/hlib/install
unix/hlib/install [pcix]
	1) The OS X csh didn't like if-stmts without a then/endif when the
	test failed, changed all such occurrances.  2)  Fixed small problem
	with SunOS constructing the recommended hosts file entry.  3) Changed
	the file ownership check from a fatal error to a warning. (4/30, MJF)

pkg/images/imtuil/src/t_imstat.x
pkg/proto/masks/t_mimstat.x
pkg/proto/masks/rsstats.x
	If nclip > 0 and the initial mean and standard deviation are INDEF
        (a very unlikely occurence unless there is an input mask) the ksigma
        limit computation in the imstatistics, mimstatistics, and rskysub
	tasks could overflow. This does not affect released code. (5/01/02,
	Davis)

local/notes.solaris -
local/notes.linux [pcix] -
local/notes.freebsd [pcix] -
doc/ports/notes.linux +
doc/ports/notes.freebsd +
doc/ports/notes.solaris +
	Moved these old platform porting files to doc/ports.  (5/02)

local/notes.v212 +
	Created a new system notes file for V2.12.  (5/02)

----------------------------------------
V2.12 EXPORT release.  (May 2, 2002)