Commit graph

99 commits

Author SHA1 Message Date
inxi-svn d7aa8e2999 forgot -y example option item 2014-04-03 19:42:26 +00:00
inxi-svn 25e65c75b3 fixed a last line spacing in man page 2014-04-03 19:01:00 +00:00
inxi-svn 8d157dfc61 fixed some typos 2014-04-03 18:42:08 +00:00
inxi-svn d93bdbff75 last updates on the man weechat stuff. 2014-04-03 18:40:24 +00:00
inxi-svn e8682740e7 fine tuning of man page, that's it now I think. 2014-04-03 18:37:53 +00:00
inxi-svn 5c80036a8f I think this is the last man page edit, cleaning up line breaks and spacing stuff. 2014-04-03 18:35:14 +00:00
inxi-svn 7e517ce378 editing the man page, let's see if it improves. 2014-04-03 18:28:18 +00:00
inxi-svn 92d2c23330 fixed some man pages glitches. 2014-04-03 18:18:24 +00:00
inxi-svn b981dbdcce fixed man pages, made more consistent highlights for I and R types.
Updated weechat data to reflect that weechat is now like most other irc console clients
with /exec -o functionality.
2014-04-03 18:15:23 +00:00
inxi-svn 46308502e4 forgot to highlight the globals in man page 2014-04-03 17:54:30 +00:00
inxi-svn f543d2cb72 small fix, noted that long options do not work with -y 2014-04-03 17:52:24 +00:00
inxi-svn 7ea015abef New version, new man page, new tarball. Added -y [integer >= 80] option. This allows for absolute override
of width settings. This overrides any dynamically detected widths, as well as the globals:
COLS_MAX_CONSOLE='115'
COLS_MAX_IRC='105'
Now that inxi widths are largely dynamic in terminal, with a few lingering exceptions, it made sense
to also allow for overrides of this. This is useful in cases where for example you want to output
inxi to text file or for other purposes, or if you just want to test the widths, as in my case.

-y cannot be used with --recommends, but otherwise it works fine, with --help/-c 94-99 you have to 
put -y first in the list of options.

Example: inxi -v7 -y150 > inxi.txt will ignore the terminal settings and output the lines at basically
max length.
2014-04-03 17:46:31 +00:00
inxi-svn e8e3f9be84 New Version, new man. This continues the dyanamic line sizing, I'm doing these one at a
time to make it easier to test stuff one by one.

Full refactoring/reordering of top global variables, moved user/maintainer set variables
to top, and clearly identify all globals.

Changed LINE_MAX to COL_MAX but all user configuration files will stay working since
inxi now will check for that and translate them to the new variable names.

New lines fixed, -C cpu and -f cpu plus full flags. Flags output is now fully dynamic to
display screen in terminal/console. Moved cpu short flags to -x because it's not that
important in general and just clutters things  up in my opinion.

Print flags/bogomips on separate line if line greater than display width.

The rest of the lines will get a similar treatment, but it takes a bit of trial and error
for each line to get it working right.

Note that IRC line lengths are NOT dyanamic unless I can find a way to determine the column
width of irc clients, but that won't be accurate since fonts vary in widths for each character.

CPU was the worst offender in my opinion in terms of regular output wrapping to new line messily,
next will be the things with ports/chip id/card id.

Tightened up a bit more the dyanamic help / version output handler.
2014-03-14 20:21:10 +00:00
inxi-svn a2f1b02e53 New version, new man page. Finally, after all these years, dynamically resized to terminal
window column width help/version outputs. There is a significant slowdown to achieve this,
but I've optimized it as much as I could so it should be acceptable for most users now.
2014-03-14 02:28:40 +00:00
inxi-svn aca844c7d8 New feature, not new line option though. Now shows init type with -x (also shows rc
type if openrc). -xx shows init / rc version number. Change runlevel to target if
systemd and if non numeric runlevel given. Should support systemd/upstart/epoch/runit
sysvinit. Supports openrc as extra data if it's present. Rearranged -I line a bit but
really just exchanged Runlevel: for Init: v: Runlevel: default:

This is the first step, some of the init system ID methods are weak and non robust
and this may need to be revised, but it should for now identify systemd/upstart quite
accurately, and in most cases sysvinit. Note that to get sysvinit version number requires
tool: strings which in debian/ubuntu is in package binutils. I don't know the package names
for arch/fedora/etc for the recommends check tool in inxi yet.

