<?xml version="1.0" encoding="utf-8"?>
<rss version="2.0"
    xmlns:dc="http://purl.org/dc/elements/1.1/"
     xmlns:admin="http://webns.net/mvcb/"
     xmlns:content="http://purl.org/rss/1.0/modules/content/"
     xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#">
	<channel> 

	<title>Comments on: Adjusting text colors in cygwin.</title>
	<link>http://ask.metafilter.com/22545/Adjusting-text-colors-in-cygwin/</link>
	<description>Comments on Ask MetaFilter post Adjusting text colors in cygwin.</description>
	<pubDate>Sat, 13 Aug 2005 05:04:48 -0800</pubDate>
	<lastBuildDate>Sat, 13 Aug 2005 05:04:48 -0800</lastBuildDate>
	<language>en-us</language>
	<docs>http://blogs.law.harvard.edu/tech/rss</docs>
	<ttl>60</ttl>

	<item>
		<title>Question: Adjusting text colors in cygwin.</title>
		<link>http://ask.metafilter.com/22545/Adjusting-text-colors-in-cygwin</link>	
		<description>How can I make the blue text brighter, in vim, in cygwin? &lt;br /&gt;&lt;br /&gt; I&apos;ve googled, but the only explanations I&apos;ve found that I understand deal with changing X preferences, such as in .Xconfig. But I&apos;m not using X (I could, but then I&apos;d be using gvim, and that defaults to a white background, and I want to fuck with that even less). What file do I need to change to make the blue text lighter, so that I can see it against the black background?</description>
		<guid isPermaLink="false">post:ask.metafilter.com,2005:site.22545</guid>
		<pubDate>Sat, 13 Aug 2005 05:03:30 -0800</pubDate>
		<dc:creator>bingo</dc:creator>
		
			<category>text</category>
		
			<category>color</category>
		
			<category>vim</category>
		
			<category>unix</category>
		
			<category>texteditor</category>
		
	</item> <item>
		<title>By: bingo</title>
		<link>http://ask.metafilter.com/22545/Adjusting-text-colors-in-cygwin#361271</link>	
		<description>Correction: I can run regular vim (not gvim) in X. But it still defaults to a white background. I want a good old fashioned console-type situation, but with readable text.</description>
		<guid isPermaLink="false">comment:ask.metafilter.com,2005:site.22545-361271</guid>
		<pubDate>Sat, 13 Aug 2005 05:04:48 -0800</pubDate>
		<dc:creator>bingo</dc:creator>
	</item><item>
		<title>By: sleslie</title>
		<link>http://ask.metafilter.com/22545/Adjusting-text-colors-in-cygwin#361275</link>	
		<description>~/.vimrc, where ~ is your home directory. I googled &quot;vimrc settings&quot;, and I got enough pages that should provide you with hours of enlightenment... no, wait. I&apos;m supposed to say &quot;RTFM&quot; here :)&lt;br&gt;
&lt;br&gt;
The following should work, but note two things: I am using gvim at home and I am using vim at work under linux. I&apos;m currently downloading vim for cygwin at home, but I have reason to believe that this will work.</description>
		<guid isPermaLink="false">comment:ask.metafilter.com,2005:site.22545-361275</guid>
		<pubDate>Sat, 13 Aug 2005 05:27:24 -0800</pubDate>
		<dc:creator>sleslie</dc:creator>
	</item><item>
		<title>By: sleslie</title>
		<link>http://ask.metafilter.com/22545/Adjusting-text-colors-in-cygwin#361276</link>	
		<description>&lt;small&gt;ahem&lt;/small&gt;...&quot;the following&quot; being what I put in my .vimrc file:&lt;pre&gt;colorscheme murphy&lt;/pre&gt;works for gvim at home on WinXp and for vim on Linux.</description>
		<guid isPermaLink="false">comment:ask.metafilter.com,2005:site.22545-361276</guid>
		<pubDate>Sat, 13 Aug 2005 05:31:48 -0800</pubDate>
		<dc:creator>sleslie</dc:creator>
	</item><item>
		<title>By: Rhomboid</title>
		<link>http://ask.metafilter.com/22545/Adjusting-text-colors-in-cygwin#361289</link>	
		<description>The very first thing every Cygwin user should do is drop the default stock windows &quot;Command Prompt&quot; and run rxvt.  You don&apos;t need an X server running, rxvt is a dual mode program - it will use X11 if $DISPLAY is set, otherwise it will use native windows GDI calls.&lt;br&gt;
&lt;br&gt;
For example, I use:&lt;br&gt;
&lt;blockquote&gt;&lt;tt&gt;rxvt -geometry 130x60 -bg black -fg gray -cr white -fn &quot;Lucida Console-11&quot; -sr -sl 5000 -j -cr white -tn rxvt -e bash -li&lt;/tt&gt;&lt;/blockquote&gt;&lt;br&gt;
&lt;br&gt;
Actually, I don&apos;t use that anymore - I moved most of those settings into ~/.Xdefaults (which rxvt will still read, even when it&apos;s not operating in X11 mode.)&lt;br&gt;
&lt;br&gt;
From there you can go on to assign any arbitrary RGB color to each of the 16 standard color slots.  Normal dark blue is 4, so for example &lt;tt&gt;rxvt -color4 &quot;light steel blue&quot;&lt;/tt&gt; would select a different shade.  This is all in the rxvt man page, just search for &quot;color&quot;.&lt;br&gt;
&lt;br&gt;
But the important part is that CMD.EXE sucks ass and nobody should ever use it.</description>
		<guid isPermaLink="false">comment:ask.metafilter.com,2005:site.22545-361289</guid>
		<pubDate>Sat, 13 Aug 2005 06:16:16 -0800</pubDate>
		<dc:creator>Rhomboid</dc:creator>
	</item><item>
		<title>By: bingo</title>
		<link>http://ask.metafilter.com/22545/Adjusting-text-colors-in-cygwin#361296</link>	
		<description>Where can I find a list of other colorschemes like &apos;murphy&apos;? Again, I have tried googling, but I&apos;m lame or not finding it for some other reason.</description>
		<guid isPermaLink="false">comment:ask.metafilter.com,2005:site.22545-361296</guid>
		<pubDate>Sat, 13 Aug 2005 07:07:24 -0800</pubDate>
		<dc:creator>bingo</dc:creator>
	</item><item>
		<title>By: bingo</title>
		<link>http://ask.metafilter.com/22545/Adjusting-text-colors-in-cygwin#361300</link>	
		<description>Found it: /usr/share/vim/vim63/colors/  &lt;br&gt;
&lt;br&gt;
Not that this will necessarily solve my problem, but it could.</description>
		<guid isPermaLink="false">comment:ask.metafilter.com,2005:site.22545-361300</guid>
		<pubDate>Sat, 13 Aug 2005 07:23:44 -0800</pubDate>
		<dc:creator>bingo</dc:creator>
	</item><item>
		<title>By: reynaert</title>
		<link>http://ask.metafilter.com/22545/Adjusting-text-colors-in-cygwin#361303</link>	
		<description>You could also type &quot;:colorscheme &quot; and use tab completion.&lt;br&gt;
