aboutsummaryrefslogblamecommitdiffstats
path: root/inxi.changelog
blob: fa6610c46f1cf9720bcc8f8e9737df671724f0ed (plain) (tree)
1
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
4008
4009
4010
4011
4012
4013
4014
4015
4016
4017
4018
4019
4020
4021
4022
4023
4024
4025
4026
4027
4028
4029
4030
4031
4032
4033
4034
4035
4036
4037
4038
4039
4040
4041
4042
4043
4044
4045
4046
4047
4048
4049
4050
4051
4052
4053
4054
4055
4056
4057
4058
4059
4060
4061
4062
4063
4064
4065
4066
4067
4068
4069
4070
4071
4072
4073
4074
4075
4076
4077
4078
4079
4080
4081
4082
4083
4084
4085
4086
4087
4088
4089
4090
4091
4092
4093
4094
4095
4096
4097
4098
4099
4100
4101
4102
4103
4104
4105
4106
4107
4108
4109
4110
4111
4112
4113
4114
4115
4116
4117
4118
4119
4120
4121
4122
4123
4124
4125
4126
4127
4128
4129
4130
4131
4132
4133
4134
4135
4136
4137
4138
4139
4140
4141
4142
4143
4144
4145
4146
4147
4148
4149
4150
4151
4152
4153
4154
4155
4156
4157
4158
4159
4160
4161
4162
4163
4164
4165
4166
4167
4168
4169
4170
4171
4172
4173
4174
4175
4176
4177
4178
4179
4180
4181
4182
4183
4184
4185
4186
4187
4188
4189
4190
4191
4192
4193
4194
4195
4196
4197
4198
4199
4200
4201
4202
4203
4204
4205
4206
4207
4208
4209
4210
4211
4212
4213
4214
4215
4216
4217
4218
4219
4220
4221
4222
4223
4224
4225
4226
4227
4228
4229
4230
4231
4232
4233
4234
4235
4236
4237
4238
4239
4240
4241
4242
4243
4244
4245
4246
4247
4248
4249
4250
4251
4252
4253
4254
4255
4256
4257
4258
4259
4260
4261
4262
4263
4264
4265
4266
4267
4268
4269
4270
4271
4272
4273
4274
4275
4276
4277
4278
4279
4280
4281
4282
4283
4284
4285
4286
4287
4288
4289
4290
4291
4292
4293
4294
4295
4296
4297
4298
4299
4300
4301
4302
4303
4304
4305
4306
4307
4308
4309
4310
4311
4312
4313
4314
4315
4316
4317
4318
4319
4320
4321
4322
4323
4324
4325
4326
4327
4328
4329
4330
4331
4332
4333
4334
4335
4336
4337
4338
4339
4340
4341
4342
4343
4344
4345
4346
4347
4348
4349
4350
4351
4352
4353
4354
4355
4356
4357
4358
4359
4360
4361
4362
4363
4364
4365
4366
5192
5193
5194
5195
5196
5197
5198
5199
5200
5201
5202
5203
5204
5205
5206
5207
5208
5209
5210
5211
5212
5213
5214
5215
5216
5217
5218
5219
5220
5221
5222
5223
5224
5225
5226
5227
5228
5229
5230
5231
5232
5233
5234
5235
5236
5237
5238
5239
5240
5241
5242
5243
5244
5245
5246
5247
5248
5249
5250
5251
5252
5253
5254
5255
5256
5257
5258
5259
5260
5261
5262
5263
5264
5265
5266
5267
5268
5269
5270
5271
5272
5273
5274
5275
5276
5277
5278
5279
5280
5281
5282
5283
5284
5285
5286
5287
5288
5289
5290
5291
5292
5293
5294
5295
5296
5297
5298
5299
5300
5301
5302
5303
5304
5305
5306
5307
5308
5309
5310
5311
5312
5313
5314
5315
5316
5317
5318
5319
5320
5321
5322
5323
5324
5325
5326
5327
5328
5329
5330
5331
5332
5333
5334
5335
5336
5337
5338
5339
5340
5341
5342
5343
5344
5345
5346
5347
5348
5349
5350
5351
5352
5353
5354
5355
5356
5357
5358
5359
5360
5361
5362
5363
5364
5365
5366
5367
5368
5369
5370
5371
5372
5373
5374
5375
5376
5377
5378
5379
5380
5381
5382
5383
5384
5385
5386
5387
5388
5389
5390
5391
5392
5393
5394
5395
5396
5397
5398
5399
5400
5401
5402
5403
5404
5405
5406
5407
5408
5409
5410
5411
5412
5413
5414
5415
5416
5417
5418
5419
5420
5421
5422
5423
5424
5425
5426
5427
5428
5429
5430
5431
5432
5433
5434
5435
5436
5437
5438
5439
5440
5441
5442
5443
5444
5445
5446
5447
5448
5449
5450
5451
5452
5453
5454
5455
5456
5457
5458
5459
5460
5461
5462
5463
5464
5465
5466
5467
5468
5469
5470
5471
5472
5473
5474
5475
5476
5477
5478
5479
5480
5481
5482
5483
5484
5485
5486
5487
5488
5489
5490
5491
5492
5493
5494
5495
5496
5497
5498
5499
5500
5501
5502
5503
5504
5505
5506
5507
5508
5509
5510
5511
5512
5513
5514
5515
5516
5517
5518
5519
5520
5521
5522
5523
5524
5525
5526
5527
5528
5529
5530
5531
5532
5533
5534
5535
5536
5537
5538
5539
5540
5541
5542
5543
5544
5545
5546
5547
5548
5549
5550
5551
5552
5553
5554
5555
5556
5557
5558
5559
5560
5561
5562
5563
5564
5565
5566
5567
5568
5569
5570
5571
5572
5573
5574
5575
5576
5577
5578
5579
5580
5581
5582
5583
5584
5585
5586
5587
5588
5589
5590
5591
5592
5593
5594
5595
5596
5597
5598
5599
5600
5601
5602
5603
5604
5605
5606
5607
5608
5609
5610
5611
5612
5613
5614
5615
5616
5617
5618
5619
5620
5621
5622
5623
5624
5625
5626
5627
5628
5629
5630
5631
5632
5633
5634
5635
5636
5637
5638
5639
5640
5641
5642
5643
5644
5645
5646
5647
5648
5649
5650
5651
5652
5653
5654
5655
5656
5657
5658
5659
5660
5661
5662
5663
5664
5665
5666
5667
5668
5669
5670
5671
5672
5673
5674
5675
5676
5677
5678
5679
5680
5681
5682
5683
5684
5685
5686
5687
5688
5689
5690
5691
5692
5693
5694
5695
5696
5697
5698
5699
5700
5701
5702
5703
5704
5705
5706
5707
5708
5709
5710
5711
5712
5713
5714
5715
5716
5717
5718
5719
5720
5721
5722
5723
5724
5725
5726
5727
5728
5729
5730
5731
5732
5733
5734
5735
5736
5737
5738
5739
5740
5741
5742
5743
5744
5745
5746
5747
5748
5749
5750
5751
5752
5753
5754
5755
5756
5757
5758
5759
5760
5761
5762
5763
5764
5765
5766
5767
5768
5769
5770
5771
5772
5773
5774
5775
5776
5777
5778
5779
5780
5781
5782
5783
5784
5785
5786
5787
5788
5789
5790
5791
5792
5793
5794
5795
5796
5797
5798
5799
5800
5801
5802
5803
5804
5805
5806
5807
5808
5809
5810
5811
5812
5813
5814
5815
5816
5817
5818
5819
5820
5821
5822
5823
5824
5825
5826
5827
5828
5829
5830
5831
5832
5833
5834
5835
5836
5837
5838
5839
5840
5841
5842
5843
5844
5845
5846
5847
5848
5849
5850
5851
5852
5853
5854
5855
5856
5857
5858
5859
5860
5861
5862
5863
5864
5865
5866
5867
5868
5869
5870
5871
5872
5873
5874
5875
5876
5877
5878
5879
5880
5881
5882
5883
5884
5885
5886
5887
5888
5889
5890
5891
5892
5893
5894
5895
5896
5897
5898
5899
5900
5901
5902
5903
5904
5905
5906
5907
5908
5909
5910
5911
5912
5913
5914
5915
5916
5917
5918
5919
5920
5921
5922
5923
5924
5925
5926
5927
5928
5929
5930
5931
5932
5933
5934
5935
5936
5937
5938
5939
5940
5941
5942
5943
5944
5945
5946
5947
5948
5949
5950
5951
5952
5953
5954
5955
5956
5957
5958
5959
5960
5961
5962
5963
5964
5965
5966
5967
5968
5969
5970
5971
5972
5973
5974
5975
5976
5977
5978
5979
5980
5981
5982
5983
5984
5985
5986
5987
5988
5989
5990
5991
5992
5993
5994
5995
5996
5997
5998
5999
6000
6001
6002
6003
6004
6005
6006
6007
6008
6009
6010
6011
6012
6013
6014
6015
6016
6017
6018
6019
6020
6021
6022
6023
6024
6025
6026
6027
6028
6029
6030
6031
6032
6033
6034
6035
6036
6037
6038
6039
6040
6041
6042
6043
6044
6045
6046
6047
6048
6049
6050
6051
6052
6053
6054
6055
6056
6057
6058
6059
6060
6061
6062
6063
6064
6065
6066
6067
6068
6069
6070
6071
6072
6073
6074
6075
                                                                                     
































































































































                                                                                     



















































































































































































































                                                                                          









































































































































                                                                                     

































































































































































































































                                                                                       
















































































                                                                                     







































































                                                                                     













                                                                                     







































































































































                                                                                      
















































































































































                                                                                     















































































































































































































































































































































































































































































































































































































































































































































































































                                                                                        




























































































































































































































































                                                                                     



















































































                                                                                     


































































                                                                                     































































                                                                                                  
























































































































































                                                                                                         










































                                                                                                  










































































































































































































































                                                                                                                  
























































































































































                                                                                                                        



























                                                                                                          








































































































                                                                                                       





















                                                                                                   













































































                                                                                           


















































                                                                                             
               
                 
                        


                                   










                                                                                      
                                   

                                                

                                                                                     
               
                 
                        


                                   


                                                                                              
                                   
                                                





























































                                                                                        




















































                                                                                     



































































































































































                                                                                                         



























                                                                                     





































































                                                                                                      

















                                                                                                    
















                                                                                              






















































































































































































                                                                                               























                                                                                           













































                                                                                           

















                                                                                             
















                                                                                       






































































































































































































































































































































































                                                                                                              



































































                                                                                      





































































































































































































































                                                                                               









































                                                                                       

























































                                                                                                          






































































                                                                                                                   


























                                                                                               




























































































                                                                                             






































































                                                                                            











































                                                                                          

















































                                                                                                 













                                                                                          
























                                                                                           














                                                                                       
















                                                                                       



















































































































































































































































































































































































































































































































































































































































































































































































































































































































                                                                                                                    
=====================================================================================
Version: 3.0.23
Patch Version: 00
Script Date: 2018-09-07
-----------------------------------
Changes:
-----------------------------------

New version, man page. Fixes, enhancements, changes.

Thanks: 
1. AntiX forums, for testing -C --admin, suggestions, always helpful.

Bugs:
1. Added switch to set @ps_gui, I forgot case where info block was only thing 
that used ps_gui (Nitrux kde nomad latte case). This led to no info: data if 
other ps_gui switches not activated. Now each block that can use it activates it.

Fixes:
1. To clarify issue #161 added help/man explanation on how to get colors in cases 
where you want to preserve colors for piped or redirected output. Thanks fugo.
2. LMDE 3.0 released, slightly different system base handling, so refactored to 
add Debian version, see enhancement 2. Tested on some old vm instances, improved
old system Debian system base id, but it's empirical, distro by distro, there is
no rule I can use to automatically do it, sadly.
3. 'Motherboard' sensors field name added, a few small tweaks to sensors. This
was in response to issue #159, which also raised a problem I was not really 
aware of, user generated sensor config files, that can have totally random 
field names. Longer term solution, start getting data from sys to pad out 
lm-sensors data, or to handle cases where no lm-sensors installed. 
4. Fixed kwin_11 and kwin_wayland compositor print names, I'd left out the _,
which made it look strange, like there were two compositors or something.
5. Fixed latte-dock ID, I thought the program name when running was latte, not 
latte-dock. inxi checks for both now. Thanks Nitrux for exposing that in vm test.
6. Sensors: added in a small filter to motherboard temp, avoid values that are
too high, like SYSTIN: 118 C, filters out to only use < 90 C. Very unlikely a 
mobo would be more than 90C unless it's a mistake or about to melt. This may
correct anoymous debugger dataset report from rakasunka.

Enhancements:
1. Added --admin to -v 8 and to --debugger 2x
2. Added -a to trigger --admin. This lets you run something like -Fxxxaz
3. Expanded system base to use Debian version tool, like the ubuntu one, that 
lets me match version number to codename. The ubuntu one matches code names to
release dates. Added Neptune, PureOS, Sparky, Tails, to new Debian system base
handler.
4. Big enhancement: --admin -C now shows a nice report on cpu vulnerabilities, 
and has a good error message if no data found. Report shows:
Vulnerabilities: Type: [e.g. meltdown] status/mitigation: text explanation. 
Note: 'status' is for when no mitigation, either not applicable,  or is vulnerable.
'mitigation' is when it's handled, and how. Thanks issue #160 Vascom from Fedora 
for that request.
5. The never-ending saga of disk vendor IDs continues. More obscure vendors,
more matches to existing vendors. Thanks linuxlite/linux hardware database

Changes:
1. Reordered usb output, I don't know why I had Hubs and Devices use different 
ordering and different -x switch priorities, that was silly, and made it hard to
read.
Now shows: 
Device/Hub: bus-id-port-id[.port-id]:device-id info: [product info] 
type/ports: [devices/hubs] usb: [type, speed]
-x adds drivers for devices, and usb: speed is now default for devices, same as 
Hubs. Why I had those different is beyond me.
The USB ordering is now more sensible, the various components of each 
matching whether hub or device.

Unfixable or Won't Fix:
1. Unable to detect Nomad desktop. As far as I can tell, Nomad is only a theme 
applied to KDE Plasma, there is no program by that name detectable, only a 
reference in ps aux to a theme called nomad. 
2. Nitrux system base ID will not work until they correct their /etc/os-release file.
3. Tails live cd for some inexplicable reason uses non standard /etc/os-release 
field names, which forces me to either do a custom detection just for them, or for
them to fix this bug. I opted for ignoring it, if I let each distro break standard 
formats then try to work around it, the distro ID will grow to be a 1000 lines long
easily. Will file distro bug reports when I find these from now on.

Samples:

This shows the corrected, cleaned up, consistent usb output:

inxi -y80 --usb 
USB:
  Hub: 1-0:1 info: Full speed (or root) Hub ports: 14 usb: 2.0 
  Hub: 1-3:2 info: Atmel 4-Port Hub ports: 4 usb: 1.1 
  Device-1: 1-3.2:4 info: C-Media Audio Adapter (Planet UP-100 Genius G-Talk) 
  type: Audio,HID usb: 1.1 
  Device-2: 1-4:3 info: Wacom Graphire 2 4x5 type: Mouse usb: 1.1 
  Device-3: 1-10:5 info: Tangtop HID Keyboard type: Keyboard,Mouse usb: 1.1 
  Device-4: 1-13:7 info: Canon CanoScan LiDE 110 type: <vendor specific> 
  usb: 2.0 
  Device-5: 1-14:8 info: Apple Ethernet Adapter [A1277] type: Network usb: 2.0 
  Hub: 2-0:1 info: Full speed (or root) Hub ports: 8 usb: 3.1 
  Hub: 3-0:1 info: Full speed (or root) Hub ports: 2 usb: 2.0 
  Hub: 4-0:1 info: Full speed (or root) Hub ports: 2 usb: 3.1 
  Hub: 5-0:1 info: Full speed (or root) Hub ports: 4 usb: 2.0 
  Hub: 6-0:1 info: Full speed (or root) Hub ports: 4 usb: 3.0

inxi -y80 --usb -xxxz
USB:
  Hub: 1-0:1 info: Full speed (or root) Hub ports: 14 usb: 2.0 
  chip ID: 1d6b:0002 
  Hub: 1-3:2 info: Atmel 4-Port Hub ports: 4 usb: 1.1 chip ID: 03eb:0902 
  Device-1: 1-3.2:4 info: C-Media Audio Adapter (Planet UP-100 Genius G-Talk) 
  type: Audio,HID driver: cm109,snd-usb-audio interfaces: 4 usb: 1.1 
  chip ID: 0d8c:000e 
  Device-2: 1-4:3 info: Wacom Graphire 2 4x5 type: Mouse driver: usbhid,wacom 
  interfaces: 1 usb: 1.1 chip ID: 056a:0011 
  Device-3: 1-10:5 info: Tangtop HID Keyboard type: Keyboard,Mouse 
  driver: hid-generic,usbhid interfaces: 2 usb: 1.1 chip ID: 0d3d:0001 
  Device-4: 1-13:7 info: Canon CanoScan LiDE 110 type: <vendor specific> 
  driver: N/A interfaces: 1 usb: 2.0 chip ID: 04a9:1909 
  Device-5: 1-14:8 info: Apple Ethernet Adapter [A1277] type: Network 
  driver: asix interfaces: 1 usb: 2.0 chip ID: 05ac:1402 serial: <filter> 
  Hub: 2-0:1 info: Full speed (or root) Hub ports: 8 usb: 3.1 
  chip ID: 1d6b:0003 
  Hub: 3-0:1 info: Full speed (or root) Hub ports: 2 usb: 2.0 
  chip ID: 1d6b:0002 
  Hub: 4-0:1 info: Full speed (or root) Hub ports: 2 usb: 3.1 
  chip ID: 1d6b:0003 
  Hub: 5-0:1 info: Full speed (or root) Hub ports: 4 usb: 2.0 
  chip ID: 1d6b:0002 
  Hub: 6-0:1 info: Full speed (or root) Hub ports: 4 usb: 3.0 
  chip ID: 1d6b:0003

-----------------------------------
-- Harald Hope - Fri, 07 Sep 2018 13:01:40 -0700

=====================================================================================
Version: 3.0.22
Patch Version: 00
Script Date: 2018-08-28
-----------------------------------
Changes:
-----------------------------------

New version, man page. Bug fixes, enhancements.

Bugs:
1. A long standing bug was finally identified and fixed. -n/-i would fail to match 
a Device to the right IF in cases where they had the same chip / vendor IDs. Added 
busID for non Soc type devices to fix that. I hope. This fix has been tested on a
machine that had this bug, and it is now corrected. Thanks skynet for the dataset.
2. deepin-wm was failing to get listed correctly with new fixes, this is corrected.

Fixes:
1. mate version was depending on two tools, mate-about and mate-session, which 
somewhat randomly vary in which has the actual highest version number. Fix was to 
run both in MATE for version, and run those through a new version compare tool.
Thanks mint/gm10 for reporting that bug.
2. -Gxx compositors: added some missing ones that were being checked for in-
correctly.
3. For distro id, fixed a glitch in the parser for files, now correctly removes
empty () with or without spaces in it.
4. Got rid of ' SOC?' part of no data for ram or slots, that also triggers in non 
SOC cases, so best to not guess if I can't get it right.

Enhancements:
1. More disk vendor ID matches, also, somehow missed QEMU as vendor, thanks to
linux hardware database (linuxlite) for great samples of vendor/product strings.
2. Added a bunch of compositors, found a new source that listed a lot inxi did not 
have already. 
3. Added version v: for some compositors in -Gxxx.
4. New program_data() tool provides an easier to use simple program version/print 
name generator, including extra level tests, to get rid of some code that repeats.
5. Found some useful QEMU virtual machines for ARM, MIPS, PPC, and SPARC, so 
made initial debugging for each type, so basic working error free support is well
on its way for all 4 architectures, which was unexpected. More fine tunings to 
all of them to avoid bugs, and to catch more devices, as well.
Note that QEMU images are hard to make, and they were not complete in terms of 
what you would see on physical hardware, so I don't know what features will work 
or not work, there may be further variants in audio/network/graphics IDs that
remain unhandled, new datasets always welcome for such platforms!
6. Found yet another desktop! Added Manokwari support, which is at this point 
a reworking of gnome, but it was identifiable, minus a version number.
7. Added deepin and blankon to system base supported list, these hide their debian
roots, so I had to use the manual method to provide system base.
8. Extended -Sxxx info: item to include system trays, and a few more bars and
panels. So this product now shows bars, panels, trays, and docks. And that's I
think good enough, since those are the basic tools most desktop/wm's will use.


