aboutsummaryrefslogtreecommitdiffstats
path: root/inxi.changelog
blob: 522a71319718b8c3562a367ede383aba561ac85a (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
=====================================================================================
Version: 2.2.00
Patch Version: 00
Script Date:  2014-08-18
-----------------------------------
Changes:
-----------------------------------
New version, tarball, man page. Maintainers, this is the official release of -m feature.

I have collected enough datasamples to allow for reasonably fine grained corrections, estimates,
warnings about unreliable capacity now, and have fixed all major failures. 

Also, because this stuff is filled out by people somewhere, or not, some fields often are just
empty, or contain the default values, ie, they are worthless. inxi shows N/A for those situations,
it means there is really no actual data to show you.

This feature, sadly, well never be totally reliable, because dmi data is frankly junk, especially
dmi type 5 and 16, which is what is supposed to tell you total capacity of memory array, and the
maximum module size (type 5). However, this data is totally random, often it is right, sometimes
it is wrong. Sometimes type 5 is right and type 16 is wrong, sometimes the other way. And since
type 5 is only present in some systems, it's not reliable anyway.

What is reliable and always right is the actually installed memory per device, ie, sticks. I have
not seen any errors in that, so that seems to be actually coming from the system itself. type 5 / 16
sadly are clearly entered in manually by some poorly paid engineers out there in the world, and are
often total fictions, either far too small, or far too big, or whatever.

inxi will attempt to correct all clear logic errors, and whenever it changes the listed data from 
type 5/16, it notes either (est) or (check). (est) means it is a good guess, one I am comfortable making,
(check) means it is either an unreliable guess, or that what the system is reporting is so unlikely that
even though inxi is showing it, it doubts it could actually be true, or at least, it thinks you
should check this yourself. 

-m has 3 extra data options, -x prints the part number, if found, and the max module size, if type 5
is present. inxi does NOT attempt to guess at max module size based on what is installed, it only will
correct a listed max module size if installed modules are > than listed max size. Usually part numbers,
if present, are all you need to order a new stick.

-xx shows serial number, manufacturer (often empty, or just random alphanumeric identifiers, but sometimes
they list the actual company name, which is helpful. It also shows, if type 5 data is present, single/double
bank.

-xxx as usual shows largely useless data that may be of interest to soemone, like if ram type is synchronous, 
memory bus width data, and module voltage (type 5 data).

This feature will never be reliable I am sad to say because the source data itself is random and much
has been filled out, or not filled out, by engineering drones somewhere out there in the underpaid
world. The ranges of errors are so wide that inxi just has to check what is possible, reasonable, unlikely,
etc, to generate its numbers. In other words, this is NOT just parsing dmidecode output, that is the raw
material only, sad to say.

So this is it, for better or worse. All bug / issue reports with this MUST come with a full:
inxi -xx@14 
hardware data upload, run as root. 

Also, much to my annoyance, this feature requires root, since /dev/mem needs root to be read, and I assume
the dmi table, so that is a departure from normal inxi standards, as is the low quality input, and thus,
output, data, though I can guarantee that what inxi tells you is in most cases on average more accurate than
what dmidecode tells you, since dmidecode simply prints out what it finds in the dmi table, and nothing else,
in whatever order it finds it, from what I can see, ie, you also cannot trust the order of dmidecode output.

I had been hoping that /sys would start to contain memory data like it does mobo/system data, but it never
happened so I finally decided to just do the ram thing, require dmidecode, require root/sudo, and that's
that.

There will be issue reports, you can help them by looking up the mobo stats/specs yourself and listing them
in the issue, so I don't have to do it. I use the tool at crucial.com which is very accurate and also very 
complete in terms of all possible hardware out there. 

I would trust that tool before trusting the companies that have the least reliable data, like ASUS.

Much thanks to everyone who is contributing datasets, and the distros, particularly siduction, that really 
were very helpful in this process, by finding more and more failure cases that helped me start to tighten
the logic, and make it more and more robust. Special thanks to Mikaela, of #smxi irc.oftc.net, who came up
with two systems that both required a full redo of the logic, and thus who helped a lot in this process.

-----------------------------------
-- Harald Hope - Mon, 18 Aug 2014 15:07:36 -0700

=====================================================================================
Version: 2.1.98
Patch Version: 01
Script Date:  2014-08-17
-----------------------------------
Changes:
-----------------------------------
New patch version, new tarball. Another error case dataset, wrong cap, wrong max mod
size, derived mod size 2gb, listed cap 8, but 2 slots, ie, 2gb x 2 == 4. Made this
retain the listed size, but adds (check) to it because either max mod size is wrong
or cap is wrong.

-----------------------------------
-- Harald Hope - Sun, 17 Aug 2014 19:40:46 -0700

=====================================================================================
Version: 2.1.98
Patch Version: 00
Script Date:  2014-08-17
-----------------------------------
Changes:
-----------------------------------
New version, new tarball. Fixed bad assumption, DMI type 0 is not always before other
types, in at least one case, it is last, so can't use that as trigger to start loop.

Now using: Table at .. which is always at start of dmi output.

Also, changed size output per module to be in MB GB TB instead of all mB, since modules
are sold by GB or MB, the data should show that as well. Also shortens output.

-----------------------------------
-- Harald Hope - Sun, 17 Aug 2014 12:01:38 -0700

=====================================================================================
Version: 2.1.97
Patch Version: 00
Script Date:  2014-08-16
-----------------------------------
Changes:
-----------------------------------
New version, new tarball. Another logic redo to handle a fringe case (dmidecode places
type 17 in front of type 16), now each array is created as a multidimenstional, 2x array,
and each device is a 3 dimensional array. This seems to clean up the problems with bad
ordering of dmidecode data.

-----------------------------------
-- Harald Hope - Sat, 16 Aug 2014 16:22:17 -0700

=====================================================================================
Version: 2.1.96
Patch Version: 02
Script Date:  2014-08-15
-----------------------------------
Changes:
-----------------------------------
forgot to remove debugger on switch
-----------------------------------
-- Harald Hope - Fri, 15 Aug 2014 16:55:04 -0700

=====================================================================================
Version: 2.1.96
Patch Version: 01
Script Date:  2014-08-15
-----------------------------------
Changes:
-----------------------------------
Small change, forgot to add -m to the debugger inxi output.

-----------------------------------
-- Harald Hope - Fri, 15 Aug 2014 16:43:47 -0700

=====================================================================================
Version: 2.1.96
Patch Version: 00
Script Date:  2014-08-14
-----------------------------------
Changes:
-----------------------------------
New version, new tarball, new man page. This version hopefully brings inxi closer to
at least making good guesses when the data is bad for ram, and hopefully will not break
too many cases where it was actually right but seemed wrong.

Unfortunately, dmidecode data simply cannot be relied on, and is FAR inferior to the type
of data inxi tries in general to present users, ie, taken directly from the system, and,
ideally, more accurate than most other tools. But in this case, there is just no way to get
the data truly accurate no matter how many hacks I add.

But if you have bad data, then submit: inxi -xx@ 14 so I can take a look at the system,
and see if I can modify the hacks to improve that data.

-----------------------------------
-- Harald Hope - Thu, 14 Aug 2014 17:41:42 -0700

=====================================================================================
Version: 2.1.95
Patch Version: 04
Script Date:  2014-08-14
-----------------------------------
Changes:
-----------------------------------
New patch version, tarball. Fixed a few small oversights, more debugging added.

Will next try to handle the remaining corner cases if possible.
-----------------------------------
-- Harald Hope - Thu, 14 Aug 2014 12:23:38 -0700

=====================================================================================
Version: 2.1.95
Patch Version: 01
Script Date:  2014-08-13
-----------------------------------
Changes:
-----------------------------------
patch version, trying to fix a small glitch with gawk wanting to change integers to strings.

forcing int() on relevant items.

-----------------------------------
-- Harald Hope - Wed, 13 Aug 2014 21:28:46 -0700

=====================================================================================
Version: 2.1.95
Patch Version: 00
Script Date:  2014-08-13
-----------------------------------
Changes:
-----------------------------------
New version, new tarball. Attempting to handle bad extra data for max module size, sometimes
it is too big, and sometimes too small. Changed data gathering to use arrays, then print/process
the arrays once they are assembled.

Now it will get rid of any max module size if it's greater than the calculated capacity, and it
will generate an estimated capacity/max module size if they are clearly wrong because actual
module sizes are greater than listed max size, or capacity is less than greatest module sizes times
number of devices.

Not perfect, but it never is, this covers more cases now correctly than before.

-----------------------------------
-- Harald Hope - Wed, 13 Aug 2014 20:42:00 -0700

=====================================================================================
Version: 2.1.94
Patch Version: 00
Script Date:  2014-08-13
-----------------------------------
Changes:
-----------------------------------
New version, new man page, new tarball. Realized that I can on some systems also add
maximum supported module size, and module voltage. Most systems do not have this data,
but some do. It's Type 5 item in dmidecode.

Getting the type 6 data however is too hard, and even using type 5 assumes that the 
system only has one physical memory array, but that's fine given how few systems
probably will have this information in the first place.

-----------------------------------
-- Harald Hope - Wed, 13 Aug 2014 14:03:03 -0700

=====================================================================================
Version: 2.1.93
Patch Version: 00
Script Date:  2014-08-13
-----------------------------------
Changes:
-----------------------------------
New version, new man page. Fixed man page errors, improved man page explanations of -m
features. Changed output syntax to be more consistent, now each main array line starts with:

Array-X capacity: (where X is an integer, counting from 1)

and each device line starts with:
Device-X: (where X is an integer incremented by 1 for each device, and starting at 1
for each array. I have no data sets that contain > 1 physical memory array, if one appears,
I may need to patch the output to link the array handles with the device handles explicitly.

Made memory bus width output more clear, and added in a hack to correct dmidecode output errors,
sometimes total width > data width, and sometimes data width is > total width, so using always
greatest value for total if not equal to other width.

I think this will be close to it barring any user feedback or bugs, if nothing comes to
mind within a few days, I'll move the number to the new major version, 2.2.0

-----------------------------------
-- Harald Hope - Wed, 13 Aug 2014 12:12:23 -0700

=====================================================================================
Version: 2.1.92
Patch Version: 00
Script Date:  2014-08-12
-----------------------------------
Changes:
-----------------------------------
New version, new tarball. This is closer to final release. Removed Bank/Slot separate
items and am now just generating one: Locator item, usually from Slot/DIMM locator info,
but sometimes from Bank Locator info when it is more reliable based on my data samples.

Updated help menu, updated man page, now shows working -x -xx -xxx extra data. This may
change slightly over time.

Also removed speed output when No Module Installed is returned for device size. This
also wills switch off width if both total/data are empty.

This is much closer now to live 2.2.0, but I'll leave a few more tests before putting
it at 2.2.0.

-----------------------------------
-- Harald Hope - Tue, 12 Aug 2014 20:16:04 -0700

=====================================================================================
Version: 2.1.91
Patch Version: 00
Script Date:  2014-08-12
-----------------------------------
Changes:
-----------------------------------
New version, new tarball. This is a transitional version, most -x/-xx/-xxx data is now
working, but help/man does not have that yet, until I finalize the order.

Fixed dmidecode issues, showing extra data types for -m, added line length handling
so -m is properly integrated with rest of inxi re max line lengths.

-----------------------------------
-- Harald Hope - Tue, 12 Aug 2014 18:11:29 -0700

=====================================================================================
Version: 2.1.90
Patch Version: 00
Script Date:  2014-08-11
-----------------------------------
Changes:
-----------------------------------
New version, new tarball, new man page. Finally, after all these years, initial memory/ram
support. This feature requires dmidecode, and usually that needs to be run as root.

Significantly improved dmidecode error handling and output, and have as 2.1.90 testing/initial
release basic ram data. 

In subsequent releases, extra info for -x and -xx and -xxx will be added as well to the output.

For those who want to jump on board early for ram data, update your repos, for those who want to
wait for the full featured version, with -x type data, wait for 2.2.0

And that's that.

-----------------------------------
-- Harald Hope - Mon, 11 Aug 2014 22:23:18 -0700

=====================================================================================
Version: 2.1.29
Patch Version: 00
Script Date:  2014-08-08
-----------------------------------
Changes:
-----------------------------------
No version change, this only will impact ancient systems, cleans up a data error message
and restores N/A to IF id in networking. No functional change, and won't be seen on any
non ancient systems.

-----------------------------------
-- Harald Hope - Mon, 11 Aug 2014 16:10:03 -0700

=====================================================================================
Version: 2.1.29
Patch Version: 00
Script Date:  2014-08-08
-----------------------------------
Changes:
-----------------------------------
New version, tarball. Big update/fix to -n/-i/-N. Now supports infiniband devices, which
have the odd feature in our test data of having > 1 IF id, like ib0 ib1 per pcibusid.

Added support for virtual nics as well. This required refactoring the networking functions
significantly, so hopefully nothing breaks for existing systems. It should in theory be more
robust now than it was before, with more accurate output, particularly with multiple port
devices, like two port nics etc.

-----------------------------------
-- Harald Hope - Fri, 08 Aug 2014 10:17:52 -0700

=====================================================================================
Version: 2.1.28
Patch Version: 00
Script Date:  2014-05-05
-----------------------------------
Changes:
-----------------------------------
new version, new tarball. Adding tentative desktop id for LXQt, but I don't think
that this method will be super long lived, I expect LXDE to change how it shows itself
to the system when the gtk variant goes away. Good for lxde by the way in dumping gtk.

-----------------------------------
-- Harald Hope - Mon, 05 May 2014 12:11:27 -0700

=====================================================================================
Version: 2.1.27
Patch Version: 00
Script Date:  2014-05-02
-----------------------------------
Changes:
-----------------------------------
New version, new tarball. Should be almost no changes for linux platforms, though I 
added in an abstracted kernel_compiler method, not just gcc, that may work on freebsd,
and in the future, it may also work if distros or kernel people start using either
clang or LLVM-GCC or LLVM for compiling linux kernels. I'd need some data sets to
show that however before adding that full linux kernel support, but the framework
is now there.

That continues the abstraction of certain features, like kernel compiler, init system,
display server. Display server still needs full data sets from mir/wayland, at least
wayland, and the bsd display servers as well, I have no idea how to get that data
at this point, but the starting framework is present anyway for that time I get
those datasets.

Almost all these changes are for darwin osx, and that is about all I will do for that
junky broken platform, they have no tools, they have no discipline when it comes to
following unix like conventions, they even use spaces in program names, like windows.

Given it has no native lspci or pciconf tool that I am aware of, or dmesg.boot, 
there's little point in putting more time into it. dmidecode does not run on darwin,
so there's nothing to learn there either, you can get a silly 3rd party program to
generate a dmidecode.bin data file that dmidecode can then read, but since that
requires not one, but two third party programs be installed, that's not going to
happen.

Next time an osx user calls this system 'unix' I will laugh. 

-----------------------------------
-- Harald Hope - Fri, 02 May 2014 12:44:38 -0700

=====================================================================================
Version: 2.1.26
Patch Version: 00
Script Date:  2014-05-01
-----------------------------------
Changes:
-----------------------------------
New version, new tarball. Maintainer: this is only for bsd darwin (aka osx, it's an
experiment, just to get it running, so you can all ignore this release.

Added in darwin cpu, init, distro version support, and updated inxi to support
darwin/osx without exiting. 

No linux changes.

-----------------------------------
-- Harald Hope - Thu, 01 May 2014 13:32:21 -0700

=====================================================================================
Version: 2.1.25
Patch Version: 00
Script Date:  2014-04-28
-----------------------------------
Changes:
-----------------------------------
no version change, new tarball. On consideration, I'm not using temp3, that is simply 
not reliable enough and leads I think to more false readings than right ones.

-----------------------------------
-- Harald Hope - Mon, 28 Apr 2014 14:47:41 -0700

=====================================================================================
Version: 2.1.25
Patch Version: 00
Script Date:  2014-04-28
-----------------------------------
Changes:
-----------------------------------
New version, new tarball. This fixes a possible bug with using --total to calculate disk
used percentage, there are too many possible remote file systems to safely exclude, so
sticking with using the test that partition is /dev mounted.

Howeve, did add excludes of nfs/smbfs types, as well as future bsd excludes of those.

-----------------------------------
-- Harald Hope - Mon, 28 Apr 2014 14:23:39 -0700

=====================================================================================
Version: 2.1.24
Patch Version: 00
Script Date:  2014-04-28
-----------------------------------
Changes:
-----------------------------------
Quick fix, new tarball, no new version. This fixes a -D size used error, if nfs, nfs4, smbfs
are mounted, inxi included those in the disk space used, creating insane used errors.

-----------------------------------
-- Harald Hope - Mon, 28 Apr 2014 14:12:50 -0700

=====================================================================================
Version: 2.1.24
Patch Version: 00
Script Date:  2014-04-28
-----------------------------------
Changes:
-----------------------------------
New version, new tarball. This is an attempt to make -s accurate more of the time, 
particularly with fringe or broken sensors outputs. See inxi issue 58 for details.
http://code.google.com/p/inxi/issues/detail?id=58

Added temp3, and an override to capture cases where temp3 is the actual cpu temp.

Added PECI overrides for cases like msi/asus mobos have defective CPUTIN return data.

Added core0 overrides as well, for cases where the temp returned is too low.

It is absolutely 100% guaranteed that these changes will break some outputs that were
working, but it's also certain that I believe that more wrong outputs will be corrected.

With sensors, really the only way you can get reliable sensors is to use the lm-sensors
config files for your motherboard, then set: CPU: temp and MB: temp explicitly.

inxi will always use CPU: or MB: to override anything found.

-----------------------------------
-- Harald Hope - Mon, 28 Apr 2014 13:17:53 -0700

=====================================================================================
Version: 2.1.23
Patch Version: 00
Script Date:  2014-04-27
-----------------------------------
Changes:
-----------------------------------
New version, new tarball, new man. Found a pesky bug with false disk used results.

It turns out I'd neglected to include /dev/disk partitions, oops, in the df data.

Since this is a long time bug, it warrants a new release even though I just did 
2.1.22.

-----------------------------------
-- Harald Hope - Sun, 27 Apr 2014 15:55:20 -0700

=====================================================================================
Version: 2.1.22
Patch Version: 00
Script Date:  2014-04-27
-----------------------------------
Changes:
-----------------------------------
Quick update to -D, now inxi uses the total partition swap space to calculate the 
disk used percentage as well. Since swap space is not available as disk space, it 
makes sense to me to count it as used. -P/-p show the percent of swap used as well.

-----------------------------------
-- Harald Hope - Sun, 27 Apr 2014 14:41:06 -0700

=====================================================================================
Version: 2.1.22
Patch Version: 00
Script Date:  2014-04-27
-----------------------------------
Changes:
-----------------------------------
New version, new tarball. A bug fix for btrfs, which does not internally use /dev/sdx[number]
to identify a partition, but rather the basic /dev/sdc for example.

This made -D show wrong disk used percentage.

Also, I added --total for df that have that supported, there is however an oddity which you
can see here:

df  --total  -P -T --exclude-type=aufs --exclude-type=devfs --exclude-type=devtmpfs  \
--exclude-type=fdescfs --exclude-type=iso9660 --exclude-type=linprocfs --exclude-type=procfs \
--exclude-type=squashfs --exclude-type=sysfs --exclude-type=tmpfs --exclude-type=unionfs | \
awk 'BEGIN {total=0} !/total/ {total = total + $4 }END {print total}'
result:
614562236

df  --total  -P -T --exclude-type=aufs --exclude-type=devfs --exclude-type=devtmpfs  \
--exclude-type=fdescfs --exclude-type=iso9660 --exclude-type=linprocfs --exclude-type=procfs \
--exclude-type=squashfs --exclude-type=sysfs --exclude-type=tmpfs --exclude-type=unionfs | \
awk 'BEGIN {total=0} /^total/ {total = total + $4 }END {print total}'

result:
614562228

 df  -P -T --exclude-type=aufs --exclude-type=devfs --exclude-type=devtmpfs  \
 --exclude-type=fdescfs --exclude-type=iso9660 --exclude-type=linprocfs --exclude-type=procfs \
 --exclude-type=squashfs --exclude-type=sysfs --exclude-type=tmpfs --exclude-type=unionfs | \
 awk 'BEGIN {total=0} {total = total + $4 }END {print total}'

 result:
 614562236
 
 In my tests, using --total gives a greater disk user percentage than adding the results
 up manually, as inxi did before, and still does for systems without --total for df.
 
 df  --total  -P -T --exclude-type=aufs --exclude-type=devfs --exclude-type=devtmpfs  \
 --exclude-type=fdescfs --exclude-type=iso9660 --exclude-type=linprocfs \
 --exclude-type=procfs --exclude-type=squashfs --exclude-type=sysfs --exclude-type=tmpfs \
 --exclude-type=unionfs
 
Filesystem                     Type 1024-blocks      Used Available Capacity Mounted on
/dev/disk/by-label/root-data   ext3    12479556  12015624    335816      98% /
/dev/sdc9                      ext3    20410156  18013360   1979432      91% /home
/dev/sdc7                      ext3     4904448   3785460   1016672      79% /media/sdb2
/dev/sdc5                      ext3    30382896  27467220   2295720      93% /var/www/m
/dev/sdc8                      ext3    61294356  41849300  18196972      70% /home/me/1
/dev/sdb1                      ext3   307532728 285159432  20810456      94% /home/me/2
/dev/sdd1                      ext3    26789720  18153076   7542620      71% /home/me/3
/dev/sdd2                      ext3   213310776 206932912   2040960     100% /home/me/4
/dev/sda7                      ext3    10138204   1185772   8434348      13% /home/me/5
total                          -      687242840 614562156  62652996      91% -

Strange, no? the data is in blocks, and it should of course in theory add up to exactly the
same thing. However, because --total lets df do the math, I'm going to use that for now,
unless someone can show it's not good.

inxi still falls back for bsds and older df to the standard method.
-----------------------------------
-- Harald Hope - Sun, 27 Apr 2014 12:49:06 -0700

=====================================================================================
Version: 2.1.21
Patch Version: 00
Script Date:  2014-04-24
-----------------------------------
Changes:
-----------------------------------
New tarball, small update, added hopefully firewire support to drive type id.

That's searching for ieee1394- hopefully that will do it.

-----------------------------------
-- Harald Hope - Thu, 24 Apr 2014 13:22:51 -0700

=====================================================================================
Version: 2.1.21
Patch Version: 00
Script Date:  2014-04-24
-----------------------------------
Changes:
-----------------------------------
New version, tarball. This fixes one small oversight, placing USB in front of ID-[x] 
of disk drive lists. Was showing USB ID-1: /dev/sde now shows: ID-1: USB /dev/sde
that is more intuitive and keeps the columns in alignment more or less, easier
to read.

Second, fixes a bug with some file systems / usb drives
where they do not use usb- in the /dev/disk/by-id line but only wwn-
https://access.redhat.com/site/documentation/en
-US/Red_Hat_Enterprise_Linux/5/html/Online_Storage_Reconfiguration_Guide/persistent_naming.html
explains it somewhat.

the fix is adding a second if null test of the device /dev/sdx in by-path, that seems 
to fix the issue. by-path does have the usb- item, though it does not have the name
so it's not as reliable in absolute terms, but it's fine as a second step fallback 
option.

-----------------------------------
-- Harald Hope - Thu, 24 Apr 2014 11:47:08 -0700

=====================================================================================
Version: 2.1.20
Patch Version: 00
Script Date:  2014-04-08
-----------------------------------
Changes:
-----------------------------------
While this release has some new features, they are all intended for development use
for the next major feature, -m / memory, so there is no particular reason to package
this release. There is a new development option, -! 33, which lets me override /sys
data use for -M, which is useful to debug dmidecode output for -m and other features.

No new version, new man. There may be a few more of these releases, but functionally
there is no particular reason to make a new package if you are a maintainer, so there
is no new version number. This release is a preparation for some branches/one/inxi
tests that will be run in the future.

The man/help document -! 33 just to have it there, but it should make no difference
to anyone but me at this stage.

-----------------------------------
-- Harald Hope - Mon, 14 Apr 2014 13:31:24 -0700

=====================================================================================
Version: 2.1.20
Patch Version: 00
Script Date:  2014-04-08
-----------------------------------
Changes:
-----------------------------------
A few fixes to 2.1.20, bmips broke in some cases, that's fixed now. Also changed the
way to handle bad ARM data, when bogomips are too low, < 50, we try to get the data
from /sys, but now this runs on all the cores, so it may work as well on the multicore
arm if the /proc/cpuinfo has bogomip that is too low and no cpu frequency.

-----------------------------------
-- Harald Hope - Wed, 09 Apr 2014 00:09:49 -0700

=====================================================================================
Version: 2.1.20
Patch Version: 00
Script Date:  2014-04-08
-----------------------------------
Changes:
-----------------------------------
New version, tarball, ARM cpu /proc/cpuinfo has broken the bogomips output, since this
is an upstream bug, I'm adding in a quick hack that will work maybe for single core
ARM cpus, but NOT for multicores that have the same issue.

-----------------------------------
-- Harald Hope - Tue, 08 Apr 2014 17:15:41 -0700

=====================================================================================
Version: 2.1.19
Patch Version: 00
Script Date:  2014-04-06
-----------------------------------
Changes:
-----------------------------------
New version, tarball, correction of loop counts for -p/-P ID-<number>, this requires
a third counter to get all the stuff right. Sorry about the extra release, that's life.

-----------------------------------
-- Harald Hope - Sun, 06 Apr 2014 14:33:46 -0700

=====================================================================================
Version: 2.1.18
Patch Version: 00
Script Date:  2014-04-04
-----------------------------------
Changes:
-----------------------------------
New version/tarball. This completes, I think, the line wrap update. -o is now handled,
unmounted drives.

IMPORTANT: some distros use inxi for detecting partitions, the syntax on the following 
have changed slightly:

HDD: per drive changes from: 1: id: to ID-1:
Partitions: per partition changes from ID: to ID-1:
Unmounted partitions: per unmounted changes from ID: to ID-1

You see the pattern, they are all the same now, and they are all numbered. I think this
is easier to read when scanning long lines of drives/partitions, or even short ones.

Also fixed a long standing oddity, not a bug, but for some weird reason, -p did not
include the location, like /dev/sda1, unless -l or -u were used. That makes no sense
so I have moved the dev/remote location output to standard -p/-P

Except for bug fixes, this completes the overally line wrap update, all lines wrap,
you can set widths with -y now, and the old issue of not fitting nicely into 80 column
wide widths is solved. Note that in some areas, p/P for example, at times if the mount
point or remote location is very long the line may still wrap, but making this perfect
is too convoluted so I'm calling it good enough now, all lines are handled reasonably well,
certainly radically better than before 2.1.0.

-----------------------------------
-- Harald Hope - Fri, 04 Apr 2014 11:08:25 -0700

=====================================================================================
Version: 2.1.17
Patch Version: 00
Script Date:  2014-04-03
-----------------------------------
Changes:
-----------------------------------
New version, new man page, new tarball. Added -y [integer >= 80] option. This allows for absolute override
of width settings. This overrides any dynamically detected widths, as well as the globals:
COLS_MAX_CONSOLE='115'
COLS_MAX_IRC='105'
Now that inxi widths are largely dynamic in terminal, with a few lingering exceptions, it made sense
to also allow for overrides of this. This is useful in cases where for example you want to output
inxi to text file or for other purposes, or if you just want to test the widths, as in my case.

-y cannot be used with --recommends, but otherwise it works fine, with --help/-c 94-99 you have to 
put -y first in the list of options.

Example: inxi -v7 -y150 > inxi.txt will ignore the terminal settings and output the lines at basically
max length.

-----------------------------------
-- Harald Hope - Thu, 03 Apr 2014 10:41:07 -0700

=====================================================================================
Version: 2.1.16
Patch Version: 00
Script Date:  2014-04-02
-----------------------------------
Changes:
-----------------------------------
New version, tarball. This fix only impacts bsd sed, but it fixes the line length failure
issue because bsd sed doesn't work with \x1b, but it does when you do:
ESC=$(echo | tr '\n' '\033' )
I found this trick on:
http://unix.stackexchange.com/questions/42321/how-can-i-instruct-bsd-sed-to-interpret-escape-sequences-like-n-and-t

No other changes. Non bsd users, you can ignore this.

-----------------------------------
-- Harald Hope - Wed, 02 Apr 2014 21:24:52 -0700

=====================================================================================
Version: 2.1.15
Patch Version: 00
Script Date:  2014-04-01
-----------------------------------
Changes:
-----------------------------------
new version/tarball. This corrects some subtle issues with line wraps:

Audio -A - now wrap is fully dynamic down to 80 characters, and also the expansion of ALSA
to Advanced Linux Sound System only happens if that fits in the display width.

-N/-n/-i - Most networking/ip address stuff wraps now.

-d - optical drive data wraps better now too.

This more or less completes the line wrap redo.

-----------------------------------
-- Harald Hope - Tue, 01 Apr 2014 12:39:44 -0700

=====================================================================================
Version: 2.1.14
Patch Version: 00
Script Date:  2014-03-31
-----------------------------------
Changes:
-----------------------------------
Forgot, added slitaz-release to distros derived. that's as slackware derived one.

-----------------------------------
-- Harald Hope - Mon, 31 Mar 2014 18:10:02 -0700

=====================================================================================
Version: 2.1.14
Patch Version: 00
Script Date:  2014-03-31
-----------------------------------
Changes:
-----------------------------------
new version/tarball. Tiny fix in debugger, it turns out that in some systems, the command:
strings --version used in the debugger results in a hang, which you can duplicate with:
strings 
alone, without any argument or info, that will hang too, so I assume if the system doesn't
have the --version parameter, strings ignores that, and basically just does what it would do
with no option, hang.

Thanks for user ypharis persistence in tracking down this issue. So far only appeared on slackware
based distros, but since the debugger should 'just work', removing the version test.

-----------------------------------
-- Harald Hope - Mon, 31 Mar 2014 17:49:48 -0700

=====================================================================================
Version: 2.1.13
Patch Version: 00
Script Date:  2014-03-30
-----------------------------------
Changes:
-----------------------------------
New version, only relevant to Porteus distro, a slackware derived distro, should now id it
correctly. No other changes.

-----------------------------------
-- Harald Hope - Sun, 30 Mar 2014 11:54:12 -0700

=====================================================================================
Version: 2.1.12
Patch Version: 00
Script Date:  2014-03-27
-----------------------------------
Changes:
-----------------------------------
new version, fixed zfs raid failure to report raid devices on some systems. Added wrapping
for -D disk option. Note that -d is not correctly wrapping because the lines are too long with 
extra data, but it's ok for now.

-----------------------------------
-- Harald Hope - Thu, 27 Mar 2014 15:33:33 -0700

=====================================================================================
Version: 2.1.11
Patch Version: 00
Script Date:  2014-03-26
-----------------------------------
Changes:
-----------------------------------
Ignore change 2.1.12, the speed data was too inconsistent, using >>> since it's cleaner
and seems to be faster on some cpus, slower on others.

-----------------------------------
-- Harald Hope - Wed, 26 Mar 2014 15:28:08 -0700

=====================================================================================
Version: 2.1.12
Patch Version: 00
Script Date:  2014-03-26
-----------------------------------
Changes:
-----------------------------------
new version: this is only an optimization release, testing some slightly more efficient
methods:
something <<<  $variable is signficantly slower than: echo $variable | something
so I replaced almost all instances of <<< with echo ...|

I've seen speed differences of up to 10% but it's not consistent, so this is just 
something to boost performance slightly on older systems I'd guess.

-----------------------------------
-- Harald Hope - Wed, 26 Mar 2014 14:54:39 -0700

=====================================================================================
Version: 2.1.11
Patch Version: 00
Script Date:  2014-03-26
-----------------------------------
Changes:
-----------------------------------
New version: fixed an old bug, with -c 0, no colors, RED and NORMAL color codes were
not set to null, which results in some cases with red output, along with turning
terminal/console font color red.

-----------------------------------
-- Harald Hope - Wed, 26 Mar 2014 12:44:53 -0700

=====================================================================================
Version: 2.1.10
Patch Version: 00
Script Date:  2014-03-25
-----------------------------------
Changes:
-----------------------------------
New version; added supybot/limnoria/gribble support. This only works when the supybot
'SHELL' command is used, 'CALL' gives the user irc client data, and supybot etc are
not detectable.

Fine tuned some error message lengths so they fit into 80 columns or so.

-----------------------------------
-- Harald Hope - Tue, 25 Mar 2014 13:55:13 -0700

=====================================================================================
Version: 2.1.9
Patch Version: 00
Script Date:  2014-03-24
-----------------------------------
Changes:
-----------------------------------
New version, fixed cpu core speed wrapping, improved -p and -P wrapping, though some lines
will still be too long, but not as many.

-----------------------------------
-- Harald Hope - Mon, 24 Mar 2014 18:42:06 -0700

=====================================================================================
Version: 2.1.8
Patch Version: 00
Script Date:  2014-03-24
-----------------------------------
Changes:
-----------------------------------
New version. Added dynamic wrapping to -G, and also am now wrapping -C per cpu cores speeds, 
for systems with a lot of them, that will clean up the output.

Added dynamic wrapping to --recommends and -c 94-99.

These are the main things, there's a few smaller issues with -xx output on -N/-n/-i but
those will noly really show with full output and it takes a while to get this stuff stable
so maybe some other time, but it's ok for now.

-----------------------------------
-- Harald Hope - Mon, 24 Mar 2014 16:58:33 -0700

=====================================================================================
Version: 2.1.7
Patch Version: 00
Script Date:  2014-03-18
-----------------------------------
Changes:
-----------------------------------
new version, attempt 2 at detecting all possible syntaxes for cards. Now using
the bus id itself to determine if the 
VGA compatible controller
3D controller
Display Controller
refer to separate chips or the same one.

Bus id gives the data needed, because the video chip, the real card, that is,
is on for example 00:05.0 the trailing .0 is the key, that's the actual card.

The audio or display controller for the same card would be for example: 00:05.1

I don't know if this is fully reliable, but it will have to do, either some cards
as is get missed, or some cards get double id'ed, unless I use a hack like this.

There's nothing else I can find but the bus id to determine that it's the same
physical device or not.

-----------------------------------
-- Harald Hope - Tue, 18 Mar 2014 21:18:27 -0700

=====================================================================================
Version: 2.1.6
Patch Version: 00
Script Date:  2014-03-18
-----------------------------------
Changes:
-----------------------------------
new version, bug fix, adding 3D controller to output causes doubled card id in some cases.

-----------------------------------
-- Harald Hope - Tue, 18 Mar 2014 19:17:55 -0700

=====================================================================================
Version: 2.1.5
Patch Version: 00
Script Date:  2014-03-17
-----------------------------------
Changes:
-----------------------------------
New version, serious bug fix, do NOT use 2.1.4, it will fail to start. Bad copy/paste.

-----------------------------------
-- Harald Hope - Tue, 18 Mar 2014 01:30:53 -0700

=====================================================================================
Version: 2.1.4
Patch Version: 00
Script Date:  2014-03-17
-----------------------------------
Changes:
-----------------------------------
New version. Some BSD fixes, and a more important fix, added 'display controller'
to graphics card detection, that's a new one on me. Dual card systems might use this.

00:02.0 Display controller: Intel Corporation 82865G Integrated Graphics Controller (rev 02)

01:00.0 VGA compatible controller: NVIDIA Corporation NV44A [GeForce 6200] (rev a1)

Some more switches to bash native methods as well.

-----------------------------------
-- Harald Hope - Mon, 17 Mar 2014 19:23:42 -0700

=====================================================================================
Version: 2.1.3
Patch Version: 00
Script Date:  2014-03-15
-----------------------------------
Changes:
-----------------------------------
New version. Big set of changes: changed all ver: and version: to v:; changed all bash
${var} to $var where appropriate to avoid extra overhead of ${..}; removed 'basename'
and replaced with ${path##*/} which avoids unnessary subshells.

Fixed dynamic line wraps on -I and -S lines, now those in most cases will work well 
down to 80 cols. 

Fixed bug in optical drives, at some point in the last few years, the kernel in /sys
changed the path to the optical drive data, added in /ata8/ (example) so both methods
are now handled. This should fix a lot of failures to show optical drive brand name etc.

Added weechat detection, trying also supybot/limnoria detection in irc client version.
There was weechat-curses, but I guess they finally dropped the -curses. Limnoria is
a fork of supybot but still uses the supybot program name, but added in limnoria too
if they get around to changing that.

More dynamic sizing tweaks, more optimization of code. Discovered that dipping into gawk
is almost 250x more expensive in terms of execution time than using bash variable. 
Will change to use bash directly as time goes along where it's safe and accurate.

Added handling to support /run paths using directories, like /run/gdm/gdm.pid for dm data.

-----------------------------------
-- Harald Hope - Sun, 16 Mar 2014 15:09:40 -0700

=====================================================================================
Version: 2.1.2
Patch Version: 00
Script Date:  2014-03-14
-----------------------------------
Changes:
-----------------------------------
no version change, just added wrapper around tput cols so only use it if in terminal

-----------------------------------
-- Harald Hope - Sat, 15 Mar 2014 10:53:17 -0700

=====================================================================================
Version: 2.1.2
Patch Version: 00
Script Date:  2014-03-14
-----------------------------------
Changes:
-----------------------------------
New version. Updated dynamic sizing, fixed some glitches in cpu flags, fixed bugs in
cpu main. Cleaned up a few more variable and width issues. Used a few more ${#var} for
counting.

-----------------------------------
-- Harald Hope - Fri, 14 Mar 2014 20:39:13 -0700

=====================================================================================
Version: 2.1.1
Patch Version: 00
Script Date:  2014-03-14
-----------------------------------
Changes:
-----------------------------------
New Version, new man. This continues the dyanamic line sizing, I'm doing these one at a
time to make it easier to test stuff one by one.

Full refactoring/reordering of top global variables, moved user/maintainer set variables
to top, and clearly identify all globals.

Changed LINE_MAX to COL_MAX but all user configuration files will stay working since
inxi now will check for that and translate them to the new variable names.

New lines fixed, -C cpu and -f cpu plus full flags. Flags output is now fully dynamic to
display screen in terminal/console. Moved cpu short flags to -x because it's not that
important in general and just clutters things  up in my opinion.

Print flags/bogomips on separate line if line greater than display width.

The rest of the lines will get a similar treatment, but it takes a bit of trial and error
for each line to get it working right.

Note that IRC line lengths are NOT dyanamic unless I can find a way to determine the column
width of irc clients, but that won't be accurate since fonts vary in widths for each character.

CPU was the worst offender in my opinion in terms of regular output wrapping to new line messily,
next will be the things with ports/chip id/card id.

Tightened up a bit more the dyanamic help / version output handler.

-----------------------------------
-- Harald Hope - Fri, 14 Mar 2014 13:14:51 -0700

=====================================================================================
Version: 2.1.0
Patch Version: 00
Script Date:  2014-03-13
-----------------------------------
Changes:
-----------------------------------
New version, new man page. Finally, after all these years, dynamically resized to terminal
window column width help/version outputs. There is a significant slowdown to achieve this,
but I've optimized it as much as I could so it should be acceptable for most users now.

-----------------------------------
-- Harald Hope - Thu, 13 Mar 2014 19:26:32 -0700

=====================================================================================
Version: 2.0.0
Patch Version: 00
Script Date:  2014-03-12
-----------------------------------
Changes:
-----------------------------------
New feature, not new line option though. Now shows init type with -x (also shows rc
type if openrc). -xx shows init / rc version number. Change runlevel to target if
systemd and if non numeric runlevel given. Should support systemd/upstart/epoch/runit
sysvinit. Supports openrc as extra data if it's present. Rearranged -I line a bit but
really just exchanged Runlevel: for Init: v: Runlevel: default:

This is the first step, some of the init system ID methods are weak and non robust
and this may need to be revised, but it should for now identify systemd/upstart quite
accurately, and in most cases sysvinit. Note that to get sysvinit version number requires
tool: strings which in debian/ubuntu is in package binutils. I don't know the package names
for arch/fedora/etc for the recommends check tool in inxi yet.

I believe this will be good enough for a first draft version, but over time we'll get it
more fine tuned, but as it is now, it should cover at least 99% of users, which isn't bad.

-----------------------------------
-- Harald Hope - Wed, 12 Mar 2014 17:12:11 -0700

=====================================================================================
Version: 1.9.19
Patch Version: 00
Script Date:  2014-03-03
-----------------------------------
Changes:
-----------------------------------
New version; updated man page. Changed slightly the output for x server, in preparation
for adding alternate display servers, like Wayland or Mir. Rather than release all the
stuff at once I'm going to do it bit by bit. Currently I have not found a wayland iso
test cd that boots in virtual box so I will have to wait to really add support there.

-----------------------------------
-- Harald Hope - Mon, 03 Mar 2014 15:27:05 -0800

=====================================================================================
Version: 1.9.18
Patch Version: 00
Script Date:  2014-01-13
-----------------------------------
Changes:
-----------------------------------
New version; new tarball; new man page. Added Unity desktop support; added -xx feature 
to show default runlevel, using systemd/upstart/sysvinit type default tests.

Fixed gtk library version detections, now will support dpkg/pacman version tests, which
should give more data to more people than previously, where the old tests usually would
return null unless gtk dev packages were installed on the system.

-----------------------------------
-- Harald Hope - Mon, 13 Jan 2014 14:57:38 -0800

=====================================================================================
Version: 1.9.17
Patch Version: 00
Script Date:  2013-12-02
-----------------------------------
Changes:
-----------------------------------
New version, new tarball. Fixed new gnome change, they, of course, removed gnome-about
and so version numbers failed. Now first trying gnome-session to get version number.

Also, there's a bug in at least gtk detection in opensuse, not sure what it is, they could
be using a different syntax for the test:
pkg-config --modversion gtk+-3.0

returns no such package on gnome 3.10 installs, but I have no idea what package name to
test for there in this case.

So leaving gtk version bugs unhandled due to no user information or feedback, if you want
it fixed or if it works for your distro, let me know and also if it does not work, tell
me the correct commmand, with its output, to get gtk version.

That's for inxi -Sx output that is.

-----------------------------------
-- Harald Hope - Mon, 02 Dec 2013 13:48:35 -0800

=====================================================================================
Version: 1.9.16
Patch Version: 00
Script Date:  October 6 2013
-----------------------------------
Changes:
-----------------------------------
New version, new tarball. Only for uprmq distros, small update to add support for another
repo type output, the initial listing was not complete of possible syntaxes. Now handles: 

Nonfree Updates (Local19) /mnt/data/mirrors/mageia/distrib/cauldron/x86_64/media/nonfree/updates

as well, apparently that is a possible output format in certain cases with urpmq.

Non urpmq distros ignore this update, there are no other actual changes.

-----------------------------------
-- Harald Hope - Sun, 06 Oct 2013 11:06:36 -0700

=====================================================================================
Version: 1.9.15
Patch Version: 00
Script Date:  October 4 2013
-----------------------------------
Changes:
-----------------------------------
New version, tarball. Added urpmq for -r. 

Other distros than Mandriva, Mageia, no other changes so no need to update unless you want to.

This adds support for Mandriva, Mageia. urpmq parsing is similar but not identical to pisi.

-----------------------------------
-- Harald Hope - Fri, 04 Oct 2013 18:24:55 -0700

=====================================================================================
Version: 1.9.14
Patch Version: 00
Script Date:  September 10 2013
-----------------------------------
Changes:
-----------------------------------
This does not have a new version number (there is a new date), and is only for solusos, 
so all other distro maintainer can ignore this update. New tarball. Adds support for
solusos-release distro file in /etc/.

-----------------------------------
-- Harald Hope - Tue, 10 Sep 2013 10:49:29 -0700

=====================================================================================
Version: 1.9.14
Patch Version: 00
Script Date:  August 20 2013
-----------------------------------
Changes:
-----------------------------------
New version, new tarball. Fixed a bug / issue with failed usb nic detection, amazingly, the regex 
in inxi failed to check for Ethernet.*Adapter, heh. Most usb nics are wifi, so I guess ethernet just
escaped me.

-----------------------------------
-- Harald Hope - Tue, 20 Aug 2013 12:26:10 -0700

=====================================================================================
Version: 1.9.13
Patch Version: 00
Script Date:  August 12 2013
-----------------------------------
Changes:
-----------------------------------
New version, new tarball. Fixed a bug in Xorg where it shows drivers as unloaded when they
are actually loaded. Since we can't fix xorg, inxi will try to work around this bug by validating
one step further in the Xorg.0.log data, to confirm that drivers noted as loaded/unloaded/failed are 
actually running the display(s) of the system.

There is a possible case of error that might happen due to this change in the case of a system with
a complex xorg that uses two drivers/modules to run two different displays, ie, nvidia on one, and amd
on the other, for example, or intel/nvidia, etc. However, if that bug appears, we'll get that data set
of debugging output and fix it at that point. 

This fix repairs an existing xorg bug that is unlikely to get fixed any time soon (the call to load the
detected drivers, eg, vesa, intel, is repeated, causing a failure of driver already loaded on the second
occurance.

-----------------------------------
-- Harald Hope - Mon, 12 Aug 2013 16:20:51 -0700

=====================================================================================
Version: 1.9.12
Patch Version: 00
Script Date:  July 2 2013
-----------------------------------
Changes:
-----------------------------------
Tiny change, no new version, removed a stray 's' line 4306 that may have made certain distro
ids get slightly corrupted, but this is so trivial just fixing it, new tarball.

-----------------------------------
-- Harald Hope - Sat, 13 Jul 2013 11:47:48 -0700

=====================================================================================
Version: 1.9.12
Patch Version: 00
Script Date:  July 2 2013
-----------------------------------
Changes:
-----------------------------------
New version, new tarball. Two new desktop/window managers added: spectrwm (similar to scrotwm) and
herbstluftwm. Both tested and working, thanks anticap from Antix for doing the testing/issue report on this.

-----------------------------------
-- Harald Hope - Mon, 01 Jul 2013 15:13:24 -0700

=====================================================================================
Version: 1.9.11
Patch Version: 00
Script Date:  June 19 2013
-----------------------------------
Changes:
-----------------------------------
New version, new tarball. The recent bug fixes reminded me to check for ARM working, that had some bugs too,
so I've updated that. -f for ARM now shows features instead of flags, and the -C regular cpu output does not
show cache/flags for arm cpus becuase they don't have those features.

Added some flags passed to various cpu functions and better detections of ARM cpu to handle dual core and other
issues that were not handled before as well, or at all.

-----------------------------------
-- Harald Hope - Wed, 19 Jun 2013 19:14:10 -0700

=====================================================================================
Version: 1.9.10
Patch Version: 00
Script Date:  June 19 2013
-----------------------------------
Changes:
-----------------------------------
New version, new tarball. Another stab at finally fixing the cpu / core count failures on fringe
cases. This required fixing some core logic assumptions that are not currently correct, particularly
on two cases, some xeon cpus fail to show core id for each core, showing 0 for all of them, second,
vm cpus do not show physical ids at all for at least intel, nor do they show core id. 

While we can't get HT totally reliable, particularly for vm xeon, since inxi has no way to know in
that case if a core is attached to a physical core or a virtual one, all of them being virtual in that
case, but still inxi is now reporting the correct number of cores, or threads in vm xeons, and is not
showing multicore cpus as single core, which was the main issue.

This required redoing the counter logic for the cpu/core/physical arrays, now they are set independently,
and can handle any of the others not being set, without creating an error or failure condition.

Also added in last check for a certain intel case where core id is 0 but > 1 physical cores exist, that
now also shows the correct cpu / core count.

While this is tested on many data sets of proc cpuinfo, it's still possible there is a fringe case I have
not seen that will trigger yet another unexpected behavior.

-----------------------------------
-- Harald Hope - Wed, 19 Jun 2013 17:22:42 -0700

=====================================================================================
Version: 1.9.9
Patch Version: 00
Script Date:  June 16 2013
-----------------------------------
Changes:
-----------------------------------
new version, new tarball. Added support for openSUSE repo syntax/location, as long as it's
zypp or yum it will work. If it's both then it will show only one I believe, if that's a possible scenario, no idea.

Added one more fix for those pesky intel vm cpu core errors, now if /proc/cpuinfo shows no siblings at all,
and no core_id, but does have physical id, it will use the count for physical id as a default for core count.

Not perfect, but better than calling a dual core cpu a single core.

There's still a lot of mysteries with vm versions of kvm cpus, for example, if you see a dual core xeon, is
that actually one core with ht, or two cores? There is no way to find that information out that I can see that is
reliable.
-----------------------------------
-- Harald Hope - Sun, 16 Jun 2013 13:56:28 -0700

=====================================================================================
Version: 1.9.8
Patch Version: 00
Script Date:  June 14 2013
-----------------------------------
Changes:
-----------------------------------
New version, new tarball. Some subtle bug fixes, a kvm virtual machine uses disk id in 
/proc/partitions of 253, which made the disk totals fail to show up at all. Added that in.

Moved sourcing of configuration files to right after initialize_data so that some variables
can be forced to different values before the next set of system/app checks.

This is to allow specifically turning off, for some headless servers where $DISPLAY is not
null due to a bash configuration bug, these:
B_SHOW_X_DATA='false'
B_RUNNING_IN_X='false'

Setting those two to false in inxi.conf will turn off all the X checks etc even if the $DISPLAY
is set to non null.

Added in support for ksplice kernel version, requires installed uptrack-uname, if that is
present and if uptrack-name kernel version is different from uname then it will add (ksplice)
to kernel version string, and use ksplice kernel version. Also created a single function
get_kernel_version for use by short form/long form inxi output.

For intel xeon cpus, trying a work around for a bug in /proc/cpuinfo which fails to show core_id
or physical_id for cpus, using siblings / 2 for xeons with no actual core counts.

Fixed a bug that made fixes for multimounted partitions fail for disk used. Added in support
for also excluding single partitions mounted to different places.

Also fixed grsec kernel different handling of partitions in /proc/partition and df -hTP, doesn't use
standard partition numbering. This can't be perfect because inxi cannot know what the actual 
disk sizes are, but it's an ok guess. example: /dev/xvdac (uses 'c' instead of '3' for partition,
and does not show anything for disk itself.

-----------------------------------
-- Harald Hope - Fri, 14 Jun 2013 12:36:57 -0700

=====================================================================================
Version: 1.9.7
Patch Version: 00
Script Date:  May 25 2013
-----------------------------------
Changes:
-----------------------------------
New tarball, version, man page. Improved remote weather, now it uses -W, and deprecated -! location=..

That was too hard to type and too hard to remember. Also do more dyanamic reordering of weather
output, depending on how much data is present, and how many x options are used.

Added error handling for generic deprecated options, and for options that do not have the correct
syntax for OPTARG, like with -W.

This should about do it for the weather option for now unless I missed something somewhere.

-----------------------------------
-- Harald Hope - Sat, 25 May 2013 20:16:01 -0700

=====================================================================================
Version: 1.9.6
Patch Version: 00
Script Date:  May 19 2013
-----------------------------------
Changes:
-----------------------------------
new version, tarball. Bug fix, overly loose regex removed na from country/state/city strings, 
like nashville.

-----------------------------------
-- Harald Hope - Sun, 19 May 2013 20:06:44 -0700

=====================================================================================
Version: 1.9.5
Patch Version: 00
Script Date:  May 18 2013
-----------------------------------
Changes:
-----------------------------------
New version, new tarball. Fixed some lintian issues in man page, changed man/help for
-! location= option, to indicate that users must replace space with + themselves.

Because of how bash handles these options, inxi cannot add in + signs itself automatically.

This should be closer to cleanup of this new feature.

-----------------------------------
-- Harald Hope - Sat, 18 May 2013 10:50:06 -0700

=====================================================================================
Version: 1.9.04
Patch Version: 00
Script Date:  May 17 2013
-----------------------------------
Changes:
-----------------------------------
new version, tarball. Fixed issue with spaces in names for cities/states/countries, added
man and help instructions to remove spaces and examples.

-----------------------------------
-- Harald Hope - Fri, 17 May 2013 22:35:59 -0700

=====================================================================================
Version: 1.9.03
Patch Version: 00
Script Date:  May 17 2013
-----------------------------------
Changes:
-----------------------------------
new tarball, version, bug fixes on weather, also optimized speed for slow isps, and added
a global that can be set in user / system configs to make a longer wget time out. Default
is 8 seconds.

This should take care of the failure from slow load issue reported.

-----------------------------------
-- Harald Hope - Fri, 17 May 2013 22:07:29 -0700

=====================================================================================
Version: 1.9.02
Patch Version: 00
Script Date:  May 17 2013
-----------------------------------
Changes:
-----------------------------------

new version, new tarball, bug fix for weather
-----------------------------------
-- Harald Hope - Fri, 17 May 2013 21:10:21 -0700

=====================================================================================
Version: 1.9.01
Patch Version: 00
Script Date:  May 17 2013
-----------------------------------
Changes:
-----------------------------------
new tarball, version. Bug fix on -! location=, forgot to have it pack its own location
array, that's now correct.

-----------------------------------
-- Harald Hope - Fri, 17 May 2013 20:17:32 -0700

=====================================================================================
Version: 1.9.00
Patch Version: 00
Script Date:  May 17 2013
-----------------------------------
Changes:
-----------------------------------
New version, new tarball, new man page. Unless disabled by distribution maintainers, offers
weather -w option. With -x, -xx-, -xxx, shows more information. Basic line is just weather
and system time there. -x adds time zone, which is useful for servers, particurly web servers.
-x also adds wind speed. -xx adds humidity and barometric pressure. -xxx adds a possible new line, 
if data is available, heat index, wind chill, and dew point. 
-xxx also adds a line for location (blocked by irc/-z) / weather observation time.

-z filter applies as usual to location data, removes it in irc by default. -Z overrides override.

The api this uses is probably going to be dropped at some point, so this is just going to work 
while it works, then it will need to be updated at some point, so don't get very attached to it.

Also adds option to, with -w: -! location=<location string>
This lets users send an alternate location using either <city,state> or <postal code>
or <latitude,longitude> (commas for city,state and latitude,longitude are not optional, and the order
must be as listed.

If There is a developer flag if distro maintainers do not want this enabled, simply set:
B_ALLOW_WEATHER='false'
before packaging and the weather feature will be disabled.

-----------------------------------
-- Harald Hope - Fri, 17 May 2013 18:47:24 -0700

=====================================================================================
Version: 1.8.47
Patch Version: 00
Script Date:  May 3 2013
-----------------------------------
Changes:
-----------------------------------
New version, new tarball. Made separators surround the partition id, that avoids any possible 
errors with detections, also added in missing detection for separator.
-----------------------------------
-- Harald Hope - Fri, 03 May 2013 15:41:26 -0700

=====================================================================================
Version: 1.8.46
Patch Version: 00
Script Date:  May 3 2013
-----------------------------------
Changes:
-----------------------------------
New version, tarball. Fixed a small issue that would create a wrong reporting of disk
useage if bind mounts are used, ie, multiple binds to a single mount. Now inxi will
check a list of the previously used partitions before adding the size of the used space
to the total used, if the partition has already been used it will skip it. This was/is
a quick and dirty fix, but it's totally fine I believe and should resolve two separate 
issues:

1. use of bind mount method, where multiple partition names are bound to the same partition
2. accidental dual mounting to the same partition.

partitions section will still show the same data, ie, if bind is used, it will show all
the bind mounts even when they are attached/bound to a partition that is already listed.
This seems useful information, though maybe we can get the key word 'bind' in there somehow,
but for now I won't worry about that issue, that's just a nice to have, not a bug.

-----------------------------------
-- Harald Hope - Fri, 03 May 2013 13:52:44 -0700

=====================================================================================
Version: 1.8.45
Patch Version: 00
Script Date:  March 2 2013
-----------------------------------
Changes:
-----------------------------------
New version, tarball. As always with fixes, one thing creates a bug in another. Fixed
linux driver version handling, now only trimming off number from bsd drivers.

Some linux drivers, like tg3 for broadcom ethernet, have numbers ending them. So this is
a bug fix for 1.8.44 release mainly.

Also includes openbsd initial fixes for some issues related to sysctl parsing for cpu and ram.

-----------------------------------
-- Harald Hope - Sat, 02 Mar 2013 09:44:17 -0800

=====================================================================================
Version: 1.8.44
Patch Version: 00
Script Date:  February 28 2013
-----------------------------------
Changes:
-----------------------------------
no version change, just added 'chipset' to banlist to filter out.

-----------------------------------
-- Harald Hope - Thu, 28 Feb 2013 22:14:33 -0800

=====================================================================================
Version: 1.8.44
Patch Version: 00
Script Date:  February 28 2013
-----------------------------------
Changes:
-----------------------------------
New version, new tarball. This version brings the -A, -G, -N, -n, -i pci data
to bsd. Using a pciconf parser to do most of the heavy lifting in this one.

Two functions do the main pci card processing for audio, graphics, and networking.

All seems to be shipshape and working, tested on freebsd 7.3, 9.0, and 9.1 and 
the output is consistent.

-----------------------------------
-- Harald Hope - Thu, 28 Feb 2013 21:50:57 -0800

=====================================================================================
Version: 1.8.43
Patch Version: 00
Script Date:  February 28 2013
-----------------------------------
Changes:
-----------------------------------
New version, new tarball. Improved B_ALLOW_UPDATES handling, now if set to false,
turns off all -h and -H menu options for updating. Also triggers an error message
if you use -U or -! <10-16/http://>.

Distro maintainers, take note, if you used the B_ALLOW_UPDATES flag, you no longer
need to change the code anywhere, the error messages and blocking the -h output for
update features is automatic as soon as the flag is set to 'false'.

I needed to change the -! handling because -! is now also being used for extra features 
like -! 31 and -! 32 and probably more stuff in the future, plus the -! 30 used by 
things like the inxi gui tool being worked on by trash80.

Also included in this version are more bsd changes, including initial function for pciconf
data parsing, this will be used for -A, -G, and -N options for card data.

Further bsd improvements are better error/no data available messages for -D and -o.

-----------------------------------
-- Harald Hope - Thu, 28 Feb 2013 15:30:07 -0800

=====================================================================================
Version: 1.8.42
Patch Version: 00
Script Date:  February 27 2013
-----------------------------------
Changes:
-----------------------------------
New version, small bug fix, inxi failed to add in md raid partition size data to HDD used data.

The hdd used still fails to properly calculate the actual raid sizes but that's a bit too tricky
to do easily so will leave that for some other time.

Also added in more hdd used partition types for bsds, wd and ad type drivers for disks.

-----------------------------------
-- Harald Hope - Wed, 27 Feb 2013 23:13:00 -0800

=====================================================================================
Version: 1.8.41
Patch Version: 00
Script Date:  February 27 2013
-----------------------------------
Changes:
-----------------------------------
small change, new tarball, added some excludes items to unmounted list, scd, dvdrw, cdrw.

-----------------------------------
-- Harald Hope - Wed, 27 Feb 2013 22:26:32 -0800

=====================================================================================
Version: 1.8.41
Patch Version: 00
Script Date:  February 27 2013
-----------------------------------
Changes:
-----------------------------------
New version, updated man page. A bug fix for an old time bug: with mdraid, -o (unmounted
partitions) would show components of the md raid array as unmounted partitions.

This is of course incorrect, and is now fixed. 

Small update of man page as well to note that -o will not show components of mdraid arrays.

-----------------------------------
-- Harald Hope - Wed, 27 Feb 2013 22:09:32 -0800

=====================================================================================
Version: 1.8.40
Patch Version: 00
Script Date:  February 27 2013
-----------------------------------
Changes:
-----------------------------------
New version, bug fix for mdraid, and cleaned up some errors and weak spots in component
output for mdraid. Certain conditions would trigger a false return for raid components, now
it shows more explicitly the online/spare/failed data so it's clear. Also shows 'none' for 
online if none are detected.

-----------------------------------
-- Harald Hope - Wed, 27 Feb 2013 14:00:46 -0800

=====================================================================================
Version: 1.8.39
Patch Version: 00
Script Date:  February 27 2013
-----------------------------------
Changes:
-----------------------------------
New version, updated man page. Completed zfs raid support for bsds, now include component
status as with mdraid, will show offline/failed devices as well in standard output.

Updated help and man page to reflect the difference between -R, -Rx, and -Rxx output for
zfs / mdraid.

No linux inxi changes, this should not alter any behaviors in -R for mdraid, if it does, it's 
a bug, please report it.

-----------------------------------
-- Harald Hope - Wed, 27 Feb 2013 12:42:02 -0800

=====================================================================================
Version: 1.8.38
Patch Version: 00
Script Date:  February 18 2013
-----------------------------------
Changes:
-----------------------------------
New version, updated man page, new tarball.

Fixed partition bug that could falsely identify a remote filesystem like nfs as /dev fs

Added two options: 
-! 31 - Turns off Host section of System line. This is useful if you want to post output
from server without posting its name.
-! 32 - Turns on Host section if it has been disabled by user configuration file
B_SHOW_HOST='false'

Added missing CPU data message, fixed missing cpu cache/bogomips output, turned off
bogomips if null for bsd systems because bogomips is a linux kernel feature.

Added N/A for no memory report, this would mainly hit bsd systems where user has no
permissions to use sysctl or has no read rights for /var/run/dmesg.boot.

Many fixes for partitions, now for bsd, if available, uses gpart list to get uuid/label
Added support for raid file system syntax in bsd, now excludes main raid device name, 
and adds a flag to raiddevice/partitionname type so output can identify it as a raid
slice/partition.

In man page, added -! 31 / -! 32 sections, and some other small edits.

Added bsd raid line error message, added bsd sensors line error message.

Many other small bug fixes that should make linux more robust in terms of missing
data, and better/cleaner output for bsd.

-----------------------------------
-- Harald Hope - Mon, 18 Feb 2013 12:24:39 -0800

=====================================================================================
Version: 1.8.37
Patch Version: 00
Script Date:  February 11 2013
-----------------------------------
Changes:
-----------------------------------
New tarball. Tiny fix for an obscure fringe case, leaving numbering as is.

In some cases, dmidecode returns the grammatically wrong message: 
'No smbios nor dmi data' instead of 'No smbios or dmi data', corrected the search
to look for simpler: 'no smbios ' to avoid that random error.

-----------------------------------
-- Harald Hope - Tue, 12 Feb 2013 09:54:51 -0800

=====================================================================================
Version: 1.8.37
Patch Version: 00
Script Date:  February 11 2013
-----------------------------------
Changes:
-----------------------------------
New version, new tarball. This update fixes a recent bug report with ancient dmidecode versions, that do not
properly support the -s option. Now -M uses only one method for dmidecode, manual construction of the Machine
data from the raw dmidecode file. The file output is also parsed a bit to make it more consistently reliable
for inxi purposes.

This update also includes all recent bsd branch updates, including the new #!/usr/bin/env bash on top which
lets inxi run in any environment without changes. Also for bsd, sets sed -i/sed -i '' global value, which 
means that now all the branches are the same, except the bsd branches will contain the most recent tests
and bsd handling. 

As each step is reached, I'll release a new inxi that should be stable, this is the first one however that
can be used as is, no changes, for bsd, debian kfreebsd, and linux systems.

Pleasen note that most bsd features are either incomplete or missing completely at this point, but it's a
start.

Some initial changes as well to help options to show more correct linux or bsd terms. These will be updated
as time permits, it is a long process.

-----------------------------------
-- Harald Hope - Mon, 11 Feb 2013 20:55:49 -0800

=====================================================================================
Version: 1.8.36
Patch Version: 00
Script Date:  February 8 2013
-----------------------------------
Changes:
-----------------------------------
New version, new tarball. Cleaned up patch number sed cleanup that didn't work in bsd.

-----------------------------------
-- Harald Hope - Fri, 08 Feb 2013 20:50:23 -0800

=====================================================================================
Version: 1.8.36
Patch Version: 00
Script Date:  February 8 2013
-----------------------------------
Changes:
-----------------------------------
New version, new tarball. All bug fixes and cleanup preparing to support bsd systems, including
kfreebsd from Debian.

Cleaned up all sed and grep that will be used by bsds, added more granular flag for bsd types.

Cleaned up and corrected issues between bsd/linux, more escapes and tests added to drop error
counts in bsds. 

Please note that you must use the inxi from branches/bsd for true bsds because sed has extra -i ''
added, and has the proper #!/usr/local/bin/bash

Added -! 16 for gnubsd download/update, that's for gnu bsd systems like gnu/kfreebsd from debian.

That retains the top #!/bin/bash path, and also uses gnu sed so no -i '' syntax.

Moved some grep -o to gawk or sed to avoid using gnu grep unnecessarily, leaving gnu grep where
it will be linux only, for example parsing a /proc file.

Fixed tty irc bugs for bsds and linux, now should show the right console size for both, ideally.

-----------------------------------
-- Harald Hope - Fri, 08 Feb 2013 20:36:02 -0800

=====================================================================================
Version: 1.8.35
Patch Version: 00
Script Date:  February 7 2013
-----------------------------------
Changes:
-----------------------------------
New version, new tarball. Note, this is a refactor release only, and features the core bsd
support built in, although inxi will not run in bsd unless the top: #!/bin/bash is changed
to #!/usr/local/bin/bash

The actual bsd branch can be grabbed from: 
http://inxi.googlecode.com/svn/branches/bsd/inxi
then you can keep that version updated using: inxi -! 15 
which will grab the latest bsd version from the svn server.

This release also fixes a lot of small bugs that testing for bsd support exposed, but functionally
most people should see no difference, I just want to get this version up because there are
so many small changes that it's worth having a release.

I was going to have the fixed dmidecode for old systems in 1.8.35 but that will have to wait til
1.8.36

Linux users should see no real changes, except maybe a thing or two will work in certain circumstances 
when it didn't before, like showing MHz on ARM cpus on short inxi.

-----------------------------------
-- Harald Hope - Thu, 07 Feb 2013 19:56:19 -0800

=====================================================================================
Version: 1.8.34
Patch Version: 00
Script Date:  January 28 2013
-----------------------------------
Changes:
-----------------------------------
new version, new tarball, new man page.

small change -Ixx will show running in tty if it's not in X, with tty number.

sort of redundant to System: console: data, but that's ok, we'll live for now.

-----------------------------------
-- Harald Hope - Mon, 28 Jan 2013 16:12:45 -0800

=====================================================================================
Version: 1.8.33
Patch Version: 00
Script Date:  January 28 2013
-----------------------------------
Changes:
-----------------------------------
New version, new tarball, new man page. Fixed an old bug where if you start inxi with
an ssh command sometimes it will not show any client information, just the debugger 
PPID output. Now it will test as a final check to see if it can detect any parent to
the process. Actually grandparent I believe. Seems to work, it's a fringe case but
why not handle it?

New -xx feature, for -I it will show, if inxi is not running in IRC client and if 
is running in X, and if the grandparent is not 'login', will show the application
the shell is running in.

Example: 
Info:      Processes: 271 Uptime: 5:36 Memory: 3255.8/4048.5MB Runlevel: 3 
           Gcc sys: 4.7.2 alt: 4.0/4.2/4.4/4.5/4.6 
           Client: Shell (bash 4.2.37 - started in konsole) inxi: 1.8.33

-----------------------------------
-- Harald Hope - Mon, 28 Jan 2013 15:57:15 -0800

=====================================================================================
Version: 1.8.32
Patch Version: 00
Script Date:  January 23 2013
-----------------------------------
Changes:
-----------------------------------
Small changes to man page, updated copyright date, added a patch contributor.

-----------------------------------
-- Harald Hope - Sat, 26 Jan 2013 18:48:37 -0800

=====================================================================================
Version: 1.8.32
Patch Version: 00
Script Date:  January 23 2013
-----------------------------------
Changes:
-----------------------------------
No version change. New tarball, updated man page.

Some lintian changes for man page, escaped required -x type to \-x

-----------------------------------
-- Harald Hope - Sat, 26 Jan 2013 18:39:03 -0800

=====================================================================================
Version: 1.8.32
Patch Version: 00
Script Date:  January 23 2013
-----------------------------------
Changes:
-----------------------------------
New version, new tarball. Disabled -U in irc clients, with an exit error message.

-----------------------------------
-- Harald Hope - Wed, 23 Jan 2013 14:45:38 -0800

=====================================================================================
Version: 1.8.31
Patch Version: 00
Script Date:  January 23 2013
-----------------------------------
Changes:
-----------------------------------
New version, new tarball. Fixed overly verbose output for --version/-V in irc. Also updated
and made cleaner the version data in verbose mode, non irc.

Fixed instance where program location would only show a dot . or relative path to inxi. Now
in version full will show the full path, or should.

Basic version line now show:  inxi 1.8.30-00 (January 22 2013)

The verbose information/version shows the license information, website/irc support info, and
a few other changes.

Also fixed a small bug where the copyright shows current year, not the actual year of the inxi
copyright contained in the top comment header.

-----------------------------------
-- Harald Hope - Wed, 23 Jan 2013 13:55:35 -0800

=====================================================================================
Version: 1.8.30
Patch Version: 00
Script Date:  January 22 2013
-----------------------------------
Changes:
-----------------------------------
Changing compression of inxi.1.gz to gzip -9 to fit lintian tests. This won't matter to anyone
at this point so no need to change anything.
-----------------------------------
-- Harald Hope - Tue, 22 Jan 2013 19:27:54 -0800

=====================================================================================
Version: 1.8.30
Patch Version:  00
Script Date: January 22 2013
-----------------------------------
Changes:
-----------------------------------
New Version, new tarball. Added inxi.changelog to tarball as well.

Continuing fixes for ARM cpus, it was noted that short form inxi failed to show cpu speed
derived from bogomips. That's because of the old min/max output that short form used.

Updated that section to now use N/A as flag, and if N/A for min/max speed, use the speed
given from first cpu array index, the one derived from bogomips for ARM/razberry pi.

Note that there is still no other ARM /proc/cpuinfo available to see if the razberry pi
fixes work for all ARM cpus, but the fixes will stop hangs and endless loops at worst,
and may also show some type of cpu speeds for ARM cpus that are not in razpi devices.

-----------------------------------
-- Harald Hope - Tue, 22 Jan 2013 12:38:47 -0800

====================================================================================
Script Version: 1.8.29
Patch Version: 00
Script Date: January 21 2012
-----------------------------------
Changes:
-----------------------------------
Bug fix, new version, new tarball.

quick work around fix for razberrie pi, get cpu data hung on arm /proc/cpuinfo because
it doesn't use the standard processor : [digit] format, but uses a string in the
processor : field, which then hangs inxi which was expecting an integer.

Corrected this with a work around, but it will require a lot more ARM /proc/cpuinfo samples
before the support for ARM can be considered stable.

For cpu speed, following wikipedia, used bogomips being equal to 1x cpu speed, to derive cpu speed.

Better than nothing I guess, but will be wrong in other cases, particularly with dual core arm.
-----------------------------------
-- Harald Hope - Mon, 21 Jan 2013 16:24:40 -0800