public inbox for gentoo-user@lists.gentoo.org
 help / color / mirror / Atom feed
* [gentoo-user] OT: "Bright" colours in xterm?
@ 2012-08-11  4:07 Walter Dnes
  2012-08-12 20:38 ` Michael Mol
  0 siblings, 1 reply; 4+ messages in thread
From: Walter Dnes @ 2012-08-11  4:07 UTC (permalink / raw
  To: Gentoo Users List

  When I fire up vim in a true text console, some of the colours are
bright.  When I do so in an xterm, the bright colours ar there, but as
soon as I hit a printable or arrow key, the brightness disappears.  I.e.
bright blue turns to dark blue, yellow turns to brown, etc.  Is there
some setting I can change to retain the bright colours?

-- 
Walter Dnes <waltdnes@waltdnes.org>


^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: [gentoo-user] OT: "Bright" colours in xterm?
  2012-08-11  4:07 [gentoo-user] OT: "Bright" colours in xterm? Walter Dnes
@ 2012-08-12 20:38 ` Michael Mol
  2012-08-13  1:09   ` [gentoo-user] [SOLVED] " Walter Dnes
  0 siblings, 1 reply; 4+ messages in thread
From: Michael Mol @ 2012-08-12 20:38 UTC (permalink / raw
  To: gentoo-user

[-- Attachment #1: Type: text/plain, Size: 815 bytes --]

On Sat, Aug 11, 2012 at 12:07 AM, Walter Dnes <waltdnes@waltdnes.org> wrote:

>   When I fire up vim in a true text console, some of the colours are
> bright.  When I do so in an xterm, the bright colours ar there, but as
> soon as I hit a printable or arrow key, the brightness disappears.  I.e.
> bright blue turns to dark blue, yellow turns to brown, etc.  Is there
> some setting I can change to retain the bright colours?
>

There are a couple ways you can do it. The first is through your
.xresources file. X11 keeps its session configuration and preferences in a
key/value store called resources, and you can drop stuff into that file to
configure just about anything.

'man xterm' to find the resources you can twiddle with.

The other thing you can do is add 'set background=dark' to your .vimrc.

-- 
:wq

[-- Attachment #2: Type: text/html, Size: 1182 bytes --]

^ permalink raw reply	[flat|nested] 4+ messages in thread

* [gentoo-user] [SOLVED] OT: "Bright" colours in xterm?
  2012-08-12 20:38 ` Michael Mol
@ 2012-08-13  1:09   ` Walter Dnes
  2012-08-13  1:22     ` Michael Mol
  0 siblings, 1 reply; 4+ messages in thread
From: Walter Dnes @ 2012-08-13  1:09 UTC (permalink / raw
  To: gentoo-user

On Sun, Aug 12, 2012 at 04:38:11PM -0400, Michael Mol wrote

> The other thing you can do is add 'set background=dark' to your .vimrc.

  Thanks.  That did the trick.  Not exactly intuitive, to say the least.

-- 
Walter Dnes <waltdnes@waltdnes.org>


^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: [gentoo-user] [SOLVED] OT: "Bright" colours in xterm?
  2012-08-13  1:09   ` [gentoo-user] [SOLVED] " Walter Dnes
@ 2012-08-13  1:22     ` Michael Mol
  0 siblings, 0 replies; 4+ messages in thread
From: Michael Mol @ 2012-08-13  1:22 UTC (permalink / raw
  To: gentoo-user

[-- Attachment #1: Type: text/plain, Size: 421 bytes --]

On Sun, Aug 12, 2012 at 9:09 PM, Walter Dnes <waltdnes@waltdnes.org> wrote:

> On Sun, Aug 12, 2012 at 04:38:11PM -0400, Michael Mol wrote
>
> > The other thing you can do is add 'set background=dark' to your .vimrc.
>
>   Thanks.  That did the trick.  Not exactly intuitive, to say the least.
>

One of the first tricks I learned with vim.

When you have time, you should check out vim's builtin help system.



-- 
:wq

[-- Attachment #2: Type: text/html, Size: 802 bytes --]

^ permalink raw reply	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2012-08-13  1:23 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2012-08-11  4:07 [gentoo-user] OT: "Bright" colours in xterm? Walter Dnes
2012-08-12 20:38 ` Michael Mol
2012-08-13  1:09   ` [gentoo-user] [SOLVED] " Walter Dnes
2012-08-13  1:22     ` Michael Mol

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox