Television has proved that people will look at anything rather than each other. -Ann Landers
TwitterLiked the quote? Tweet it!
see all quotes

Pine Color : Kesar Black


You will need to set the following color palette for your terminal, in order to see these colors in Pine color settings. You will want to set only 8 or all 16 colors depending on how many colors you will use in Pine.

Alternatively, if you use KDE, you might just find it simpler to put the schema file kesarblack.schema in your "$HOME/.kde/share/apps/konsole" directory and then just select the scheme for konsole through its Settings->Schema menu.

Color Palette for your Terminal :

0 - Foreground Color - #D3D3D3
1 - Background Color - #000000
2 - Color 0 (black) - #000000
3 - Color 1 (red) - #EE0000
4 - Color 2 (green) - #18B218
5 - Color 3 (yellow) - #FDC322
6 - Color 4 (blue) - #5198E5
7 - Color 5 (magenta)- #B218B2
8 - Color 6 (cyan) - #18B2B2
9 - Color 7 (white) - #D3D3D3
10 - Foreground Intensive Color - #FFFFFF
11 - Background Intensive Color - #686868
12 - Color 0 Intensive (gray) - #686868
13 - Color 1 Intensive (light red) - #FF8183
14 - Color 2 Intensive (light green) - #83CE83
15 - Color 3 Intensive (light yellow) - #FFFF54
16 - Color 4 Intensive (light blue) - #B4CEEE
17 - Color 5 Intensive (light magenta)- #CDCEFF
18 - Color 6 Intensive (light cyan) - #54FFFF
19 - Color 7 Intensive (white) - #FFFFFF

Change pine color settings (using keystrokes - MSK) to the following :


pine_color_black1.jpg
pine_color_black2.jpg

or put the following in .pinerc :

# Controls display of color
color-style=force-ansi-16color

# Choose: black,blue,green,cyan,red,magenta,yellow,or white.
normal-foreground-color=white
normal-background-color=black
reverse-foreground-color=black
reverse-background-color=white
title-foreground-color=black
title-background-color=color010
status-foreground-color=blue
status-background-color=black
keylabel-foreground-color=black
keylabel-background-color=color010
keyname-foreground-color=color010
keyname-background-color=black
selectable-item-foreground-color=blue
selectable-item-background-color=black
quote1-foreground-color=cyan
quote1-background-color=black
quote2-foreground-color=color008
quote2-background-color=black
quote3-foreground-color=magenta
quote3-background-color=black
prompt-foreground-color=color009
prompt-background-color=black
index-to-me-foreground-color=yellow
index-to-me-background-color=black
index-important-foreground-color=color009
index-important-background-color=black
index-deleted-foreground-color=color008
index-deleted-background-color=black
index-answered-foreground-color=green
index-answered-background-color=black
index-new-foreground-color=magenta
index-new-background-color=black
index-recent-foreground-color=cyan
index-recent-background-color=black
index-unseen-foreground-color=color012
index-unseen-background-color=black

# When viewing messages, these are the header colors
viewer-hdr-colors=/HDR=Subject/FG=yellow/BG=black, /HDR=From/FG=color012/BG=black

And see the result :


pine_color_black3.jpg

[Note that part of the colors seen here are due to Pine's Index Colors (keystrokes - MSRI)]

and


pine_color_black4.jpg

If you use vi(m) as external editor for Pine, then you will want to have the following in your vimrc. What I do is put these in a separate .vimrc, like .vimrc_for_pine and invoke vi to use this one, when invoked from pine. For this, have the setting in pine config (keystrokes - MSC) as


editor = /usr/bin/vim -u /home/USER/.vimrcforpine

The ".vimrc_for_pine" should look like

set tabstop=4
set ai
set et
set tw=60
set expandtab
: e!pell %
syntax on
colorscheme kesarblack.pine
startinsert

and your "$HOME/.vim/colors" directory (create one if it doesnt exist) should contain the vim colorscheme file kesarblack.pine.vim
You will notice other useful settings for email editing in there too.

If you do any coding, you will want to use the following syntax colors in your default .vimrc. Assuming you use the same terminal color settings throughout your desktop, they would in fact be necessary.

set tabstop=4
set ai
: e!pell %
set foldmethod=indent
set foldlevel=0
syntax on
colorscheme kesarblack

and your "$HOME/.vim/colors" directory (create one if it doesnt exist) should contain the vim colorscheme file kesarblack.vim


With this, this is what you will see :


vim_color_black1.jpg

Message in Public Interest
Laughing ...

About

Human. Professional. Technologist. Musician. Naturophile. Linguaphile. Traveller. Philosopher. Friend. Don't-Worry-Be-Happy-ist.