Commit graph

1346 commits

Author SHA1 Message Date
inxi-svn 785c0b83e2 cleanup 2011-06-14 00:46:56 +00:00
inxi-svn da975d8962 variable cleanup 2011-06-14 00:39:47 +00:00
inxi-svn 47e4a86558 version update, optimization for speed for -N, usb detection.
Switched to full gawk for detection, dumped inefficient bash loop through of all search terms.
2011-06-14 00:02:50 +00:00
inxi-svn 93b245e1af version upgrade:
Optimized graphics driver function massively, knocked off about 60% of execution time by switching to a single read through via 
gawk..

In terms of dual core system, that saved literally about 1 second execution total time.
2011-06-13 22:31:22 +00:00
inxi-svn 8b297bd69e fixed missing app error message, now shows: inxi --recommends as solution/recommendation for further action. 2011-06-11 07:02:13 +00:00
inxi-svn 53f3a4e74f version 1.6.7
Cleaned up recommends, finalized layout, tweaked output, ready to go now as a final I think.
2011-06-11 05:55:44 +00:00
inxi-svn 9ee3d00315 getting rid of an extra line 2011-06-11 05:19:16 +00:00
inxi-svn 332a998f3a cleanup, patch version bump 2011-06-11 05:16:57 +00:00
inxi-svn 8dca5e9143 bug fix 2011-06-11 05:14:32 +00:00
inxi-svn ef7655b92e text cleanup 2011-06-11 05:13:42 +00:00
inxi-svn 7765c80052 fix 2011-06-11 05:13:02 +00:00
inxi-svn a4a9e60821 slight tweak of layout of --recommends 2011-06-11 05:11:56 +00:00
inxi-svn e19069c1af finalized the rpm/yum --recommends package list, thanks goingeasy9 2011-06-11 04:24:18 +00:00
inxi-svn 07ac10c817 cleanup 2011-06-11 01:45:37 +00:00
inxi-svn 15a4aca286 forgot to add -Nx to module version recommends 2011-06-11 01:43:11 +00:00
inxi-svn fcc575591c cleanup 2011-06-11 01:40:18 +00:00
inxi-svn 4932d2be2f patch update, cleaned up output for --recommends, changed - to _, then sed replace _ with space 2011-06-11 01:34:19 +00:00
inxi-svn 2188bc1fbf added some arg triggers to --recommends output, and this calls for a patch version update 2011-06-11 00:28:25 +00:00
inxi-svn 7e323287cc forgot to declare a bunch of local variables in --recommends 2011-06-11 00:07:38 +00:00
inxi-svn 2d3114722e tweak 2011-06-10 23:26:02 +00:00
inxi-svn 74b97894a7 text tweak 2011-06-10 23:25:13 +00:00
inxi-svn b923131e95 bug fix 2011-06-10 23:23:32 +00:00
inxi-svn bee3268ab2 text tweak 2011-06-10 23:23:01 +00:00
inxi-svn 6297a1f519 added --recommends suggestion to non x mode start 2011-06-10 23:21:10 +00:00
inxi-svn 6a2f09858f 1.6.6
new option: --recommends

This lets users check their system for all the required/recommended apps, and also shows any missing core directories,
with an explanation of what each item does.

Also prints out a list of distro packages that should help users install the missing package.

So far only debian/ubuntu and arch linux lists are done.
2011-06-10 23:07:01 +00:00
inxi-svn b1f7966f9b made FAILED for video driver load red, just a patch version bump. 2011-06-10 18:21:33 +00:00
inxi-svn 25540e4cf0 more cleanup 2011-06-10 00:08:09 +00:00
inxi-svn 041b00f5b9 more help cleanup 2011-06-10 00:06:28 +00:00
inxi-svn 78b2521812 more cleanup 2011-06-10 00:05:43 +00:00
inxi-svn 8b8dbd817a cleaned up -F option help item 2011-06-10 00:04:52 +00:00
inxi-svn ecb7d4cdb8 Version update. Redid -v options totally. Added -v 6 for full partition and unmounted partition output.
Adjusted the 2-5 options to include the various new features that have been added recently.

Got rid of the entire old way of using verbosity level numbers internally in the script to trigger events, now all those printout
triggers are done via clearly named global switch variables which are set in the initial Option selector function only.

This should not make any particular difference to users, but it makes it easier to read the printout logic code, and to see what
full/basic/verbosity level output actually is going to do.

Also changed -d to -b, and added an error handler to -d showing it's been deprecated.

-d will be needed in the future for advanced -D data, probably cd/dvd etc, and I want to keep the consistency, as much as possible,
that is, m will be advanced M data, p is advanced P, n is advanced N, and so on.

I know this breaks some people's habits, but I think with the deprecated option warning/error, it should be fine, and it's
best to get this done now than to wait until inxi actually is going to use the -d advanced disk option.

Ok, that's it, just basically a code clean up version.
2011-06-09 23:27:05 +00:00
inxi-svn 2bd19db6ea language change 2011-06-09 20:41:56 +00:00
inxi-svn 88b0b389b8 wording tweak 2011-06-09 20:40:25 +00:00
inxi-svn cad10378f1 tweak 2011-06-09 20:17:10 +00:00
inxi-svn e018abcff2 forgot to add it to --version 2011-06-09 20:15:54 +00:00
inxi-svn a28e1a1c17 tweaked wording 2011-06-09 20:12:59 +00:00
inxi-svn a514f71e56 Added script patch number, this will show on update along with version number.
Also if > 0, will show added to display version, like: 1.6.3-4

I've found that google svn from googlecode isn't propagating the data across its data centers quickly or consistently
which makes testing and debugging a real pain in the butt when dealing with people in different geographical areas.

Now we'll be able to confirm that you have dev version xx, ie, the latest uploaded, without doing pointless primary
version number bumps.

When patch number is 00, no display occurs, but it still shows on updating via -U
2011-06-09 20:09:41 +00:00
inxi-svn d3505da78d added more wifi detection filters 2011-06-09 01:51:46 +00:00
inxi-svn e25d0d12dd adding in more banlist and filters 2011-06-09 01:08:55 +00:00
inxi-svn 5e06161620 added more filters 2011-06-08 17:46:25 +00:00
inxi-svn a830011550 Changed -m to -M, to keep it consistent. -m will be for future advanced machine information, just like -P is basic partitions and
-p is complete.
2011-06-08 17:32:58 +00:00
inxi-svn a016006173 tweaks, clean up chassis output 2011-06-08 09:22:40 +00:00
inxi-svn 034a197d8d fixed error message 2011-06-08 08:55:21 +00:00
inxi-svn 5654a8bffd final bug fixes, if google svn ever starts working again 2011-06-08 08:42:28 +00:00
inxi-svn 4e31e4502c version bump for bug fixes and tweaks, always inconsistency to be handled 2011-06-08 08:29:23 +00:00
inxi-svn 84227c55ef fixes 2011-06-08 08:22:40 +00:00
inxi-svn add4263d49 added fixes 2011-06-08 08:19:59 +00:00
inxi-svn b3ff07bbb2 maybe bug fix for gigabyte board 2011-06-08 07:58:46 +00:00
inxi-svn 8232c927ad tweaked line count 2011-06-08 07:49:10 +00:00
inxi-svn 4d20c9fe84 removed escapes on % for gawk 2011-06-08 07:28:26 +00:00
inxi-svn 46c5bdf01c updating ban list filters 2011-06-08 07:21:37 +00:00
inxi-svn 3bc7411eab more filters added to ban list 2011-06-08 07:01:52 +00:00
inxi-svn dd69c3ed7d added more filters 2011-06-08 07:00:01 +00:00
inxi-svn a246d28df4 updated filters, added OEM 2011-06-08 06:56:54 +00:00
inxi-svn 042130ee45 code cleanup 2011-06-08 06:53:09 +00:00
inxi-svn 0f71ac9724 simplified and moved filters to sub not gsub 2011-06-08 06:49:29 +00:00
inxi-svn ed94e1e867 bug fix 2011-06-08 06:42:23 +00:00
inxi-svn c45f0176af Debugged, and now ready for 1.6.0
New feature: -m, with -xx as optional extra extra data

-m shows system, mobo, bios, and with -xx, chassis, if present.

