Commit graph

1106 commits

Author SHA1 Message Date
inxi-svn 90645ebe46 New version, new tarball. All bug fixes and cleanup preparing to support bsd systems, including
kfreebsd from Debian.

Cleaned up all sed and grep that will be used by bsds, added more granular flag for bsd types.

Cleaned up and corrected issues between bsd/linux, more escapes and tests added to drop error
counts in bsds. 

Please note that you must use the inxi from branches/bsd for true bsds because sed has extra -i ''
added, and has the proper #!/usr/local/bin/bash

Added -! 16 for gnubsd download/update, that's for gnu bsd systems like gnu/kfreebsd from debian.

That retains the top #!/bin/bash path, and also uses gnu sed so no -i '' syntax.

Moved some grep -o to gawk or sed to avoid using gnu grep unnecessarily, leaving gnu grep where
it will be linux only, for example parsing a /proc file.

Fixed tty irc bugs for bsds and linux, now should show the right console size for both, ideally.
2013-02-09 04:43:18 +00:00
inxi-svn 5b564bc84e New version, new tarball. Note, this is a refactor release only, and features the core bsd
support built in, although inxi will not run in bsd unless the top: #!/bin/bash is changed
to #!/usr/local/bin/bash

The actual bsd branch can be grabbed from: 
http://inxi.googlecode.com/svn/branches/bsd/inxi
then you can keep that version updated using: inxi -! 15 
which will grab the latest bsd version from the svn server.

This release also fixes a lot of small bugs that testing for bsd support exposed, but functionally
most people should see no difference, I just want to get this version up because there are
so many small changes that it's worth having a release.

I was going to have the fixed dmidecode for old systems in 1.8.35 but that will have to wait til
1.8.36

Linux users should see no real changes, except maybe a thing or two will work in certain circumstances 
when it didn't before, like showing MHz on ARM cpus on short inxi.
2013-02-08 04:06:54 +00:00
inxi-svn 5b86605d24 some code cleanup, new tarball, no other changes that matter 2013-01-29 00:40:35 +00:00
inxi-svn 2703defd0c forgot, was using awk, changed to gawk 2013-01-29 00:39:14 +00:00
inxi-svn 9515a5ab00 added a comment to explain the hack for su/process grandparent 2013-01-29 00:37:01 +00:00
inxi-svn 9ec6d89b08 quick bug fix, no version changes, handling su return value for shell parent, weird stuff.
Now will drill in until it hopefully gets su parent.
2013-01-29 00:30:34 +00:00
inxi-svn 84137bfac8 new version, new tarball, new man page.
small change -Ixx will show running in tty if it's not in X, with tty number.

sort of redundant to System: console: data, but that's ok, we'll live for now.
2013-01-29 00:22:50 +00:00
inxi-svn 4d59973cd1 New version, new tarball, new man page. Fixed an old bug where if you start inxi with
an ssh command sometimes it will not show any client information, just the debugger 
PPID output. Now it will test as a final check to see if it can detect any parent to
the process. Actually grandparent I believe. Seems to work, it's a fringe case but
why not handle it?

New -xx feature, for -I it will show, if inxi is not running in IRC client and if 
is running in X, and if the grandparent is not 'login', will show the application
the shell is running in.

Example: 
Info:      Processes: 271 Uptime: 5:36 Memory: 3255.8/4048.5MB Runlevel: 3 
           Gcc sys: 4.7.2 alt: 4.0/4.2/4.4/4.5/4.6 
                      Client: Shell (bash 4.2.37 - started in konsole) inxi: 1.8.33
2013-01-29 00:03:06 +00:00
inxi-svn 3e51b33047 small changes to man page 2013-01-27 02:49:42 +00:00
inxi-svn e4bf218aa4 updated copyright date on inxi.1 man page. 2013-01-27 02:46:38 +00:00
inxi-svn 2d2e440f78 No version change. New tarball, updated man page.
Some lintian changes for man page, escaped required -x type to \-x
2013-01-27 02:40:38 +00:00
inxi-svn 1787fa4958 changed sort order of changelog, now it's most recent first. That's easier to read as it gets longer.
For those who care, new tarball. No other changes.
2013-01-26 19:14:04 +00:00
inxi-svn fd8087040b New version, new tarball. Disabled -U in irc clients, with an exit error message. 2013-01-23 22:46:54 +00:00
inxi-svn 0b43930283 last fine tuning, now for specific irc support purposes, you can see what symbolic link started the real inxi 2013-01-23 22:41:07 +00:00
inxi-svn 66d7f02207 small bug fix with symbolic link path detection for --version 2013-01-23 22:35:10 +00:00
inxi-svn 9d0661b197 small glitch fix, very obscure case so checking --version path as symbolic link, use readlink if it is one. 2013-01-23 22:30:42 +00:00
inxi-svn b31926900b New version, new tarball. Fixed overly verbose output for --version/-V in irc. Also updated
and made cleaner the version data in verbose mode, non irc.

