naming, Some_Variable, for when the variable will be inherited by child functions, that way you know that the variable is going to be
passed down, or has been inherited.
And with those fine tuning changes, time for inxi to go to version 1.0.0
Added new function and options, -l -u which trigger partition label and uuid output.
Either -u or -l will also automatically trigger the short -P partition flag.
To use with full partition output, use: -pul or -pu or -pl
This is one of the last major features I wanted to add, and it's because I'm sick of manually checking for uuid or label in /dev/disk..
Ok, have fun.
This fixes the multiple physical cpu missing data.
I had to simplify the ht/smp part to make it work, also, from what I can tell, we only really need the terms:
UP
SMP
HT
SMP-HT
which cover all possible scenarios from what I can tell
http://en.wikipedia.org/wiki/Symmetric_multiprocessing says that it's all basically smp, single cpu, dual core, or multi cpu, single or
multi core.
Fixed syntax of gawk, made it all consistent, one method for everything, hanging { now in gawk for all structures and flow controls
Fixed small double space thing for kernel output also.
Removed all one liners from gawk, like BEGIN { IGNORECASE = 1 }, and now use NO one liner flow controls at all. This is the new
convention, neither trash nor I were comfortable enough with gawk to really check the actual programming syntax, but now it's kind of
obvious that the same rules apply: all one liner flow controls hide logic, and give bugs somewhere to live. Same as any other language.
What a surprise.
Fixed debugger for real this time, now it actually works as intended. The infobash debugger never worked at all, unless
you explicitly turned it on with debugging flag. Now it does.
Pre script up errors will be stored in the error array, and printed out if found automatically no matter what the
debugging flag is set to.
This is a perfect example of why using highly compressed code with no explicit variable declarations is ALWAYS a bad
idea.
Also fixed small line length bug where if color scheme 0, no colors is used, the lines would be too long, since the byte
count is then less than for irc or shell colors.
New option -p, outputs all discovered partition information along with the -P stuff.
-P was improved to also show /tmp and /usr by default.
-p will not show with -F to avoid flooding issues.
This is another milestone, hit much sooner than we thought. We have now restored the broken konversation native script
support.
This will be of special interest to distros who want to include inxi as native, or to packagers.
Basically, all that is needed is to set this symbolic link:
ln -s <inxi location, ie: /usr/bin/inxi, or /usr/local/bin/inxi> /var/share/apps/konversation/scripts/inxi
in the package post install script.
This will automatically enable native, ie: /inxi support in konversation.
Fixed a few other small bugs, and cleaned up code and comments as well.
We were almost going to call this release 1.0.0, but we'll leave that until it's absolutely certain that everything is
debugged and working.
Note, this is not often available data, so it will only show if you have it.
This requires modinfo showing ^version: data, which only sometimes is there.
This fixes weak spots, bugs, and adds new features.
1. Fixed single core output for -C option, now correctly puts speed on same line
2. Fixed bug with some possible values for network card that makes line color trigger blue: Added space between values.
3. Fixed bug that makes livecds with aufs file system show all partition information
4. Removed -F output of -f to avoid pointless irc spam
5. New option, -i - triggers when used alone -N, networking line, plus Wan IP address of system, and if ifconfig is
installed, prints out all interfaces+ip addresses
6. Updated -h menu to reflect these changes.
7. Added 'driver' output for network cards, and fixed driver output for audio cards, so now only uses asound/cards data
if single card detected.
8. Moved 'ports' data to -x option, the geek only output that is.
This is the next major version release, 0.6.x
Got a good rough working alsa driver going. This only works for one card, dual or more cards will simply
not show the driver field, but everyone with just one card will be able to see their running driver.
This is an ok compromise for now, but it wasn't super elegant.
This is as close as I can get to getting the alsa driver to show, but it only works if
lspci for audio comes up blank, that way we can use /proc/asound/cards for all the data
and extract the card and driver from that into an array.
But I can't see any way to match the full output of lspci if present with the card data
from /proc/asound/cards, because sometimes there is nothing in common between the two.
Maybe someone else can solve this one...
Fixed extra data issue on alsa output, now etch on old laptop is also showing sound card by the way.
Removing (...date build...) string from alsa output if present, and removing trailing dot.
Added new distro maintainer flag: B_ALLOW_UPDATE='true' as default. If set to false, it will shut off
the inxi script updating feature, and also turn off the display in -h of the -U option.
This seems a lot easier than having to remove code each release, which would get fairly tiresome.
Refactored script self updater error handling, removed duplicates and created single test cases.
Ok, enough is enough... heh, signing off now... enjoy, thanks to Cathbard for his patience, and
and all the other people supporting this with their time.
More future proofing, updated -! conditions to use more reasonable numbers:
1,2,3 -! are now setting testing booleans
10,11,12,http://.... now set alt downloads