Will also try to guess at if it's a laptop.
2011-06-08 06:38:32 +00:00
inxi-svn e7f3349e22 version number bump 2011-06-08 06:25:39 +00:00
inxi-svn 6e1f19bde3 changed portable to System 2011-06-08 06:20:43 +00:00
inxi-svn 6b1fc9cdc0 more bug fixes, simplified logic 2011-06-08 06:17:03 +00:00
inxi-svn 98249b201c removed unneeded logic 2011-06-08 05:37:45 +00:00
inxi-svn 55a281a794 more fine tunings 2011-06-08 05:33:52 +00:00
inxi-svn 71c472b892 more tweaks to ban lists 2011-06-08 05:22:19 +00:00
inxi-svn 84756bf5e6 added N/A filter to data 2011-06-08 05:19:46 +00:00
inxi-svn bba4e30abd trying another way of handling false system/mobo data matches, msi is the culprit here 2011-06-08 05:13:55 +00:00
inxi-svn b6d2786ea6 version number 2011-06-08 04:55:58 +00:00
inxi-svn 7da7517514 removing that attempt, too hard that way 2011-06-08 04:54:11 +00:00
inxi-svn 70be9f6eef trying a bug fix 2011-06-08 04:46:25 +00:00
inxi-svn d577e43c9c trying a fix for false system/mobo difference 2011-06-08 04:38:39 +00:00
inxi-svn a2f14c8e48 version change 2011-06-08 04:20:13 +00:00
inxi-svn 239f16e7bb removed tweak 2011-06-08 04:19:52 +00:00
inxi-svn de7f8196bd version tweak 2011-06-08 04:19:29 +00:00
inxi-svn c2c600ebd5 bug fix 2011-06-08 04:17:19 +00:00
inxi-svn 5d9021bfe7 bug fixes for chassis 2011-06-08 04:14:31 +00:00
inxi-svn 297f3c833b cleanup and printout fixes and tweaks 2011-06-08 04:12:35 +00:00
inxi-svn b589c9d5f7 some cleanup and bug fixes 2011-06-08 04:03:16 +00:00
inxi-svn 7ba7db7b4d bug fix 2011-06-08 03:53:22 +00:00
inxi-svn 931ecb4968 added some ban list terms, tweaked a few things 2011-06-08 03:48:54 +00:00
inxi-svn e11e85e93d bug fix 2011-06-08 03:31:07 +00:00
inxi-svn 6937b57028 bug fix, added system line 2011-06-08 03:01:49 +00:00
inxi-svn 5f4b95dfa3 added filter line 2011-06-08 02:44:58 +00:00
inxi-svn 3a3e5efa4f moved the machine line 2011-06-08 02:37:18 +00:00
inxi-svn ac38d58363 new options: -m shows machine data, system vendor, if present, mobo, bios, and, with -xx, chassis, if present
-xx triggers B_EXTRA_EXTRA_DATA, currently only the chassis data line is affected.
2011-06-08 02:36:00 +00:00
inxi-svn 62a1f0bdf9 added debugger stuff 2011-06-07 02:07:50 +00:00
inxi-svn fcf0217d4c improved logging of arrays for partitions 2011-06-07 01:30:46 +00:00
inxi-svn ee195f51ea added cat /etc/fstab to debugger 2011-06-07 01:03:11 +00:00
inxi-svn 722c3f77d6 some fine tuning just in case hdd temp returns say 34.5 2011-06-06 21:04:15 +00:00
inxi-svn b8686ef409 added Xorg -version testing to debugger and x version function 2011-06-06 20:55:44 +00:00
inxi-svn 331fd342a1 Version number change:
Added debugger option, data collector -@ 14, all data.

Fixed long time logging bug, arrays were't writing out in quotes, have to extract out of quotes then send to logger.

Added 802.11 to usb nic/wifi card detection strings.

Updated help menu more to be more readable, and corrected some errors there too.
2011-06-06 19:58:47 +00:00
inxi-svn 96ad63541b bug fixes, and upped version number. Yes, fixing one bug caused another, hopefully both are now fixed 2011-06-06 05:01:14 +00:00
inxi-svn 8e4e7eac60 bug fixes 2011-06-06 04:42:18 +00:00
inxi-svn 5eca5a85a9 debugger added 2011-06-06 04:35:17 +00:00
inxi-svn 3ac87738a9 need to update the new path variables for the lenny fix too 2011-06-06 04:27:10 +00:00
inxi-svn cf092714fa some comments to explain fixes 2011-06-06 04:26:02 +00:00
inxi-svn 19842a2622 adding a special belkin case 2011-06-06 04:10:36 +00:00
inxi-svn 24421c6f30 added another wifi detector for output 2011-06-06 04:04:20 +00:00
inxi-svn f9e7b6916c found another path case for usb networking cards, requires special handling 2011-06-06 03:54:28 +00:00
inxi-svn 1e3003f2a3 new version, 1.5.11
Improved loaded/unloaded/failed output for gfx driver, now lists them by categor, ie: loaded: ati,radeon unloaded: fbdev

This is because of the high count of loaded/unloaded drivers some systems show, especially for radeon/ati card types.

Added logging for inxi in debugger data collector, and include now the log file, that should be of use.
2011-05-30 18:51:31 +00:00
inxi-svn 242ae81dd0 version bump the bug fix for drivers works 2011-05-30 04:59:25 +00:00
inxi-svn 6eacbd3e13 fixed weak point on unloading driver logic, it can be several strings to test 2011-05-30 04:55:38 +00:00
inxi-svn eb9db620ba adding in CPC abbreviation on the off chance that 'Compatibility Profile Context' actually means something for fglrx opengl version 2011-05-29 16:37:22 +00:00
inxi-svn a988de3ba0 added white space cleanup 2011-05-29 03:42:23 +00:00
inxi-svn a28155b16e removing some extra fglrx glx version information: Compatibility Profile Context
This does not appear to communicate anything of value or interest
2011-05-29 03:39:55 +00:00
inxi-svn 5859a8c73d fixed a bug in gawk that gave multiple drivers for audio card.
Added webcam to filter list.

And this new number includes the fixes to graphics driver output as well
2011-05-29 01:32:49 +00:00
inxi-svn ea906053e7 turns out there is an unloading video driver module case, so adding that condition, for loaded, unloaded, and failed output 2011-05-28 04:38:15 +00:00
inxi-svn f8463034fd bug fixes 2011-05-27 21:43:33 +00:00
inxi-svn d10e6ec05e added inxi output to debugger data files 2011-05-27 21:37:17 +00:00
inxi-svn be3461b3ad comments updated 2011-05-27 21:31:14 +00:00
inxi-svn a6b9b4f145 version update, now the dwm/scrotwm send their data back to stdout so it can be used. 2011-05-27 20:57:04 +00:00
inxi-svn d83f6471d7 had to redirect error output to 1 2011-05-27 20:55:15 +00:00
inxi-svn 9df881c11f added in a null case check 2011-05-27 20:49:47 +00:00
inxi-svn 8561e00ca9 trying a bug fix for scrotwm/dwm issue of sending --version/-v to stderr instead of stdout 2011-05-27 20:49:14 +00:00
inxi-svn 7c99d71ecf cleanup 2011-05-26 22:47:18 +00:00
inxi-svn 8725c05b34 line lengths 2011-05-26 22:44:26 +00:00
inxi-svn e2263eeae7 more color selector tuning 2011-05-26 22:43:04 +00:00
inxi-svn 35265e9f7c more clearup of language 2011-05-26 22:40:19 +00:00
inxi-svn 0659ec02a5 cleared up the -c 9x option descriptions 2011-05-26 22:38:23 +00:00
inxi-svn 537e2ea925 more help 2011-05-26 22:31:30 +00:00
inxi-svn 4e50a6d576 help cleanup 2011-05-26 22:30:41 +00:00
inxi-svn d8ca861e30 help cleanup 2011-05-26 22:29:53 +00:00
inxi-svn e5e3fcd360 help cleanup 2011-05-26 22:28:14 +00:00
inxi-svn b2ba9a5371 help tweaks 2011-05-26 22:21:10 +00:00
inxi-svn dc186acf4d help tweaks 2011-05-26 22:20:13 +00:00
inxi-svn 9c3a96f8d4 tweaks 2011-05-26 22:16:01 +00:00
inxi-svn 449bb487d1 cleaned up help menu 2011-05-26 22:15:27 +00:00
inxi-svn ef6cb816dd cleanup for wm version 2011-05-26 21:03:46 +00:00
inxi-svn c6baa7a03b cleaned up 2011-05-26 21:02:39 +00:00
inxi-svn c5600fa3d1 maybe tweak needed 2011-05-26 21:01:40 +00:00
inxi-svn b698be9168 trying little fix for wm issues 2011-05-26 20:33:10 +00:00
inxi-svn 088bf93df8 added trigger for --version/-v in get_de_version, sigh... 2011-05-26 20:01:07 +00:00
inxi-svn 2a88f17e8c new version: 1.5.7
Added to and improved debugging data collector. Options: -@ 11 -sys/networking; 12 - xorg; 13 - disk/partions. All also collect 
/proc data and some other stuff it's good to have examples of for future use.

Added dwm and wmii desktops as well.

Added support for standard --verbose and --help options.

Added irc exit if help menu is called for to avoid bad spamming.

Tweaked line count on System, made a touch shorter
2011-05-26 19:57:40 +00:00
inxi-svn 6e5a45e0b5 updated help -i item 2011-05-26 01:54:00 +00:00
inxi-svn 4e67c2aca4 made -i also show -n 2011-05-26 01:53:17 +00:00
inxi-svn 146f241df2 version number up, enough little tweaks to warrant it 2011-05-26 01:30:08 +00:00
inxi-svn 70402d0ea2 removed show extra data from -n, that's not needed, leave -x to be explicit or -F called 2011-05-26 01:29:38 +00:00
inxi-svn 521bc41040 final extra white space bug fix 2011-05-26 00:08:47 +00:00
inxi-svn 4c37defd0c bad copy paste, fixed 2011-05-26 00:00:36 +00:00
inxi-svn 8be45faa8b changed advanced graphics data to: advanced data 2011-05-25 23:18:21 +00:00
inxi-svn 199377f147 cleaned up, refactored irc tty version function 2011-05-25 23:11:31 +00:00
inxi-svn d8e0a8653a trying to get tty of console irc client 2011-05-25 22:56:02 +00:00
inxi-svn d913ef930a bug in output of opengl renderer, failed to remove extra white spaces after banlist applied 2011-05-25 22:40:36 +00:00
inxi-svn 34edd84e44 added xrandr to debugger data collector 2011-05-25 22:22:52 +00:00
inxi-svn 950de91cb4 bug fix version number update 2011-05-25 22:05:17 +00:00
inxi-svn b94e4146fe next step in fix 2011-05-25 22:04:21 +00:00
inxi-svn 8fdcc397a6 trying to fix that double line output bug 2011-05-25 22:02:29 +00:00
inxi-svn 0cac507903 bug fix 2011-05-25 21:48:27 +00:00
inxi-svn 68cc1953a4 added -n to -F output, why not, it's useful 2011-05-25 21:43:00 +00:00
inxi-svn 95ecf17ded cleanup 2011-05-25 21:39:38 +00:00
inxi-svn 559c595a18 Improved output, now counts characters and wrapps -S and -G lines, also added tty number for console mode.
Now also for greater than 1 video card, prints one per line and puts xorg data line separate always.