&lt;br&gt;
It&apos;s also important to tell Vim whether your terminal uses a dark or a light background color. If you find the blue in the  default colorscheme too dark, it probably thinks you&apos;re using a white background. Try &quot;:set background=dark&quot;.</description>
		<guid isPermaLink="false">comment:ask.metafilter.com,2005:site.22545-361303</guid>
		<pubDate>Sat, 13 Aug 2005 07:34:50 -0800</pubDate>
		<dc:creator>reynaert</dc:creator>
	</item><item>
		<title>By: bingo</title>
		<link>http://ask.metafilter.com/22545/Adjusting-text-colors-in-cygwin#361366</link>	
		<description>Hmm...that&apos;s very interesting reynaert...but how do you set background to dark from within .vimrc (or better yet, from within .Xdefaults, so it can (I hope) affect the xterm too? I tried background=dark in .vimrc but it didn&apos;t go over well with the uh...compiler or something.</description>
		<guid isPermaLink="false">comment:ask.metafilter.com,2005:site.22545-361366</guid>
		<pubDate>Sat, 13 Aug 2005 10:56:14 -0800</pubDate>
		<dc:creator>bingo</dc:creator>
	</item><item>
		<title>By: bingo</title>
		<link>http://ask.metafilter.com/22545/Adjusting-text-colors-in-cygwin#361368</link>	
		<description>...actually, I don&apos;t mean xterm. I mean, whatever the cygwin terminal window is called. Because I have the same problem there. So setting up a default color scheme for vim is fine, but it doesn&apos;t help anything I do outside of vim. Which I know was not my original question, but I&apos;m getting greedy.</description>
		<guid isPermaLink="false">comment:ask.metafilter.com,2005:site.22545-361368</guid>
		<pubDate>Sat, 13 Aug 2005 11:03:09 -0800</pubDate>
		<dc:creator>bingo</dc:creator>
	</item><item>
		<title>By: reynaert</title>
		<link>http://ask.metafilter.com/22545/Adjusting-text-colors-in-cygwin#361397</link>	
		<description>To make your terminal dark, try putting something like this in your &lt;tt&gt;.Xdefaults&lt;/tt&gt; file:&lt;br&gt;
&lt;pre&gt;XTerm*foreground: white&lt;br&gt;XTerm*background: black&lt;/pre&gt;Now about Vim. I misunderstood your problem, I thought that you had a black background and Vim choosed colors that were to dark to read. So I might have misled you with my answer. The &lt;tt&gt;background&lt;/tt&gt; option is not there to set the background color: it is there to tell Vim what the background color of your terminal is, so Vim can adjust the colorscheme. So if you have a white background, you should set it to &quot;light&quot;, and if you have a black background, to &quot;dark&quot;, and hopefully you get readable colors :)&lt;br&gt;
&lt;br&gt;
So in your &lt;tt&gt;.vimrc&lt;/tt&gt; you&apos;d add something like this (assuming you also did the &lt;tt&gt;.Xdefaults&lt;/tt&gt; thing and actually have a dark terminal now :):&lt;br&gt;
&lt;pre&gt;set background=dark&lt;br&gt;colorscheme elflord&lt;/pre&gt;(I think you forgot the &lt;tt&gt;set&lt;/tt&gt; keyword, and Vim complained about that.)</description>
		<guid isPermaLink="false">comment:ask.metafilter.com,2005:site.22545-361397</guid>
		<pubDate>Sat, 13 Aug 2005 13:22:01 -0800</pubDate>
		<dc:creator>reynaert</dc:creator>
	</item><item>
		<title>By: bingo</title>
		<link>http://ask.metafilter.com/22545/Adjusting-text-colors-in-cygwin#361466</link>	
		<description>Actually, you understood my problem right the first time. What I was trying to say was: when I&apos;m in the terminal, outside of vim, I have a black background, and text too dark to read. When I&apos;m inside vim, then thanks to a new colorscheme and using &quot;:set background=dark&quot; in my .vimrc, it&apos;s no longer an issue.  So what I&apos;m basically asking for is the equivalent of &quot;:set background=dark&quot; for the .Xdefaults file. UNLESS, the cygwin terminal isn&apos;t affected by the .Xdefaults file...after all, it isn&apos;t really X, so is it really an xterm?</description>
		<guid isPermaLink="false">comment:ask.metafilter.com,2005:site.22545-361466</guid>
		<pubDate>Sat, 13 Aug 2005 16:20:22 -0800</pubDate>
		<dc:creator>bingo</dc:creator>
	</item><item>
		<title>By: reynaert</title>
		<link>http://ask.metafilter.com/22545/Adjusting-text-colors-in-cygwin#361502</link>	
		<description>Oh, it seems I&apos;m being my usual confused self again :)&lt;br&gt;
&lt;br&gt;
rxvt (I think the Cygwin terminal is rxvt) will read the .Xdefaults file on its own if it isn&apos;t running on X, so that shouldn&apos;t be a problem.&lt;br&gt;
&lt;br&gt;
According to the &lt;a href=&quot;http://hpux.connect.org.uk/hppd/hpux/Users/rxvt-2.7.1/man.html&quot;&gt;man page&lt;/a&gt; (Colors and Graphics section) it is possible to tweak the colors. It seems the default blue is &quot;Blue3&quot;, so something like this in your .Xdefaults should give you a brighter shade:&lt;pre&gt;XTerm*color4: Blue2&lt;/pre&gt;&lt;a href=&quot;http://web.njit.edu/~walsh/rgb.html&quot;&gt;This page&lt;/a&gt; lists the X color names. If the shade you want isn&apos;t in there, you could try looking for an &lt;tt&gt;rgb.txt&lt;/tt&gt; file and adding it yourself, rxvt might notice it.</description>
		<guid isPermaLink="false">comment:ask.metafilter.com,2005:site.22545-361502</guid>
		<pubDate>Sat, 13 Aug 2005 18:01:10 -0800</pubDate>
		<dc:creator>reynaert</dc:creator>
	</item><item>
		<title>By: bingo</title>
		<link>http://ask.metafilter.com/22545/Adjusting-text-colors-in-cygwin#361706</link>	
		<description>Well, the color of the prompt text in the terminal is actually a dark green. I tried adding XTerm*color2: LawnGreen to my .Xdefaults, but it had no effect.&lt;br&gt;
&lt;br&gt;
Thanks for all your help, though...</description>
		<guid isPermaLink="false">comment:ask.metafilter.com,2005:site.22545-361706</guid>
		<pubDate>Sun, 14 Aug 2005 08:29:11 -0800</pubDate>
		<dc:creator>bingo</dc:creator>
	</item>
	</channel>
</rss>
