आदमी अपने जन्म से नहीं , अपने कर्मो से महान होता हैं! ~चाणक्य
TwitterLiked the quote? Tweet it!
see all quotes

Pine Color: Sonic Violet


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 sonicviolet.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 - #7376AC
1 - Background Color - #2C776C
2 - Color 0 (black) - #000000
3 - Color 1 (red) - #EE0000
4 - Color 2 (green) - #319C6E
5 - Color 3 (yellow) - #FFF7A1
6 - Color 4 (blue) - #7376AC
7 - Color 5 (magenta)- #CDCEFF
8 - Color 6 (cyan) - #00CECD
9 - Color 7 (white) - #FFFFFF
10 - Foreground Intensive Color - #4D4D4D
11 - Background Intensive Color - #FFFFFF
12 - Color 0 Intensive (gray) - #E6E6E6
13 - Color 1 Intensive (light red) - #FF8183
14 - Color 2 Intensive (light green) - #39EA39
15 - Color 3 Intensive (light yellow) - #FFFF62
16 - Color 4 Intensive (light blue) - #B4CEEE
17 - Color 5 Intensive (light magenta)- #94006A
18 - Color 6 Intensive (light cyan) - #00FFFF
19 - Color 7 Intensive (white) - #FFFFFF

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


pine_color_violet1.jpg
pine_color_violet2.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=blue
reverse-foreground-color=blue
reverse-background-color=white
title-foreground-color=black
title-background-color=magenta
status-foreground-color=color013
status-background-color=magenta
keylabel-foreground-color=black
keylabel-background-color=magenta
keyname-foreground-color=white
keyname-background-color=blue
selectable-item-foreground-color=color009
selectable-item-background-color=blue
quote1-foreground-color=yellow
quote1-background-color=blue
quote2-foreground-color=magenta
quote2-background-color=blue
quote3-foreground-color=color012
quote3-background-color=blue
prompt-foreground-color=red
prompt-background-color=magenta
index-to-me-foreground-color=yellow
index-to-me-background-color=blue
index-important-foreground-color=color009
index-important-background-color=black
index-deleted-foreground-color=red
index-deleted-background-color=blue
index-answered-foreground-color=white
index-answered-background-color=green
index-new-foreground-color=color009
index-new-background-color=blue
index-recent-foreground-color=cyan
index-recent-background-color=blue
index-unseen-foreground-color=black
index-unseen-background-color=blue

# When viewing messages, these are the header colors
viewer-hdr-colors=/HDR=Subject/FG=color011/BG=blue, /HDR=From/FG=color010/BG=blue

And see the result :


pine_color_violet3.jpg

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

and


pine_color_violet4.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
: e!pell %
syntax on
colorscheme sonicviolet.pine
startinsert

and your "$HOME/.vim/colors" directory (create one if it doesnt exist) should contain the vim colorscheme file sonicviolet.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 sonicviolet

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


With this, this is what you will see :


vim_color_violet1.jpg

Message in Public Interest
Laughing ...

About

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