Fixed instance where program location would only show a dot . or relative path to inxi. Now
in version full will show the full path, or should.

Basic version line now show:  inxi 1.8.30-00 (January 22 2013)

The verbose information/version shows the license information, website/irc support info, and
a few other changes.

Also fixed a small bug where the copyright shows current year, not the actual year of the inxi
copyright contained in the top comment header.
2013-01-23 22:05:47 +00:00
inxi-svn 8be350ff62 Changing compression of inxi.1.gz to gzip -9 to fit lintian tests. This won't matter to anyone
at this point so no need to change anything.
2013-01-23 03:29:36 +00:00
inxi-svn 7005f52075 fixed changelog, new tarball with fixed changelog. 2013-01-22 21:31:55 +00:00
inxi-svn 7705e68d40 New Version, new tarball. Added inxi.changelog to tarball as well.
Continuing fixes for ARM cpus, it was noted that short form inxi failed to show cpu speed
derived from bogomips. That's because of the old min/max output that short form used.
Updated that section to now use N/A as flag, and if N/A for min/max speed, use the speed
given from first cpu array index, the one derived from bogomips for ARM/razberry pi.

Note that there is still no other ARM /proc/cpuinfo available to see if the razberry pi
fixes work for all ARM cpus, but the fixes will stop hangs and endless loops at worst,
and may also show some type of cpu speeds for ARM cpus that are not in razpi devices.
2013-01-22 20:47:00 +00:00
Trash80.v2.0 bb8d77aefd Committing with all revisions. 2013-01-22 06:46:56 +00:00
inxi-svn b6539fb7b3 changelog formatting adjustments 2013-01-22 00:45:32 +00:00
inxi-svn b82e7cf17c more changelog adjustment 2013-01-22 00:26:25 +00:00
inxi-svn 4a94c617e5 fixed changelog date format 2013-01-22 00:25:53 +00:00
inxi-svn e2bd7f6d19 Added changelog to trunk by request, hopefully I'll remember to use it. 2013-01-22 00:17:32 +00:00
inxi-svn 5b4e6a45e6 Bug fix, new version, new tarball.
quick work around fix for razberrie pi, get cpu data hung on arm /proc/cpuinfo because
it doesn't use the standard processor : [digit] format, but uses a string in the
processor : field, which then hangs inxi which was expecting an integer.

Corrected this with a work around, but it will require a lot more ARM /proc/cpuinfo samples
before the support for ARM can be considered stable.

For cpu speed, following wikipedia, used bogomips being equal to 1x cpu speed, to derive cpu speed.

Better than nothing I guess, but will be wrong in other cases, particularly with dual core arm.
2013-01-22 00:14:48 +00:00
inxi-svn 27dbddd581 small fix in variable declaration 2013-01-18 22:49:43 +00:00
inxi-svn 352cd1920d new version, fixed a long standing weakness, now the long -f full cpu flag output
sorts, that's much easier to read. I also made the line lengths on that much more accurate
to avoid a bunch of long flags creating a longer line, and made the first line shorter to handle
the line starter text.

New tarball as well, no man page changes.

Not sure why this was left undone for so long, but here it is, nice and neat.
2013-01-18 22:22:58 +00:00
inxi-svn 3f071d5849 trying to add -! 30 to trick inxi into thinking it is running in shell 2013-01-11 20:22:05 +00:00
inxi-svn 1688781f7f New version: desktop/dm added: WindowMaker, WM2. Also added in legacy wmii2 which may work.
windowmaker and wm2 are detected via xprop -root, there is no version information for wm2 available
so if you know how to detect that, let me know.

New tarball as well, though no man page changes.
2013-01-09 19:33:08 +00:00
inxi-svn 4e82d9b4d9 bug fix on disk size handling, some vm disk use the start number 252 in /proc/partitions, inxi failed to handle that, and so failed to
show proper disk size in virtual machine.

New tarball/version number.
2012-12-22 20:11:43 +00:00
inxi-svn f60b86253f fixed pardus/pisi sources collection to fit with new method, new tarball, no new version number 2012-12-22 04:39:52 +00:00
inxi-svn f2fbe65485 new tarball, new version. This fixes a somewhat obscure issue where for example rpmforge adds apt repos, and also I assume
some apt rpm tools might do the same for yum repos. Now inxi will simply note the presence of each type, for apt and yum.

