Re: [gentoo-user] eix and bad colors.

2012-12-11 Thread Mark Knecht
On Fri, Dec 7, 2012 at 3:01 AM, Dale rdalek1...@gmail.com wrote:
 Howdy,

 I was using eix a bit ago and I noticed the colors have changed.  Since
 I like to have white text and a black background, this is not working to
 well for me.  It seems some of the output is black text.  Put black text
 on a black background and I have missing text, usually the very thing I
 am looking for.  I have looked for a config somewhere in /etc but can't
 find where this is set.  I found where other colors are set but not for
 eix.

 Anyone have a hint as to where this is set or is it hard coded into eix?

 Thanks much.

 Dale

I think this may be fixed now. I no longer require the proposed edits
to eixrc to get colors on a dark background.

- Mark



Re: [gentoo-user] eix and bad colors.

2012-12-09 Thread Helmut Jarausch

On 12/08/2012 12:26:35 AM, Dale wrote:

If I figure out something or Helmut's config works, I'll post back.



Here is my ebuild app-portage/eix-.ebuild  in my local overlay.
Hopefully it helps,
Helmut.

# Copyright 1999-2012 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: $

EAPI=5

EGIT_REPO_URI=git://git.berlios.de/${PN}
EGIT_PROJECT=${PN}.git
[ -n ${EVCS_OFFLINE} ] || EGIT_REPACK=true
WANT_LIBTOOL=none
PLOCALES=de ru
inherit autotools bash-completion-r1 eutils git-2 l10n multilib

DESCRIPTION=Search and query ebuilds, portage incl. local settings,  
ext. overlays, version changes, and more

HOMEPAGE=http://eix.berlios.de;
SRC_URI=
PROPERTIES=live

LICENSE=GPL-2
SLOT=0
KEYWORDS=
IUSE=clang debug +dep doc nls optimization security  
strong-optimization sqlite tools zsh-completion


RDEPEND=app-shells/push
sqlite? ( =dev-db/sqlite-3 )
nls? ( virtual/libintl )
DEPEND=${RDEPEND}
clang? ( sys-devel/clang )
sys-devel/gettext

pkg_setup() {
if has_version ${CATEGORY}/${PN}-0.25.3; then
local eixcache=${EROOT}/var/cache/${PN}
! test -f ${eixcache} || rm -f -- ${eixcache}
fi
}

src_prepare() {
epatch_user
eautopoint
eautoreconf
}

src_configure() {
econf $(use_with sqlite) $(use_with doc extra-doc) \
$(use_with zsh-completion) \
$(use_enable nls) $(use_enable tools separate-tools) \
$(use_enable security) $(use_enable optimization) \
		$(use_enable strong-optimization) $(use_enable debug  
debugging) \

$(use_with prefix always-accept-keywords) \
$(use_with dep dep-default) \
$(use_with clang nongnu-cxx clang++) \
		 
--with-ebuild-sh-default=/usr/$(get_libdir)/portage/bin/ebuild.sh \

--with-portage-rootpath=${ROOTPATH} \
--with-eprefix-default=${EPREFIX} \
--docdir=${EPREFIX}/usr/share/doc/${PF} \
--htmldir=${EPREFIX}/usr/share/doc/${PF}/html
}

src_install() {
default
dobashcomp bash/eix
keepdir /var/cache/${PN}
fowners portage:portage /var/cache/${PN}
fperms 775 /var/cache/${PN}
}

pkg_postinst() {
# fowners in src_install doesn't work for owner/group portage:
# merging changes this owner/group back to root.
use prefix || chown portage:portage ${EROOT}var/cache/${PN}
local obs=${EROOT}var/cache/eix.previous
	! test -f ${obs} || ewarn Found obsolete ${obs}, please  
remove it

}



Re: [gentoo-user] eix and bad colors.

2012-12-08 Thread Philip Webb
121207 Dale wrote:
 Kevin Brandstatter wrote:
 it seems setting DARK=true in .eixrc
 fixes the problem of the almost black on black background for me

I just ran into this problem updating to 0.27.5-r1  that's the solution.