For 1 card or less, if line is short enough, puts it all one line. System line wraps if too long at desktop, which also
shows console and tty number if out of X
2011-05-25 21:32:16 +00:00
inxi-svn b6fca3c48b changed gfx drivers to use array for better output control, and also for future other gfx features 2011-05-25 01:53:20 +00:00
inxi-svn 9c8489d6b0 version number update for new loaded/failed output for video driver 2011-05-25 01:05:32 +00:00
inxi-svn a3494fb58a fixed up, made consistent and maybe more reliable 2011-05-25 01:03:29 +00:00
inxi-svn 5e093d108c bug fixes 2011-05-25 00:52:04 +00:00
inxi-svn 436badf418 bug fixes for module load/unload/fail 2011-05-25 00:50:53 +00:00
inxi-svn 9272811889 added loaded, unloaded, and failed output to graphics driver output, like: nvidia->loaded 2011-05-25 00:39:40 +00:00
inxi-svn b5ac8e13ad 1.5.2: new options: -z, triggers output filtering. This is default on for irc client output.
-Z - absolute override, turns off all filtering. This is useful if you are helping someone on irc for example and need to see this 
data.

Fixed a long term bug in the regex that filtered out home name from mount paths in partitions, was greedy, now it just filters out 
only the name and prints the rest of the full path, as it should.

Added twm to desktop support list, that has no --version output so that won't show.
2011-05-24 20:47:22 +00:00
inxi-svn 2b9a312eb3 cleaned up printout consistency 2011-05-23 23:08:12 +00:00
inxi-svn f249b4f319 comment added 2011-05-23 22:42:56 +00:00
inxi-svn 1fc7e1ad46 cleaned up, only check file once 2011-05-23 22:36:25 +00:00
inxi-svn bb8f7e279c new: show active running x driver, that can work in or out of x, since it reads xorg log.
New: split debugging data collector, now there is -@ 11 for /sys reads, and -@ 12, for xorg data output, including xprop -root, 
glxinfo, xdpyinfo, x version info, and related xorg files, including log data.
2011-05-23 22:23:06 +00:00
inxi-svn d33ba80b7e bug fix, long time bug, in konvi 4 detections 2011-05-22 02:56:01 +00:00
inxi-svn 0102533ad3 cleanup 2011-05-22 01:01:36 +00:00
inxi-svn 635bcadb27 bug 2011-05-22 01:01:04 +00:00
inxi-svn 1ba56fa1bf forget grep filter 2011-05-22 01:00:50 +00:00
inxi-svn 4c09c0c34a comments added 2011-05-22 00:59:15 +00:00
inxi-svn 92c8d05282 trying to be careful 2011-05-22 00:36:21 +00:00
inxi-svn 38ccfdab7c added konvi stuff 2011-05-22 00:33:47 +00:00
inxi-svn 793829b982 made if logic more reliable, now only if in x and if konvi is running use the konvi test 2011-05-22 00:29:47 +00:00
inxi-svn b109fac130 tweaks 2011-05-22 00:20:25 +00:00
inxi-svn a4e1f200c1 tweak on konvi fix 2011-05-22 00:17:21 +00:00
inxi-svn 4751d077f2 trying a konvi fix 2011-05-22 00:15:55 +00:00
inxi-svn a2c29cb67c finally, 1.5.0 is now out, with last cleanups 2011-05-21 23:35:35 +00:00
inxi-svn c85ef425c5 loosened regex to handle future things like git, v12.2, b12.2 or whatever for desktop versions 2011-05-21 23:31:07 +00:00
inxi-svn 0fc3ba54da tweaks 2011-05-21 23:24:52 +00:00
inxi-svn 58abfed757 tweaks 2011-05-21 23:20:21 +00:00
inxi-svn 02e122f8aa comments 2011-05-21 23:17:23 +00:00
inxi-svn 07107f432f added exit to gawk loop 2011-05-21 23:14:27 +00:00
inxi-svn 9cef50f286 output tweak 2011-05-21 22:59:56 +00:00
inxi-svn 1ba97c1ea7 added xfce built with toolkit 2011-05-21 22:54:02 +00:00
inxi-svn 5f2bb1a94e comments 2011-05-21 22:47:57 +00:00
inxi-svn b6984a89c1 fixed bugs 2011-05-21 22:46:13 +00:00
inxi-svn ec8fddfb0a white space 2011-05-21 22:35:18 +00:00
inxi-svn bda1b6c5af bug fixes, need to preserve white space 2011-05-21 22:34:18 +00:00
inxi-svn 142fd364ec bug fix 2011-05-21 22:32:25 +00:00
inxi-svn 79e8a864d7 tweaks 2011-05-21 22:25:40 +00:00
inxi-svn 3e60b263a0 refactored desktop detections to avoid repeated code 2011-05-21 22:19:36 +00:00
inxi-svn 7f928d583f awesome bug fix 2011-05-21 21:36:16 +00:00
inxi-svn fc0598d2e7 added awesome de version numbering 2011-05-21 21:29:45 +00:00
inxi-svn 7a7d90d4f6 tweak 2011-05-21 01:43:32 +00:00
inxi-svn 5b45de9320 added pekwm version number 2011-05-21 01:36:19 +00:00
inxi-svn af5ea2107f cleaned up some cruft 2011-05-20 08:32:01 +00:00
inxi-svn 32096b167f changed toolkit to show only with -xS, that's not that important. 2011-05-20 05:24:57 +00:00
inxi-svn bb43c32dbc bug fix 2011-05-19 07:05:56 +00:00
inxi-svn 2ee26bf950 bug fix 2011-05-19 07:01:32 +00:00
inxi-svn 4759c85833 bug fix 2011-05-19 06:58:31 +00:00
inxi-svn 58fccc20a1 cleaned up code a bit 2011-05-19 06:53:57 +00:00
inxi-svn 476f3cdad3 fine tunings 2011-05-19 06:46:36 +00:00
inxi-svn 559b049add xfce version numbers added 2011-05-19 06:20:20 +00:00
inxi-svn 15b9351a0a tweak 2011-05-19 06:07:48 +00:00
inxi-svn fc6cd65d66 icewm added 2011-05-19 06:04:30 +00:00
inxi-svn 4bb100ed8e more version info for other desktops 2011-05-19 05:52:08 +00:00
inxi-svn 962f1b9665 got gnome version/gtk version 2011-05-19 05:30:55 +00:00
inxi-svn 095313fa26 added kde version, and qt version, output 2011-05-19 05:03:14 +00:00
inxi-svn acd5f1d278 fixed pekwm to be lower case 2011-05-19 01:24:05 +00:00
inxi-svn 9f44cb54b4 added pekwm support 2011-05-19 01:18:47 +00:00
inxi-svn 85a30fa8d2 added comments, updated help to show desktop for S 2011-05-19 00:23:29 +00:00
inxi-svn 00268adb80 added comment for recommends on top, X11-utils is needed for xprop for -S 2011-05-18 23:21:23 +00:00
inxi-svn 92b73233c9 new feature, shows which desktop user is running, should work for gnome, kde 3.5, 4, 5, xfce 4, 5, fluxbox, lxde, openbox,
blackbox, awesome, fvwm, fvwm-crystal, and we'll add more with user data
2011-05-18 23:00:03 +00:00
inxi-svn 06bae0e38e many bug fixes, the -Nc flag was just not reliable enough to use 2011-05-07 04:42:10 +00:00
inxi-svn 9977c4b935 made version copyright update automatically 2011-05-07 04:02:44 +00:00
inxi-svn 181712f1a3 tweaked xiin exit error handling 2011-05-07 03:40:57 +00:00
inxi-svn e66e327025 whoops, better add it after to not break existing ones 2011-05-07 02:49:20 +00:00
inxi-svn f40e8c4292 added blue,white color scheme 2011-05-07 02:48:52 +00:00
inxi-svn 6bc88d6c37 changed from lspci -vv to lspci -v for xiin data collection 2011-05-07 01:46:58 +00:00
inxi-svn 3eb4409085 lower cased hostname for file name 2011-05-06 21:48:17 +00:00
inxi-svn d040defe62 tweaked errors for wget xiin 2011-05-06 21:31:40 +00:00
inxi-svn 88835fd4f9 added anon ftp information 2011-05-06 21:27:57 +00:00
inxi-svn 8f35818592 tweaked the hostname to get rid of spaces in case present, you never know 2011-05-06 21:24:20 +00:00
inxi-svn 22224f7bf8 text tweak 2011-05-06 21:22:45 +00:00
inxi-svn f121e25ac9 tweak 2011-05-06 21:16:30 +00:00
inxi-svn e6c4b8cba3 modified wget a bit for xiin to make it more robust, I hope 2011-05-06 21:15:09 +00:00
inxi-svn 9dfb064843 Update Version:
New debugging feature: -@ 11
this triggers a download/run of xiin, which reads and writes to file contents of /sys, and also writes to file
lsusb, lspci, lspci -vv, and the last 200 lines of /var/log/Xorg.0.log which can be helpful for debugging various 
gfx driver issues. Might make the last one optional or from another option, we'll see.

