New version, new tarball. A tiny bug fix for kfreebsd, I know, right, nobody uses that.

Also added in some more script color options however, which might be of use. These are
aimed more at light terminal backgrounds.
This commit is contained in:
Harald Hope 2016-03-21 16:12:08 -07:00
parent d98a7deef6
commit cd62c5b127
3 changed files with 30 additions and 7 deletions

18
inxi
View file

@ -1,8 +1,8 @@
#!/usr/bin/env bash #!/usr/bin/env bash
######################################################################## ########################################################################
#### Script Name: inxi #### Script Name: inxi
#### Version: 2.2.35 #### Version: 2.2.36
#### Date: 2016-02-29 #### Date: 2016-03-21
#### Patch Number: 00 #### Patch Number: 00
######################################################################## ########################################################################
#### SPECIAL THANKS #### SPECIAL THANKS
@ -603,6 +603,13 @@ MAGENTA,YELLOW,NORMAL
RED,CYAN,NORMAL RED,CYAN,NORMAL
RED,WHITE,NORMAL RED,WHITE,NORMAL
BLUE,WHITE,NORMAL BLUE,WHITE,NORMAL
RED,BLUE,NORMAL
RED,DBLUE,NORMAL
NORMAL,BLUE,NORMAL
BLUE,MAGENTA,NORMAL
DBLUE,MAGENTA,NORMAL
MAGENTA,DBLUE,NORMAL
) )
# WARNING: In the main part below (search for 'KONVI') # WARNING: In the main part below (search for 'KONVI')
@ -1221,7 +1228,7 @@ select_default_color_scheme()
# print_screen_output "You will see this message only one time per user account, unless you set preferences in: /etc/$SCRIPT_NAME.conf" # print_screen_output "You will see this message only one time per user account, unless you set preferences in: /etc/$SCRIPT_NAME.conf"
print_screen_output " " print_screen_output " "
fi fi
print_lines_basic "0" "" "Because there is no way to know your $COLOR_SELECTION foreground/background colors, you can set your color preferences from color scheme option list below. 0 is no colors, 1 neutral. After these, there are 3 sets: 1-dark or light backgrounds; 2-light backgrounds; 3-dark backgrounds." print_lines_basic "0" "" "Because there is no way to know your $COLOR_SELECTION foreground/background colors, you can set your color preferences from color scheme option list below. 0 is no colors, 1 neutral. After these, there are 4 sets: 1-dark or light backgrounds; 2-light backgrounds; 3-dark backgrounds; 4-miscellaneous."
if [[ $B_IRC == 'false' ]];then if [[ $B_IRC == 'false' ]];then
print_lines_basic "0" "" "Please note that this will set the $COLOR_SELECTION preferences only for user: $(whoami)" print_lines_basic "0" "" "Please note that this will set the $COLOR_SELECTION preferences only for user: $(whoami)"
fi fi
@ -7878,8 +7885,9 @@ get_partition_data()
# skipping these file systems because bsds do not support df --exclude-type=<fstype> # skipping these file systems because bsds do not support df --exclude-type=<fstype>
# note that using $1 to handle older bsd df, which do not support -T. This will not be reliable but we will see # note that using $1 to handle older bsd df, which do not support -T. This will not be reliable but we will see
( bsdType != "" ) { ( bsdType != "" ) {
# skip if non disk/partition, or if raid primary id, which will not have a / in it # skip if non disk/partition, or if raid primary id, which will not have a / in it.
if ( $1 ~ /^(aufs|devfs|devtmpfs|fdescfs|iso9660|linprocfs|procfs|squashfs|sysfs|tmpfs|type|unionfs)$/ || # Note: kfreebsd uses /sys, not sysfs, is this a bug or expected behavior?
if ( $1 ~ /^(aufs|devfs|devtmpfs|fdescfs|iso9660|linprocfs|procfs|squashfs|/sys|sysfs|tmpfs|type|unionfs)$/ ||
( $1 ~ /^([^\/]+)$/ && $1 !~ /^ROOT/ ) ) { ( $1 ~ /^([^\/]+)$/ && $1 !~ /^ROOT/ ) ) {
# note use next, not getline or it does not work right # note use next, not getline or it does not work right
next next

4
inxi.1
View file

@ -1,4 +1,4 @@
.TH INXI 1 "2015\-08\-20" inxi "inxi manual" .TH INXI 1 "2016\-03\-21" inxi "inxi manual"
.SH NAME .SH NAME
inxi \- Command line system information script for console and IRC inxi \- Command line system information script for console and IRC
.SH SYNOPSIS .SH SYNOPSIS
@ -43,7 +43,7 @@ Shows basic output, short form (previously \fB\-d\fR). Same as: \fBinxi \-v 2
.B \-c \fR[\fB0\fR\-\fB32\fR] .B \-c \fR[\fB0\fR\-\fB32\fR]
Available color schemes. Scheme number is required. Available color schemes. Scheme number is required.
Supported color schemes: \fB0\-32 Supported color schemes: \fB0\-38
.TP .TP
.B \-c \fR[\fB94\fR\-\fB99\fR] .B \-c \fR[\fB94\fR\-\fB99\fR]
Color selectors run a color selector option prior to inxi starting which lets Color selectors run a color selector option prior to inxi starting which lets

View file

@ -1,3 +1,18 @@
=====================================================================================
Version: 2.2.36
Patch Version: 00
Script Date: 2016-03-21
-----------------------------------
Changes:
-----------------------------------
New version, new tarball. A tiny bug fix for kfreebsd, I know, right, nobody uses that.
Also added in some more script color options however, which might be of use. These are
aimed more at light terminal backgrounds.
-----------------------------------
-- Harald Hope - Mon, 21 Mar 2016 16:04:33 -0700
===================================================================================== =====================================================================================
Version: 2.2.35 Version: 2.2.35
Patch Version: 00 Patch Version: 00