I believe this will be good enough for a first draft version, but over time we'll get it
more fine tuned, but as it is now, it should cover at least 99% of users, which isn't bad.
2014-03-13 00:18:26 +00:00
inxi-svn af7336ceba New version; updated man page. Changed slightly the output for x server, in preparation
for adding alternate display servers, like Wayland or Mir. Rather than release all the
stuff at once I'm going to do it bit by bit. Currently I have not found a wayland iso
test cd that boots in virtual box so I will have to wait to really add support there.
2014-03-03 23:31:47 +00:00
inxi-svn 3e55bb677c New version; new tarball; new man page. Added Unity desktop support; added -xx feature
to show default runlevel, using systemd/upstart/sysvinit type default tests.

Fixed gtk library version detections, now will support dpkg/pacman version tests, which
should give more data to more people than previously, where the old tests usually would
return null unless gtk dev packages were installed on the system.
2014-01-13 23:01:03 +00:00
inxi-svn 088a7812a1 New version, tarball. Added urpmq for -r.
Other distros than Mandriva, Mageia, no other changes so no need to update unless you want to.

This adds support for Mandriva, Mageia. urpmq parsing is similar but not identical to pisi.
2013-10-05 01:40:00 +00:00
inxi-svn 8afddd9a29 New version, new tarball. The recent bug fixes reminded me to check for ARM working, that had some bugs too,
so I've updated that. -f for ARM now shows features instead of flags, and the -C regular cpu output does not
show cache/flags for arm cpus becuase they don't have those features.

Added some flags passed to various cpu functions and better detections of ARM cpu to handle dual core and other
issues that were not handled before as well, or at all.
2013-06-20 02:18:56 +00:00
inxi-svn c6905ed8e8 New tarball, version, man page. Improved remote weather, now it uses -W, and deprecated -! location=..
That was too hard to type and too hard to remember. Also do more dyanamic reordering of weather
output, depending on how much data is present, and how many x options are used.

Added error handling for generic deprecated options, and for options that do not have the correct
syntax for OPTARG, like with -W.

This should about do it for the weather option for now unless I missed something somewhere.
2013-05-26 03:19:38 +00:00
inxi-svn 598fb932b2 New version, new tarball. Fixed some lintian issues in man page, changed man/help for
-! location= option, to indicate that users must replace space with + themselves.

Because of how bash handles these options, inxi cannot add in + signs itself automatically.

This should be closer to cleanup of this new feature.
2013-05-18 17:52:16 +00:00
inxi-svn 63ae1f9273 last typos and fixes, this should be it 2013-05-18 05:48:26 +00:00
inxi-svn 68ba60a3e7 changed help menu to reflect that you can only use asci letters in town/state field 2013-05-18 05:46:29 +00:00
inxi-svn 01fba3c64d new version, tarball. Fixed issue with spaces in names for cities/states/countries, added
man and help instructions to remove spaces and examples.
2013-05-18 05:37:29 +00:00
inxi-svn a8c397a3cb fixed the glitch with two plus word city/country names, should work now 2013-05-18 05:28:30 +00:00
inxi-svn dc2fd3aa53 new tarball, version. Bug fix on -! location=, forgot to have it pack its own location
array, that's now correct.
2013-05-18 03:27:05 +00:00
inxi-svn 053cd064d8 small man edit 2013-05-18 02:08:26 +00:00
inxi-svn e416933201 small tweak to man page 2013-05-18 02:06:51 +00:00
inxi-svn 5465241cfe New version, new tarball, new man page. Unless disabled by distribution maintainers, offers
weather -w option. With -x, -xx-, -xxx, shows more information. Basic line is just weather
and system time there. -x adds time zone, which is useful for servers, particurly web servers.
-x also adds wind speed. -xx adds humidity and barometric pressure. -xxx adds a possible new line, 
if data is available, heat index, wind chill, and dew point. 
-xxx also adds a line for location (blocked by irc/-z) / weather observation time.

-z filter applies as usual to location data, removes it in irc by default. -Z overrides override.

The api this uses is probably going to be dropped at some point, so this is just going to work 
while it works, then it will need to be updated at some point, so don't get very attached to it.

