inxi-svn
1169e86347
Cleaned up more awk one liner flow controls, removed ; and added new lines, please check to make sure I didn't mess up!
2008-11-05 23:54:14 +00:00
inxi-svn
32a9957109
some more awk cleanup
2008-11-05 23:39:07 +00:00
inxi-svn
b5bffea71f
added @ to cpu ban list
2008-11-05 23:18:26 +00:00
inxi-svn
c21dfba13d
improved extra whitespace handling in cpu model filters, now all > 1 whitespace becomes a single ' '
2008-11-05 23:15:09 +00:00
inxi-svn
90779b6369
cleanup of hanging and loose variables
2008-11-05 22:48:56 +00:00
inxi-svn
fbff2fbed9
new option, show full flags (-f), created a few new functions to split the flag handling, for get and print. This removes
...
that junk from the old get cpu data and makes it cleaner.
2008-11-05 22:23:53 +00:00
inxi-svn
f57394e296
Just some small cleanups and code fixes
2008-11-05 06:16:33 +00:00
inxi-svn
a88d133b72
Try to fix L2 misreporting issue for intel core duo
2008-11-05 02:32:53 +00:00
inxi-svn
99509242d1
Improved audio device detection with new string
2008-11-05 02:05:26 +00:00
inxi-svn
582c6eecac
Updated get_cpu_core_count to return an array of data like other functions, this helps make methods more consistent over
...
all get data functions
2008-11-04 22:08:46 +00:00
inxi-svn
b11b8228c5
update text tweak
2008-11-04 20:09:09 +00:00
inxi-svn
28fd5c648a
tweak
2008-11-04 20:07:11 +00:00
inxi-svn
0d4ead5b0a
text tweak
2008-11-04 20:05:46 +00:00
inxi-svn
c44c7d263c
Small tweak to update message, makes it more readable
2008-11-04 20:04:51 +00:00
inxi-svn
54a94c2821
Added -v6 option, show audio / sound card data. Cleaned up last chunks of crufty code and variable names, found a few
...
hidden non handled old style variables and structures.
Less junk in there now, but still a few spots where things need polishing.
2008-11-04 20:02:05 +00:00
inxi-svn
a70dedfa4b
cleanup
2008-11-04 05:39:26 +00:00
inxi-svn
c4fb305550
for ps3, dumped cpu .000000 mhz and made it .000
2008-11-04 05:00:55 +00:00
inxi-svn
a3ceadd2e7
tweaking and testing how awk handles this, cleared out MHZ from cell cpu speed
2008-11-04 04:54:49 +00:00
inxi-svn
64a9f179e6
tweaked some output for awk cpu detections for cell
2008-11-04 04:45:02 +00:00
inxi-svn
8ca79e2118
Some tweaks and tests with awk, seem to work
2008-11-04 04:16:24 +00:00
inxi-svn
bacb436798
another cell try
2008-11-04 04:10:03 +00:00
inxi-svn
1871cef434
fixed cpu count backup test
2008-11-04 04:02:59 +00:00
inxi-svn
6037e4002f
trying to get ps3 to show some basic output
2008-11-04 04:01:02 +00:00
inxi-svn
37a0e55b57
added error condition to number calculator
2008-11-04 03:13:01 +00:00
inxi-svn
4ebea16e5f
Changed partition data to work like other functions, create array of array data, then loop through it to print
2008-11-04 03:03:29 +00:00
inxi-svn
17c4e56151
Fixed card number bug in networking
2008-11-04 02:29:11 +00:00
inxi-svn
dc00445017
Added both -V and -U update output that tells user where script is located in system
2008-11-04 02:16:50 +00:00
inxi-svn
567a20af28
Finally figured out how those weird pseud multilevel arrays work, tried it with networking, and it's working, I can get
...
output for each line as an array of an array, so I can print and handle output better now.
2008-11-04 02:14:12 +00:00
inxi-svn
f68dc801d4
Fixed broken cache output, fixed bogomips output, created new cpu data function that takes core count and data number and
...
creates correct value for all cores total
2008-11-03 22:37:57 +00:00
inxi-svn
84beb29dcb
Trying -x option for extra data output with bogomips, but note: bmips is I believe per core, so needs to actually be
...
calculated correctly, currently showing for only one core
2008-11-03 21:30:34 +00:00
inxi-svn
d4ffef12c8
Some bash tweaks, tests on use of [ vs [[ brackets and arrays
2008-11-03 21:04:21 +00:00
inxi-svn
11b4075dbf
Added proper antix-version handling to get distro name
2008-11-03 20:41:39 +00:00
inxi-svn
3dadd268e3
Fixed color in awk, using ENVIRON method
2008-11-02 20:57:56 +00:00
inxi-svn
51754db4ba
Fine tuned hard disk partitions, put color values directly into the awk statement, that works fine if you use the correct
...
' and " sequences.
Cleaned up repeated Partition and replaced with single Partition: and subsequent ID: for each detected one
2008-11-02 20:46:25 +00:00
inxi-svn
a197f7dd0b
comments tweak
2008-11-01 23:29:22 +00:00
inxi-svn
50e0c9ec35
note about hwinfo as possible tool
2008-11-01 22:24:04 +00:00
inxi-svn
43bcdfc8a2
cleanup
2008-11-01 22:05:22 +00:00
inxi-svn
e4cef81a8a
Made -v3 show hard disk names, and -v2 networking information, this gives 3 an actual function, which it didn't have
...
before.
Updated help to show this.
2008-11-01 21:55:12 +00:00
inxi-svn
1347c67edf
For usage, added verbosity level explanations, 0-5 currently.
2008-11-01 21:50:52 +00:00
inxi-svn
e9a58b163c
cleanup
2008-11-01 21:45:17 +00:00
inxi-svn
0007279526
A few more sloppy bug fixes
2008-11-01 21:34:07 +00:00
inxi-svn
e956ee03f3
bug fix, changed $opt to $OPTARG
2008-11-01 21:30:53 +00:00
inxi-svn
7e4c53a7e5
Fixed bug, not null instead of null test,whoops
2008-11-01 21:28:38 +00:00
inxi-svn
d379cb15c0
Redid get_parameters to use getops single letter method, this is cleaner and easier to maintain and test for.
...
Added options -c for color scheme, -d for default (same as previous -v1 or -v), -T testing, allows trigger of
experimental new methods or outputs or functions.
2008-11-01 21:24:45 +00:00
inxi-svn
3366e34053
More comments added to clarify
2008-10-31 21:30:36 +00:00
inxi-svn
a707cea2dc
Added new verbosity level, 5. Allows for printout of clockspeed per cpu on new line if cpu count > 1
2008-10-31 21:12:23 +00:00
inxi-svn
3912580aad
lots of cleanup, refactored more
2008-10-31 20:20:44 +00:00
inxi-svn
cc48099a2a
added spacer to null hdd case
2008-10-31 07:24:44 +00:00
inxi-svn
84feed2d45
added some hdd output tweaks
2008-10-31 07:21:57 +00:00
inxi-svn
312a53e3b9
Added (x) numbering for each hard drive listed in > 1 verbosity levels, this is a nice improvement in readability
2008-10-31 07:13:26 +00:00
inxi-svn
6ff09a06d5
forgot spacer
2008-10-31 06:45:21 +00:00
inxi-svn
b5416695eb
small output fix for networking card, single card case
2008-10-31 06:44:25 +00:00
inxi-svn
b1e4762e7d
More small tweaks to things
2008-10-31 04:31:56 +00:00
inxi-svn
8f29c790ad
help menu output tweak
2008-10-31 04:27:00 +00:00
inxi-svn
eb893cce4b
Updated -V/--version information to better reflect inxi status, cleaned up a few little glitches.
2008-10-31 04:24:09 +00:00
inxi-svn
6253441bc3
Fixed special requirement for antiX id, hopefully distros won't do this type of random file generation and content, a
...
single string in the distro id is what they should have, ie: sidux-version, debian_version, not multiple lines
2008-10-31 03:07:52 +00:00
inxi-svn
14c7150e77
found weird issue, infobash was depending on variables NOT being correctly declared for some output stuff. This will need
...
to be fixed for real, for now just didn't declare HDD_MODEL. This type of stuff is why this script needs to be
rewritten...
2008-10-31 02:31:30 +00:00
inxi-svn
06304336a2
Added null case handling for all hdd values, made hdd function local/global values cleaner
2008-10-31 02:21:01 +00:00
inxi-svn
27a128f93c
For video, added null case in video card detection
2008-10-31 02:00:02 +00:00
inxi-svn
1dd41e1d02
uptime made it space, otherwise it looks silly
2008-10-31 01:36:38 +00:00
inxi-svn
b6eb285cf9
tweaked uptime output, added dash, removed space
2008-10-31 01:34:51 +00:00
inxi-svn
e8cceeb024
tweaked to add tri core, quad core to ban list
2008-10-31 01:27:53 +00:00
inxi-svn
b05fe16a35
modified cpu bans, now it's a string 'dual core', not core, because coreduo gets broken
2008-10-31 01:25:20 +00:00
inxi-svn
f245bbc521
Cleaned up comments, made more consistent and easy to read, added some comments
2008-10-30 22:34:23 +00:00
inxi-svn
1511341393
Updated version number
2008-10-30 22:24:40 +00:00
inxi-svn
ae63e9973b
Adding version number output for updating feature
2008-10-30 22:22:59 +00:00
inxi-svn
c63f96f40e
Added hack to get distro for arch, which has a bug about empty /etc/arch-release and jumbled /etc/issue
2008-10-30 22:04:26 +00:00
inxi-svn
696ee1b3e7
Added 'genuine' to cpu ban word list
2008-10-30 21:46:04 +00:00
inxi-svn
13a9fba961
Improved -U error handler, added advice to output if wget fails.
2008-10-30 21:28:50 +00:00
inxi-svn
c4764550e4
Updated version number
2008-10-30 21:23:50 +00:00
inxi-svn
1e6b18bcbd
More refactoring, made short output use the new cpu_core_count function, got rid of CPU2 stuff, commented out chunks of
...
now unneeded get cpu data stuff
More clean up, tightened up print functions, added some more locals in main print function for child data, removed
corresponding globals.
2008-10-30 21:23:29 +00:00
inxi-svn
1dd8fc0354
Added trash80 cpu count function, removed redundant multicore lines since all always have same clockspeed etc
...
Major cleanup and refactoring of get gfx functions, cleanup of most print functions, consolidation and removal of
unnecessary globals.
2008-10-30 20:32:53 +00:00
inxi-svn
b06b4a07c7
Changed all cases of:
...
if [ .....]
then
or
elif [....]
then
to use the hanging then turd method:
if [....];then
This will be the standard style for inxi
All other flow controls will be on their own lines, ie:
do
done
{
}
2008-10-30 17:18:02 +00:00
inxi-svn
7085e1d702
fixed hdd used spacing, made script name / v number have right color scheme too
2008-10-30 07:48:20 +00:00
inxi-svn
0252ad7ade
added gmbh to ban list
2008-10-30 07:43:21 +00:00
inxi-svn
d2f36ba0e0
fixed ordering of multicard assembler for print
2008-10-30 07:28:43 +00:00
inxi-svn
19ad149b28
Fixed messup with gfx arrays, mixed up glx and gfx
2008-10-30 07:23:45 +00:00
inxi-svn
78ca858d54
Tiny output tweak
2008-10-30 06:19:22 +00:00
inxi-svn
68de9b023b
Fine tuned gfx output, made sections easier to read
2008-10-30 06:08:06 +00:00
inxi-svn
244307e5e3
More fine tuning, got rid of last bits of printf mess, tweaked syntax slightly
2008-10-30 05:58:18 +00:00
inxi-svn
552b063dd2
more gfx output tweaks
2008-10-30 05:39:32 +00:00
inxi-svn
44a2b47d93
Fixed a small output issue with card gfx data
2008-10-30 05:38:10 +00:00
inxi-svn
d1694d1374
Fixed obscure bug in gawk for gfx data in get gfx
2008-10-30 05:25:21 +00:00
inxi-svn
a9e0462c43
refactored and ordered get data functions
2008-10-30 05:04:11 +00:00
inxi-svn
4a4ee6a650
Trying to fix a bug with xchat-gnome detection for client
2008-10-30 04:24:50 +00:00
inxi-svn
722014366a
Fixed output bugs for xchat, got rid of unnecessary and hard to read printf
2008-10-30 01:25:13 +00:00
inxi-svn
1a23eb245e
More output cleanup, more consistent and easy to read hopefullyO
2008-10-29 23:12:28 +00:00
inxi-svn
9da615b89b
More output cleanup and tweaks
2008-10-29 23:07:01 +00:00
inxi-svn
d7f6f92245
Tweaked output, fixed bugs, mostly done with major refactoring now
2008-10-29 23:02:24 +00:00
inxi-svn
24d855bd93
Short output tweak
2008-10-29 22:00:17 +00:00
inxi-svn
a253b4bf68
Bug fix on color setting
2008-10-29 21:47:13 +00:00
inxi-svn
15912c0455
Major refactoring, variable cleanup, condition tests made more consistent.
...
Still to do, make consistent tests on arrays, those need some careful handling.
More tightening of global/local variables.
2008-10-29 21:23:29 +00:00
inxi-svn
07605806d7
bug fix for nested {}... in cpu section
2008-10-29 08:18:56 +00:00
inxi-svn
fce18b8fa4
fixed dual gfx bug
2008-10-29 07:37:26 +00:00
inxi-svn
9c27241efd
try at bug fix for dual output of graphics line
2008-10-29 07:29:17 +00:00
inxi-svn
5838f7e003
put dual gfx on one line
2008-10-29 07:07:53 +00:00
inxi-svn
ee703d17c2
output fix
2008-10-29 06:59:59 +00:00
inxi-svn
7bec613de9
bug fix
2008-10-29 06:58:04 +00:00
inxi-svn
dcd2d72813
fixed dual video card output
2008-10-29 06:54:28 +00:00
inxi-svn
203501f56a
More cleanup, added v4 output, partition filled information for hard disk, reordered output to have gfx all in one place,
...
cleaner indenting.
2008-10-29 06:41:29 +00:00
inxi-svn
887c559ca8
more refactoring
2008-10-29 05:05:01 +00:00
inxi-svn
186f1ced0b
more refactoring, cleanup
2008-10-29 03:49:24 +00:00
inxi-svn
27de71c99f
added help menu, -h and --help
2008-10-29 03:22:16 +00:00
inxi-svn
6d63e5686b
more refactoring
2008-10-29 03:03:18 +00:00
inxi-svn
05ad16866c
patched, dcop in theory would now work in konversation script launch, otherwise I'll leave this alone for now
2008-10-29 02:35:42 +00:00
inxi-svn
d218d50d02
hacked out the dcop stuff for now, that only works if inxi is started as a built in konversation script
2008-10-29 01:59:05 +00:00
inxi-svn
41b9d5f2aa
attempt at konversation bug fix
2008-10-29 00:33:52 +00:00
inxi-svn
b99cfc9df2
removed debugger output
2008-10-29 00:00:25 +00:00
inxi-svn
489bf2b83c
more refactorings, trying to find out why readlink returns perl for konversation in inxi but not infobash
2008-10-28 23:39:01 +00:00
inxi-svn
33c996f682
small tweaks
2008-10-28 07:28:50 +00:00
inxi-svn
9528e9792c
get rid of infobash
2008-10-28 07:10:07 +00:00
inxi-svn
6779d27964
refactored more, rearranged utility functions
2008-10-28 06:45:56 +00:00
inxi-svn
cde859ac3b
replaced eat() with remove_errooneous_characters function by trash80
2008-10-28 06:35:45 +00:00
inxi-svn
65ff6dd284
fixed possible slight path bug
2008-10-28 05:18:25 +00:00
inxi-svn
35643a105f
small tweak function name
2008-10-28 04:16:30 +00:00
inxi-svn
af2a1da5db
refactored into primary data get and print functions
2008-10-28 04:14:35 +00:00
inxi-svn
862eb60967
refactoring
2008-10-28 03:54:30 +00:00
inxi-svn
f335326cd9
tweaked color option error handler
2008-10-28 03:49:24 +00:00
inxi-svn
22f0026e2c
put all core features into function containers as first step to break this into logical components
2008-10-28 03:42:28 +00:00
inxi-svn
c1a4fe88b4
tweaks
2008-10-28 03:11:44 +00:00
inxi-svn
947a8b8fc4
tweaks
2008-10-28 03:09:58 +00:00
inxi-svn
46f05dc2fc
more refactoring and code cleanup, it's starting to get readable now
2008-10-28 03:01:58 +00:00
inxi-svn
a5dd519b0f
more refactoring, some bug fixes that made layout display wrong in editors
2008-10-28 02:48:05 +00:00
inxi-svn
04674b0e72
more refactoring
2008-10-28 02:24:11 +00:00
inxi-svn
ef7ac17e39
code refactoring
2008-10-28 02:14:34 +00:00
inxi-svn
fa66c967b5
more code cleanup
2008-10-28 02:07:37 +00:00
inxi-svn
28be7483ec
Added temporary -U update option for dev and debugging purposes
2008-10-28 01:49:16 +00:00
inxi-svn
f8aac2d152
updated version number
2008-10-28 01:35:09 +00:00
inxi-svn
9e013bcab7
Fixed version number display to handle that part dynamically, fixed more code
2008-10-28 01:27:14 +00:00
inxi-svn
12492a95ba
small tweak in comments
2008-10-28 01:01:03 +00:00
inxi-svn
61cca4ea15
Initial setup of repo
2008-10-28 00:40:43 +00:00