Also removed for detected wifi cards the speed and duplex modes, since they are not applicable for wifi

This will not always work, it detects string wireless, wifi, wi-fi, wlan and if found, doesn't make those lines.

Better than meaningless N/A output I'd say.

Debugger should make it easier, places data in a directory in $HOME./inxi/ and tells user where to find it.
2011-05-06 21:04:31 +00:00
inxi-svn 07d1b9ba35 Major cleanup of print gfx data function, the logic there was broken, and had legacy methods
that are no longer required. Simplified line constructor and used absolute tests for each part.
2011-05-04 21:08:56 +00:00
inxi-svn 7c5fedd3aa fine tuning, get rid of extra grep in loop 2011-05-01 16:42:33 +00:00
inxi-svn dd5a96c38b bug fix, simple, but requires a version update to force upgrades otherwise -N doesn't work right 2011-05-01 16:31:32 +00:00
inxi-svn cc171bb1d2 and also making busID into bus-ID to make it consistent as well 2011-04-30 23:37:24 +00:00
inxi-svn 4435de0266 trying usb-ID instead of USB-ID, looks more consistent 2011-04-30 23:36:38 +00:00
inxi-svn 949019f36e synched audio output to use usb id as well if -x runs 2011-04-30 23:10:06 +00:00
inxi-svn ab23b48ae1 added break to the loop now that it's getting so long for usb network, at this point only supporing a single usb network device, have to draw
a line at fringes I think.
2011-04-30 22:54:42 +00:00
inxi-svn f74ca21138 more fine tunings 2011-04-30 22:45:41 +00:00
inxi-svn afdd2ccc09 more fine tunings of usb detections 2011-04-30 22:43:44 +00:00
inxi-svn 7f1e81b280 more tweaking 2011-04-30 22:34:29 +00:00
inxi-svn 8ca542bf1a more fine tuning for usb detection 2011-04-30 22:32:39 +00:00
inxi-svn 4b02755df7 added a lot of possible network id strings, we'll see how it goes 2011-04-30 22:16:41 +00:00
inxi-svn 6df9f15527 cleaned up code a bit 2011-04-30 19:14:27 +00:00
inxi-svn 021299a5d8 debugging, had to add alternate case for idVendor path 2011-04-30 19:08:21 +00:00
inxi-svn 455dceb405 fixed spacing on selector 2011-04-30 18:46:03 +00:00
inxi-svn deca9853bf help tweak 2011-04-30 18:42:03 +00:00
inxi-svn 78830c1f47 fixed color schemes to only show safe dark/light group for irc or global color picker.
This solves the problem of unreadable output for some irc viewers

Also added output to color picker to show what selection was.

Note: I changed some of the colors so the old selections won't be the same, so please update version package maintainers
2011-04-30 18:35:54 +00:00
inxi-svn 4b553d6073 a bit of optimizing 2011-04-30 08:40:40 +00:00
inxi-svn 4baf69f8d5 small glitch fix 2011-04-30 08:37:05 +00:00
inxi-svn 82e074c027 tweaked it to add driver data also if usb was found for networking, that way it doesn't always run.
New version number
2011-04-30 08:28:58 +00:00
inxi-svn ce6ddd1653 try just fully loading advanced network array data always to get the driver data for usb networking 2011-04-30 08:24:30 +00:00
inxi-svn c1d5ed8169 new version, with usb networking driver output now 2011-04-30 08:06:01 +00:00
inxi-svn e1d3be49dd maybe driver for usb card? 2011-04-30 08:00:49 +00:00
inxi-svn 11a97ad73b final bug fix, whew!! 2011-04-30 07:38:23 +00:00
inxi-svn 767dc1f320 trying another 2011-04-30 07:24:21 +00:00
inxi-svn e4924fc44b trying another array way 2011-04-30 07:23:43 +00:00
inxi-svn 41dbd23c9d bug fix? 2011-04-30 07:17:23 +00:00
inxi-svn 9100ceff1c maybe bug fix 2011-04-30 07:15:03 +00:00
inxi-svn 5d09b8edde quick debugging test 2011-04-30 07:04:13 +00:00
inxi-svn 6f3edb1c13 cleanup 2011-04-30 07:00:36 +00:00
inxi-svn acf27542c8 bug fixes 2011-04-30 06:56:15 +00:00
inxi-svn ab0beedb5b bug fix 2011-04-30 06:54:36 +00:00
inxi-svn 46671c817b added card type 2011-04-30 06:45:56 +00:00
inxi-svn fa2166c105 numbering update, bug fixes on -n , -N 2011-04-30 06:41:45 +00:00
inxi-svn fc764ab7fc add back in test 2011-04-30 06:29:23 +00:00
inxi-svn d41b0e19de bug fix 2011-04-30 06:28:22 +00:00
inxi-svn 3ea39aaa5d test 2011-04-30 06:23:53 +00:00
inxi-svn 4fcd0b12af bug fix 2011-04-30 06:23:07 +00:00
inxi-svn ba8970db1b tweaks 2011-04-30 06:14:39 +00:00
inxi-svn 57a7600bdc tweaks 2011-04-30 06:08:05 +00:00
inxi-svn ef051ad0d6 bug fixes 2011-04-30 06:05:09 +00:00
inxi-svn a7c0dedd15 tweak 2011-04-30 05:59:36 +00:00
inxi-svn 406bcaecf1 first whack at usb networking/wifi cards, let's see how it goes 2011-04-30 05:44:46 +00:00
inxi-svn fa7ce4ab41 fixed error message glitch 2011-04-26 20:54:51 +00:00
inxi-svn 493f36bab3 fixed logic error in config file check/creation 2011-04-26 19:50:18 +00:00
inxi-svn 9e5426b180 added a bit of protection in case logic is wrong 2011-04-26 19:46:59 +00:00
inxi-svn ddd3258580 added failed download due to file corruption error and tweaked regex 2011-04-26 19:24:19 +00:00
inxi-svn 80ff3de839 fixed long broken update, now using test for end of file marker in data before writing to actual file 2011-04-26 19:16:44 +00:00
inxi-svn be88d73701 new features rollout in trunk, -c 94 - 99 triggers color selector which allows you to set in user]
config file colors for: terminal in x, console out of x, gui irc, irc terminal in x, irc console out of x

other tweaks too, simplified short inxi output, no more brackets, just a ~ or space as separator.

New color schemes, about 30 total now, those will be modified over time to be the best set of colors
for most users with most background types.

Other cleanups, closer to 1.5.x release now.
2011-04-26 18:57:48 +00:00
inxi-svn 799b95543b spring cleaning. Added as -x option for graphics card, busID output, that's useful.
Moved the output error messaging to the print gfx function where it should be.

I'll do that whereever the error messages were put in the get data functions, it' better to return null
and let the print function decide what message to give users, that way we can always test for null values
on anything we get from get data functions.

I'll fix these as I spot them.
2011-04-25 20:00:53 +00:00
inxi-svn 84267ea1a3 tweak 2011-04-25 19:01:11 +00:00
inxi-svn fa107bd89a fixed some output irregularities 2011-04-25 18:59:27 +00:00
inxi-svn d1e0999e7b added some irc blocked output for security, cleaned up a few glitches in -i and -n functions.
Now non irc output is unfiltered, and irc local mac, ip, username output is filtered.
2011-04-25 18:51:46 +00:00
inxi-svn 289a50fe09 more cleanup of -i to make it more consistent with -n and readable 2011-04-25 07:09:28 +00:00
inxi-svn c44eb201f0 more fixes 2011-04-25 07:05:24 +00:00
inxi-svn 61f3d09376 removed legacy comment, args, etc 2011-04-25 07:02:05 +00:00
inxi-svn 2467841555 and more 2011-04-25 06:59:24 +00:00
inxi-svn 7341973eff more variable fixes 2011-04-25 06:58:31 +00:00
inxi-svn 9933470d1a fixed naming of variable to fit what it is better 2011-04-25 06:57:02 +00:00
inxi-svn 2c75a106b6 added an error null 2011-04-25 06:53:44 +00:00
inxi-svn c7079c5f00 new feature, in stable trunk, -n, shows advanced network card information.
This will probably be modified quite a bit over time so it's a 1.4.80 to start, once it's stable, it will be 1.5.0 release.
2011-04-25 06:23:41 +00:00
inxi-svn 3213f8d1ed added support for virtual disks, like /dev/vda3 for partitions / disks 2011-04-21 01:16:09 +00:00
inxi-svn 6b592e3287 removed 10 cpu core print limit, I don't see any reason for that, and it might confuse users if they have more. 2011-01-12 00:18:03 +00:00
inxi-svn 4b24aefa2c fixed small multi card screen res bug, logic for comma placement was slightly wrong 2010-12-10 20:51:31 +00:00
inxi-svn 1196043bd7 added --exclude-types: devfs linprocfs sysfs fdescfs
the debian kfreebsd kernel shows those on -p output
2010-11-01 20:14:45 +00:00
inxi-svn 34876f7f9c added handling for multiple res for multiple screens in special cases with multiple video cards 2010-10-08 06:05:34 +00:00
inxi-svn d2411ce973 bug fix in multiple gpu print out, bug fix in multiple audio card driver print out 2010-10-08 05:37:08 +00:00
inxi-svn 15430ba3ab small fix in distro id to handle incorrectly arch linux /etc/lsb-release file.
Normally we won't fix such things, which are just bugs in the distro, but in this case,
since there's now an overall failsafe, that can be used for all future distros that might
make the same mistake.

