Bug List: (This bug is not in your last search results)   Show last search results      Search page      Enter new bug
Bug#: 57416
Alias:
Product:
Component:
Status: RESOLVED
Resolution: FIXED
Assigned To: Aron Griffis (RETIRED) <agriffis@gentoo.org>
Hardware:
OS:
Version:
Priority:
Severity:
Reporter: Björn Michaelsen <bjoern.michaelsen@gmail.com>
Add CC:
CC:
Remove selected CCs
URL:
Summary:
Status Whiteboard:
Keywords:

Filename Description Type Creator Created Size Actions
Create a New Attachment (proposed patch, testcase, etc.) View All

Bug 57416 depends on: Show dependency tree
Bug 57416 blocks:
Votes: 0    Show votes for this bug    Vote for this bug

Additional Comments: (this is where you put emerge --info)


Not eligible to see or edit group visibility for this bug.






View Bug Activity   |   Format For Printing   |   XML   |   Clone This Bug


Description:   Opened: 2004-07-17 14:39 0000
The ebuild mutt-1.5.6-r2 says
"If you want a transparent background, please merge mutt with USE=-slang."
However, I use USE="slang" and have a transparent background when I have:

  export COLORFGBG="default;default"

set in my enviroment.
So the "If you want a transparent background, please merge mutt with USE=-slang." warning should be replaced by a the following statement:
"If you want a transparent background, please merge mutt with USE=-slang or set COLORFGBG="default;default" in you enviroment. This can be done by executing
echo 'export COLORFGBG="default;default"' >> ~/.bashrc."

Reproducible: Always
Steps to Reproduce:
1. export COLORFGBG="default;default"
2. mutt


Actual Results:  
mutt with transparency

Expected Results:  
The ebuild says: "mutt without transparency"

------- Comment #1 From Aron Griffis (RETIRED) 2004-08-17 08:23:27 0000 -------
Could you either explain the COLORFGBG variable or point to additional
documentation?  I don't understand the ramifications of setting it manually,
and I  don't want to put advice in the ebuild without fully understanding it.

Ciaran, any thoughts here?

------- Comment #2 From Ciaran McCreesh 2004-08-17 09:35:33 0000 -------
If COLORFGBG contains the string 'default' as the last value, it's effectively
unusable (default could mean light or dark, or maybe some random colour). I'm
guessing that if mutt / slang can't handle COLORFGBG cleanly, it just gives up
and doesn't try to do anything at all with the background...

Setting it to default;default won't do anything majorly screwy, it's just not a
very good solution. It would be much better for mutt to provide some way to
make it ignore the background and use transparent, even if background detection
was available.

------- Comment #3 From Björn Michaelsen 2004-08-17 11:26:06 0000 -------
I just tried a few permutations. It seems that mutt/slang just care that
COLORFGBG is set at all:
For:
  export COLORFGBG="default;light"
  export COLORFGBG="default;dark"
  export COLORFGBG="default;aa"
  export COLORFGBG="aa;default"
transparency works.
For:
  export COLORFGBG="aa;aa"
it doesnt work. So the tip in the ebuild might be to set COLORFGBG to anything
valid to get transparency working ...


------- Comment #4 From Ciaran McCreesh 2004-08-17 11:34:30 0000 -------
Try two integers from 0..15, like COLORFGBG="15;0"

------- Comment #5 From Thomas Glanzmann 2004-08-18 01:29:14 0000 -------
Add the following to your profile:

export COLORFGBG="default;default"
for borne shell style shells or


setenv COLORFGBG "default;default"
for C-style shells

and it should work like a charm

Greetings,
       Thomas

------- Comment #6 From Aron Griffis (RETIRED) 2004-08-18 08:42:34 0000 -------
This makes it sound like slang is related to rxvt.  Is that the case?

Also, does the default COLORFGBG setting from rxvt allow mutt+slang to be transparent?

------- Comment #7 From Aron Griffis (RETIRED) 2004-10-25 12:37:06 0000 -------
*** Bug 68625 has been marked as a duplicate of this bug. ***

------- Comment #8 From Martin Mokrejš 2005-08-07 17:27:18 0000 -------
I might be wrong, but I think slang was invented as a tiny variant of
curses/ncurses with midnight commander, because not everybody had a a good
curses library on the host. Yes, many people had termcap still. I'm not talking
much about Linux here but rather other Unixes.

Anyway, mc(1) had slang in its source tree, so if it did not find curses it
failovered to slang.

I believe on ncurses is much better and I don't see much reason why slang should
be preferred. ncurses offers a lot more. Why have two libs and term definitions?

------- Comment #9 From Aron Griffis (RETIRED) 2005-08-17 13:23:54 0000 -------
ok, mutt-1.5.10 now ignores USE=slang, preferring to always use ncurses.

Bug List: (This bug is not in your last search results)   Show last search results      Search page      Enter new bug