Re: My Blues just go more blue

2004-09-18 Thread Thomas Dickey
Bill Moseley [EMAIL PROTECTED] wrote:

 This changelog entry from xterm explains:
 
 + Change resource settings for color4 and color12; add some
   discussion in XTerm-col.ad.  (Closes: #255070)

 Interesting discussion.  Not sure I follow all of it, though.
 Something else to learn about.  As far as I can tell, I have not
 overridden colors in any of my configs so this dark blue text on black
 background is the system default.  So, I expect that it's harder to
 read for others, too.

 BTW -- where's Xterm-col.ad?

see

/usr/X11R6/lib/X11/app-defaults/XTerm
/usr/X11R6/lib/X11/app-defaults/XTerm-color

-- 
Thomas E. Dickey
http://invisible-island.net
ftp://invisible-island.net


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED] 
with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]



Re: My Blues just go more blue

2004-09-18 Thread Bill Moseley
On Sat, Sep 18, 2004 at 11:21:40AM +1000, Cameron Hutchison wrote:
 Did you notice a few months ago when it used to be dark blue, it changed
 to light blue? I did. I'm glad it's changed back.

I'm not sure where I would notice it other than in mutt and vim.
But I'll keep looking.

Now a question about resources:

Ok, so to change it back for mutt I can use in .Xdefaults-hostname:

  mutt*color4: DodgerBlue1

But, I really only need to set it for vim -- but when mutt runs vim,
vim still has the name used for resources:

  WM_CLASS(STRING) = mutt, XTerm

So I can't fine tune it.  Is there any way for vim to use different
resource names when run from within mutt?  I suspect not.

I suppose I could use this in my .muttrc:

  set editor=xterm -name vim -e vim %s

But I don't really want another window opening up when I'm editing.



-- 
Bill Moseley
[EMAIL PROTECTED]


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED] 
with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]



My Blues just go more blue

2004-09-17 Thread Bill Moseley
Ok, I just did a dist-upgrade on my Sid machine and blue text changed.
I first noticed in mutt that my light blue lines got darker -- I see
it in the background color in the header line, for example:

  ---Mutt: =lists.debian-user [Msgs:6754 New:6263 Flag:1 Post:47 
Inc:1]---(threads/date)--(end)---

Use to be light blue and now it's dark blue.

And when I reply to a message (I use vim as my editor) the quoted text
whet from a readable light blue text on black background to an unreadable dark
blue on black background.

What would be the common change?  I realize I don't understand how
colors from, say, mutt or vim running in an xterm get translated into
colors on my monitor.  Does mutt say blue and then the xterm has to
translate that somehow?



-- 
Bill Moseley
[EMAIL PROTECTED]


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED] 
with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]



Re: My Blues just go more blue

2004-09-17 Thread Cameron Hutchison
Once upon a time Bill Moseley said...
 Ok, I just did a dist-upgrade on my Sid machine and blue text changed.
 I first noticed in mutt that my light blue lines got darker -- I see
 it in the background color in the header line, for example:
 
   ---Mutt: =lists.debian-user [Msgs:6754 New:6263 Flag:1 Post:47 
 Inc:1]---(threads/date)--(end)---
 
 Use to be light blue and now it's dark blue.

Did you notice a few months ago when it used to be dark blue, it changed
to light blue? I did. I'm glad it's changed back.

This changelog entry from xterm explains:

+ Change resource settings for color4 and color12; add some
  discussion in XTerm-col.ad.  (Closes: #255070)

So, have a look in /etc/X11/app-defaults/XTerm-color, where the light
blue colours are documented, and make the necessary changes.


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED] 
with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]



Re: My Blues just go more blue

2004-09-17 Thread Bill Moseley
On Sat, Sep 18, 2004 at 11:21:40AM +1000, Cameron Hutchison wrote:
 Once upon a time Bill Moseley said...
  Ok, I just did a dist-upgrade on my Sid machine and blue text changed.
  I first noticed in mutt that my light blue lines got darker -- I see
  it in the background color in the header line, for example:
  
---Mutt: =lists.debian-user [Msgs:6754 New:6263 Flag:1 Post:47 
  Inc:1]---(threads/date)--(end)---
  
  Use to be light blue and now it's dark blue.
 
 Did you notice a few months ago when it used to be dark blue, it changed
 to light blue? I did. I'm glad it's changed back.

Not that I remember -- but maybe I just got used to it.

 This changelog entry from xterm explains:
 
 + Change resource settings for color4 and color12; add some
   discussion in XTerm-col.ad.  (Closes: #255070)

Interesting discussion.  Not sure I follow all of it, though.
Something else to learn about.  As far as I can tell, I have not
overridden colors in any of my configs so this dark blue text on black
background is the system default.  So, I expect that it's harder to
read for others, too.

BTW -- where's Xterm-col.ad?

 So, have a look in /etc/X11/app-defaults/XTerm-color, where the light
 blue colours are documented, and make the necessary changes.

Now, if I had all my configs under cvs then I could cvs diff and see
what it just changed from -- apt doesn't know my previous version,
does it?

-- 
Bill Moseley
[EMAIL PROTECTED]


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED] 
with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]



Re: My Blues just go more blue

2004-09-17 Thread Stefan O'Rear
On Fri, Sep 17, 2004 at 06:11:30PM -0700, Bill Moseley wrote:
 Ok, I just did a dist-upgrade on my Sid machine and blue text changed.
 I first noticed in mutt that my light blue lines got darker -- I see
 it in the background color in the header line, for example:
 
   ---Mutt: =lists.debian-user [Msgs:6754 New:6263 Flag:1 Post:47 
 Inc:1]---(threads/date)--(end)---
 
 Use to be light blue and now it's dark blue.
 
 And when I reply to a message (I use vim as my editor) the quoted text
 whet from a readable light blue text on black background to an unreadable dark
 blue on black background.
 
 What would be the common change?  I realize I don't understand how
 colors from, say, mutt or vim running in an xterm get translated into
 colors on my monitor.  Does mutt say blue and then the xterm has to
 translate that somehow?

Mutt:   Curses, please make this blue.

Curses reads terminfo.

Curses: Xterm, please ^[[44m

Xterm reads RESOURCE_MANAGER (loaded from .Xdefaults)

Xterm:  Xlib, XSetForeground(dpy, gc, blue_pixel)

Xlib:   X11, SetGCValues gc GCForeground blue_pixel

X11:draw stuff as blue_pixel

vidcard:send electricity down blue wire

monitor:light blue pixel

= SEPARATOR 

Points of control:

1: .muttrc

2: Terminfo (upgraded libncurses would change this)

3: X Resources / X Defaults (changed by upgrading Xterm, if not
   overriden by .Xdefaults)

4: Videocard palette - if you use an 8bit/4bit video mode, you could be
   running a color-hogging program and Xterm has to settle for a similar
   color.

5: Wiring mistake in the cabling/monitor.  If dist-upgrade changed that,
   call a paranormal-occurences hotline :)

Order of Probability:

3: likely
2: possible

1, 4: would be major policy violations

-- 
The world's most effective spam filter:
ln -sf /dev/full /var/mail/$USER


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED] 
with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]