But please, tighten up your standards distro, this is a small file, and it's not hard to fill
it out right, is it? Or is it?
2010-09-30 00:46:02 +00:00
inxi-svn 819fb339d8 added a comment 2010-09-29 16:38:37 +00:00
inxi-svn 0c3d35b650 the 4.1.16 bug fix recreated the 1.4.15 bug fix issue, that is now corrected. 2010-09-29 16:36:24 +00:00
inxi-svn 106c4878f1 fixed a bug where if disk has > 9 partions, label would repeat for root for all of them > 9 2010-09-26 21:59:16 +00:00
inxi-svn 2e75681f83 optimized a bit to reduce fs checks 2010-09-16 21:31:23 +00:00
inxi-svn 1de0becffc comment clean up 2010-09-16 21:21:25 +00:00
inxi-svn 8deff8d7f0 reset variable in a loop to avoid error 2010-09-16 21:19:50 +00:00
inxi-svn 6750924de4 fixed a weird arch kernel issue where df -hT reports first column /dev/disk/by-uuid no matter how disk is mounted in reality. 2010-09-16 21:10:33 +00:00
inxi-svn 92628d2f5c added in another ignore fs, devtempfs 2010-09-16 19:00:57 +00:00
inxi-svn 01842d5832 added in out of X, root support for showing X.org version 2010-08-24 21:27:47 +00:00
inxi-svn 3438103c7a added in handling for when the vendor string for xorg is NOT xorg, but something else, like fedora 2010-08-24 20:10:32 +00:00
inxi-svn 3b102a7b43 fixed date, jule-> july 2010-07-26 20:44:41 +00:00
trash80.v2.0 25219ba967 Bugfix to cpu logic 2010-07-24 23:49:55 +00:00
trash80.v2.0 a97f8d6b54 Updated and hopefully simplified the get_cpu<data>. We no longer care what the numbers are, all we do is count unique ids. Now we ignore the id identifier number, since the new i series from Intel either kills a logical processor or ships flawed quad cores as dual or dual HT, maybe even tri-core sometime. The new logic only cares about the number of cores, the number of physical processors, and the number of virtual processors. 2010-07-24 18:04:14 +00:00
inxi-svn 7df3311080 bug fix, -o also requires a loop type fs filter to avoid showing squashfs type partitions 2010-06-11 04:04:40 +00:00
inxi-svn f4d3d7a4e9 Change version:
Bug fix, added in globals B_DCOP / B_QDBUS for pretests of dcop/qdbus. Need to set both because some systems have both.

Bug fix, added squashfs and unionfs to excluded fs types to clean up -p output for partition data
2010-06-11 03:44:19 +00:00
inxi-svn d35ed8b8e2 wrong branch, uploaded now to trunk the qdbus error squelch bug fix. Change version because output is error, now it's nulled. 2010-04-10 03:29:45 +00:00
inxi-svn b63089a6d6 tiny bug fix, change version number because it can cause bad output slightly.
Added 2>/dev/null to qdbus, that tool isn't tested for and  might not be present, and when absent, throws error
2010-04-10 03:26:27 +00:00
inxi-svn 17065c59f7 help typo fix 2010-03-21 05:06:02 +00:00
inxi-svn 32da9c7a7f (change version)
fixed bug in sse output for flags
2010-03-05 22:36:09 +00:00
inxi-svn dc8706cfa7 small issue fix for intel ht dual core, it has bad core ids, so I had to replace smart count with a manual dumb count, that works 2010-03-05 07:22:56 +00:00
inxi-svn 083ef48993 c(change version, bug fixes worked) 2010-02-18 07:01:44 +00:00
inxi-svn c23da95276 tweaks 2010-02-18 06:57:47 +00:00
inxi-svn f419ca2c96 small tweak 2010-02-18 06:53:49 +00:00
inxi-svn 85f2543b31 fixed small issues, added SIO to mobo temp types, filtered out ps from -t c for slower systems 2010-02-18 06:34:23 +00:00
inxi-svn e6f728dbf9 fine tuned output, changed app: to either command: or daemon: , app isn't very accurate since it can be many things. 2010-02-16 23:02:01 +00:00
inxi-svn 585faeee28 bug fix 2010-02-16 22:44:57 +00:00
inxi-svn 3ea4eca9c1 (change version)
small bug fix in -t, gawk has to strip out [,],(,) to avoid compare errors in bash for things like [nfsd] in output
2010-02-16 22:43:23 +00:00
inxi-svn dc4ed951b1 (change version)
a small issue fix, where cpu spike caused by inxi itself gives a bad cpu speed. Solution, put a 0.3 sleep time right before we get the cpu 
data.

Less than 0.3 wasn't s reliable, not sure how much time the kernel needs to slow down cpus again.

user can set config override of this time easily.

Maybe one day inxi will be released with config files in /etc, then this stuff can be documented better in the file.

I found the sleep largely unnoticeable in my tests.
2010-02-15 05:05:47 +00:00
inxi-svn 987eb7abe7 (change version)
cleaned ps functions up a bit, made args more clean. Added in output to let users know why their irc request for > 5 lines is 5, throttled from 
x.
2010-02-14 17:15:44 +00:00
inxi-svn fe066bf62f bug fix, have to reverse sort orders too, sigh... 2010-02-14 03:49:54 +00:00
inxi-svn 211cba3a5f (change version, small bug fix)
fixed small issue, discovered that etch bash/ps does not support the + operator for --sort, only -, eg: +rss fails and -rss works.
2010-02-14 03:44:10 +00:00
inxi-svn d43a83d93d cleaned up some variable misnamings 2010-02-13 06:10:31 +00:00
inxi-svn 05b5cef12c tweaked error message for -t 2010-02-13 05:48:47 +00:00
inxi-svn 664bee7689 (change version)
added filter, only 5 or less allowed in irc client, terminal 20 or less supported.
2010-02-13 05:43:35 +00:00
inxi-svn 929bf70fb9 help menu tweak 2010-02-13 04:47:06 +00:00
inxi-svn 50e07be10b tweaked help menu for -F option, excluded -t noted. 2010-02-13 04:45:48 +00:00
inxi-svn d8a491a3c7 added -t option output to -x on help menu. 2010-02-13 03:43:11 +00:00
inxi-svn 336b27e127 fixed error 7 message 2010-02-13 01:39:53 +00:00
inxi-svn 41d501a798 cleaned up error message for -t 2010-02-13 01:35:59 +00:00
inxi-svn bc1795809c bug fix for output of number 2010-02-13 01:27:35 +00:00
inxi-svn 0c5674b4f9 (change version)
New option: -t 
requires extra args c, m, or cm (cpu, memory, or both). Accepts further additional option: 1-20

This will show top cpu processes for default number or user selection, and top memory using processes.

Sample: inxi -t c7
2010-02-13 01:21:29 +00:00
inxi-svn fa26506a22 (change version)
the inevitable bug with method change, updated and restored lost features using /sys/block method
2010-02-07 08:25:27 +00:00
inxi-svn 7f3c89b63c (change version)
updated to handle new /sys/block syntax to get device name for disks. This will require further work to actually make solid, but this fix 
makes 
it work for now.
2010-02-07 07:47:07 +00:00
inxi-svn c90ed16e7b (Change version)
Found another issue, for snd modules, we have to use array item 3, kernel modules loaded, not driver

driver for sound modules is a name, not a module name, and also the reported modules need further processing, - to _ and tolower in case.
2010-02-05 23:21:37 +00:00
inxi-svn c0d50a4a26 (Change Version)
fixed another small bug that made the print for busid use wrong data, forgot to clean , from original array data.
2010-02-05 23:04:02 +00:00
inxi-svn 8ff14cda78 cleaned up small trailing whitespace issue with ports output, put the cleanup where it belongs, in the data get function 2010-02-05 22:42:31 +00:00
inxi-svn a5b42c8fc0 (change version)
fixed a bug that made two networking chips of same company when identical create one single doubled driver output.