-- 
,,
SUPPORT ___//___,   Philip Webb
ELECTRIC   /] [] [] [] [] []|   Cities Centre, University of Toronto
TRANSIT`-O--O---'   purslowatchassdotutorontodotca




Re: [gentoo-user] eix and bad colors.

2012-12-08 Thread Mark Knecht
On Fri, Dec 7, 2012 at 9:25 PM, Dale rdalek1...@gmail.com wrote:
SNIP

 # BOOLEAN
 # This variable is only used for delayed substitution in COLORSCHEME{,_ALT}.
 # If true, the dark color schemes (for black background) are selected.
 DARK=true

 # STRING
 # If TERM_ALT does not match, this chooses the corresponding color of
 # color specifications (starting from 0).
 COLORSCHEME=%{?DARK}0%{else}2%{}

 # STRING
 # If TERM_ALT matches, this chooses the corresponding color of
 # color specifications (starting from 0).
 COLORSCHEME_ALT=%{?DARK}1%{else}3%{}


Worked nicely. Thanks!

- Mark



Re: [gentoo-user] eix and bad colors.

2012-12-08 Thread Dale
Mark Knecht wrote:
 On Fri, Dec 7, 2012 at 9:25 PM, Dale rdalek1...@gmail.com wrote:
 SNIP
 # BOOLEAN
 # This variable is only used for delayed substitution in COLORSCHEME{,_ALT}.
 # If true, the dark color schemes (for black background) are selected.
 DARK=true

 # STRING
 # If TERM_ALT does not match, this chooses the corresponding color of
 # color specifications (starting from 0).
 COLORSCHEME=%{?DARK}0%{else}2%{}

 # STRING
 # If TERM_ALT matches, this chooses the corresponding color of
 # color specifications (starting from 0).
 COLORSCHEME_ALT=%{?DARK}1%{else}3%{}

 Worked nicely. Thanks!

 - Mark



Welcome.  Just remember where you put that.  The dev seems to be
reverting that so it may get overridden or cause some other issue when
we upgrade.  In other words, we may have to take that out when it gets
changed back. 

Dale

:-)  :-) 

-- 
I am only responsible for what I said ... Not for what you understood or how 
you interpreted my words!




Re: [gentoo-user] eix and bad colors.

2012-12-07 Thread Helmut Jarausch

On 12/07/2012 12:01:29 PM, Dale wrote:

Howdy,

I was using eix a bit ago and I noticed the colors have changed.   
Since
I like to have white text and a black background, this is not working  
to
well for me.  It seems some of the output is black text.  Put black  
text
on a black background and I have missing text, usually the very thing  
I
am looking for.  I have looked for a config somewhere in /etc but  
can't
find where this is set.  I found where other colors are set but not  
for

eix.

Anyone have a hint as to where this is set or is it hard coded into  
eix?


There is a long thread on
https://bugs.gentoo.org/show_bug.cgi?id=438076

I have switched to eix- which enables customization of the  
colors.


I like black text on a light yellow background. Here is my   .eixrc

# BOOLEAN
# This variable is only used for delayed substitution in  
COLORSCHEME{,_ALT}.

# If true, the dark color schemes (for black background) are selected.
DARK=false

# STRING
# If TERM_ALT does not match, this chooses the corresponding color of
# color specifications (starting from 0).
COLORSCHEME=%{?DARK}0%{else}2%{}

# STRING
# If TERM_ALT matches, this chooses the corresponding color of
# color specifications (starting from 0).
COLORSCHEME_ALT=%{?DARK}1%{else}3%{}


Helmut.




Re: [gentoo-user] eix and bad colors.

2012-12-07 Thread Alan McKinnon
On Fri, 07 Dec 2012 05:01:29 -0600
Dale rdalek1...@gmail.com wrote:

 Howdy,
 
 I was using eix a bit ago and I noticed the colors have changed.
 Since I like to have white text and a black background, this is not
 working to well for me.  It seems some of the output is black text.
 Put black text on a black background and I have missing text, usually
 the very thing I am looking for.  I have looked for a config
 somewhere in /etc but can't find where this is set.  I found where
 other colors are set but not for eix. 
 
 Anyone have a hint as to where this is set or is it hard coded into
 eix? 
 
 Thanks much.
 
 Dale
 
 :-)  :-) 
 

I usually try to avoid reading the eix man page if at all possible (an
object lesson in how to overwhelm users with way too much
stuff), bit in this case I had to scan it quickly :-)

It looks like the default color scheme changed, and you specify the one
you want in ~/.eixrc. More specifically, you use the COLORSCHEME
directive.

If you wanna know more, I'm afraid you are going to have to read man
eix yourself for reasons noted above :-)



-- 
Alan McKinnon
alan.mckin...@gmail.com




Re: [gentoo-user] eix and bad colors.

2012-12-07 Thread Dale
Alan McKinnon wrote:
 On Fri, 07 Dec 2012 05:01:29 -0600
 Dale rdalek1...@gmail.com wrote:

 Howdy,

 I was using eix a bit ago and I noticed the colors have changed.
 Since I like to have white text and a black background, this is not
 working to well for me.  It seems some of the output is black text.
 Put black text on a black background and I have missing text, usually
 the very thing I am looking for.  I have looked for a config
 somewhere in /etc but can't find where this is set.  I found where
 other colors are set but not for eix. 

 Anyone have a hint as to where this is set or is it hard coded into
 eix? 

 Thanks much.

 Dale

 :-)  :-) 

 I usually try to avoid reading the eix man page if at all possible (an
 object lesson in how to overwhelm users with way too much
 stuff), bit in this case I had to scan it quickly :-)

 It looks like the default color scheme changed, and you specify the one
 you want in ~/.eixrc. More specifically, you use the COLORSCHEME
 directive.

 If you wanna know more, I'm afraid you are going to have to read man
 eix yourself for reasons noted above :-)




Holy moley.  It may take me a day or two to figure all that out.  In the
meantime, I'm using the -n option.  lol  I may even add that to the
alias for a while.  Good gracious what a can of worms.

Thanks for jumping into the man page for me.  I looked every but there. 

Dale

:-)  :-) 

-- 
I am only responsible for what I said ... Not for what you understood or how 
you interpreted my words!




Re: [gentoo-user] eix and bad colors.

2012-12-07 Thread Dale
Helmut Jarausch wrote:
 On 12/07/2012 12:01:29 PM, Dale wrote:
 Howdy,

 I was using eix a bit ago and I noticed the colors have changed.  Since
 I like to have white text and a black background, this is not working to
 well for me.  It seems some of the output is black text.  Put black text
 on a black background and I have missing text, usually the very thing I
 am looking for.  I have looked for a config somewhere in /etc but can't
 find where this is set.  I found where other colors are set but not for
 eix.

 Anyone have a hint as to where this is set or is it hard coded into eix?

 There is a long thread on
 https://bugs.gentoo.org/show_bug.cgi?id=438076

 I have switched to eix- which enables customization of the
 colors.

 I like black text on a light yellow background. Here is my   .eixrc

 # BOOLEAN
 # This variable is only used for delayed substitution in
 COLORSCHEME{,_ALT}.
 # If true, the dark color schemes (for black background) are selected.
 DARK=false

 # STRING
 # If TERM_ALT does not match, this chooses the corresponding color of
 # color specifications (starting from 0).
 COLORSCHEME=%{?DARK}0%{else}2%{}

 # STRING
 # If TERM_ALT matches, this chooses the corresponding color of
 # color specifications (starting from 0).
 COLORSCHEME_ALT=%{?DARK}1%{else}3%{}


 Helmut.




I'm going to give this a try.  Man, I hope this works.  This could make
me bald.  o_O

Dale

:-)  :-) 

-- 
I am only responsible for what I said ... Not for what you understood or how 
you interpreted my words!




Re: [gentoo-user] eix and bad colors.

2012-12-07 Thread Mark Knecht
On Fri, Dec 7, 2012 at 3:01 AM, Dale rdalek1...@gmail.com wrote:
 Howdy,

 I was using eix a bit ago and I noticed the colors have changed.  Since
 I like to have white text and a black background, this is not working to
 well for me.  It seems some of the output is black text.  Put black text
 on a black background and I have missing text, usually the very thing I
 am looking for.  I have looked for a config somewhere in /etc but can't
 find where this is set.  I found where other colors are set but not for
 eix.

 Anyone have a hint as to where this is set or is it hard coded into eix?

 Thanks much.

 Dale

Dale,
   If you (or someone else)  finds a nice concise setting for
terminals that are black background, white text, I hope you'll post if
back. I'm not going to have time to look at this right now but like
you hate the way black on black text is looking! ;-)

Cheers,
Mark



Re: [gentoo-user] eix and bad colors.

2012-12-07 Thread Volker Armin Hemmann
Am Freitag, 7. Dezember 2012, 13:52:03 schrieb Mark Knecht:
 On Fri, Dec 7, 2012 at 3:01 AM, Dale rdalek1...@gmail.com wrote:
  Howdy,
  
  I was using eix a bit ago and I noticed the colors have changed.  Since
  I like to have white text and a black background, this is not working to
  well for me.  It seems some of the output is black text.  Put black text
  on a black background and I have missing text, usually the very thing I
  am looking for.  I have looked for a config somewhere in /etc but can't
  find where this is set.  I found where other colors are set but not for
  eix.
  
  Anyone have a hint as to where this is set or is it hard coded into eix?
  
  Thanks much.
  
  Dale
 
 Dale,
If you (or someone else)  finds a nice concise setting for
 terminals that are black background, white text, I hope you'll post if
 back. I'm not going to have time to look at this right now but like
 you hate the way black on black text is looking! ;-)

is there really black-on-black? I saw dark grey on black, but I did not miss 
anything obvious... hm.. so when does it show/uses black-on-black?
-- 
#163933



Re: [gentoo-user] eix and bad colors.

2012-12-07 Thread Randolph Maaßen
2012/12/7 Volker Armin Hemmann volkerar...@googlemail.com

 Am Freitag, 7. Dezember 2012, 13:52:03 schrieb Mark Knecht:
  On Fri, Dec 7, 2012 at 3:01 AM, Dale rdalek1...@gmail.com wrote:
   Howdy,
  
   I was using eix a bit ago and I noticed the colors have changed.  Since
   I like to have white text and a black background, this is not working
 to
   well for me.  It seems some of the output is black text.  Put black
 text
   on a black background and I have missing text, usually the very thing I
   am looking for.  I have looked for a config somewhere in /etc but can't
   find where this is set.  I found where other colors are set but not for
   eix.
  
   Anyone have a hint as to where this is set or is it hard coded into
 eix?
  
   Thanks much.
  
   Dale
 
  Dale,
 If you (or someone else)  finds a nice concise setting for
  terminals that are black background, white text, I hope you'll post if
  back. I'm not going to have time to look at this right now but like
  you hate the way black on black text is looking! ;-)

 is there really black-on-black? I saw dark grey on black, but I did not
 miss
 anything obvious... hm.. so when does it show/uses black-on-black?
 --
 #163933


I had the sameproblem acouple of days ago. I was wondering why I could not
read the package names. then I found out it was black on black and the text
of the names were realy there

-- 
Mit freundlichen Grüßen / Best regards

Randolph Maaßen


Re: [gentoo-user] eix and bad colors.

2012-12-07 Thread Dale
Mark Knecht wrote:
 On Fri, Dec 7, 2012 at 3:01 AM, Dale rdalek1...@gmail.com wrote:
 Howdy,

 I was using eix a bit ago and I noticed the colors have changed.  Since
 I like to have white text and a black background, this is not working to
 well for me.  It seems some of the output is black text.  Put black text
 on a black background and I have missing text, usually the very thing I
 am looking for.  I have looked for a config somewhere in /etc but can't
 find where this is set.  I found where other colors are set but not for
 eix.

 Anyone have a hint as to where this is set or is it hard coded into eix?

 Thanks much.

 Dale
 Dale,
If you (or someone else)  finds a nice concise setting for
 terminals that are black background, white text, I hope you'll post if
 back. I'm not going to have time to look at this right now but like
 you hate the way black on black text is looking! ;-)

 Cheers,
 Mark



Well, I'm sort of tied up at the moment.  In the process of picking out
a rifle.  I can only afford to do this once for a good long while so I
got to pick a good one.  Anyway, I tried the settings Helmut posted, it
didn't work.  I think the version I have installed doesn't allow that so
I may have to upgrade it to test.  I also took a look at the eix man
page.  I went like this:  O_O  I also CC'd myself on the bug and the dev
is working on it like a bee making honey.  I think he is about to revert
back to the old way since it is causing him grief.  If he does, then we
will be happy and someone else can cry over the spilt milk.  lol 

If I figure out something or Helmut's config works, I'll post back. 

Dale

:-)  :-) 

-- 
I am only responsible for what I said ... Not for what you understood or how 
you interpreted my words!




Re: [gentoo-user] eix and bad colors.

2012-12-07 Thread Kevin Brandstatter
I've had the same problem.
it seems setting DARK=true in .eixrc fixes the problem of the almost black
on black background for me

-Kevin


On Fri, Dec 7, 2012 at 5:26 PM, Dale rdalek1...@gmail.com wrote:

 Mark Knecht wrote:
  On Fri, Dec 7, 2012 at 3:01 AM, Dale rdalek1...@gmail.com wrote:
  Howdy,
 
  I was using eix a bit ago and I noticed the colors have changed.  Since
  I like to have white text and a black background, this is not working to
  well for me.  It seems some of the output is black text.  Put black text
  on a black background and I have missing text, usually the very thing I
  am looking for.  I have looked for a config somewhere in /etc but can't
  find where this is set.  I found where other colors are set but not for
  eix.
 
  Anyone have a hint as to where this is set or is it hard coded into eix?
 
  Thanks much.
 
  Dale
  Dale,
 If you (or someone else)  finds a nice concise setting for
  terminals that are black background, white text, I hope you'll post if
  back. I'm not going to have time to look at this right now but like
  you hate the way black on black text is looking! ;-)
 
  Cheers,
  Mark
 
 

 Well, I'm sort of tied up at the moment.  In the process of picking out
 a rifle.  I can only afford to do this once for a good long while so I
 got to pick a good one.  Anyway, I tried the settings Helmut posted, it
 didn't work.  I think the version I have installed doesn't allow that so
 I may have to upgrade it to test.  I also took a look at the eix man
 page.  I went like this:  O_O  I also CC'd myself on the bug and the dev
 is working on it like a bee making honey.  I think he is about to revert
 back to the old way since it is causing him grief.  If he does, then we
 will be happy and someone else can cry over the spilt milk.  lol

 If I figure out something or Helmut's config works, I'll post back.

 Dale

 :-)  :-)

 --
 I am only responsible for what I said ... Not for what you understood or
 how you interpreted my words!





Re: [gentoo-user] eix and bad colors.

2012-12-07 Thread Dale
Kevin Brandstatter wrote:
 I've had the same problem.
 it seems setting DARK=true in .eixrc fixes the problem of the almost
 black on black background for me

 -Kevin 


Oh thank you so much.  That worked like a charm.  For those needing a
example, here you go.  In my /root directory I put this .eixrc file:

# BOOLEAN
# This variable is only used for delayed substitution in COLORSCHEME{,_ALT}.
# If true, the dark color schemes (for black background) are selected.
DARK=true

# STRING
# If TERM_ALT does not match, this chooses the corresponding color of
# color specifications (starting from 0).
COLORSCHEME=%{?DARK}0%{else}2%{}

# STRING
# If TERM_ALT matches, this chooses the corresponding color of
# color specifications (starting from 0).
COLORSCHEME_ALT=%{?DARK}1%{else}3%{}


I have my konsole set to a black background and I can see this really
well.  I changed colors just to make sure but everything seems to be
there like it was before the change happened. 

So, copy and paste away. 

Dale

:-)  :-) 

-- 
I am only responsible for what I said ... Not for what you understood or how 
you interpreted my words!