by request, added option to output contents of sources file(s).
Reads all sources (currently only for apt systems like debian/ubuntu and derived), then prints out file name, and the file active repos.
Does not print out inactive, commented out, or blank lines.
fixed very obscure gensub/gawk bug that makes integers into strings if 501-1000 when number is generated by gensub. This bug makes the
number typed as string, which makes > tests always true.
Also fixed output bug where there is nothing in main fan data, but there is something in default fan data array.
Added back in -s show sensors always to avoid confusion, but turns off if error message for -F output. This is to avoid spam yet still
have it work always as expected.
By suggestion, now show no sensors output if error condition: missing sensors app OR no sensors output
This can be overridden for debugging by override with -! 1 flag, testing 1
If older, sudo will just error out, which is fine for now, it always works as root though. Eventually all systems will support this, so
there's no real need to test for version numbers of sudo I think.
small new feature: show with -x, extra options, hddtemp data for -D data, if hddtemp installed, and if user root, or if user is in
/etc/sudoers with: <username> ALL = NOPASSWD: /usr/sbin/hddtemp
Another nice little sys admin thing.
More fine tuning of sensors. Handled case where temp 1 or 2 is greater than temp 2 or 1, but fan speed is zero for the hotter case, and is
> 0 for the cooler case. This means that the cpu fan will be the cooler temp.
Added an attempt to set mobo fan speed if fanx is > 5000k rpm, those little fans will always be fast and on mobo, or almost always.
Redid the logic for sensors to be totally dynamic and regex driven, no more hacks.
This should drastically help with fringe case data handling, and solved all the posted data samples of sensors output
New feature: -s option triggers sensors output, also -F adds it.
Shows all that can be gathered, cpu/mobo temp, cpu/mobo/psu fan speed, sys fan speeds.
Also cleaned up some non clear code in inxi.
Fixed long standing bug with root user getting null output for res or tty, now if in X, shows message that gfx data is not available
to root.
Also added null case handling for some of the gfx output to show N/A instead of null. This lets me know which detection fails, which
should make debugging a bit easier long term.
Turned off the advanced glx info line as well for root user.
quassel support added, 3 cases, for quassel, quasselclient, and quassel monolithic (unused now))
Also expanded all the gawk in that section to make it more consistent.
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