Also added in pcibus id output for -x option with networking and audio cards.
2010-02-05 22:33:07 +00:00
inxi-svn c1dff27d83 fixed bug with pardus pisi output, stripping out colors 2010-02-01 18:32:15 +00:00
inxi-svn e7e2a381a9 bug fix for pardus pisi line output, added file missing detection for arch repos 2010-02-01 18:02:37 +00:00
inxi-svn e4f8bacf31 (change version)
Refactored to gawk the arch repo processing in get_repo..
2010-02-01 17:31:46 +00:00
inxi-svn 77763f7386 fixed variable name 2010-02-01 06:33:41 +00:00
inxi-svn a5c6296f6b and some code cleanup 2010-02-01 06:23:44 +00:00
inxi-svn 58d12b30ab and more comments 2010-02-01 06:22:43 +00:00
inxi-svn 0a7cdb5ab7 code cleanup 2010-02-01 06:21:46 +00:00
inxi-svn 95dc7d47db added some comments 2010-02-01 06:20:42 +00:00
inxi-svn 19191c50e8 removed legacy comments 2010-02-01 06:19:17 +00:00
inxi-svn a153f1d3d0 order order... 2010-02-01 06:10:31 +00:00
inxi-svn 21225eda76 forgot to update help menu for -r 2010-02-01 06:09:40 +00:00
inxi-svn c364b89f48 (change version, by the way)
cleaned up wording for arch repos
2010-02-01 05:52:46 +00:00
inxi-svn 5264341430 added arch support for -r option 2010-02-01 05:51:09 +00:00
inxi-svn e253aa3028 after getting user data, added pardus pisi repo listing support for the -r repo list option.
This method will probably work for arch too I'd guess if pacman lists repos in the same way
2010-02-01 02:52:30 +00:00
inxi-svn 53bbf03cea (Change Version)
Optimized to not do repeated tests of tools for functions that are used more than one time.

Added boolean tested flags, and global app path variables to handle this.

this can knock off up to 10 or more type -p app exists type tests for one script execution.
2010-01-29 23:31:20 +00:00
inxi-svn ffd2c631ef code cleanup 2010-01-29 23:07:50 +00:00
inxi-svn b95b6a1962 (Change Version)
Found and fixed 2 real bugs:
1 - driver module version print out was broken for both networking and audio, and audio was not at all working due to improperly formatted 
module names being sent to get module driver version function.

2 - runlevel show was broken, was using a bad path. Fixed, and also made runlevels show now for -F/-xI output

Updated top comment header to correctly show true script Depends and true Recommends. Recommends section now also lists which options require 
which applications, and I updated/corrected the debian package names for each application.

Redid the recommended app testing also, now the app is only tested for locally in the get data function when it is requested.

Cleaned up some other irregular code methods.

Might be one more fix to get it more consistent.
2010-01-29 23:05:11 +00:00
inxi-svn 61c3cd7ced (change version)
Added in support for unmounted lvm type syntax in unmounted partitions function, /dev/dm-1, I forgot about that possibiliity.

Fixed/patched hfs detection based on a file -s sample data chunk. Added hfsj, which I assume is hfs+, who knows for sure.
2010-01-14 20:46:59 +00:00
inxi-svn 658921da9a added file system type for unmounted fs, if available. Uses file -s, can add it to sudoers if you want to run it as regular user. 2010-01-09 19:20:40 +00:00
inxi-svn c8a9ebec8d and some more cleanup 2010-01-09 05:00:55 +00:00
inxi-svn f02f760794 and some more variable ordering 2010-01-09 04:57:00 +00:00
inxi-svn d61404ff3f some more variable cleanup and syncing 2010-01-09 04:54:17 +00:00
inxi-svn d48147d79d some code cleanup and variable naming fixes 2010-01-09 04:49:55 +00:00
inxi-svn 80a3db7925 and put the functions in alphabetical order, all done now. 2010-01-09 04:19:15 +00:00
inxi-svn 7f76e53bec added in some logging data 2010-01-09 04:17:22 +00:00
inxi-svn bfa54a8ef5 (change version)
new feature and option: -o
shows unmounted local partitions, with uuid and label if present. Does not show with -F to avoid excessive output
2010-01-09 04:05:21 +00:00
inxi-svn aa746b3221 (change version)
found and fixed bug in awk, the test ! i in array is not supported, you have to use only: i in array

annoying, but that's life.
2010-01-08 00:51:34 +00:00
inxi-svn 8eb4d3d470 (change version)
fixed fan speed output for fringe cases, also fixed possible overwrite of fan speeds.
the fan output isn't perfect though, but it will do for now.
2010-01-07 23:59:16 +00:00
inxi-svn 829aa64b70 added up to 99 fans, that way it will never max out 2009-12-25 23:05:09 +00:00
inxi-svn 5064bc762c improved total count of fans supported for sensors output 2009-12-25 23:04:05 +00:00
inxi-svn 62b865293b (Change version)
fixed aux fan glitch in output. This was a bug, aux was simply left unhandled in some cases for fan output
2009-12-25 22:55:34 +00:00
inxi-svn 81365d855f (change version)
found a bug, inxi is using gawk before the depends check, this creates bad output in ubuntu/mint unless it has gawk.

Fixed by moving tests to after dependency checks.
2009-11-18 01:54:28 +00:00
inxi-svn 182c622d46 bug fix for multiple gpu output 2009-11-16 22:46:52 +00:00
inxi-svn 9ebba813c9 cleanup 2009-11-16 19:26:07 +00:00
inxi-svn 5531e3603f cleanup 2009-11-16 19:18:35 +00:00
inxi-svn 18704b8841 cleanup 2009-11-16 19:17:42 +00:00
inxi-svn 7809deb5e6 cleanup 2009-11-16 19:15:47 +00:00
inxi-svn f85419e8a8 (change version nu)
Added nvidia only gpu temp output for multiple gpus. If > 1 gpu screen is detected, it will output the gpu temp data for each 
discovered screen.

For 1 gpu with nvidia, it will show screen nu if you use the -x option, or with -F

This is an nvidia proprietary driver feature only.
2009-11-16 19:03:29 +00:00
inxi-svn 945ffef2b5 small tweak to logic of partitions 2009-10-14 23:09:30 +00:00
inxi-svn 1a2b56ac3e (change version)
bug fix works for dev version for partition information. Updated version number.
2009-10-14 22:56:26 +00:00
inxi-svn c1fe45f286 trying a bug fix for devBase partition info 2009-10-14 22:53:34 +00:00
inxi-svn d3bc0d6fcb code tweak for yum 2009-10-13 21:35:37 +00:00
inxi-svn 7332f3b6de (change version)
yum made more robust, added /etc/yum.conf support, added support for older syntaxes in redhat, added missing data support.

And that's it I hope for yum.
2009-10-13 21:31:30 +00:00
inxi-svn aa1fd80f5c code tweak, that should be about it, all ready to go now. 2009-10-13 20:37:11 +00:00
inxi-svn 86f5da9ea9 comment update 2009-10-13 20:34:00 +00:00
inxi-svn 15014560eb code cleanup 2009-10-13 20:29:30 +00:00
inxi-svn 57b65b7994 code cleanup 2009-10-13 20:28:55 +00:00
inxi-svn 0c7821172d updated help menu for yum 2009-10-13 20:18:53 +00:00
inxi-svn 6198d63e39 cleanup and error protection 2009-10-13 20:16:37 +00:00
inxi-svn 8171130329 bug fix 2009-10-13 20:14:45 +00:00
inxi-svn 96863ec661 (change version)
added first attempt at yum repo handling in
2009-10-13 20:09:54 +00:00
inxi-svn ec6eaec97c fine tuned wording 2009-10-13 05:12:41 +00:00
inxi-svn 3e3b8dd196 tweaked repo active wording: fits better with various distros now. Active repos in... 2009-10-13 05:10:01 +00:00
inxi-svn c843356ca7 bug fix 2009-10-13 03:05:13 +00:00
inxi-svn bf9cf87ffb (change version)
adding in a spacer in :// to turn off auto show page title in irc clients. For terminal, will not add space.