-----------------------------------
-- Harald Hope - Tue, 28 Aug 2018 15:08:16 -0700

=====================================================================================
Version: 3.0.21
Patch Version: 00
Script Date: 2018-08-17
-----------------------------------
Changes:
-----------------------------------

New version, man page. Big set of changes. Full USB refactor, plus added features.

Bugs:
1. A result of the issue #156 USB refactor, I discovered that the --usb sort order,
which was based on Bus+DeviceID, in fact is wrong, pure and simple. This was exposed 
by using a second USB hub on a bus, the Device IDs are not really related in any 
clearly logical way to the actual position on the bus. The solution was to fully
refactor the entire USB logic and then use generated alpha sorters based on the full 
bus-port[.port] ID. Device ID is now printed last in the ID string, like so: 1-4:1. 
Note that Device IDs start at 1 for each bus, regardless of how many hubs you have
attached to that port.
2. Certain situations triggered a bug in Optical devices, I'd forgotten to change
$_ to $key in two places. Since that part didn't normally get triggered, I'd never
noticed that bug before. Thanks TinyCore for exposing that glitch!

Fixes:
1. On legacy systems, fluxbox --version does not work, -v does. Corrected.
2. for --usb, network devices should now show the correct 'type: Network'.
For some weird reason, the people who made the usb types didn't seem to consider
many key devices, scanners, wifi/ethernet adapters, and those are almost always 
"Vendor defined class".
3. A really big fix, for instances where system is using only Busybox, like 
TinyCore, or booting into any system running busybox for whatever reason, now 
avoids the various errors when using busybox ps, which only for example outputs
3, not 11, default columns for ps aux, and which does not support ps -j, which
is used in the start/shell client information. This gets rid of a huge spray 
of errors, and actually allows for pretty complete output from systems that only
have busybox tools installed. This should cover everything from TinyCore to MIPS 
to ARM systems that run minimalist Linux. Note that this fix goes along with the
/sys based USB parser, since such systems may have USB, but are unlikely to have 
lsusb installed, but do have /sys USB data.
4. In some cases, strings /sbin/init would trigger a false version result, fixed
that logic so now it rarely will do that.

Enhancements:
1. Added Moksha desktop, that's a Bodhi fork of Enlightenment E17; added qtile 
window manager (no version info).
2. Added Bodhi detection; Salix + base slackware; kde neon system base;
3. Added support for slaptget repos, basic, it may not be perfecct.
4. More disk vendors, and matches for existing vendors.
5. Full rewrite of USB data, in --usb, -A, and -N, along with core usb data engines.
This makes lsusb optional, though recommended (because it has a better vendor/
product ID to string internal database than /sys data). This was in response 
to a second set of issues in #156 by gm10, USB drivers.
Depending on the system, using only /sys data, while slightly less informative,
is between 20 and 2000 milliseconds faster, so if you want speed, either use the 
new --usb-sys option, or the configuration file USB_SYS=[true|false] option.
 1. switched to cleaner more efficient data structures
 2. added ports count to hub report, linux and bsd.
 3. added [--usb|-A|-N] -xxx serial for Device items, if present.
 4. added --usb -xx drivers, per interface, can be 1 or more drivers. 
 5. fully refactored -A and -N usb device logic, far cleaner and simple now,
 much easier to work with, no more hacks to find things and match them.
 6. USB type: now comes from /sys, and is in general going to be more accurate
 than the lsusb -v based method, which was always an ugly and incomplete hack.
 As with drivers, it also now lists all the interface types found per device, not
 just the first one as with the previous method. Note that HID means the more 
 verbose: Human Interface Device, but I shortened it. Now that the type: data is 
 created by inxi reading the class/subclass/protocal IDs, and then figuring out
 what to do itself, I can have quite a bit more flexibility in terms of how type 
 is generated.
 7. added --usb -xxx interfaces: [count] for devices, which lists the device 
 interface count. This can be useful to determine if say, a usb/keyboard adapter 
 is a 2 interface device. Note that Audio devices generally have many interfaces, 
 since they do more than 1 thing (audio output, microphone input, etc.).
 8. Support for user configuration file item: USB_SYS=[true|false]. This is useful
 if you want to see only the /sys version of the data, or if you want the significant
 speed boost not using lsusb offers, particularly on older systems with a complex 
 USB setup, many buses, many devices, etc. 
 New option --usb-tool overrides USB_SYS value, and forces lsusb use.
 9. New options: --usb-sys - forces all usb items to use /sys data, and skip lsusb.
 Note that you still have to use the feature options, like --usb, -A, or -N. This
 can lead to a significant improvement in execution time for inxi.
 10. Rather than the previous bus:device ID string, to go along with the internal 
 sorting strings used, inxi now shows the real Bus / port /port ids, like:
 1-3.2.1:3 - Bus-Port[.port]:device id.
6. Added support for Xvesa display server. Thanks for exposing that one, TinyCore! 
7. Added tce package manager to repos. That's the tinycore package manager.

Changes:
1. big one, after 10 plus years, the venerable 'Card-x:' for -A,-N, and -G has been
replaced by the more neutral 'Device-x:'.  This was a suggestion by gm10 from Mint
in issue #156 
This makes sense because for a long time, most of these devices are not cards, they
are SOC, motherboard builtin, USB devices, etc, so the one thing they all are is 
some form of a device, and the one thing that they are all not is a Card. Along with
the recent change from HDD: to Local Storage in Disks: this brings inxi terminology
out of the ancient times and into the present. Thanks for the nudge gm10.

Removed:
See inxi-perl/docs/inxi-fragments.txt for removed blocks.
1. Entire parser for lsusb -v, now it all runs either usbdevs or lsusb, and if Linux 
and not lsusb, it will use /sys exclusively, otherwise it uses /sys data to complete 
the lsusb vendor/product strings.
2. Two functions that were used by -A and -N to match usb devices and get their /sys data,
that became redundant since it all now goes through the /sys parser already, so those
features can get the data pre-parsed from the @usb arrays.

Output Examples:

Sort by DeviceID failures in 3.0.20 using Device ID:

inxi --usb
USB:
  Hub: 1:1 usb: 2.0 type: Full speed (or root) hub 
  Device-1: Wacom Graphire 2 4x5 bus ID: 1:2 type: Mouse 
  Device-2: Tangtop HID Keyboard bus ID: 1:3 type: Keyboard 
  Device-3: Verbatim bus ID: 1:11 type: Mass Storage 
  Device-4: Apple Ethernet Adapter [A1277] bus ID: 1:13 
  type: Vendor Specific Class 
  Hub: 1:85 usb: 1.1 type: Atmel 4-Port Hub 
  Device-5: C-Media Audio Adapter (Planet UP-100 Genius G-Talk) bus ID: 1:86 
  type: Audio 
  Device-6: Canon CanoScan LiDE 110 bus ID: 1:112 
  type: Vendor Specific Protocol 
  Device-7: ALi M5621 High-Speed IDE Controller bus ID: 1:113 
  type: Mass Storage 
  Hub: 2:1 usb: 3.1 type: Full speed (or root) hub 
  Hub: 3:1 usb: 2.0 type: Full speed (or root) hub 
  Hub: 4:1 usb: 3.1 type: Full speed (or root) hub 
  Hub: 5:1 usb: 2.0 type: Full speed (or root) hub 
  Hub: 6:1 usb: 3.0 type: Full speed (or root) hub
           
Corrected: sort by BusID in 3.0.21:

inxi --usb
USB:
  Hub: 1-0:1 usb: 2.0 type: Full speed (or root) Hub ports: 14 
  Hub: 1-3:85 usb: 1.1 type: Atmel 4-Port Hub ports: 4 
  Device-1: C-Media Audio Adapter (Planet UP-100 Genius G-Talk) 
  type: Audio,HID bus ID: 1-3.2:86 
  Device-2: ALi M5621 High-Speed IDE Controller type: Mass Storage 
  bus ID: 1-3.4:113 
  Device-3: Wacom Graphire 2 4x5 type: Mouse bus ID: 1-4:2 
  Device-4: Verbatim type: Mass Storage bus ID: 1-7:11 
  Device-5: Tangtop HID Keyboard type: Keyboard,Mouse bus ID: 1-10:3 
  Device-6: Canon CanoScan LiDE 110 type: <vendor specific> bus ID: 1-13:112 
  Device-7: Apple Ethernet Adapter [A1277] type: Network bus ID: 1-14:13 
  Hub: 2-0:1 usb: 3.1 type: Full speed (or root) Hub ports: 8 
  Hub: 3-0:1 usb: 2.0 type: Full speed (or root) Hub ports: 2 
  Hub: 4-0:1 usb: 3.1 type: Full speed (or root) Hub ports: 2 
  Hub: 5-0:1 usb: 2.0 type: Full speed (or root) Hub ports: 4 
  Hub: 6-0:1 usb: 3.0 type: Full speed (or root) Hub ports: 4
  
-----------------------------------
-- Harald Hope - Fri, 17 Aug 2018 14:07:01 -0700

=====================================================================================
Version: 3.0.20
Patch Version: 00
Script Date: 2018-07-30
-----------------------------------
Changes:
-----------------------------------
New version, new man. ARM enhancements and updates, -S data ongoing enhancements.

Fixes:
1. Added support for new ARM SOC types, including chromebook ARM. Note that so far I
have been unable to find a way to detect MMC networking, at least in a meaningful
way. I know where the data is, but I can't figure out how to reasonably integrate it
into the main ARM soc/device generator logic because it's fundamentally different 
from most platform or devicetree data.
2. Added alternate battery tests, this should cover a wide range of alternate 
battery IDs, while still preserving the distinction between system power batteries,
and device batteries. The detection is now far more dynamic, and can handle 
unknown syntax for battery ID, while not losing the ability to correctly identify
device batteries (like mice, keyboards, etc).
3. Trying a somewhat unreliable hack to get cpu variant for arm devices where the
current method fails. this may be removed if it causes false ID in the future.
4. Excluded all /driver/ paths from ARM SOC @pci generation, those give read errors
even as root.
5. Fixed a few defective wm version detections.

Enhancements:
The -S line continues to see many improvements.
1. Greatly expanded the set of info: items, now it covers all the toolbars, 
panels, and docks that I could find, plus a few things like icewmtray, where the 
wm has a built in panel. While there are probably more bar/panel/dock tools out 
there, and more will get added if or when they are encountered, now info: shows 
far more variants than ever before, and covers the range of options simpler wm 
users have for bars, trays, and panels. If I missed one that is detectable, by 
all means show how to detect it!
2. Fine tuned and added a few more window managers, and added version for some that 
were not showing versions.
3. Added 3 more dm version handlers, slim, gdm, gdm3, and refactored that code to 
use the same program_values/program_version logic that the other tools use.
4. A few more obscure and usb stick vendor IDs added.

-----------------------------------
-- Harald Hope - Mon, 30 Jul 2018 18:06:11 -0700

=====================================================================================
Version: 3.0.19
Patch Version: 00
Script Date: 2018-07-23
-----------------------------------
Changes:
-----------------------------------
New version, new man. Fixes, glitches, and stitches!

Fixed some subtle and not subtle issues that I've noticed recently.

Bugs:
1. The color scheme selector failed to remove the global value when a non global
setting was used. This led to global values never getting removed, even though
the text output said it would be, which is confusing, obviously, and always 
overriding the color selected. Thanks CentOS for helping find that one.

Fixes:
1. Fixed possible corrupted user inxi.conf values. Now skips null values, and 
fully validates as integer integer values.
2. Fixed fvwm-crystal detections, integrated it into new refactored desktop logic.
3. For systems without glxinfo or running inxi out of gui/desktop, Xorg was in many 
cases failing to show version, which made it not show anything for server: except 
N/A. This is caused by a relatively recent change in behaviors in xorg, where you 
have to run it directly from it's true path, which is something like /usr/lib/xorg
or /usr/lib/server-xorg at which point the error:
/usr/lib/xorg-server/Xorg.wrap: Only console users are allowed to run the X server
Figuring this out was tricky, and who the heck knows why Xorg -version would even
return such a silly error in the first place, but there you have it. Next time 
you wonder why inxi is so long, this is why, endless churn in basic and complex 
things! The fix is injecting the optional xorg paths into @paths right before,
and removing them right after, which avoids adding clutter to the @paths.
4. A ZFS fix, I'd noticed this one a while back, but after looking at the zfs 
Ubuntu tutorial page, I realized that this is the norm now, which is building zfs
with /dev/sda (no partitions). This lead to failing to detect the zfs components,
and reporting a bunch of partitions as unmounted which were part of that /dev/sdb 
type component array. By allowing /dev/sd[a-z] I fixed both errors at the same time,
but I don't know if this syntax extends to say, nvme zfs as well. Note that when 
you build zfs arrays with say, /dev/sdb /dev/sdc you'll see two partitions per 
disk, /dev/sdx1 which is the main data, and /dev/sdx2, which is a tiny 8mB partition,
no idea what it's for. 
5. Fixed missing konversation and hexchat version numbers in -I, finally found 
what was going on there. Note that hexchat --version used to pop up a gui, but 
I guess he finally fixed that, I am hoping.
6. Fixed some gentoo repo detections, but also found more variants. Not sure what
exactly is going on with repos there, will wait for gentoo user issue reports to
really lock those down.
7. BSD fixes, turns out FreeBSD uses that same map ... syntax in df -kT as OSX...
Also made sure to load sysctl data for -S row, I'd forgotten about the compiler 
test there which needs that data.
8. Fixed herbstluftwm version detection, turns out it's another one of those that
passes the entire path to the version program, so it shows: /sbin/herbsuftwm 0.22.0
which broke the regex, easy fix.
9. Completed refactoring of DesktopData, now it's all data array driven for most 
wm, desktops, etc, which makes adding/removing one very easy. All core data is now 
in program_values to allow for automated detections.

Enhancements:
1. With fix 1, added check_int and check_number utilities, these validate that inxi 
internal numeric or integer values actually are what they are supposed to be. This 
uses a neat Perl trick that makse the checks super fast and super accurate. Moved
all internal int/numeric test regex to use these.
2. Added file based version number detection, that was done for Deepin, which uses
/etc/deepin-version for its version number, but it can be used for anything.
3. Added Deepin and deepin window managers, Lumina, added bspwm wm, fixed muffin 
detections. Note that lumina has a weird behavior where when run outside of pinxi,
it outputs to stdout, but inside of pinxi, to stderr, who the heck knows how that
happens! 
4. Added zorin to supported base: distros. 
5. Even more disk vendors added! The list of no-name off brand chinese ssd vendors
appears to be endless! Added some more specific ids to capture unique strings 
that can be linked to a vendor.
6. Added /usr/home to default -P paths, that's used instead of /home in the real
world, so why not show it?
7. Because qt detection is possible, I've extended qt toolkit detection, but it's
also not super accurate, but it's far better than gtk tk was, so I'm leaving
that in. I also extended it to more wm/desktops since more are using qt now.
Note: budgie 11 is going to be qt, but there's no way to distinguish between 11 and
gtk 10 without doing a bunch of hacks so I'm leaving that alone.
8. Found a possible distro id source, added /etc/calamares detections to debugger,
I'll see if that shows some consistent patterns before I implement a last fallback
test for distro IDs. It may work.

Removed:
1. Giving up on fake/slow/inaccurate GTK toolkit detections, removed the entire 
codeblock and stored in docs/inxi-fragments.txt, but I'm not going to do package 
manager type version tests anymore, if we can't get the data directly from a program
or file, it's not going to happen, plus the gtk installed on the system means nothing
in relation to the gtk version used to build the desktop.


-----------------------------------
-- Harald Hope - Mon, 23 Jul 2018 12:57:38 -0700

=====================================================================================
Version: 3.0.18
Patch Version: 00
Script Date: 2018-07-16
-----------------------------------
Changes:
-----------------------------------
New version, new man. Fixes, a few changes, enhancements.

Fixes:
1. Removed /dev/zram type data from swap partitions, since that's ram, it's
not a partition, obviously.
2. More alternate IPMI syntax found, that's clearly going to take a while to have 
most syntaxes handled.
3. Small lm-sensors adjustment, fringe cases might scramble up hwmon and gpu 
temps, this is now handled.

Enhancements:
1. Added disk vendors, udinfo.
2. Exciting! New Architecture: MIPS! First datasets, confirmed working. This led to
more abstracting of the previously ARM specific logic to be for SOC in general.
3. Related to 2, added in fallback busybox cases for partition data without fs.
4. Added window managers, xmonad, ratpoison, 9dm, gala (for Pantheon), notion,
windowlab
5. Added Pantheon desktop detection. Note, unable to find a way to get version 
number.
6. IMPI sensors: added in psu fans, dimm temp.
7. New -Cxxx option: cpu boost (aka turbo), state enabled / disabled, only shows 
if system has that option.

Changes:
1. Made toolkit for -S be -xx instead of -x, only Trinity/KDE and XFCE have that 
data.
-----------------------------------
-- Harald Hope - Mon, 16 Jul 2018 17:31:30 -0700

=====================================================================================
Version: 3.0.17
Patch Version: 00
Script Date: 2018-07-12
-----------------------------------
Changes:
-----------------------------------
New version, new man. Changes, bug fixes, enhancements! Don't delay!

Bugs:
1. A real bug, the detection for true path of /dev/root had a mistake in it and 
would only have worked in half the cases. This was an easy fix, but a significant 
one since it also would lead to the actual root / partition showing in Unmounted.
2. Related to the item Fixes-2, if two USB networking devices  were attached,
the second one's bus and chip ID would go on the wrong line of data if -n or -i
option were used. Since that would be the line belonging to the previous device,
that obviously was weird and wrong.
3. NEW: latest kernel can show hwmon data in sensors, for example from wifi chip.
This broke CPU temp detection and showed way too high cpu temp, so this fix is 
fairly important since new kernels may have this new sensors hwmon syntax.
4. Sensors: IPMI alternate syntax found, also case with no data in expected columns,
just N/A, so now the ipmi sensor logic skips all lines with non numeric values in 
the values column. This is what it should have done all along, it was trusting
that values would always exist for the field names it looks for.

Fixes:
1. ARM networking fix. ARM devices like rasberry pi that use usb bus for networking 
showed the no data message even though usb networking was right below it. This is 
corrected, and now that only shows if both main and usb networking failed for ARM.
2. Big repo fix: while testing distro and Trinity live cds, I discovered that apt is 
sometimes used with rpms, which made PCLinuxOS and ALT-Linux Repos item show the 
apt files but no data since the pattern was looking for start with deb. Added rpm 
to pattern, so all distros that use apt running rpms should now 'just work'.
3. Fixed more distro id things, PCLinuxOS should now show its full distro string.
4. Debugger: Filtered out more blocks of /proc, that data is bloated and messy, found
another case where it collected a vast amount of junk system data from zfs in that
case, just blocked the entire range. I had no idea /proc had so much junk data in it!
5. As noted above, IPMI, yet another alternate syntax for field names. My hope that
IPMI software and sensors will be more logical and consistent than lm-sensors output
is proving to be merely wishful thinking, I think now out of 3 datasets I've gotten,
I've seen 3 variants for syntax, not to mention the ipmi-tool vs ipmi-sensors 
differences. So IPMI will be like all sensors stuff, a work in progress, to 
be updated with every newly discovered alternate syntax and data set.