Also adds option to, with -w: -! location=<location string>
This lets users send an alternate location using either <city,state> or <postal code>
or <latitude,longitude> (commas for city,state and latitude,longitude are not optional, and the order
must be as listed.

If There is a developer flag if distro maintainers do not want this enabled, simply set:
B_ALLOW_WEATHER='false'
before packaging and the weather feature will be disabled.
2013-05-18 02:04:29 +00:00
inxi-svn 43fd70ca90 New version, updated man page. A bug fix for an old time bug: with mdraid, -o (unmounted
partitions) would show components of the md raid array as unmounted partitions.

This is of course incorrect, and is now fixed. 

Small update of man page as well to note that -o will not show components of mdraid arrays.
2013-02-28 06:12:04 +00:00
inxi-svn c66b0fa297 New version, updated man page. Completed zfs raid support for bsds, now include component
status as with mdraid, will show offline/failed devices as well in standard output.

Updated help and man page to reflect the difference between -R, -Rx, and -Rxx output for
zfs / mdraid.

No linux inxi changes, this should not alter any behaviors in -R for mdraid, if it does, it's 
a bug, please report it.
2013-02-27 20:45:26 +00:00
inxi-svn 48b8a5e6e9 New version, updated man page, new tarball.
Fixed partition bug that could falsely identify a remote filesystem like nfs as /dev fs

Added two options: 
-! 31 - Turns off Host section of System line. This is useful if you want to post output
from server without posting its name.
-! 32 - Turns on Host section if it has been disabled by user configuration file
B_SHOW_HOST='false'

Added missing CPU data message, fixed missing cpu cache/bogomips output, turned off
bogomips if null for bsd systems because bogomips is a linux kernel feature.

Added N/A for no memory report, this would mainly hit bsd systems where user has no
permissions to use sysctl or has no read rights for /var/run/dmesg.boot.

Many fixes for partitions, now for bsd, if available, uses gpart list to get uuid/label
Added support for raid file system syntax in bsd, now excludes main raid device name, 
and adds a flag to raiddevice/partitionname type so output can identify it as a raid
slice/partition.

In man page, added -! 31 / -! 32 sections, and some other small edits.

Added bsd raid line error message, added bsd sensors line error message.

Many other small bug fixes that should make linux more robust in terms of missing
data, and better/cleaner output for bsd.
2013-02-18 20:33:05 +00:00
inxi-svn ba17e082c9 New version, new tarball. This update fixes a recent bug report with ancient dmidecode versions, that do not
properly support the -s option. Now -M uses only one method for dmidecode, manual construction of the Machine
data from the raw dmidecode file. The file output is also parsed a bit to make it more consistently reliable
for inxi purposes.

This update also includes all recent bsd branch updates, including the new #!/usr/bin/env bash on top which
lets inxi run in any environment without changes. Also for bsd, sets sed -i/sed -i '' global value, which 
means that now all the branches are the same, except the bsd branches will contain the most recent tests
and bsd handling. 

As each step is reached, I'll release a new inxi that should be stable, this is the first one however that
can be used as is, no changes, for bsd, debian kfreebsd, and linux systems.

Pleasen note that most bsd features are either incomplete or missing completely at this point, but it's a
start.

Some initial changes as well to help options to show more correct linux or bsd terms. These will be updated
as time permits, it is a long process.
2013-02-12 05:01:07 +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
Trash80.v2.0 bb8d77aefd Committing with all revisions. 2013-01-22 06:46:56 +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 161758cebb tweaked man page new tar.gz 2012-10-19 19:43:26 +00:00
inxi-svn 67ec681c24 Actual new version, support for -xx option for A, G, and N, outputs vendor:product string if found.
Updated --help, updated inxi.1.gz man file, updated inxi.tar.gz file.

I think that's it unless there's a bug fix.
2012-10-19 19:28:31 +00:00
debsidsmxi 04315716c1 decided have skills to edit 2012-09-15 09:18:08 +00:00
debsidsmxi 484fb636e1 decided have skills to edit 2012-09-15 09:11:08 +00:00
inxi-svn 1f3602a188 updated inxi.1 a bit, moved one section down, running in irc, to make it easier to find the main options descriptions. New .gz files
and tarball too. No version numbering change.
2012-09-11 23:54:16 +00:00
inxi-svn 016c3e582c updated man page, hopefully this one is not distorted or corrupted, man1 that is. 2012-09-11 18:25:51 +00:00
inxi-svn f9072ca7b1 inxi1 man file needed also to have the 8 changed to 1, all done in all files now 2012-09-11 18:05:04 +00:00
inxi-svn f25ec3ba45 changing inxi.8 to inxi.1 to conform with man protocol for which man to put an app in. 1 is for user apps, 8 was for sys admin apps.
maintainers, please note this, the man file and gz file will be now inxi.1 not inxi.8
2012-09-11 17:45:12 +00:00
Renamed from inxi.8 (Browse further)