This fixes an irc client bot showing title of web pages of any url, like amybot
2009-10-13 02:50:09 +00:00
inxi-svn 1ebd24b2ff tweak 2009-10-12 23:18:16 +00:00
inxi-svn f0961d3f4e tweak 2009-10-12 23:17:59 +00:00
inxi-svn 297af994c0 (change version)
added global repo id name for printout, set in get_repo_data, this makes it forward compatible for other repo type systems than apt.
2009-10-12 23:14:29 +00:00
inxi-svn 3c011c53d5 shortened syntax 2009-10-12 23:11:36 +00:00
inxi-svn dfb0657ff9 improved wording to make it distro neutral 2009-10-12 23:10:39 +00:00
inxi-svn 3c8e84fb69 cleanup of code 2009-10-12 23:05:26 +00:00
inxi-svn 0f35a6b1fa cleanup and white space protection for line starters 2009-10-12 23:03:05 +00:00
inxi-svn 205d470410 code cleanup 2009-10-12 22:56:15 +00:00
inxi-svn 0ae3be652a bug fix, forgot to print file name contents on that iteration 2009-10-12 22:51:04 +00:00
inxi-svn 747a8da328 code cleanup 2009-10-12 22:44:01 +00:00
inxi-svn af0420a1ed (change version)
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.
2009-10-12 22:28:10 +00:00
inxi-svn c41e02bfb8 moved fs output 2009-10-10 03:58:22 +00:00
inxi-svn 3ae77ae353 (change version)
added partition fs type output
2009-10-10 03:50:32 +00:00
inxi-svn 3a91faffee logic cleanup in printout function for hdd data 2009-08-07 00:51:10 +00:00
inxi-svn 2229da51b6 updated help menu for -v 5 2009-08-07 00:36:15 +00:00
inxi-svn 85c82cfe25 added -v 5 full disk output 2009-08-07 00:35:17 +00:00
inxi-svn 5e23f6caa4 updated comments 2009-08-07 00:28:07 +00:00
inxi-svn 38475a5e4b typo fix 2009-08-07 00:24:15 +00:00
inxi-svn 2495326bc8 tweak, upped max per line short disks output to 5 2009-08-07 00:23:58 +00:00
inxi-svn ddcfc1f85c bug fixes, tweaks, code cleanups for hdd printout 2009-08-07 00:22:17 +00:00
inxi-svn 8768c2b0dd code cleanup 2009-08-07 00:07:41 +00:00
inxi-svn e41eeea227 maybe svn glitch, double checking 2009-08-07 00:05:57 +00:00
inxi-svn d57cbf4b1e svn ci error, change version, line wrapping for hard disk output, bug fixes in print out sections. 2009-08-07 00:04:04 +00:00
Trash80.v2.0 69b0694e91 corrected the cpu input, accidentally added bugfix to wrong line. 2009-08-05 04:59:55 +00:00
inxi-svn 242dc4e829 (change version)
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.
2009-08-05 00:56:27 +00:00
inxi-svn 2201b388c9 (change version)
bug fix for cpu data. Make sure all cpu counts are > 1 for tests.
2009-08-05 00:26:28 +00:00
inxi-svn a2c6aabcd8 (bug fix / tweak)
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.
2009-08-04 00:21:54 +00:00
inxi-svn 0d24ff1bcb added -h -s message about -! 1 test flag to see why no error output for sensors 2009-08-04 00:13:48 +00:00
inxi-svn 588dcac434 (change version)
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
2009-08-04 00:12:26 +00:00
inxi-svn 5c12898d86 (tweak)
Added to sensors CASE fan test explicitly to sys fan array.
2009-08-04 00:01:43 +00:00
inxi-svn 6649e5c794 bug fix, handled case of multiple gpus and temps 2009-08-03 08:21:11 +00:00
inxi-svn a890e72a7f bug fix to ati detection gpu temp 2009-08-03 08:14:43 +00:00
inxi-svn c7cda10cf0 (change version)
Added nvidia/ati-fglrx gpu data output to sensors
2009-08-03 08:11:30 +00:00
inxi-svn e792d57762 made cpu flag string code more readable 2009-08-03 07:07:31 +00:00
inxi-svn a18aa882a8 tweaked cpu flag short output to handle sse4a and sse4 and sse5 2009-08-03 06:59:17 +00:00
inxi-svn aaf69ff9d2 altered -x help text a bit to make it more clear 2009-08-03 06:04:25 +00:00
inxi-svn 0fb63a489f bug fix, since it's basically not possible to control charset of output consoles, removing the degree circle from sensors output. It
failed on 8859-14, for example, but works on utf-8 and 8859-1, but rather than fight endless charset locales stuff it's easier to just 
dump it.
2009-08-03 04:48:29 +00:00
inxi-svn fcc98e7c11 Added which sudo test, added more comments to explain what is happening. 2009-08-03 04:38:27 +00:00
inxi-svn 042cd2cd65 tweaked help and comments for the sudo information, it requires sudo -V 1.7 or newer to use -n option.
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.
2009-08-03 04:32:29 +00:00
inxi-svn 093a11e67d (change version)
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.
2009-08-03 03:57:20 +00:00
inxi-svn 0bc773464f (change version)
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.
2009-07-31 22:26:09 +00:00
inxi-svn a402275233 more comments tweaks and clarifications 2009-07-30 01:09:58 +00:00
inxi-svn da55d78f6f tweaked comments in sensors section 2009-07-30 01:07:27 +00:00
inxi-svn f410dc896c small tweak to double check that only valid temp data gets used in regex 2009-07-30 01:00:24 +00:00
inxi-svn 1452797265 (change version)
bug fix in sensors counting and detection.
2009-07-30 00:39:57 +00:00
inxi-svn 4b1296685c added variable declaration to sensors 2009-07-30 00:22:49 +00:00
inxi-svn 06b50b2946 bug fix for missing names for hard disks, now shows temp data content instead of Name n/a, which is more useful. 2009-07-30 00:21:12 +00:00
inxi-svn 1c960eefc2 (change version)
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
2009-07-29 20:47:22 +00:00
inxi-svn b8d0abd743 (change version)
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.
2009-07-28 22:44:21 +00:00
Trash80.v2.0 51014234cf fixed color bug I caused, I changed default to 0 for my theme and it went to commit. Reversed it back to 2. 2009-07-08 03:57:34 +00:00
Trash80.v2.0 1646b83668 'yeah' somehow jumped in. Removed before allowing updates. Should be find now. 2009-07-08 03:52:13 +00:00
Trash80.v2.0 3c36885806 released qt4 konvi 'fix' and updated main. Had to reorder tests so that $PATH is updated before dependencies are searched. 2009-07-08 03:50:28 +00:00
inxi-svn 58b3c54d61 added finch to trunk, reordered case list 2009-06-07 01:55:40 +00:00
inxi-svn 313d023c01 added comments for logging 2009-05-29 03:27:19 +00:00
inxi-svn aef0494669 added cat and sys info logging for 9, 8 default, 10 color logging 2009-05-29 03:18:36 +00:00
inxi-svn 7745b3c004 code cleanup for sed for logging 2009-05-29 00:19:46 +00:00
inxi-svn 80f2f2a508 fixed numbering 2009-05-29 00:05:26 +00:00
trash80.v2.0 c6d9f65838 Still a gawk bug loomed. Fixed now. inxi will exit in Ubuntu with gawk requirement only now. (or any other distro gawk-less). 2009-05-28 23:48:35 +00:00
inxi-svn 5c92c093fc debug comments 2009-05-28 23:12:00 +00:00
inxi-svn 4a81c302ad added logging for -@ 9 and 10, update version 2009-05-28 23:08:18 +00:00
inxi-svn ede1de3594 bug fix 2009-05-28 20:41:14 +00:00
inxi-svn dbabc6ee44 updated date on inxi 2009-05-28 20:35:11 +00:00
inxi-svn 462fff6b5d updated trunk inxi 2009-05-28 20:26:29 +00:00
inxi-svn b59210e006 (updated number) 2009-03-20 21:13:46 +00:00
inxi-svn 3bb4cf508c (change version)
fixed a subtle spacing issue that sometimes makes some data change irc colors, now all spacing should protect against that.
2009-03-20 21:13:11 +00:00
inxi-svn d58622e6b5 (no version change)
But update packaging anyway. 

This just updates the -h menu to better reflect what the options currently do.
2009-03-17 05:14:12 +00:00
inxi-svn f2d857a591 Removed some debugging stuff 2009-03-17 02:00:56 +00:00
inxi-svn d66bf2a2c2 Added in root test for rest of get gfx data sections to avoid debugger gfx errors 2009-03-17 01:56:21 +00:00
inxi-svn 1a42ad59f0 (change version)
Removed redundant line printing output for debugger > 5. Why this even existed is beyond me, it does nothing to help debug.
2009-03-17 01:53:02 +00:00
inxi-svn 3bfc7ec9cb (no version change)
Some code clean up, got rid of a few more awk one liners, and added back in the local variable.
2009-03-17 00:09:52 +00:00
inxi-svn ef7a785e32 (no version change)
Removed redundant line of code in print gfx function.
2009-03-16 23:54:59 +00:00
inxi-svn f420cdd007 (Change Version)
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.
2009-03-16 19:41:11 +00:00
inxi-svn 93d7ab3058 Finally tracked down and fixed the raijeken bug with wrong glx information showing, also added glx information for all cards, not just
not free ones.