Enhancements:
1. Disk vendors, added some, improved pattern detections for others. This feature 
is getting better all the time. Thanks linuxlite hw db, easy to scan for missing 
vendors in their inxi data.
2. Added more wm, budgie-wm, mwm, variants of kwin and Trinity's Twin, several others, 
more refactoring of core wm/desktop code. 
3. Added gpu ram and reworked memory logic for rasberry pi, which is the only SBC 
I am aware of that uses that tool. Now reports the actual total, and also gpu: for 
ram data, so you can tell that the gpu is using part of the total. Again, this comes
from issue #153. Also added that info to man page for -I part.
4. Added more ARM and PCI cleaners for neater and more concise ARM/PCI output.
5. Added Trinity support to Desktop section, this had at least two different detection 
methods, but since the first just shows KDE original data, only the second one proved 
to be Trinity specific. Happily, the full data is available, toolkit, desktop version,
and wm (Twin).
6. New -G,-A,-R -xxx feature: vendor:. Note that vendor data is very bloated and 
messy so it's trimmed down substantially, using a series of filters and rules, and 
thus it can contain the following: the actual vendor, like Dell, nothing, the 
motherboard vendor/product for board based PCI items, or a complete vendor/product 
string if it's unique. I couldn't think of a clean field name that meant: 
vendor OR vendor + basic product info OR motherboard + board version OR full 
product name, including vendor, so in the end, I just used vendor: but it's not 
quite the right term, but nothing else seemed to work better. Testers responded 
very enthusiastically about this feature so I guess the vendor: feature is ok.

Changes:
1. Biggest change: Drives: HDD: total: the HDD: is now changed to: Local Storage: 
This was part of issue #153 and is a good suggestion because HDD generally was used to
refer to hard disks, spinning, but with nvme, m.2, ssd, mmc, etc, that term is a bit 
dated. 'Local' is because inxi does not include detected remote storage in the totals.
2. The recent --wm option which forced ps as data source for window manager detection
has been reversed, now --wm forces wmctrl and ps aux is preferred. Still falls back 
to wmctrl in case the ps test is null, this is better because I have to add the wm
data manually for each one, whereas wmctrl has an unknown set and probably variable 
set of wm. Note that I reversed this because I saw several cases where wmctrl was 
wrong, and reported a generic source wm instead of the real one. Since most users are 
not going to even be aware of the wm: feature as enhanced with --wm switch, this 
should have no impact on users in general. Since the detected wm name needs to be
known and handled to get assigned to wm: and wm version data, I think it will work 
better to have the known variants match with the wm data values, then just fallback to 
unknown ones that can get filled in over time as we find wm that people actually 
use and that you can get version info on and detect.
3. Moved help menu debugging options to bottom of help, which makes the option set 
more logical as you go down the list:
Output Control Options:
Additional Options:
Advanced Options:
Debugging Options:

Removed:
1. Got rid of tests for GTK compiled with version for many desktops, that test 
was always wrong because it did not have any necessary relation to the actual 
gtk version the desktop was built out of, and it also almost always returned no 
data. Since this is an expensive and slow test, and is always going to be wrong 
or empty anyway, I've removed it. My tests showed it taking about 300ms or so
to generate no data, heh. That's the tk: feature in -S. 
Note I also found that gnome-shell takes an absurdly long time to give --version 
info, the slowest of all such things, 300ms again, just to show version? Someone 
should fix that, there's no possible reason why it should take 300 milliseconds 
to give a simple version string. Note that this returns tk: to only returning 
real data, which in this case means only xfce, kde, and trinity, which are the 
only desktops that actually report their toolkit data. I'll probably remove 
that code in the future unless I can think of some real use for gtk version 
elsewhere, but it's just junk data which doesn't even work.

In the future, I will not try to emulate or guess at desktop toolkits, either they
show the data in a direct form like XFCE or Trinity or KDE do, or I won't waste
resources and execution time making bad guesses using inefficient code and logic.
QT desktops like LXQt I'm leaving in because I believe those will tend to track 
more closely the QT version on the system, and the tests for QT version aren't
huge ugly hacks the way they are for GTK, so they aren't as slow or intrusive, but
those may also get removed since they almost never work either. But they are also
slowing down the -Sx process so maybe they should be removed as well, I'll think 
about it. Since they only are used on LXQt and razer-qt, it probably isn't a big 
deal overall.

-----------------------------------
-- Harald Hope - Thu, 12 Jul 2018 13:44:34 -0700

=====================================================================================
Version: 3.0.16
Patch Version: 00
Script Date: 2018-07-08
-----------------------------------
Changes:
-----------------------------------

New version, new man. Several bug fixes, enhancements, options.

Bugs:
1. In some cases, -S Desktop showed xfce when it wasn't xfce. This should be largely
corrected now.
2. Big bug: using lxqt-about for lxqt --version, now opens a dialog box, gui, 
so removed that, and now checking lxqt-session for version info instead.

Fixes:
1. Now calling hitachi hgst drives vendor: HGST (Hitachi) to differentiate between 
regular Hitachi and HGST hitachi. Added a few more disk vendors.
2. Distro base and core: added linuxlite, elementary. Some distros use:
/etc/upstream-release/lsb-release so testing for that and os-release now too.
3. Extended qt detections, may catch a few stray ones now in non kde qt 
desktops.
4. Complete refactor of desktop, desktop info, wm, and -G compositor, now much 
easier to extend each feature and add detections, move order around, etc.
Also moved wm to -Sxx now that I use fallback ps aux tests, which were themselves 
also totally refactored and optimized. Fixed WindowMaker id, which is made more 
annoying because they are the only upper/lower case program name, but in at least 
debian, the actual program name is wmaker internally. 
Also tightened in particular gnome-shell, which was failing to show due to too
restrictive filtering of desktop/vm repeats. Most wm do not contain the desktop 
name in the string, gnome-shell does, only one I'm aware of.
5. Removed N/A from wmctrl output, which just means null, which is what we want.
6. Removed gnome-shell from info: since it will now appear in wm: if found. Added 
a few -panel items to info:

Enhancements:
1. Showing type: network bridge for -N when it's type 0680, which is an odd pci 
type, generally it's a network bridge, but I figured it's best to show that 
explicitly to avoid confusion. This extends the 'type:' from just USB.
2. Added more window managers to wm, matchbox, flwm, fvwm2 (used to just use fvwm,
this was wrong, it's its own thing), a few others.
3. Added a few more compositors to -Gxx. kwin_x11 should be the most noticeable, 
but added some more obscure ones too. This feature requires more work.
4. Extended ARM syntax to support a new one, path to /sys/device... has an extra 
/soc/ in it, that is now handled, all are tested for. Confirmed working. Note that 
ARM has to be confirmed fixed on a device by device basis, since there are key 
syntax differences in the paths, but it will get easier the more variants that are 
discovered. Added another trimmer to cut off \x00|01|02|03 special non printing 
characters which show as weird jibbberish in output, for model/serial number.
5. Refactored wm, info, desktop, compositor, now all use @ps_gui, which is all that 
is tested against, not the entire ps_cmd array. This drops the possible tests down 
massively since the only things in ps_gui will be the actual stuff found that matches 
all the patterns required for that system, not all ps items. Added marco, muffin 
fixes. Was showing wm: Metacity (Marco) that is not correct, now shows marco, which
then allows to get version too. 
5. -Sxxx now shows wm: version as well, which can be of use now and then.
6. --wm added to trip force using of ps data for wm, this can be useful because 
I don't know all variants of wmctrl output, so that makes it easier to test.
7. Added finally support for --debug 3, which now shows timers, functions, and args
printed to screen.
8. Added qmake --version to fallback qt detection. 


-----------------------------------
-- Harald Hope - Sun, 08 Jul 2018 15:57:58 -0700

=====================================================================================
Version: 3.0.15
Patch Version: 00
Script Date: 2018-07-03
-----------------------------------
Changes:
-----------------------------------

New version, new man. Big bug fix, new features.

Bugs:
1. Finally tracked down and solved the Xorg drivers bug which was caused by 
Xorg checking its list of defaults 2 times, not 1, which resulted in failed 
status on second try since it was already loaded. Secondary bug was found that
resulted in failing to show the failed, and only showing unloaded, which was also
wrong. This finally fixes issue #134 item 5. Thanks Mint users for the help on 
that one.
2. Small bug in Openbox version detection, typo.
3. fixed a small glitch in the dm: detection that on systems where /var/run 
exists but is not linked to /run, the dm would fail to get detected.

Fixes:
1. Xfce when defaulting to no version found goes to 4, this is a bad idea, it's
better to not show any version, since xfce could one day be 5.
2. Fixed Blackbox fallback detection, there were cases where Blackbox not found 
in xprop -root, now it falls back to ps aux detection.
3. For wm: tested all known variants, added support for things like Mutter (Marco) 
syntax. Note that bunsenlab uses XDG_CURRENT_DESKTOP=XFCE to work around some
glitches, but it's actually Openbox. If run as root, it will show openbox correctly,
otherwise -Sxxx will show wm: openbox, but that's due to bunsenlabs choices there.
4. Rewrote a lot of DistroData to handle more dynamic testing of values, it's sad
that at almost 2020 we are still stumbling around trying to find a consistent way
to identify distros, and derived distros.
5. Added more debugger data collectors in the logging, some data was not
being tracked well during log process which made debugging harder.

Enhancements:
1. New feature, -Gxx now shows for Xorg drivers alternate: which are drivers that
Xorg auto checks but which are not installed. Those were ignored in the past. This
can be useful to see for example that there are other driver install options 
available. Thanks gm10 for that suggestion.
2. Tested and added the following explicit handlers for Distros: and base: in 
some cases:
grml, peppermint, kali, siduction, aptosid, arco, manjaro, chakra, antergos, 
bunsenlabs, and a few others. These are a pain to add and test, basically I have
to boot a live cd of each one, then test the files and ID methods, but the ID 
methods must also be as dynamic as possible because you never know when a distro 
is going to change how they use os-release vs issue vs lsb-release vs <name>-release.
I would have tested a few more but their livecds failed to properly run on vbox.
3. Added a few more disk vendor IDs.
4. Added some more programs to debugger data collector for future feature vdpau, but
that needs more data because we don't really know the variants for example for 
dual card systems.
5. Man page: changed extra options to use only one option name per list of options
for that feature, each separate item is started as a new paragraph with -
This makes it a bit more consistent and maybe slightly easier to read the man. 
Added -Gxx item, updated -Sx item.

-----------------------------------
-- Harald Hope - Tue, 03 Jul 2018 14:13:32 -0700

=====================================================================================
Version: 3.0.14
Patch Version: 00
Script Date: 2018-06-27
-----------------------------------
Changes:
-----------------------------------
New version. Tiny bug fix, Ubuntu based distros only.

The 3.0.13 system base feature had a small bug in the logic that was supposed to
get the version id from codename, the bug made it never work. This is only relevant 
for Ubuntu based distros, so if you are on some other base like Debian or Arch, you
can ignore this one, 3.0.13 will work fine.

No other changes, this was mainly for Mint, and other Ubuntu derived distros in 
the future.

-----------------------------------
-- Harald Hope - Wed, 27 Jun 2018 16:50:30 -0700

=====================================================================================
Version: 3.0.13
Patch Version: 00
Script Date: 2018-06-23
-----------------------------------
Changes:
-----------------------------------
New version, man page. New features and fixes!

Bugs:
1. -I line, sometimes running in showed sudo. This is hopefully now corrected.

Fixes:
1. CPU architectures, small reordering based on hopefully more reliable data 
source, but these are hard to find conclusively.
2. -S Distro id: switched ordering of prefered os-release sources, PRETTY_NAME 
is not being used consistently, too many distros leave out the distro id found 
in VERSION, so now it uses NAME + VERSION if both are there, then PRETTY_NAME
as a fallback. That reverses how it was, but it will provide better results for
most distros. Distros that did this properly to begin with should see no change.
3. Now that inxi is basically debugged and working, I've removed the output of
'inxi' from the -t lines. It remains for the pinxi branch however so you can 
see how many resources pinxi uses to run.
4. ipmi sensors data are proving to be as random as lm-sensors. Added another 
alternate syntax for sensors.
5. CPU: found an alternate syntax, again, for IPMI and sensors data, added 
support, I hope, for that.

Enhancements:
1. Added /proc debugger tool to debugger. Due to oddities with how the /proc file 
system is created, it will only run as user, not root, unless the --proc flag is 
used. More programs added to debugger commands.
2. More disk vendor strings added, fine tuning of vendor detections. There is a 
tendency in NVMe disk names to put the vendor name in the middle of the string. 
That is now handled for a few key vendors.
3. Added basic ARM SOC and server support. This will require more work in the future
because the syntax used varies significantly device to device, but the featuers 
are now in place to add that support. Most SBC ARM devices should now at least show
the model and details data in machine data, and some will show -G -A -N data as 
well.
4. ARM CPU: added first attempt to show the cpu variant as well as the more 
generic ARM data. This shows 1 or more variants, some ARM devices have two different 
cpu cores running at different speeds. Odroid for example.
5. Added system 'base:' data for -Sx, that modifies Distro: in supported cases.
Currently only Mint and MX/AntiX supported because each specific distro must be 
handled explicitly using empirical file based data tests. I decided against showing
this for rolling release, since really everyone knows that Antergos is made from 
Arch Linux, so showing that does not provide much useful information, whereas 
showing the Ubuntu version Mint was made from does.

Note that several derived distros are changing how they use os-release, so the 
tools had to be revised to be more dynamic, which is a pain, and makes it even
more empirical and less predictable to print what should be trivially easy to
gather distro and derived source data.

If your distro is not in this list and you want the base data to be present, please
supply a --debug 22 dataset so I can check all the files required to make the 
detection work. If your distro has changed methods, please note which methods 
were used in the past, and which are used now.
6. Added Armbian distro detection, that's tricky. Added Rasbpian detections. 
Added improved Antergos, Arco, and maybe Chakra, Arch detections.
7. Big one: Hardware RAID basic support added. Note that each vendor, and 
unfortunatley, often each product line, has its own raid status and drive
reporting tools, which makes adding the actual drive/raid/status report part 
very time consuming to add. I may only support this if a certain software maker's
raid tools are installed because they are much simpler to parse, but for now,
it only shows the presence of the raid device itself, not disks, raid status, etc.


-----------------------------------
-- Harald Hope - Sat, 23 Jun 2018 10:24:30 -0700

=====================================================================================
Version: 3.0.12
Patch Version: 00
Script Date: 2018-06-05
-----------------------------------
Changes:
-----------------------------------
New version

Bug fix, debugger when run as root hangs on proc traverse.

-----------------------------------
-- Harald Hope - Tue, 05 Jun 2018 01:18:18 -0700

=====================================================================================
Version: 3.0.11
Patch Version: 00
Script Date: 2018-06-04
-----------------------------------
Changes:
-----------------------------------
New version, man page.  Features, bugs, fixes!

Bugs:
1. Color selector accepted '' as a value, which it would then write to config 
file, creating errors since it's not an integer value. 
2. Corrected distro id error for last fallback case, making the distro ID out
of the filename itself, that was missing the assignment to $distro.
3. mmcblk0 was showing up as an unmounted partition, due to failing to filter
mmcblk[0-9] in unmounted. 

Fixes:
1. Added missing compositor kwin_wayland to compositor detections
2. For -M, on laptops, sometimes Type: would duplicate in Chassis: type: which 
looks silly, so now it checks to make sure the two values are different before 
using the Chassis: type: data.
3. -D disk vendor, added GALAX, fixed Toshiba, which sometimes occurs other than
start of disk id string, so now it checks the whole string. This seems particularly
common in nvme devices from Toshiba. This is the only vendor I have found that 
puts the vendor string later in the device id string.
4. Added protection against unreadable but present /etc/issue. This was caused 
by a now fixed bug in OpenSuSe, which symbolically linked to create /etc/issue 
from /var/run/issue, but with 600 permissions, root read only, that is. Note that
this bug has since been fixed (now has the correct 644 permissions), but I figured 
better safe than sorry in case anyone else decides that's a good idea in the future. 
Now only sends to reader if readable. 
5. Related to 4, made reader not exit on failure, now just prints error message and
keeps going.
6. Upped maximum distro string length to 60, from 50. AntiX for example was coming
in at 48, so I decided to add some safe room now that inxi does dynamic sizing, it 
is not a big problem having very long distro id strings.

Enhancements:
1. Added basic /proc data parser to debugger. Can't get all the data or files because
it's simply too big, but grabs the basics.
2. Added vcgencmd for some ARM rasberry pi debugging.
3. ARM: add model if not found in /proc/cpuinfo, or if different. 
4. Added Tdie cpu sensor type, this is coming soon in latest kernels, so catching 
it early. Tdie will replace k10-temp sensor item temp1.
5. Added --admin extra data option, and first set of extra data, -C, which will
show CPU Errata (bugs), family, model-id, stepping (as hex (decimal) or hex if less
than or equal to 9), microcode (as hex). 
6. Battery: added with -x option, if found, attached battery driven devices, like 
wifi keyboard, mouse. If upower is present, will also try to show battery charge 
percent for those devices. Note that -B only shows the Device-X items if -x is used,
and will not show anything in -F unless there is a system, not device, battery 
present, or if -Fx is used and there is a Device battery detected. 
Added upower to recommends.
7. Basic -Dxxx disk rotation speeds added. Requires udevadm. Not all spinning disks
show rotation speeds, and it depends on udevadm, so if no rotation found, it shows 
nothing.
8. Added explicit Arco Linux and Antergos distro ID support. This requires more 
checks, but in theory, both should now show Arco Linux or Antergos instead of default 
'Arch Linux' as before, plus extra data if found, like version.

-----------------------------------
-- Harald Hope - Mon, 04 Jun 2018 16:48:53 -0700

=====================================================================================
Version: 3.0.10
Patch Version: 00
Script Date: 2018-05-21
-----------------------------------
Changes:
-----------------------------------
New version, new man page.

This version is very peaceful, no big changes, just a few fixes and small new 
features added. 

This version corrects a few small glitches reported by users, and adds basic support
for disk speed report. Note that this is not as accurate as I'd like, it tries, but
there is not a lot of data to be had. Limits of disk speed seems to be, roughly:
1. most speed is reported as max board can do, not max drive can support
2. usually when speed is reported as lower than max board speed, it's correct, but,
as usual, exceptions to this were found during testing.
3. usually if drive is faster than board speed, it reports board speed, but, again,
exceptions to this rule were found during testing.

However, with this said, it's usually more or less right, at least right in terms 
of the fastest speed you can expect to get with your board. NVMe was also supported,
that's much more complicated because NVMe has >= 1 lane, and each lane has up and
down data. The reported speed is max in one direction, and is a function of the 
PCIe 1,2 20% overhead, and PCIe 3,4,5 ~1.5% overhead. inxi shows the actual usable
data rate, not the GT/s rate, which is the total transfers per second the unit 
supports. 

So due to the unreliable nature of the data, this is only a -xx option. There is
also in general no data for USB, and none for mmcblk (sd cards usually).

This feature may be enhanced with a C Perl XS library in the future, we'll see how 
that goes.

FIXES:
1. corrected an issue where a networking card of type Bridge failed to be detected.
This is now handled. This was a PCI type I'd never seen before, but it exists, and
a user had it, so now it will work as expected for this type.
2. changed the default units in weather to be m (metric) imperial (i). While this is 
not very intuitive for me, it's easier to explain I think. The previous c / f 
syntax is supported internally, and inxi will just translate c to m and f to i, so 
it doesn't matter which is or was used on a config file or with the --weather-unit 
option.
3. BSD uptime had a parsing glitch, there was a spelling variant I'd never seen in
GNU/Linux that broke the regex. This is corrected now.
4. Fixed a few small man page glitches, some ordering stuff, nothing major.
5. Fixed BSD hostname issues. There was a case where a setup could have no hostname,
inxi did not handle that correctly. This fix would have applied to gnu/linux as 
well.
6. Fixed a few bsd, openbsd mostly, dm detections, there is a secondary path in 
OpenBSD that was not checked. This also went along with refactoring the dm logic 
to be much more efficient and optimized.
7. Fine tuned dmidecode error message.
8. Fixed PCI ID issue, it was failing to catch a certain bridged network type.
9. A more global fix for unhandled tmpfs types, in this case, shm, but added a
global test that will handle all tmpfs from now on, and exclude that data from 
-p reports.

NEW FEATURES:
1. First attempt to add basic disk speed (Gb/s). Supported types: ATA, NVMe. No 
speed data so far handled or found: mmcblk; USB. Also possibly older /dev/hda 
type devices (IDE bus) may not get handled in all cases. This may get more work
in the future, but that's a long ways off. This case oddly was one where BSDs had 
support for basic disk speed reports before GNU/Linux, but that was really just 
because it was part of a single data line that inxi parsed for disk data anyway
with BSDs.
2. Man items added for -Dxx disk speed options.

-----------------------------------
-- Harald Hope - Mon, 21 May 2018 14:25:53 -0700

=====================================================================================
Version: 3.0.09
Patch Version: 00
Script Date: 2018-05-11
-----------------------------------
Changes:
-----------------------------------

New version, new man. Bug fixes, feature updates.

The main reason to release this earlier than I had hoped was because of the /sys 
permission change for serial/uuid file data. The earlier we can get this fix out,
the better for end users, otherwise they will think they have no serial data when 
they really do. 

FIXES:
1. this bug just came to my attention, apparently the (I assume) kernel people 
decided for us that we don't need to see our serial numbers in /sys unless we are 
root. This is an unfortunate but sadly predictable event. To work around this 
recent change (somewhere between 4.14 and 4.15 as far as I can tell), inxi -M and 
-B now check for root read-only and show <root required> if the file exists but 
is not user readable. I wish, I really wish, that people could stop changing stuff 
for no good reason, but that's out of my control, all I can do is adjust inxi to
this reality. But shame on whoever decided that was a good idea.

This is not technically an inxi bug, but rather a regression, since it's caused 
by a change in /sys permissions, but users would see it as a bug so I consider 
this an important fix.

Note that the new /sys/class/dmi/id permissions result in various possible things:
1. serial/uuid file is empty but exists and is not readable by user 
2. serial/uuid file is not empty and exists and is not readable by user
3. serial/uuid file does not exist
4. serial/uuid file exists, is not empty, and is readable by root

Does this change make your life better? It doesn't make mine better, it makes
it worse. Consider filing a bug report against whoever allowed this regression 
is my suggestion. 

BUGS:
1. A weather bug could result in odd or wrong data showing in weather output, this 
was due to a mistake in how the weather data was assembled internally. This error 
could lead to large datastore files, and odd output that is not all correct.

2. More of an enhancement, but due to the way 'v' is used in version numbers, 
the program_version tool in some cases could have sliced out a 'v' in the wrong
place in the version string, and also could have sliced out legitimate v values.

This v issue also appeared in bios version, so now the new rule for program_version
and certain other version results is to trim off starting v if and only if it is 
followed by a number. 

FEATURES:
1. Added in OpenBSD support for showing machine data without having to use dmidecode.
This is a combination of systcl -a and dmesg.boot data, not very good quality data 
sources, but it is available as user, and it does work. Note that BIOS systems 
are the only ones tested, I don't know what the syntax for UEFI is for the field 
names and strings. Coming soon is Battery and Sensors data, from the same sources.

Sadly as far as I know, OpenBSD is the only BSD that has such nice, usable (well,
ok, dmesg.boot data is low quality strings, not really machine safe) data. I 
have no new datasets from the other BSDs so I don't know if they have decided to
copy/emulate this method.

2. By request, and this was listed in issue #134, item no. 1, added in weather 
switchable metric/imperial output. Also added an option, --weather-unit and 
configuration item: WEATHER_UNIT with possible values: cf|fc|c|f. The 2nd of 
two in cf/fc goes in () in the output. Note that windspeed is m/s or km/h as metric, 
inxi shows m/s as default for metric and (km/h as secondary). Also fixed -w 
observation date to use local time formatting. That does not work in -W so it shows 
the default value.

3. Updated man to show new WEATHER_UNIT config option, and new --weather-unit 
option. Also fixed some other small man glitches that I had missed.

-----------------------------------
-- Harald Hope - Fri, 11 May 2018 13:29:06 -0700

=====================================================================================
Version: 3.0.08
Patch Version: 00
Script Date: 2018-05-06
-----------------------------------
Changes:
-----------------------------------

New version, new tarball. New features, bug fixes.

This is a big one.

NEW FEATURES:

1. By Request: Disk vendor is now generally going to be shown. Since this uses 
empirical data to grab the vendor name, from the model string, it will not always 
find anything. When it fails to find vendor data, no vendor: item will show.

Note that some MMC devices will probably not show vendor data, but that's due to
there being no data that reveals that.

2. Extended -sx volts to also show voltage from lm-sensors if present. Many 
systems show no voltage data with lm-sensors, but now if any is found, it 
will show, same as impi.

3. Moved to lsblk as primary source for partition/unmounted filesystem, uuid, and 
label data.

Falls back to previous methods if lsblk does not return data. Some lsblk do not 
show complete data unless super user as well.

4. Refactored code to be more logical and clear. 

5. Added for OpenBSD -r: /etc/installurl file.

BUG FIXES:

1. CRITICAL: /sys/block/xxx/device/model is in some cases truncating the disk 
model name to 16 characters. This is not  an inxi bug, it's a bug with /sys itself.

To fix this, inxi now uses for GNU/Linux /dev/disk/by-id data which does not 
ever do this truncation. It's also faster I believe to read that directory 
once, filter the results, then use the data for vendor/model/serial.

this was also part of the disk vendor data feature.

2. Openbsd networking fix. Was not showing IF data, now it does.

3. Fixed bug with unmounted where sometimes md0 type partitions would show 
even though they are in a raid array.

4. Fixed disk rev, now it searches for 3 different files in /sys to get that data.

5. Fixed bug with very old systems, with sudo 1.6 or older, for some reason that 
error did not get redirected to /dev/null, so now only using sudo -n after explicit 
version test, only if 1.7 or newer.

6. Fixed a few null results in fringe cases for graphics. Resolution now shows 
NA for Hz if no hz data found. This was only present on a fringe user case 
which is unlikely to ever impact normal X installations.

7. Fixed BSD L2 cache, was showing MiB instead of KiB, wrong math.


-----------------------------------
-- Harald Hope - Sun, 06 May 2018 20:23:30 -0700

=====================================================================================
Version: 3.0.07
Patch Version: 00
Script Date: 2018-04-17
-----------------------------------
Changes:
-----------------------------------
New version, new man. Bug fixes. BSD fixes.

Bugs fixed:
1. CPU: MT/HT was wrong for old xeon, made mt detection more robust and hopefully
more reliable, removed all explicit b_xeon based tests.
2. fixed /dev/mapper glitch, that make /dev/mapper links fail to get id'ed.
3. openbsd: fixed memory handler; fixed cpu flags, fixed partitions handling.
4. freebsd: fixed similar partition bugs, these were caused by the darwin patch.
5. man page: fixed top synopis syntax, thanks ESR. 
6. partitions fs: fixed possible failures with lsblk fs. lsblk: added debuggers 
so we can track down this failure in the future. 
7. added sshfs filter for disk used output, note, there is a possible syntax for 
remote fs that isn't handled: AAA:BBB that is, no :/, only the :. This makes 
explicit detection of still unknown remote fs very difficult since : is a legal 
nix filename character.

-----------------------------------
-- Harald Hope - Wed, 18 Apr 2018 19:29:02 -0700

=====================================================================================
Version: 3.0.06
Patch Version: 00
Script Date: 2018-04-17
-----------------------------------
Changes:
-----------------------------------
New version. 2 bug fixes.

1. -xtm was showing memory %, not cpu % in cpu item
2. -G compat-v was showing for nvidia, it's not supposed to, and was also wrong 
for nvidia, they forgot to update one of their gl string numbers.

-----------------------------------
-- Harald Hope - Tue, 17 Apr 2018 16:52:05 -0700

=====================================================================================
Version: 3.0.05
Patch Version: 00
Script Date: 2018-04-17
-----------------------------------
Changes:
-----------------------------------
New version, new man. Small new enhancements. 

1. Added to -s for ipmi, with -x: voltage 12v,5v,3.3v,vbat; for -xx, dimm/soc p1/p2 
voltages
2. enhanced wm: feature, needed more filters and protection against redundant data 
3. basic apple osx fixes to keep it from crashing, but I'm not spending any more 
time on apple junk unless someone pays me for my time, I can't stand the product or 
company, it's the total antitheses of freedom or free software, or even openness.
4. openbsd/bsd fixes: openbsd was failing to get cpu flags due to a small oversight 
5. -C now shows bits: for the true bits of cpu, not the kernel bits. This is not 
a reliable measurement but should be right about 95+ percent of the time, and 
basically all of the time for GNU/Linux on Intel/AMD, most of the time for ARM.
When it doesn't know it does not guess, and shows N/A.
6. bsd fix for usb, was running numeric action on string value
7. fixed stderr tool for program_version, now it's hard-coded in program_values
which removes an unneeded regex search for every program version test.
8. Mate detection, switched to using mate-sesssion instead of mate-about, the 
latter is not getting updated and has the wrong version number on it.

-----------------------------------
-- Harald Hope - Tue, 17 Apr 2018 13:17:14 -0700

=====================================================================================
Version: 3.0.04
Patch Version: 00
Script Date: 2018-04-14
-----------------------------------
Changes:
-----------------------------------
New version. Fixes several issues.

1. issue #145 - corrects case with vm xeon where phys id skips numbers, creating 
bad array looping error.
2. for issue #143, added user PATH to static list of paths, this works around distros
that have chosen to abandon the FSH standard, sigh... This adds to number of paths that 
have to be checked, but there was no clean way to handle it otherwise.
3. For MATE, added new version source, mate-session, because mate-about was reporting 
a non-matching version number for current MATE.

-----------------------------------
-- Harald Hope - Sat, 14 Apr 2018 17:52:33 -0700

=====================================================================================
Version: 3.0.03
Patch Version: 00
Script Date: 2018-04-12
-----------------------------------
Changes:
-----------------------------------
New version. NBD network block device fixes 

Two enhancements/bug fixes:
1. inxi did not have support for network block devices /dev/nbd0 type syntax in 
disks.
2. this caused a slight failure in lsblk output, so I switched to using lsblk -P
to force paired key values, which are then put into an array of hashes.

These both appeared on an ARM server system, but surprisingly, there were no ARM
specific issues at all on that system.

Both issues/enhancements tested and working fine.

-----------------------------------
-- Harald Hope - Thu, 12 Apr 2018 19:22:27 -0700

=====================================================================================
Version: 3.0.02
Patch Version: 00
Script Date: 2018-04-12
-----------------------------------
Changes:
-----------------------------------
new version, new man.

Rolls up a few changes from the latest features:

1. For -Dxxx, if root, will use fdisk to try to find partition table scheme (mbr/gpt)
2. For Display: <protocol> server: will try to use loginctl if out of X and using 
--display flag to force display data and not root.

This completes more or less the very  last minute features added pre 3.0.0 version.

I wanted to get these in because the features were not super useful since they only
worked on a few systems, particulary the scheme: 

-----------------------------------
-- Harald Hope - Thu, 12 Apr 2018 15:26:00 -0700

=====================================================================================
Version: 3.0.01
Patch Version: 00
Script Date: 2018-04-12
-----------------------------------
Changes:
-----------------------------------
New version, new man. Fine tunings.

New features:
1. for a very few systems that have wmctrl installed, shows with  -xxxS, wm if present 
2. an attempt to get display protocol from out of X, using --display and loginctl

Enhancements:
1. made xorg display server and protocols show more consistently with other layout:
Display: x11 server: X.org 1.9.12 drivers: loaded: ...
if no display protocol found: 
Display: server: X.org 1.9.12 drivers: loaded: ...

This brings the -G in line with the other lines, of not putting different data types
inside of parentheses as much as possible. -I still has two of these, but so far it's
not clear how to otherwise show SSH or su/sudo/login in their respective spaces.

Debugger data collector also has something I should have added ages ago, gz filename
now includes the basic 2 digit inxi version number, like 3.0 at end, so I can readily 
determine the debugger inxi version, and thus avoid having to root through lots of
versions to find new stuff.

These are all largely cosmetic improvements, or debugger adjustments, except for -Sxxx
now offering wm: if present.

Also changed Desktop: name... (toolkit data) to: Desktop: name... tk: toolkit data 
to be more consistent, while not adding great length to the output.

These two changes should also help export to json/xml since that puts unique key/values
back into key value pairs, not merging two together.

-----------------------------------
-- Harald Hope - Thu, 12 Apr 2018 13:17:26 -0700

=====================================================================================
Version: 3.0.00
Patch Version: 00
Script Date: 2018-04-09
-----------------------------------
Changes:
-----------------------------------
New version, new man. Beta / 2.9 testing completed.

inxi 3.0 is now ready for prime time. No substantial issues have been found over 
the past week. All outstanding issues and bugs have been corrected. The man page 
and help page have been edited fairly heavily to improve usability and readablity.

All work and development and support for inxi 2.3.56 is ended. No issues for 
2.3.56 will be accepted since there is no way to support that version, it 
being in a different set of languages (Gawk/Bash) than inxi 2.9/3.0 (Perl 5). 
So the sooner you move your distro package pool to new inxi, the sooner your 
users can get support for any issues with current inxi.

Beta and 2.9 prerelease testing is completed, and has resulted in a much 
better inxi than I could have hoped for.

There are so many new features and enhancements in the new inxi that it's hard 
to list them all. See previous commits for a more in depth record.

1. New options: --slots (PCI Slots); --usb 
2. Exports to json/xml with --output options
3. Every line has been enhanced, with tighter output control, better key / value 
pairings, more accurate values.
4. Line wrapping is now fully dynamic, which means inxi works down to 80 columns 
and should basically never wrap (except for very long repo lines, but that's not 
really fixable).
5. More controls, more user configuration options (see man page).
6. So many small new features that it's hard to list them all. Shows SSH in -I 
if SSH. Shows sudo/su/login in -I if relevant and detectable. Shows disk partioning 
scheme in some cases (more coming). Removes color codes if piped or redirected to 
file. 
7. All sizes are now shown in standardized KiB/MiB/GiB/TiB/PiB format, to avoid 
ambiguity about whether M or MB or MiB is meant. All internal size math is done 
using KiB, which further avoids confusion and error. Note that many disk makers 
like using MB or GB instead of MiB or GiB because it makes their disks seem 
'bigger'.
8. Sensors -s now supports IPMI sensors, in tandem with lm-sensors.

Anyway, the changelog will show better all the new features etc, I can't remember 
them all.

All current issues and glitches have been fixed, any remaining are simply new issues,
just as they would be in old inxi.

Note that in the second and third weeks of beta testing a significant number of bugs
that are in inxi 2.3.56 were fixed. 2.3.56 has been moth-balled into the inxi-legacy 
branch as binxi, to avoid mixing it up with inxi. The development branch is now 
permanently inxi-perl, aka, pinxi, since that worked so well for beta and pre-3.0 
2.9 testing and development.

This ends the pinxi/inxi development stage. All future development will proceed 
using the inxi-perl branch, and will be the same in terms of new features as pre 
inxi 2.9 was, they will be added, enhanced, as seems appropriate. 

Remember, inxi is a rolling release program, like Arch Linux, Gentoo, Debian 
Testing/Sid, and has no frozen release points, so this is simply the beginning of the
3.0 line of Perl inxi.

Thanks to everyone who contributed time, energy, effort, ideas, testing, debugging,
patience - inxi would not work without you. 

-----------------------------------
-- Harald Hope - Mon, 09 Apr 2018 01:01:03 -0700

=====================================================================================
Version: 2.9.12
Patch Version: 00
Script Date: 2018-04-06
-----------------------------------
Changes:
-----------------------------------
New version, man page. Finished up  main man edits. Set new defaults for some options,
like --sleep and -t.

Edits to layout and language, removed some legacy options and language from man and
inxi.

Added partition table detections, rough initial stage. Only works on systems with 
udev present currently, will be expanded as we find fast tools. Since the systemd 
method is literally up to 25x slower than the udev method, it's not being considered 
except maybe as a last, last resort, and probably will never be used.

-----------------------------------
-- Harald Hope - Fri, 06 Apr 2018 15:49:02 -0700

=====================================================================================
Version: 2.9.11
Patch Version: 00
Script Date: 2018-04-03
-----------------------------------
Changes:
-----------------------------------
New version, new man. Completed man edits.

Many small bugs fixed.

Enhancements: 

1. in some cases, will detect partition table type (GTP,MBR) either 
with or without root. Uses fast method, which is not available on all systems.

2. Added IPMI sensors tools ipmitool and ipmi-sensors to -s for systems that 
use IPMI.

3. Finished man page edits and corrections. Thanks Pete.

4. Added doubled word filter for main -NGA lines, only for Card items.

5. Gave more granular uptime output: like: uptime: 23d 5h 34m

-----------------------------------
-- Harald Hope - Tue, 03 Apr 2018 23:34:56 -0700

=====================================================================================
Version: 2.9.10
Patch Version: 00
Script Date: 2018-03-30
-----------------------------------
Changes:
-----------------------------------
New version, man page. Major man page edits. Bug fixes.

Bugs fixed:
1. RAID - both mdraid and zfs bugs corrected. Issue #135
2. EPYC cpu wrong die count corrected, and also added support for the EPYC type.
   Issue #135
3. Possible ARM data glitch that made reader fail on a non-existent file.

Man:
Ongoing updates and edits and corrections and cleanup. Slowly but surely.

-----------------------------------
-- Harald Hope - Fri, 30 Mar 2018 20:07:40 -0700

=====================================================================================
Version: 2.9.09
Patch Version: 00
Script Date: 2018-03-28
-----------------------------------
Changes:
-----------------------------------
New version, new man. Bug fixes, new features, enhancements 

1. Bug: cause unknown, but crashes on null file sent to reader, but all those files 
have been checked. For now added return if file null.

2. Features: with -Ixxx: show Shell: csh (sudo|su|login) status; show 
running in: xfce-terminal (SSH) 
ssh session active on remote system.

Various help and man cleanups and additions.

-----------------------------------
-- Harald Hope - Wed, 28 Mar 2018 20:48:22 -0700

=====================================================================================
Version: 2.9.08
Patch Version: 00
Script Date: 2018-03-26
-----------------------------------
Changes:
-----------------------------------

New version, new man page. Bug fixes, feature/output tweaks.

Bugs fixed:
1. stray undefined value corrected 
2. fixed BSD no pkg server case, now shows correctly that no pkg server files 
were found, not that the OS is not supported.

Features:
1. -t c and m headers cleaned up and simplified
2. man page edits. 
3. more standarization of key names for fields, some spelling 
and upper/lower case corrections.

-----------------------------------
-- Harald Hope - Mon, 26 Mar 2018 14:59:11 -0700

=====================================================================================
Version: 2.9.07
Patch Version: 00
Script Date: 2018-03-25
-----------------------------------
Changes:
-----------------------------------
New version, new man. Bug fixes, feature tweaks.

Bugs fixed:
1. json/xml outputter had a bug in it that made it validate path wrong.
2. -G -xx option: compositor: for gnome-shell had a bug that would make it show 
as running when it wasn't, other strings were tripping the match on systems with
gnome-shell installed but not running, 
3. Finally fixed bug with manjaro full version distro string, and tweaked output 
to show Manjaro Linux instead of given string.

Features added:
1. --no-man - this lets users turn off man installs. Only really useful for -U 
from master, since default is off for pinxi  and dev 3 branch.

Man page/help updated to add this option.

-----------------------------------
-- Harald Hope - Sun, 25 Mar 2018 18:34:54 -0700

=====================================================================================
Version: 2.9.06
Patch Version: 0
Script Date: 2018-03-24
-----------------------------------
Changes:
-----------------------------------

New version, new man. Very new man.

Man features new section, configuration options, which lists the main config options 
users would be likely to use. 

This should help users who will never check the actual documentation web page 
realize that there are many internal configuration options available.

Many edits in man, more to come I suspect.

Bug fixes in inxi:
1. removed a few stray debuggers that were creating debugging output 
2. fixed a usb driver bug that would create warning messages from Perl (thanks Manjaro 
for finding that one)

New Option:
1. Added: --indent-min - goes with the user configuration option: INDENT_MIN 
and allows users to experiment with different indent settings. This is what trips the
auto line wrap of line starters. This may be revisited, and this switch will make it 
easier for users to see for themselves which they prefer, what trip point, etc.

This will help determine pre 3.0.0 what the default auto wrap trip point, if any, 
will be.

Added more data to debugger tool, more lsblk, which is going to need a lot more data 
to solve a new issue with dm/encrypt/lvm, initial $MANPAGE data, to see if anyone 
actually ever uses that environmental variable.

Special thanks to Manjaro for being as far as I know the first to package Perl inxi.

Or was AntiX first? Well, it was close, thanks to both.

-----------------------------------
-- Harald Hope - Sat, 24 Mar 2018 18:06:33 -0700

=====================================================================================
Version: 2.9.05
Patch Version: 00
Script Date: 2018-03-24
-----------------------------------
Changes:
-----------------------------------

New version, new man. Options changes 

To get rid of some non-intuitive options, I've changed some of the --alt values 
to more obvious argument names; --dmidecode --no-ssl --no-host --host

This makes them easier to remember, hopefully. 

Updated help, man pages to cover this change as well.

Added some more lsblk debugger output to try to start building enough information to
really figure out dm/encrypted/lvm and how those are actually handled internally in 
the system in terms of partitions, filesystems, etc.

-----------------------------------
-- Harald Hope - Sat, 24 Mar 2018 02:08:42 -0700

=====================================================================================
Version: 2.9.04
Patch Version: 00
Script Date: 2018-03-22
-----------------------------------
Changes:
-----------------------------------

New version, new man. Big update

New features:

1. now does not require root or 'file' to get unmounted fs type. Also, for many 
mounted partitions, rather than showing the meaningless fuseblock it will usually 
get the filesystem right.

2. -U now works with optional --man option to download man page for pinxi 
and -U 3 dev server updates. This gets around the fact I had to remove the gz files
from master to get the size small enough to make maintainers happy. Non branch 
inxi master works as before, updates both from github or from dev server, depending 
on your selection.

So now inxi and pinxi will grab the inxi.1 or pinxi.1 man file and install it on 
systems that do not have -U blocked. The -U block of course remains the same.

3. Thanks very much to the people who have been contributing in a positve way, 
helping to make inxi better. The untold number of small and large new features, 
small glitches, etc, that have been fixed this week are simply too many too list.
Many to most were inxi bugs or weaknesses, now corrected.

4. binxi branch has now been made fully operational, though I do not plan on doing 
any work beyond the mothballing of that venerable program (gawk->bash inxi), it's
fully operational, it updates, it gets its man page, but all as binxi, so you can, 
as with pinxi, run all of them separately. This officially terminates my support 
for Gawk/Bash inxi, which can be found as binxi in the inxi-legacy branch.

5. pinxi has been promoted to permanent development branch, where bug fixes, new
features, etc, will be tested, along with man page updates etc. This will help 
reduce the number of commits to master branch.

6. Audio / Network usb cards now show the true driver(s). There are often more 
than one for audio, that's a nice enancement.

7. inxi outputs to json / xml, which will probably interest some developers 
eventually, well it already did, that was going to wait, but someone wanted it.

8. Apt repo handler now supports DEB822 format, which is not an easy format to 
parse.

==========================================================

MAINTAINERS:

Note the following: despite my strong dislike for tags, every commit that touches 
either inxi or inxi.1 man page will be tagged if I think they would be something 
relevant to distro packagers. While github insists on calling my tags releases, 
I want to be crystal clear: inxi has one and only one 'release', the current master 
branch version. The tagged commits that github calls releases are NOT releases, 
they are just tagged commits. The version I release tomorrow will be the current 
master, and all previous versions will be obsolete and will not be supported.

The .gz files have been removed from the master branch history, thus shrinking it
a lot. I have removed for this reason the master-plain branch, which mirrored 
master and provided a gz free branch, but apparently this was simply ignored so 
there's no reason to keep it going. If you insist on grabbing all the branches and 
find more data in there, then please correct your practices, you are only getting 
the data from the master branch.

inxi is rolling release software and has no releases, so the tags are supposed 
to create some illusion that a tag actually means something. Since it doesn't, 
I decided to take the path of least resistance and just add an auto tagging tool 
to my commit scripts and use it when it seems appropriate, like on this commit.

All development work now will happen via the pinxi branch, so that makes the process 
a lot cleaner, since I can now basically beta test all new commmits to master.
pinxi and binxi are both standalone versions of inxi, they have their own config
and data directories, config files, man pages, etc.

-----------------------------------------------------

New Perl inxi is already way ahead of Gawk/Bash inxi, more features, more accurate,
and most bugs being fixed now are because a lot of people are contributing eyes and
testing, and are finding stuff that was wrong, or simply missing, on old inxi as 
well as on Perl inxi. Fixes to Perl inxi (>2.9) will not be rolled into to binxi
since the entire reason I spent over 4 months on this project was to never have to
touch Gawk/Bash inxi again.

Most imporant, however, is that the simple fact was, Gawk/Bash inxi has been 
nearly impossible to work on despite my following rigorous practices in coding, 
and I simply won't work with that type of stuff anymore. Perl 5.x is a true delight 
in comparison, and makes adding new features, enhancing others, far easier, or 
even possible, where it wasn't before.

On a technical level, I have tested Perl inxi heavily, and it will run on all 
Perl 5.x versions back to 5.008, which is the cutoff point. This was not that 
hard to do, which is why I picked Perl 5.x as the language. This means that 
you can drop, just as with binxi, Perl inxi onto a 10 year old system, or
older, and it will run fine, albeit a touch slowly, but much faster than binxi.

-----------------------------------------------------

So far users are really liking the new one, it's usually faster in most cases,
the output is cleaner, there's more data, more options, and basically it's 
gotten the thumbs up from all the testers, and there have been a LOT, who have
helped. I want to give a special thanks to the following distros for their
exceptional support and testing:

0. the people who hang out on irc.oftc.net #smxi. Very patient, will test things 
with astounding patience, so thanks to them. Archerseven, iotaka and KittyKatt 
have been been incredibly helpful when it comes to testing and debugging, and 
finding corner cases that I would never have found.

1. AntiX: they were the first to beta test pinxi, and found massive numbers of
bugs, and stuck with the testing for a long time. They made testing possible for
the next wave of testers, my hats off to them, I've always liked them.

2. Manjaro also was very helpful, and found more issues and enhancements.

3. Ubuntu forums users found more, and helped enhance many features

4. Mint users have been very helpful, and were the impetus for some nifty
new features, ilke switching all color codes off when output is piped or sent
to file. They have reminded me of how valuable people's views can be who may not 
share the same tech world view as you, but are still very talented and observant
individuals.

5. Slackware users provided some very thoughtful feedback, which was no surprise 
but welcome nonetheless, thanks. 

6. Same with Debian forums, again, some very useful and constructive ideas and 
observations, and some very arcane and odd hardware that exposed even more corner 
case bugs.

And several other distros were also helpful, each in their own way. Solus for 
example now has their package manager added in repos.

-----------------------------------
-- Harald Hope - Thu, 22 Mar 2018 22:18:24 -0700

=====================================================================================
Version: 2.9.03
Patch Version: 00
Script Date: 2018-03-21
-----------------------------------
Changes:
-----------------------------------

New version, new man page. Updates:
1. added tool lsblk, recommends, for -p and -o, shows better partition data than
df does. First choice for -p and -o, -p fall back df, -o fallback file.

2. fixed a big bug with user configs, that would make the configs break every time
the color editor was used.

3. Some smaller bugs.

-----------------------------------
-- Harald Hope - Wed, 21 Mar 2018 21:44:04 -0700


=====================================================================================
Version: 2.9.02
Patch Version: 00
Script Date: 2018-03-20
-----------------------------------
Changes:
-----------------------------------
First small patch fix, corrected a few issues, one for apt deb822 output formatting, 
and a small bug for blank files there.

Second, made the --output error message more clear for bad file structure now lists
the 3 requirements: must be full path, must be writeable directory, and must have 
a file in it. 

Third, another subtle thing, after a lot of research, am trying the MiB GiB format 
because it's technically more accurate and less ambiguous than GB, which is used 
either to refer to 1000 bite blocks OR to 1024 blocks, depending on the platform etc.

So rather than hope people get it, trying that slightly more wordy format, and maybe
if people wonder what it is.

-----------------------------------
-- Harald Hope - Tue, 20 Mar 2018 22:02:39 -0700

=====================================================================================
Version: 2.9.01
Patch Version: 00
Script Date: 2018-03-20
-----------------------------------
Changes:
-----------------------------------

New inxi, new man, new tarball.

It's here! Perl inxi, first official release. So many changes, really too many
to list.

But here's a few:
1. of course, full rewrite to Perl 5.x. Supports as old as 5.008, as new as current.
2. Better line length nandlers. Fully dynamic, robust, shrinks and expands to fit 
either taste or viewport.
3. Long options for all options now, plus of course the short options everyone 
is used to.
4. New options: --usb; --slots (pci slot report); --sleep (change cpu sleep time);
and many more. Check --help or man page for details.
5. Vastly improved --recommends, now does per distro package recommends, and shows
only Linux data to Linux systems, and BSD data to BSD systems.
6. Hugely improved debugger as well.
7. Far more accurate output, most output is now in key/value pairs, because:
8. inxi now exports to json and xml! See --output/--output-file for info.
9. Enhancedd repo output, added deb822 type, solus 
10. Radically enhanced network data, now shows all IP / IF devices connected to
each nic, not just one, both IP v4 and v6. 
11. USB audio and network device actual drivers
12. better handling of compiler data.
13. Basic ARM machine data now, if present to inxi
14. Graphics: per card driver info alongside the original xorg drivers.
15. Better integration of partitions, RAID, unmounted partitions, and HDD data.
16. Better sensors handling of free video driver sensor data, well, not better,
it's now there, along with fan speeds for gpus.
17. RAID is enhanced, and now can show > 1 RAID type on a system, and the RAID
is improved.
18. Much improved disk/partition/memory sizing, inxi now always works internally 
with KB units, and changes them on output to the appropriate units.
19. Fully redone man page for all the new options and the long options.

And so much more. Anyway, here it is, the first release.

-----------------------------------
-- Harald Hope - Tue, 20 Mar 2018 02:54:05 -0700

=====================================================================================
Version: 2.3.56
Patch Version: 00
Script Date: 2018-02-26
-----------------------------------
Changes:
-----------------------------------
Maintainer alert: Perl inxi 2.9.01 is looking good for maybe early week of 
2018-03-19 release. I'm putting the last issue requests on the last forums, 
so assuming no real further bugs found, expect Perl inxi 2.9.01 to hit around 
Monday or Tuesday. If any bugs are found, of course, those will be fixed before 
release of the new Perl inxi.

Basically, if you want to see if you can find bugs, this is the time to do it, not
AFTER release. I've posted on many forums, and have given the various distros a 
chance to help squash the bugs their users might see, some have been fantastic
(AntiX, you were the best by far), others, not so much. Their loss in the latter 
case since the purpose of beta testing is to find bugs before, not after, release.

If you want to see the differences in recommends, and dependencies, grab pinxi 
development branch here:
wget -O pinxi https://github.com/smxi/inxi/raw/inxi-perl/pinxi
or:
git clone https://github.com/smxi/inxi --branch inxi-perl --single-branch

and run: pinxi --recommends

The main thing I'd strongly urge all maintainers to add, for long term stability
and speed and reliability, is dig, which can be used if present to get very fast, 
reliable, WAN IP information.

All of the other recommends are pretty much the same, for graphics, xdpyinfo,
xrandr, and glxinfo. For networking, ip or ifconfig, along with dig. For all usb 
related identification, lsusb, unfortunately, I wish I could get rid of that tool,
it's very slow, but I can't. The --recommends output shows the complete set.

Obviously, Bash and Gawk are no longer recommends, nor are the tools like grep, 
sed, tr, wc, etc, all those are done with Perl, so any shell plus Perl 5.08 or
newer Perl 5.x is all that's really required, beyond normal system reporting 
tools like lspci etc.

For json/xml export, two Perl modules are needed, again, see --recommends

-----------------------------------
-- Harald Hope - Sat, 17 Mar 2018 16:44:07 -0700

=====================================================================================
Version: 2.3.56
Patch Version: 00
Script Date: 2018-02-26
-----------------------------------
Changes:
-----------------------------------
No real changes, this will probably be the very last Gawk->Bash inxi 2.3.x release.

Making sure tarball etc is up to date, so it can be stored in 'tarball's branch.

MAINTAINERS:
Pinxi 2.9.00-xxx-p (inxi-perl branch) is nearing completion of its beta test cycle, 
and, barring any new issues or bugs (TEST IT NOW AND REPORT ISSUES NOW!), I expect 
to release pinxi 2.9.00 as inxi 2.9.01 shortly after I complete the advanced 
RAID feature, which should be this week.

If no real issues appear during the following week after the inxi 2.9.0 release, it
will be moved to inxi 3.0.0, as the first stable Perl inxi release.

There will be a new branch, inxi-legacy, that will have the Gawk->Bash inxi 2.3..56
files for historical purposes only. No further work will be done on inxi 2.3 from 
now on.

-----------------------------------
-- Harald Hope - Tue, 13 Mar 2018 11:29:40 -0700

=====================================================================================
Version: 2.3.56
Patch Version: 00
Script Date: 2018-02-26
-----------------------------------
Changes:
-----------------------------------


-----------------------------------
-- Harald Hope - Tue, 13 Mar 2018 11:29:37 -0700

=====================================================================================
Version: 2.3.56
Patch Version: 00
Script Date: 2018-02-26
-----------------------------------
Changes:
-----------------------------------

Small cleanup release, no new version. New tarball, just to make sure I have any
changes included, comments, etc.
-----------------------------------
-- Harald Hope - Mon, 26 Feb 2018 14:48:44 -0800

=====================================================================================
Version: 2.3.56
Patch Version: 00
Script Date: 2018-01-17
-----------------------------------
Changes:
-----------------------------------
New version, new tarball. Added an important debugger output, lsusb -v

-----------------------------------
-- Harald Hope - Wed, 17 Jan 2018 11:36:09 -0800

=====================================================================================
Version: 2.3.55
Patch Version: 00
Script Date: 2018-01-13
-----------------------------------
Changes:
-----------------------------------

New version, tarball. this is only for Manjaro, they seem to have not done the 
/etc/os-release file pretty name correctly, so the bland name reports there.

Added manjoro-release to the lsb good list. No other changes.

-----------------------------------
-- Harald Hope - Sat, 13 Jan 2018 16:28:09 -0800

=====================================================================================
Version: 2.3.54
Patch Version: 00
Script Date: 2018-01-13
-----------------------------------
Changes:
-----------------------------------

New version, new tarball. Significant albeit small fix to the debugger tool.

Without this fix, newer kernels can hang on the data parsing.


-----------------------------------
-- Harald Hope - Sat, 13 Jan 2018 11:51:50 -0800

=====================================================================================
Version: 2.3.53
Patch Version: 00
Script Date: 2017-12-07
-----------------------------------
Changes:
-----------------------------------

New version, new tarball, new man page. This should fix the Rizen multithreaded 
cpu output issues. Now inxi handles > 8 cores in terms of output filters, 
descriptions, correctly noting that it's multithreaded.

Because AMD has entered the Multithreading game, I've changed the trade term:
HT - HyperThreading to MT - MultiThreading to support both Intel and AMD variants.

Updated CPU output filters to also account for these very large core counts.

I believe this commit now adds full support for the new Ryzen series, but I'll have
to see when it comes to other variants that may appear. I've tried to future proof
the MT tests, but I won't know of those are fully functional and accurate until
inxi sees the real data.

-----------------------------------
-- Harald Hope - Thu, 07 Dec 2017 10:35:40 -0800

=====================================================================================
Version: 2.3.52
Patch Version: 00
Script Date: 2017-12-02
-----------------------------------
Changes:
-----------------------------------

New version, new tarball. Maintainers, you can ignore this release, it's only 
a reshuffling and renaming of internal functions.

-----------------------------------
-- Harald Hope - Sat, 02 Dec 2017 17:24:43 -0800

=====================================================================================
Version: 2.3.51
Patch Version: 00
Script Date: 2017-11-31
-----------------------------------
Changes:
-----------------------------------

New version, new tarball. This is an attempt at a fix for issue #129

Because I don't want to break existing cpu logic, I just added in a rizen switch,
which will just use cpu_core_count value, then trigger HT output.

This fix may or may not work, but the issue poster vanished and has not followed up.

For now I'm keeping this a Ryzen specific adjustment, but it may be safe to extend
it further, that is, if siblings > 1 && siblings = 2 * cores then it's HT.

-----------------------------------
-- Harald Hope - Fri, 01 Dec 2017 13:21:13 -0800

=====================================================================================
Version: 2.3.50
Patch Version: 00
Script Date: 2017-11-28
-----------------------------------
Changes:
-----------------------------------

New version, new tarball, bug fix for -R raid, zfs. Improved filters, clutter 
cleaner, more likely to somewhat work with gnu/linux zfs.

-----------------------------------
-- Harald Hope - Tue, 28 Nov 2017 19:41:30 -0800

=====================================================================================
Version: 2.3.49
Patch Version: 00
Script Date: 2017-11-28
-----------------------------------
Changes:
-----------------------------------

New version, new tarball, new man page. This is the first attempt to correct an
issue a forum poster raised, which is the fact that despite the fact that GNU/Linux
has had reasonably ok zfs support for years now, inxi only tested for zfs on bsd 
systems.

This has been corrected. Due to the complexity of handling software raid, inxi
will now test first for ZFS data, if none is found, it will then test for 
/proc/mdstat.

In a perfect world I'd like to have full dynamic Raid support, but I'm missing
all the key ingredients required to add that:

1. systems to test on
2. software raid, I don't use it
3. data collection for non mdraid and zfs software raid, including the values
possible to gather from all non software raid.

Basically, the only way I'd extend -R raid option is if I get direct ssh access to 
a machine that uses the alternate software raid type, otherwise it would take
forever to figure out the options.

Since the number of people who might be actually running zfs and mdraid and 
using inxi probably numbers in the 10 globally, I figured this solution was a fine
way to handle adding zfs without messing up mdraid, which is more common on linux.

It also does not break BSDs, since bsds as far as I know don't use mdraid, and don't
have /proc/mdraid in the first place.

Also redid the man page to add -! 41, -! 42, -! 43, -! 44 options, which bypass 
curl, fetch, wget, and all of them, respectively. Plus making the lines less wide.

That should make those people who actually use 80 column wide vi as an editor 
happy, lol.

-----------------------------------
-- Harald Hope - Tue, 28 Nov 2017 17:17:00 -0800

=====================================================================================
Version: 2.3.48
Patch Version: 00
Script Date: 2017-11-27
-----------------------------------
Changes:
-----------------------------------

New version, new tarball. No external changes, full reordering of internals to be
easier and more predictable to find. Better section headers, all ordering alpha
by subsections.

Fixed some small debugger gatherer oversights as well. 

Note that I made the debugger stuff more portable, so I could use it in another
program.

-----------------------------------
-- Harald Hope - Mon, 27 Nov 2017 12:13:05 -0800

=====================================================================================
Version: 2.3.47
Patch Version: 00
Script Date: 2017-11-26
-----------------------------------
Changes:
-----------------------------------

New version, new tarball. Bug fix for Curl, in some cases it may hit a redirect,
so I added the -L flag to follow redirects.

Make sure to update to this version or various downloader actions could fail.
-----------------------------------
-- Harald Hope - Sun, 26 Nov 2017 18:30:35 -0800

=====================================================================================
Version: 2.3.46
Patch Version: 00
Script Date: 2017-11-26
-----------------------------------
Changes:
-----------------------------------

New version, new tarball. Added an optional downloader: Perl HTTP::Tiny

Note that this is the last choice because it's slow, the order has been revised:

1. curl
2. wget
3. fetch
4. Perl 5 HTTP::Tiny
5. OpenBSD ftp

wget has been downgraded due to the recent 1.19-2 bug with wget -O that did 
not get resolved quickly, and which should never have been released since 
that's a basic wget action, which means they aren't testing gnu wget the way 
they should be.

All inxi downloaders can now use this option. However, in my tests it's signicantly 
slower to use HTTP::Tiny than curl or wget, so inxi will test for the downloaders 
in that order. While -i uses dig as it's primary IP tool, if dig is not installed, 
the IP will follow the same downloader priority. -U and -w/-W use downloaders.

Because HTTP::Tiny is optional, and is merely used if wget/curl/fetch are not 
installed, I would not consider Perl to be a real dependency yet, just an option, so 
I guess for packager maintainers, Perl should be added as a recommends, or a 
dependency if you want to fully support the debugger options (Core Modules).

While I'm still not sure which Perl modules I'm going to be using, I'm sticking 
for now to Core Modules, the standard, with some experimental exceptions that 
would only be used if the user had them present.

Long term the goal is to get rid of as many dependencies as possible, replacing 
them were possible with Perl tools, but this is going to take forever, if it
ever happens, so don't hold your breath.

In the future, I expect more and more components that were gawk to be rewritten
to Perl (Core Modules), slowly, however, very slowly.

Updated --recommends to indicate the downloader options more clearly as well.

Added new options for bypassing curl (-! 41), fetch (-! 42) wget (-! 43), or
curl, fetch, and wget (-! 44) to disable all of them. This is in case one of 
those is broken or you want to test Perl downloader, mostly.

Also cleaned up debugger output and made debugger portable to other scripts.

-----------------------------------
-- Harald Hope - Sun, 26 Nov 2017 15:14:34 -0800

=====================================================================================
Version: 2.3.45
Patch Version: 00
Script Date: 2017-11-21
-----------------------------------
Changes:
-----------------------------------
New version, new tarball. Because it's kind of hard to read the per /sys sub 
directory output, I split it into sections, and also have the full /sys tree
in case there are some subtle differences in how the paths interlink.

-----------------------------------
-- Harald Hope - Tue, 21 Nov 2017 11:26:51 -0800

=====================================================================================
Version: 2.3.44
Patch Version: 00
Script Date: 2017-11-21
-----------------------------------
Changes:
-----------------------------------

New version, new tarball. Added some critical debugger tools for ongoing issue # 128 
ARM data collection in /sys.

Using 'tree' now instead of ls if it is installed for debugger /sys tree listing.
Added to recommends. Updated bluetooth recommends to note it's dev only. That 
should fix issue #127 

-----------------------------------
-- Harald Hope - Tue, 21 Nov 2017 10:35:34 -0800

=====================================================================================
Version: 2.3.43
Patch Version: 00
Script Date: 2017-10-31
-----------------------------------
Changes:
-----------------------------------
New version, tarball. Small perl fix, nothing changes in output or function.

-----------------------------------
-- Harald Hope - Tue, 31 Oct 2017 17:30:03 -0700

=====================================================================================
Version: 2.3.42
Patch Version: 00
Script Date: 2017-10-30
-----------------------------------
Changes:
-----------------------------------
Removed xiin references, fully switched to perl sys traverse tool and uploader.

Renamed debugger sys files to sys-dir-[traverse|depth-[1-6]].txt

-----------------------------------
-- Harald Hope - Mon, 30 Oct 2017 12:04:02 -0700

=====================================================================================
Version: 2.3.41
Patch Version: 00
Script Date: 2017-10-29
-----------------------------------
Changes:
-----------------------------------
New version, new tarball. Updated the inxi upater options, removed some legacy 
branches, simplified the options. This corresponds to updates on github where
I'm finally bringing the alternate location self updater back into operational
state after a long dormant period.

Also, and this may be of interest to some maintainers, please note, there is
a new branch: master-plain which does NOT have the gz files inxi.1.gz and
inxi.tar.gz

If you want to avoid the big clones, you can use that branch with this command:
git clone https://github.com/smxi/inxi --branch master-plain --single-branch

And that should only track the basic 3 files: inxi inxi.1 and inxi.changelog

This fixes issue #94 

-----------------------------------
-- Harald Hope - Sun, 29 Oct 2017 09:47:28 -0700

=====================================================================================
Version: 2.3.40
Patch Version: 00
Script Date: 2017-09-21
-----------------------------------
Changes:
-----------------------------------
New version, new tarball, new man page. This is a small update, moved http://smxi.org
to https://smxi.org so updated the URLs in man page and inxi. Note that the URLs
redirect to https: so this is not a very important update.

-----------------------------------
-- Harald Hope - Thu, 21 Sep 2017 17:11:23 -0700

=====================================================================================
Version: 2.3.39
Patch Version: 00
Script Date: 2017-09-20
-----------------------------------
Changes:
-----------------------------------
Small patch, no new version, new tarball. Fixed issue # 124 --recommends failed to
show sed/perl version: the first was due to a syntax change in --version for sed,
the second was a typo in inxi. 

-----------------------------------
-- Harald Hope - Wed, 20 Sep 2017 10:11:46 -0700

=====================================================================================
Version: 2.3.39
Patch Version: 00
Script Date: 2017-09-12
-----------------------------------
Changes:
-----------------------------------
New version, tarball. Bug fix. Debug data collector using Perl requires
explicitly setting Passive => 1 (true) for some systems and firewall 
configurations.

This corrects a failure to upload issue I experienced for a test remote
system that had a different firewall configuration than the dev system has.


-----------------------------------
-- Harald Hope - Tue, 12 Sep 2017 17:53:11 -0700

=====================================================================================
Version: 2.3.38
Patch Version: 00
Script Date: 2017-09-07
-----------------------------------
Changes:
-----------------------------------
New version, tarball, man page. This closes issue #122. Adds support for including
nvme disk capacity in full disk capacity listing. Adds nvme name/serial/firmware 
revision number. The latter is a new -Dxx output option. Note that as far as I could
tell, so far, nvme is the only disk type that has firmware revision data.

Added support for nvme disk temperature as well, that requires the cli tool nvme.

Updated AMD microarchitecture list to be more granular and complete. Added Intel
microarch type. Note that they are releasing a few new microarchitectures soon but I
was not able to find any model numbers for those.

-----------------------------------
-- Harald Hope - Thu, 07 Sep 2017 10:00:06 -0700

=====================================================================================
Version: 2.3.37
Patch Version: 00
Script Date: 2017-08-23
-----------------------------------
Changes:
-----------------------------------
New version, new tarball, new man page. Deprecated xiin uploader, which completes the deprecation 
of the xiin.py tool, which is going to become obsolete when python 3 fully replaces python 2.

Since the odds of perl being around and stable are far higher than the odds of xiin.py
even working on python 3, I'm getting ahead of the race. Plus Perl is nicer to work with.

And Perl is a lot faster. I mean, a lot. Not slightly.

And it also works on much older systems, and does not have that Python version < 2.6 
failure due to changing Python syntax even between sub versions. xiin.py never ran on
Python 2.5 even when it was relatively recent, which is one reason I'm removing all Python
from inxi.

Basically xiin.py worked only on Python 2.6 or 2.7, period.

Oh, and also handled issue #115 by not making -B show -M data.

-----------------------------------
-- Harald Hope - Wed, 23 Aug 2017 15:06:22 -0700

=====================================================================================
Version: 2.3.36
Patch Version: 00
Script Date: 2017-08-16
-----------------------------------
Changes:
-----------------------------------
New version, new tarball. This fixes issue #119 

The issue was not so much with xiin.py as with some new values in /sys that would 
hang tree traverse, however, in order to remove the python dependency (except for
uploading -xx@ debugger data, until I can figure out how to do it with Perl), I 
rewrote the tree traverse tool into Perl, which also makes it a lot faster and 
easier to work with.

This issue appeared on kernel 4.11 as far as I can tell, some new values in /sys make 
the traverse hang if it tries to read the values, **/parameters/** and **/debug/** seem 
to be the main culprits, but inxi doesn't need that data anyway for debugging purposes
so it's just excluded.

-----------------------------------
-- Harald Hope - Wed, 16 Aug 2017 00:34:43 -0700

=====================================================================================
Version: 2.3.35
Patch Version: 00
Script Date: 2017-08-11
-----------------------------------
Changes:
-----------------------------------
New version, new tarball. Fixed issue #120 where -z fails to anonymize serial numbers.

Also fixed a FreeBSD issue where I'd failed to update -G to show driver.

-----------------------------------
-- Harald Hope - Fri, 11 Aug 2017 12:07:17 -0700

=====================================================================================
Version: 2.3.34
Patch Version: 00
Script Date: 2017-08-04
-----------------------------------
Changes:
-----------------------------------
New version, tarball. Added to cpu microarch lists.

-----------------------------------
-- Harald Hope - Fri, 04 Aug 2017 16:11:59 -0700

=====================================================================================
Version: 2.3.33
Patch Version: 00
Script Date: 2017-08-04
-----------------------------------
Changes:
-----------------------------------
New version, tarball. This should finalize the mA / Wh conversion problems highlighted 
in issue #118 

The data seems to suggest that using POWER_SUPPLY_VOLTAGE_MIN_DESIGN as the factor will 
be right more often than using POWER_SUPPLY_VOLTAGE_NOW.

Also optimized a bit more on the desktop id logic.

-----------------------------------
-- Harald Hope - Fri, 04 Aug 2017 14:41:14 -0700

=====================================================================================
Version: 2.3.32
Patch Version: 00
Script Date: 2017-08-03
-----------------------------------
Changes:
-----------------------------------
New version, new tarball. This closes issue #118, inxi had failed all along to handle 
the conversion from mA hours to Wh, and had a math glitch too for charge (ma).

Not sure how this went undetected during testing, oh well. I assume that mA h is not 
as common internally as Wh or something.

Anyway, it should be fixed.

-----------------------------------
-- Harald Hope - Thu, 03 Aug 2017 21:44:13 -0700

=====================================================================================
Version: 2.3.31
Patch Version: 00
Script Date: 2017-07-30
-----------------------------------
Changes:
-----------------------------------
New version, tarball, man page. This corrects many 80 column width line wraps, including on:
-o, -p, -l, -u, -P, -S, -G, -N, -A

Now most output should tend to not wrap, though some strings are unpredictable and 
will have to be trimmed by adding them to the min size trimmers one by one.

But it's much better than it was.

Note the following changes required to make the wraps more consistent:

-S - the gcc/bits have been made separate, like: bits: 32 gcc: 5.3
-C - the new microarchitecture -x option now is: arch: K7 [for example]
     cache wraps to next line with arch. with -f, bmips now shows on same line as 
     arch/cache

-----------------------------------
-- Harald Hope - Sun, 30 Jul 2017 14:02:33 -0700

=====================================================================================
Version: 2.3.30
Patch Version: 00
Script Date: 2017-07-29
-----------------------------------
Changes:
-----------------------------------
New version, tarball. More optimizations, I'm not sure these will make a big difference 
but I believe the overall collection has dropped execution time by around 10% or so.

-----------------------------------
-- Harald Hope - Sat, 29 Jul 2017 19:36:55 -0700


=====================================================================================
Version: 2.3.29
Patch Version: 
Script Date: 2017-07-29
-----------------------------------
Changes:
-----------------------------------
New version, new tarball. More optimizations, and fixed a bash 4 syntax regression that 
would have caused failure on older systems. Also added Bash version checker.

Most ps aux data is now searched using bash parameter expansion, and several functions 
that were in subshells are now printing to globals instead.

-----------------------------------
-- Harald Hope - Sat, 29 Jul 2017 16:37:01 -0700

=====================================================================================
Version: 2.3.28
Patch Version: 00
Script Date:  2017-07-29
-----------------------------------
Changes:
-----------------------------------
New version, new tarball. This fixes a subtle gawk issue that could in some systems make -G
hang endlessly.

Also started on more optimizing, getting rid of as many subshells as possible.

-----------------------------------
-- Harald Hope - Sat, 29 Jul 2017 12:37:27 -0700

=====================================================================================
Version: 2.3.27
Patch Version: 00
Script Date:  2017-07-28
-----------------------------------
Changes:
-----------------------------------
New version, tarball, man page. More cpu arch fixes, and added stepping/release info 
as well so you can see which revision of the cpu microarchitecture your cpu has.

Also fixed a few random vm id issues, I found cases where systemd believes it's bochs 
but it is actually kvm, so now the systemd data is not fully trusted, but is confirmed.

-----------------------------------
-- Harald Hope - Fri, 28 Jul 2017 18:39:19 -0700

=====================================================================================
Version: 2.3.26
Patch Version: 00
Script Date:  2017-07-28
-----------------------------------
Changes:
-----------------------------------
New version, new tarball, new man page. First attempt at adding cpu microarchitecture support.
Will need some updates to bring the family/model ids to fully current, but should show data for most 
cpus. Next release will hopefully include latest model/family ids and microarchitecture names.

Note that while /proc/cpuinfo has the family/model id in decimal, the values are actually generally
found as hexadecimal, so inxi translates that interally so we can store the data the way it is presented.

See issue #116 for ongoing additions to this feature.

-----------------------------------
-- Harald Hope - Fri, 28 Jul 2017 00:12:56 -0700

=====================================================================================
Version: 2.3.25
Patch Version: 00
Script Date:  2017-07-24
-----------------------------------
Changes:
-----------------------------------
New version, tarball. This fixes a bug where if there is a remote filesystem mounted, the path 
would crash gawk when searching for unumounted file systems, eg:

12.34.2.10:/remote/file/system

Fix is to escape '/'.

-----------------------------------
-- Harald Hope - Mon, 24 Jul 2017 21:10:54 -0700

=====================================================================================
Version: 2.3.24
Patch Version: 00
Script Date:  2017-07-23
-----------------------------------
Changes:
-----------------------------------
New version, tarball. This corrects a case I'm seeing where wayland/mir are running desktop 
but Xorg has not started, which means inxi can't get the video driver from Xorg.0.log as with X.

Added in extra data collection from lspci -v to include the driver for graphics card. this is 
only used, for now, if the initial Xorg based driver test works.

Note that this may also work for systems that have not yet started X out of X, in console, I'm 
not sure about that, but the graphics driver reporting should be improved.

Note that I'm not yet linking the driver to the specific card/device, it's just going to show 
in a comma separated list, I couldn't find multi card systems where the card types are different, 
like amd gpu with nvidia card, for example.

But this should correct an issue, at least to start, with expanding wayland support for systems 
that don't use or have not started the desktop with Xorg/X11 etc.

-----------------------------------
-- Harald Hope - Sun, 23 Jul 2017 14:35:56 -0700

=====================================================================================
Version: 2.3.23
Patch Version: 00
Script Date:  2017-06-29
-----------------------------------
Changes:
-----------------------------------
New version, tarball, man page. Added support for Alpine Linux apk package manager for
the -r option. Fixed typos and glitches in man page as well.

-----------------------------------
-- Harald Hope - Thu, 29 Jun 2017 12:54:21 -0700

=====================================================================================
Version: 2.3.22
Patch Version: 00
Script Date:  2017-06-24
-----------------------------------
Changes:
-----------------------------------
New version, tarball. Bug fix for GLX/OpenGL output. There was an unhandled case with 
core profile data being null, which in turn triggered a bash oddity, where if the IFS is 
\n for an array, and if the value of one element is '', then bash ignores that and does 
not simply set an empty array key as you'd expect. The correction was to change the IFS 
to ^, which worked fine for empty array values.

However, since this bug will impact anyone with empty opengl core profile data, I recommend 
updating inxi.

Also, added support for two smaller wm, Sawfish and Afterstep.

This is a good source for lists of wm:  http://www.xwinman.org/ http://www.xwinman.org/others.php 

However, that does not show how to ID it, so i have to do it on a case by case, but I'll
add an issue for showing how to get your wm of choice if it's missing to inxi.

Also, changed the slightly inaccurate:

GLX Renderer: .....GLX Version: .... 

to

OpenGL: renderer: ...... version: .....

-----------------------------------
-- Harald Hope - Sat, 24 Jun 2017 18:00:21 -0700

=====================================================================================
Version: 2.3.21
Patch Version: 00
Script Date:  2017-06-13
-----------------------------------
Changes:
-----------------------------------
New version, tarball. Fix for root graphics/desktop data when not available as root.

Was showing in -S line N/A instead of the fallback Console: tty 1 that would match the 
-G no data for root when unavailable for root.

-----------------------------------
-- Harald Hope - Tue, 13 Jun 2017 10:59:41 -0700

=====================================================================================
Version: 2.3.20
Patch Version: 00
Script Date:  2017-06-12
-----------------------------------
Changes:
-----------------------------------
New version, tarball, man page. Added floppy disk support, basic, for -d. Fixed a 
long-standing issue where /dev/ram.. data shows in unmounted disks output. This is
now properly filtered out.

Note that the floppy disk output has no information beyond it's /dev id, eg: /dev/fd0

I could find no meaningful data in /sys related to the floppy disk, not the model, etc, so
I'm just showing presence of disk.

-----------------------------------
-- Harald Hope - Mon, 12 Jun 2017 18:31:48 -0700

=====================================================================================
Version: 2.3.19
Patch Version: 00
Script Date:  2017-06-10
-----------------------------------
Changes:
-----------------------------------
New version, tarball. This version has some bug/edit fixes and a new distro id, mx-version.

Simple.

-----------------------------------
-- Harald Hope - Sat, 10 Jun 2017 21:32:55 -0700

=====================================================================================
Version: 2.3.18
Patch Version: 00
Script Date:  2017-06-09
-----------------------------------
Changes:
-----------------------------------

New version, tarball, man page. New option -! 34 - skip SSL certificate check on
wget/fetch/curl. This allows systems with for example out of date certificate stores 
to still download without error. Also a legacy system fix where tty size failed to show.

-----------------------------------
-- Harald Hope - Fri, 09 Jun 2017 11:52:26 -0700

=====================================================================================
Version: 2.3.17
Patch Version: 00
Script Date:  2017-06-09
-----------------------------------
Changes:
-----------------------------------
New version, tarball, man page. Bug fix for issue #105, had core and compat versions reversed.

Also cleaned up man page, slightly changed output for compat version to: (compat-v: 3.0)

gfx variable name fixes to make more obvious the logic as well.

-----------------------------------
-- Harald Hope - Fri, 09 Jun 2017 10:00:48 -0700

=====================================================================================
Version: 2.3.16
Patch Version: 00
Script Date:  2017-06-08
-----------------------------------
Changes:
-----------------------------------
Tiny change, new version, tarball. Tumbleweed distro id fix.

-----------------------------------
-- Harald Hope - Thu, 08 Jun 2017 21:02:53 -0700

=====================================================================================
Version: 2.3.15
Patch Version: 00
Script Date:  2017-06-08
-----------------------------------
Changes:
-----------------------------------
New version, tarball, man page. New option -! 40 which lets you get gfx information out of X.

Default will get data from display :0, but if you append :[display-number] to -! 40, it will 
use that display instead, for example: inxi -! 40:1 would get information from display 1. Note
that most multi-monitor setups use :0 for both monitors, depending on how it's setup.

This will also let users see any desktop information based on xrop -root output, but it will 
depend how it works based on how environmental variables have been set. gnome and kde, which use XDG for 
primary detection would not work, for example.

-----------------------------------
-- Harald Hope - Thu, 08 Jun 2017 19:25:21 -0700

=====================================================================================
Version: 2.3.14
Patch Version: 00
Script Date:  2017-06-08
-----------------------------------
Changes:
-----------------------------------
New version, tarball. This corrects an issue I noticed a while ago, glxinfo and xpdyinfo
used to not work as root in X, but they do now. So I've removed the root tests for graphics 
output, and now only rely on the returned data to determine the output when in X. Out of X 
behavior remains the same.

Note that at some point I'll have to see if wayland systems have usable reporting tools to get 
screen resolution, opengl info, and so on, but that will have to come one step at a time.

-----------------------------------
-- Harald Hope - Thu, 08 Jun 2017 17:46:30 -0700

=====================================================================================
Version: 2.3.13
Patch Version: 00
Script Date:  2017-06-08
-----------------------------------
Changes:
-----------------------------------
New version, tarball, man page. Shows as default OpenGL core profile version number. 
-xx option will show OpenGL compatibility version number as well, though that's largely useless
information for most users, thus the -xx. Note that this reverses the default, which previously
showed OpenGL version, which is actually the compatibility version.

This should resolve #105 pull request, though it does it differently, by switching the default 
output to what is more relevant, and offering the compatibility version as an optional output item.

Note that much of the glx information will probably change to more neutral terms once wayland support 
starts growing, and systems without xwayland etc libraries appear.

Further note that non free drivers showed the OpenGL core profile version numbers all along, so really 
this simply corrects misleading output for free drivers.

-----------------------------------
-- Harald Hope - Thu, 08 Jun 2017 15:54:04 -0700

=====================================================================================
Version: 2.3.12
Patch Version: 00
Script Date:  2017-06-06
-----------------------------------
Changes:
-----------------------------------
New version, man page, tarball. ARM cpu core count bug fix. First attempt to add Wayland 
and compositor support. 

This finally implements a first try at mir/wayland detection, along with basic handling of actual 
display server type output. 

New output for Display Server:  Display Server: x11 (X.Org 1.19.0) driver: nvidia

Note that since almost all current Wayland systems will have X.org also installed, for the time 
being, the data in the parentheses will be from X.org regardless of what display server is detected running 
the actual desktop. Out of the desktop, console, the only thing that will show is x data..

No other data is available to me yet until I get way more debugger data so I can see what information the various 
implementations of wayland without x tools actually makes available, my guess is it won't be much.

Also experimental -xx option: -G shows compositor, but only for wayland/mir currently.

I have no idea if this will work at all, but it's worth giving it a try as a rough beginning to
start handling the wide range of wayland compositors being created.

This feature will probably take several versions to get stable.

Also added new debugger data collector data for wayland information, but the pickings are slim, to
put it mildly.

-----------------------------------
-- Harald Hope - Tue, 06 Jun 2017 18:43:31 -0700

=====================================================================================
Version: 2.3.11
Patch Version: 00
Script Date:  2017-05-31
-----------------------------------
Changes:
-----------------------------------
New version, new tarball, new man page. This corrects several oversights of the 2.3.10 IPv6 update.

Now there is an -x option for -i that will show the additioanl IPv6 address data for scope global,
temporary, and site. Also a fallback for unhandled scope: unknown. If the tool 'ip' is used, it will
filter out the deprecated temp site/global addresses, ifconfig tool does not appear to offer this 
option.

Also changed is that now ipv6 address always shows, it's not an -x option. Probably about time to
start rolling out ip v6 data to users now that ip v6 is starting, slowly, to be used more.

Another small change, the link address for ipv6 is changed from ip-v6: to ip-v6-link so that it's 
more clear which IP v6 address it is.

The last commit had a significant logic error in it that did not distinguish between the link address,
which is what should have only shown, and the remaining possible addresses.

I've tried to get a basic bsd support, but it's difficult to know the variants of ifconfig output syntax

-----------------------------------
-- Harald Hope - Wed, 31 May 2017 14:22:21 -0700

=====================================================================================
Version: 2.3.10
Patch Version: 00
Script Date:  2017-05-31
-----------------------------------
Changes:
-----------------------------------
New version, new tarball. Fixes issue #78 and issue #106

Shows multiple ipv6 addresses, filters out ipv6 temp addresses and ipv6 local addresses.

-----------------------------------
-- Harald Hope - Wed, 31 May 2017 10:39:00 -0700

=====================================================================================
Version: 2.3.9
Patch Version: 00
Script Date:  2017-05-29
-----------------------------------
Changes:
-----------------------------------
New version, tarball. Tiny fix, due to a data bug, changing ft to m in weather altitude.

Note that this bug is not universal, but I believe this will make inxi more right than wrong
as a general rule. Further note that altitude is NOT actually the altitude of the city/location 
requested, in most cases, but rather the altitude of the weather station data assigned to that
location request.

-----------------------------------
-- Harald Hope - Mon, 29 May 2017 12:40:12 -0700

=====================================================================================
Version: 2.3.8
Patch Version: 00
Script Date:  2017-01-14
-----------------------------------
Changes:
-----------------------------------
New version, new tarball. Tiny change, added sisimedia video driver to support list.

-----------------------------------
-- Harald Hope - Sat, 14 Jan 2017 12:47:31 -0800

=====================================================================================
Version: 2.3.7
Patch Version: 00
Script Date:  2016-12-24
-----------------------------------
Changes:
-----------------------------------
New version, new tarball. This fixes an issue where sloppy regex was removing the BIOS
from BIOSTAR. Also fixed a few other sloppy gsub, and fixed a few gensub errors as well.

Since BIOSTAR is a fairly common mobo, I'm surprised I haven't gotten this bug report 
before.

This closes issue #102.

-----------------------------------
-- Harald Hope - Sat, 24 Dec 2016 14:53:31 -0800

=====================================================================================
Version: 2.3.6
Patch Version: 00
Script Date:  2016-12-20
-----------------------------------
Changes:
-----------------------------------
No new version. New tarball, man. Small text changes and cleanup and updates in man page, 
but no actual meaningful changes. Feel free to ignore this one if you just did 2.3.6.

-----------------------------------
-- Harald Hope - Tue, 20 Dec 2016 19:53:54 -0800

=====================================================================================
Version: 2.3.6
Patch Version: 00
Script Date:  2016-12-19
-----------------------------------
Changes:
-----------------------------------
New version, new tarball. This is a significant change, but inxi should handle it smoothly.

While default configs remain in /etc/inxi.conf, the user overrides now use the following order of tests:

1. XDG_CONFIG_HOME / XDG_DATA_HOME for the config and log/debugger data respectively. 

2. Since those will often be blank, it then uses a second priority check:
   $HOME/.config $HOME/.local/share to place the inxi data directory, which was previously here:
   $HOME/.inxi
   
3. If neither of these cases are present, inxi will default to its legacy user data: $HOME/.inxi as before

In order to make this switch transparent to users, inxi will move the files from .inxi to the respective
.config/ .local/share/inxi directories, and remove the .inxi directory after to cleanup.

Also, since I was fixing some path stuff, I also did issue 77, manual inxi install not putting man pages in
/usr/local/share/man/man1, which had caused an issue with Arch linux inxi installer. Note that I can't help
users who had a manual inxi install with their man page in /usr/share/man/man1 already, because it's too risky
to guess about user or system intentions, this man location correction will only apply if users have never
installed inxi before manually, and have no distro version installed, unlike the config/data directory, 
which does update neatly with output letting users know the data was moved.

Note that if users have man --path set up incorrectly, it's possible that the legacy man page would show up
instead, which isn't good, but there was no perfect fix for the man issue so I just picked the easiest way, 
ignoring all man pages installed into /usr/share/man/man1 and treating them as final location, otherwise
using if present the /usr/local/share/man/man1 location for new manual  install users.

Also, for users with existing man locations and an inxi manually installed, you have to update to inxi current,
then move your man file to /usr/local/share/man/man1, then update man with: mandb command (as root), after that
inxi will update to the new man location.

Also added some more XDG debugger data as well to cover this for future debugger data.

This closes previous issue #77 (man page for manual inxi install does not go into /usr/local/share/man/man1) and 
issue 101, which I made today just to force the update.

Just as a side note, I find this absurd attempt at 'simplifying by making more complex and convoluted' re the XDG 
and .config and standard nix . file to be sort of tragic, because really, they've just made it all way more complicated,
and since all 3 methods can be present, all the stuff has to be tested for anyway, so this doesn't make matters cleaner
at all, it's just pointless busywork that makes some people happy since now there's even more rules to follow, sigh.

-----------------------------------
-- Harald Hope - Mon, 19 Dec 2016 18:38:57 -0800

=====================================================================================
Version: 2.3.5
Patch Version: 00
Script Date:  2016-12-02
-----------------------------------
Changes:
-----------------------------------
New version, new tarball. This will matter to some users, inxi had failed to add 'modesetting' 
graphics driver, so it would not show in output, which causes support issues for users of that specific
driver, like some cases of Intel. Also inxi would always have failed to show it unloaded in cases where
radeon/nouveau were used but it had been loaded by xorg to begin with. So probably worth updating packages
I'd say.

-----------------------------------
-- Harald Hope - Fri, 02 Dec 2016 16:00:57 -0800

=====================================================================================
Version: 2.3.4
Patch Version: 00
Script Date:  2016-11-03
-----------------------------------
Changes:
-----------------------------------
No new version, just fixed some unwanted executable bits in files.

-----------------------------------
-- Harald Hope - Tue, 22 Nov 2016 11:13:15 -0800

=====================================================================================
Version: 2.3.4
Patch Version: 00
Script Date:  2016-11-03
-----------------------------------
Changes:
-----------------------------------
Squeezing in a last change for 2.3.4, added to -m if valid output, and if no -I or -tm
triggers used, will show system ram used/total, from the -I line.

-----------------------------------
-- Harald Hope - Thu, 03 Nov 2016 20:20:37 -0700

=====================================================================================
Version: 2.3.4
Patch Version: 00
Script Date:  2016-11-03
-----------------------------------
Changes:
-----------------------------------
New version, new tarball. This improves -D output, now capacity is on its own line, and
each disk is on its own line always, this makes it easier to read and/or parse.

Also, the lines now wrap nicely for extra data > console width, or -y 80 for example if
you're trying to force most of the data to fit into 80 columns.

-----------------------------------
-- Harald Hope - Thu, 03 Nov 2016 19:39:15 -0700

=====================================================================================
Version: 2.3.3
Patch Version: 00
Script Date:  2016-10-25
-----------------------------------
Changes:
-----------------------------------
No version change, updated man page. 

This is a small syntax fix that will have essentially no impact on anyone. I've just cleaned
up the man code to make it simple enough for roffit man to html conversion. There should be
no real visible differences as far as I know.

-----------------------------------
-- Harald Hope - Sat, 29 Oct 2016 15:13:40 -0700

=====================================================================================
Version: 2.3.3
Patch Version: 00
Script Date:  2016-10-25
-----------------------------------
Changes:
-----------------------------------
New version, new tarball. Extended support and tests for vm id to include better BSD
handling, and legacy linux. VM id will remain a work in progress, and will probably 
require a few fixes for fringe cases. Nice to have would be things like OpenBSD's
vm which is difficult to detect. However, I believe this should handle roughly 99% of
realworld vm id cases, except for some commercial stuff that will require more data.

-----------------------------------
-- Harald Hope - Tue, 25 Oct 2016 12:17:46 -0700

=====================================================================================
Version: 2.3.2
Patch Version: 00
Script Date:  2016-10-23
-----------------------------------
Changes:
-----------------------------------
version number unchanged, just added a vm possible id, will impact few users, if you care, update.

-----------------------------------
-- Harald Hope - Sun, 23 Oct 2016 21:27:23 -0700

=====================================================================================
Version: 2.3.2
Patch Version: 00
Script Date:  2016-10-20
-----------------------------------
Changes:
-----------------------------------
New feature, new tarball, new version number.

Now -M shows device type, like desktop, laptop, notebook, server, blade, vm (and tries to get vm type).

vm detection will take more work, for now I'm just going for the main ones used, but it will certainly
miss some because it's hard to detect them in some cases unless you use root features. Also note, in
most cases a container I believe will display as a vm, which is fine for now.

For BSDs, and older linux, there is a dmidecode fallback detection as well.

-----------------------------------
-- Harald Hope - Thu, 20 Oct 2016 18:03:54 -0700

=====================================================================================
Version: 2.3.1
Patch Version: 00
Script Date:  2016-08-25
-----------------------------------
Changes:
-----------------------------------
Fixed typo in man page, no new version, just a fixed man page.

-----------------------------------
-- Harald Hope - Fri, 09 Sep 2016 14:53:24 -0700

=====================================================================================
Version: 2.3.1
Patch Version: 00
Script Date:  2016-08-25
-----------------------------------
Changes:
-----------------------------------
New version, new tarball, new man page. 

Basic support added for Budgie desktop detection. This is waiting more data, so the support will be
missing the version information. Go Budgie!!

Added /var/tmp and /var/log and /opt to basic partition data: -P
This will probably not impact more than a handful of people in the world, but that's fine.

Modified the static BIOS in -M to now show UEFI for actually UEFI booted systems, and, ideally,
UEFI [Legacy] for UEFI booting in bios legacy mode, and BIOS for all others. Hopefully this will
work ok, we'll see.

-----------------------------------
-- Harald Hope - Thu, 25 Aug 2016 19:09:52 -0700

=====================================================================================
Version: 2.3.0
Patch Version: 00
Script Date:  2016-04-18
-----------------------------------
Changes:
-----------------------------------
New Feature, new version, new man page, new tarball. Laptop users should be happy, 
-B option now shows, if available, battery data. Quite good data for systems 
with /sys battery data, only rudimentary for systems using dmidecode (BSDs). 
dmidecode has no current voltage/charge/current supported capacity.

Main row shows charge and condition. Condition shows you have much capacity the 
battery currently has vs its design capacity. Charge shows the Wh/percent of 
current capacity of battery (NOT the rated design capacity).

-x adds battery vendor/model info, and battery status (like, charging, discharging, 
full).

-xx adds battery serial number and voltage information. Note that voltage information
is presented as Current Voltage / Designed minimum voltage.

-xxx adds battery chemistry (like Li-ion), cycles (note: there's a bug somewhere in
that makes the cycle count always be 0, I don't know if that's in the batteries,
the linux kernel, but it's not inxi, just FYI, the data is simply 0 always in all 
my datasets so far.

For dmidecode output, the location of the batter is also shown in -xxx

-----------------------------------
-- Harald Hope - Mon, 18 Apr 2016 16:55:12 -0700

=====================================================================================
Version: 2.2.38
Patch Version: 00
Script Date:  2016-03-31
-----------------------------------
Changes:
-----------------------------------
URGENT BUG FIX! This fixes a bug introduced in 2.2.36 2016-03-21. New version, new tarball.

A sloppy unescaped / triggered a failure I didn't notice in partition info.

Please update your inxi packages immediately if your version is 2016-03-21 or newer.

-----------------------------------
-- Harald Hope - Thu, 31 Mar 2016 15:08:54 -0700

=====================================================================================
Version: 2.2.37
Patch Version: 00
Script Date:  2016-03-30
-----------------------------------
Changes:
-----------------------------------
New version, new tarball. Tiny fix in distro detection, will now default in sequence
on /etc/issue step to first test for os release and not mint, then lsb verison and
not mint, then /etc/issue. This should keep the mint detection working well, as long
as they keep mint string in the /etc/issue file, that is, but that's out of our control.

-----------------------------------
-- Harald Hope - Wed, 30 Mar 2016 13:28:40 -0700

=====================================================================================
Version: 2.2.36
Patch Version: 00
Script Date:  2016-03-21
-----------------------------------
Changes:
-----------------------------------
New version, new tarball. A tiny bug fix for kfreebsd, I know, right, nobody uses that.

Also added in some more script color options however, which might be of use. These are
aimed more at light terminal backgrounds.

-----------------------------------
-- Harald Hope - Mon, 21 Mar 2016 16:04:33 -0700

=====================================================================================
Version: 2.2.35
Patch Version: 00
Script Date:  2016-02-29
-----------------------------------
Changes:
-----------------------------------
New version, new tarball. A tiny, but meaningful, fix. inxi had not been updated to
test for the non deprecated battery test, /sys/class/power_supply/BAT0 existence.

This resulted in failure to indicate 'portable' where applicable.

I may also now add battery information where applicable since that's easy to get from
/sys

-----------------------------------
-- Harald Hope - Mon, 29 Feb 2016 12:21:09 -0800

=====================================================================================
Version: 2.2.34
Patch Version: 00
Script Date:  2016-02-21
-----------------------------------
Changes:
-----------------------------------
New version, new tarball. This closes two issues:

1. Add amdgpu to possible xorg drivers list (and gpu sensors data)

2. switch to default dig command to get WAN ip. This is usually but not always faster than
the http method. Because the IP source is not truly trustworthy (run by cisco), I'm keeping a
fallback mode on 1 second time out failure of the previous http based methods. Added dig
to recommended tools list.

-----------------------------------
-- Harald Hope - Sun, 21 Feb 2016 11:18:54 -0800

=====================================================================================
Version: 2.2.33
Patch Version: 00
Script Date:  2016-01-30
-----------------------------------
Changes:
-----------------------------------
No version change, new tarball. Someone spotted a small glitch in -W help menu.

Says latitude/longtitude instead of latitude,longtitude

-----------------------------------
-- Harald Hope - Tue, 09 Feb 2016 11:20:03 -0800

=====================================================================================
Version: 2.2.33
Patch Version: 00
Script Date:  2016-01-30
-----------------------------------
Changes:
-----------------------------------
New version, new tarball. Bug fix: added basic support for NVMe M2 disk storage type. 

NOTE: missing product name/serial info, because it's not being treated by linux kernel
as a standard disk. Could not find that data anywhere in the system debugger dump. 

If you know how to find the model name/number and or serial, let me know.

Also small fix, as noted: ip: should be ip-v4 to match with ip-v6, thanks mikaela.

Also some debugger fixes and updates.

-----------------------------------
-- Harald Hope - Sat, 30 Jan 2016 17:07:42 -0800


=====================================================================================
Version: 2.2.32
Patch Version: 00
Script Date:  2016-01-03
-----------------------------------
Changes:
-----------------------------------
New version, new tarball. Finalized the * expansion fix for arrays. This  is a significant
bug fix, so while the bug almost never appears, if it does, the inxi output can get completely
corrupted.
-----------------------------------
-- Harald Hope - Sun, 03 Jan 2016 14:08:04 -0800

=====================================================================================
Version: 2.2.31
Patch Version: 00
Script Date:  2015-12-29
-----------------------------------
Changes:
-----------------------------------
No version change, new tarball.

Cleaned up some logging glitches.

-----------------------------------
-- Harald Hope - Tue, 29 Dec 2015 14:01:07 -0800

=====================================================================================
Version: 2.2.31
Patch Version: 00
Script Date:  2015-11-15
-----------------------------------
Changes:
-----------------------------------
New version, new tarball. Try 2 at mmcblk support. I had mmcblock, thats not how it's
reported to the system.

-----------------------------------
-- Harald Hope - Sun, 15 Nov 2015 17:25:10 -0800

=====================================================================================
Version: 2.2.30
Patch Version: 00
Script Date:  2015-11-13
-----------------------------------
Changes: 
-----------------------------------
New version, new tarball. Added tentative support for /dev/blcmmc0p12 type partitions
and drive identifiers. This will probably require more fixes.

-----------------------------------
-- Harald Hope - Fri, 13 Nov 2015 11:58:17 -0800

=====================================================================================
Version: 2.2.29
Patch Version: 00
Script Date:  2015-11-09
-----------------------------------
Changes:
-----------------------------------
New version, new tarball. A subtle issue pointed out by a user, inxi is limited to
26 drives, and fails to handle the linux > 26 options:

https://rwmj.wordpress.com/2011/01/09/how-are-linux-drives-named-beyond-drive-26-devsdz/

That article explains the failing well.

Note that because I have neither user data sets or > 26 hdd systems available, I cannot
verify that my fix works. It may work, that's all I can say.

-----------------------------------
-- Harald Hope - Mon, 09 Nov 2015 19:00:08 -0800

=====================================================================================
Version: 2.2.28
Patch Version: 00
Script Date:  2015-08-20
-----------------------------------
Changes:
-----------------------------------
No version change, new tarball. Man page link fixes, that's all.

-----------------------------------
-- Harald Hope - Fri, 28 Aug 2015 12:44:43 -0700

=====================================================================================
Version: 2.2.28
Patch Version: 00
Script Date:  2015-08-20
-----------------------------------
Changes:
-----------------------------------
New version, new tarball:
Changes: updated inxi updaters to use github locations.

I will do this commit once for googlecode, and once for github, after that, 
all commits will go only to github.

inxi moves to github, despite my dislike of for profit source repos, and git,
I decided that I just don't have the time or energy to do it right, so I'm going
to use github.

The project is already moved, though I have left inxi up for the time being on 
code.google.com/p/inxi until I move the wiki to http://smxi.org

Everything is pretty much the same, the project url is:

https://github.com/smxi/inxi

The direct download link for the gz is: 

https://github.com/smxi/inxi/raw/master/inxi.tar.gz

git pull is:

git pull https://github.com/smxi/inxi master

svn checkout url:

https://github.com/smxi/inxi

And that's about it.

-----------------------------------
-- Harald Hope - Thu, 20 Aug 2015 16:01:32 -0700

=====================================================================================
Version: 2.2.27
Patch Version: 00
Script Date:  2015-08-02
-----------------------------------
Changes:
-----------------------------------
New version, tarball. Trivial wget/curl change, nothing else. No need to upgrade packages.

-----------------------------------
-- Harald Hope - Sun, 02 Aug 2015 14:18:45 -0700

=====================================================================================
Version: 2.2.26
Patch Version: 00
Script Date:  2015-07-06
-----------------------------------
Changes:
-----------------------------------
New version, new tarball. This fixes a bug with the last fix for KDE Plasma version. It was
showing Frameworks version, which is apparently NOT the same as the plasma version.

Also added debugger kde versioning to make this stuff less of an ordeal for data collection.

-----------------------------------
-- Harald Hope - Mon, 06 Jul 2015 15:51:51 -0700


=====================================================================================
Version: 2.2.25
Patch Version: 00
Script Date:  2015-06-15
-----------------------------------
Changes:
-----------------------------------
Same version, new tarball, I'm tossing this in with the other release, changing for kde >= 4,
changing simple KDE to KDE Plasma, which keeps it clear and simple.

-----------------------------------
-- Harald Hope - Mon, 15 Jun 2015 18:00:42 -0700

=====================================================================================
Version: 2.2.25
Patch Version: 00
Script Date:  2015-06-15
-----------------------------------
Changes:
-----------------------------------
New version, new tarball. Got a good fix for the kde version issue from the lads at
#kde-devel, now using kf5-config --version  which gives similar output to kded4 --version

I use this for both 4 and 5, but since 4 has worked fine for years, I'll just use this for 5
and later.

-----------------------------------
-- Harald Hope - Mon, 15 Jun 2015 17:49:56 -0700

=====================================================================================
Version: 2.2.24
Patch Version: 00
Script Date:  2015-06-15
-----------------------------------
Changes:
-----------------------------------
new version, new tarball. Adapted to deal with yet another silly pointless change from
normal, in this case, sddm decided that using a .pid or .lock file in /run was too easy
so they changed to some session id type string in the /run/sddm/ directory.

Speaking for myself, I find such pointless changes from anything resembling normal behaviors
to the reason that gnu freedesktop systems will never achieve significant desktop use globally.

Also, in the same vein, added debuggers to try to figure out what plasma5/kde 5 is using
internally to give command line version information. Again, something pointless internally
was changed, thus breaking something that had faintly resembled an api, which is of course
why desktop gnu linux will never actually take off, developers in the real world have no
interest in chasing after such pointless and never ending churn in even the most trivial 
areas of the OS, let alone the core.

inxi remains however as a log of this ongoing churn and lack of discipline, and so remains
an interesting process of observation, and a way for users to try to avoid the constant
changes in simple system queries that should really never change, so I can see a reason
to keep it going since it's obvious that the actual foss ecosystem itself will not and apparently
cannot grasp that it is the lack of stable apis, methods, etc, that has kept desktop gnu linux
from achieving any actual real world success or popularity, and that is the actual problem
that should be fixed, not some pointless internal change to something.

On the source repo front, maintainers, I still can't find an acceptable alternative to the
impending shutdown of googlecode. github is a for profit venture that people who seem totally
void of any sense of history believe is actually going to be around longer than say, sourceforge,
or googlecode, as a legitimate source hosting site.

I'd welcome any suggestions. So far all the options are bad that I can find.

Top preference is svn, but if git is the absolute only other choice for an otherwise good option,
I'd consider git, but it's a horrible option for inxi because of how inxi development and debugging
works, vs how git works. ie, svn branches are perfect, git branches are totally wrong.

I may end up just hosting the svn on my own servers to avoid having to move yet again when the next
for profit flakey site decides to close up or monetize the source hosting.

The original idea of googlecode was for google to 'pay its dues to the foss community', but apparently
they got bored with that idea, plus of course, the ongoing total failure of google to deal with 
automated spam, which has always been a huge bug in the core google corporate culture. But googlecode
was by far the best option I've come across, it was done by a deep pocketed corporation not for profit
for pretty good reasons, and was never intended to be a profit center, which is the closest I could
see for a non free option. 

Setting up svn gui stuff however is a royal pain and requires ongoing maintainance for the life of
the software, which is NOT fun, nor will I sign up for that obligation.

I may end up moving to github anyway, even though git truly sucks for inxi and myself, but it's an 
idea I find fairly vile, apparently free software (sic) authors seem to have no grasp of the concept
of fredom when it comes to source code hosting, judging by the absurd popularity of github as the
default go to source repo. Their website is pathetic as well, which isn't very promising.

So we'll see where it goes, I think I have until august to decide what to do for source hosting.

Since I'm old enough to have seen sourceforge and now googlecode do the same thing, along with a lot
of other options, to say github won't do this too is delusional, what you can almost certainly say is it 
will do it, the only question is when. But, just as Linus did with his non free linux kernel version
control, people will stick with the non free stuff until you realize you can't use it anymore, because 
it is non free. Free software hosted on non free source repos is to me one of the most absurd and
stupid things I've ever heard of to be honest.

-----------------------------------
-- Harald Hope - Mon, 15 Jun 2015 15:19:02 -0700

=====================================================================================
Version: 2.2.23
Patch Version: 00
Script Date:  2015-06-08
-----------------------------------
Changes:
-----------------------------------
New version, tarball. Tiny change. Added /etc/devuan_version file to distro id to handle
the switched file name. Kudos to anyone out there fighting to create a working alternative
to the unreliable and buggy and windows emulating systemd, I wish devuan luck. Maybe between
devuan and gentoo and slackware we can save the free software core systems before it's too late.

-----------------------------------
-- Harald Hope - Mon, 08 Jun 2015 15:43:52 -0700

=====================================================================================
Version: 2.2.22
Patch Version: 00
Script Date:  2015-05-30
-----------------------------------
Changes:
-----------------------------------
New version, new man page, new tarball. Modified slightly -tc and -tm output to fix a 
pet peeve of mine. Now, if -I, -b, -F, or anything that can trigger the memory: used/total
in Information line is not used, -tm will always show the system used/total ram data on the 
first line of the Memory item of -t output.

Also, if -xtc (trigger ram data in cpu output) is used, and -I is not triggered, and -tm is
not triggered, will also show system used/total ram data on the cpu first line.

I'd found it odd that this data did not appear when -tcm or -tm or -xtc were used, so this is
now fixed. I used the -t option a fair amount to find memory/cpu use issues, and usually I
don't use the option with other options, so the lack of total system ram data was odd.

-----------------------------------
-- Harald Hope - Sat, 30 May 2015 11:50:56 -0700

=====================================================================================
Version: 2.2.21
Patch Version: 00
Script Date:  2015-05-13
-----------------------------------
Changes:
-----------------------------------
New version, new tarball. A desktop id fix, Mate id failed, mate moved to a more
long term solution to identify itself, so the hack I had in place fails on new MATE.

We'll see if this does it for various glitches, now quassel and mate latest should
again be working.

-----------------------------------
-- Harald Hope - Wed, 13 May 2015 13:15:59 -0700

=====================================================================================
Version: 2.2.20
Patch Version: 00
Script Date:  2015-05-11
-----------------------------------
Changes:
-----------------------------------
New version, tarball. This fixes a qt5 glitch with Quassel id, hopefully anyway.

-----------------------------------
-- Harald Hope - Mon, 11 May 2015 15:08:30 -0700

=====================================================================================
Version: 2.2.19
Patch Version: 00
Script Date:  2015-02-15
-----------------------------------
Changes:
-----------------------------------
No version change, new tarball. Fixed the repo error message to be more accurate, since 
a system could be supported but have no repo data, like on some livecds etc. Also made it
better for BSD or GNU/linux.

-----------------------------------
-- Harald Hope - Sun, 15 Feb 2015 19:13:25 -0800

=====================================================================================
Version: 2.2.19
Patch Version: 00
Script Date:  2015-02-14
-----------------------------------
Changes:
-----------------------------------
New version, updated man page, new tarball. Updated -r to for portage gentoo sources. This should work
fine for all derived distros like Sabayon as well. The test looks for:
/etc/portage/repos.conf/ and type -p emerge
if found will then grab the repos from the source files found.

Note that the logic for this was almost identical to that used for rpm so it was an
easy addon. Please let us know if you have an issue and provide data samples of relevant
files.

-----------------------------------
-- Harald Hope - Sun, 15 Feb 2015 18:02:16 -0800

=====================================================================================
Version: 2.2.18
Patch Version: 00
Script Date:  2015-01-24
-----------------------------------
Changes:
-----------------------------------
New version, new tarball. Two great bug report, issues. 

1. Tightened runit init detection to use proc, note that if runit works on BSDs inxi will
   require more data to properly detect it on BSDs..
2. Use openrc runlevel tests natively if openrc detected.
3. Fixed subtle issue with alias to inxi file and paths.
4. Added rc-status data collection for debugger, improved debugger data collector handling
   of bsd and other tests to note absent if not there in file names.

-----------------------------------
-- Harald Hope - Sat, 24 Jan 2015 10:25:43 -0800

=====================================================================================
Version: 2.2.17
Patch Version: 00
Script Date:  2015-01-14
-----------------------------------
Changes:
-----------------------------------
New Version, new tarball.

Fixed bugs in Epoch init system detection, caused false positives in systems booted on
SysVinit, but with Epoch installed. Epoch turns out to be in PID 1 == epoch (/proc/1/comm)
so that's easy to fix.

Also fixed spacing isxue with OpenRC output in -I line.

-----------------------------------
-- Harald Hope - Wed, 14 Jan 2015 12:28:00 -0800

=====================================================================================
Version: 2.2.16
Patch Version: 00
Script Date:  2014-11-03
-----------------------------------
Changes:
-----------------------------------
New version, tarball. Very small update, added sddm id to dm detecfion. Because Arch linux, 
at least on the system I got data from, is not using .pid/.lock extensions, but other systems
are, I'm adding sddm AND sddm.pid detection. This required changing the id to use explicit -f
for test, not the previous -e, which will force only files, not directories, to trigger yes case.

No other changes, but it's worth updating to this because distros may start using sddm in the not so
distant future, it's beta currently though.

-----------------------------------
-- Harald Hope - Mon, 03 Nov 2014 19:26:22 -0800

=====================================================================================
Version: 2.2.15
Patch Version: 00
Script Date:  2014-10-12
-----------------------------------
Changes:
-----------------------------------
New version, tarball. Debian has for some reason broken procps / uptime support, for
as of yet unknown reasons, so rather than wait to see the bug resolved, I'm just removing
uptime as a depenendency, though this is a short term hack only because we don't know
why it was removed from procps or if that was just a mistake, or if other things as well might
be vanishing from procps. Am leaving in however uname as dependency because inxi cannot
determine what platform it is when it starts without that.

-----------------------------------
-- Harald Hope - Sun, 12 Oct 2014 12:07:03 -0700

=====================================================================================
Version: 2.2.14
Patch Version: 00
Script Date:  2014-09-26
-----------------------------------
Changes:
-----------------------------------
New version, new tarball. Bug fix for regression introduced in last versions. Double
output for apt repos. Also refactored duplicated code into a function, no other changes.

Note that this version features the repo debugger tool as well, which is very helpful in
particularly non apt systems to fix issues with its handling of repo formats etc.

-----------------------------------
-- Harald Hope - Sat, 27 Sep 2014 00:09:07 -0700

=====================================================================================
Version: 2.2.13
Patch Version: 00
Script Date:  2014-09-25
-----------------------------------
Changes:
-----------------------------------
New version, new tarball. Added slackpkgplus support, added freebsd pkg servers, 
added netbsd pkg servers, all to -r.

-----------------------------------
-- Harald Hope - Thu, 25 Sep 2014 21:39:07 -0700

=====================================================================================
Version: 2.2.12
Patch Version: 00
Script Date:  2014-09-24
-----------------------------------
Changes:
-----------------------------------
New version, new tarball. For some weird reason rpm query didn't work with gawk all
on one line, moved to separate lines. Who knows why? This only impacts rpm distros.

-----------------------------------
-- Harald Hope - Thu, 25 Sep 2014 00:19:06 -0700

=====================================================================================
Version: 2.2.11
Patch Version: 00
Script Date:  2014-09-24
-----------------------------------
Changes:
-----------------------------------
New version, new tarball. This fixes broken slackpkg handling in -r, and, using the same fix,
fixes a single scenario with apt, where there is only sources.list, no .d/*.list files. 
I was assuming that the file name would print out in the output of single file grep, 
but that only happens with multiple files.

-----------------------------------
-- Harald Hope - Wed, 24 Sep 2014 13:18:41 -0700

=====================================================================================
Version: 2.2.10
Patch Version: 00
Script Date:  2014-09-24
-----------------------------------
Changes:
-----------------------------------
New version, new tarball. Added slackpkg support -R; added rpm support for gtk version (-Sx). 

bsds: removed dragonly specific used mem hack, now will work for any bsd, if avm in vmstat is 0
adds a flag to value, and removes it when used.

Nothing else of note. 

-----------------------------------
-- Harald Hope - Wed, 24 Sep 2014 10:23:31 -0700

=====================================================================================
Version: 2.2.9
Patch Version: 00
Script Date:  2014-09-22
-----------------------------------
Changes:
-----------------------------------
New version, new tarball. This is only for bsds. Added hack to get dragonfly used ram,
added dragonfly/freebsd repos full support.

Added sort of drives order to get around gawk pseudo array hash issues.

And that's that.
-----------------------------------
-- Harald Hope - Mon, 22 Sep 2014 16:06:00 -0700

=====================================================================================
Version: 2.2.8
Patch Version: 00
Script Date:  2014-09-21
-----------------------------------
Changes:
-----------------------------------
New version, new tarball. Added lxqt desktop id that is not dependent on openbox detection.

Fixed some bugs. Added a pciconf class for audio. Added support for bsds running lspci, which
lets openbsd show card info for -A,-G,-N

-----------------------------------
-- Harald Hope - Sun, 21 Sep 2014 17:37:23 -0700

=====================================================================================
Version: 2.2.7
Patch Version: 00
Script Date:  2014-09-19
-----------------------------------
Changes:
-----------------------------------
New version, new tarball. Mostly bsd fixes, a few for linux disk info.

Added support, basic, for bsd hard disks, and optical disks.

Added hard disk total/percent used for BSDs, sort of.

These are mostly just hacks since the data isn't easily available from system
standard tools, though I could on freebsd use gpart I guess but that's another tool
needed, and another method, too much work imo for small results.

-----------------------------------
-- Harald Hope - Fri, 19 Sep 2014 19:52:10 -0700

=====================================================================================
Version: 2.2.6
Patch Version: 00
Script Date:  2014-09-17
-----------------------------------
Changes:
-----------------------------------
New version, new tarball. Cleaned up and made more consistent the cpu max/min output.

Now the short form, the -b/-v1 form, and the -C forms are all similar.

Also, added a few hacks to try to extract cpu max speed from cpu model string in
either sysctl -a OR /var/run/dmesg.boot data in freebsd/openbsd. Sometimes it may
work if that data was in the model string. It's a hack, but will do until we get
better data sources or they update their sources to list more data.

-----------------------------------
-- Harald Hope - Wed, 17 Sep 2014 21:24:41 -0700

=====================================================================================
Version: 2.2.5
Patch Version: 00
Script Date:  2014-09-16
-----------------------------------
Changes:
-----------------------------------
New tarball, same version. This adds UP support for -Cxx, showing min cpu speed as well.

-----------------------------------
-- Harald Hope - Tue, 16 Sep 2014 21:35:06 -0700

=====================================================================================
Version: 2.2.5
Patch Version: 00
Script Date:  2014-09-16
-----------------------------------
Changes:
-----------------------------------
New version, new tarball. This fixes a long standing weakness with min/max cpu speed
handling. Or rather, non handling, since that data only showed in rare cases on short form
(inxi no args) output. Now it uses /sys query to determine min/max speed of cpu, and uses
that data to override any other min/max data discovered.

Still uses /proc/cpuinfo for actual speeds per core. The assumption in this is that all
cares will have the same min/max speeds, which is generally going to be a safe assumption.

Now in short form, inxi, output, it will show actual speed then (max speed) or just (max)
if actual speed matches max speed. Same for -b short CPU output.

For long, -C output, shows max speed before the actual cpu core speeds per core. 

With -xx, and in multi cpu/core systems only, shows if available min/max speeds.

Note that not all /sys have this data, so it doesn't show any N/A if it's missing.

-----------------------------------
-- Harald Hope - Tue, 16 Sep 2014 20:26:19 -0700

=====================================================================================
Version: 2.2.4
Patch Version: 00
Script Date:  2014-09-10
-----------------------------------
Changes:
-----------------------------------
New version, new tarball. Mostly bsd changes, except for downloader options, which now
permit wget/curl/(openbsd ftp)/(bsd fetch) interchangeably.

This lets more standard downloader defaults in bsds, as well as curl on gnu/linux systems
without triggering an error of missing wget.

1. Fixed cpu core issues on bsds, now shows core count + if > 1, cpus total.

2. Now shows OS instead of Distro on short/long output, since each bsd is an OS.

3. fixed vmstat issues for used memory outputs

Also fixed potential failures with cpu core count array by making it a ',' separated array.

-----------------------------------
-- Harald Hope - Thu, 11 Sep 2014 18:15:10 -0700

=====================================================================================
Version: 2.2.3
Patch Version: 00
Script Date:  2014-09-03
-----------------------------------
Changes:
-----------------------------------
New version, new tarball. Contains a major bug fix for a regression introduced in 2.2.2

-m/-M would always show requires root for dmidecode no matter what. Also improved dmidecode
error messages/handling.

Also, a fix for no display card data, now shows as expected no card data

Most other fixes are for bsd, mostly openbsd.

1. Added a class for network devices in freebsd pciconf

2. Added -r support for openbsd

3. Fixed some cpu issues for openbsd

4. Fixed an issue in openbsd/freebsd where client version data failed to get cleaned

5. Changed inxi short form output for bsds to show OS data instead of kernel data.

6. BSDs, maybe all, different syntax in xorg.0.log made unloaded gfx drivers not show, 
   that is fixed now.
   
-p fixed file system type in -p/-P for openbsd, now shows.

-I / inxi short - fixed used memory, did not show in openbsd, now does.

-f fixed cpu flags in openbsd, now works

-C corrected corrupted cpu data outputs, in openbsd at least, maybe also freebsd

-C added an openbsd hack to sometimes show cpu L2 cache

-m/-M fixed/improved dmidecode error handling for all systems

modified handling of dmesg.boot data, synched so gawk can parse better.

-----------------------------------
-- Harald Hope - Wed, 03 Sep 2014 12:00:04 -0700

=====================================================================================
Version: 2.2.2
Patch Version: 00
Script Date:  2014-09-01
-----------------------------------
Changes:
-----------------------------------
New version, new tarball. This version fixes an issue with a white space at the end of lines.

Now all lines are stripped of ending whitespaces automatically.

Also a dmidecode error handler correction, that was not working right in bsd systems.

Added some debuggers for bsd systems.

-----------------------------------
-- Harald Hope - Mon, 01 Sep 2014 16:09:23 -0700

=====================================================================================
Version: 2.2.1
Patch Version: 00
Script Date:  2014-08-20
-----------------------------------
Changes:
-----------------------------------
New version, new tarball. Some systems are showing a new xfce syntax in the xrop -root 
output, like so, instead of the old quotes "XFCE4" it shows like this:

XFCE_DESKTOP_WINDOW(WINDOW): window id # 0x1000003

Updated and added a much less strict fallback test case.

-----------------------------------
-- Harald Hope - Wed, 20 Aug 2014 19:43:59 -0700

=====================================================================================
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