I didnt' do this feature for pacman and pisi, because I've never heard of that, but if necessary, I'll add it.

Now inxi will hopefully correctly note the presence of the various repos and list the files with the repo type correctly
noted for each type.

I also fixed a bug in the yum/rpm type repo detection, inxi failed to properly handle spaces around the = sign, which made
it falsely identify as enabled disabled repos, it tested for only ^enabled=1 whereas also ^enabled = 1 is a possible syntax.

This is now corrected.
2012-12-22 04:01:02 +00:00
inxi-svn 2642ac39c7 more fine tuning of some gawk cleanup of os/lsb-release data, new tarball, no new version, this is more for future proofing at this point 2012-12-20 20:57:36 +00:00
inxi-svn 7f96ace5bf added some logging, again, nothing worth a version bump, but a new tarball anyway. 2012-12-20 20:29:02 +00:00
inxi-svn 54f23fb3e8 code cleanup on os-release/lsb-release, shouldn't make any difference for users, but there's a new tarball if you want to update the package. 2012-12-20 20:07:17 +00:00
inxi-svn b8382ecb68 fixed an old bug, sed -E is not supported in very old systems, and is actually not documented in man sed for GNU at all.
That's a bsd method, which slipped into inxi, I've replaced that with -r which is the correct syntax, and which will work
on old linux systems as well as new.

Since there is no functional change and only very old installs would ever see the difference, I'm leaving the version number
alone. New tarball as well.
2012-12-06 20:05:26 +00:00
inxi-svn 2def7edd22 small change in man page, this should do it, new tarball too. 2012-12-05 21:38:07 +00:00
inxi-svn 47d31be239 new version, fixed a weak shell handler, now it shows the actual shell that inxi started in if not irc.
Also added -x option, show shell version number as well. For dash/csh, this uses a hack of getting dpkg version,
which covers many users, but not all, hopefully I can find a universal way to get shell version for dash/csh
2012-12-05 21:34:56 +00:00
inxi-svn d14d9b7a23 new version, new tarball, a long time oversight, now if running in shell, shows the shell type, like bash, zsh, etc
instead of just the plain 'shell'.
2012-11-20 05:00:15 +00:00
inxi-svn b668b4c4f3 ok, last fix, made pattern looser, now () around x86_64, i686, etc, are optional in search.
Last, I think, tarball, and this is it.
2012-11-17 23:26:06 +00:00
inxi-svn d519d13c02 new tarball, last patch, now globally strip out (x86_64/i686 type data too 2012-11-17 23:22:19 +00:00
inxi-svn ac174c5b94 fixed output a little, now strips out (686) and (x86_64) as well.
New tarball, no version number change since it's just a cosmetic change
2012-11-17 23:08:37 +00:00
inxi-svn c0f2247d7e patched/debugged version of 1.8.22, this is the real version, with new tarball.
Includes all fixes from last svn commit, plus the bug fix.

Now properly handles opensuse/suse distro id wether it has os-release or not.
2012-11-17 22:54:07 +00:00
inxi-svn 269b4cc828 removed debugger 2012-11-17 22:50:32 +00:00
inxi-svn f8dd3b9b1d bug fix, wait for 1.8.22 until verified 2012-11-17 22:49:30 +00:00
inxi-svn 4e030ed5ea undid numbering, sigh 2012-11-17 22:38:57 +00:00
inxi-svn bbf0f29ca3 new version 1.8.22, fixed an old bug with opensuse/suse detection, now sets to default to os-release parser, and a corrected basic
fallback for only /etc/SuSE-release present, presents only first line of that file.

Also improved the /etc/os-release handler to include more data if the PRETTY_NAME field is blank.

New tarball as well.
2012-11-17 22:32:32 +00:00
inxi-svn 2c5b161c2f first patch attempt for inxi suse id, that uses os-release by default now 2012-11-17 21:48:36 +00:00
inxi-svn dc812f80a3 Version update.
Hexchat bug fix/workaround, worked around dev decision to start popping up a gtk dialogue when running
hexchat -v or --version command.

Now reads the actual user config files, hopefully anyway. Since trusting config files that are in the user 
~./hexchat directory for version information is quite unreliable, this is just a quick hack, but that's fine,
inxi is always happy to hack around bad developer ideas to provide the most accurate, or best guess, at the
answer.
2012-11-14 20:32:38 +00:00