After all, non free shouldn't show more information that free, that hardly seems fair.
2009-03-14 04:23:15 +00:00
inxi-svn bfb73bf0b6 (change version)
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.
2009-03-13 22:39:49 +00:00
inxi-svn 70b4e1fb5b comment clean up 2009-03-02 02:38:16 +00:00
inxi-svn 026df46dfd (change version)
Fixed problem with false /dev output for /dev/root, needed to set partition to null again when located in uuid or label
2009-03-02 02:32:16 +00:00
inxi-svn b0d098b863 comment tweak 2009-03-02 02:25:53 +00:00
inxi-svn 80629e6c4b Comment fix 2009-03-02 02:20:19 +00:00
inxi-svn 89f34cb567 code cleanup 2009-03-02 02:19:02 +00:00
inxi-svn 969bac7f8b comment fix 2009-03-02 02:18:40 +00:00
inxi-svn 778ab41d79 bug fix 2009-03-02 02:16:29 +00:00
inxi-svn a1d3fb0d32 Bug fix 2009-03-02 02:16:10 +00:00
inxi-svn 9a4e3433c5 (no version change, but update)
Added wrapped mount point output
2009-03-02 02:15:06 +00:00
inxi-svn 18c22cbadf (change version)
fixed bug with strange partition data wrapping in df, should now show root again in fringe cases
2009-03-02 01:55:48 +00:00
inxi-svn 63316984f3 (change version)
New feature in swap partition data: show percent used, this is a damentz patch
2009-03-02 00:52:09 +00:00
inxi-svn 8a9c3388a9 didn't workO 2009-02-26 17:17:12 +00:00
inxi-svn 812417b90a trying to handle weird space in name case 2009-02-26 17:15:09 +00:00
inxi-svn 10f94c950f small bug fix in awk, now will output whole usb line 2009-02-18 06:57:28 +00:00
inxi-svn 7fd903ca68 a few cosmetic code tweaks to 1.0.3, no version change 2009-02-18 06:45:49 +00:00
inxi-svn c0c4a4c480 finished up help menu items for branches 2009-02-18 06:33:30 +00:00
inxi-svn 555de23595 added branches three and four support 2009-02-18 06:28:40 +00:00
inxi-svn 22ca4cb17b (change version)
added damentz usb audio patch, debugged, cleaned up, should be working, we'll see.
2009-02-18 06:17:45 +00:00
inxi-svn 2cb135761f (change version)
bug fix for long file system names in partition data, now correctly shows those too.
2009-02-15 05:09:28 +00:00
inxi-svn 82d1116006 Fixed a hard disk percent used bug, needed to add /dev/dm-<number> to pattern 2009-02-12 05:22:12 +00:00
inxi-svn ea48c34edb Added support for file system names with 2 or fewer spaces in partition info, fringe cases, but 1.0.0 should be handling most fringe cases
decently well by now.
2009-02-11 19:29:48 +00:00
inxi-svn 9d4a80ba02 Tweak to get back all partition data 2009-02-11 18:45:00 +00:00
inxi-svn 9b53145489 Tweak for fredf errors 2009-02-11 18:36:48 +00:00
inxi-svn 014f99a0b0 trying a bug fix for a special fredforfaen case with basic partition data 2009-02-11 18:35:08 +00:00
inxi-svn c3420457b8 bug fix 2009-02-11 18:13:22 +00:00
inxi-svn 73296f647f removed label/uuid output for remote directories, that's unneeded and looks silly 2009-02-11 18:10:26 +00:00
inxi-svn 42bcefb925 bug fix 2009-02-11 18:01:17 +00:00
inxi-svn 9ca54a84f6 bug fix 2009-02-11 18:00:19 +00:00
inxi-svn 2463b71ca8 Fixed small fredforfaen bug with /home being in name of path, but not being home, so checking now for starting with /home, /, /var etc 2009-02-11 17:58:19 +00:00
inxi-svn f039fb8b17 added nfs remote mount syntax 2009-02-11 17:51:55 +00:00
inxi-svn 29b5befc07 fixed small glitch with spacing in ID for partitions 2009-02-11 17:41:23 +00:00
inxi-svn 96efd50410 Fixed a few last bugs, shortoutput fine tuned, fixed variable names for spacer elements in short output, added one new class of variable
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
2009-02-11 17:28:25 +00:00
inxi-svn 4305cd22d1 (change version)
bug fix, now it should work for all uuid/label
2009-02-07 08:09:00 +00:00
inxi-svn 0047d982e5 bug fixes 2009-02-07 07:51:09 +00:00
inxi-svn 7086344a26 bug fix for label/uuid for root, that was trickier than I realized 2009-02-07 07:48:35 +00:00
inxi-svn 76ebd9af44 (change version)
Found and fixed a small bug with / label detection in cases where root is mounted by uuid, now it works again
2009-02-07 03:58:32 +00:00
inxi-svn b383f601e4 (version change)
Hopefully close to last cleanup and tweaks before releasing 1.0.0, but we'll see if more features or fixes need to be implemented.
2009-02-05 18:52:17 +00:00
inxi-svn aaf63e5525 local variables added to cleanup 2009-02-05 02:12:18 +00:00
inxi-svn 81323c393d output for remote file systems 2009-02-05 01:59:08 +00:00
inxi-svn 95ab6339d9 cleanup, no changes 2009-02-05 01:51:34 +00:00
inxi-svn 575c743001 Fixed small arch bug 2009-02-05 01:36:03 +00:00
inxi-svn 4470d2f1f9 fixed numbering 2009-02-05 01:22:59 +00:00
inxi-svn 4e8c6b0a1d (change version)
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.
2009-02-05 01:19:32 +00:00
inxi-svn ad6da8977e Fixed bug in ht detection, much simpler now, this should work I hope. 2009-02-04 06:32:10 +00:00
inxi-svn 460f028877 (Change version)
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.
2009-02-03 22:20:11 +00:00
inxi-svn 5a35c5fb12 (Change version number)
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.
2009-01-26 22:44:52 +00:00
inxi-svn 959caae1f7 bug fix, update version number, removed extra {...} in if clause.
This doesn't fix the main xeon failure though
2009-01-25 02:22:16 +00:00
inxi-svn cf7508d125 fixed inxi 2009-01-25 00:57:17 +00:00
inxi-svn faf51975dc Added sample dual cpu, dual core xeon to modules/data 2009-01-25 00:55:34 +00:00
inxi-svn e70bead7c0 Added pardus to distro supported list, changed date to be straight: day month year 2009-01-23 17:43:15 +00:00
inxi-svn 5b6a953013 improved comments 2009-01-09 03:45:32 +00:00
inxi-svn 5e8d6f9194 added comment to clarify tests 2009-01-09 03:24:37 +00:00
inxi-svn 1b19321e2c fixed bug with space in user partition names in hard disk size 2009-01-09 02:24:25 +00:00
inxi-svn 7006e1a062 more indentation cleanup 2009-01-06 22:22:56 +00:00
inxi-svn aebbdbe6c6 small whitespace clean up 2009-01-06 22:20:06 +00:00
inxi-svn de13eba739 Refactored, a few cosmetic changes. 2009-01-06 22:13:48 +00:00
Trash80.v2.0 8e40abc247 commit the HT, SMP, etc changes. All tests seem to pass 2009-01-05 22:02:38 +00:00
trash80.v2.0 f0a0a2bac6 fixed hdd bug caused by missing $ in var. Merry Christmas 2008-12-25 12:23:30 +00:00
trash80.v2.0 9179e6a477 Testing seems to have gone ok, still working on damentz patch. The code seems quiet good. H2, awesome job on it :) Any thoughts about inxi 1.0 ? 2008-12-24 09:59:03 +00:00
trash80.v2.0 cfa634c6bc reconfigured lsb lookup, h2's fix 2008-12-21 04:45:31 +00:00
trash80.v2.0 78722b3748 forgot revision change for lsb fix 2008-12-20 18:54:18 +00:00
trash80.v2.0 3d875c7f5e lsb fix for distros with known good lsb files 2008-12-20 18:52:54 +00:00
inxi-svn aef42dccf7 Bug fix, use latest 2008-12-17 04:16:30 +00:00
inxi-svn 949dea7af1 (Version Change)
Added 32/64 bit output on System -S line
2008-12-17 04:09:01 +00:00
trash80.v2.0 18a41b9c0a forgot to update date 2008-12-16 23:13:39 +00:00
trash80.v2.0 e18f634857 Correct runlevel check 2008-12-16 23:12:27 +00:00
inxi-svn 59c49120de (Change Version - BIG BUG FIX!!)
Moved the get params back after setting konvi params
2008-12-15 00:12:05 +00:00
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
inxi-svn be6d736498 (no version change)
comments tweak
2008-11-11 23:45:59 +00:00
inxi-svn 1404ceca7d (No version change)
and added -q to testing wget as well...
2008-11-11 23:42:51 +00:00
inxi-svn 0ad0f3197b (No version change)
Added item to -v5 help menu.
2008-11-11 23:41:46 +00:00
inxi-svn 88ca162533 (No version change)
More cleanup of comments
2008-11-11 23:38:07 +00:00
inxi-svn 4b540d3c9b (no Version Change)
typo.
2008-11-11 23:37:20 +00:00
inxi-svn 3061f80d1a (change version)
Some last code cleanup, comment cleanup, tweaked a few small things.
2008-11-11 23:36:25 +00:00
inxi-svn 83a50c790a (Change Version)
For some reason, wget suddenly decided to show output, so added -q to script_self_updater function wgets
2008-11-11 20:04:33 +00:00
inxi-svn a761abbda7 (Change Version)
This should be about it, some fine tuning of variables, distro id handling, and lsb file handling
2008-11-11 20:01:36 +00:00
inxi-svn e158276f5e (Change Version)
Tiny change, removed 'Error data:' string from bad cpu core count to make output neater.
2008-11-11 19:42:01 +00:00
inxi-svn 241dc099b4 (Change Version)
Final step: moved the error output switch to end of get_parameters. This lets you trigger 
the debugger -@ <debug number> flag without having to actually alter the code of inxi 
manually.

This might occasionally create undesired error output, but that's a good thing, since
that error output should be seen so we can know what the error is.
2008-11-11 19:34:25 +00:00
inxi-svn 5c754f182b (Change Version)
Added -! unsupported argument error condition.
2008-11-11 19:12:24 +00:00
inxi-svn a7d160d02d (No Version Change)
Fixed top comments a bit
2008-11-11 18:57:47 +00:00
inxi-svn 1fdc16d584 (Change Version)
Bug fix, removed scriptname from download path
2008-11-11 18:47:00 +00:00
inxi-svn df2d91cb37 (Change Version)
This is now launching inxi as an official script. Changed the default download url
to get it directly from google svn. This means that users can always reference the
official svn copy to ensure that the code is what it claims to be.

Added for development purposes new advanced testing options:
-! 1 triggers the boolean testing flag
-! 2 triggers an alternative development download
-! http://<any website>/path_to_download_directory/ (note: must end in /, and not include 
  inxi file name
  
Updated the script_self_updater function to handle variable download urls, and added an
update message that lets the person know where the update source was.

Added error handler for user provided testing download urls, if not existing, exit.

And with this, I'm handing over control to the inxi project itself.
2008-11-11 18:37:09 +00:00
inxi-svn 6003c8a002 (Change Version)
Trying out defaulting to /etc/lsb-release unless it's mint in /etc/issue, that gives more accurate readouts
2008-11-11 07:01:29 +00:00
inxi-svn 881628d7f0 (Change Version)
Added fail option for sound card test, also check /proc/asound/cards for something too
2008-11-11 05:58:15 +00:00