Commit graph

263 commits

Author SHA1 Message Date
inxi-svn
61f9f89744 (change version)
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.
2008-12-14 17:20:02 +00:00
inxi-svn
1ea30c905a (change version)
fixed more in debugger, at least now it's clear that it basically does nothing in its current state but print some stuff.
2008-12-13 21:34:38 +00:00
inxi-svn
a2a6dc0aeb Fixed bugs in debugger logic, it simply wasn't working at all, things were out of place, fails to run when needed. 2008-12-13 21:15:51 +00:00
inxi-svn
3bb0d7d087 Fixed cpu flag line print as well, uses arrays now, so no need to use numbered line outputs etc. 2008-12-05 05:54:07 +00:00
inxi-svn
688e10e858 refactored partition data output to be fully dynamic, not silly like it was.
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.
2008-12-05 05:21:34 +00:00
inxi-svn
8eaecad89c (change version)
removed pipe from glx line, forgot that one.
2008-12-04 01:22:19 +00:00
inxi-svn
c2c2fc3b62 (Change version)
Added one more output line, for a total of 9. That's enough.
2008-12-03 23:46:16 +00:00
inxi-svn
add4893ea5 updated version number 2008-12-03 23:30:21 +00:00
inxi-svn
a9efabe032 changed from *** to ###, gensub doesn't like *, even escaped 2008-12-03 23:30:01 +00:00
inxi-svn
5ac99045d4 small tweak to make <username> to *** to make it shorter 2008-12-03 23:26:10 +00:00
inxi-svn
e582218d3e (Change version)
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.
2008-12-03 23:14:21 +00:00
inxi-svn
6367977a83 (no version change)
Added comment explanation for echo -ne main print
2008-11-24 04:46:00 +00:00
inxi-svn
e2dcdf9ab5 (Change Version)
Bug fix, caused extra line space in terminal.
2008-11-24 04:43:27 +00:00
inxi-svn
5e8f77fd64 (Change Version)
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.
2008-11-24 01:46:31 +00:00
inxi-svn
752420c0a4 (no version change)
removed v: from inxi version string
2008-11-23 19:37:51 +00:00
inxi-svn
4a44b096bd (change version)
Added show driver version for Network/Audio feature for -x output, and updated help menu to show that.
2008-11-23 18:22:59 +00:00
inxi-svn
a07c2b19bc Added option, with -x, to show, if available, kernel driver module version number.
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.
2008-11-23 18:12:56 +00:00
inxi-svn
ad3947c121 (change version)
Small hard disk data output tweak, added : and removed (..) to numbers, this should help avoid some
2008-11-21 23:55:04 +00:00
inxi-svn
05b4010e28 (Big Version Change)
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
2008-11-21 22:32:27 +00:00
inxi-svn
5847140383 (no version change)
Made help menu slightly more readable by adding linebreak between categories
2008-11-19 20:35:09 +00:00
inxi-svn
ef6a1c8c17 (No Version Change)
Help menu tweak, don't worry about this one.
2008-11-19 20:32:11 +00:00
inxi-svn
9b6b627cbb Removed -H in normal output, my experience has shown me that exposing advanced testing options just leads users to do
things they shouldn't do. -H is only for devs, that is.
2008-11-19 20:10:52 +00:00
inxi-svn
fed12d9b2c bug fix, this is the real one 2008-11-19 19:59:05 +00:00
inxi-svn
d14b99d7dd (Change version)
Added more useful -H option, now triggers advanced testing option display as well as regular help
2008-11-19 19:57:14 +00:00
inxi-svn
6e30c9de1c Fixed small gawk bug, needed == rather than =. Nice to see gawk actually is clear, logical, and consistent. Unlike Bash. 2008-11-18 21:05:21 +00:00
inxi-svn
82ae968eda (No Version Change)
Added coding convention item
2008-11-15 23:33:03 +00:00
inxi-svn
3c6c270e68 Added towol fix for removing second line in alsa version output if compiled by second user 2008-11-14 20:26:15 +00:00
inxi-svn
4249f6980c (Change Version)
Found bug with audio, /proc/asound/cards can have modem which creates via space a new array
item.

Added filters for /modem/ in those spots.
2008-11-14 09:22:25 +00:00
inxi-svn
88452ba0c9 (Change Version)
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.
2008-11-14 07:20:52 +00:00
inxi-svn
39e2c44af1 (no version change)
removed debugging echo
2008-11-14 03:37:36 +00:00
inxi-svn
1b3b91afb0 (change version)
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...
2008-11-14 03:32:47 +00:00
inxi-svn
4c5717cf81 (No Version Change)
Just changed Sound System: back to Sound Driver: - alsa on their webpage calls it a driver
2008-11-14 02:12:30 +00:00
inxi-svn
143a732b49 (Change Version)
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.
2008-11-14 01:49:58 +00:00
inxi-svn
3ea5671668 (change version)
Removed 'driver ' string and changed to gawk for smoother handling and consistency
2008-11-14 00:54:31 +00:00
inxi-svn
6cf526e231 (Change Version)
Added alsa sound output as well if the /proc file is found
2008-11-14 00:42:13 +00:00
inxi-svn
cc83b9eed4 (Change version)
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.
2008-11-13 19:27:48 +00:00
inxi-svn
784d850121 (no version change)
removed some old debugging echo
2008-11-13 03:27:36 +00:00
inxi-svn
1a6888578b (Change Version)
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.
2008-11-13 03:13:07 +00:00
inxi-svn
c247bde8dd (Change Version)
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
2008-11-13 02:45:35 +00:00
inxi-svn
fbffdcd27d (No Version Change)
Changed B_TESTING_FLAG to B_TESTING_1 to cover future cases where we run multiple testing option
flags. These last changes are all for future development, none are related to currently active stuff.
2008-11-13 02:40:01 +00:00
inxi-svn
0b75156ce9 (No Version Change)
Added -! comments in header to explain two new -! options for branch downloads.
2008-11-13 02:36:26 +00:00
inxi-svn
9fa3ab4edb (no version change)
fixed typo
2008-11-13 02:28:42 +00:00
inxi-svn
3aa1ebfee1 (no version change)
Fixed redundant error inxi word, added error number to output, this should have been done long ago.
2008-11-13 02:20:20 +00:00
inxi-svn
30f749bc6d (Change Version)
Cleaned up and refactored download error handling, put it all in download function, out
of get_params, which should only set params, not execute special case code blocks. Sorry cathbard ;-)
2008-11-13 02:18:33 +00:00
inxi-svn
c848609967 (change version)
Fine tuned the branch download option error messages to better reflect the actual error.
2008-11-13 02:12:08 +00:00
inxi-svn
ccd62be018 (Change Version)
Improved bad download error handler message and options.
2008-11-13 02:03:04 +00:00
inxi-svn
6960738965 (change version)
Added two new testing options, svn branch one and branch two download run from urls.

Both are triggered by -!, -! 3 for testing branch/one and -! 4 for testing branch/two
2008-11-13 01:57:45 +00:00
inxi-svn
cc5fb242c4 (No Version Change)
Just some comment cleanups and small code cleanups.
2008-11-12 19:21:24 +00:00
inxi-svn
8978b3e48b (No version change)
Changed order in help menu, made D alphabetical, I missed that one...
2008-11-12 03:59:16 +00:00
inxi-svn
3688020946 (Change Version)
Fixed a fairly major bug with both short output handling and debugging output
in get_parameters.

Prevented proper handling of non line/F/d/v type options and short output.

Update scripts to this version, and hopefully that will be it for now.
2008-11-12 01:39:27 +00:00